/* ============================================================
   MERCHNA — Experiment B: "Raw material, studied into form."
   Dark-studio experience build. One 3D object (the uncut
   monolith), GSAP scroll choreography, restrained micro-motion.
   Color discipline unchanged: blue appears only where it earns it.
   ============================================================ */
:root {
  --warm: #f8f8f6;
  --navy: #000b29;
  --navy-deep: #00071c; /* studio floor — gradients only */
  --blue: #000b29; /* light-zone interactive → navy ink (no blue) */
  --blue-bright: #00e5ff; /* cyan — the single accent, used on dark */
  --ink: #11182b;
  --muted: #5c6168; /* captions on light (AA on warm) */
  --muted-dark: #9ba3b5; /* captions on navy (AA on navy) */
  --hairline: #d8d9d6;
  --hairline-dk: #1c2746;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-eyebrow: 0.6875rem;
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2.4vw, 3.25rem);
  --fs-display: clamp(2.75rem, 1.1rem + 7.8vw, 7.5rem);

  --sp-section: clamp(4rem, 3rem + 3vw, 6.5rem);
  --sp-flow: clamp(2.5rem, 1.8rem + 2vw, 4rem);
  --sp-gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 82rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
html.lenis {
  scroll-behavior: auto;
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--warm);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection {
  background: var(--blue);
  color: var(--warm);
}

/* ---------- a11y ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- the studio: fixed navy backdrop + grain ---------- */
#stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Hot-spot sits upper-right — a pool of navy tuned to the product film's own
     background, so the video's feathered edges dissolve into the page with no
     visible seam. */
  background: radial-gradient(
    125% 95% at 72% 14%,
    #0e1a33 0%,
    #03102e 46%,
    var(--navy-deep) 100%
  );
}
#stage canvas {
  width: 100%;
  height: 100%;
}
#grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  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.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grainShift 1.4s steps(4) infinite;
}
@keyframes grainShift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2%, 1%);
  }
  50% {
    transform: translate(1%, -2%);
  }
  75% {
    transform: translate(-1%, 2%);
  }
  100% {
    transform: translate(0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  #grain {
    animation: none;
  }
}

/* ---------- loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
#loader .lw {
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  overflow: hidden;
}
#loader .lw span {
  display: inline-block;
}
#loader .lw .dot {
  color: var(--blue-bright);
}
#loader .lline {
  width: 7.5rem;
  height: 1px;
  background: var(--hairline-dk);
  overflow: hidden;
}
#loader .lline i {
  display: block;
  height: 100%;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- layout primitives ---------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-gutter);
}
main {
  position: relative;
  z-index: 1;
}
section {
  padding-block: var(--sp-section);
  position: relative;
}
/* connected sections flow into the one above — tighter top & bottom */
.flow-tight {
  padding-block: var(--sp-flow);
}
.flow-tight-top {
  padding-top: var(--sp-flow);
}

/* zones: dark zones are windows onto the studio; light zones are paper */
.zone-dark {
  background: transparent;
  color: var(--warm);
}
.zone-light {
  background: var(--warm);
  color: var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.zone-light .eyebrow {
  color: var(--ink);
}
.eyebrow::before {
  display: none;
}
.eyebrow .num {
  color: var(--blue-bright);
  opacity: 1;
  font-variant-numeric: tabular-nums;
}
.zone-light .eyebrow .num {
  color: var(--blue);
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 {
  font-size: var(--fs-h2);
  max-width: 22ch;
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 34em;
}
p {
  max-width: 65ch;
}

/* split-line masks (applied by JS; harmless without it) */
.split-line {
  overflow: hidden;
  display: block;
  padding-block: 0.04em;
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 2px;
  transition:
    background-color 250ms var(--ease),
    color 250ms var(--ease),
    border-color 250ms var(--ease);
  will-change: transform;
}
.btn .arr {
  transition: transform 250ms var(--ease);
}
.btn:hover .arr {
  transform: translateX(4px);
}
.btn-primary {
  background: var(--blue-bright);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--warm);
  color: var(--navy);
}
.zone-light .btn-primary:hover {
  background: var(--navy);
  color: var(--warm);
}

.link {
  color: var(--blue-bright);
  text-decoration: none;
  font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 350ms var(--ease);
  padding-bottom: 2px;
}
.link:hover {
  background-size: 100% 1px;
}
.zone-light .link {
  color: var(--blue);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition:
    background-color 350ms var(--ease),
    box-shadow 350ms var(--ease);
  color: var(--warm);
}
.site-header.on-light {
  color: var(--navy);
}
.site-header.scrolled.on-light {
  background: rgba(248, 248, 246, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--hairline);
}
.site-header.scrolled:not(.on-light) {
  background: rgba(0, 11, 41, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--hairline-dk);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}
.wordmark {
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
  color: currentColor;
}
.site-header .nav {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.site-header .nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: currentColor;
  opacity: 0.72;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: opacity 250ms var(--ease);
}
.site-header .nav a:hover {
  opacity: 1;
}
@media (max-width: 63.9rem) {
  .site-header .nav {
    display: none;
  }
}
.wordmark .dot {
  color: var(--blue-bright);
}
.site-header.on-light .wordmark .dot {
  color: var(--blue);
}
.header-cta {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: currentColor;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.25rem;
  background-image: linear-gradient(var(--blue-bright), var(--blue-bright));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 10px);
}
.site-header.on-light .header-cta {
  background-image: linear-gradient(var(--blue), var(--blue));
}

