/* Galaxy XR Launchpad — Editorial Direction
   Rock Paper Reality · 2026 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #E85D1A;
  --orange-bright: #FF6B2B;
  --ink: #0E0E0C;
  --paper: #F4EFE6;
  --paper-deep: #E8E1D2;
  --ink-soft: rgba(244, 239, 230, 0.65);
  --ink-faint: rgba(244, 239, 230, 0.40);
  --rule: rgba(244, 239, 230, 0.18);
  --rule-paper: rgba(14, 14, 12, 0.18);
  --rule-paper-soft: rgba(14, 14, 12, 0.10);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ── SCROLL-IN ANIMATION ─────────────────────────────────────────────
   Subtle Apple-style: opacity + small upward translate, one exponential
   ease-out curve applied consistently. Three weight tiers (rise/default/soft)
   so titles travel farther and feel weightier than secondary text. Lists
   stagger via JS-set transition-delay on a parent with [data-stagger]. */
.anim {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.anim--rise { transform: translate3d(0, 30px, 0); transition-duration: 1100ms; }
.anim--soft { transform: translate3d(0, 10px, 0); transition-duration: 700ms; }
.anim.is-in {
  opacity: 1;
  transform: none;
}

/* Respect reduced motion — show everything immediately, no transitions. */
@media (prefers-reduced-motion: reduce) {
  .anim, .anim--rise, .anim--soft {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
a { color: inherit; text-decoration: none; }

.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.04em; }
.accent { color: var(--orange); }

/* ── NAV ─────────────────────────────────────────────────────────── */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 56px;
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0;
  background: rgba(14, 14, 12, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  display: block;
  width: 44px;
  flex-shrink: 0;
  line-height: 0;
}
.nav-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.nav-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.nav-issue { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.nav-end { display: flex; align-items: center; gap: 24px; justify-self: end; }
.nav-deadline { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }

/* ── NAV COUNTDOWN ───────────────────────────────────────────────── */
.nav-countdown {
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  justify-self: center;
}
.cd-dot {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.cd-dot::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--orange);
  z-index: -1;
  animation: cd-halo 2.6s ease-out infinite;
}
@keyframes cd-halo {
  0%   { transform: scale(1);   opacity: 0.35; }
  100% { transform: scale(2.6); opacity: 0;    }
}
.cd-label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 2px;
  white-space: nowrap;
}
.cd-seg { display: inline-flex; align-items: baseline; gap: 1px; }
.cd-num {
  display: inline-block;
  font-size: 20px; font-weight: 700;
  color: var(--paper);
  letter-spacing: 0;
  min-width: 1.7ch; text-align: center;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transform-origin: center;
  will-change: transform, color;
}
.cd-suf {
  font-size: 11px; font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 1px;
}
.cd-sep {
  font-size: 14px;
  color: var(--ink-faint);
  margin: 0 1px;
  line-height: 1;
}

/* Tick animation: when a digit's value changes, it briefly dims and fades back.
   No scale, no color flash — quiet acknowledgement that the number moved. */
@keyframes cd-tick {
  0%   { opacity: 1; }
  35%  { opacity: 0.45; }
  100% { opacity: 1; }
}
.cd-num.tick { animation: cd-tick 380ms ease-out; }

/* Final state — when the deadline passes. */
.cd-dot-dead { background: var(--paper); opacity: 0.45; }
.cd-dot-dead::before { display: none; }
.cd-label-final { color: var(--paper); font-weight: 600; font-size: 11px; }

/* Respect users who prefer no motion — kill the halo + tick animations. */
@media (prefers-reduced-motion: reduce) {
  .cd-dot::before { animation: none; }
  .cd-num.tick { animation: none; }
}
.nav-cta {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--orange); color: var(--ink);
  padding: 10px 18px; font-weight: 600;
  transition: background 150ms;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-bright); }

