/* ───────────────────────── Argos v6 — light clinical (v5 palette), Lassie-style scrollytelling ───────────────────────── */

:root {
  --bg: #f4f1e9;        /* Dawn Paper — warm page background */
  --bg-2: #ece5d6;      /* Sand — alternating section bands */
  --card: #ffffff;      /* Surface White — cards lift off the paper */
  --ink: #23282b;       /* Slate Ink — body text */
  --muted: #5e6670;     /* Muted Slate — secondary text */
  --teal: #0fa38a;      /* Clinical Teal — trust / pass / links */
  --teal-ink: #0b7d6a;
  --gold: #e1af30;      /* Sun Gold — signature accent (logo, CTA) */
  --gold-deep: #a87c12; /* Gold-as-text on light surfaces */
  --amber: #c56b1e;     /* Flag Amber — warnings */
  --night: #12181b;     /* Night — compliance / ledger band */
  --line: rgba(35, 40, 43, 0.12);
  --shadow: 0 18px 50px rgba(35, 40, 43, 0.10);

  --display: "Space Grotesk", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --pad: clamp(20px, 5vw, 64px);
  --foot-h: clamp(125px, 16vh, 165px);   /* a small peek — just the sun */
  --card-round: clamp(22px, 3.6vw, 46px);
}

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

/* main rides above the fixed footer and lifts away to reveal it (sticky-footer reveal) */
main {
  position: relative;
  z-index: 1;
  background: var(--bg);
  margin-bottom: var(--foot-h);
  border-bottom-left-radius: var(--card-round);
  border-bottom-right-radius: var(--card-round);
}

html {
  scroll-behavior: smooth;
  /* pinned sections toggle fixed/absolute at their boundaries; Chrome's scroll
     anchoring fights that during upward scrolls and can trap the user below
     a pin — disable it (no-op in Safari/Firefox-without-anchoring) */
  overflow-anchor: none;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--teal); color: #fff; }

.mono { font-family: var(--mono); }
.container { max-width: 1180px; margin: 0 auto; padding-inline: var(--pad); }

section { scroll-margin-top: 80px; }

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--teal-ink);
}

.kicker {
  display: inline-flex; align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 1.1rem;
}
.kicker-light { color: var(--teal); }