/* ============================================================
   1 · HERO — dark studio, the monolith, typographic confidence
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  /* a pool of navy tuned to the product film's own background, hottest where
     the film sits (right). The video's feathered edges melt into this, so the
     rectangle disappears; left stays deep for headline contrast; fades to the
     page navy at the bottom for a seamless hand-off to the next section. */
  background: radial-gradient(
    66% 88% at 76% 53%,
    #1b2641 0%,
    #151e38 26%,
    #0a1430 52%,
    #04102b 80%,
    var(--navy-deep) 100%
  );
}
.hero::after {
  /* readability scrim behind the type, over the film */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(0, 7, 28, 0.55) 0%,
    rgba(0, 7, 28, 0.15) 55%,
    transparent 75%
  );
}
.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 .period {
  color: var(--blue-bright);
  display: inline-block;
}
.hero-sub {
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 34em;
  color: rgba(248, 248, 246, 0.74);
}
.hero-cta {
  margin-top: clamp(2rem, 4vh, 3rem);
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero-foot {
  position: absolute;
  bottom: 2.25rem;
  left: var(--sp-gutter);
  right: var(--sp-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
  z-index: 1;
}
.hero-foot .scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.hero-foot .scroll-hint i {
  width: 1px;
  height: 2.25rem;
  background: var(--hairline-dk);
  position: relative;
  overflow: hidden;
  display: block;
}
.hero-foot .scroll-hint i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--blue-bright);
  animation: hintDrop 2.4s var(--ease) infinite;
}
@keyframes hintDrop {
  0% {
    top: -100%;
  }
  55% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-foot .scroll-hint i::after {
    animation: none;
  }
}

/* ---------- the product cluster: isolated items, each floating on the navy ---------- */
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(56vw, 47rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 0; /* behind the type, over the studio backdrop */
  pointer-events: none;
  padding-right: clamp(1.5rem, 4vw, 4rem);
}
/* the stage keeps the film's exact proportions (970×1401); each product is
   absolutely placed inside it as a % of those bounds, so the arrangement
   matches the original render — but every item is its own element. */
.prod-stage {
  position: relative;
  height: min(84vh, 44rem);
  aspect-ratio: 970 / 1401;
  max-width: 100%;
}
.prod {
  position: absolute;
  /* a soft cast shadow re-grounds each item on the navy (the render's own
     contact shadow was navy and got cut away with the background). */
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.5));
  will-change: transform;
  animation: prodFloat var(--dur, 7s) ease-in-out var(--del, 0s) infinite;
}
/* placement = exact % from the cutout's bounding box; --fy/--fr/--dur desync the float */
.prod-ball {
  left: 0.93%;
  top: 0%;
  width: 41.24%;
  --dur: 7.6s;
  --del: -0.2s;
  --fy: -16px;
  --fr: -2deg;
}
.prod-notebook {
  left: 49.59%;
  top: 8.21%;
  width: 38.04%;
  --dur: 8.6s;
  --del: -1.7s;
  --fy: 14px;
  --fr: 1.6deg;
}
.prod-box {
  left: 0%;
  top: 53.46%;
  width: 50.31%;
  --dur: 9.2s;
  --del: -0.9s;
  --fy: -13px;
  --fr: 1.2deg;
}
.prod-tee {
  left: 44.23%;
  top: 61.38%;
  width: 55.77%;
  --dur: 8.1s;
  --del: -2.5s;
  --fy: 15px;
  --fr: -1.4deg;
}
.prod-pouch {
  left: 25.57%;
  top: 83.15%;
  width: 42.89%;
  --dur: 7.9s;
  --del: -3.2s;
  --fy: -12px;
  --fr: 1.8deg;
}
@keyframes prodFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(var(--fy, -14px)) rotate(var(--fr, 1deg));
  }
}
@media (max-width: 63.9rem) {
  /* mobile: no product backdrop — a clean, content-height text hero so there
     is no dead space under the CTA */
  .hero {
    min-height: auto;
    padding-bottom: clamp(3rem, 9vh, 5rem);
  }
  .hero-media {
    display: none;
  }
  .hero-foot {
    display: none;
  }
  .hero::after {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .prod {
    animation: none;
  }
}

/* ============================================================
   2 · THESIS — words ink in as you scroll (scrub)
   ============================================================ */
.thesis {
  padding-block: var(--sp-section);
}
.thesis h2 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 1.4rem + 4vw, 5rem);
}
.thesis h2 .w {
  display: inline-block;
}
.thesis h2 em {
  font-style: normal;
  color: var(--blue-bright);
}
.thesis .lead {
  margin-top: 2.75rem;
  color: var(--muted-dark);
}
.thesis .lead strong {
  color: var(--warm);
  font-weight: 500;
}

/* ============================================================
   3 · MIRROR (light)
   ============================================================ */
.mirror .grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
.mirror .aside {
  border-left: 1px solid var(--hairline);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--muted);
  max-width: 30em;
}
.mirror .aside p + p {
  margin-top: 1.25rem;
}
.mirror .aside .fit {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 47.9rem) {
  .mirror .grid {
    grid-template-columns: 1fr;
  }
  .mirror .aside {
    border-left: none;
    border-top: 1px solid var(--hairline);
    padding-left: 0;
    padding-top: 2rem;
  }
}

/* ============================================================
   4 · HOW WE WORK — pinned stage on desktop, ledger on mobile
   ============================================================ */