/* ── EYEBROW ─────────────────────────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--orange); text-transform: uppercase; letter-spacing: 0.18em;
}
.eyebrow::before {
  content: ""; display: block; width: 24px; height: 1px; background: var(--orange);
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero { padding: 100px 56px 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero-title {
  font-size: clamp(80px, 14vw, 220px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.055em;
  margin-top: 32px;
}
.hero-title .num,
.hero-title .pilot {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-size: clamp(88px, 15vw, 240px);
  display: inline-block;
}
.hero-title .num { color: var(--orange); }

.hero-side { padding-top: 80px; display: flex; flex-direction: column; gap: 32px; }
.hero-photo {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.brief { border-top: 1px solid var(--rule); padding-top: 24px; }
.brief-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 16px;
}
.brief-text { font-size: 22px; line-height: 1.35; letter-spacing: -0.01em; color: var(--paper); }

.stat-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
.stat { padding-left: 16px; border-left: 1px solid var(--rule); }
.stat:first-child { padding-left: 0; border-left: none; }
.stat-value {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic;
  font-size: 44px; color: var(--orange); line-height: 1;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 6px;
}

.cta-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px; background: var(--orange); color: var(--ink);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  width: fit-content;
  transition: background 150ms, transform 150ms;
}
.cta-primary:hover { background: var(--orange-bright); transform: translateY(-1px); }

/* ── SECTION HEADER ──────────────────────────────────────────────── */
.sec { padding: 120px 56px 80px; }
.sec-header {
  display: grid; grid-template-columns: 0.5fr 1fr;
  gap: 64px; margin-bottom: 64px;
}
.sec-title {
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.sec-title em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic; font-weight: 400; color: var(--orange);
  letter-spacing: -0.02em;
}

/* ── PRIZES ──────────────────────────────────────────────────────── */
.prizes { border-top: 1px solid var(--rule); }
.prize {
  display: grid;
  grid-template-columns: 1fr 1.4fr 120px;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.prize-n {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic;
  font-size: 64px; color: var(--orange); line-height: 1;
}
.prize-title { font-size: 24px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.prize-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.prize-flag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); text-align: right;
}

/* ── TIMELINE ────────────────────────────────────────────────────── */
/* Timeline section — subtle dotted background pattern, horizontal rows
   with date | thread+dot | content. Magazine layout. */
.timeline-sec {
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, transparent, rgba(232,93,26,0.03)),
    radial-gradient(circle, rgba(244,239,230,0.07) 1px, transparent 1.5px);
  background-size: 100% 100%, 22px 22px;
}

.timeline-list {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(244,239,230,0.14);
}

.tl-row {
  display: grid;
  grid-template-columns: 220px 48px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(244,239,230,0.14);
  align-items: start;
}

.tl-date {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 34px;
  color: var(--orange);
  line-height: 1.05;
  padding-top: 4px;
}

/* Axis column: contains the orange dot + the vertical thread running
   from this dot down to the next one. The thread is positioned absolutely
   so it can extend beyond the row's padding into the next row. */
.tl-axis {
  position: relative;
  display: flex; justify-content: center;
  padding-top: 12px;
  min-height: 100%;
}
.tl-axis::after {
  content: '';
  position: absolute;
  top: 30px;            /* starts just below the dot */
  bottom: -30px;        /* extends past the row padding into the next row */
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: rgba(244,239,230,0.18);
}
.tl-row:last-child .tl-axis::after { display: none; }

.tl-dot {
  position: relative;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--orange);
  z-index: 2;
  box-shadow: 0 0 14px rgba(232,93,26,0.55);
}

/* First milestone — current/imminent — gets the pulsing halo. */
.tl-row:first-child .tl-dot::before,
.tl-row:first-child .tl-dot::after {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--orange);
  z-index: -1;
}
.tl-row:first-child .tl-dot::before { animation: cd-halo 2.2s ease-out infinite; }
.tl-row:first-child .tl-dot::after  { animation: cd-halo 2.2s ease-out infinite 1.1s; }

.tl-body { padding-top: 2px; }
.tl-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--paper);
}
.tl-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 520px;
}

/* ── CLIENTS ─────────────────────────────────────────────────────── */
.clients-sec { border-top: 1px solid var(--rule); }
.clients-list {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  column-count: 4; column-gap: 0;
}

/* Clients logo wall.
   ─ Desktop: all 35 logos flatten into a 7-column grid. The .cl-page
     wrappers use display:contents so they disappear from layout, letting
     their child <img>s become direct grid items of .cl-grid.
   ─ Mobile: .cl-page wrappers become their own 3×2 grids, absolutely
     positioned, with each page fading in/out on a 30s cycle via
     CSS-only keyframe animation. No JS required. */
.clients-logos {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 56px 24px;
}
.cl-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 36px 40px;
  align-items: center;
  justify-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.cl-page {
  display: contents; /* desktop: vanish from layout */
}
.cl-logo {
  display: block;
  max-height: 40px;
  max-width: 140px;
  width: auto;
  height: auto;
  opacity: 0.7;
  filter: grayscale(0.2);
  transition:
    opacity 280ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 280ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, filter, transform;
}
.cl-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.06);
}

