/* ————————————————————————————————————————————————
   Humanistics — style.css
   Apple-white, image-led, warm bronze accent.
   Type: SF system stack + Instrument Serif italic accents.
   ———————————————————————————————————————————————— */
:root {
  --bg: #fbfbfd;
  --surface: #f5f5f7;
  --white: #ffffff;
  --tint-hi: #faf8f4;
  --tint-lo: #f4f1ea;
  --warm-hi: #f5f2ec;
  --warm-lo: #ece7de;
  color-scheme: light;
  --ink: #1d1d1f;
  --ink-strong: #000000;
  --ink-soft: #55555a;
  --ink-faint: #67676c;
  --gold: #80623a;
  --gold-soft: #a07d48;
  --on-image: #ffffff;
  --gold-wash: rgba(128, 98, 58, 0.28);
  --hairline: rgba(0, 0, 0, 0.08);
  --danger-wash: rgba(162, 69, 58, 0.14);
  --radius-pill: 999px;
  --radius: 28px;
  --radius-card: 24px;
  --radius-control: 14px;
  --content-max: 1120px;
  --wide-max: 1440px;
  --rail: max(24px, calc((100% - var(--content-max)) / 2));
  --rail-text: var(--rail);
  --shadow-md: 0 1px 2px rgba(29, 29, 31, 0.04), 0 18px 44px -32px rgba(29, 29, 31, 0.22);
  --shadow-lg: 0 1px 2px rgba(29, 29, 31, 0.05), 0 30px 70px -38px rgba(29, 29, 31, 0.35);
  --z-menu: 90;
  --z-nav: 100;
  --z-skip: 200;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, "Times New Roman", serif;
  --danger: #a2453a;
  --fade: clamp(56px, 7vh, 96px);
  /* THE section rhythm: the gap between the last line of one section and the first line of the
     next, on every page. Each section pads half of it above and below its content. */
  --space-section: clamp(152px, 21vh, 224px);
  /* an interior page's title to its first content, the same on every interior page */
  --space-head: clamp(56px, 8vh, 80px);
  /* homepage body rhythm: between related lines, a setup and its payoff */
  --beat: clamp(28px, 4.2vh, 44px);
  /* heading scale: four sizes, one per role */
  --t-display: clamp(2.875rem, 7vw, 5.5rem);   /* page heroes, and the one naming of Coherence Intelligence */
  --t-h2: clamp(2.25rem, 5vw, 4rem);           /* every centred section heading */
  --t-h2-side: clamp(2rem, 3.6vw, 3.25rem);    /* a heading beside a photograph or over a logo wall */
  --t-card: clamp(1.75rem, 2.8vw, 2.5rem);     /* a heading inside a card */
  --t-page: clamp(2.5rem, 5.5vw, 4.5rem);      /* an interior page's title */
  --join: clamp(14px, 2vh, 20px);
}

/* Self-hosted accent face. Two subsets, and a Georgia fallback whose
   size-adjust was measured in headless Chrome (the real face sets at 78.6%
   of Georgia's width), so the headline does not reflow when it arrives. */
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif Fallback";
  font-style: italic;
  font-weight: 400;
  src: local("Georgia Italic"), local("Georgia-Italic"), local("Georgia");
  size-adjust: 78.6%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
  caret-color: var(--gold);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-wash) transparent;
}

body {
  overflow-x: clip;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold-wash); }

/* Paragraph rag and touch feedback are set once, for every page. */
p { text-wrap: pretty; }

a, button { -webkit-tap-highlight-color: transparent; }

img {
  display: block;
  max-width: 100%;
}

/* <picture> wraps every image for AVIF/WebP negotiation. It must not
   generate a box, or it becomes the flex/grid item the <img> used to be. */
picture { display: contents; }

/* ——— Accessibility helpers ——— */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: var(--z-skip);
  background: var(--ink);
  color: var(--on-image);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}

.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ——— Navigation ——— */
/* A floating capsule rather than an edge-to-edge bar: the chrome reads as
   an object sitting above the page instead of a lid clamped onto it, and
   the photography runs full-bleed underneath it. */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  padding: 14px max(12px, calc(var(--rail) - 26px)) 0;
  pointer-events: none;
  background: none;
  border: none;
}

.nav-inner {
  pointer-events: auto;
  max-width: calc(var(--content-max) + 52px);
  margin: 0 auto;
  padding: 6px 6px 6px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 34px -20px rgba(29, 29, 31, 0.30);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

/* Once the page moves under it, the capsule firms up so it never dissolves
   into a pale section behind it. */
.nav.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.09);
  box-shadow: 0 14px 40px -20px rgba(29, 29, 31, 0.38);
}

.hero-kicker {
  margin: 0 0 18px;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
}

.section-tinted:has(+ .closing) {
  background: linear-gradient(180deg, var(--bg) 0, rgba(251, 251, 253, 0) var(--fade)),
    linear-gradient(180deg, var(--tint-hi) 0%, var(--tint-lo) 100%);
}

.photo-stage {
  position: relative;
  max-width: min(var(--wide-max), calc(100% - 48px));
  margin: clamp(48px, 7vh, 80px) auto 0;
}

.photo-stage .photo {
  max-width: none;
  margin: 0;
}

.closing-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding-inline: var(--rail);
  align-items: center;
}

/* The closing photo is a meeting in its right 60% and calm window in its left 40%, so the
   copy takes the left column and the whole frame is anchored to the lower right, uncropped:
   sized by height (not cover), the group always clears the text column. */
.closing .section-text {
  grid-column: 1;
  text-align: left;
  margin: 0;
  padding: 0;
  max-width: 30rem;
}

/* the button, then its quieter link under it, so the link never runs out over the photograph */
.closing .cta-row { flex-direction: column; align-items: flex-start; justify-content: flex-start; }

.closing-media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

/* The group starts 63% of the frame's width in from its right edge, so a frame h tall
   (16:9) puts it 1.12h from the right. The height is capped so the group always clears the
   text column (rail + 30rem + a 2rem gap). The fades belong to the photo, not the section,
   so its top and left edges dissolve wherever they land. */
.closing-media img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: none;
  height: min(88%, calc((100vw - var(--rail) - 32rem) / 1.12));
  mask-image: linear-gradient(90deg, transparent 0, black 34%), linear-gradient(180deg, transparent 0, black 20%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 34%), linear-gradient(180deg, transparent 0, black 20%, black 88%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 242, 236, 0.9) 0%, rgba(245, 242, 236, 0.72) 22%, rgba(245, 242, 236, 0) 42%);
}

/* ——— V2 components ———————————————————————————————————————————
   The V2 copy argues in single claims, so it needs one thing V1 never had:
   a line that stands alone between sections and carries the weight itself. */
.statement {
  margin: clamp(48px, 7vh, 80px) auto 0;
  max-width: calc(980px + 2 * var(--rail));
  padding-inline: var(--rail);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  hanging-punctuation: first;
}

.statement em { color: var(--gold); }

/* A plain section warms into the closing rather than meeting it at a line.
   (A tinted one already does, via .section-tinted:has(+ .closing).) */
.section:not(.section-tinted):has(+ .closing) {
  background: linear-gradient(180deg, var(--bg) 0, var(--bg) 45%, var(--tint-lo) 100%);
}

.nav-cta-short { display: none; }

/* ——— Eyris hero film ——————————————————————————————————————————————
   Without html.film-on (reduced motion, no JS) this is a still hero: the opening
   frame as a poster, the headline, and the film's lines as one quiet card. With it,
   the section is a tall scroll driver around a sticky stage; the canvas plays the
   shot and the same lines arrive one at a time over it. One set of content, two
   presentations, so there is a single h1 and nothing is hidden from a reader. */
.film {
  position: relative;
  --poster-x: 50%;   /* where a portrait screen crops the poster; each film sets its own inline */
}

.film-stage {
  position: relative;
  min-height: clamp(640px, 100svh, 920px);
  overflow: hidden;
  background: var(--bg);
}

.film-poster, .film-canvas {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.film-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-canvas {
  display: none;
  width: 100%;
  height: 100%;
}

.film-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(251, 251, 253, 0.95) 0%, rgba(251, 251, 253, 0.86) 30%, rgba(251, 251, 253, 0.36) 54%, rgba(251, 251, 253, 0) 74%),
    linear-gradient(0deg, var(--bg) 0, rgba(251, 251, 253, 0) 14%);
}

.film-copy {
  position: relative;
  z-index: 2;
  min-height: inherit;
  max-width: calc(600px + 2 * var(--rail));
  padding: calc(96px + 4vh) var(--rail) 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.film-beat .cta-row {
  justify-content: flex-start;
  margin-top: 2.25rem;
}

.film-story {
  max-width: 520px;
  padding: 20px 22px 22px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
}

.film-story .film-beat + .film-beat,
.film-story .film-still + .film-beat { margin-top: 10px; }

.film-line, .film-sub {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.film-line em { font-style: normal; }

.film-story .is-finale .film-line {
  font-weight: 600;
  color: var(--ink);
}

.film-story .is-finale .cta-row, .film-cue, .film-meter { display: none; }

/* in the markup for the phone's fixed hero only (see "Phones", below): a tick before a line, a still */
.film-tick, .film-still { display: none; }

html.film-on .film-drive { height: 480vh; }

/* The homepage film is a longer shot (six lines over it), so it gets more scroll. */
html.film-on .film.is-long .film-drive { height: 640vh; }

html.film-on .film-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 0;
}

html.film-on .film-canvas { display: block; }

html.film-on .film-story .is-finale .cta-row { display: flex; }

/* The poster sits above the canvas until a real frame is drawn: an undrawn canvas is
   opaque black, and must never show on load or if the frames fail to arrive. */
html.film-on .film-poster {
  z-index: 1;
  transition: opacity 0.7s var(--ease);
}

html.film-on .film-poster.is-hidden { opacity: 0; }

html.film-on .film-copy {
  position: absolute;
  inset: 0;
  max-width: none;
  min-height: 0;
  padding: 0;
  display: block;
}

html.film-on .film-story { display: contents; }

html.film-on .film-beat {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--rail);
  width: min(600px, calc(100% - 2 * var(--rail)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
}

html.film-on .film-beat.is-hero {
  opacity: 1;
  visibility: visible;
}

html.film-on .film-line {
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 640;
  color: var(--ink);
  text-wrap: balance;
}

html.film-on .film-line.is-long {
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  line-height: 1.2;
}

html.film-on .film-line em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.06em;
}

html.film-on .film-sub {
  margin-top: 16px;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.45;
}

html.film-on .film-cue {
  display: flex;
  justify-content: center;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 56px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* ink-soft, not ink-faint: at 12px over the film's brightest frames it has to hold 4.5:1 */
  color: var(--ink-soft);
  pointer-events: none;
}

html.film-on .film-cue span::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 10px auto 0;
  background: currentColor;
  opacity: 0.5;
}

html.film-on .film-meter {
  display: block;
  position: absolute;
  z-index: 2;
  left: var(--rail);
  right: var(--rail);
  bottom: 32px;
  height: 2px;
  border-radius: 2px;
  background: var(--hairline);
  overflow: hidden;
}

html.film-on .film-meter span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

@media (prefers-reduced-transparency: reduce) {
  .nav-inner { background: var(--white); }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-inner { background: rgba(255, 255, 255, 0.94); }
}

/* The wordmark, after the one on humanistics.ai: HUMAN stepping down from heavy to regular and
   ISTICS a hairline, drawn from Montserrat in the site's soft black (lab/logo/build_wordmark.py). */
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* 140px wide, the size humanistics.ai shows it at */
.wordmark img { display: block; width: 140px; height: auto; }

/* ——— Buttons & links ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: var(--on-image);
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  min-height: 44px;
}

.btn:hover {
  background: var(--ink-strong);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.45);
}

/* HIG minimum hit region is 44x44pt. This is the site's single conversion
   control — it was measuring 37px tall on desktop and 35.5px on phones. */
.btn-nav {
  padding: 0 22px;
  min-height: 44px;
  font-size: 0.9375rem;
}

.btn-large {
  padding: 20px 40px;
  font-size: 1.1875rem;
}

.text-link {
  display: inline;
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  font-size: 1.0625rem;
  transition: transform 0.3s var(--ease), color 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: translateX(2px);
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ——— Typography ——— */
h1, h2 {
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 { font-size: var(--t-display); }

h2 { font-size: var(--t-h2); }

h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.05em;
  line-height: 1;
}

.lede {
  font-size: clamp(1.1875rem, 2.1vw, 1.625rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  margin-top: 1.75rem;
  text-wrap: balance;
}

.page-hero .lede {
  max-width: 36em;
  margin-inline: auto;
}

.copy {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink-faint);
  max-width: 36em;
  margin: 1.5rem auto 0;
  text-wrap: pretty;
}

/* ——— Sections ——— */
.section { padding-block: calc(var(--space-section) / 2); }

.section-text {
  max-width: calc(900px + 2 * var(--rail));
  margin: 0 auto;
  text-align: center;
  padding-inline: var(--rail);
}

/* ——— Footer ——— */
.footer { border-top: 1px solid var(--hairline); }

.footer-mark { display: block; width: 160px; height: auto; }

/* ——— Reveal motion ——— */
/* The hidden start-state applies ONLY once JS has confirmed it is running
   (main.js sets html.js as its first statement). Without the guard a
   blocked or failed script leaves the whole page blank — nearly all of
   <main> lives inside one of these wrappers. */
/* :not(.in) rather than relying on `.in` to override.
   `.js .reveal` is specificity (0,2,0) and plain `.in` is (0,1,0), so the
   guard would otherwise outrank the class that reveals the element and the
   page would stay blank WITH JavaScript — the exact failure this guard
   exists to prevent, inverted. Excluding .in here removes the contest. */
.js .reveal:not(.in) {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
}

.js .reveal {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.reveal[data-d="1"] { transition-delay: 0.1s; }

.reveal[data-d="2"] { transition-delay: 0.2s; }

.reveal[data-d="3"] { transition-delay: 0.3s; }

.reveal[data-d="4"] { transition-delay: 0.4s; }

.js .reveal-img:not(.in) { opacity: 0; }

.js .reveal-img { transition: opacity 1.1s var(--ease); }

.js .reveal-img:not(.in) img { transform: scale(1.05); }

.js .reveal-img img { transition: transform 1.6s var(--ease); }

.reveal-img.in img { transform: scale(1); }

.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* Must out-specify `.js .reveal:not(.in)` (0,3,0), or someone who has
     asked for no motion waits on the observer for content that should
     simply be there — the opposite of what this query is for. */
  .js .reveal, .js .reveal:not(.in), .js .reveal-img, .js .reveal-img:not(.in), .js .reveal-img img, .js .reveal-img:not(.in) img {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ——— Responsive ——— */
.br-wide { display: inline; }

@media (max-width: 640px) {
  .br-wide { display: none; }

  .cta-row { gap: 20px; }

  .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .btn-nav {
    padding: 0 18px;
    min-height: 44px;
    font-size: 0.875rem;
  }
}

/* ═══════════════════════════════════════════════════
   Multi-page extensions
   ═══════════════════════════════════════════════════ */
/* ——— Nav links ——— */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  margin-right: 24px;
}

.nav-links a {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s var(--ease);
  padding: 14px 6px;
  line-height: 1.2;
  min-width: 44px;
  text-align: center;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-open .nav-burger span:first-child { transform: translateY(3.25px) rotate(45deg); }

.menu-open .nav-burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: rgba(251, 251, 253, 0.86);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 32px 48px;
  gap: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s;
}

@media (prefers-reduced-transparency: reduce) {
  .mobile-menu {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.menu-open { overflow: hidden; }

.mobile-menu a {
  font-size: 2rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s var(--ease);
}

.mobile-menu .btn {
  margin-top: 24px;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .nav-links { display: none; }

  .nav-burger { display: flex; }
}

/* ——— Interior page hero ——— */
.page-hero {
  padding: clamp(140px, 20vh, 220px) 24px var(--space-head);
  text-align: center;
  padding-inline: var(--rail);
}

.page-hero h1 { font-size: var(--t-page); }

/* ——— Long-form prose (legal, about story) ——— */
.prose {
  max-width: 42em;
  margin: 0 auto;
  padding: 0 24px var(--space-section);
  text-align: left;
}

.prose > :last-child { margin-bottom: 0; }

.prose h2 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  margin: 2.5em 0 0.75em;
}

/* the Terms and Privacy open straight on their first section (no draft notice above it since Oct 21 2026) */
.prose > h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 1.125rem;
  margin: 2em 0 0.5em;
  font-weight: 620;
}

.prose p, .prose li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1em;
}

.prose ul {
  padding-left: 1.25em;
  margin-bottom: 1em;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}


/* ——— Team (Oct 2026) ———
   The founders and the leadership team share one card. Every bio now runs to two paragraphs, so
   each person is a row: the whole 4:5 portrait on the left (the five share one studio backdrop, see
   tools/team_portraits.py), then name, role and story beside it at a reading measure. Phones put
   the portrait across the card's top in a 5:4 crop, head and shoulders, over the text. */
.team-grid {
  margin: clamp(40px, 6vh, 64px) auto 0;
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
  max-width: min(960px, calc(100% - 2 * var(--rail)));
}

.team-card {
  display: grid;
  grid-template-columns: clamp(156px, 22vw, 232px) minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 44px);
  align-items: start;
  padding: clamp(18px, 2.4vw, 30px);
  text-align: left;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
}