.process .stage-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.process .stage-head .hint {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.process .stage {
  margin-top: clamp(2.5rem, 4vw, 4rem);
}

/* default (mobile / no-JS): a quiet ledger, same as Experiment A */
.process ol {
  list-style: none;
}
.pstep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.pstep:last-child {
  border-bottom: 1px solid var(--hairline);
}
.pstep .what {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.pstep .n {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 0.45em;
  letter-spacing: 0.05em;
}
.pstep h3 {
  max-width: 16ch;
}
.pstep .how {
  color: var(--muted);
  margin-top: 0.875rem;
  max-width: 32em;
}
.pstep .out {
  align-self: end;
}
.pstep .out .tag {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.625rem;
}
.pstep .out p {
  font-weight: 500;
  color: var(--navy);
  max-width: 24em;
  font-size: var(--fs-h3);
  line-height: 1.3;
  letter-spacing: -0.015em;
}
@media (max-width: 47.9rem) {
  .pstep {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* pinned mode (class added by JS on wide screens only) */
.process.pinned {
  padding-block: 0;
  height: 100svh;
  display: flex;
  align-items: stretch;
}
.process.pinned > .wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-block: clamp(3rem, 6vh, 5rem);
}
.process.pinned .stage {
  flex: 1;
  display: flex;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  min-height: 0;
}
.process.pinned .rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}
.process .rail {
  display: none;
}
.process.pinned .rail {
  display: flex;
}
.process.pinned .rail .track {
  flex: 1;
  width: 1px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
}
.process.pinned .rail .track i {
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  display: block;
}
.process.pinned .rail .rn {
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  transition: color 300ms var(--ease);
}
.process.pinned .rail .rn.active {
  color: var(--blue);
}
.process.pinned ol {
  position: relative;
  flex: 1;
  min-height: 0;
}
.process.pinned .pstep {
  position: absolute;
  inset: 0;
  border: none !important;
  align-content: center;
  padding-block: 0;
}
.process.pinned .pstep .out p {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
}

/* ============================================================
   5 · THE STANDARD (dark window)
   ============================================================ */
.standard .items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--hairline-dk);
}
.standard .item {
  padding: clamp(2rem, 4vw, 3rem) clamp(0rem, 2vw, 2.5rem)
    clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--hairline-dk);
}
.standard .item:nth-child(odd) {
  border-right: 1px solid var(--hairline-dk);
}
.standard .item:nth-child(even) {
  padding-left: clamp(1.5rem, 3vw, 3rem);
}
.standard .item .k {
  font-size: 0.8125rem;
  color: var(--muted-dark);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}
.standard h3 {
  margin-bottom: 0.875rem;
}
.standard .item p {
  color: var(--muted-dark);
  max-width: 30em;
}
.standard .item .micro {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--warm);
  opacity: 0.55;
}
@media (max-width: 47.9rem) {
  .standard .items {
    grid-template-columns: 1fr;
  }
  .standard .item:nth-child(odd) {
    border-right: none;
  }
  .standard .item:nth-child(even) {
    padding-left: 0;
  }
}
/* appears when the studio object freezes — the page performing the promise */
.standard .lock-note {
  margin-top: clamp(2.5rem, 4vw, 4rem);
  text-align: center;
  opacity: 0;
  visibility: hidden;
}
.standard .lock-note .ln-k {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm);
}
.standard .lock-note .ln-s {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-dark);
}

/* ============================================================
   PRODUCT PATHS — minimal capability strip
   ============================================================ */
.paths .path-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.875rem, 1.5vw, 1.5rem) clamp(2rem, 4vw, 3.75rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.paths .path-list li {
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* ============================================================
   WHAT WE BUILD — restrained category list (dark)
   ============================================================ */
.build-list {
  list-style: none;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--hairline-dk);
}
.build-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 1rem 2.5rem;
  padding-block: clamp(1.1rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--hairline-dk);
  align-items: baseline;
}
.build-list .bcat {
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--warm);
}
.build-list .bex {
  color: var(--muted-dark);
  font-size: 0.9375rem;
}
@media (max-width: 47.9rem) {
  .build-list li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}
/* bold word-statement version */
.build-statement {
  font-size: clamp(1.875rem, 1.2rem + 2.8vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.16;
  color: var(--warm);
  max-width: 16ch;
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}
.build-statement i {
  font-style: normal;
  color: var(--blue-bright);
}

/* ============================================================
   A WORKED EXAMPLE — vertical walkthrough (dark)
   ============================================================ */
.example .ex-note {
  color: var(--muted-dark);
  margin-top: 1rem;
  max-width: 46ch;
}
.walk {
  list-style: none;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  max-width: 46rem;
}
.walk-step {
  position: relative;
  padding-left: 2rem;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-left: 1px solid var(--hairline-dk);
}
.walk-step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.walk-step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-bright);
}
.walk-step p {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  font-weight: 400;
  color: rgba(248, 248, 246, 0.82);
  max-width: 52ch;
  line-height: 1.5;
}
.walk-lead {
  font-weight: 600;
  color: var(--blue-bright);
  margin-right: 0.4rem;
}

/* ============================================================
   6 · A GLIMPSE OF THE WORK — concept studies, product photos
   ============================================================ */
