/* nowill-fjord — grounded sister.
   Literata display + Schibsted Grotesk body. Cold fjord in the film, warm lantern in the UI:
   contrast comes from temperature, never from neon glow. Per-leg duotone grade carries the
   dawn arc (cold blue → workshop amber → golden summit). */

:root {
  --bg: #060a09;
  --ink: #eef2ee;
  --ink-dim: rgba(238, 242, 238, 0.66);

  /* the lantern — the only accent, warm against a cold film */
  --lantern: #e8a94e;
  --lantern-deep: #c8813a;
  --lantern-pale: #f6dfae;
  --on-lantern: #1a1005;

  --hair: rgba(238, 242, 238, 0.2);
  --display: 'Literata', Georgia, serif;
  --body: 'Schibsted Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 4vw, 4.5rem);

  /* grade defaults — every .leg overrides these */
  --grade-a: #1d5f6b;
  --grade-b: #0a1a24;
  --scrim: linear-gradient(180deg, rgba(4,8,10,0.5) 0%, rgba(4,8,10,0.04) 34%,
           rgba(4,8,10,0.06) 56%, rgba(4,8,10,0.72) 100%);
}

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

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

::selection { background: var(--lantern); color: var(--on-lantern); }
:focus-visible { outline: 2px solid var(--lantern); outline-offset: 3px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 70;
  padding: 0.7em 1.2em; background: var(--lantern); color: var(--on-lantern);
  font-family: var(--body); font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

.loader {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-content: center; justify-items: center; gap: 0.7rem;
  background: var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-pct {
  font-family: var(--display); font-weight: 600; font-size: 1.4rem;
  color: var(--lantern); font-variant-numeric: tabular-nums;
}
.loader-note {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-dim);
}

.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(0.9rem, 2vw, 1.3rem) var(--pad);
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
}
.head-cta {
  font-family: var(--body); font-weight: 500; font-size: 0.9rem;
  color: var(--ink); text-decoration: none;
  padding: 0.8em 1.6em; border: 1px solid var(--hair);
  backdrop-filter: blur(10px); background: rgba(6, 10, 9, 0.25);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.head-cta:hover {
  border-color: var(--lantern); color: var(--lantern);
  background: rgba(232, 169, 78, 0.08);
}

.rail {
  position: fixed; right: clamp(0.9rem, 2vw, 1.8rem); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 0.55rem; align-items: flex-end;
}
.rail span {
  font-family: var(--body); font-weight: 500; font-size: 0.56rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(238, 242, 238, 0.34);
  transition: color 0.35s, font-weight 0.35s;
}
.rail span.is-here { color: var(--lantern); font-weight: 700; }

.leg { position: relative; height: 340vh; }
.leg:last-of-type { height: 360vh; }
.stage-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; perspective: 1100px;
}
.stage { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform, filter, opacity; }

.film { position: absolute; inset: 0; }
.film video { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; position: relative; opacity: 0; transition: opacity 0.5s ease; display: block; }
.film video.is-ready { opacity: 1; }
.film::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--still); background-size: cover; background-position: 50% center;
}

/* --- the grade: duotone under, directional scrim over ------------------ */

/* colours the footage itself — soft-light so the film's own values survive */
.duo {
  position: absolute; inset: 0; pointer-events: none;
  mix-blend-mode: soft-light; opacity: 0.9;
  background: linear-gradient(155deg,
    var(--grade-a) 0%, transparent 44%, transparent 58%, var(--grade-b) 100%);
}
/* protects the text — aimed at wherever this leg's captions actually sit */
.tint { position: absolute; inset: 0; pointer-events: none; background: var(--scrim); }