.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); margin-right: 0.7em;
}
.dot-live { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

/* ── floating pill nav ──────────────────────────── */

.pillbar {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex; align-items: center; gap: 8px;
  padding: 6px;
  border-radius: 18px;   /* Lassie-style rounded rect, not a full pill */
  background: rgba(18, 24, 27, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  opacity: 0; /* GSAP reveals */
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  background: rgba(18, 24, 27, 0.5);
  border-radius: 12px;
  padding: 0.62em 1.25em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.pill:hover { background: var(--teal-ink); transform: translateY(-1px); }

.pill-brand { font-size: 1rem; letter-spacing: 0.02em; gap: 0; }
.pill-mark {
  width: 24px; height: auto;
  /* the gold sun reads as-is on the dark pill — no invert */
  transform: translateY(-1px);
}

/* brand word collapses to icon-only once you scroll past the hero */
.pill-word {
  display: inline-block;
  max-width: 70px;
  margin-left: 8px;
  opacity: 1;
  overflow: hidden;
  transition: max-width 0.4s cubic-bezier(.4,0,.2,1), opacity 0.25s, margin-left 0.4s cubic-bezier(.4,0,.2,1);
}
.pillbar.condensed .pill-word {
  max-width: 0;
  min-width: 0;       /* flex items default to min-width:auto, which would
                         block max-width:0 — without this the word never
                         collapses and the sun stays pinned left, off-centre */
  margin-left: 0;
  opacity: 0;
}

.pill-cta { background: #fff; color: var(--ink); }
.pill-cta:hover { background: var(--bg-2); color: var(--ink); }

/* ── hero — full-bleed photo ────────────────────── */

.hero {
  /* normal flow: the hero scrolls up WITH the page while it cards out,
     like Lassie — it shrinks into a rounded card as it leaves the viewport */
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px clamp(20px, 5vw, 64px) 30px;
  overflow: hidden;
  will-change: transform;
}

/* sections after the hero paint above it as they slide over */
main > section:not(.hero) { position: relative; z-index: 2; }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.06);   /* GSAP settles to 1 */
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 46% at 50% 46%, rgba(17, 24, 28, 0.38), rgba(17, 24, 28, 0.18) 70%, transparent),
    linear-gradient(180deg, rgba(17, 24, 28, 0.34), rgba(17, 24, 28, 0.06) 30%, rgba(17, 24, 28, 0.08) 62%, rgba(17, 24, 28, 0.42));
}

.hero-center {
  position: relative; z-index: 2;
  text-align: center;
  color: #fff;
  margin: auto 0;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 30px rgba(17, 24, 28, 0.45);
  margin-bottom: clamp(20px, 3.4vh, 34px);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .line-in { display: inline-block; will-change: transform; }
.line-accent .line-in { font-style: italic; }

.hero-tag {
  font-weight: 500;
  font-size: clamp(1.02rem, 1.8vw, 1.3rem);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 16px rgba(17, 24, 28, 0.5);
  margin-bottom: 14px;
}

/* the flip line — one log item at a time */
.flipline {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 400;
  font-size: clamp(0.94rem, 1.5vw, 1.12rem);
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 14px rgba(17, 24, 28, 0.5);
  min-height: 1.7em;
}
.flip-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.2em; height: 1.2em;
  flex: none;
  /* inherits the flipline text colour — reads as a status update, not a checkbox */
}
.flip-icon svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* bottom email capture + cue */
.hero-foot {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: min(460px, 100%);
}

.hero-form {
  display: flex; align-items: center; gap: 8px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(17, 24, 28, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  width: 100%;
}

.hero-input {
  flex: 1;
  min-width: 0;
  font-family: var(--body);
  font-size: 0.98rem;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0.85em 1.2em;
}
.hero-input::placeholder { color: rgba(255, 255, 255, 0.65); }

.hero-go {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 12px;
  padding: 0.85em 1.7em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}
.hero-go:hover { background: var(--bg-2); transform: translateY(-1px); }

.hero-cue {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 10px rgba(17, 24, 28, 0.6);
}

/* ── INTRO — the category statement, Lassie-style ── */

.intro {
  padding: clamp(90px, 14vh, 150px) 0 clamp(40px, 6vh, 70px);
  background: var(--bg);
  text-align: center;
}

.intro-mark {
  width: clamp(54px, 6vw, 76px);
  height: auto;
  margin: 0 auto clamp(20px, 3vh, 32px);
  display: block;
}

.intro-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 19ch;   /* breaks as "The AI appliance / that runs your steri" */
  margin: 0 auto clamp(40px, 7vh, 80px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2.6fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: end;
  text-align: left;
}

.intro-rail { padding-bottom: clamp(10px, 4vh, 40px); }
.intro-rail h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.18;
  color: var(--muted);
  margin-bottom: 12px;
}
.intro-rail p {
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.65;
  color: var(--muted);
  opacity: 0.85;
  max-width: 30ch;
}

.intro-shot {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.intro-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 55% 42%;
}

/* the Lassie-style status pill floating on the photo */
.work-pill {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 84%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(18, 24, 27, 0.3);
  padding: 14px 16px;
  text-align: left;
}
.work-head {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.work-head img { width: 20px; height: auto; }
.work-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7em 1em;
}
.work-spin {
  width: 13px; height: 13px;
  border: 2px solid var(--teal);
  border-top-color: transparent;
  border-radius: 50%;
  flex: none;
  animation: workspin 1.1s linear infinite;
}
@keyframes workspin { to { transform: rotate(360deg); } }

/* ── MEET ────────────────────────────────────────── */

.meet {
  padding: clamp(90px, 14vh, 150px) 0;
  background: #fff;   /* distinct surface so the card inset reads against the page bg */
  will-change: clip-path;
}
.meet .container { width: 100%; }
.meet-title { max-width: 16ch; margin-bottom: 14px; }

.meet-title {
  text-align: center;
  margin-bottom: clamp(26px, 4vh, 44px);
}

.meet-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow);
  will-change: transform;
}
.card-num {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  color: var(--teal-ink);
  margin-bottom: 1.4rem;
}
.card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}
.card p { color: var(--muted); font-size: 0.97rem; }

