/* ============================================================
   Worx | contact.css
   The contact page as the Worx Relay: Dubai calling Mars.
     1. Hero, a live radar sky (contact-scene.js draws it) with the
        station's HUD, the headline over it.
     2. The console, a glass deck around the project planner
        (contact.js builds it); an oscilloscope in its bar answers
        every key and pick.
     3. Direct channels, one card per way to reach the studio.
   Design only: contact.js and its .cw-* markup are untouched, this
   file restyles them from inside .ct-console.
   ============================================================ */

/* ---- 1. Hero ----------------------------------------------- */

.ct-hero {
  --ct-layout: side;   /* read by contact-scene.js: where the radar goes */
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(100svh, 680px);
  padding: clamp(130px, 16vh, 170px) 0 clamp(90px, 12vh, 130px);
  isolation: isolate;
  overflow: hidden;
  max-width: none;
}

/* the radar, full-bleed behind everything (contact-scene.js) */
.ct-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ct-sky canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* the sky dissolves into the page before the console */
.ct-sky::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--ink));
}

.ct-hero-grid {
  position: relative;
  z-index: 3;
}

/* ---- the station's title card (the About page's HUD panel) ------- */
.ct-card {
  position: relative;
  isolation: isolate;
  width: min(100%, clamp(360px, 32vw, 500px));
  padding: 1em 1.2em 1.1em 1em;
  transform: perspective(900px) rotateY(20deg) rotateX(2deg);
  transform-origin: left 30%;
  animation: bc-boot 0.9s steps(1, end) 0.5s both;
}

.ct-card::before {
  content: "";
  position: absolute;
  inset: -34px -56px;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(254, 238, 207, 0.03) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 120% 110% at 20% 40%, rgba(20, 9, 5, 0.8), rgba(20, 9, 5, 0.45) 60%, rgba(20, 9, 5, 0) 100%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 10%, #000 24%, #000 70%, rgba(0, 0, 0, 0.5) 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 6%, #000 14%, #000 86%, rgba(0, 0, 0, 0.6) 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 10%, #000 24%, #000 70%, rgba(0, 0, 0, 0.5) 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 6%, #000 14%, #000 86%, rgba(0, 0, 0, 0.6) 94%, transparent 100%);
  mask-composite: intersect;
}

.ct-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 11px;
  margin-bottom: 16px;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(254, 238, 207, 0.3), transparent) 1;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(254, 238, 207, 0.7);
}

.ct-card-call { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ct-card-sig { color: var(--accent-2); transition: color 0.3s ease; }

/* the eyebrow as About's status line */
.ct-hero .eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.ct-hero .eyebrow::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 6px 1px rgba(250, 167, 25, 0.65);
}

.ct-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.3rem, 3.8vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 18px rgba(21, 9, 5, 0.6);
  animation: bc-up 1s var(--bc-ease) 0.9s backwards;
}

/* the gradient word drifts, slow as a tide */
.ct-hero h1 .gradient-text {
  background-size: 220% 100%;
  animation: ct-tide 9s ease-in-out infinite alternate;
}

@keyframes ct-tide {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

.ct-hero #contact-intro {
  max-width: none;
  margin: 12px 0 0;
  color: rgba(254, 238, 207, 0.74);
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 1.6;
  animation: bc-up 1s var(--bc-ease) 1.05s backwards;
}

/* the station readout as log rows */
.ct-rows {
  margin: 16px 0 0;
  padding: 8px 0 0;
  list-style: none;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(254, 238, 207, 0.26), transparent) 1;
}

.ct-rows li {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0.42em 0 0.42em 1.25em;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(254, 238, 207, 0.6);
  animation: bc-row 0.5s var(--bc-ease) backwards;
}

.ct-rows li:nth-child(1) { animation-delay: 1.2s; }
.ct-rows li:nth-child(2) { animation-delay: 1.32s; }
.ct-rows li:nth-child(3) { animation-delay: 1.44s; }

.ct-rows li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 1px;
  background: currentColor;
}

.ct-rows b { font-weight: 600; color: var(--text); white-space: nowrap; }

.ct-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 18px;
  margin-top: 24px;
  animation: bc-up 1s var(--bc-ease) 1.5s backwards;
}

/* ---- the channel key: hold to open ------------------------------- */
.ct-open {
  --v: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 66px;
  padding: 0 22px 0 7px;
  border: 1px solid rgba(250, 167, 25, calc(0.3 + var(--v) * 0.6));
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(250, 167, 25, calc(0.08 + var(--v) * 0.3)), rgba(229, 125, 35, calc(var(--v) * 0.12))),
    rgba(21, 9, 5, 0.72);
  color: var(--text);
  box-shadow: 0 0 calc(var(--v) * 46px) calc(var(--v) * -6px) rgba(250, 167, 25, 0.7);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.ct-open:focus-visible { outline: none; border-color: var(--accent-2); }
.ct-open.is-holding { transform: scale(0.985); }

.ct-open-ring {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
}

.ct-open-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ct-open-track { fill: none; stroke: rgba(254, 238, 207, 0.16); stroke-width: 2; }
.ct-open-arc { fill: none; stroke: var(--accent-2); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(250, 167, 25, 0.9)); }

