/* ============================================================================
   KJPTV — CONTACT PAGE
   Page furniture only, all prefixed .ct-. Shared chrome (navbar, footer, faq
   accordion, .dt-field form primitives, buttons) lives in site.css.
   ========================================================================= */

/* ---- Hero: details left, form right, one section -------------------------- */
.ct-hero { position: relative; overflow: hidden;
  padding: calc(var(--nav-height) + 84px) 0 92px; }
.ct-hero::before { content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0.05;
  background: url('assets/brand-pattern.png?v=59e9ff10') center / 320px repeat; }
.ct-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(760px 720px at 4% -12%, rgba(214,157,56,0.13) 0%, rgba(214,157,56,0) 60%),
    radial-gradient(108% 86% at 50% 0%, rgba(6,6,6,0.3) 0%, rgba(6,6,6,0.88) 64%, #060606 100%); }
.ct-hero > .container { position: relative; z-index: 2; }
.ct-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 64px; align-items: center; }

.ct-hero h1 { font-size: clamp(calc(var(--size-display) * 0.5667), 4.4vw, calc(var(--size-display) * 0.9667)); font-weight: 900; line-height: 1.02;
  letter-spacing: -0.035em; margin: 18px 0 0; text-wrap: balance; }
.ct-lede { margin-top: 20px; max-width: 44ch; font-size: calc(var(--size-subhead) * 0.9444); line-height: 1.6;
  color: rgba(255,255,255,0.8); text-wrap: pretty; }

/* Contact lines: icon well + label + value */
.ct-lines { display: flex; flex-direction: column; gap: 2px; margin-top: 40px; }
.ct-line { display: flex; align-items: center; gap: 16px; padding: 15px 4px;
  border-top: 1px solid var(--border-bevel); }
.ct-line:last-child { border-bottom: 1px solid var(--border-bevel); }
/* On the bare hero, not a card: the footer's raised icon tile, not a deep well */
.ct-line-ico { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: calc(var(--radius-card) * 0.6875); color: var(--gold-mustard);
  background: var(--color-surface-2); border: 1px solid var(--border-bevel);
  box-shadow: var(--bevel-highlight); }
.ct-line-ico svg { width: 18px; height: 18px; }
.ct-line-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct-line-k { font-size: calc(var(--size-meta) * 0.9545); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); }
.ct-line-v { font-size: calc(var(--size-body) * 1.0714); font-weight: 600; color: var(--text-heading); word-break: break-word; }
a.ct-line-v:hover { color: var(--gold-mustard); }

/* Socials sit in the hero, not their own section, and span the full wrapper */
.ct-hero-social { grid-column: 1 / -1; margin-top: 8px; }
.ct-social-head { margin: 0 0 14px; font-size: calc(var(--size-meta) * 0.9545); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.ct-socials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ct-social { display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 14px; background: var(--color-surface-1);
  border: 1px solid var(--border-bevel); box-shadow: var(--bevel-highlight);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.ct-social:hover { transform: translateY(-3px); border-color: var(--border-gold);
  box-shadow: var(--bevel-highlight), var(--shadow-matte), var(--gold-glow); }
/* Same deep inset well the contact lines and homepage value cards use */
.ct-social-ico { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; border-radius: calc(var(--radius-card) * 0.75); color: var(--gold-mustard);
  background: var(--color-surface-2); border: 1px solid var(--border-bevel);
  box-shadow: inset 0 4px 9px rgba(0,0,0,0.72), inset 0 8px 16px rgba(0,0,0,0.4), inset 0 -2px 3px rgba(255,255,255,0.04); }
.ct-social-ico svg { width: 21px; height: 21px; }
.ct-social-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct-social-net { font-size: var(--size-body); font-weight: 700; color: var(--text-heading); }
.ct-social-at { font-size: calc(var(--size-small) * 1.0417); font-weight: 600; color: var(--gold-mustard); }

/* ---- Form card ------------------------------------------------------------ */
.ct-card { position: relative; padding: 34px; border-radius: calc(var(--radius-card) * 1.25);
  background: var(--color-surface-1); border: 1px solid var(--border-bevel-strong);
  box-shadow: var(--bevel-highlight), var(--shadow-matte-lg); }
.ct-card-head h2 { font-size: calc(var(--size-heading) * 0.75); font-weight: 800; letter-spacing: -0.025em; }
.ct-card-head p { margin-top: 8px; font-size: var(--size-body); line-height: 1.6; color: var(--text-body); }
.ct-form { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.ct-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-form textarea.dt-input { min-height: 140px; resize: vertical; line-height: 1.6; }
.ct-form .btn { width: 100%; justify-content: center; }
.ct-fine { font-size: var(--size-small); line-height: 1.6; color: var(--text-muted); text-align: center; }
.ct-fine a { color: var(--gold-mustard); }

.ct-sent { display: none; flex-direction: column; align-items: center; text-align: center;
  gap: 14px; padding: 34px 10px 12px; }
.ct-card.is-sent .ct-form { display: none; }
.ct-card.is-sent .ct-sent { display: flex; }
.ct-sent-mark { display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%; color: #2a1e08; background: var(--gold-mustard);
  box-shadow: var(--gold-glow-strong); }
.ct-sent-mark svg { width: 28px; height: 28px; }
.ct-sent h3 { font-size: calc(var(--size-subhead) * 1.1111); font-weight: 800; letter-spacing: -0.02em; }
.ct-sent p { font-size: var(--size-body); line-height: 1.6; color: var(--text-body); max-width: 34ch; }

/* ---- Globe: dot-grid world map, grab to spin ------------------------------ */
.ct-map { position: relative; overflow: hidden; }
.ct-map::before { content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 62% at 50% 54%, rgba(214,157,56,0.08) 0%, rgba(214,157,56,0) 70%);
  pointer-events: none; }
.ct-map > .container { position: relative; z-index: 2; }
.ct-map-head { text-align: center; max-width: 620px; margin: 0 auto; }
.ct-map-head h2 { font-size: clamp(calc(var(--size-heading) * 0.8125), 3.2vw, calc(var(--size-heading) * 1.25)); font-weight: 800; line-height: 1.06;
  letter-spacing: -0.03em; margin-top: 14px; }
.ct-map-head p { margin-top: 14px; font-size: calc(var(--size-body) * 1.0714); line-height: 1.65; color: var(--text-body); text-wrap: pretty; }

.ct-globe-wrap { position: relative; margin: 34px auto 0; max-width: 880px;
  height: clamp(370px, 54vw, 660px); touch-action: pan-y; cursor: grab; }
.ct-globe-wrap.is-drag { cursor: grabbing; }
.ct-globe-wrap canvas { display: block; width: 100%; height: 100%; }
.ct-grab { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: var(--size-meta); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); background: var(--color-surface-2);
  border: 1px solid var(--border-bevel); box-shadow: var(--well-inset);
  transition: opacity var(--dur-base) var(--ease-out); }
.ct-globe-wrap.is-drag .ct-grab { opacity: 0; }
.ct-grab svg { width: 14px; height: 14px; color: var(--gold-mustard); }

/* Hover pill */
.ct-pin { position: absolute; z-index: 4; left: 0; top: 0; pointer-events: none;
  min-width: 176px; max-width: 250px; padding: 12px 14px; border-radius: 12px;
  background: rgba(14,14,14,0.97); border: 1px solid var(--border-gold);
  box-shadow: var(--bevel-highlight), var(--shadow-matte-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translate(-50%, -128%) scale(0.96);
  transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out); }
.ct-pin.is-on { opacity: 1; transform: translate(-50%, -122%) scale(1); }
.ct-pin-st { display: inline-flex; align-items: center; gap: 6px; font-size: calc(var(--size-meta) * 0.8636); font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-mustard); }
.ct-pin-st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ct-pin-st.planned { color: var(--text-body); }
.ct-pin-n { display: block; margin-top: 7px; font-size: calc(var(--size-body) * 1.0714); font-weight: 800;
  letter-spacing: -0.015em; color: var(--text-heading); }