.team-photo picture { display: block; height: 100%; }

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-body { max-width: 38rem; padding-top: clamp(0px, 0.6vw, 8px); }

.team-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}

.team-card .team-role {
  font-size: 0.9375rem;
  color: var(--gold);
  font-weight: 600;
  margin: 4px 0 12px;
}

.team-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-faint);
  text-wrap: pretty;
}

.team-card p + p { margin-top: 0.75em; }

@media (max-width: 640px) {
  .team-grid { max-width: min(460px, calc(100% - 2 * var(--rail))); }

  .team-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .team-photo { aspect-ratio: 5 / 4; border-radius: 0; }

  .team-photo img { object-position: 50% 18%; }

  .team-body { padding: 22px 22px 26px; }
}

/* ——— Forms ——— */
.form-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius-control);
  padding: 14px 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(128, 98, 58, 0.18);
}

.field input:hover:not(:focus), .field textarea:hover:not(:focus) {
  border-color: rgba(0, 0, 0, 0.24);
}

.form-note {
  font-size: 0.875rem;
  color: var(--ink-faint);
  margin-top: 16px;
}

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}

.success-panel {
  border: 1px solid rgba(138, 106, 63, 0.3);
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  text-align: center;
  display: none;
}

.success-panel.show { display: block; }

.success-panel h2, .success-panel h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.success-panel p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.success-panel .pill-note { margin-top: 20px; }

button.btn {
  border: none;
  font-family: var(--font-sans);
}



/* ——— Footer ———
   Seven links and a wordmark cannot fill 1800px, and a 4-column
   fr-grid tries to — which is what made this scatter. So: columns
   sized to their content, clustered from the left, anchored to the
   same text rail as every section above. The empty right is
   deliberate negative space, not a gap. */
.footer-mega {
  padding: clamp(56px, 7vh, 76px) var(--rail-text) clamp(36px, 4.5vh, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px clamp(56px, 7vw, 128px);
  text-align: left;
}

.footer-brand { max-width: 15rem; }

.footer-brand p {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  margin-top: 10px;
  font-size: 1rem;
}

.footer-col-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.footer-col a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--ink); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  border-top: 1px solid var(--hairline);
  padding: 20px var(--rail-text) calc(28px + env(safe-area-inset-bottom, 0px));
  text-align: left;
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

/* a 44px tap area around a 20px line, without moving the footer */
.footer-credit {
  padding-block: 12px;
  margin-block: -12px;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer-credit span {
  color: var(--ink-soft);
  font-weight: 600;
}

.footer-credit:hover, .footer-credit:hover span { color: var(--ink); }

@media (max-width: 760px) {
  .footer-mega { gap: 32px 48px; }

  .footer-brand {
    flex: 1 0 100%;
    max-width: none;
  }
}

/* ═══════════════════════════════════════════════════
   FLAGSHIP LAYER
   Adaptive materials, scroll-driven motion, and press
   physics. Everything below is progressive enhancement —
   the base experience above stands on its own.

   NO DARK APPEARANCE, DELIBERATELY. A prefers-color-scheme
   layer was built once and the client rejected it: the brand
   is white and gold, "extremely clean, slightly spiritual".
   Do not reintroduce it — the absence is a decision, not a
   gap, and an audit flagging it as missing is wrong here.
   ═══════════════════════════════════════════════════ */
/* ——— Press physics ———
   HIG: feedback within 100ms, motion that tracks the finger. */
.btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

.text-link:active { transform: translateX(2px) scale(0.98); }


/* ——— Materials: honour reduced transparency, and degrade cleanly ———
   HIG materials.md — Liquid Glass belongs to the control layer only,
   and must not be the sole carrier of legibility. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(251, 251, 253, 0.97); }
}

@media (prefers-reduced-transparency: reduce) {
  .nav, .nav.scrolled {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: var(--hairline);
  }
}

/* ——— Increased contrast ———
   HIG accessibility.md — supply a higher-contrast scheme when the
   system asks for one. */
@media (prefers-contrast: more) {
  :root {
    --ink-soft: #3a3a3e;
    --ink-faint: #48484d;
    --gold: #6d5127;
    --gold-soft: #6d5127;
    --hairline: rgba(0, 0, 0, 0.3);
  }

  .nav, .nav.scrolled {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .btn { background: var(--ink-strong); }
}

/* ——— Tinted band ———
   Two centred text sections in a row read as one long zone. A very light
   warm band gives the second one its own surface, so the eye registers a
   new chapter without introducing a dark section. */
.section-tinted {
  background: linear-gradient(180deg, var(--bg) 0, rgba(251, 251, 253, 0) var(--fade)),
    linear-gradient(0deg, var(--bg) 0, rgba(251, 251, 253, 0) var(--fade)),
    linear-gradient(180deg, var(--tint-hi) 0%, var(--tint-lo) 100%);
}

/* ——— Layout utilities (promoted from inline styles) ——— */
.section-form { padding: 0 0 var(--space-section); }

.section-link { margin-top: 40px; }

.label-hint {
  font-weight: 400;
  color: var(--ink-faint);
}

/* ═══════════════════════════════════════════════════
   POLISH PASS — 2026-09-01
   ═══════════════════════════════════════════════════
   Findings from a full-page visual audit. Each rule below fixes
   something that was measurably weaker than the rest of the page. */
/* ——— Centred body copy ————————————————————————————————
   In the centred text sections the third tier (h2 → lede → copy) was
   set at --ink-faint on a 36em measure, which read as an afterthought
   trailing off. A tighter measure and one step more ink keeps it part
   of the argument. Left-aligned copy elsewhere is unaffected. */
.section-text .copy {
  max-width: 32em;
  color: var(--ink-soft);
}

/* ——— Browser surfaces ——————————————————————————————————————
   The parts nobody draws still ship with somebody's design, and by
   default it is the browser's. Caret, placeholder, scrollbar and the
   invalid state were all still stock. */
::placeholder {
  color: var(--ink-faint);
  opacity: 1;
}

/* Page scrollbar, in the brand rather than in system grey. */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track { background: transparent; }

::-webkit-scrollbar-thumb {
  background: var(--gold-wash);
  border-radius: var(--radius-pill);
  border: 3px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover { background: var(--gold-soft); }

/* An invalid field has to say so before the browser bubble appears and
   after it dismisses. Bound to :user-invalid, not :invalid, so a field
   is never marked wrong before it has been filled in. */
.field input:user-invalid, .field textarea:user-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-wash);
}

.field input:user-invalid + .field-error, .field textarea:user-invalid + .field-error {
  display: block;
}

.field-error {
  display: none;
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--danger);
}

/* ═══════════════════════════════════════════════════
   V6 — THE PRODUCT, SHOWN
   ═══════════════════════════════════════════════════
   A software product with no picture of the software is a brand site.
   The conversation component below IS the interface: a real rendered
   exchange in the site's own type, not a screenshot and not a mock
   dashboard. It appears once in the hero, once large in "What it does",
   and compact inside every leader card, so the same object carries the
   page. */
@media (max-width: 1000px) {
  .closing::after { display: none; }
}

/* ═══════════════════════════════════════════════════
   V7 — ONE IDEA PER SCREEN
   ═══════════════════════════════════════════════════
   Every section is a headline, one line, and one focal visual.
   Copy never sits on a photograph. The product is the picture. */
/* ——— A photograph, clean. Copy lives above it. ————————————— */
.photo {
  max-width: min(var(--wide-max), calc(100% - 48px));
  margin: clamp(48px, 7vh, 80px) auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo));
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Closing on a warm band ———————————————————————————— */
.closing {
  margin-top: 0;
  padding: calc(var(--space-section) / 2) 0 var(--space-section);
  background: linear-gradient(0deg, var(--bg) 0, rgba(251, 251, 253, 0) var(--fade)),
    linear-gradient(180deg, var(--tint-lo) 0, var(--warm-hi) 140px, var(--warm-lo) 100%);
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 72svh, 760px);
  display: grid;
  /* the copy starts on the rhythm; the photograph, anchored to the lower right, fills the height */
  align-items: start;
}

/* ═══════════════════════════════════════════════════
   V8 — CRAFT
   ═══════════════════════════════════════════════════ */
/* ——— The tray. A machined frame around every object that should read as
   physical: the product card and the photographs (the founders now sit in
   white cards). Two spread shadows, no markup, follows the element's own
   radius. Quiet enough to register as an edge, not as a second card. ——— */
.photo {
  box-shadow: 0 0 0 6px rgba(29, 29, 31, 0.028),
    0 0 0 7px rgba(29, 29, 31, 0.06),
    0 30px 70px -38px rgba(29, 29, 31, 0.35);
}

/* ——— Island CTA: the arrow lives in its own circle, flush right, and
   moves on hover. Nav pill stays text-only; it is chrome, not a moment. — */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: -6px -14px -6px 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.btn-large .btn-arrow {
  width: 32px;
  height: 32px;
  margin: -8px -20px -8px 8px;
}

/* a drawn arrow, one stroke at every size, never the text glyph */
.btn-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-large .btn-arrow svg { width: 16px; height: 16px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover .btn-arrow {
    transform: translate(3px, -1px) scale(1.06);
    background: rgba(255, 255, 255, 0.22);
  }
}

/* ——— Mobile menu links arrive in sequence ————————————————————— */
.menu-open .mobile-menu a {
  opacity: 1;
  transform: none;
}

.menu-open .mobile-menu a:nth-child(1) { transition-delay: 0.06s; }

.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.11s; }

.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.16s; }

.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.21s; }

.menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.26s; }

.menu-open .mobile-menu a:nth-child(6) { transition-delay: 0.31s; }

/* Reduced motion for the menu, stated last and at matching specificity so
   it beats the open-state rule above. Before this, `.menu-open .mobile-menu`
   (0,2,0) outranked an earlier `.mobile-menu { transition: none }` (0,1,0),
   so people who asked for no motion still got the fade and the delayed
   hide. Without motion the menu simply appears and simply goes. */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .menu-open .mobile-menu, .mobile-menu a, .menu-open .mobile-menu a {
    transition: none;
  }

  .mobile-menu { transform: none; }
}

/* The menu's primary button had ink text on an ink pill: `.mobile-menu a`
   (0,1,1) outranked `.btn` (0,1,0) for colour, so the label vanished.
   Caught in the first screenshot of the menu actually open. The same rule also
   stripped the pill's padding and set its label at the 32px link size, so the
   words ran into the rounded ends; the button keeps its own shape and size. */
.mobile-menu a.btn {
  color: var(--on-image);
  padding: 16px 30px;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.mobile-menu a.btn:hover { color: var(--on-image); }

/* A 44pt target belongs to a standalone link, not to one inside a paragraph,
   where inline-block + min-height inflated the line box by 40px. */
.cta-row .text-link, .section-link .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* A standalone link that can wrap keeps its arrow in the text flow, after the
   last word, instead of floating beside the whole wrapped block. */
.section-link .text-link {
  display: inline;
  min-height: 0;
  padding-block: 12px;
}

@media print {
  .js .reveal, .js .reveal:not(.in), .js .reveal-img, .js .reveal-img:not(.in) {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .nav, .mobile-menu, .btn, .skip-link { display: none; }
}

/* Mobile overrides for rules declared late in the file. A max-width block
   placed BEFORE a base rule of equal specificity loses to it; these sit last. */
@media (max-width: 1000px) {
  .closing {
    min-height: 0;
  }

  .closing-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .closing .section-text { grid-column: 1; }

  .closing-media {
    position: static;
    inset: auto;
    aspect-ratio: 4 / 3;
    margin: 0 calc(-1 * var(--rail)) 24px;
    mask-image: linear-gradient(180deg, black 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, black 55%, transparent 100%);
    mask-composite: add;
    -webkit-mask-composite: source-over;
  }

  /* Stacked: the photo is a 4:3 picture above the copy, cropped to keep the whole group. */
  .closing-media img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 50%;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Wide screens: the hero (and the nav that must align with it) open past the
   reading column, so the claim and the card use the room a large display gives. */
@media (min-width: 1441px) {
  :root { --rail: clamp(160px, 9vw, 240px); }

  .nav-inner { max-width: none; }

  .section-text { max-width: calc(1040px + 2 * var(--rail)); }
}

/* Tablets and phones: V1's tall 4:5 crop suited one photo with cards stacked
   under it; V2's photographs are wide groups of people, so they stay landscape. */
@media (max-width: 860px) {
  .photo { aspect-ratio: 4 / 3; }
}

/* The nav keeps its menu button reachable on the narrowest phones. */
@media (max-width: 420px) {
  .nav-cta-full { display: none; }

  .nav-cta-short { display: inline; }
}

@media (max-width: 340px) {
  .btn-nav { display: none; }
}

/* Phones. There is no scroll film on a phone: the inline script in <head> leaves film-on off below
   761px wide, and on a phone held sideways, because the client found the pinned film hard to use there
   (Nov 2026). The hero is a fixed picture instead. The opening frame, cut upright for the screen (the
   <picture>'s portrait source), fills the first screen with the headline low over a wash, as the film's
   first moment looked; the film's lines then follow on the page as type. On the homepage they are the
   draft's opening: the first and the last set as headings, the three between ticked as a status board
   would tick them, with the floor they describe as a still from the film, and the last is read straight
   into the part that follows it. The html.film-on rules further down remain for a wide window narrowed
   after it loaded. */
@media (max-width: 760px) {
  html:not(.film-on) .film-stage { --still-h: clamp(560px, 100svh, 900px); min-height: 0; }

  html:not(.film-on) .film-poster,
  html:not(.film-on) .film-scrim { bottom: auto; height: var(--still-h); }

  html:not(.film-on) .film-scrim {
    background: linear-gradient(0deg, var(--bg) 0%, rgba(251, 251, 253, 0.95) 34%, rgba(251, 251, 253, 0.86) 50%, rgba(251, 251, 253, 0) 74%);
  }

  /* its two parts sit straight on the stage: the headline over the picture, the lines after it */
  html:not(.film-on) .film-copy { display: contents; }

  html:not(.film-on) .film-beat.is-hero {
    position: relative;
    z-index: 2;
    min-height: var(--still-h);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 24px 40px;
  }

  /* a part's distance from the button above it, and half of one to whatever follows */
  html:not(.film-on) .film-story {
    position: relative;
    z-index: 2;
    max-width: none;
    padding: calc(var(--space-section) - 40px) 24px calc(var(--space-section) / 2);
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  html:not(.film-on) .film-story .film-beat + .film-beat { margin-top: 24px; }

  html:not(.film-on) .film-story .film-line {
    font-size: clamp(1.375rem, 6.2vw, 1.75rem);
    font-weight: 640;
    letter-spacing: -0.022em;
    line-height: 1.18;
    color: var(--ink);
    text-wrap: balance;
  }

  html:not(.film-on) .film-story .film-line.is-long { font-size: 1.25rem; line-height: 1.3; }

  html:not(.film-on) .film-story .film-line em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 1.06em;
  }

  html:not(.film-on) .film-story .film-sub { margin-top: 8px; }

  /* the homepage's lines: a heading, three ticked signals, the floor they describe, a heading */
  html:not(.film-on) .film-story .is-open .film-line,
  html:not(.film-on) .film-story .is-open ~ .is-finale .film-line { font-size: var(--t-h2-side); letter-spacing: -0.03em; line-height: 1.06; font-weight: 640; }

  html:not(.film-on) .film-story .is-open + .is-tick { margin-top: var(--space-join, 18px); }

  html:not(.film-on) .film-story .is-tick + .is-tick { margin-top: 8px; }

  html:not(.film-on) .film-story .is-tick .film-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.012em;
    line-height: 1.3;
  }

  html:not(.film-on) .film-tick {
    flex: none;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo));
    color: var(--gold);
  }

  html:not(.film-on) .film-tick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

  html:not(.film-on) .film-still {
    display: block;
    margin: calc(var(--space-join, 18px) * 1.4) 0 0;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo));
    box-shadow: var(--shadow-lg);
  }

  html:not(.film-on) .film-still img { width: 100%; height: 100%; object-fit: cover; }

  html:not(.film-on) .film-story .film-still + .is-finale { margin-top: var(--space-beat, 56px); }

  /* "Then it turned." is read with what turned, the part that follows it */
  html:not(.film-on) .home .film-story { padding-bottom: 0; }

  html:not(.film-on) .film + .turned { padding-top: var(--space-join, 18px); }
}