/* the core: breathes at rest, burns as it charges */
.ct-open-ring i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6e4 0 30%, var(--accent-2) 60%, rgba(229, 125, 35, 0) 100%);
  transform: scale(calc(0.8 + var(--v) * 0.9));
  box-shadow: 0 0 calc(8px + var(--v) * 24px) rgba(250, 167, 25, 0.9);
  animation: ct-core 2.2s ease-in-out infinite;
}

@keyframes ct-core { 50% { opacity: 0.6; } }

.ct-open-txt { display: flex; flex-direction: column; gap: 5px; text-align: left; line-height: 1; }
.ct-open-txt b { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; white-space: nowrap; }

.ct-open-txt small {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(254, 238, 207, 0.55);
}

.ct-open-txt em { font-style: normal; color: var(--accent-2); font-variant-numeric: tabular-nums; }

.ct-open.is-open { border-color: var(--accent-2); }
.ct-open.is-open .ct-open-txt b { color: var(--accent-2); }

/* the page's scroll cue into the console (kept for its dot) */
.ct-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  vertical-align: 1px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(250, 167, 25, 0.5);
  animation: ct-beacon 2.4s ease-out infinite;
}

@keyframes ct-beacon {
  0%   { box-shadow: 0 0 0 0 rgba(250, 167, 25, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(250, 167, 25, 0); }
  100% { box-shadow: 0 0 0 0 rgba(250, 167, 25, 0); }
}

/* Hero sizes. Side by side (the card left, the radar in the room to
   its right) on laptops, desktops and landscape tablets; stacked on
   portrait tablets and phones, where the card sits on top and the
   hero keeps a band under it for the radar, so the sky is seen (and
   answers the channel key) instead of hiding behind the headline. */

/* wide screens: the card grows with the room */
@media (min-width: 1600px) {
  .ct-card { width: clamp(500px, 30vw, 620px); font-size: 1.08rem; }
  .ct-hero h1 { font-size: clamp(3.8rem, 3.6vw, 5rem); }
  .ct-hero #contact-intro { font-size: 1.06rem; }
}

@media (min-width: 2200px) {
  .ct-card { width: clamp(640px, 28vw, 780px); }
  .ct-hero h1 { font-size: 5.2rem; }
  .ct-hero #contact-intro { font-size: 1.14rem; }
  .ct-card-head { font-size: 0.7rem; }
  .ct-rows li { font-size: 0.74rem; }
}

/* short laptops (1280x720, 1366x768): the whole card above the fold */
@media (min-width: 1025px) and (max-height: 820px) {
  .ct-hero { min-height: max(100svh, 600px); padding: 104px 0 64px; }
  .ct-rows { margin-top: 12px; }
  .ct-card-actions { margin-top: 18px; }
}

/* landscape tablets and small windows: a narrower card, side by side */
@media (max-width: 1024px) and (orientation: landscape) {
  .ct-card { width: clamp(300px, 52%, 480px); transform: perspective(900px) rotateY(12deg) rotateX(2deg); }
}

/* phones on their side: short, so no full-height hero */
@media (max-height: 520px) and (orientation: landscape) {
  .ct-hero { min-height: 0; padding: 96px 0 48px; }
  .ct-rows { display: none; }
  .ct-card-actions { margin-top: 16px; }
}

/* portrait tablets and phones: stacked */
@media (max-width: 1024px) and (orientation: portrait) {
  .ct-hero {
    --ct-layout: stacked;
    align-items: flex-start;
    min-height: 100svh;
    padding: clamp(112px, 14vw, 150px) 0 calc(50vw + 60px);
  }
  .ct-sky::after { height: 12%; }
  .ct-card { width: min(100%, max(580px, 64vw)); transform: perspective(900px) rotateY(8deg) rotateX(2deg); }
}

@media (max-width: 760px) {
  .ct-hero { min-height: 0; padding-top: 108px; }
  .ct-card { transform: none; padding-inline: 0; }
  .ct-card::before { inset: -20px -16px; }
  .ct-card-actions { gap: 12px; }
  .ct-open, .ct-card-actions .bc-call { width: 100%; }
  .ct-card-actions .bc-call-arrow { margin-left: auto; }
}

@media (max-width: 380px) {
  .ct-card-head { font-size: 0.56rem; letter-spacing: 0.12em; }
  .ct-rows li { font-size: 0.6rem; letter-spacing: 0.1em; }
  .ct-open { gap: 10px; padding-right: 16px; }
  .ct-open-txt b { font-size: 0.95rem; }
  .bc-call-txt b { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-card, .ct-hero h1, .ct-hero #contact-intro, .ct-rows li, .ct-card-actions { animation: none; }
  .ct-open-ring i { animation: none; }
}

/* ---- 2. The console ----------------------------------------- */

.ct-console {
  --ct-pad: clamp(20px, 4vw, 52px);
  position: relative;
  padding: var(--ct-pad);
  padding-top: 0;
  border-radius: calc(var(--radius) * 1.4);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(229, 125, 35, 0.08), transparent 60%),
    rgba(33, 16, 9, 0.62);
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* a quiet, permanent gradient edge (the site's hairline) */
.ct-console::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(250, 167, 25, 0.55), rgba(192, 69, 39, 0.08) 38%, transparent 60%, rgba(229, 125, 35, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

/* targeting brackets on the four corners */
.ct-console::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  --c: rgba(250, 167, 25, 0.6);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 16px 1px,
    linear-gradient(var(--c), var(--c)) 0 0 / 1px 16px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 16px 1px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 1px 16px,
    linear-gradient(var(--c), var(--c)) 0 100% / 16px 1px,
    linear-gradient(var(--c), var(--c)) 0 100% / 1px 16px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 16px 1px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1px 16px;
  background-repeat: no-repeat;
}

.ct-console-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  margin-inline: calc(var(--ct-pad) * -1);
  padding-inline: max(22px, var(--ct-pad));
  margin-bottom: clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(254, 238, 207, 0.72);
  white-space: nowrap;
}

.ct-wave {
  flex: 1 1 auto;
  min-width: 0;
  height: 30px;
}

.ct-console-status {
  color: var(--accent-2);
}

@media (max-width: 560px) {
  .ct-console-bar {
    gap: 12px;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .ct-console-id span {
    display: none;
  }
}

/* -- the planner, restyled from inside the console -- */

.ct-console .cw {
  margin-top: 0;
}

/* five segments, one per question */
.ct-console .cw-progress {
  height: 6px;
  border-radius: 0;
  background: transparent;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 6px), transparent calc(20% - 6px) 20%);
  mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 6px), transparent calc(20% - 6px) 20%);
  box-shadow: inset 0 0 0 100px rgba(254, 238, 207, 0.08);
}