/* ── NUMBER — pinned: 9 minutes, then the payoff ── */

.number { background: var(--bg-2); overflow: hidden; }

.number-pin {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
}

.number-stage { position: relative; width: 100%; text-align: center; }

/* the payoff statement — the section's only content */
.payoff { display: flex; align-items: center; justify-content: center; }
.payoff-big {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);   /* same scale as section h2s */
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 24ch;
  margin: 0 auto;
  will-change: transform;
}
.payoff-big strong { color: var(--teal-ink); }
.payoff-big em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-ink);
}

/* ── AUTONOMY — 98%, orbiting instruments ────────── */

.autonomy { background: var(--night); overflow: hidden; }

/* the steri room sits behind the whole 98% moment */
.autonomy-bg { position: absolute; inset: 0; z-index: 0; }
.autonomy-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 55% 42%;
  will-change: transform;
}
.autonomy-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 50% at 50% 50%, rgba(18, 24, 27, 0.62), rgba(18, 24, 27, 0.34) 70%, rgba(18, 24, 27, 0.22)),
    linear-gradient(180deg, rgba(18, 24, 27, 0.46), rgba(18, 24, 27, 0.2) 30%, rgba(18, 24, 27, 0.24) 62%, rgba(18, 24, 27, 0.54));
}

/* the sunshine mood layer — dawn glow, the orbit's gold halo, drifting glints */
.autonomy-mood { position: absolute; inset: 0; pointer-events: none; }

.mood-glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(940px, 130vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 193, 64, 0.38), rgba(255, 193, 64, 0.14) 46%, transparent 72%);
}

/* the halo the step tiles ride — same radius as the orbit arms */
.mood-ring {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: calc(2 * clamp(170px, 26vw, 340px));
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 205, 110, 0.38);
  animation: moodspin 90s linear infinite;
}
@keyframes moodspin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.mood-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 205, 110, 0.5), rgba(255, 193, 64, 0) 70%);
  filter: blur(14px);
  opacity: 0.35;
  animation: moodfloat 9s ease-in-out infinite;
}
.mood-orb-a { width: 110px; height: 110px; left: 14%; top: 26%; }
.mood-orb-b { width: 70px;  height: 70px;  left: 80%; top: 18%; animation-duration: 12s; animation-delay: -4s; }
.mood-orb-c { width: 150px; height: 150px; left: 70%; top: 70%; animation-duration: 14s; animation-delay: -7s; }
@keyframes moodfloat { 50% { transform: translateY(-26px); } }

/* sunrise mood chips — members of the orbit, interleaved between the steps */
.dist-near { transform: translateX(calc(clamp(170px, 26vw, 340px) * 0.78)); }
.dist-far  { transform: translateX(calc(clamp(170px, 26vw, 340px) * 1.16)); }
.dist-mid  { transform: translateX(calc(clamp(170px, 26vw, 340px) * 0.94)); }

.orbit-chip {
  transform: rotate(calc(-1 * var(--a)));
  width: clamp(54px, 6.5vw, 80px);
  aspect-ratio: 1;
  margin: calc(clamp(54px, 6.5vw, 80px) / -2);   /* center on the arm tip */
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(18, 24, 27, 0.35);
  background-size: cover;
  background-position: 50% 50%;
}
/* the two photo moments: frameless, deliberately different shapes */
.chip-sunrise {
  background-image: url("assets/mood-sunrise.jpg");   /* golden lake — natively on-palette, no grade */
  background-size: cover;
  background-position: 50% 45%;
  width: clamp(104px, 12vw, 152px);            /* square — the largest satellite, a notch over the pack */
  margin: calc(clamp(104px, 12vw, 152px) / -2);
}
.chip-doctor {
  background-image: url("assets/mood-doctor.jpg");
  background-size: cover;
  background-position: 50% 22%;                /* keep his face in frame */
  width: clamp(60px, 7vw, 86px);               /* portrait rectangle */
  aspect-ratio: 4 / 5;
  margin: calc(clamp(60px, 7vw, 86px) * -0.625) calc(clamp(60px, 7vw, 86px) / -2);
}
/* the wrapped pack — a free object, no chip frame, shadow does the lifting */
.chip-pack {
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  aspect-ratio: auto;
  width: clamp(96px, 11vw, 142px);
  margin: calc(clamp(96px, 11vw, 142px) * -0.29) calc(clamp(96px, 11vw, 142px) / -2);
}
.chip-pack img {
  display: block;
  width: 100%; height: auto;
  filter: drop-shadow(0 12px 22px rgba(18, 24, 27, 0.45));
}