.work .intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.work .intro .note {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 26em;
}
.concepts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.concept .card {
  display: flex;
  flex-direction: column;
}
/* product photo frame — drop an <img> in as the first child of .shot to fill it */
.concept .shot {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background: radial-gradient(120% 90% at 50% 16%, #16213d 0%, var(--navy) 72%);
}
.concept .shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.concept .shot .flag {
  position: relative;
  z-index: 1;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.concept .meta {
  padding-top: 1.5rem;
}
.concept .meta .seg {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: block;
}
.concept .cs-row + .cs-row {
  margin-top: 1rem;
}
.concept .cs-k {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.concept .cs-row p {
  color: var(--ink);
  font-size: 0.9375rem;
  max-width: 32em;
}
.concept .cs-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}
.concept .cs-list li {
  color: var(--muted);
  font-size: 0.875rem;
}
@media (max-width: 63.9rem) {
  .concepts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 47.9rem) {
  .concepts {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   7 · WHO WE WORK WITH — segment grid, hover reveals what we build
   ============================================================ */
.seg-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.seg-card {
  border-bottom: 1px solid var(--hairline);
}
.seg-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding-block: 1.5rem;
  text-align: left;
  min-height: 44px;
}
.seg-head {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
}
.seg-row .i {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}
.seg-name {
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.seg-line {
  color: var(--muted);
  font-size: 0.9375rem;
}
.seg-angle {
  overflow: hidden;
  height: 0;
}
.seg-builds {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  padding: 0.35rem 0 1.5rem;
}
.seg-builds li {
  color: var(--navy);
  opacity: 0.66;
  font-size: 0.875rem;
}
.segments .foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  color: var(--muted);
  font-size: 0.9375rem;
}
@media (max-width: 47.9rem) {
  .seg-grid {
    grid-template-columns: 1fr;
  }
}

/* merged editorial list — segment + what we make, always visible */
.seg-list {
  list-style: none;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.seg-item {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1rem clamp(2rem, 5vw, 5rem);
  align-items: baseline;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--hairline);
}
.seg-item .seg-id {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.seg-item .seg-name {
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.seg-item .seg-name .i {
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}
.seg-item .seg-line {
  color: var(--muted);
  font-size: 0.9375rem;
}
.seg-list .seg-builds {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0;
}
.seg-list .seg-builds li {
  color: var(--navy);
  opacity: 0.72;
  font-size: 0.9375rem;
}
@media (max-width: 47.9rem) {
  .seg-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.faq .faq-grid .head h2 {
  margin-top: 0.5rem;
}
.faq .qs {
  border-top: 1px solid var(--hairline);
  max-width: 52rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.15rem;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  min-height: 44px;
}
@media (max-width: 63.9rem) {
  .faq .faq-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ind {
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  position: relative;
}
.faq summary .ind::before,
.faq summary .ind::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform 350ms var(--ease);
}
.faq summary .ind::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}
.faq summary .ind::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}
.faq details[open] summary .ind::after {
  transform: scaleY(0);
}
.faq details p {
  padding-bottom: 1.75rem;
  color: var(--muted);
  max-width: 58ch;
}

/* ============================================================
   8 · START A BRIEF (dark window)
   ============================================================ */
.brief-section .grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}
.brief-section .assure {
  list-style: none;
}
.brief-section .assure li {
  padding-block: 1.25rem;
  border-top: 1px solid var(--hairline-dk);
  color: var(--muted-dark);
  font-size: 0.9375rem;
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.brief-section .assure li::before {
  content: "";
  flex: none;
  width: 0.875rem;
  height: 1px;
  background: var(--blue-bright);
  transform: translateY(-0.25em);
}
.brief-section .assure li strong {
  color: var(--warm);
  font-weight: 500;
}
.brief-section .lead {
  color: var(--muted-dark);
}
.brief-section .lead strong {
  color: var(--warm);
  font-weight: 500;
}

.form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}
.form-group .group-title {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hairline-dk);
}
.form-group .fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.field label .opt {
  text-transform: none;
  letter-spacing: 0.02em;
  opacity: 0.7;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--warm);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-dk);
  border-radius: 0;
  padding: 0.75rem 0;
  min-height: 44px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  transition: border-color 300ms var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239BA3B5' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 1.75rem;
  cursor: pointer;
}
.field select:invalid {
  color: var(--muted-dark);
}
.field select option {
  color: var(--ink);
  background: var(--warm);
}
.field textarea {
  resize: vertical;
  min-height: 8.5rem;
  line-height: 1.6;
}
.phone-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.phone-row .phone-code {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: 8.5rem;
}
.phone-row input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #5a6275;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--blue-bright);
}
.field.error input,
.field.error select,
.field.error textarea {
  border-bottom-color: #ff6b6b;
}
.field .err {
  font-size: 0.8125rem;
  color: #ff9c9c;
  display: none;
  letter-spacing: 0.02em;
}
.field.error .err {
  display: block;
}
/* group-level error (e.g. "email or phone") + selectable chips */
.form-err {
  display: none;
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: #ff9c9c;
  letter-spacing: 0.02em;
}
.form-err.show {
  display: block;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
}
.chip {
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--muted-dark);
  background: transparent;
  border: 1px solid var(--hairline-dk);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  min-height: 40px;
  cursor: pointer;
  transition:
    color 200ms var(--ease),
    border-color 200ms var(--ease),
    background-color 200ms var(--ease);
}
.chip:hover {
  color: var(--warm);
  border-color: var(--muted-dark);
}
.chip.selected {
  color: var(--ink);
  background: var(--blue-bright);
  border-color: var(--blue-bright);
}
.chip:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}
.form .actions {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.form .actions .quiet {
  font-size: 0.875rem;
  color: var(--muted-dark);
}
.form-status .ok {
  border: 1px solid var(--hairline-dk);
  padding: 2.5rem;
  display: none;
}
.form-status .ok h3 {
  color: var(--warm);
  margin-bottom: 0.75rem;
}
.form-status .ok p {
  color: var(--muted-dark);
}
.form-status .fail {
  display: none;
  color: #ff9c9c;
  font-size: 0.9375rem;
  padding-top: 0.5rem;
}
.form.sent {
  display: none;
}
.form-status.sent .ok {
  display: block;
}
@media (max-width: 63.9rem) {
  .brief-section .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 47.9rem) {
  .form-group .fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   PRE-FORM + CLOSING (dark)
   ============================================================ */
.preform .preform-title {
  font-size: var(--fs-h3);
  max-width: 22ch;
}
.preform .preform-body {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(248, 248, 246, 0.74);
  max-width: 42em;
  margin-top: 1.5rem;
}
.preform .preform-trust {
  margin-top: 1.25rem;
  color: var(--muted-dark);
}
.closing .closing-lines {
  display: flex;
  gap: 0.4em;
  align-items: flex-start;
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: var(--warm);
}
.closing .closing-lines .cl-stack {
  display: flex;
  flex-direction: column;
}
.closing .closing-lines .cl-accent {
  color: var(--blue-bright);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer .copy {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.site-footer {
  position: relative;
  z-index: 1;
  color: var(--warm);
  border-top: 1px solid var(--hairline-dk);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}
.site-footer .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer .wordmark {
  font-size: 1.5rem;
}
.site-footer .tagline {
  margin-top: 0.875rem;
  color: var(--muted-dark);
  font-size: 0.9375rem;
}
.site-footer .contact {
  text-align: right;
  font-size: 0.9375rem;
  color: var(--muted-dark);
}
.site-footer .contact a {
  color: var(--warm);
}
.site-footer .contact-label {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.6rem;
}
.site-footer .bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline-dk);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--muted-dark);
}
.site-footer .legal {
  display: flex;
  gap: 1.75rem;
}
.site-footer .legal a {
  color: var(--muted-dark);
  text-decoration: none;
  transition: color 250ms var(--ease);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-footer .legal a:hover {
  color: var(--warm);
}
@media (max-width: 47.9rem) {
  .site-footer .contact {
    text-align: left;
  }
}

/* ============================================================
   MULTIPAGE EDITORIAL SYSTEM
   ============================================================ */
.site-header .nav {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.site-header .nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: currentColor;
  opacity: 0.72;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: opacity 250ms var(--ease);
}
.site-header .nav a:hover,
.site-header .nav a[aria-current="page"] {
  opacity: 1;
}
@media (max-width: 63.9rem) {
  .site-header .nav {
    display: none;
  }
}
.mobile-nav-toggle,
.mobile-nav-panel {
  display: none;
}
.mobile-nav-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: currentColor;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  border-radius: 999px;
  transition:
    transform 250ms var(--ease),
    opacity 250ms var(--ease);
}
.mobile-nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.35rem var(--sp-gutter) 0.7rem;
  background: var(--navy);
  color: var(--warm);
  border-top: 1px solid rgba(248, 248, 246, 0.08);
  border-bottom: 1px solid rgba(248, 248, 246, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 28px rgba(0, 7, 28, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.35rem);
  transition:
    opacity 250ms var(--ease),
    transform 250ms var(--ease);
}
.mobile-nav-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  color: currentColor;
  text-decoration: none;
  font-size: 0.96875rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(248, 248, 246, 0.085);
}
.mobile-nav-panel a:last-child {
  border-bottom: 0;
}
.mobile-nav-panel a[aria-current="page"] {
  color: var(--blue-bright);
}
.mobile-nav-panel a::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  opacity: 0.42;
  transform: rotate(45deg);
}
@media (max-width: 63.9rem) {
  .site-header .bar {
    min-height: 4.25rem;
  }
  .site-header .header-cta {
    display: none;
  }
  .mobile-nav-toggle {
    display: inline-flex;
  }
  .mobile-nav-panel {
    display: grid;
  }
  .site-header.nav-open {
    color: var(--warm);
    background: var(--navy);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(248, 248, 246, 0.12);
  }
  .site-header.nav-open .wordmark .dot {
    color: var(--blue-bright);
  }
  .site-header.nav-open .mobile-nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-header.nav-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  .site-header.nav-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.nav-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
}
.btn-secondary {
  color: var(--warm);
  border-color: rgba(248, 248, 246, 0.28);
  background: rgba(248, 248, 246, 0.02);
}
.btn-secondary:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
}
.zone-light .btn-secondary {
  color: var(--navy);
  border-color: rgba(0, 11, 41, 0.2);
}
.zone-light .btn-secondary:hover {
  color: var(--navy);
  border-color: var(--navy);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head .note {
  color: var(--muted);
  max-width: 28em;
}
.zone-dark .section-head .note {
  color: var(--muted-dark);
}
.page-hero {
  min-height: 72svh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  background: radial-gradient(
    72% 96% at 78% 32%,
    #17213c 0%,
    #0b1530 44%,
    var(--navy-deep) 100%
  );
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(2.65rem, 1.25rem + 6.4vw, 6.5rem);
  max-width: 12ch;
}
.page-hero .lead {
  color: rgba(248, 248, 246, 0.74);
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
}
.page-hero .hero-cta {
  margin-top: clamp(2rem, 4vh, 3rem);
}
.page-hero.compact-hero {
  min-height: 64svh;
  padding-bottom: clamp(4rem, 8vh, 6rem);
}
.page-hero.compact-hero h1 {
  max-width: 14ch;
}
@media (max-width: 47.9rem) {
  .page-hero {
    min-height: auto;
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
  }
  .page-hero h1 {
    max-width: 9.5ch;
  }
  .page-hero.compact-hero h1 {
    max-width: 10.5ch;
  }
  .page-hero .lead {
    margin-top: 1.25rem;
  }
  .page-hero .hero-cta {
    margin-top: 1.75rem;
  }
}
.client-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
}
.client-list li {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--hairline);
  color: var(--navy);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  padding: 1rem 1.2rem;
}
.client-list li:last-child {
  border-right: none;
}
@media (max-width: 63.9rem) {
  .client-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .client-list li:nth-child(3) {
    border-right: none;
  }
}
@media (max-width: 47.9rem) {
  .client-list {
    grid-template-columns: 1fr 1fr;
  }
  .client-list li {
    min-height: 4.5rem;
  }
  .client-list li:nth-child(3) {
    border-right: 1px solid var(--hairline);
  }
  .client-list li:nth-child(even) {
    border-right: none;
  }
}
.preview-grid,
.trust-grid,
.panel-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
}
.preview-card,
.trust-card,
.panel-card {
  padding: clamp(1.35rem, 2.5vw, 2.25rem) clamp(1rem, 2vw, 1.75rem)
    clamp(1.35rem, 2.5vw, 2.25rem) 0;
  border-bottom: 1px solid var(--hairline);
  min-height: 12rem;
}
.preview-card:not(:nth-child(4n)),
.trust-card:not(:nth-child(4n)),
.panel-card:not(:nth-child(4n)) {
  border-right: 1px solid var(--hairline);
}
.preview-card:nth-child(n + 2),
.trust-card:nth-child(n + 2),
.panel-card:nth-child(n + 2) {
  padding-left: clamp(1rem, 2vw, 1.75rem);
}
.preview-card h3,
.trust-card h3,
.panel-card h3 {
  max-width: 13ch;
}
.preview-card p,
.trust-card p,
.panel-card p {
  color: var(--muted);
  margin-top: 0.875rem;
  font-size: 0.9375rem;
}
.preview-card .i,
.trust-card .i,
.panel-card .i {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
@media (min-width: 64rem) {
  .preview-grid.five-up {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .preview-grid.five-up .preview-card {
    border-right: 1px solid var(--hairline);
  }
  .preview-grid.five-up .preview-card:last-child {
    border-right: none;
  }
}
.zone-dark .panel-grid {
  border-top-color: var(--hairline-dk);
}
.zone-dark .panel-card {
  border-bottom-color: var(--hairline-dk);
}
.zone-dark .panel-card:not(:nth-child(4n)) {
  border-right-color: var(--hairline-dk);
}
.zone-dark .panel-card h3 {
  color: var(--warm);
}
.zone-dark .panel-card p,
.zone-dark .panel-card .i {
  color: var(--muted-dark);
}
.process-clarity {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hairline-dk);
  border-bottom: 1px solid var(--hairline-dk);
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
}
.process-clarity li {
  min-height: 15rem;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem);
}
.process-clarity li:first-child {
  padding-left: 0;
  border-right: 1px solid var(--hairline-dk);
}
.process-clarity h3 {
  color: var(--warm);
  max-width: 18ch;
}
.process-clarity p {
  color: var(--muted-dark);
  max-width: 31rem;
  margin-top: 1rem;
}
.process-clarity .i {
  display: block;
  color: var(--muted-dark);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
@media (max-width: 63.9rem) {
  .preview-grid,
  .trust-grid,
  .panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .preview-card:not(:nth-child(4n)),
  .trust-card:not(:nth-child(4n)),
  .panel-card:not(:nth-child(4n)) {
    border-right: none;
  }
  .preview-card:nth-child(odd),
  .trust-card:nth-child(odd),
  .panel-card:nth-child(odd) {
    border-right: 1px solid var(--hairline);
  }
  .zone-dark .panel-card:nth-child(odd) {
    border-right-color: var(--hairline-dk);
  }
}
@media (max-width: 47.9rem) {
  .process-clarity {
    grid-template-columns: 1fr;
  }
  .process-clarity li {
    min-height: auto;
    padding-inline: 0;
  }
  .process-clarity li:first-child {
    border-right: none;
    border-bottom: 1px solid var(--hairline-dk);
  }
  .preview-grid,
  .trust-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }
  .preview-card:nth-child(odd),
  .trust-card:nth-child(odd),
  .panel-card:nth-child(odd) {
    border-right: none;
  }
  .preview-card,
  .trust-card,
  .panel-card {
    min-height: auto;
    padding-right: 0;
    padding-left: 0 !important;
  }
}
.process-strip {
  list-style: none;
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.process-strip li {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 1rem 2rem;
  padding-block: 1.45rem;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.process-strip .i {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.process-strip h3 {
  max-width: 12ch;
}
.process-strip p {
  color: var(--muted);
  font-size: 0.9375rem;
}
@media (max-width: 47.9rem) {
  .process-strip li {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
.cta-band h2 {
  max-width: 16ch;
}
.cta-band .lead {
  margin-top: 1.4rem;
  color: var(--muted-dark);
}
.cta-band .hero-cta {
  margin-top: 2rem;
}
.work-segments {
  list-style: none;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.work-accordions {
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.work-accordion {
  border-bottom: 1px solid var(--hairline);
}
.work-accordion summary {
  min-height: 5.75rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding-block: clamp(1.15rem, 2.5vw, 1.75rem);
}
.work-accordion summary::-webkit-details-marker {
  display: none;
}
.work-accordion summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 250ms var(--ease);
}
.work-accordion[open] summary::after {
  transform: rotate(45deg);
}
.work-accordion summary span {
  color: var(--navy);
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.work-accordion summary small {
  color: var(--muted);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.work-accordion .examples {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  padding: 0 2.25rem clamp(1.25rem, 2.5vw, 1.75rem) 0;
}
.work-accordion .examples li {
  color: var(--navy);
  opacity: 0.72;
  font-size: 0.9375rem;
}
@media (max-width: 47.9rem) {
  .work-accordion summary {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 1rem;
  }
  .work-accordion summary small {
    grid-column: 1 / -1;
    max-width: 26em;
  }
  .work-accordion .examples {
    padding-right: 0;
  }
}
.segment-detail {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--hairline);
}
.segment-detail h3 {
  max-width: 14ch;
}
.segment-detail p {
  color: var(--muted);
  margin-top: 0.95rem;
}
.segment-detail .examples {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  align-content: flex-start;
}
.segment-detail .examples li {
  color: var(--navy);
  opacity: 0.72;
  font-size: 0.9375rem;
}
@media (max-width: 47.9rem) {
  .segment-detail {
    grid-template-columns: 1fr;
  }
}
.criteria-list {
  list-style: none;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--hairline-dk);
  max-width: 54rem;
}
.criteria-list li {
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--hairline-dk);
  color: rgba(248, 248, 246, 0.78);
  font-size: var(--fs-h3);
  line-height: 1.25;
}
.text-pair {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.text-pair .lead {
  color: var(--muted-dark);
}
@media (max-width: 47.9rem) {
  .text-pair {
    grid-template-columns: 1fr;
  }
}
.brief-next {
  border-top: 1px solid var(--hairline-dk);
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.brief-next p {
  color: var(--muted-dark);
  margin-top: 1rem;
}

/* ============================================================
   JUNE 20 REPEAT — BLOCK KIT (image-led sections)
   Borrows FittDesign's modular structure; rendered in Merchna's
   quiet dark-editorial language. The image carries the section;
   text is reduced to a label. One idea per screen on mobile.
   Motion stays restrained — floating is reserved for the hero.
   ============================================================ */

/* ---- shared media panel: a product cutout floats on a navy pool,
   re-grounded with a soft shadow — same language as the hero. ---- */
.media-panel {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    120% 100% at 50% 16%,
    #16213d 0%,
    #0a1430 60%,
    var(--navy-deep) 100%
  );
  border: 1px solid var(--hairline-dk);
}
.zone-light .media-panel {
  border-color: rgba(0, 11, 41, 0.12);
}
.media-panel .cut {
  position: relative;
  z-index: 1;
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55));
  transition: transform 600ms var(--ease);
}
/* a huge faint index number, used as a graphic anchor */
.media-panel .ghost {
  position: absolute;
  left: clamp(0.75rem, 2vw, 1.5rem);
  top: clamp(0.25rem, 1vw, 0.6rem);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(248, 248, 246, 0.06);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  z-index: 0;
}
/* a small flag chip, bottom-left */
.media-panel .flag {
  position: absolute;
  left: clamp(0.9rem, 2vw, 1.5rem);
  bottom: clamp(0.9rem, 2vw, 1.5rem);
  z-index: 1;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* ---- Feature Band: big image | short text, alternating L/R ---- */
.band .band-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.band--mirror .band-media {
  order: 2;
}
.band-text h2 {
  max-width: 17ch;
}
.band-text .lead {
  margin-top: 1.25rem;
}
.zone-dark .band-text .lead {
  color: var(--muted-dark);
}
.zone-light .band-text .lead {
  color: var(--muted);
}
.band-text .band-cta {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  gap: 1.25rem 1.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.band-text .eyebrow {
  margin-bottom: 1.1rem;
}
.band-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.7rem;
  margin-top: clamp(1.4rem, 3vw, 1.9rem);
}
.band-tags li {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--hairline-dk);
  border-radius: 999px;
  color: var(--muted-dark);
}
.zone-light .band-tags li {
  border-color: var(--hairline);
  color: var(--muted);
}
@media (max-width: 47.9rem) {
  .band .band-in {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .band--mirror .band-media {
    order: 0; /* image always leads on mobile */
  }
}

/* ---- Category Showcase: image-led cards, first one features ---- */
.cat-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.cat-grid > .cat-feature {
  grid-column: 1 / -1;
}
.cat-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.cat-card .media-panel {
  aspect-ratio: 16 / 10;
}
.cat-feature .media-panel {
  aspect-ratio: 16 / 6;
}
.cat-feature .cut {
  width: auto;
  max-width: 56%;
  height: 88%;
}
@media (max-width: 47.9rem) {
  .cat-feature .media-panel {
    aspect-ratio: 16 / 10;
  }
  .cat-feature .cut {
    max-width: 76%;
    height: 76%;
  }
}
.cat-card:hover .cut {
  transform: scale(1.035);
}
.cat-meta {
  padding-top: 1.15rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
}
.cat-meta h3 {
  max-width: 16ch;
}
.zone-dark .cat-meta h3 {
  color: var(--warm);
}
.cat-line {
  margin-top: 0.55rem;
  font-size: 0.9375rem;
}
.zone-dark .cat-line {
  color: var(--muted-dark);
}
.zone-light .cat-line {
  color: var(--muted);
}
.cat-meta .arr {
  flex: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--blue-bright);
  transition: transform 300ms var(--ease);
}
.zone-light .cat-meta .arr {
  color: var(--blue);
}
.cat-card:hover .arr {
  transform: translateX(5px);
}
@media (max-width: 47.9rem) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Flow Steps: compact numbered process, visual not prose ---- */
.flow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.flow-step {
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline-dk);
}
.zone-light .flow-step {
  border-top-color: var(--hairline);
}
.flow-step .sn {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--blue-bright);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 1rem;
}
.zone-light .flow-step .sn {
  color: var(--blue);
}
.flow-step h3 {
  font-size: var(--fs-h3);
  max-width: 12ch;
}
.zone-dark .flow-step h3 {
  color: var(--warm);
}
.flow-step p {
  margin-top: 0.65rem;
  font-size: 0.9375rem;
}
.zone-dark .flow-step p {
  color: var(--muted-dark);
}
.zone-light .flow-step p {
  color: var(--muted);
}
.flow-step .deliver {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  border: 1px solid var(--hairline-dk);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}
.zone-light .flow-step .deliver {
  color: var(--muted);
  border-color: var(--hairline);
}
@media (max-width: 63.9rem) {
  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }
}
@media (max-width: 30rem) {
  .flow-steps {
    grid-template-columns: 1fr;
  }
}

/* 3-up variant for principle tiles */
@media (min-width: 48rem) {
  .panel-grid.three-up,
  .trust-grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .panel-grid.three-up .panel-card,
  .trust-grid.three-up .trust-card {
    border-right: 0;
  }
  .panel-grid.three-up .panel-card:not(:nth-child(3n)) {
    border-right: 1px solid var(--hairline-dk);
  }
  .trust-grid.three-up .trust-card:not(:nth-child(3n)) {
    border-right: 1px solid var(--hairline);
  }
}

/* ============================================================
   PHONE EXPERIMENT — mobile-first, anti-essay refinements
   Built on June 20 Repeat. Goal: one idea per screen on phones,
   the action always one tap away.
   ============================================================ */
@media (max-width: 47.9rem) {
  /* tighter vertical rhythm — less dead space between ideas */
  :root {
    --sp-section: 3.25rem;
    --sp-flow: 2.25rem;
  }

  /* home process steps -> horizontal swipe (flick through 01–04) */
  .flow-steps {
    display: flex;
    grid-template-columns: none;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--sp-gutter));
    padding: 0.25rem var(--sp-gutter) 0.6rem;
    scrollbar-width: none;
  }
  .flow-steps::-webkit-scrollbar {
    display: none;
  }
  .flow-step {
    flex: 0 0 80%;
    scroll-snap-align: center;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    padding: 1.4rem 1.35rem;
  }

  /* process page steps -> same horizontal swipe, full detail per card */
  .process .stage ol {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--sp-gutter));
    padding: 0.25rem var(--sp-gutter) 0.6rem;
    scrollbar-width: none;
  }
  .process .stage ol::-webkit-scrollbar {
    display: none;
  }
  .process .stage .pstep {
    flex: 0 0 84%;
    scroll-snap-align: center;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    padding: 1.5rem 1.35rem;
    align-content: start;
  }
  .process .stage .pstep:last-child {
    border: 1px solid var(--hairline);
  }

  /* brief: form ABOVE the reassurance on phones (action first) */
  .brief-section .grid > div:last-child {
    order: -1;
  }

}