/* dawn arc, leg by leg */
#leg1 {
  --grade-a: #1d5f6b; --grade-b: #0a1a24;
  --scrim: radial-gradient(ellipse 88% 72% at 50% 50%,
           rgba(4,8,10,0.6) 0%, rgba(4,8,10,0.1) 64%, rgba(4,8,10,0.52) 100%);
}
#leg2 {
  --grade-a: #2a6470; --grade-b: #121d26;
  --scrim: linear-gradient(102deg, rgba(4,8,10,0.68) 0%, rgba(4,8,10,0.04) 46%, rgba(4,8,10,0.52) 100%),
           linear-gradient(180deg, transparent 42%, rgba(4,8,10,0.5) 100%);
}
#leg3 {
  --grade-a: #6b5a42; --grade-b: #171310;
  --scrim: linear-gradient(180deg, rgba(4,8,10,0.28) 0%, transparent 32%, rgba(4,8,10,0.74) 100%);
}
#leg4 {
  --grade-a: #7d6440; --grade-b: #1a1510;
  --scrim: linear-gradient(180deg, rgba(4,8,10,0.28) 0%, transparent 32%, rgba(4,8,10,0.74) 100%);
}
#leg5 {
  --grade-a: #6e6b34; --grade-b: #141a12;
  --scrim: linear-gradient(102deg, rgba(4,8,10,0.66) 0%, rgba(4,8,10,0.04) 48%, rgba(4,8,10,0.54) 100%),
           linear-gradient(180deg, transparent 44%, rgba(4,8,10,0.48) 100%);
}
#leg6 {
  --grade-a: #b07c30; --grade-b: #241708;
  --scrim: radial-gradient(ellipse 90% 76% at 50% 46%,
           rgba(4,8,10,0.58) 0%, rgba(4,8,10,0.08) 62%, rgba(4,8,10,0.6) 100%);
}

/* --- captions: three archetypes, rotated so no rhythm repeats --------- */

.caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 0 var(--pad) clamp(3.2rem, 9vh, 6rem);
  max-width: 58rem;
  opacity: 0; will-change: opacity, transform;
}
.cap-right { left: auto; text-align: right; }
.cap-center {
  left: 50%; right: auto; bottom: auto; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center; width: min(100% - 2 * var(--pad), 56rem); padding: 0;
}

.k {
  font-family: var(--body); font-weight: 500; font-size: 0.68rem;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--lantern); margin-bottom: 1.1rem;
  text-shadow: 0 1px 14px rgba(2, 4, 3, 0.9);
}
.h {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 1.04; letter-spacing: -0.015em;
  text-wrap: balance;
  text-shadow: 0 3px 36px rgba(2, 4, 3, 0.8);
}
.h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.08; letter-spacing: -0.012em;
  text-wrap: balance;
  text-shadow: 0 3px 30px rgba(2, 4, 3, 0.8);
}
.h em, .h2 em { font-style: italic; font-weight: 400; }
.s {
  margin-top: 1.2rem;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  color: var(--ink-dim); line-height: 1.7; max-width: 46ch;
  text-shadow: 0 1px 18px rgba(2, 4, 3, 0.85);
}
.cap-center .s { margin-inline: auto; }
.cap-right .s { margin-left: auto; }

/* the ONE gradient-text moment on the whole site — hero line only.
   drop-shadow (not text-shadow) because the fill is clipped to transparent. */
.h-grad {
  background: linear-gradient(96deg, var(--ink) 0%, var(--lantern-pale) 44%, var(--lantern) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 3px 26px rgba(2, 4, 3, 0.9));
}

/* archetype A — display alone, no body copy, carries the beat by size */
.cap-solo { max-width: 50rem; }
.cap-solo .h { font-size: clamp(2.9rem, 8vw, 7rem); line-height: 0.98; }

/* archetype B — inverted hierarchy: small italic label, body set large as the statement */
.cap-lede { max-width: 46rem; }
.cap-lede .h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 400; font-style: italic;
  color: var(--lantern-pale); letter-spacing: 0;
}
.cap-lede .s {
  margin-top: 0.9rem; max-width: 30ch;
  font-size: clamp(1.2rem, 1.9vw, 1.65rem); line-height: 1.45;
  color: var(--ink); text-wrap: pretty;
}