/* A phone held sideways has no film either. It keeps the wide still hero (the picture behind, the
   headline, then the lines as a card), sized to the short screen so the button is on the first one. */
@media (orientation: landscape) and (max-height: 500px) {
  html:not(.film-on) .film-stage { min-height: 100svh; }

  html:not(.film-on) .film-copy { justify-content: flex-start; gap: 28px; padding: 92px var(--rail) 36px; }

  html:not(.film-on) .film-beat.is-hero h1 { font-size: clamp(1.875rem, 9.5vh, 2.5rem); }

  html:not(.film-on) .film-beat.is-hero .lede { margin-top: 10px; font-size: 1rem; line-height: 1.45; }

  html:not(.film-on) .film-beat .cta-row { margin-top: 16px; }
}

@media (max-width: 760px) {
  /* First paint on a portrait screen: crop the poster where the film will open (film.js
     then sets the exact position from data-focus). */
  html.film-on .film-poster img { object-position: var(--poster-x, 50%) 50%; }

  /* The opening face sits just above the hero lines on a phone; the eyebrow would land on
     it, and the lede already names who this is for. */
  html.film-on .film-beat.is-hero .hero-kicker { display: none; }

  html.film-on .film-scrim {
    background: linear-gradient(0deg, rgba(251, 251, 253, 0.97) 0%, rgba(251, 251, 253, 0.9) 36%, rgba(251, 251, 253, 0) 64%);
  }

  html.film-on .film-beat {
    left: 24px;
    width: calc(100% - 48px);
    justify-content: flex-end;
    padding-bottom: 76px;
  }

  html.film-on .film-meter {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }

  html.film-on .film-cue { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Homepage body, in V1's layout language
   After the film, every section opens centred (a heading with one serif accent, then a lede)
   and carries one relevant photograph, framed, bled or staged, alternating plain and tinted
   bands. The copy is V2's, word for word. The film is the page's motion; the body stays still.
   ═══════════════════════════════════════════════════════════════ */
.t-aside {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 36em;
  text-wrap: pretty;
}

.nobr { white-space: nowrap; }

.pdf-tag {
  margin-left: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease);
}

.btn-ghost:hover { background: var(--ink); color: var(--on-image); }

.btn-ghost-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn-ghost:hover .btn-ghost-arrow { transform: translateX(3px); }
}

.btn-ghost:active { transform: scale(0.98); }

/* standalone text links in the body keep a 44px target, and stay in the text flow so one
   that wraps keeps its arrow after the last word (as .section-link does) */
.couplet-link .text-link,
.dev-band .text-link { display: inline; padding-block: 12px; }

/* ——— The discovery, in V1's framed-photo layout ———
   A centred opening, then the photograph of colleagues in conversation carrying the three steps
   as frosted cards along its base. The third card ends on the colon; what that work taught (the
   statement) follows as its own section, #living, on a photograph of the people it is about. */
.disc .section-text h2 { max-width: 19ch; margin-inline: auto; }

.disc .section-text .lede { max-width: 34em; margin-inline: auto; }

.disc-steps {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.disc-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: baseline;
  padding: 18px 20px 19px;
}

/* frosted, so the people stay in view behind the words (here and on the Eyris page's #act) */
.disc-steps li,
.act-qs li {
  border-radius: var(--radius-card);
  background: rgba(251, 251, 253, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, var(--shadow-md);
}

.disc-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--gold);
}

.disc-steps p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--ink);
}

/* the colon: the card that hands the reader to the statement */
.disc-steps .is-turn p { color: var(--gold); }

@media (prefers-reduced-transparency: reduce) {
  .disc-steps li,
  .act-qs li { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
}


/* ——— The companies, as their own section ———
   Twelve marks on one white plate, divided by hairlines like a register, on a warm band of their
   own between the discovery and what it taught. They rest in grey and show their own colour under
   a pointer. Mark sizes are set in the markup by type: long wordmarks share a height, compact
   marks and emblems sit smaller. */

.proof h2 { font-size: var(--t-h2-side); }

.proof-wall {
  list-style: none;
  margin: clamp(36px, 5vh, 56px) auto 0;
  padding: 0;
  max-width: min(1120px, calc(100% - 2 * var(--rail)));
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.proof-wall li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(104px, 9.5vw, 140px);
  padding: 20px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.proof-wall li:nth-child(6n) { border-right: 0; }

.proof-wall li:nth-last-child(-n + 6) { border-bottom: 0; }

.proof-wall img {
  max-width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.82;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

@media (hover: hover) {
  .proof-wall li:hover img { filter: none; opacity: 1; }
}

/* ——— What we learned to see is coherence, in V1's bleeding-photo layout ———
   The team working from one shared plan fades in from the left edge and the idea sits beside
   it: the definition with its four terms drawn out, then the claim about the people pictured. */
.coh,
.sig { position: relative; overflow: hidden; }

.coh-media {
  position: absolute;
  left: 0;
  top: calc(var(--space-section) / 2);
  width: 70%;
  aspect-ratio: 16 / 9;
  margin: 0;
  mask-image: linear-gradient(90deg, black 0, black 60%, transparent 100%), linear-gradient(180deg, transparent 0, black 10%, black 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black 0, black 60%, transparent 100%), linear-gradient(180deg, transparent 0, black 10%, black 84%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.coh-media img,
.sig-media img { width: 100%; height: 100%; object-fit: cover; }

/* at least as tall as the photo (70% of the width at 16:9), so the section always holds it */
.coh-grid,
.sig-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  min-height: 39.375vw;
  padding-inline: var(--rail);
}

.coh-copy,
.sig-copy { grid-column: 2; }

.coh-copy .lede,
.sig-copy .lede { max-width: 30em; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; }

.coh-copy .lede b { font-weight: 600; color: var(--ink); }

.coh-claim {
  margin-top: var(--beat);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--ink);
  text-wrap: balance;
}

.coh-aside { margin-top: var(--join); font-size: 1.0625rem; line-height: 1.6; color: var(--ink-faint); text-wrap: pretty; }

/* ——— AI changed that, in V1's split card ———
   The limitation leads into the headline. Then one card: the advisor beside a leader at his own
   laptop on one side, and on the other the two moments as a short timeline (a hollow node for
   when the exploring began, a lit one for today), with the pair closing under a hairline. The
   Eyris page's #nothing-new uses the same card. */
.turn-setup {
  max-width: 34em;
  margin: 0 auto 1.25rem;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-soft);
  text-wrap: balance;
}


.turn-card {
  margin: clamp(56px, 8vh, 88px) auto 0;
  max-width: min(1120px, calc(100% - 2 * var(--rail)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* a card that opens its section starts at the section's edge (on #turn a line of copy comes first) */
.section > .turn-card:first-child { margin-top: 0; }

.turn-photo { margin: 0; min-height: 100%; }

.turn-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }

.turn-story { padding: clamp(32px, 4.2vw, 64px); display: flex; flex-direction: column; justify-content: center; }

/* the timeline: sizes set on the list, so the nodes and the rail can sit on the first line's centre */
.turn-line {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  --tl-gap: clamp(22px, 3vh, 34px);
  display: grid;
  gap: var(--tl-gap);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* the rail runs from each node to the next one's, so it always ends on today, however lines wrap */
.turn-line li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.75em;
  bottom: calc(-1 * var(--tl-gap) - 0.75em);
  width: 2px;
  background: linear-gradient(180deg, var(--gold-wash), var(--gold));
}

.turn-line li { position: relative; padding-left: 38px; }

.turn-line li::before {
  content: "";
  position: absolute;
  left: 0;
  z-index: 1;
  top: calc(0.75em - 8px);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.turn-line li.is-now::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(128, 98, 58, 0.14); }

.turn-line b { font-weight: 650; color: var(--ink); }

.turn-line .is-now b { color: var(--gold); }

.turn-pair { margin-top: clamp(30px, 4vh, 44px); padding-top: clamp(26px, 3.4vh, 36px); border-top: 1px solid var(--hairline); }

.turn-pair p {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}

.turn-pair p:first-child { color: var(--ink-faint); }

.turn-pair p + p { margin-top: 0.35em; }

/* ——— Coherence Intelligence, in V1's two-column product layout ———
   What it watches on the left and what it shows you in a product card on the right, in the
   client's words only and never an invented reading, then the couplet on the photograph of the
   people whose judgment it serves. */
.ci .ci-name { font-size: var(--t-display); }

/* the bridge starts the name's sentence, so it is the heading's first line, in ink at the
   promise's scale, not a small grey label above the name */
.ci-bridge {
  display: block;
  margin-bottom: 0.1em;
  font-size: clamp(1.5rem, 2.55vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.17;
  color: var(--ink);
}

.ci .section-text .lede { max-width: 30em; margin-inline: auto; }

/* one centred group: the list sits close to the arrow and the card is as wide as its longest line */
.ci-map {
  margin: clamp(56px, 8vh, 88px) auto 0;
  max-width: calc(1120px + 2 * var(--rail));
  padding-inline: var(--rail);
  display: grid;
  grid-template-columns: auto auto minmax(0, 38rem);
  justify-content: center;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.ci-cap { max-width: 16em; margin: 0 0 18px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-soft); text-wrap: balance; }

.ci-in, .ci-out { list-style: none; margin: 0; padding: 0; display: grid; }

.ci-in { gap: 14px; }

.ci-in li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* drawn icons, one stroke, each in a warm tile */
.ci-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo));
  color: var(--gold);
}

.ci-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.ci-arrow { width: clamp(56px, 6vw, 96px); color: var(--gold); }

.ci-arrow svg { display: block; width: 100%; height: auto; }

.ci-card { padding: clamp(24px, 2.4vw, 34px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }

.ci-card-head { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 0.9375rem; font-weight: 650; color: var(--ink); }

.ci-card .ci-cap { margin-bottom: 6px; }

.ci-out li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--hairline);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 560;
  line-height: 1.35;
  color: var(--ink);
}

.ci-out li:first-child { border-top: 0; }

.ci-out .ci-ico,
.shape-list .ci-ico,
.act-qs .ci-ico { width: 38px; height: 38px; border-radius: 11px; }

.ci-out .ci-ico svg,
.shape-list .ci-ico svg,
.act-qs .ci-ico svg { width: 19px; height: 19px; }

/* ——— The two photo scenes ———
   #intelligence ends on its couplet, and #living carries the discovery's statement; each is set on
   the calm window light of its photograph, with the document that backs it on the scene too.
   The copy is placed against measured head positions, as % of each photograph. On the Coherence
   Intelligence photo the heads under the top right start 35% down, so the couplet takes two lines
   in a 49% column with the white paper under it. The #living photo is cropped from its source so
   the whole left 40% is window light (the seated heads start 41% across and 47% down, the man
   crossing the floor 66% across). Its frame is centred 48% down, so on a wide screen the people
   sit mid-frame rather than cut off along the bottom; the title and its line sit 11% down on the
   left and the case studies in the bottom-left corner, on the window light and floor. Below 1100px the white paper's long title wraps and its button no longer
   clears the heads, so on both scenes the copy leads and the photograph follows. */
.ci-scene,
.living-scene { position: relative; max-width: min(var(--wide-max), calc(100% - 48px)); margin: 0 auto; }

/* a section's worth of space from the Coherence Intelligence map above it */
.ci-scene { margin-top: var(--space-section); }

.ci-scene-photo,
.living-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo));
  box-shadow: var(--shadow-lg);
}

.ci-scene-photo img,
.living-photo img { width: 100%; height: 100%; object-fit: cover; }

/* anchored near the top: the standing figure keeps his head, and the seated heads sit below the copy */
.ci-scene-photo img { object-position: 50% 6%; }

.living-photo img { object-position: 50% 48%; }

.ci-scene-copy,
.living-copy { position: absolute; z-index: 1; margin: 0; }

.ci-scene-copy { top: 4%; right: 4%; width: 49%; }

.living-copy { top: 11%; left: 4.5%; width: 52%; }

.ci-couplet {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 3.2vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
}

/* the statement is #living's title, so it is set as every section title is: the SF stack at 640
   with the Instrument Serif italic accent (h2 and h2 em), sized exactly as the discovery's
   heading beside its photograph (--t-h2-side, held to 5.6svh), and capped by its 52% column (the
   first sentence is 12.89x its size wide, ~2% spare) so each sentence keeps to one line */
.living-statement { margin: 0; font-size: min(var(--t-h2-side), 5.6svh, calc(min(var(--wide-max), 100vw - 48px) * 0.0395)); }

.ci-couplet span,
.living-statement span { display: block; }

.ci-couplet em,
.living-statement em { color: var(--gold); }

/* the title's line, set exactly as the discovery's lede beside its photograph */
.living-lede {
  margin-top: clamp(14px, 2.4svh, 24px);
  font-size: min(clamp(1.0625rem, 1.5vw, 1.3125rem), 2.7svh);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
}