/* Page indicator dots — hidden on desktop, shown under the carousel on mobile.
   Non-interactive, JS just mirrors which page is active. */
.cl-dots { display: none; }

/* Mobile carousel: pages are absolutely stacked, only one visible at a time.
   A JS controller cycles which page has .is-active (see script in index.html).
   Using !important on the critical positioning bits to defeat any cascade
   conflicts from the .anim/will-change stacking context on .clients-logos. */
@media (max-width: 640px) {
  .clients-logos { padding: 32px 12px !important; }
  .cl-grid {
    display: block !important;
    position: relative !important;
    height: 320px !important;
    overflow: hidden !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .cl-page {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    gap: 14px 10px !important;
    align-items: center !important;
    justify-items: center !important;
    padding: 8px 6px !important;
    box-sizing: border-box !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 520ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .cl-page.is-active {
    opacity: 1;
    pointer-events: auto;
  }
  .cl-logo {
    max-height: 38px !important;
    max-width: 110px !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  /* Page dots */
  .cl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
  }
  .cl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(244, 239, 230, 0.22);
    transition:
      background 450ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .cl-dot.is-active {
    background: var(--orange);
    transform: scale(1.35);
  }
}

/* Reduced motion: cut the cross-fade, but keep the rotation working. */
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .cl-page { transition: none; }
}
.client {
  padding: 16px 24px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.015em;
  color: var(--paper);
  break-inside: avoid;
  display: flex; align-items: center; gap: 12px;
}
.client-n {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--orange); letter-spacing: 0.1em;
}

/* ── FORM ────────────────────────────────────────────────────────── */
.form-sec { padding: 120px 56px; background: var(--paper); color: var(--ink); }
.form-wrap { max-width: 1100px; margin: 0 auto; }
.form-header {
  display: grid; grid-template-columns: 0.5fr 1fr;
  gap: 64px; margin-bottom: 64px;
}
.form-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--orange); text-transform: uppercase; letter-spacing: 0.18em;
}
.form-eyebrow::before {
  content: ""; display: block; width: 24px; height: 1px; background: var(--orange);
}
.form-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(14,14,12,0.5); margin-top: 24px;
}
.form-title {
  font-size: clamp(64px, 11vw, 120px);
  font-weight: 600; line-height: 0.9; letter-spacing: -0.04em;
  color: var(--ink);
}
.form-title em {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic;
  font-weight: 400; color: var(--orange);
}

.fgroup { margin-bottom: 56px; }
.fg-header {
  display: grid; grid-template-columns: 0.5fr 1fr; gap: 32px;
  padding-bottom: 16px; margin-bottom: 32px;
  border-bottom: 1px solid var(--rule-paper);
}
.fg-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  color: rgba(14,14,12,0.78);
}
.fg-rows-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.fg-rows-wide { display: flex; flex-direction: column; gap: 24px; }

.field {
  display: block;
  border-bottom: 1px solid rgba(14,14,12,0.22);
  padding-bottom: 14px;
  transition: border-color 150ms ease;
}
.field:focus-within { border-bottom-color: var(--orange); }

.field-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: rgba(14,14,12,0.85); margin-bottom: 8px;
}
.field-hint {
  font-size: 13px; color: rgba(14,14,12,0.62);
  margin-bottom: 12px; line-height: 1.55;
}

.field input,
.field textarea,
.field select {
  width: 100%; background: transparent; border: none;
  padding: 4px 0; color: var(--ink);
  font-family: 'Geist', sans-serif; font-size: 18px;
  outline: none;
}

/* Textareas get a real, visible box so the typing area is unambiguous.
   Single-line inputs and selects keep the editorial underline-only feel. */