/* archetype C — the numeral IS the graphic; used for services 01–10 */
.cap-num {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.1rem, 3vw, 2.8rem); align-items: start;
  max-width: 48rem;
}
.cap-num .num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.6rem, 10vw, 8.5rem); line-height: 0.8;
  font-variant-numeric: tabular-nums;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 242, 238, 0.36);
  letter-spacing: -0.03em;
}
.cap-num .body { min-width: 0; }
.cap-num .s { margin-top: 0.8rem; max-width: 34ch; }
.cap-num.cap-right { grid-template-columns: minmax(0, 1fr) auto; }
.cap-num.cap-right .num { order: 2; }
.cap-num.cap-right .body { order: 1; }
.cap-num.cap-right .s { margin-left: auto; }

.acts { margin-top: 2.2rem; }

/* ---- .btn base: geometry only. The skin comes from the variant below. ---- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-block; border: 0; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: 0.98rem; line-height: 1.2;
  text-decoration: none; padding: 0.95em 2.2em; border-radius: 2px;
  white-space: nowrap;
  transition: color 0.35s, background 0.35s, border-color 0.35s,
              transform 0.35s var(--ease), box-shadow 0.35s;
}

/* ===== VARIANT 1 · GLASS — the film reads through it ===================== */
[data-btn="glass"] .btn {
  color: var(--lantern);
  background: rgba(232, 169, 78, 0.07);
  box-shadow: inset 0 0 0 1px rgba(232, 169, 78, 0.55);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
}
[data-btn="glass"] .btn:hover {
  color: var(--lantern-pale);
  background: rgba(232, 169, 78, 0.16);
  box-shadow: inset 0 0 0 1px var(--lantern);
  transform: translateY(-2px);
}

/* ===== VARIANT 3 · PLATE — brushed brass lit by the lantern ============== */
[data-btn="plate"] .btn {
  color: var(--on-lantern);
  background:
    linear-gradient(163deg, #f2c274 0%, var(--lantern) 38%, #d1913f 78%, #b8792f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 222, 0.75),      /* lit top edge */
    inset 0 -1px 0 rgba(90, 52, 12, 0.55),        /* shadowed bottom edge */
    inset 0 0 18px rgba(120, 70, 18, 0.16),       /* the metal's own falloff */
    0 6px 18px rgba(2, 4, 3, 0.45);
  text-shadow: 0 1px 0 rgba(255, 240, 214, 0.35);
}
[data-btn="plate"] .btn:hover {
  background:
    linear-gradient(163deg, #fbd9a0 0%, var(--lantern-pale) 40%, #dda049 80%, #c78734 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 234, 0.9),
    inset 0 -1px 0 rgba(90, 52, 12, 0.5),
    inset 0 0 18px rgba(120, 70, 18, 0.1),
    0 12px 30px rgba(2, 4, 3, 0.55);
}

/* ===== VARIANT 5 · DRAW — border draws around, fill sweeps from left ===== */
[data-btn="draw"] .btn {
  color: var(--lantern);
  background-color: rgba(6, 10, 9, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(232, 169, 78, 0.3);   /* dim rest state, stays clickable */
  background-image:
    linear-gradient(var(--lantern), var(--lantern)),
    linear-gradient(var(--lantern), var(--lantern)),
    linear-gradient(var(--lantern), var(--lantern)),
    linear-gradient(var(--lantern), var(--lantern));
  background-repeat: no-repeat;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  background-size: 0 1px, 1px 0, 0 1px, 1px 0;
  transition: color 0.3s;
}
/* transition-delay can't stagger the four layers of one background-size,
   so the walk around the edge is a keyframe animation instead. */
@keyframes draw-border {
  0%   { background-size: 0 1px,    1px 0,    0 1px,    1px 0; }
  25%  { background-size: 100% 1px, 1px 0,    0 1px,    1px 0; }
  50%  { background-size: 100% 1px, 1px 100%, 0 1px,    1px 0; }
  75%  { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 0; }
  100% { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%; }
}
[data-btn="draw"] .btn::before {          /* the fill, sweeping in from the left */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--lantern);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.45s var(--ease);
}
[data-btn="draw"] .btn:hover {
  color: var(--on-lantern);
  animation: draw-border 0.64s linear forwards;
  transition: color 0.3s 0.2s;
}
[data-btn="draw"] .btn:hover::before { transform: scaleX(1); transition-delay: 0.18s; }

/* the variant chooser — TEMPORARY. Delete this block + js/btn-variants.js to ship. */
.btnpick {
  position: fixed; left: clamp(0.8rem, 2vw, 1.6rem); bottom: clamp(0.8rem, 2vw, 1.6rem);
  z-index: 90; display: flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem; background: rgba(6, 10, 9, 0.86); backdrop-filter: blur(12px);
  border: 1px solid var(--hair);
}
.btnpick b {
  font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 500; padding: 0 0.5rem 0 0.3rem;
}
.btnpick button {
  font-family: var(--body); font-size: 0.68rem; font-weight: 500;
  padding: 0.5em 0.9em; cursor: pointer;
  background: none; border: 1px solid var(--hair); color: var(--ink-dim);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btnpick button:hover { color: var(--ink); border-color: rgba(232, 169, 78, 0.5); }
.btnpick button[aria-pressed="true"] {
  background: var(--lantern); border-color: var(--lantern);
  color: var(--on-lantern); font-weight: 700;
}
@media (max-width: 620px) { .btnpick b { display: none; } }

.foot {
  position: relative; z-index: 3; padding: 2.8rem var(--pad);
  text-align: center; font-size: 0.75rem; color: var(--ink-dim);
}

.grade {
  position: fixed; inset: 0; z-index: 20; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 50%, rgba(0,0,0,0) 55%, rgba(2, 4, 3, 0.5) 100%),
    linear-gradient(165deg, rgba(232, 169, 78, 0.035), rgba(6, 10, 9, 0) 45%, rgba(10, 18, 24, 0.12) 100%);
}
.grain {
  position: fixed; inset: -100px; z-index: 21; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.66s steps(8) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); } 12.5% { transform: translate(-28px, 16px); }
  25% { transform: translate(14px, -30px); } 37.5% { transform: translate(-34px, -8px); }
  50% { transform: translate(22px, 26px); } 62.5% { transform: translate(-12px, 34px); }
  75% { transform: translate(30px, -18px); } 87.5% { transform: translate(-20px, -26px); }
  100% { transform: translate(0, 0); }
}