/* light-on-photo text for this section */
.autonomy .kicker { color: #4fd8bb; text-shadow: 0 1px 10px rgba(18, 24, 27, 0.6); }
.autonomy .stat-big { color: #fff; }
.autonomy .stat-sub { color: rgba(255, 255, 255, 0.92); }
.autonomy .stat-sub em { color: #4fd8bb; }
.autonomy .stat-big,
.autonomy .stat-sub,
.autonomy .stat-fine { text-shadow: 0 2px 24px rgba(18, 24, 27, 0.55); }
.autonomy .stat-fine { color: rgba(255, 255, 255, 0.65); }

.autonomy-pin {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
}

.autonomy-stat {
  position: relative; z-index: 2;
  text-align: center;
}
.stat-big {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4rem, 8.5vw, 8rem);   /* matched with .number-big */
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--ink);
  will-change: transform;
}
.stat-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);   /* matched with .number-sub */
  color: var(--ink);
  margin: 14px 0 10px;
}
.stat-sub em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--teal-ink);
}
.stat-fine {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* the orbit: arms rotate tiles into place; JS scrubs the whole ring */
.orbit {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  z-index: 1;
  will-change: transform;
}
.orbit-arm {
  position: absolute;
  left: 0; top: 0;
  transform: rotate(var(--a));
  z-index: 1;
}
.orbit-arm-sat { z-index: 0; }   /* mood rides beneath the work, always */
.orbit-dist { transform: translateX(clamp(170px, 26vw, 340px)); }
.orbit-tile {
  transform: rotate(calc(-1 * var(--a)));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: clamp(84px, 10vw, 122px);
  aspect-ratio: 1;
  margin: calc(clamp(84px, 10vw, 122px) / -2);   /* center the tile on the arm tip */
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(18, 24, 27, 0.3);
}
.orbit-tile svg {
  width: 38%; height: 38%;
  fill: none;
  stroke: var(--teal-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.orbit-tile .num {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  color: var(--teal);
}
.orbit-tile .mono:not(.num) {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── FAQ ─────────────────────────────────────────── */

.faq { padding: clamp(90px, 14vh, 150px) 0 clamp(60px, 8vh, 90px); background: var(--bg); }
.faq-title { text-align: center; margin-bottom: clamp(26px, 4vh, 40px); }

.faq-list { max-width: 640px; margin: 0 auto; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  will-change: transform;
}
.faq-list summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  padding: 15px 20px;
}
.faq-list summary::-webkit-details-marker { display: none; }

.faq-x {
  position: relative;
  width: 18px; height: 18px;
  flex: none;
  transition: transform 0.3s;
}
.faq-x::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--teal-ink);
  border-bottom: 2px solid var(--teal-ink);
  border-radius: 1px;
  transform: translate(-50%, -68%) rotate(45deg);   /* chevron pointing down */
}
details[open] .faq-x { transform: rotate(180deg); }  /* flips to point up */

.faq-list details p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 62ch;
}

/* ── CTA ─────────────────────────────────────────── */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 13vh, 140px) 0 clamp(110px, 16vh, 180px);
  /* dawn light rising from the bottom — sunshine + open space */
  background:
    radial-gradient(95% 70% at 50% 128%, #ffd86b 0%, #f8e3b0 26%, #f4ecdd 52%, var(--bg) 78%);
  border-bottom-left-radius: var(--card-round);
  border-bottom-right-radius: var(--card-round);
  box-shadow: 0 34px 60px -28px rgba(35, 40, 43, 0.28);
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -38%;
  width: min(720px, 96vw); height: min(720px, 96vw);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,206,84,0.55) 0%, rgba(255,206,84,0) 62%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 30px;
}