.field textarea {
  font-size: 16px; resize: vertical; min-height: 128px;
  background: rgba(14,14,12,0.035);
  border: 1px solid rgba(14,14,12,0.18);
  padding: 14px 16px;
  line-height: 1.6;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.field textarea:focus {
  border-color: var(--orange);
  background: #FBF8F1;
}
/* Once the user has typed anything, the orange border has done its job
   (signalling "type here"). Switch to a calm neutral indicator so a
   filled-in field doesn't keep reading like a warning/error state. */
.field textarea:focus:not(:placeholder-shown) {
  border-color: rgba(14,14,12,0.32);
}

.field select { font-size: 18px; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230E0E0C' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 24px; }
.field .other-input { margin-top: 16px; display: none; }
.field .other-input.show { display: block; }

/* Placeholder hierarchy: clearly lighter than hint text, italic to signal
   "example only". Override Firefox's default 0.5 opacity. */
.field input::placeholder,
.field textarea::placeholder,
.field select::placeholder {
  color: rgba(14,14,12,0.38);
  opacity: 1;
  font-style: italic;
}

.req { color: var(--orange); font-weight: 700; margin-left: 2px; }
.opt { color: rgba(14,14,12,0.55); font-size: 10px; letter-spacing: 0.06em; }

.wc { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(14,14,12,0.6); text-align: right; margin-top: 8px; letter-spacing: 0.1em; opacity: 0; transition: opacity 200ms ease; min-height: 14px; }

.radio-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.ropt { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 10px 0; }
.ropt input[type="radio"] {
  margin-top: 5px; width: 14px; height: 14px;
  accent-color: var(--orange);
}
.ropt span { font-size: 15px; line-height: 1.5; color: var(--ink); }

.commit-box {
  background: rgba(14,14,12,0.04); border: 1px solid var(--rule-paper);
  padding: 28px 28px; margin-top: 12px;
}
.commit-intro { font-size: 14px; color: rgba(14,14,12,0.65); margin-bottom: 20px; line-height: 1.55; }
.ci { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-paper-soft); }
.ci:last-child { border-bottom: none; }
.ci input[type="checkbox"] {
  margin-top: 4px; width: 16px; height: 16px;
  accent-color: var(--orange);
}
.ci label { font-size: 14px; line-height: 1.55; color: var(--ink); cursor: pointer; flex: 1; }

.submit-btn {
  background: var(--orange); color: var(--ink);
  padding: 24px 36px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  align-self: flex-start;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 12px;
  transition: background 150ms, transform 150ms;
  margin-top: 32px;
}
.submit-btn:hover { background: var(--orange-bright); transform: translateY(-1px); }
.submit-btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.submit-note {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(14,14,12,0.5); margin-top: 20px;
}

.apply-success {
  background: var(--ink); color: var(--paper);
  padding: 56px 48px; border: 1px solid var(--rule-paper);
  text-align: center;
}
.apply-success h3 { font-size: 40px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 16px; }
.apply-success p { color: var(--ink-soft); max-width: 460px; margin: 0 auto; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer { padding: 40px 56px; border-top: 1px solid var(--rule); }
.footer-row { display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { padding: 60px 24px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-side { padding-top: 0; }
  .nav { padding: 16px 20px; grid-template-columns: 1fr auto; }
  .nav-issue { display: none; }
  .nav-countdown { display: none; }
  .sec { padding: 80px 24px 56px; }
  .sec-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .prize { grid-template-columns: 1fr; gap: 12px; }
  .prize-flag { text-align: left; margin-top: 4px; }
  /* Tablet — tighten the date column and let title/desc breathe. */
  .tl-row { grid-template-columns: 150px 40px 1fr; gap: 20px; padding: 26px 0; }
  .tl-date { font-size: 26px; }
  .tl-title { font-size: 19px; }
  .clients-list { column-count: 2; }
  .form-sec { padding: 80px 24px; }
  .form-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .fg-header { grid-template-columns: 1fr; gap: 8px; }
  .fg-rows-inline { grid-template-columns: 1fr; }
  footer { padding: 32px 24px; }
  .footer-row { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr; gap: 12px; }
  .stat { padding-left: 0; border-left: none; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: none; }
  /* Mobile — stack date above content, thread on the left side. */
  .tl-row {
    grid-template-columns: 28px 1fr;
    gap: 16px;
    padding: 22px 0;
  }
  .tl-date {
    grid-column: 2;
    font-size: 24px;
    padding-top: 0;
    margin-bottom: 8px;
  }
  .tl-axis {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 14px;
  }
  .tl-axis::after { top: 28px; bottom: -22px; }
  .tl-body { grid-column: 2; padding-top: 4px; }
  .tl-title { font-size: 18px; }
  .tl-desc { font-size: 13px; }
  .clients-list { column-count: 1; }
  .nav-cta { padding: 8px 12px; font-size: 10px; }
  .nav-deadline { display: none; }
}