@media (max-width: 760px) {
  .rail { display: none; }
  .leg { height: 280vh; }
  .caption, .cap-right { text-align: left; left: 0; right: 0; }
  .cap-right .s { margin-left: 0; }
  .cap-center { text-align: center; }
  .cap-num, .cap-num.cap-right { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .cap-num.cap-right .num { order: 0; }
  .cap-num.cap-right .body { order: 1; }
  .cap-num.cap-right .s { margin-left: 0; }
  .cap-num .num { font-size: clamp(2.6rem, 15vw, 4.4rem); }
}
@media (max-width: 380px) { .h { font-size: 1.45rem; } .cap-solo .h { font-size: 1.9rem; } }

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .grain { animation: none; }
  .leg { height: auto; }
  .stage-pin { position: relative; height: auto; min-height: 100vh; overflow: visible; perspective: none; }
  .stage { position: relative; inset: auto; transform: none !important; filter: none !important; opacity: 1 !important; }
  .film { position: absolute; inset: 0; }
  .film video { display: none; }
  .caption, .cap-right, .cap-center, .cap-num, .cap-lede, .cap-solo {
    position: relative; left: auto; right: auto; top: auto; bottom: auto;
    opacity: 1 !important; transform: none !important;
    width: auto; max-width: 60rem;
    padding: 3rem var(--pad);
  }
  .cap-num, .cap-num.cap-right { display: block; }
}

/* ====================================================================
   THE INTAKE — "Where do you stand today?"
   A diagnostic, not a contact form: one row per service in the catalog,
   so the answer IS the qualified picture of what they're missing.
   ==================================================================== */

body.is-locked { overflow: hidden; }