.ct-console .cw-progress i {
  border-radius: 0;
  box-shadow: 0 0 18px rgba(250, 167, 25, 0.6);
}

.ct-console .cw-step-count {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.ct-console .cw-step-count::before {
  content: "QUESTION ";
  color: var(--muted);
}

/* the conversational column sits centred in the deck; question 1's
   cards still take its full width */
.ct-console .cw-stage {
  margin-top: clamp(24px, 4vw, 44px);
  margin-inline: auto;
  max-width: 680px;
}

.ct-console .cw-stage--wide {
  max-width: none;
}

.ct-console .cw-legend {
  margin-bottom: 22px;
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.ct-console .cw-option {
  align-items: flex-start;
  min-height: 72px;
  padding: 18px 20px;
  background: rgba(21, 9, 5, 0.55);
  overflow: hidden;
}

.ct-console .cw-options--build .cw-option {
  min-height: 112px;
  padding: 22px;
}

.ct-console .cw-options--build .cw-option-label {
  font-size: 1.12rem;
}

.ct-console .cw-option-body::before {
  top: 20px;
  margin-top: 0;
}

/* a soft light follows the pointer across the card */
.ct-console .cw-option > .cw-option-body::after,
.ct-ch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -40%), rgba(250, 167, 25, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.ct-console .cw-option {
  isolation: isolate;
}

.ct-console .cw-option:hover > .cw-option-body::after,
.ct-ch:hover::before {
  opacity: 1;
}

.ct-console .cw-option.is-selected {
  background: linear-gradient(160deg, rgba(229, 125, 35, 0.16), rgba(192, 69, 39, 0.06));
  box-shadow: 0 18px 40px -24px rgba(229, 125, 35, 0.7);
}

/* ---- the answer cards: mission modules ---------------------------
   Every choice (what to build, what it should achieve, the timeline)
   is a module with a blueprint (contact.js draws the SVG). The blueprint
   draws itself in as the card arrives, card after card; under the
   pointer it comes alive in its own way (each motion is a class:
   ba-type, ba-bars, ba-swipe, ba-nudge, ba-data, ba-spin, ba-spin-r,
   ba-pulse, ba-lift) and the card leans toward the pointer. Picked, it
   locks on: brackets snap in, a scan crosses it, the blueprint glows in
   the brand gradient and the others step back. Q1 stacks the blueprint
   over the words; the other questions (.cw-modules--row) set it beside. */
.cw-modules { perspective: 1100px; }

.cw-step .cw-modules .cw-option {
  animation: cw-mod-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 0.07s);
}

@keyframes cw-mod-in {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

.cw-modules .cw-option {
  --rx: 0deg;
  --ry: 0deg;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease, opacity 0.4s ease, box-shadow 0.4s ease;
}

.cw-modules .cw-option:hover {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(250, 167, 25, 0.12);
}

/* the blueprint */
.cw-art {
  position: relative;
  display: block;
  color: rgba(254, 238, 207, 0.55);
  transition: color 0.4s ease, filter 0.4s ease;
}

.cw-art svg {
  display: block;
  width: auto;
  height: 72px;
  max-width: 100%;
  overflow: visible;
}

.cw-art svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  /* drawn in, stroke by stroke, card by card */
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: cw-draw 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  animation-delay: calc(0.25s + var(--i, 0) * 0.08s + var(--k, 0) * 0.05s);
}

.cw-art svg g { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }

@keyframes cw-draw { to { stroke-dashoffset: 0; } }

.cw-art-code {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  color: rgba(254, 238, 207, 0.35);
  transition: color 0.3s ease;
}

.cw-modules .cw-option:hover .cw-art,
.cw-modules .cw-option.is-selected .cw-art,
.cw-modules .cw-option:hover .cw-art-code,
.cw-modules .cw-option.is-selected .cw-art-code { color: var(--accent-2); }

.cw-modules .cw-option.is-selected .cw-art { filter: drop-shadow(0 0 10px rgba(250, 167, 25, 0.55)); }

/* ---- alive under the pointer (and while picked) ------------------ */
/* a shape given a motion loses its draw-in animation to it, so under the
   pointer and once picked every stroke is held fully drawn */
.cw-option:hover .cw-art svg *,
.cw-option.is-selected .cw-art svg * { stroke-dashoffset: 0; }
.cw-art .ba-type,
.cw-art .ba-swipe,
.cw-art .ba-nudge,
.cw-art .ba-spin,
.cw-art .ba-spin-r,
.cw-art .ba-lift,
.cw-art .ba-pulse { transform-box: fill-box; transform-origin: center; }

.cw-option:hover .cw-art .ba-type,
.cw-option.is-selected .cw-art .ba-type { animation: ba-type 1.6s steps(5, end) infinite; }
@keyframes ba-type { 0% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }

.cw-art .ba-bars path { transform-box: fill-box; transform-origin: bottom; }
.cw-option:hover .cw-art .ba-bars path,
.cw-option.is-selected .cw-art .ba-bars path { animation: ba-bars 1.4s ease-in-out infinite alternate; }
.cw-art .ba-bars path:nth-child(2) { animation-delay: 0.15s !important; }
.cw-art .ba-bars path:nth-child(3) { animation-delay: 0.3s !important; }
.cw-art .ba-bars path:nth-child(4) { animation-delay: 0.45s !important; }
.cw-art .ba-bars path:nth-child(5) { animation-delay: 0.6s !important; }
@keyframes ba-bars { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

.cw-option:hover .cw-art .ba-swipe,
.cw-option.is-selected .cw-art .ba-swipe { animation: ba-swipe 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes ba-swipe { 0%, 30% { transform: translateX(0); opacity: 1; } 45% { transform: translateX(-6px); opacity: 0; } 55% { transform: translateX(6px); opacity: 0; } 70%, 100% { transform: translateX(0); opacity: 1; } }

.cw-option:hover .cw-art .ba-nudge,
.cw-option.is-selected .cw-art .ba-nudge { animation: ba-nudge 1.6s ease-in-out infinite; }
@keyframes ba-nudge { 50% { transform: scale(1.12); } }

.cw-art .ba-data path { stroke-dasharray: 0.16 0.84; stroke-dashoffset: 1; opacity: 0; stroke-width: 2.6; animation: none; }
.cw-option:hover .cw-art .ba-data path,
.cw-option.is-selected .cw-art .ba-data path { opacity: 1; animation: ba-data 1.2s linear infinite; }
.cw-art .ba-data path:nth-child(2) { animation-delay: 0.6s !important; }
@keyframes ba-data { to { stroke-dashoffset: 0; } }

.cw-option:hover .cw-art .ba-spin,
.cw-option.is-selected .cw-art .ba-spin { animation: ba-spin 6s linear infinite; }
.cw-option:hover .cw-art .ba-spin-r,
.cw-option.is-selected .cw-art .ba-spin-r { animation: ba-spin 4.5s linear infinite reverse; }
@keyframes ba-spin { to { transform: rotate(360deg); } }
/* the timeline orbit's satellite turns round the planet, not itself */
.cw-options--timeline .cw-art .ba-spin { transform-box: view-box; transform-origin: 60px 36px; }

.cw-option:hover .cw-art .ba-lift,
.cw-option.is-selected .cw-art .ba-lift { animation: ba-lift 1.6s ease-in-out infinite; }
@keyframes ba-lift { 50% { transform: translateY(-4px); } }

.cw-option:hover .cw-art .ba-pulse,
.cw-option.is-selected .cw-art .ba-pulse { animation: ba-pulse 1.4s ease-in-out infinite; }
@keyframes ba-pulse { 50% { transform: scale(1.1); opacity: 0.75; } }

/* ---- picked: it locks on ---------------------------------------- */
.cw-art-vf {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  --vf: rgba(250, 167, 25, 0.9);
  background:
    linear-gradient(var(--vf), var(--vf)) 0 0 / 14px 1.5px no-repeat,
    linear-gradient(var(--vf), var(--vf)) 0 0 / 1.5px 14px no-repeat,
    linear-gradient(var(--vf), var(--vf)) 100% 0 / 14px 1.5px no-repeat,
    linear-gradient(var(--vf), var(--vf)) 100% 0 / 1.5px 14px no-repeat,
    linear-gradient(var(--vf), var(--vf)) 0 100% / 14px 1.5px no-repeat,
    linear-gradient(var(--vf), var(--vf)) 0 100% / 1.5px 14px no-repeat,
    linear-gradient(var(--vf), var(--vf)) 100% 100% / 14px 1.5px no-repeat,
    linear-gradient(var(--vf), var(--vf)) 100% 100% / 1.5px 14px no-repeat;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cw-modules .cw-option.is-selected .cw-art-vf { opacity: 1; transform: none; }

/* the scan crossing the card as it locks */
.cw-modules .cw-option::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 226, 170, 0.28) 49%, rgba(255, 240, 210, 0.55) 50%, rgba(255, 226, 170, 0.28) 51%, transparent 62%) no-repeat;
  background-size: 55% 100%;
  background-position: -120% 0;
  opacity: 0;
}

.cw-modules .cw-option.is-locking::before { animation: cw-lock-scan 0.8s cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes cw-lock-scan {
  0% { opacity: 1; background-position: -120% 0; }
  100% { opacity: 0; background-position: 260% 0; }
}

/* one picked: the rest step back (and come forward under the pointer) */
.cw-modules:has(.is-selected) .cw-option:not(.is-selected) { opacity: 0.62; }
.cw-modules:has(.is-selected) .cw-option:not(.is-selected):hover { opacity: 1; }

/* the other questions: the blueprint beside the words */
.cw-modules--row .cw-option {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  min-height: 84px;
}

.cw-modules--row .cw-art { flex: none; width: 84px; }
.cw-modules--row .cw-art svg { width: 100%; height: 50px; }

/* phones: every module is a row, so they fit the screen */
@media (max-width: 560px) {
  .cw-modules .cw-option {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .cw-art { flex: none; width: 76px; }
  .cw-art svg { width: 100%; height: 46px; }
  .cw-modules--row .cw-art { width: 64px; }
  .cw-modules--row .cw-art svg { height: 40px; }
  .cw-modules:not(.cw-modules--row) .cw-art-code { display: none; }
  .cw-art-vf { inset: 6px; }
}

/* ---- the jump between questions --------------------------------- */
.ct-console .cw-stage { position: relative; }

.cw-step.is-out-fwd { animation: cw-out-fwd 0.33s cubic-bezier(0.55, 0, 0.9, 0.4) forwards; }
.cw-step.is-out-back { animation: cw-out-back 0.33s cubic-bezier(0.55, 0, 0.9, 0.4) forwards; }
.cw-step.is-in-fwd { animation: cw-in-fwd 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.cw-step.is-in-back { animation: cw-in-back 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }

@keyframes cw-out-fwd { to { opacity: 0; transform: translateX(-60px) scale(0.97); filter: blur(8px); } }
@keyframes cw-out-back { to { opacity: 0; transform: translateX(60px) scale(0.97); filter: blur(8px); } }
@keyframes cw-in-fwd { from { opacity: 0; transform: translateX(70px) scale(0.98); filter: blur(10px); } }
@keyframes cw-in-back { from { opacity: 0; transform: translateX(-70px) scale(0.98); filter: blur(10px); } }

/* the jump itself: streaks across the stage and the readout */
.cw-jump {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.cw-stage.is-jump-fwd .cw-jump,
.cw-stage.is-jump-back .cw-jump { animation: cw-jump 0.9s ease-out; }

@keyframes cw-jump { 0% { opacity: 0; } 15%, 55% { opacity: 1; } 100% { opacity: 0; } }

.cw-jump-streaks i {
  position: absolute;
  left: 0;
  height: 1px;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(250, 167, 25, 0.85), transparent);
}

.cw-jump-streaks i:nth-child(1) { top: 14%; }
.cw-jump-streaks i:nth-child(2) { top: 29%; width: 55%; }
.cw-jump-streaks i:nth-child(3) { top: 43%; }
.cw-jump-streaks i:nth-child(4) { top: 58%; width: 30%; }
.cw-jump-streaks i:nth-child(5) { top: 72%; width: 50%; }
.cw-jump-streaks i:nth-child(6) { top: 86%; }

.cw-stage.is-jump-fwd .cw-jump-streaks i { animation: cw-streak-fwd 0.7s cubic-bezier(0.6, 0, 0.3, 1) both; }
.cw-stage.is-jump-back .cw-jump-streaks i { animation: cw-streak-back 0.7s cubic-bezier(0.6, 0, 0.3, 1) both; }
.cw-jump-streaks i:nth-child(2) { animation-delay: 0.04s !important; }
.cw-jump-streaks i:nth-child(3) { animation-delay: 0.09s !important; }
.cw-jump-streaks i:nth-child(4) { animation-delay: 0.02s !important; }
.cw-jump-streaks i:nth-child(5) { animation-delay: 0.07s !important; }
.cw-jump-streaks i:nth-child(6) { animation-delay: 0.12s !important; }

@keyframes cw-streak-fwd { from { transform: translateX(260%); } to { transform: translateX(-120%); } }
@keyframes cw-streak-back { from { transform: translateX(-120%); } to { transform: translateX(260%); } }

.cw-jump-read {
  position: absolute;
  left: 50%;
  top: 38%;
  padding: 8px 14px;
  border: 1px solid rgba(250, 167, 25, 0.4);
  border-radius: 999px;
  background: rgba(12, 5, 3, 0.8);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--accent-2);
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 0 24px rgba(250, 167, 25, 0.25);
}

/* ---- the budget: the thrust reactor ------------------------------ */
.cw-reactor { --p: 0.2; }

.cw-reactor-core {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  margin: 4px 0 18px;
}

.cw-gauge { position: relative; }

.cw-gauge svg { display: block; width: 100%; height: auto; overflow: visible; }

.cw-gauge-ticks line { stroke: rgba(254, 238, 207, 0.22); stroke-width: 1; }
.cw-gauge-ticks line.is-major { stroke: rgba(254, 238, 207, 0.5); stroke-width: 1.4; }

.cw-gauge-track,
.cw-gauge-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

.cw-gauge-track { stroke: rgba(254, 238, 207, 0.08); }

.cw-gauge-fill {
  stroke: url(#cw-gauge-g);
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p));
  filter: drop-shadow(0 0 calc(4px + var(--p) * 10px) rgba(250, 167, 25, 0.7));
  transition: stroke-dashoffset 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cw-gauge-needle {
  transform-box: view-box;
  transform-origin: 120px 124px;
  transform: rotate(calc(-90deg + var(--p) * 180deg));
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.cw-gauge-needle path { stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; }
.cw-gauge-needle circle { fill: var(--accent-2); filter: drop-shadow(0 0 6px rgba(250, 167, 25, 0.9)); }
.cw-gauge-hub { fill: #150905; stroke: var(--accent-2); stroke-width: 2; }

/* the reactor's glow: it burns hotter the higher the budget */
.cw-gauge-glow {
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: 70%;
  height: 60%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(250, 167, 25, calc(0.12 + var(--p) * 0.35)), transparent);
  pointer-events: none;
  animation: cw-glow 2.4s ease-in-out infinite;
}

@keyframes cw-glow { 50% { opacity: 0.6; } }

.cw-reactor-tier {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.cw-reactor .cw-budget-value { margin: 8px 0 8px; }

.cw-reactor-desc { margin: 0; color: var(--muted); }

/* a new mission class: the read flashes over */
.cw-reactor.is-shift .cw-reactor-read { animation: cw-shift 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes cw-shift { 0% { opacity: 0.2; transform: translateY(6px); filter: blur(4px); } }

/* quick picks */
.cw-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.cw-pick {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(254, 238, 207, 0.16);
  border-radius: 999px;
  background: rgba(12, 5, 3, 0.45);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: rgba(254, 238, 207, 0.72);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.3s ease;
}

.cw-pick:hover { color: var(--text); border-color: rgba(250, 167, 25, 0.5); transform: translateY(-2px); }
.cw-pick.is-on { color: var(--on-accent); background: var(--gradient); border-color: transparent; }
.cw-pick:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

@media (max-width: 640px) {
  .cw-reactor-core { grid-template-columns: minmax(0, 1fr); gap: 6px; text-align: center; }
  .cw-gauge { width: min(100%, 300px); margin: 0 auto; }
  .cw-picks { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
  .cw-picks::-webkit-scrollbar { display: none; }
  .cw-pick { flex: none; }
}

/* ---- the last question: the manifest and the ticket -------------- */
.cw-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.cw-final .cw-field { animation: cw-mod-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--i, 0) * 0.06s); }

.cw-field-n {
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--accent-2);
}

/* a field in use: a scan line runs under it */
.cw-final .cw-field { position: relative; }
.cw-final .cw-input:focus {
  box-shadow: 0 0 0 1px rgba(250, 167, 25, 0.5), 0 10px 30px -18px rgba(250, 167, 25, 0.6);
}

/* the ticket */
.cw-ticket {
  position: sticky;
  top: 110px;
  padding: 20px 20px 16px;
  border: 1px solid rgba(254, 238, 207, 0.16);
  border-radius: 18px;
  background:
    repeating-linear-gradient(0deg, rgba(254, 238, 207, 0.025) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, rgba(229, 125, 35, 0.12), rgba(21, 9, 5, 0.7) 55%);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9);
  font-family: var(--font-mono);
  transition: transform 0.9s cubic-bezier(0.6, 0, 0.3, 1), opacity 0.9s ease, box-shadow 0.4s ease;
}

.cw-ticket-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.cw-ticket-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px rgba(250, 167, 25, 0.8);
  animation: cw-blink 1.4s steps(1, end) infinite;
}

@keyframes cw-blink { 50% { opacity: 0.25; } }

.cw-ticket-head span { margin-left: auto; color: rgba(254, 238, 207, 0.5); }

.cw-ticket-rows { display: grid; gap: 9px; }

.cw-ticket-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(254, 238, 207, 0.45);
}

.cw-ticket-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.cw-ticket-row.is-empty b { color: rgba(254, 238, 207, 0.35); font-style: italic; }
.cw-ticket-row.is-fresh b { animation: cw-fresh 0.7s ease-out; }
@keyframes cw-fresh { 0% { color: var(--accent-2); text-shadow: 0 0 12px rgba(250, 167, 25, 0.8); } }

/* the perforation between the brief and the crew */
.cw-ticket-tear {
  position: relative;
  margin: 14px -20px;
  border-top: 1px dashed rgba(254, 238, 207, 0.22);
}

.cw-ticket-tear::before,
.cw-ticket-tear::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #150905;
}