/* two classes: the generic .doc-cta (40px, centred) is declared later at one */
.doc-cta.scene-cta { margin-top: clamp(16px, 2.4svh, 26px); text-align: left; }

/* the case studies sit apart from the title, in the photograph's bottom-left corner */
.living-scene .living-cta { position: absolute; z-index: 1; left: 4.5%; bottom: 6%; margin: 0; }

@media (max-width: 1099px) {
  .ci-scene-copy,
  .living-copy { position: static; width: auto; margin-bottom: 24px; text-align: center; }

  .ci-couplet { font-size: clamp(2rem, 8.4vw, 2.5rem); text-wrap: balance; }

  /* stacked, the title and its line lead like any centred section's, and wrap as they do */
  .living-statement { font-size: min(var(--t-h2), 7.5svh); }

  .living-scene .living-cta { position: static; margin: 0 0 24px; text-align: center; }

  .living-lede { margin-top: 14px; font-size: min(clamp(1.1875rem, 2.1vw, 1.625rem), 3svh); }

  .doc-cta.scene-cta { margin-top: 20px; text-align: center; }

  /* stacked, the frame is the people rather than the window */
  .living-photo img { object-position: 64% 50%; }
}

/* ——— What that means for you, in V1's hero-style stage ———
   The question is set large under the heading. Then the moment it answers: a leader's phone
   lighting up on her desk, with the card it shows floating over the calm half of the photograph
   ("If not," runs straight into the six questions, the client's own, with no invented answers).
   The pair closes as two cards: the dashboard it is not, muted, and the drift it catches, drawn. */
.mean .section-text .lede { margin-top: 1.25rem; }

.mean-q {
  max-width: 20ch;
  margin: 0.4rem auto 0;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 640;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}

.mean-stage { position: relative; max-width: min(var(--wide-max), calc(100% - 48px)); margin: clamp(48px, 7vh, 80px) auto 0; }

.mean-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo));
  box-shadow: var(--shadow-lg);
}

.mean-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.mean-card {
  position: absolute;
  top: 50%;
  right: 5%;
  width: min(420px, 38%);
  padding: 22px 24px 10px;
  transform: translateY(-50%);
}

/* the Eyris screen, one white card wherever it appears (here and in #eyris) */
.mean-card,
.ey-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 2px 6px rgba(29, 29, 31, 0.08), 0 40px 80px -40px rgba(29, 29, 31, 0.45);
}

.app-head { display: flex; align-items: center; gap: 10px; margin: 6px 4px 14px; font-size: 1rem; font-weight: 650; color: var(--ink); }

.app-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 50%, var(--white) 0 22%, var(--gold) 23% 100%);
}

.mean-card .app-head,
.ey-card .app-head { margin: 0 0 12px; }

.mean-if,
.ey-lead { margin-bottom: 4px; font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; color: var(--gold); }

.mean-list { list-style: none; margin: 0; padding: 0; }

/* each question is a row that would open, so it carries a chevron and nothing pretends to answer */
.mean-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--hairline);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.mean-list li:first-child { border-top: 0; }

.mean-list svg,
.shape-list li > svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--ink-faint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-transparency: reduce) {
  .mean-card,
  .ey-card { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.mean-pair {
  margin: clamp(48px, 7vh, 80px) auto 0;
  max-width: min(1120px, calc(100% - 2 * var(--rail)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.mean-then,
.mean-now { margin: 0; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-card); }

.mean-then,
.mean-now p {
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.25;
  text-wrap: balance;
}

/* the dashboard it is not: set back, the text resting at the foot of the card */
.mean-then { display: flex; align-items: flex-end; background: rgba(29, 29, 31, 0.035); color: var(--ink-faint); }

.mean-now { display: grid; gap: 18px; background: var(--white); box-shadow: var(--shadow-md); color: var(--ink); }

/* the drift it catches: the expected path dashed, the actual one bending away, lit where it starts */
.mean-drift { width: 100%; max-width: 340px; height: auto; overflow: visible; }

.mean-drift path { fill: none; stroke-width: 2; stroke-linecap: round; }

.mean-drift .expected { stroke: var(--ink-faint); stroke-dasharray: 5 7; stroke-width: 1.5; }

.mean-drift .actual { stroke: var(--ink); }

.mean-drift .halo { fill: rgba(128, 98, 58, 0.16); }

.mean-drift .point { fill: var(--gold); }

/* ——— Meet Eyris Aware, in V1's hero-style stage ———
   The name and what it is, centred. Then the leader reading his phone, with what it shows him on
   the same card as #meaning's, mirrored onto the calm corridor at the left of the frame: the four
   things it shows as rows, each lit by a bronze point, then how it fits on a warm inset, then the
   button. When the card needs more height than the frame's 16:9, the stage grows with it and the
   photograph re-crops, keeping him clear of the card. The Eyris page's #shaped uses this stage too. */
.ey .section-text .lede { max-width: 30em; margin-inline: auto; }

.ey-stage {
  position: relative;
  max-width: min(var(--wide-max), calc(100% - 48px));
  margin: clamp(48px, 7vh, 80px) auto 0;
  display: flex;
  align-items: center;
  padding: 28px 4%;
}

.ey-shot {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo));
  box-shadow: var(--shadow-lg);
}

.ey-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }

.ey-card { position: relative; width: min(460px, 40%); padding: 22px 26px 26px; }

.ey-lines { list-style: none; margin: 0; padding: 0; }

.ey-lines li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

.ey-lines li:first-child { border-top: 0; }

/* each thing it shows is a live signal: a bronze point with a soft halo, centred on the first line */
.ey-lines li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(128, 98, 58, 0.14);
}

/* how it fits sits apart on a warm inset, a step back from what it shows */
.ey-fit,
.shape-note {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo));
}

.ey-fit-claim { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink); text-wrap: pretty; }

.ey-nos { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }

.ey-nos li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; line-height: 1.4; color: var(--ink-soft); }

.ey-nos svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ey-cta { margin-top: 20px; }

/* ——— The Eyris page: shaped around you ———
   The same stage, on a photograph made for it: the leader tells his advisor what matters to him,
   and the window beside them stays calm for the card. The card is what she shapes, as three rows
   that would open (each with its drawn icon), then the promise that it keeps changing with him on
   the warm inset. The laptop's corner sits a third of the way across the frame, so the card is
   held inside that third and the photograph is anchored left when the stage grows. Their heads sit
   12% down the frame, so a wide crop is anchored toward the top and keeps them whole. */
.shaped .ey-stage { padding-inline: 3%; }

.shaped .ey-shot img { object-position: 0% 22%; }

.shaped .ey-card { width: clamp(340px, 30%, 400px); }

.shape-list { list-style: none; margin: 6px 0 0; padding: 0; }

.shape-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

.shape-list li:first-child { border-top: 0; }

.shape-list li > span:last-of-type { flex: 1; }

.shape-note { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; font-weight: 500; line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }

.shape-note svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ——— The Eyris page: what your organization already knows, in V1's bleeding-photo layout ———
   V1 told this part the same way. The people who see change first fade in from the left edge, and
   the idea sits beside them, ending on the serif line about them. The shelving at the right of the
   photograph dissolves under the copy. The grid shares #coherence's rules; the photo here is a
   little wider and fades sooner, and it starts level with the band's content box. */
.sig-media {
  position: absolute;
  left: 0;
  top: calc(var(--space-section) / 2);
  width: 72%;
  aspect-ratio: 16 / 9;
  margin: 0;
  mask-image: linear-gradient(90deg, black 0, black 56%, transparent 88%), linear-gradient(180deg, transparent 0, black 10%, black 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black 0, black 56%, transparent 88%), linear-gradient(180deg, transparent 0, black 10%, black 84%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

/* at least as tall as the photo (72% of the width at 16:9), which starts level with the box */
.sig-grid { min-height: 40.5vw; }

.coh-copy h2,
.sig-copy h2 { font-size: var(--t-h2-side); }

.sig-claim { margin-top: var(--join); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); font-weight: 500; line-height: 1.5; color: var(--ink); text-wrap: pretty; }

.sig-statement {
  margin-top: var(--beat);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.sig-statement em { color: var(--gold); }

/* ——— The Eyris page: know while you can still act, in V1's framed-photo layout ———
   The centred heading, then the leader who knows in time, looking out over a floor still in motion.
   The five questions Eyris answers are frosted cards resting on the photograph's lower edge, half on
   it, because the base of this photograph holds a meeting table and its people. Each card has its
   drawn icon from the homepage cards' set. The statement lands under them. */
.act .photo img { object-position: 50% 25%; }

.act-qs {
  position: relative;
  margin: -56px 24px 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.act-qs li {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  padding: 16px 18px 18px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}

/* ——— The Eyris page: no new system to feed, in V1's split card ———
   The homepage #turn's card (the .turn-* rules): on one side a still life of the tools a leader
   already uses, nothing added; on the other what Eyris works with, then the three things it never
   asks of you as rows, each checked in bronze. */
/* the desk things sit in the lower middle of the frame */
.feed-photo img { object-position: 50% 62%; }

.feed-lead {
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--ink);
  text-wrap: balance;
}

.feed-nos { list-style: none; margin: clamp(24px, 3.5vh, 36px) 0 0; padding: 0; }

.feed-nos li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  font-weight: 560;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

.feed-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo));
  color: var(--gold);
}

.feed-check svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ——— The Eyris page: thirty years, now working 24/7 ———
   What the heading says, drawn as a hand-over: the founders whose thirty years they are, a bronze
   arrow, and a 24-hour dial with the Eyris mark at its centre for the system that now works around
   the clock (a bronze ring for the whole day, the hours ticked, a lit point for now). Each card
   carries its own sentence under a V1-style stat figure; the figures repeat the heading, so they
   are hidden from screen readers. The statement closes the section. */
/* each sentence of the heading keeps its own line */
.xp h2 .h2-line { display: block; }

.xp-pair {
  margin: clamp(48px, 7vh, 72px) auto 0;
  max-width: min(1040px, calc(100% - 2 * var(--rail)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  align-items: stretch;
}

.xp-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.8vw, 36px);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.xp-faces { display: flex; height: 80px; }

.xp-faces picture { display: block; flex: none; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--warm-lo); box-shadow: 0 0 0 3px var(--white); }

.xp-faces picture + picture { margin-left: -14px; }

.xp-faces img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }

.xp-dial { width: 80px; height: 80px; overflow: visible; }

.xp-dial-ring { fill: none; stroke: var(--gold); stroke-width: 2; }

.xp-dial-ticks line { stroke: var(--ink-faint); stroke-width: 1.4; stroke-linecap: round; }

.xp-dial-halo { fill: rgba(128, 98, 58, 0.18); }

.xp-dial-now,
.xp-dial-mark { fill: var(--gold); }

.xp-num {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.75rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.xp-num span { font-size: 0.45em; letter-spacing: 0; }

.xp-card:last-child .xp-num { color: var(--gold); }

.xp-text { margin-top: 14px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); font-weight: 500; line-height: 1.45; color: var(--ink); text-wrap: pretty; }

/* the names reach the About page, with a 44px target that doesn't move the line */
.xp-names { margin-top: auto; padding-top: 18px; font-size: 0.9375rem; }

.xp-names a { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--ink-soft); text-decoration: none; }

.xp-names a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.xp-arrow { align-self: center; }

/* ——— The Eyris page: don't take our word for it ———
   The offer, then the test drive's three steps on one track: hollow nodes for the two ways of
   seeing, a lit bronze one for the decision, which stays the leader's, with the last stretch of
   track warming toward it. The button follows, and the companies close the section on the
   homepage's white plate (.proof-wall), under a plain caption. */
.drive-steps {
  list-style: none;
  margin: clamp(48px, 7vh, 72px) auto 0;
  padding: 0;
  max-width: min(960px, calc(100% - 2 * var(--rail)));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.drive-steps li {
  position: relative;
  padding: 36px 12px 0;
  text-align: center;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}

/* the node */
.drive-steps li::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink-faint);
}

/* the track, drawn from each node to the next */
.drive-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6.5px;
  left: calc(50% + 15px);
  right: calc(-50% + 15px);
  height: 1px;
  background: var(--ink-faint);
  opacity: 0.45;
}

.drive-steps li:nth-child(2)::after { background: linear-gradient(90deg, var(--ink-faint), var(--gold)); opacity: 0.8; }

.drive-steps .is-decide::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(128, 98, 58, 0.16); }

.drive .section-link { margin-top: clamp(40px, 6vh, 56px); }

.drive-proof { margin-top: clamp(80px, 11vh, 120px); }

.drive-proof-label { text-align: center; font-size: 1.0625rem; font-weight: 500; color: var(--ink-soft); }

.drive-proof .proof-wall { margin-top: 20px; }

/* ——— The Contact page ———
   The fastest path first: the greeting and the consultation button, centred. Then writing first,
   in the homepage #turn's split card: an advisor reading a message with his full attention (we
   read everything) beside the form, which keeps its own fields, checks and preview reply. */

.ct-photo img { object-position: 58% 45%; }

.ct-story { padding: clamp(28px, 3.4vw, 48px); }

.ct-story .form-card { width: 100%; max-width: none; margin: 0; }

.ct-title { font-size: var(--t-card); letter-spacing: -0.028em; line-height: 1.1; }

.ct-sub { margin: 8px 0 26px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-soft); }

/* the reply takes the form's place inside the card, so it drops its own card */
.ct-story .success-panel { border: 0; padding: 8px 0; text-align: left; }

/* ——— The About page header ———
   One photograph, full width: a leadership team seeing the structure underneath their company for
   the first time, drawn on the glass as circles and lines with two links broken in amber, while
   their advisor points to one. The belief sits over the calm window on the left third, where a
   soft light wash keeps it legible and ends before the drawing; the photograph fades into the page. */
.ab-hero {
  position: relative;
  /* never much taller than the photograph's own shape, so a tall window can't crop the team away */
  min-height: clamp(560px, min(88svh, 60vw), 920px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

/* starts under the nav with a short fade, so the top of the drawing (the people at the top) shows below it */
.ab-hero-media {
  position: absolute;
  inset: 40px 0 0;
  margin: 0;
  mask-image: linear-gradient(180deg, transparent 0, black 48px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, black 48px);
}

/* anchored left of centre and to the top: a narrower frame crops from the people's side and a
   wider one from the floor, so the drawing holds still */
.ab-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 0%; }

.ab-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(251, 251, 253, 0.9) 0%, rgba(251, 251, 253, 0.7) 20%, rgba(251, 251, 253, 0) 35%),
    linear-gradient(0deg, var(--bg) 0, rgba(251, 251, 253, 0) var(--fade));
}

.ab-hero-text {
  position: relative;
  z-index: 1;
  width: min(36%, 600px);
  box-sizing: content-box;
  padding: 120px 0 72px max(24px, 4.6vw);
}

/* the header photograph dissolves over its last --fade, so the rhythm is counted from the middle of that fade */
.ab-hero + .section { padding-top: calc(var(--space-section) - var(--fade) / 2); }

/* the break is for a centred page hero; here the line balances itself in the window's width */
.ab-hero .br-wide { display: none; }

.ab-hero h1 { font-size: clamp(2.5rem, 3.7vw, 3.625rem); line-height: 1.04; text-wrap: balance; }

.ab-hero .lede { max-width: 20em; margin-top: 1.5rem; }

/* the photograph already fades into the page, so the first section opens with a short top of its own */