.intake {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: clamp(0.5rem, 3vh, 2.5rem) clamp(0.5rem, 3vw, 2rem);
}
.intake[hidden] { display: none; }
.intake-scrim {
  position: absolute; inset: 0;
  background: rgba(3, 6, 8, 0.82); backdrop-filter: blur(14px);
  animation: intake-fade 0.4s var(--ease) both;
}
.intake-panel {
  position: relative; z-index: 1;
  width: min(100%, 54rem); max-height: 100%; overflow-y: auto;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  background: linear-gradient(168deg, #0d1518 0%, #070b0d 58%, #0b0906 100%);
  border: 1px solid var(--hair);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  animation: intake-rise 0.55s var(--ease) both;
}
@keyframes intake-fade { from { opacity: 0; } }
@keyframes intake-rise { from { opacity: 0; transform: translateY(26px); } }

.intake-x {
  position: absolute; top: 0.9rem; right: 0.9rem;
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  background: none; border: 1px solid var(--hair); color: var(--ink-dim);
  font-size: 1.2rem; line-height: 1; cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.intake-x:hover { color: var(--lantern); border-color: var(--lantern); }

.intake-head { margin-bottom: 2.2rem; padding-right: 2.5rem; }
.intake-head h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.08;
  letter-spacing: -0.015em; margin-top: 0.2rem;
}
.intake-head p { margin-top: 0.9rem; color: var(--ink-dim); max-width: 44ch; font-size: 0.95rem; }

.intake fieldset { border: 0; margin: 0 0 2.4rem; }
.intake legend {
  font-family: var(--body); font-weight: 500; font-size: 0.66rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--lantern);
  padding: 0 0 1rem;
}

/* --- the 10-row diagnostic grid --- */
.svc-head, .svc-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem; align-items: center;
}
.svc-pills { display: grid; grid-template-columns: repeat(3, 5.2rem); gap: 0.4rem; }
.svc-head {
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--hair);
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 500;
}
.svc-head .svc-pills > span { text-align: center; }
.svc-row { padding: 0.55rem 0; border-bottom: 1px solid rgba(238, 242, 238, 0.07); }
.svc-name { font-size: 0.9rem; display: flex; gap: 0.6rem; align-items: baseline; min-width: 0; }
.svc-name b {
  font-family: var(--display); font-weight: 700; font-size: 0.78rem;
  color: rgba(238, 242, 238, 0.42); font-variant-numeric: tabular-nums;
}
.svc-name span { overflow: hidden; text-overflow: ellipsis; }

.pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.pill span {
  display: block; text-align: center; cursor: pointer;
  padding: 0.5em 0.2em; font-size: 0.72rem; font-weight: 500;
  border: 1px solid var(--hair); color: var(--ink-dim);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pill span:hover { border-color: rgba(232, 169, 78, 0.5); color: var(--ink); }
.pill input:checked + span {
  background: var(--lantern); border-color: var(--lantern);
  color: var(--on-lantern); font-weight: 700;
}
.pill input:focus-visible + span { outline: 2px solid var(--lantern); outline-offset: 2px; }

/* --- "what hurts most" chips --- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: block; cursor: pointer;
  padding: 0.55em 1.05em; font-size: 0.8rem;
  border: 1px solid var(--hair); color: var(--ink-dim);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip span:hover { border-color: rgba(232, 169, 78, 0.5); color: var(--ink); }
.chip input:checked + span {
  background: rgba(232, 169, 78, 0.14); border-color: var(--lantern); color: var(--lantern);
}
.chip input:focus-visible + span { outline: 2px solid var(--lantern); outline-offset: 2px; }

/* --- context + contact --- */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 0.92rem; color: var(--ink);
  background: rgba(238, 242, 238, 0.04);
  border: 1px solid var(--hair); border-radius: 0;
  padding: 0.75em 0.9em; width: 100%;
  transition: border-color 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: #0b1113; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lantern); background: rgba(238, 242, 238, 0.07);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(238, 242, 238, 0.32); }

.intake-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.intake-note { font-size: 0.74rem; color: var(--ink-dim); max-width: 30ch; }

@media (max-width: 620px) {
  .svc-head { display: none; }
  .svc-row { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; padding: 0.9rem 0; }
  .svc-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fields { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .intake-scrim, .intake-panel { animation: none; }
}

/* ====================================================================
   A1 · THE ARRIVAL — a lantern-carrier walks from far to close.
   No footage: a backlit silhouette over a pre-dawn sky. Her head tracks
   the cursor once she's near — the "we see you" beat. Swap the <svg> for a
   real filmed/generated clip later without touching the engine.
   ==================================================================== */
.leg.intro { height: 460vh; }

.intro-sky {
  position: absolute; inset: 0; z-index: 0; transform-origin: 50% 60%;
  background:
    radial-gradient(120% 68% at 50% 80%, rgba(64,158,156,0.24) 0%, rgba(10,26,32,0) 46%),
    linear-gradient(180deg, #050d12 0%, #0b2028 46%, #123640 62%, #071016 82%, #04080b 100%);
}
.intro-mist { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.85; }
.intro-mist::before, .intro-mist::after {
  content: ''; position: absolute; left: -20%; right: -20%; height: 44%;
  background: radial-gradient(60% 100% at 50% 50%, rgba(210,228,230,0.16), rgba(210,228,230,0) 70%);
  filter: blur(14px);
}
.intro-mist::before { top: 42%; animation: mist-a 26s ease-in-out infinite alternate; }
.intro-mist::after  { top: 54%; opacity: 0.7; animation: mist-b 34s ease-in-out infinite alternate; }
@keyframes mist-a { from { transform: translateX(-4%); } to { transform: translateX(6%); } }
@keyframes mist-b { from { transform: translateX(5%); } to { transform: translateX(-5%); } }

.figure {
  position: absolute; left: 50%; bottom: 30%; z-index: 2;
  width: clamp(120px, 22vmin, 260px); aspect-ratio: 100 / 170;
  transform: translate(-50%, -6vh) scale(0.12); transform-origin: 50% 100%;
  opacity: 0.22; will-change: transform, opacity;
}
.figure svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fig-body { fill: #04080a; }
.fig-limb { stroke: #04080a; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.fig-eyes, .fig-eyes circle { opacity: 0; }
.fig-eyes circle { fill: #bfeee6; }
.lantern-core { fill: #a7efe6; }
.lantern-body { fill: #06121a; stroke: #04080a; stroke-width: 3; }
.lantern-glow {
  position: absolute; left: 76.5%; top: 19%; width: 38%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(160,238,226,0.95) 0%, rgba(95,212,202,0.42) 32%, rgba(60,180,175,0) 70%);
  filter: blur(3px); mix-blend-mode: screen; opacity: 0.35;
  animation: lantern-pulse 3.4s ease-in-out infinite;
}
@keyframes lantern-pulse { 0%, 100% { filter: blur(4px); } 50% { filter: blur(7px); } }

.intro-tag {
  margin-top: 0.9rem; font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ink);
  text-shadow: 0 2px 22px rgba(2, 4, 3, 0.85);
}
.intro-near { text-align: center; }
.intro-near .h { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.intro-sub { margin-top: 1rem; }
.intro-sub a {
  font-family: var(--body); font-size: 0.9rem; letter-spacing: 0.02em;
  color: var(--lantern); text-decoration: none; cursor: pointer;
  border-bottom: 1px solid rgba(232, 169, 78, 0.4); padding-bottom: 2px;
  transition: border-color 0.25s;
}
.intro-sub a:hover { border-bottom-color: var(--lantern); }

@media (prefers-reduced-motion: reduce) {
  .leg.intro { height: auto; }
  .intro-mist::before, .intro-mist::after, .lantern-glow { animation: none; }
  .intro-mist { opacity: 0.3; }
  .figure {
    position: relative; left: auto; bottom: auto; margin: 3rem auto 0;
    transform: translateX(-50%) scale(0.8) !important; opacity: 1 !important;
  }
  .fig-eyes, .fig-eyes circle { opacity: 1; }
}
