/* Contact page: flat, printed hero scene + venue plans (replaces the WebGL
   map and the four placeholder canvases). Navy / orange / paper / chalk /
   Caveat. No glow. Animation is transform + opacity + stroke-dashoffset. */

/* ---------- hero background ---------- */
.ctx-bg { background: var(--navy); overflow: hidden; }
.ctx-bg::before { /* chalk dot grid */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.13) 1.2px, transparent 1.6px) 0 0 / 34px 34px;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 55%);
          mask: linear-gradient(90deg, transparent 0%, #000 55%);
}
.ctx-arcs { position: absolute; right: -4%; top: 0; width: 76%; height: 100%; opacity: 0.075; }
.ctx-rule { /* taped orange rule along the bottom edge */
  position: absolute; left: 0; right: 0; bottom: 56px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 18px, transparent 18px 30px);
  opacity: 0.55;
}

/* ---------- hero scene ---------- */
.ctx-scene { position: relative; }
.ctx-map {
  position: absolute; top: 2%; left: 4%; width: 90%;
  aspect-ratio: 520 / 440; border-radius: 6px; overflow: visible;
  background: #F4F2ED; transform: rotate(-2.2deg);
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.75);
}
.ctx-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 6px; overflow: hidden; }
.ctx-route { animation: ctx-march 2.4s linear infinite; }
.ctx-pulse { transform-box: fill-box; transform-origin: center; animation: ctx-pulse 2.6s ease-out infinite; }
.ctx-pin--b .ctx-pulse { animation-delay: 1.3s; }
.ctx-hand { font-family: 'Caveat', cursive; font-size: 25px; font-weight: 700; fill: #0A1E3C; }
.ctx-hand--or { fill: #C94E10; font-size: 26px; }
.ctx-tape { position: absolute; width: 92px; height: 26px; z-index: 2; opacity: 0.94; }
.ctx-tape--a { top: -12px; left: 26px; background: var(--orange); transform: rotate(-7deg); }
.ctx-tape--b { top: -10px; right: 34px; background: #E4DCC6; transform: rotate(6deg); }
.ctx-ticket {
  position: absolute; right: 0; bottom: 2%; width: 66%;
  padding: 26px 26px 22px; border-radius: 6px;
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.85);
  transform: rotate(2.4deg); transform-origin: 50% 0;
  animation: ctx-sway 7s ease-in-out infinite;
}
.ctx-ticket::before, .ctx-ticket::after { /* punched notches */
  content: ''; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--navy);
}
.ctx-ticket::before { left: -10px; }
.ctx-ticket::after { right: -10px; }
.ctx-tape--c { top: -13px; left: 50%; margin-left: -46px; background: var(--orange); transform: rotate(-3deg); }
.ctx-tk-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }
.ctx-tk-n { margin-top: 10px; font-family: var(--font-mono); font-size: clamp(1.15rem, 2.1vw, 1.7rem); font-weight: 700; letter-spacing: 0.5px; color: #fff; white-space: nowrap; }
.ctx-tk-s { margin-top: 12px; padding-top: 12px; border-top: 2px dashed rgba(255, 255, 255, 0.22); font-family: 'Caveat', cursive; font-size: 24px; font-weight: 700; color: #F4F2ED; }

/* ---------- venues ---------- */
#venues { position: relative; }
.ctx-contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.05; pointer-events: none; }
#venues > .container { position: relative; z-index: 1; }
.ctx-note {
  margin: 4px 0 14px; font-family: 'Caveat', cursive; font-size: 30px; font-weight: 700; line-height: 1.1;
  color: var(--orange); transform: rotate(-1.6deg); transform-origin: 0 50%;
}
.ctx-note::before { content: ''; display: inline-block; width: 46px; height: 0; margin-right: 12px; vertical-align: middle; border-top: 3px dotted var(--orange); }
.ct-venue-media { background: #0c3b55; }
.ct-venue-media .ctx-plan { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform 1.2s var(--ease); }
.ct-venue:hover .ctx-plan { transform: scale(1.04); }

@keyframes ctx-march { to { stroke-dashoffset: -30; } }
@keyframes ctx-pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes ctx-sway { 0%, 100% { transform: rotate(2.4deg); } 50% { transform: rotate(0.9deg); } }

@media (max-width: 768px) {
  .ctx-bg { display: none; } /* phones keep their own hero (css/phone/contact.css) */
}
@media (max-width: 1100px) {
  .ctx-tk-n { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ctx-route, .ctx-pulse, .ctx-ticket { animation: none; }
  .ct-venue:hover .ctx-plan { transform: none; }
}

.ct-consent { margin: 4px 0 12px; font-size: 12.5px; line-height: 1.45; opacity: .7; }