/* ——— The About page ———
   The story in the site's layouts, every word the client's own. First what the two friends learned
   to see, beside that structure drawn and labelled in the paragraph's own words: people linked by
   their commitments, most still fitting together, two dashed in bronze where they quietly stopped,
   far from the people at the top. What every business runs on follows as a row under a hairline. Then one company at a
   time in the split card (an advisor with a leader writing it down by hand). Then the turn, as one
   contrast (what they didn't do beside what they did), landing on the line that says what they do. Then the team, and the closing band. */
.ab-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: min(1120px, calc(100% - 2 * var(--rail)));
  margin: 0 auto;
}

.ab-copy h2 { font-size: var(--t-h2-side); }

.ab-lede { margin-top: 1.25rem; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; font-weight: 500; color: var(--ink-soft); text-wrap: pretty; }

.ab-problem {
  margin: clamp(48px, 7vh, 72px) auto 0;
  max-width: min(1120px, calc(100% - 2 * var(--rail)));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid var(--hairline);
}

.ab-strong { font-size: clamp(1.375rem, 2.1vw, 1.875rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); text-wrap: balance; }

.ab-body { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }

.ab-map { margin: 0; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }

.ab-map-svg { display: block; width: 100%; height: auto; }

.ab-held { stroke: var(--ink-faint); stroke-width: 2; stroke-linecap: round; opacity: 0.6; }

.ab-stopped { stroke: var(--gold); stroke-width: 2.4; stroke-dasharray: 2 8; stroke-linecap: round; }

/* where each stopped link broke */
.ab-break { fill: var(--white); stroke: var(--gold); stroke-width: 2; }

.ab-node { fill: var(--white); stroke: var(--ink-faint); stroke-width: 1.8; }

/* a small figure in every node, so the nodes read as people */
.ab-person { fill: none; stroke: var(--ink-soft); stroke-width: 1.8; stroke-linecap: round; }

.ab-top-person { fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; }

.ab-top { fill: var(--ink); }

.ab-top-halo { fill: rgba(29, 29, 31, 0.08); }

/* the drawing's labels are the paragraph's own words */
.ab-label { font-family: var(--font-sans); font-size: 16px; font-weight: 500; letter-spacing: -0.005em; fill: var(--ink-soft); }

.ab-label.is-stopped { font-weight: 600; fill: var(--gold); }

.ab-hand-card .turn-photo img { object-position: 42% 50%; }

.ab-hand-title { font-size: var(--t-card); letter-spacing: -0.028em; line-height: 1.1; }

.ab-hand-how { margin-top: 1rem; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); font-weight: 500; line-height: 1.45; color: var(--ink-soft); }

.ab-hand-then { margin-top: var(--beat); padding-top: 18px; border-top: 1px solid var(--hairline); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }

/* the turn in one contrast: what they didn't do, muted, beside what they did, checked in bronze */
.ab-ai-pair {
  margin: clamp(40px, 6vh, 64px) auto 0;
  max-width: min(960px, calc(100% - 2 * var(--rail)));
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
}

.ab-not,
.ab-did { margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-card); }

.ab-not {
  display: flex;
  align-items: flex-end;
  background: rgba(29, 29, 31, 0.035);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink-faint);
  text-wrap: balance;
}

.ab-did {
  display: grid;
  gap: 16px;
  align-content: start;
  background: var(--white);
  box-shadow: var(--shadow-md);
  font-size: clamp(1.1875rem, 1.7vw, 1.4375rem);
  font-weight: 560;
  letter-spacing: -0.012em;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: pretty;
}

.ab-check { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo)); fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ab-scales { margin: clamp(48px, 7vh, 72px) auto 0; padding-inline: var(--rail); text-align: center; font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }

.ab-scales em { font-family: var(--font-serif); font-weight: 400; letter-spacing: 0; font-size: 1.1em; color: var(--gold); }

.ab-mission-line {
  margin: clamp(40px, 6vh, 64px) auto 0;
  max-width: calc(980px + 2 * var(--rail));
  padding-inline: var(--rail);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

.ab-mission-line em { color: var(--gold); }

/* ——— The ask, then the developer band after it ——— */
.closing .section-text.ask { max-width: 30rem; }

.ask-promise {
  margin-top: 1.5rem;
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--ink);
}

.ask-sub { margin-top: 0.75rem; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-soft); }

.ask-cta { margin-top: 2.25rem; display: grid; justify-items: start; gap: 14px; }

.ask-free { max-width: 19em; font-size: 1.0625rem; font-weight: 560; color: var(--ink); }

.dev-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: baseline;
  padding: calc(var(--space-section) / 2) var(--rail) var(--space-section);
  border-top: 1px solid var(--hairline);
}

/* the strip after the closing splits one rhythm around its hairline, instead of adding to it */
.closing:has(+ .dev-band) { padding-bottom: calc(var(--space-section) / 2); }

.dev-band h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 640; letter-spacing: -0.02em; line-height: 1.2; }

.dev-band h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.dev-band .t-aside { max-width: 48em; }

/* Below 1180px a side-cropped photograph would push the drawing on the glass under the headline, so
   the About header stacks: the belief first, the photograph under it, fading into the page. */
@media (max-width: 1180px) {
  .ab-hero { display: flex; flex-direction: column; min-height: 0; }

  .ab-hero::after { display: none; }

  .ab-hero-text { order: 1; width: auto; box-sizing: border-box; padding: 132px var(--rail) 32px; }

  .ab-hero-media {
    order: 2;
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
    mask-image: linear-gradient(180deg, black 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, black 72%, transparent 100%);
  }
}

/* Below 1200px a card on the photograph would be squeezed into a column taller than the window
   (and on #shaped would reach the laptop), so the Eyris stages stack: the photograph first, the
   card hanging from its lower edge, clear of the phone in his hand. */
@media (max-width: 1199px) {
  .ey-stage,
  .shaped .ey-stage { display: block; padding: 0; }

  .ey-shot { position: relative; inset: auto; aspect-ratio: 16 / 9; }

  .ey-card { width: calc(100% - 24px); max-width: 560px; margin: -56px auto 0; }
}

/* Tablets and phones */
@media (max-width: 1000px) {
  /* stacked, the five questions follow the photograph as a list of plain cards */
  .act-qs { grid-template-columns: 1fr; gap: 8px; margin: 12px 0 0; }

  .act-qs li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--white); border: 1px solid var(--hairline); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
}

@media (max-width: 860px) {
  .turn-card { grid-template-columns: 1fr; }

  .turn-photo { aspect-ratio: 4 / 3; }

  .turn-story { padding: 28px 24px 32px; }

  /* stacked, the photo sits above the idea, the whole group kept in the 4:3 crop */
  .coh-media,
  .sig-media {
    position: static;
    width: auto;
    aspect-ratio: 4 / 3;
    margin: 0 0 8px;
    mask-image: linear-gradient(180deg, black 62%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, black 62%, transparent 100%);
    mask-composite: add;
    -webkit-mask-composite: source-over;
  }

  .coh-media img,
  .sig-media img { object-position: 0% 50%; }

  .coh-grid,
  .sig-grid { grid-template-columns: 1fr; min-height: 0; }

  .coh-copy,
  .sig-copy { grid-column: 1; }

  /* stacked, the card follows the photograph instead of floating on it */
  .mean-photo { aspect-ratio: 4 / 3; }

  .mean-card { position: static; width: auto; margin-top: 12px; transform: none; box-shadow: var(--shadow-md); }

  /* the whole group stays in frame on a phone; the steps follow the photo as plain cards */
  .disc .photo { aspect-ratio: 4 / 3; }

  .disc-steps { position: static; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }

  .disc-steps li { background: var(--white); border: 1px solid var(--hairline); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }

  .ci-map { grid-template-columns: 1fr; gap: 0; }

  /* turned to point down from the list to the card; the margins clear its turned length */
  .ci-map .ci-arrow { width: 44px; margin: 26px 0 26px 22px; transform: rotate(90deg); }

  .ci-scene-photo,
  .living-photo { aspect-ratio: 4 / 3; }

  /* three across on a phone, the hairlines following the new rows */
  .proof-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .proof-wall li { min-height: 88px; padding: 16px 12px; }

  .proof-wall li:nth-child(6n) { border-right: 1px solid var(--hairline); }

  .proof-wall li:nth-child(3n) { border-right: 0; }

  .proof-wall li:nth-last-child(-n + 6) { border-bottom: 1px solid var(--hairline); }

  .proof-wall li:nth-last-child(-n + 3) { border-bottom: 0; }

  /* one person, so on a phone he gets a portrait, face and phone in frame */
  .ey-shot { aspect-ratio: 4 / 5; }

  .ey-shot img { object-position: 76% 30%; }

  /* two people, so the advisor's photograph stays landscape, cropped to them and the laptop */
  .shaped .ey-shot { aspect-ratio: 4 / 3; }

  .shaped .ey-shot img { object-position: 100% 50%; }

  .shaped .ey-card { margin-top: -36px; }

  /* About header on a phone: the taller crop keeps the drawing and the four of them */
  .ab-hero-text { padding-top: 112px; }

  /* the 4:3 crop takes its quarter from the window side, keeping the drawing and all four of them */
  .ab-hero-media { aspect-ratio: 4 / 3; }

  .ab-hero-media img { object-position: 100% 40%; }

  /* About: the story and its drawing stack; the turn's two paragraphs follow each other */
  .ab-split, .ab-problem { grid-template-columns: 1fr; }

  .ab-problem { gap: 12px; }

  /* on a narrow card the labels are set larger in the drawing's own units, and the middle one,
     which would cross the lines at that size, is left to the paragraph */
  .ab-label { font-size: 22px; }

  .ab-labels text:nth-child(2) { display: none; }

  .ab-hand-card .turn-photo img { object-position: 38% 50%; }

  /* on a phone the leader keeps the frame, the floor behind her cropped from the left */
  .act .photo img { object-position: 90% 50%; }

  .dev-band { grid-template-columns: 1fr; gap: 14px; }

  /* at body sizes on a phone, reading lines get body leading */
  .lede,
  .disc-steps p { line-height: 1.5; }
}

/* Phones only: the two cards of #experience stack, the arrow turned to point down from one to
   the other (at 44px, as the product map's is); the contrast pairs follow each other. */
@media (max-width: 640px) {
  .mean-pair, .ab-ai-pair { grid-template-columns: 1fr; }

  .xp-pair { grid-template-columns: 1fr; gap: 0; }

  .xp-arrow { justify-self: center; width: 44px; margin: 18px 0; transform: rotate(90deg); }

  /* on a phone the test drive's track runs down the left of a centred group, each stretch
     drawn from node to node, so it sits under the centred heading rather than on the rail */
  .drive-steps { grid-template-columns: 1fr; gap: 22px; width: fit-content; max-width: min(440px, calc(100% - 2 * var(--rail))); }

  .drive-steps li { padding: 0 0 0 34px; text-align: left; }

  .drive-steps li::before { top: 0.36em; left: 0; margin-left: 0; }

  .drive-steps li:not(:last-child)::after { top: calc(0.36em + 20px); bottom: calc(6px - 22px - 0.36em); left: 6.5px; right: auto; width: 1px; height: auto; }

  .drive-steps li:nth-child(2)::after { background: linear-gradient(180deg, var(--ink-faint), var(--gold)); }

  /* a two-line claim that would leave its last word alone */
  .ey-fit-claim { text-wrap: balance; }
}

/* ═══════════════════════════════════════════════════════════════
   Tablets and phones, 2026-09-27
   A pass through every page on phones (320–430px, and held sideways), tablets upright
   (744–860px) and large tablets (1024px). The desktop, 1200px and up, is untouched.
   ═══════════════════════════════════════════════════════════════ */

/* Rhythm. The spacing between chapters was set in vh for a desktop window, so on a tall phone
   or an upright tablet it ran to 240–320px of empty page, nearly a third of the screen. Below
   1000px it steps down, keeping every tinted band's fades. */
@media (max-width: 1000px) {
  :root { --fade: clamp(48px, 6vh, 72px); --space-section: clamp(112px, 14vh, 144px); }

  .page-hero { padding-top: clamp(120px, 16vh, 168px); }
}

/* Tablets upright, 641–860px. The phone crops (4:3, and 4:5 for the Eyris leader) made every
   photograph 540–900px tall on a 768px screen; landscape crops keep each one a picture, and the
   pairs that argue by contrast stand side by side again, as they do on the desktop. */
@media (min-width: 641px) and (max-width: 860px) {
  .photo, .disc .photo, .mean-photo, .ci-scene-photo, .living-photo, .ey-shot, .shaped .ey-shot { aspect-ratio: 3 / 2; }

  .turn-photo, .coh-media, .sig-media, .ab-hero-media { aspect-ratio: 16 / 9; }

  /* stacked copy keeps a reading measure instead of running the full 720px */
  .coh-copy, .sig-copy, .ab-copy, .ab-strong, .ab-body { max-width: 40rem; }

  .dev-band .t-aside { max-width: 38em; }

  /* the drawing sits in its white card at a readable size, not blown up to the card's width */
  .ab-map-svg { max-width: 560px; margin-inline: auto; }

  .ab-label { font-size: 18px; }

  /* at that size the middle label clears the lines again, so the drawing keeps all three */
  .ab-labels text:nth-child(2) { display: inline; }

  /* twelve marks as three rows of four */
  .proof-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .proof-wall li:nth-child(3n) { border-right: 1px solid var(--hairline); }

  .proof-wall li:nth-child(4n) { border-right: 0; }

  .proof-wall li:nth-last-child(-n + 3) { border-bottom: 1px solid var(--hairline); }

  .proof-wall li:nth-last-child(-n + 4) { border-bottom: 0; }
}

/* Tablets: the five questions under the #act photograph as two centred rows, not a column of
   five full-width strips; the closing photograph keeps its wide frame above the ask. */
@media (min-width: 641px) and (max-width: 1000px) {
  .act-qs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

  .act-qs li { flex: 0 1 calc((100% - 20px) / 3); }

  .closing-media { aspect-ratio: 16 / 9; }
}

/* A card list's last line keeps company: "done about it." rather than a lone "it." */
@media (max-width: 860px) {
  .ci-out li { text-wrap: balance; }
}

/* The About header, stacked: the belief sits on the page's rail like every section under it,
   instead of as a centred block of left-aligned lines. */
@media (max-width: 1180px) {
  .ab-hero { align-items: stretch; }
}

/* Tablets upright, and any window taller than it is wide. There the film follows its subject to
   the middle of the frame (film.js, focusAt), so lines set down the left sat across her. As on a
   phone, they sit low over a wash from the bottom and the shot keeps the top of the frame. */
@media (min-width: 761px) and (max-aspect-ratio: 16 / 15) {
  html.film-on .film-scrim {
    background: linear-gradient(0deg, rgba(251, 251, 253, 0.97) 0%, rgba(251, 251, 253, 0.9) 34%, rgba(251, 251, 253, 0) 62%);
  }

  html.film-on .film-beat {
    width: min(760px, calc(100% - 2 * var(--rail)));
    justify-content: flex-end;
    padding-bottom: clamp(88px, 9vh, 128px);
  }

  html.film-on .film-cue { display: none; }

  /* without the film: the belief first, the opening frame under it, whole, as a picture */
  html:not(.film-on) .film-stage { display: flex; flex-direction: column; min-height: 0; }

  html:not(.film-on) .film-copy { order: 1; min-height: 0; padding: calc(120px + 2vh) var(--rail) 40px; }

  html:not(.film-on) .film-poster {
    order: 2;
    position: relative;
    aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(180deg, black 72%, transparent 100%);
    mask-image: linear-gradient(180deg, black 72%, transparent 100%);
  }

  html:not(.film-on) .film-scrim { display: none; }
}