/* ---- photo-fill box (Home → Sectors teaser): a real photo fills the
   panel edge-to-edge, unlike the floating cutouts ---- */
.media-panel .fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-photo .media-panel {
  aspect-ratio: 16 / 9;
}
@media (max-width: 47.9rem) {
  .cat-photo .media-panel {
    aspect-ratio: 4 / 3;
  }
}

/* ---- image placeholder slot (swap in a real photo later: drop an
   <img class="fill" src="..."> inside and delete the .ph-label) ---- */
.media-panel--ph::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border: 1px dashed var(--hairline-dk);
  border-radius: 4px;
  pointer-events: none;
}
.zone-light .media-panel--ph::after {
  border-color: rgba(0, 11, 41, 0.18);
}
.ph-label {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.zone-light .ph-label {
  color: var(--muted);
}
.ph-label em {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  text-transform: none;
  letter-spacing: -0.015em;
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--warm);
}
.zone-light .ph-label em {
  color: var(--ink);
}

/* section-head heading column must fill its row — otherwise text-wrap:balance
   collapses the h2 to a sliver and titles break onto random short lines */
.section-head > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

/* Process step photos: portrait crop + the ghost number reads over the image */
.media-panel--tall {
  aspect-ratio: 4 / 5;
}
.media-panel:has(.fill) .ghost {
  color: rgba(248, 248, 246, 0.16);
  z-index: 1;
}

/* brief heading promoted to h1 for SEO; keep h2 sizing */
#brief-h {
  font-size: var(--fs-h2);
  max-width: 22ch;
}

/* legal pages (Phase 2) */
.legal-main { padding: 5.5rem 0 4.5rem; background: var(--warm); }
.legal-main h1 { font-size: var(--fs-h2); margin-top: 0.5rem; }
.legal-main .prose { max-width: 62ch; margin-top: 1.5rem; }
.legal-main .prose p { margin-bottom: 1.1rem; line-height: 1.7; color: var(--ink); font-size: 1.0625rem; }