.cta-form {
  display: flex; align-items: center; gap: 8px;
  padding: 6px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: min(480px, 100%);
  margin: 0 auto 14px;
}
.cta-input {
  flex: 1;
  min-width: 0;
  font-family: var(--body);
  font-size: 0.98rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0.85em 1.2em;
}
.cta-input::placeholder { color: var(--muted); opacity: 0.7; }
.cta-go {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--gold);
  border: 0;
  border-radius: 12px;
  padding: 0.85em 1.7em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}
.cta-go:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); }

.cta-fine { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 26px; }
.cta-legal {
  margin-top: clamp(48px, 8vh, 80px);
  text-align: right;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.cta-founder {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--ink);
}

/* ── FOOTER ──────────────────────────────────────── */

/* fixed drawer behind main — revealed as the page lifts away (sticky-footer reveal) */
.foot {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 0;
  height: var(--foot-h);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  background: var(--bg);
}
/* the sky: the sun emerges from the horizon, glow radiating from the same point */
.foot-sky {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;        /* clips the lower half of the sun below the horizon */
}
.foot-horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(168,124,18,0.32) 14%, rgba(168,124,18,0.32) 86%, transparent);
}
.foot-glow {
  position: absolute; left: 50%; bottom: 0; z-index: 0;
  transform: translateX(-50%);
  width: min(1100px, 150vw); height: 200%;
  /* orange dawn radiating UP from the sun's point on the horizon */
  background: radial-gradient(closest-side at 50% 100%, rgba(255,193,64,0.55) 0%, rgba(255,206,120,0.28) 38%, rgba(255,206,120,0) 70%);
  pointer-events: none;
}
.foot-sun-wrap {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  transform: translate(-50%, -50%);   /* sun's resting point: dead centre of the peel */
}
.foot-sun { display: block; width: clamp(56px, 7vw, 84px); height: auto; }
.js .foot-glow { opacity: 0; }


/* ── reveal initial states (GSAP animates in; JS adds .js) ── */

.js [data-reveal] { opacity: 0; }
.js .hero-title .line-in { transform: translateY(110%); }
/* scroll-triggered elements get initial states from JS (fromTo), so non-JS users see everything */

/* ── reduced motion ─────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img, .hero-bg video { transform: none; }
  .dot-live, .work-spin, .mood-ring, .mood-orb { animation: none; }
}

/* ── mobile ─────────────────────────────────────── */

@media (max-width: 720px) {
  .pillbar { top: 12px; gap: 6px; }
  .pill-link { display: none; }     /* brand + CTA only, like Lassie on mobile */
  .pill { font-size: 0.86rem; }

  .hero { padding: 96px 20px 22px; }
  .hero-title { font-size: clamp(2.7rem, 13vw, 3.8rem); }
  .flipline { font-size: 0.92rem; padding: 0 8px; }
  .hero-input { font-size: 0.92rem; padding: 0.8em 1em; }
  .hero-go { font-size: 0.88rem; padding: 0.8em 1.2em; }
  .hero-cue { font-size: 0.56rem; letter-spacing: 0.12em; }

  .meet-cards { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 18px; }
  .intro-rail { padding-bottom: 0; text-align: center; }
  .intro-rail p { margin: 0 auto; }
  .intro-shot img { aspect-ratio: 4 / 3.4; }
  .work-pill { width: min(340px, 88%); }

  .orbit-chip { display: none; }
  .mood-ring { width: 280px; }
  .orbit-dist { transform: translateX(140px); }
  .orbit-tile { border-radius: 16px; }
  .orbit-tile .mono { font-size: 0.46rem; letter-spacing: 0.06em; }
  .orbit-tile .num { display: none; }

  .meet-cards { grid-template-columns: 1fr; }


  .cta-form { flex-direction: column; border-radius: 16px; }
  .cta-input { width: 100%; text-align: center; }
  .cta-go { width: 100%; }
}