/* Phones held sideways. The stage is one short screen (375–430px), and a centred block ran up
   under the nav: the lines now sit in a left column between the nav and the meter, sized by the
   height, over the desktop's wash from the left (the frame is landscape again). */
@media (orientation: landscape) and (max-height: 500px) {
  html.film-on .film-scrim {
    background: linear-gradient(90deg, rgba(251, 251, 253, 0.95) 0%, rgba(251, 251, 253, 0.86) 34%, rgba(251, 251, 253, 0.36) 60%, rgba(251, 251, 253, 0) 78%),
      linear-gradient(0deg, var(--bg) 0, rgba(251, 251, 253, 0) 14%);
  }

  html.film-on .film-beat {
    top: 72px;
    bottom: 40px;
    left: var(--rail);
    width: min(480px, 62%);
    justify-content: center;
    padding-bottom: 0;
  }

  html.film-on .film-beat.is-hero .hero-kicker { display: block; margin-bottom: 8px; font-size: 1rem; }

  html.film-on .film-beat.is-hero h1 { font-size: clamp(2rem, 10vh, 2.75rem); }

  html.film-on .film-beat.is-hero .lede { margin-top: 12px; font-size: 1.0625rem; }

  html.film-on .film-beat .cta-row { margin-top: 18px; }

  html.film-on .film-line { font-size: clamp(1.5rem, 7.5vh, 2.25rem); }

  html.film-on .film-line.is-long { font-size: clamp(1.25rem, 6vh, 1.75rem); }

  html.film-on .film-sub { margin-top: 8px; font-size: 1.0625rem; }

  html.film-on .film-cue { display: none; }

  html.film-on .film-meter { left: var(--rail); right: var(--rail); bottom: 24px; }
}

/* Two-sentence display lines. On a phone the break between them is dropped (.br-wide), and the
   second sentence then began mid-line ("…of seeing / it. Now you can."). Each sentence becomes its
   own balanced line instead; wider screens keep the break and render exactly as before. */
@media (max-width: 640px) {
  .sentence { display: block; }
}

/* ═══════════════════════════════════════════════════════════════
   The Meet page, 2026-09-27; booking through the client's Calendly since 2026-10-19
   One booking card, the Contact page's kind, in two panes. On the left, on the warm tint of the
   site's bands: who you meet (the founders' own portraits, overlapping as on the Eyris page), the
   half hour's three facts each on a drawn icon, and what it covers, each topic checked in bronze.
   On the right, in white: the Calendly scheduler ("Eyris Aware Conversation", 30 min), inline.
   Its own event panel is hidden (the left pane already says all of it) and it grows to fit each
   step (data-resize), so the card never scrolls inside itself. On a phone the calendar comes
   straight after the facts and the topics close the card.
   ═══════════════════════════════════════════════════════════════ */
.meet-card {
  max-width: min(1040px, calc(100% - 2 * var(--rail)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "info picker" "cover picker";
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}

.meet-info,
.meet-cover { background: var(--tint-hi); }

.meet-info { grid-area: info; padding: 40px 44px 28px; }

.meet-cover { grid-area: cover; padding: 0 44px 40px; }

.meet-picker { grid-area: picker; min-width: 0; border-left: 1px solid var(--hairline); }

/* the hosts: the founders' portraits, their names reaching the About page with a 44px target */
.meet-hosts { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }

.meet-faces { display: flex; flex: none; }

.meet-faces picture { display: block; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--warm-lo); box-shadow: 0 0 0 3px var(--tint-hi); }

.meet-faces picture + picture { margin-left: -12px; }

.meet-faces img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }

.meet-names { font-size: 0.9375rem; line-height: 1.35; }

.meet-names a { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--ink-soft); text-decoration: none; }

.meet-names a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.meet-info h2 { font-size: var(--t-card); letter-spacing: -0.028em; line-height: 1.1; }

.meet-meta { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }

.meet-meta li { display: flex; align-items: center; gap: 14px; font-size: 1.0625rem; font-weight: 500; line-height: 1.35; color: var(--ink); }

.meet-meta .ci-ico { width: 38px; height: 38px; border-radius: 11px; }

.meet-meta .ci-ico svg { width: 19px; height: 19px; }

/* what the half hour covers: a plain heading under a hairline, then four topics checked in bronze */
.meet-cover h3 { margin-bottom: 12px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }

.meet-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.meet-agenda li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }

.meet-agenda svg { flex: none; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ——— The scheduler ———
   Calendly paints its own white page in the frame. Until it does, its three loading dots (styled
   here in bronze: its stylesheet is not loaded) and a plain link to the same calendar show through;
   without the script, the link stands alone in the pane. */
.calendly-inline-widget { position: relative; isolation: isolate; height: 700px; }

.calendly-inline-widget iframe { position: relative; z-index: 1; display: block; }

.calendly-spinner { position: absolute; top: 50%; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; margin-top: -30px; }

.calendly-spinner > div { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); opacity: 0.25; animation: meet-wait 1.2s var(--ease) infinite; }

.calendly-spinner > div:nth-child(2) { animation-delay: 0.15s; }

.calendly-spinner > div:nth-child(3) { animation-delay: 0.3s; }

@keyframes meet-wait {
  40% { opacity: 1; transform: translateY(-3px); }
}

.meet-direct { position: absolute; top: 50%; left: 0; right: 0; padding-inline: 24px; text-align: center; }

.meet-direct .text-link { display: inline-block; padding-block: 12px; }

@media (prefers-reduced-motion: reduce) {
  .calendly-spinner > div { animation: none; opacity: 0.6; }
}

/* Tablets upright: a 300px left pane leaves the scheduler its own width beside it, and the names
   stack beside the faces */
@media (max-width: 860px) {
  .meet-card { grid-template-columns: 300px minmax(0, 1fr); }

  .meet-name { display: block; }

  .meet-sep { display: none; }

  .meet-info { padding: 32px 28px 24px; }

  .meet-cover { padding: 0 28px 32px; }
}

/* One column below 740px: the facts, the calendar, then what it covers, in a card that stays a
   readable width on a large phone held sideways */
@media (max-width: 739px) {
  .meet-card {
    max-width: min(560px, calc(100% - 32px));
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "info" "picker" "cover";
  }

  .meet-picker { border-left: 0; border-block: 1px solid var(--hairline); }

  .meet-cover { padding-top: 24px; }

  .meet-cover h3 { padding-top: 0; border-top: 0; }
}

@media (max-width: 640px) {
  .meet-info { padding: 26px 22px 22px; }

  .meet-cover { padding: 22px 22px 28px; }
}

/* The companies close the page on the homepage's white plate, as they close the Eyris test drive:
   the proof sits next to the decision, at the booking card's width. */
.meet-proof { margin: var(--space-section) 0; }

.meet-proof .proof-wall { margin-top: 20px; max-width: min(1040px, calc(100% - 2 * var(--rail))); }

@media (max-width: 739px) {
  .meet-proof .proof-wall { max-width: min(560px, calc(100% - 32px)); }
}


/* ——— One height for the wide photographs ———
   A wide photograph never takes more than 60% of the window, so the heading above it or the copy
   under it stays on screen as it passes. On the desktop they are sized by height alone; below
   861px each takes its own landscape crop. No aspect-ratio here: combined with a height it would
   size the width and pull the frame in from the side. Stages with a card on the
   photograph grow to the card when it needs more room. The film heroes, the About header and the
   closing band are backgrounds, not photographs in the flow, and keep their own sizes. */
:root { --photo-h: clamp(440px, 60svh, 640px); }

@media (min-width: 861px) {
  .photo,
  .ci-scene-photo,
  .living-photo {
    height: min(var(--photo-h), calc((100vw - 48px) * 9 / 16));
  }

  /* the "If not," card sits on this one, 431px tall with its margins inside the frame */
  .mean-photo {
    height: max(520px, min(var(--photo-h), calc((100vw - 48px) * 9 / 16)));
  }
}

@media (min-width: 1200px) {
  .ey-stage { min-height: var(--photo-h); }

  /* the homepage card is the tallest thing on a photograph; wider, its lines stop wrapping, and
     it still ends short of the leader at 42% of the frame */
  #eyris .ey-stage { padding-block: 22px; }

  #eyris .ey-card { width: min(520px, 38%); padding-block: 20px 22px; }

  #eyris .ey-lines li { padding-block: 10px; }
}

/* 861–1199px the Eyris stages have stacked; their photographs take the same height as the rest */
@media (min-width: 861px) and (max-width: 1199px) {
  .ey-shot { aspect-ratio: auto; height: min(var(--photo-h), calc((100vw - 48px) * 9 / 16)); }
}

/* ——— The discovery fits one screen ———
   Client feedback: the second section ran 1.4–2 screens, so its message never sat in one view.
   On landscape screens the photograph moves beside the copy, the three steps follow the lede as
   a quiet list, and the statement lands on one line beneath both. The section's own padding and
   type are sized against the height, so 1280×720 through 2560×1440 all take it in at once.
   Upright tablets keep the stack with a wider crop and the steps back on the photograph; phones
   keep the stack, tightened. */
@media (min-width: 861px) {
  .disc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas:
      "text  photo"
      "steps photo";
    grid-template-rows: auto 1fr;
    column-gap: clamp(32px, 4.5vw, 72px);
    padding-inline: var(--rail);
    padding-block: clamp(80px, 10svh, 104px) calc(var(--space-section) / 2);
  }

  .disc .photo-stage { display: contents; }

  .disc .section-text {
    grid-area: text;
    align-self: end;
    max-width: none;
    padding: 0;
    text-align: left;
  }

  .disc .section-text h2 {
    max-width: 16ch;
    margin-inline: 0;
    font-size: min(var(--t-h2-side), 5.6svh);
  }

  .disc .section-text .lede {
    max-width: 30em;
    margin: clamp(14px, 2.4svh, 24px) 0 0;
    font-size: min(clamp(1.0625rem, 1.5vw, 1.3125rem), 2.7svh);
    text-wrap: pretty;
  }

  .disc .photo {
    grid-area: photo;
    height: auto;
    min-height: 0;
    margin: 0;
  }

  .disc .photo picture { display: contents; }

  /* the narrower frame crops from the right, keeping the pair talking on the left in view */
  .disc .photo img { object-position: 18% 50%; }

  .disc-steps {
    grid-area: steps;
    align-self: start;
    position: static;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: clamp(18px, 3.2svh, 32px);
  }

  .disc-steps li,
  .disc-steps li:first-child {
    padding: clamp(10px, 1.6svh, 15px) 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-top: 1px solid var(--hairline);
  }

  .disc-steps li:last-child { border-bottom: 1px solid var(--hairline); }

  .disc-steps p { font-size: min(1.0625rem, 2.2svh); }
}

/* upright tablets: the stack, with a wider crop and the steps back on the photograph */
@media (min-width: 641px) and (max-width: 860px) {
  .disc { padding-block: 88px 64px; }

  .disc .photo-stage { margin-top: 32px; }

  .disc .photo { aspect-ratio: 2 / 1; }

  .disc-steps {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
  }

  .disc-steps li {
    grid-template-columns: 26px minmax(0, 1fr);
    padding: 12px 14px;
    border: 0;
    background: rgba(251, 251, 253, 0.88);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
  }

  .disc-num { font-size: 1.125rem; }

  .disc-steps p { font-size: 0.9375rem; line-height: 1.35; }
}

/* phones: the stack, tightened — a wider crop and the steps as a ruled list, not three cards */
@media (max-width: 640px) {
  .disc { padding-block: 84px 56px; }

  .disc .photo-stage { margin-top: 28px; }

  .disc .photo { aspect-ratio: 3 / 2; }

  .disc-steps { gap: 0; margin-top: 14px; }

  .disc-steps li {
    padding: 11px 2px;
    border: 0;
    border-top: 1px solid var(--hairline);
    border-radius: 0;
    background: none;
  }

  .disc-steps li:last-child { border-bottom: 1px solid var(--hairline); }
}

/* ——— #turn and #eyris fit one screen too ———
   Both ran 3–65% past the screen on laptops. The gaps and the card's inner spacing now follow the
   height, and between 861 and 1199px #eyris keeps its card on the photograph instead of stacking. */
@media (min-width: 861px) {
  #turn .turn-setup { font-size: min(clamp(1.125rem, 1.6vw, 1.375rem), 2.6svh); margin-bottom: 0.75rem; }

  #turn h2 { font-size: min(var(--t-h2), 7.5svh); }

  #turn .turn-card { margin-top: clamp(28px, 5svh, 72px); }

  #turn .turn-story { padding-block: clamp(24px, 4.5svh, 64px); }

  #turn .turn-pair { margin-top: clamp(18px, 3svh, 40px); padding-top: clamp(16px, 2.6svh, 32px); }

  #turn .turn-pair p { font-size: min(clamp(1.25rem, 1.8vw, 1.5rem), 3svh); }

  #eyris h2 { font-size: min(var(--t-h2), 7.5svh); }

  #eyris .section-text .lede { margin-top: clamp(8px, 1.4svh, 28px); font-size: min(clamp(1.1875rem, 2.1vw, 1.625rem), 3svh); }

  #eyris .ey-stage {
    display: flex;
    min-height: 0;
    margin-top: clamp(18px, 3svh, 56px);
    padding: clamp(10px, 1.6svh, 24px) 3%;
  }

  #eyris .ey-shot { position: absolute; inset: 0; height: auto; aspect-ratio: auto; }

  #eyris .ey-card { width: min(500px, 44%); margin: 0; padding: clamp(16px, 2.2svh, 22px) 24px; }

  #eyris .ey-lead { font-size: min(1.5rem, 3svh); }

  #eyris .ey-lines li { padding-block: clamp(5px, 0.9svh, 11px); font-size: min(1.0625rem, 2.1svh); }

  #eyris .ey-fit { margin-top: clamp(8px, 1.4svh, 14px); padding: clamp(10px, 1.6svh, 16px) 18px; }

  #eyris .ey-nos { margin-top: 6px; gap: 3px; }

  #eyris .ey-nos li { font-size: min(0.9375rem, 1.9svh); }

  #eyris .ey-cta { margin-top: clamp(10px, 1.8svh, 20px); }
}

/* narrower, the card covers more of the frame, so the photograph slides to keep him in view */
@media (min-width: 861px) and (max-width: 1199px) {
  #eyris .ey-shot img { object-position: 78% 30%; }
}

/* ——— #intelligence and #meaning: two screens each, each one whole ———
   Each carries two beats (the name and its map, then the photograph and the couplet; the
   questions on the photograph, then the contrast pair). Neither pair fits one screen without
   shrinking the photographs to stamps, so each beat is sized to fit a screen on its own and the
   gap between beats is wide enough that the second reads as the next screen, not a run-on. */