.ct-pin-d { display: block; margin-top: 3px; font-size: calc(var(--size-small) * 1.0417); font-weight: 600; color: var(--text-body); }

.ct-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.ct-leg { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; border-radius: 999px;
  font-size: var(--size-small); font-weight: 600; color: var(--text-body);
  background: var(--color-surface-2); border: 1px solid var(--border-bevel); box-shadow: var(--bevel-highlight); }
.ct-leg i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-mustard); }
.ct-leg.hq i { box-shadow: 0 0 0 4px rgba(214,157,56,0.22); }
.ct-leg.planned i { background: none; border: 1.5px solid var(--gold-mustard); }

/* ---- Support links + FAQ -------------------------------------------------- */
.ct-help { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.ct-helper { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px;
  border-radius: var(--radius-card); background: var(--color-surface-1); border: 1px solid var(--border-bevel);
  box-shadow: var(--bevel-highlight);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.ct-helper:hover { transform: translateY(-4px); border-color: var(--border-gold);
  box-shadow: var(--bevel-highlight), var(--shadow-matte), var(--gold-glow); }
.ct-help-ico { display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 6px; border-radius: 12px; color: var(--gold-mustard);
  background: var(--color-surface-2); border: 1px solid var(--border-bevel);
  box-shadow: inset 0 4px 9px rgba(0,0,0,0.72), inset 0 8px 16px rgba(0,0,0,0.4), inset 0 -2px 3px rgba(255,255,255,0.04); }
.ct-help-ico svg, .ct-help-ico img { display: block; width: 20px; height: 20px; }
.ct-helper h3 { font-size: calc(var(--size-body) * 1.0714); font-weight: 700; color: var(--text-heading); }
.ct-helper p { font-size: calc(var(--size-small) * 1.0833); line-height: 1.55; color: var(--text-body); }
.ct-faq { margin-top: 56px; }
.ct-spots { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ct-faq h2 { font-size: clamp(calc(var(--size-heading) * 0.75), 2.8vw, calc(var(--size-heading) * 1.0625)); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .ct-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ct-card { max-width: 620px; }
  .ct-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-help { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ct-hero { padding: calc(var(--nav-height) + 56px) 0 66px; }
  .ct-lede { font-size: calc(var(--size-body) * 1.1429); }
  .ct-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ct-social { padding: 14px; gap: 12px; }
  .ct-card { padding: 26px 20px; }
  .ct-two { grid-template-columns: minmax(0, 1fr); }
  .ct-globe-wrap { height: 350px; }
  .ct-pin { min-width: 150px; }
}
@media (max-width: 480px) {
  .ct-help { grid-template-columns: minmax(0, 1fr); }
}