.cw-ticket-tear::before { left: -9px; }
.cw-ticket-tear::after { right: -9px; }

.cw-ticket-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

/* a barcode, for the look of it */
.cw-ticket-code {
  flex: 1;
  height: 26px;
  opacity: 0.5;
  background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 5px, transparent 5px 8px, var(--text) 8px 11px, transparent 11px 12px);
}

.cw-ticket-stamp {
  padding: 6px 10px;
  border: 1.5px solid rgba(254, 238, 207, 0.25);
  border-radius: 6px;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(254, 238, 207, 0.35);
  transform: rotate(-4deg);
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* everything needed is in: the ticket is cleared, and says so */
.cw-ticket.is-cleared { box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(250, 167, 25, 0.35); }
.cw-ticket.is-cleared .cw-ticket-stamp {
  color: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: 0 0 16px rgba(250, 167, 25, 0.35);
  animation: cw-stamp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cw-stamp { from { transform: rotate(-4deg) scale(1.6); opacity: 0; } }

/* sent: it lifts off */
.cw-ticket.is-launching {
  transform: translateY(-60px) rotate(-2deg) scale(0.96);
  opacity: 0;
  box-shadow: 0 60px 80px -30px rgba(250, 167, 25, 0.6);
}

@media (max-width: 900px) {
  .cw-final { grid-template-columns: minmax(0, 1fr); }
  .cw-ticket { position: relative; top: auto; order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .cw-art svg * { animation: none; stroke-dashoffset: 0; }
  .cw-art .ba-data path { opacity: 0; }
  .cw-option .cw-art g,
  .cw-option .cw-art g path,
  .cw-option .cw-art .ba-pulse,
  .cw-modules .cw-option.is-locking::before,
  .cw-gauge-glow,
  .cw-ticket-head i { animation: none !important; }
  .cw-modules .cw-option,
  .cw-modules .cw-option:hover { transform: none; }
  .cw-step .cw-modules .cw-option,
  .cw-final .cw-field { animation: none; }
  .cw-gauge-fill,
  .cw-gauge-needle,
  .cw-ticket { transition: none; }
}

.ct-console .cw-followup {
  margin-top: 24px;
  background: rgba(21, 9, 5, 0.5);
}

.ct-console .cw-input {
  background: rgba(21, 9, 5, 0.6);
}

.ct-console .cw-input:focus {
  background: rgba(44, 22, 12, 0.8);
}

/* budget: the figure is the moment */
.ct-console .cw-budget-value {
  margin: 4px 0 22px;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ct-console .cw-range-scale {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.ct-console .cw-range::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px rgba(250, 167, 25, 0.5), 0 0 0 8px rgba(250, 167, 25, 0.08), 0 4px 14px rgba(0, 0, 0, 0.5);
}

.ct-console .cw-nav {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ct-console .cw-nav .btn {
  min-width: 132px;
}

/* success: the radar has them locked */
.ct-console .cw-success-icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 30px;
  font-size: 1.7rem;
  background: radial-gradient(circle, rgba(250, 167, 25, 0.22), rgba(229, 125, 35, 0.06) 70%);
  border: 1px solid rgba(250, 167, 25, 0.5);
}

.ct-console .cw-success-icon::before,
.ct-console .cw-success-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(250, 167, 25, 0.5);
  animation: ct-lock 2.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}

.ct-console .cw-success-icon::after {
  animation-delay: 1.4s;
}

@keyframes ct-lock {
  from { transform: scale(1); opacity: 0.9; }
  to   { transform: scale(2.6); opacity: 0; }
}

.ct-console .cw-resume {
  background: rgba(44, 22, 12, 0.7);
}

/* ---- 3. Direct channels ------------------------------------- */

.ct-channels-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.ct-channels-head .eyebrow {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.ct-channels-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.ct-channels-head p {
  max-width: 340px;
  color: var(--muted);
  font-size: 0.95rem;
}

.ct-channels {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.ct-ch {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 200px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(44, 22, 12, 0.7), rgba(21, 9, 5, 0.7));
  color: var(--text);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.ct-ch--email  { grid-column: span 7; }
.ct-ch--phone  { grid-column: span 5; }
.ct-ch--wa,
.ct-ch--office,
.ct-ch--social { grid-column: span 4; }

/* the site's gradient hairline, on hover */
.ct-ch::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ct-ch:hover,
.ct-ch:focus-within {
  border-color: transparent;
}

@media (hover: hover) {
  a.ct-ch:hover { transform: translateY(-4px); }
}

/* touch: a press answers instead of a hover that sticks */
@media (hover: none) {
  a.ct-ch:active { transform: scale(0.985); border-color: var(--line-strong); }
}

.ct-ch:hover::after,
.ct-ch:focus-within::after {
  opacity: 0.8;
}

.ct-ch-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.ct-ch-value {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.ct-ch--email .ct-ch-value,
.ct-ch--phone .ct-ch-value {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
}

.ct-ch-note {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.ct-ch-arrow {
  position: absolute;
  top: clamp(20px, 2.4vw, 30px);
  right: clamp(20px, 2.4vw, 30px);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.ct-ch-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

a.ct-ch:hover .ct-ch-arrow,
a.ct-ch:focus-visible .ct-ch-arrow {
  border-color: transparent;
  background: var(--gradient);
  color: var(--on-accent);
}

a.ct-ch:hover .ct-ch-arrow svg,
a.ct-ch:focus-visible .ct-ch-arrow svg {
  transform: rotate(-45deg);
}

a.ct-ch:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

.ct-ch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.ct-ch-links a,
.ct-ch-meta a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.ct-ch-links a:hover,
.ct-ch-links a:focus-visible,
.ct-ch-meta a:hover,
.ct-ch-meta a:focus-visible {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.ct-ch-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(254, 238, 207, 0.72);
}

.ct-ch-meta a {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.ct-ch-meta b {
  font-weight: 500;
  color: var(--accent-2);
}

@media (max-width: 980px) {
  .ct-ch--email { grid-column: 1 / -1; }
  .ct-ch--phone,
  .ct-ch--wa { grid-column: span 6; }
  .ct-ch--office,
  .ct-ch--social { grid-column: span 6; }
}

/* phones: one column of compact cards, the arrow riding the label row */
@media (max-width: 620px) {
  .ct-channels { grid-template-columns: 1fr; gap: 10px; }
  .ct-ch { grid-column: 1 / -1 !important; min-height: 0; gap: 6px; padding: 18px 18px 20px; }
  .ct-ch-value { margin-top: 10px; }
  .ct-ch--email .ct-ch-value,
  .ct-ch--phone .ct-ch-value { font-size: clamp(1.3rem, 6.4vw, 1.6rem); }
  .ct-ch-arrow { top: 14px; right: 14px; width: 38px; height: 38px; }
  .ct-ch-links a { min-height: 44px; }
  .ct-ch-meta a { min-height: 44px; }
  .ct-channels-head { margin-bottom: 22px; }
  .ct-channels-head p { max-width: none; }
}

/* ---- 4. Page widths ----------------------------------------- */

/* the cinema rails (blog-cinema.js) sit at the screen's edges on
   pointer screens past 1100px: keep the page clear of them, as the
   blog does; wide screens get a wider deck */
@media (min-width: 1101px) and (hover: hover) {
  .ct-hero-grid,
  #contact-planner,
  #contact-channels { width: min(1180px, 100% - 240px); }
}

@media (min-width: 1600px) {
  .ct-hero-grid,
  #contact-planner,
  #contact-channels { width: min(1320px, 100% - 240px); }
  .ct-console .cw-stage { max-width: 760px; }
  .ct-console .cw-stage--wide { max-width: none; }
}

@media (min-width: 2200px) {
  .ct-hero-grid,
  #contact-planner,
  #contact-channels { width: min(1480px, 100% - 280px); }
  .ct-console .cw-stage { max-width: 820px; }
  .ct-console .cw-stage--wide { max-width: none; }
}

/* phones: a slimmer gutter, and the console nearly edge to edge so
   the questions keep their width */
@media (max-width: 560px) {
  .ct-hero-grid,
  #contact-planner,
  #contact-channels { width: calc(100% - 32px); }

  .ct-console { --ct-pad: 16px; border-radius: var(--radius); }
  .ct-console::after { inset: 8px; }
  .ct-console-bar { min-height: 52px; }

  .ct-console .cw-stage { margin-top: 20px; }
  .ct-console .cw-legend { font-size: clamp(1.55rem, 7.4vw, 1.9rem); margin-bottom: 16px; }

  /* compact answer cards: five of them fit a phone screen or two */
  .ct-console .cw-options { gap: 10px; }
  .ct-console .cw-option,
  .ct-console .cw-options--build .cw-option { min-height: 0; padding: 15px 16px; }
  .ct-console .cw-options--build .cw-option-label { font-size: 1.02rem; }
  .ct-console .cw-option-body::before { top: 16px; right: 14px; }
  .ct-console .cw-followup { margin-top: 18px; padding: 16px; }
  .ct-console .cw-textarea-lg { min-height: 140px; }

  .ct-console .cw-nav { margin-top: 26px; padding-top: 18px; }
  .ct-console .cw-nav .btn { min-width: 0; }
  .ct-console .cw-step-count { font-size: 0.66rem; letter-spacing: 0.16em; }
}

/* tablets: question 1 in two columns, "Not sure yet" across the row */
@media (min-width: 561px) and (max-width: 860px) {
  .ct-console .cw-options--build .cw-option:last-child { width: 100%; min-height: 0; }
}

/* ---- Reduced motion ----------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ct-hero h1 .gradient-text,
  .ct-dot,
  .ct-cue i::after,
  .ct-console .cw-success-icon::before,
  .ct-console .cw-success-icon::after {
    animation: none;
  }

  a.ct-ch:hover {
    transform: none;
  }
}