@media (min-width: 861px) {
  .ci .ci-name { font-size: min(var(--t-display), 10svh); }

  .ci-bridge { font-size: min(clamp(1.5rem, 2.55vw, 2.25rem), 4.2svh); }

  .ci .section-text .lede { margin-top: clamp(12px, 2.4svh, 28px); font-size: min(clamp(1.1875rem, 2.1vw, 1.625rem), 3svh); }

  .ci-map { margin-top: clamp(24px, 5svh, 88px); }

  .ci-cap { margin-bottom: clamp(8px, 1.6svh, 18px); font-size: min(clamp(1.0625rem, 1.4vw, 1.25rem), 2.5svh); }

  .ci-in li { font-size: min(clamp(1.375rem, 2.2vw, 1.875rem), 3.8svh); }

  .ci-card { padding: clamp(18px, 3svh, 34px) clamp(24px, 2.4vw, 34px); }

  .ci-card-head { margin-bottom: clamp(10px, 1.8svh, 18px); }

  .ci-out li { padding-block: clamp(7px, 1.3svh, 13px); font-size: min(clamp(1.0625rem, 1.4vw, 1.25rem), 2.5svh); }

  .mean h2 { font-size: min(var(--t-h2), 7.5svh); }

  .mean .section-text .lede { margin-top: clamp(8px, 1.6svh, 20px); font-size: min(clamp(1.1875rem, 2.1vw, 1.625rem), 3svh); }

  .mean-q { font-size: min(clamp(1.75rem, 3.2vw, 2.75rem), 4.6svh); }

  .mean-stage { margin-top: clamp(20px, 4svh, 80px); }

  .mean-photo { height: max(380px, min(58svh, 640px, calc((100vw - 48px) * 9 / 16))); }

  .mean-card { padding-block: clamp(14px, 2.2svh, 22px) 6px; }

  .mean-if { font-size: min(1.5rem, 3svh); }

  .mean-list li { padding-block: clamp(6px, 1.2svh, 13px); font-size: min(1.0625rem, 2.1svh); }

  .mean-pair { margin-top: clamp(72px, 12svh, 140px); }
}

/* ——— The Eyris and About pages fit one screen too ———
   The same treatment as the homepage: headings, gaps and photographs follow the height, so each
   section's message sits in one view on laptops, desktops and tablets. */
@media (min-width: 861px) {
  #shaped h2, #act h2, #experience h2, #test-drive h2, #team h2 { font-size: min(var(--t-h2), 7.5svh); }

  #shaped .section-text .lede,
  #test-drive .section-text .lede { margin-top: clamp(10px, 2svh, 28px); font-size: min(clamp(1.1875rem, 2.1vw, 1.625rem), 3svh); }

  /* #shaped: the card stays on the photograph below 1200px too, as #eyris does on the homepage.
     Sized by the card alone, the stage ran 3:1 on wide screens and cut the two of them off at the
     forehead (client, Oct 2026); it now keeps to about 2.4:1 of its width, short of two thirds of
     the window, so their heads and the laptop stay in the crop and the section still fits a screen. */
  #shaped .ey-stage {
    display: flex;
    min-height: min(calc(min(var(--wide-max), 100vw - 48px) * 0.42), 66svh);
    margin-top: clamp(18px, 3svh, 56px);
    padding: clamp(10px, 1.6svh, 24px) 3%;
  }

  #shaped .ey-shot { position: absolute; inset: 0; height: auto; aspect-ratio: auto; }

  #shaped .ey-card { margin: 0; padding-block: clamp(14px, 2.2svh, 22px); }

  #shaped .ey-lead { font-size: min(1.5rem, 3svh); }

  #shaped .shape-list li { padding-block: clamp(5px, 1svh, 11px); font-size: min(1.0625rem, 2.1svh); }

  #shaped .shape-note { margin-top: clamp(8px, 1.4svh, 14px); padding-block: clamp(10px, 1.6svh, 16px); }

  #act .photo-stage { margin-top: clamp(20px, 4svh, 80px); }

  #act .photo { height: min(clamp(300px, 46svh, 640px), calc((100vw - 48px) * 9 / 16)); }

  #act .act-qs li { gap: clamp(6px, 1.2svh, 12px); padding-block: clamp(10px, 1.8svh, 16px) clamp(12px, 2svh, 18px); }

  #act .statement,
  #experience .statement { margin-top: clamp(20px, 4svh, 80px); font-size: min(clamp(1.875rem, 3.4vw, 3rem), 5.4svh); }

  #experience .xp-pair { margin-top: clamp(20px, 4svh, 72px); }

  #experience .xp-card { padding-block: clamp(18px, 3.4svh, 36px); }

  #experience .xp-faces { height: min(80px, 10svh); }

  #experience .xp-faces picture,
  #experience .xp-dial { width: min(80px, 10svh); height: min(80px, 10svh); }

  #experience .xp-num { margin-top: clamp(10px, 2svh, 22px); font-size: min(clamp(2.75rem, 4.6vw, 4rem), 7svh); }

  #experience .xp-text { margin-top: clamp(6px, 1.4svh, 14px); }

  #experience .xp-names { padding-top: clamp(8px, 1.8svh, 18px); }

  #test-drive .drive-steps { margin-top: clamp(20px, 4svh, 72px); }

  #test-drive .drive-steps li { padding-top: clamp(26px, 4svh, 36px); font-size: min(clamp(1.125rem, 1.6vw, 1.375rem), 2.8svh); }

  #test-drive .section-link { margin-top: clamp(18px, 3.4svh, 56px); }

  #test-drive .drive-proof { margin-top: clamp(28px, 5svh, 120px); }

  #test-drive .drive-proof .proof-wall { margin-top: clamp(10px, 1.8svh, 20px); }

  #test-drive .proof-wall li { min-height: min(clamp(104px, 9.5vw, 140px), 12svh); padding-block: 12px; }
}

/* stacked About header on small laptops and landscape tablets: the photograph ends at the fold */
@media (min-width: 861px) and (max-width: 1180px) {
  .ab-hero-media { aspect-ratio: auto; height: max(320px, min(56.25vw, calc(100svh - 300px))); }
}

/* stacked on tablets and phones, #shaped's card takes the frame's width like every other Eyris card;
   its 340px desktop floor pushed a 360px phone into sideways scroll */
@media (max-width: 860px) {
  .shaped .ey-card { width: calc(100% - 24px); }
}

/* ——— Document links (Oct 2026) ———
   The client found the Case Studies and White Paper links too small to notice. Each is now a
   white pill with a gold document mark, a title and a one-line meta, set apart from body links. */
.doc-cta { margin-top: 40px; text-align: center; }

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 24px 10px 10px;
  background: var(--white);
  border: 1px solid var(--gold-wash);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.doc-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--gold); }

.doc-link:active { transform: scale(0.98); }

.doc-link-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-image);
}

.doc-link-ico svg,
.doc-link-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doc-link-ico svg { width: 22px; height: 22px; }

.doc-link-text { display: flex; flex-direction: column; gap: 2px; }

.doc-link-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }

.doc-link-meta {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.doc-link-arrow {
  flex: none;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  color: var(--gold);
  stroke-width: 1.8;
  transition: transform 0.3s var(--ease);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .doc-link:hover .doc-link-arrow { transform: translateX(3px); }
}

/* ——— Leadership team (About), under the founders, on the founders' card ——— */
.ab-team + .ab-leaders { padding-top: 0; }

.ab-leaders h2 { font-size: var(--t-h2-side); }

/* ——— Case Studies page ——— */
.cs-hero { padding-bottom: clamp(40px, 6vh, 64px); }

.cs-hero .lede { max-width: 34em; margin-inline: auto; }

.cs-eyebrow,
.cs-num,
.cs-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.cs-eyebrow { margin-bottom: 1.25rem; }

.cs-prose { max-width: 42em; margin-inline: auto; }

.cs-prose p {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.cs-prose p + p { margin-top: 1em; }

.cs-prose strong { color: var(--ink); font-weight: 600; }

.cs-intro,
.cs-index,
.cs-wrap {
  max-width: calc(var(--content-max) + 2 * var(--rail));
  margin: 0 auto;
  padding-inline: var(--rail);
}

.cs-intro { padding-bottom: calc(var(--space-section) / 2); }

.cs-intro-title {
  margin: clamp(48px, 7vh, 72px) 0 clamp(24px, 4vh, 36px);
  font-size: var(--t-card);
  text-align: center;
}

.cs-three,
.cs-fractures,
.cs-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  padding: 0;
}

.cs-three { margin-bottom: clamp(48px, 7vh, 72px); }

.cs-three li,
.cs-fracture,
.cs-stat {
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.cs-three-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.9375rem;
  font-weight: 600;
}

.cs-three h3,
.cs-fracture h4 { font-size: 1.25rem; font-weight: 640; letter-spacing: -0.01em; line-height: 1.2; }

.cs-three h3 em,
.cs-fracture h4 em,
.cs-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.cs-three h3 em,
.cs-fracture h4 em { display: block; margin-top: 2px; font-size: 1.3em; line-height: 1.1; color: var(--gold); }

.cs-three p { margin-top: 10px; font-size: 1rem; line-height: 1.55; color: var(--ink-faint); }

.cs-index { padding-bottom: calc(var(--space-section) / 2); }

.cs-index-title { margin-bottom: clamp(28px, 4vh, 44px); font-size: var(--t-h2-side); text-align: center; }

.cs-index-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
}

.cs-index-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 22px 22px 54px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cs-index-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold-wash); }

.cs-index-num { font-family: var(--font-serif); font-style: italic; font-size: 1.75rem; line-height: 1; color: var(--gold); }

.cs-index-name { font-size: 1.0625rem; font-weight: 640; letter-spacing: -0.01em; }

.cs-index-sub { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-faint); }

.cs-index-go { position: absolute; left: 22px; bottom: 20px; color: var(--gold); }

.cs-index-go svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(90deg);
}

.cs-head { max-width: 900px; margin: 0 auto clamp(40px, 6vh, 64px); text-align: center; }

.cs-num { margin-bottom: 1rem; }

.cs-head h2 { font-size: var(--t-h2-side); }

.cs-sub {
  margin-top: 1rem;
  font-size: clamp(1.1875rem, 1.9vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-soft);
  text-wrap: balance;
}

.cs-part { margin-top: clamp(48px, 7vh, 72px); }

.cs-head + .cs-part { margin-top: 0; }

.cs-label { margin-bottom: 18px; text-align: center; }

.cs-fractures { margin-top: clamp(32px, 5vh, 48px); }

.cs-fracture-kicker {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.cs-fracture h4 { margin-bottom: 14px; }

.cs-fracture p { font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }

.cs-stats { margin-top: 28px; }

.cs-stat { display: flex; flex-direction: column; gap: 6px; }

.cs-stat-value {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.cs-stat-label { margin-top: 6px; font-size: 1.0625rem; font-weight: 600; color: var(--gold); }

.cs-stat-note { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-faint); }

.cs-quote { max-width: 30em; margin: clamp(48px, 7vh, 80px) auto 0; text-align: center; }

.cs-quote::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin: 0 auto 24px;
  background: var(--gold);
}

.cs-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}

.cs-quote-final p { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }

.cs-returns {
  list-style: none;
  max-width: 42em;
  margin: 28px auto;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.cs-returns li {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.cs-returns strong { font-weight: 640; color: var(--ink); }

@media (max-width: 1000px) {
  .cs-index-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .cs-three,
  .cs-fractures,
  .cs-stats { grid-template-columns: 1fr; }
}

/* phones: the title and its meta each keep to one line from 360px up (measured: the Case Studies
   title needs 13.1px per px of type, its meta 16.4); the icon and gaps step down to make the room */
@media (max-width: 640px) {
  .doc-link { gap: 10px; padding-right: 16px; }

  .doc-link-ico { width: 40px; height: 40px; }

  .doc-link-ico svg { width: 20px; height: 20px; }

  .doc-link-title { font-size: clamp(0.9375rem, 4.2vw, 1.0625rem); }

  .doc-link-meta { font-size: clamp(0.6875rem, 3.2vw, 0.8125rem); }

  .doc-link-arrow { margin-left: 2px; }
}

@media (max-width: 420px) {
  .cs-index-grid { grid-template-columns: 1fr; }
}

/* ——— Early access (homepage) ———
   The developer sign-up (asked for Oct 19 2026): a native modal dialog, so the browser keeps focus inside it,
   Escape closes it and it sits above the navigation. A white card on the site's soft shadow; the fields and
   the button are the contact form's own. */
.dev-links {
  display: grid;
  justify-items: start;
}

.ea {
  width: min(520px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.ea::backdrop {
  background: rgba(29, 29, 31, 0.36);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

html:has(.ea[open]) { overflow: hidden; }

.ea-card {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: clamp(28px, 5vw, 40px);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.ea[open] .ea-card { animation: ea-in 0.45s var(--ease); }

@keyframes ea-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
}

@media (prefers-reduced-motion: reduce) {
  .ea[open] .ea-card { animation: none; }
}

.ea-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.ea-close:hover { background: var(--warm-lo); color: var(--ink); }

.ea-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.ea-eyebrow {
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.ea h2 {
  padding-right: 44px;
  font-size: clamp(1.875rem, 4vw, 2.375rem);
  line-height: 1.08;
}

.ea h2:focus { outline: none; }

.ea-lede { margin-top: 10px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-soft); }

.ea-form { margin-top: 26px; }

/* the honeypot: out of sight and out of the tab order; only a bot fills it */
.ea-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.ea-check:empty { display: none; }

.ea-check { margin: 4px 0 18px; }

.ea-form .btn { width: 100%; }

.ea-status { margin-top: 12px; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }

.ea-status:empty { display: none; }

.ea-form .form-note a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

.ea-done .text-link { display: inline-block; margin-top: 22px; padding-block: 12px; }

/* ——— Return to top (Case Studies, Oct 2026) ———
   The client asked for a way back up from anywhere in the eight cases. It
   rides the bottom of the window once the reader is well into the page, as
   the nav capsule's small companion (the same glass, the same right edge),
   and stops where <main> ends so it never sits on the footer. The rail takes
   no room; the control hangs above its line. Underneath, a link to #top. */
.to-top-rail {
  position: sticky;
  bottom: 0;
  height: 0;
  z-index: calc(var(--z-menu) - 10);
  pointer-events: none;
}

.to-top {
  position: absolute;
  right: max(12px, calc(var(--rail) - 26px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 34px -20px rgba(29, 29, 31, 0.30);
  pointer-events: auto;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s,
    background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.js .to-top:not(.is-shown) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

.to-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

@media (hover: hover) {
  .to-top:hover {
    background: var(--white);
    box-shadow: 0 14px 36px -18px rgba(29, 29, 31, 0.38);
  }

  .to-top:hover svg { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .js .to-top:not(.is-shown), .to-top:hover svg { transform: none; }
}

/* <main> is a focus target (the skip link, the return to top), not a control,
   so it takes focus without a ring around the whole page */
#main:focus { outline: none; }


/* ═══════════════════════════════════════════════════════════════
   V3 homepage, 2026-11-20
   The client's four-part draft is the whole page now, from the film's first line to the last
   button. The film (V2's, with V2's headline) speaks the draft's opening; under it come the problem
   (#problem, #drift, #coherence), the alternative (#alternative), the proof (#proof) and the
   solution (#solution), and the draft's last two lines close the page (#start). Where the new words
   have the shape of a V2 section they take its layout unchanged (.coh, .mean-stage, .turn-card,
   .feed-nos, .proof-wall, .statement, .doc-link). The rules below are only what V2 had no shape
   for: the pair of frames that open and close the page, the drift drawn, the example's figures and
   the companies' title.
   ═══════════════════════════════════════════════════════════════ */

/* ——— One spacing scale for the homepage ———
   Client, Nov 2026: the parts read as crammed and unevenly spaced. Three intervals now, each used
   for one thing only, on every part of the page:
   --space-section  from one part's last line or picture to the next part's first. It is the site's
                    rhythm; on the homepage it holds from the desktop layout's first width (861px)
                    rather than dropping to the tablet rhythm below 1000px, and it is the interval
                    after the film and before the companies too.
   --space-beat     from a heading to the picture or card it introduces, and from that to the line
                    that closes the part.
   --space-join     between lines read together: a title and its lede, a sentence and its list.
                    A step and a half of it (x1.4, x1.6) sets a caption over its picture and a
                    line over its button.
   Each steps down on tablets and phones, where one screen holds less. */
.home {
  --space-beat: clamp(56px, 8svh, 96px);
  --space-join: clamp(20px, 3svh, 32px);
}

@media (min-width: 861px) and (max-width: 1000px) {
  .home { --fade: clamp(56px, 7vh, 96px); --space-section: clamp(152px, 21vh, 224px); }
}

@media (max-width: 860px) {
  .home { --space-section: clamp(120px, 16vh, 160px); --space-beat: clamp(52px, 7.5svh, 72px); --space-join: clamp(16px, 2.4svh, 24px); }
}

/* ——— The pair of frames: what turned, and how it ends ———
   One room and four colleagues, photographed twice. Under the film, whose last line is "Then it
   turned.", they have gone quiet over a line that falls, and what turned is set beside them as a
   status board would mark it (up, down, overtaken, in the site's one red). At the foot of the page
   the same four are back with the line climbing, beside the draft's last words and its button.
   Both frames sit in the same place: words on the text rail, the photograph out to the wide edge;
   stacked on a phone, where the closing frame comes before its words so the button is the last
   thing on the page. */
/* after the film, the same interval as between any two parts */
.turned { padding-top: var(--space-section); }

.pair-split { display: grid; gap: calc(var(--space-join) * 1.4); padding-inline: 24px; }

.pair-photo {
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(165deg, var(--warm-hi), var(--warm-lo));
  box-shadow: var(--shadow-lg);
}

/* the faces sit in the upper half of both frames and the page with its line two thirds down */
.pair-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }

/* the heading is the draft's line, one signal to a row */
.turned-signals { display: grid; gap: clamp(12px, 2svh, 22px); font-size: clamp(1.625rem, 2.9vw, 2.625rem); line-height: 1.12; }

.turned-signal { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.45em; align-items: start; }

.turned-mark {
  display: grid;
  place-items: center;
  width: 0.82em;
  height: 0.82em;
  margin-top: 0.15em;
  border-radius: 50%;
  background: var(--danger-wash);
  color: var(--danger);
}

.turned-mark svg { width: 56%; height: 56%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the close: a warm band, as the closing band of every other page is */
.outcome {
  background: linear-gradient(0deg, var(--bg) 0, rgba(251, 251, 253, 0) var(--fade)),
    linear-gradient(180deg, var(--tint-lo) 0, var(--warm-hi) 140px, var(--warm-lo) 100%);
}

/* the part before it warms into it rather than meeting it at a line */
.section:not(.section-tinted):has(+ .outcome) { background: linear-gradient(180deg, var(--bg) 0, var(--bg) 45%, var(--tint-lo) 100%); }

.outcome h2 { font-size: var(--t-h2-side); }

/* each sentence of a heading made of sentences keeps its own line */
.outcome h2 .h2-line,
.sol h2 .h2-line { display: block; }

.outcome-cta { margin-top: calc(var(--space-join) * 1.6); }

/* ——— The problem: how it happens, drawn ———
   The sentence is the drawing's key. On the left it names the two lines (a dotted rule for what was
   promised, a solid one for what is actually being delivered); on the right they start as one, part
   at a bronze point where it "starts quietly", and end months later a long way apart, the gap
   between them shaded and measured in the site's one red. No scale and no figures: the copy gives
   none. As the card comes into view the delivered line is drawn out from the point where it parts,
   the one moment of motion under the film. */
.drift .section-text .lede { max-width: 30em; margin: var(--space-join) auto 0; }

.drift-card {
  margin: var(--space-beat) auto 0;
  max-width: min(1120px, calc(100% - 2 * var(--rail)));
  display: grid;
  gap: clamp(20px, 3vh, 32px);
  padding: clamp(24px, 3.4vw, 52px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.drift-start {
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--ink);
  text-wrap: balance;
}

.drift-key {
  display: grid;
  gap: 4px;
  margin-top: clamp(16px, 2.4vh, 24px);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
}

/* each line of the key carries its own rule, drawn as the chart draws it */
.drift-line { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; }

.drift-line::before { content: ""; align-self: start; margin-top: calc(0.675em - 1.5px); border-top: 3px solid var(--ink); border-radius: 2px; }

.drift-line.is-promised::before { border-top: 3px dotted var(--ink-faint); border-radius: 0; }

.drift-vs {
  padding-left: 46px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2em;
  line-height: 1.1;
  color: var(--ink-faint);
}

.drift-chart { display: block; width: 100%; height: auto; overflow: visible; }

.drift-chart path:not(.drift-gap) { fill: none; stroke-linecap: round; stroke-linejoin: round; }

.drift-months { stroke: var(--ink-faint); stroke-width: 1; opacity: 0.4; }

.drift-gap-from { stop-color: var(--danger); stop-opacity: 0; }

.drift-gap-to { stop-color: var(--danger); stop-opacity: 0.16; }

.drift-promised { stroke: var(--ink-faint); stroke-width: 2.5; stroke-dasharray: 0.1 8; }

.drift-shared,
.drift-tail { stroke: var(--ink); stroke-width: 3; }

.drift-measure { stroke: var(--danger); stroke-width: 1.5; }

.drift-origin,
.drift-end.is-delivered { fill: var(--ink); }

.drift-end.is-promised { fill: var(--white); stroke: var(--ink-faint); stroke-width: 2; }

.drift-halo { fill: rgba(128, 98, 58, 0.16); }

.drift-point { fill: var(--gold); }

/* what the gap comes to, under the end of the lines it belongs to */
.drift-then { display: grid; gap: 2px; justify-items: end; text-align: right; }

.drift-reveal,
.drift-late { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); letter-spacing: -0.01em; line-height: 1.35; }

.drift-reveal { font-weight: 600; color: var(--ink); }

.drift-late { font-weight: 650; color: var(--danger); }

.js .drift-card:not(.in) .drift-tail { stroke-dasharray: 1; stroke-dashoffset: 1; }

.js .drift-card:not(.in) .drift-gap,
.js .drift-card:not(.in) .drift-measure,
.js .drift-card:not(.in) .drift-end.is-delivered { opacity: 0; }

.js .drift-card .drift-tail { stroke-dasharray: 1; transition: stroke-dashoffset 1.8s var(--ease) 0.25s; }

.js .drift-card .drift-gap { transition: opacity 1.2s var(--ease) 0.9s; }

.js .drift-card .drift-measure,
.js .drift-card .drift-end.is-delivered { transition: opacity 0.6s var(--ease) 1.7s; }

@media (prefers-reduced-motion: reduce) {
  .js .drift-card:not(.in) .drift-tail { stroke-dashoffset: 0; }

  .js .drift-card:not(.in) .drift-gap,
  .js .drift-card:not(.in) .drift-measure,
  .js .drift-card:not(.in) .drift-end.is-delivered { opacity: 1; }

  .js .drift-card .drift-tail,
  .js .drift-card .drift-gap,
  .js .drift-card .drift-measure,
  .js .drift-card .drift-end.is-delivered { transition: none; }
}

/* ——— The name for it ———
   V2's bleeding-photo layout (.coh), on the same four people as V2's photograph, who have stopped
   working from the plan they shared. The draft's definition is set as a term and its meaning, so
   the dash it was written with needs no stand-in. */
.coh-def { max-width: 30em; margin-top: 1.75rem; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; }

.coh-def dt { font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }

.coh-def dd { font-weight: 500; letter-spacing: -0.005em; color: var(--ink-soft); text-wrap: balance; }

/* ——— The alternative ———
   #meaning's stage: her own tools open on the desk and the phone lighting up beside them, with the
   Eyris card on the calm window. The card opens on the sentence that says what it shows, the mark
   standing where the name begins; the three things are rows that would open, and nothing pretends
   to answer them. The line under the stage closes the part. */
.alt-shows {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 2px 0 10px;
  font-size: clamp(1.125rem, 1.45vw, 1.3125rem);
  font-weight: 600;
  letter-spacing: -0.016em;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: pretty;
}

.alt-shows .app-mark { flex: none; }

/* the setup and the heading it hands to are read together; the stage and the line under it are beats */
#alternative .turn-setup { margin-bottom: var(--space-join); }

.alt .mean-stage,
.alt .statement { margin-top: var(--space-beat); }

/* her head starts a fifth of the way down the frame and the laptop ends a sixth from its foot, so
   the wide crop is centred on that band (on a phone the frame keeps her side of it) */
.alt .mean-photo img { object-position: 50% 52%; }

.alt-shows b { font-weight: 650; }

/* ——— The proof ———
   The claim, then one example in #turn's split card: the plant floor it happened on, the two
   sentences, and their four figures drawn to scale, so the eye sees the plant go from far short of
   similar plants to past them. The figures repeat the sentences, so the drawing is hidden from
   screen readers. The companies follow under the
   draft's own line, on V2's white plate, with the case studies. */
.case .section-text h2 { max-width: 27ch; margin-inline: auto; }

/* the four of them stand across the middle of the frame, heads a quarter of the way down */
.case-photo img { object-position: 50% 40%; }

.case-story p { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }

.case-story p + p { margin-top: clamp(12px, 1.8vh, 18px); }

.case-story b { font-weight: 650; color: var(--ink); }

/* the figures, drawn across: a bar for each of the plant's three, and a band down through them for
   where similar plants stood. The track runs from 0 to 30%, so every length is a share of 30. */
.case-chart {
  --fig: 7.25rem;
  --gap: 16px;
  position: relative;
  container-type: inline-size;
  display: grid;
  row-gap: clamp(8px, 1.4vh, 12px);
  margin-top: clamp(20px, 3vh, 30px);
  padding-top: clamp(40px, 5vh, 46px);
  border-top: 1px solid var(--hairline);
}

/* --v is the row's figure, set on each row in the markup */
.case-row { --v: 0; display: grid; grid-template-columns: var(--fig) minmax(0, 1fr); column-gap: var(--gap); align-items: center; }

.case-fig { display: grid; }

.case-fig b { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.625rem; line-height: 1; color: var(--ink); }

.case-fig i { margin-top: 2px; font-style: normal; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; color: var(--ink-faint); }

.case-bar { position: relative; z-index: 1; display: block; height: 14px; width: calc(var(--v) / 30 * 100%); border-radius: 3px 7px 7px 3px; }

.case-row.is-low .case-bar { background: rgba(29, 29, 31, 0.3); }

.case-row.is-mid .case-bar { background: var(--gold-soft); }

.case-row.is-high .case-bar { background: var(--gold); }

.case-row.is-high b { color: var(--gold); }

.case-band {
  position: absolute;
  top: clamp(30px, 3.8vh, 36px);
  bottom: 0;
  left: calc(var(--fig) + var(--gap) + (100% - var(--fig) - var(--gap)) * 16 / 30);
  width: calc((100% - var(--fig) - var(--gap)) * 5 / 30);
  border-radius: 6px;
  background: rgba(128, 98, 58, 0.12);
}

.case-band i {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--gold);
}

/* in a narrow chart the band's label, centred on it, would run past the end of the track, so it
   ends where the track ends instead (the track's end is 9/5 of the band's width past the band) */
@container (max-width: 400px) {
  .case-band i { left: auto; right: -180%; transform: none; }
}

#proof .turn-card,
#solution .turn-card { margin-top: var(--space-beat); }

/* the companies stand as far from the example as any part stands from the one before it */
.worked { margin-top: var(--space-section); }

.worked-title {
  padding-inline: var(--rail);
  text-align: center;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.worked .proof-wall { margin-top: calc(var(--space-join) * 1.4); }

.worked .doc-cta { margin-top: calc(var(--space-join) * 1.6); }

/* ——— The solution ———
   #turn's split card again: an advisor beside a leader at his own laptop, in the site's own light,
   and beside them what the service is, in the Eyris page's checked rows. Its last two lines close
   the page (.outcome, above). */
/* the two of them sit across the middle of the frame */
.sol-photo img { object-position: 50% 42%; }

/* ——— The new parts on landscape screens ———
   Headings and frames follow the height, so a heading and what it introduces still sit in one view;
   the intervals between them are the scale's and are not squeezed to make them fit. */
@media (min-width: 861px) {
  /* words on the text rail, the photograph out to the wide photographs' edge */
  .pair-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    align-items: center;
    column-gap: clamp(32px, 4.5vw, 72px);
    padding-left: var(--rail);
    padding-right: max(24px, calc((100% - var(--wide-max)) / 2));
  }

  .turned-signals { font-size: min(clamp(1.625rem, 2.9vw, 2.625rem), 5svh); }

  .outcome h2 { font-size: min(var(--t-h2-side), 5.6svh); }

  #drift h2, #solution h2 { font-size: min(var(--t-h2), 7.5svh); }

  .drift .section-text .lede { font-size: min(clamp(1.1875rem, 2.1vw, 1.625rem), 3svh); }

  .drift-card {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    grid-template-rows: auto auto;
    column-gap: clamp(32px, 4.4vw, 72px);
    row-gap: clamp(8px, 1.4svh, 16px);
    align-items: center;
    padding-block: clamp(24px, 4.4svh, 52px);
  }

  .drift-say { grid-column: 1; grid-row: 1 / span 2; }

  .drift-chart { grid-column: 2; grid-row: 1; max-height: 34svh; }

  .drift-then { grid-column: 2; grid-row: 2; }

  #alternative .turn-setup { font-size: min(clamp(1.125rem, 1.6vw, 1.375rem), 2.6svh); }

  /* never so shallow a strip that her head or the laptop is cut: at least 0.38 of its width */
  .alt .mean-photo { height: max(calc(min(var(--wide-max), 100vw - 48px) * 0.38), min(58svh, 640px, calc((100vw - 48px) * 9 / 16))); }

  #alternative .statement { font-size: min(clamp(1.875rem, 3.4vw, 3rem), 5.4svh); }

  .case .section-text h2 { font-size: min(var(--t-h2-side), 5.6svh); }

  /* the plant's photograph is 4:3 with four people across it: the card runs past the text rail (as the
     wide photographs do) and its halves are near equal, so the frame stays close to 4:3 and nobody
     is cut off at its edges */
  .case-card { max-width: min(1240px, calc(100% - 48px)); grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr); }

  #proof .turn-story,
  #solution .turn-story { padding-block: clamp(24px, 4.5svh, 64px); }

  .case-story p { font-size: min(clamp(1.125rem, 1.5vw, 1.3125rem), 2.7svh); }

  #solution .feed-nos { margin-top: clamp(16px, 2.8svh, 36px); }

  #solution .feed-nos li { padding-block: clamp(9px, 1.6svh, 14px); }
}

@media (max-width: 860px) {
  /* stacked, the closing frame comes first, so the page ends on its words and their button */
  .outcome .pair-photo { order: -1; }

  .alt .mean-photo img { object-position: 12% 52%; }

  /* the words, the drawing, then what it comes to, which now reads on from the left */
  .drift-then { justify-items: start; text-align: left; }
}

@media (max-width: 640px) {
  .case-chart { --fig: 6.5rem; --gap: 12px; }

  /* the claim is a full sentence: a step smaller on a phone, so it stays five lines rather than six */
  .case .section-text h2 { font-size: clamp(1.625rem, 7vw, 2rem); }
}
