/* =====================================================================
   MANAM Technologies — v3/v4 design system
   Midnight & champagne. Ink hero + ink accents, paper/white body.
   No framework, no build step. Pairs with js/v3-site.js (+ js/v3-hero.js on the home page).

   Contents
     1. Tokens
     2. Base
     3. SHARED COMPONENTS (home + case-studies.html + data-security.html)
        3a Ink context (.is-ink) · 3b Type & section head · 3c Buttons & links · 3d Chips
        3e Navigation · 3f Ink page header (.page-head) · 3g Thread texture (.has-threads)
        3h Closing CTA band (.cta-band) · 3i Contact form (.form) · 3j Footer
     4. HOME: hero ("The Loom")
     5. HOME: sections (proof strip → about)
     6. Motion & utilities
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Ink */
  --ink: #0A1020;
  --ink-2: #111A2E;
  --ink-3: #060A13;                       /* deepest: footer */
  --ink-line: rgba(217, 191, 140, .22);
  --ivory: #EDE6D6;
  --ivory-muted: #A9B0C0;

  /* Champagne */
  --champagne: #D9BF8C;                   /* on ink only */
  --champagne-deep: #7A5C24;              /* text / rules on light (AA) */
  --champagne-wash: #F1E8D6;

  /* Light body */
  --paper: #F6F3EC;
  --white: #FFFFFF;
  --line: #E4DED0;
  --text: #141B2B;
  --muted: #5A6375;

  /* Context-aware roles (flipped inside .is-ink) */
  --fg: var(--text);
  --fg-muted: var(--muted);
  --accent: var(--champagne-deep);
  --rule-c: var(--line);
  --focus: var(--champagne-deep);
  --chip-bg: var(--champagne-wash);
  --chip-fg: #5B451C;
  --chip-border: transparent;

  /* Type */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-brand: 'Outfit', var(--font-sans);

  /* Shape & depth */
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --shadow: 0 1px 2px rgba(10, 16, 32, .04), 0 12px 32px rgba(10, 16, 32, .06);
  --shadow-lift: 0 2px 4px rgba(10, 16, 32, .05), 0 20px 44px rgba(10, 16, 32, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--champagne); color: var(--ink);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(80px, 9vw, 128px); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }

.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* =====================================================================
   3. SHARED COMPONENTS — reused by case-studies.html and data-security.html.
   Guide: /home/claude/brief/components.md
   ===================================================================== */

/* 3a. Ink context: any dark surface. Flips the role tokens, so type, chips, buttons,
   links and focus rings inside adapt automatically. */
.is-ink {
  --fg: var(--ivory);
  --fg-muted: var(--ivory-muted);
  --accent: var(--champagne);
  --rule-c: var(--ink-line);
  --focus: var(--champagne);
  --chip-bg: transparent;
  --chip-fg: var(--ivory);
  --chip-border: rgba(217, 191, 140, .38);
  color: var(--fg);
}
.section--ink { background: var(--ink); }
.section--ink-2 { background: var(--ink-2); }

/* 3b. Type & section head */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ''; flex: none; width: 32px; height: 1px; background: var(--champagne); }
.h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(36px, 4vw, 60px); line-height: 1.05; letter-spacing: -.01em;
  color: var(--fg); text-wrap: balance;
}
.h2 em, .page-head__title em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--fg-muted); max-width: 62ch; }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 880px; }
@media (min-width: 960px) {
  .section-head--split { max-width: none; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; column-gap: 72px; }
  .section-head--split .eyebrow { grid-column: 1 / -1; }
  .section-head__link { justify-self: end; }
}

/* 3c. Buttons & links: ink pill on light, champagne pill on ink, 1px outline secondary */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s, color .3s, filter .3s, box-shadow .3s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--sm { --btn-h: 44px; padding: 0 20px; font-size: 14px; }
.btn--ink { color: var(--ivory); background: var(--ink); box-shadow: 0 10px 24px -14px rgba(10, 16, 32, .7); }
.btn--ink:hover { background: #1A2440; transform: translateY(-1px); }
.btn--champ {
  color: var(--ink);
  background: linear-gradient(180deg, #EBD9AE, #C9A961);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px -12px rgba(198, 165, 98, .55);
}
.btn--champ:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn--champ:active { filter: brightness(.97); transform: none; }
.btn--outline { color: var(--fg); background: transparent; border-color: rgba(20, 27, 43, .28); }
.btn--outline:hover { border-color: var(--text); }
.is-ink .btn--outline { border-color: rgba(230, 210, 162, .45); }
.is-ink .btn--outline:hover { border-color: #E6D2A2; background: rgba(230, 210, 162, .06); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--accent);
  text-decoration: underline 1px transparent; text-underline-offset: 5px;
  transition: text-decoration-color .3s;
}
.link-arrow .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { text-decoration-color: currentColor; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* 3d. Chips / tags */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > li, .chip {
  display: inline-flex; align-items: center; max-width: 100%;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--chip-border);
  background: var(--chip-bg); color: var(--chip-fg);
  font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .01em;
}
.chips--lg > li { padding: 8px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500; }

/* 3e. Navigation — dark over [data-nav-dark] surfaces (hero, page header, ink bands), light elsewhere */
.nav {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 60;
  padding-inline: var(--gutter); pointer-events: none;
  --nav-bg: rgba(6, 10, 19, .62); --nav-border: rgba(255, 255, 255, .1);
  --nav-link: #CDD2DC; --nav-link-hover: #fff; --nav-hover-bg: rgba(255, 255, 255, .07);
  --brand-c: #fff; --brand-c2: rgba(255, 255, 255, .78); --brand-a: #E6D2A2;
}
.nav[data-theme='light'] {
  --nav-bg: rgba(255, 255, 255, .84); --nav-border: rgba(20, 27, 43, .09);
  --nav-link: #3A4254; --nav-link-hover: var(--text); --nav-hover-bg: rgba(20, 27, 43, .05);
  --brand-c: var(--text); --brand-c2: #4A5264; --brand-a: var(--champagne-deep);
  --focus: var(--champagne-deep);
}
.nav[data-theme='dark'] { --focus: var(--champagne); }
.nav__bar {
  pointer-events: auto; position: relative;
  max-width: calc(1200 * var(--u, 1px)); margin-inline: auto;   /* --u: hero scale, see 4. Hero */
  display: flex; align-items: center; gap: 20px;
  height: calc(40px + 22 * var(--u, 1px)); padding: 0 calc(9 * var(--u, 1px)) 0 calc(22 * var(--u, 1px)); border-radius: 999px;
  background: var(--nav-bg); border: 1px solid var(--nav-border);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, .45);
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.nav[data-theme='light'] .nav__bar { box-shadow: 0 12px 32px -18px rgba(10, 16, 32, .35); }

/* Brand lockup: MANAM over a rule (hairline · dot · TECHNOLOGIES · dot · hairline), champagne accents */
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; flex: none; }
.brand__word {
  font-family: var(--font-brand); font-weight: 800; font-size: calc(12px + 10 * var(--u, 1px)); letter-spacing: .07em; margin-right: -.07em;
  color: var(--brand-c); transition: color .35s;
}
.brand__tag {
  display: flex; align-items: center; gap: 5px; margin-top: 5px;
  font-family: var(--font-brand); font-size: 8px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brand-c2); transition: color .35s;
}
.brand__tag > span { margin-right: -.24em; }
.brand__tag::before, .brand__tag::after { content: ''; flex: none; width: 14px; height: 1px; }
.brand__tag::before { background: linear-gradient(90deg, transparent, var(--brand-a)); }
.brand__tag::after { background: linear-gradient(90deg, var(--brand-a), transparent); }
.brand__dot { flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--brand-a); transition: transform .35s var(--ease); }
.brand:hover .brand__dot { transform: scale(1.25); }

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a {
  padding: 8px calc(12 * var(--u, 1px)); border-radius: 999px;
  font-size: calc(9px + 5 * var(--u, 1px)); font-weight: 500; color: var(--nav-link); text-decoration: none; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--nav-link-hover); background: var(--nav-hover-bg); }
.nav__links .nav__panel-cta { display: none; }
.nav__cta {
  flex: none; display: inline-flex; align-items: center;
  min-height: calc(24px + 18 * var(--u, 1px)); padding: 0 calc(18 * var(--u, 1px)); border-radius: 999px;
  font-size: calc(9px + 5 * var(--u, 1px)); font-weight: 600; white-space: nowrap; text-decoration: none;
  color: #F5F0E6; background: transparent; border: 1px solid rgba(230, 210, 162, .45);
  transition: background-color .3s, border-color .3s, color .3s;
}
.nav__cta:hover { background: #E6D2A2; border-color: #E6D2A2; color: var(--ink); }
.nav[data-theme='light'] .nav__cta { color: var(--ivory); background: var(--ink); border-color: var(--ink); }
.nav[data-theme='light'] .nav__cta:hover { background: #1A2440; }
.nav__toggle {
  display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%;
  background: var(--nav-hover-bg); color: var(--brand-c); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle .ic { width: 22px; height: 22px; }
.nav__toggle .ic--close { display: none; }
.nav.is-open .nav__toggle .ic--open { display: none; }
.nav.is-open .nav__toggle .ic--close { display: block; }
@media (max-width: 1100px) {
  .nav__toggle { display: inline-flex; margin-left: 0; }
  .nav__cta { margin-left: auto; }
  .nav__links {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    border-radius: 22px; border: 1px solid var(--nav-border);
    -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
  }
  .nav[data-theme='dark'] .nav__links { background: rgba(6, 10, 19, .97); }
  .nav[data-theme='light'] .nav__links { background: rgba(255, 255, 255, .97); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 13px 16px; font-size: 16px; border-radius: 14px; }
}
@media (max-width: 639px) {
  .nav { top: 10px; }
  .nav__bar { height: 58px; padding-left: 18px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .nav__links .nav__panel-cta {
    display: flex; justify-content: center; margin-top: 6px; font-weight: 600;
    color: var(--ink) !important; background: #E6D2A2 !important;
  }
  .nav[data-theme='light'] .nav__links .nav__panel-cta { color: var(--ivory) !important; background: var(--ink) !important; }
}

/* 3f. Ink page header (~56vh) for subpages:
   <section class="page-head is-ink has-threads" id="top" data-nav-dark> … .page-head__title … </section> */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 56vh; min-height: 56svh;
  padding: 140px 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(60% 70% at 82% 10%, rgba(46, 68, 128, .30), transparent 70%),
    radial-gradient(40% 60% at 90% 100%, rgba(214, 178, 110, .14), transparent 70%),
    linear-gradient(180deg, #0C1426 0%, var(--ink) 50%, var(--ink-3) 100%);
}
.page-head__inner { width: 100%; }
.page-head__title {
  margin-top: 24px; max-width: 16ch;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(44px, 6vw, 88px); line-height: 1.02; letter-spacing: -.015em;
  color: var(--ivory); text-wrap: balance;
}
.page-head__lede { margin-top: 24px; max-width: 60ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ivory-muted); }
/* the next light section slides over the ink like a paper sheet */
.page-head + .section, .proofbar + .section { border-radius: 28px 28px 0 0; }
.page-head + .section::before, .proofbar + .section::before {
  content: ''; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 28px;
  background: var(--sheet-under, var(--ink-3)); pointer-events: none;
}
.proofbar + .section { --sheet-under: var(--ink-2); }

/* 3g. Static "Loom" thread texture for ink surfaces (images/threads.svg) */
.has-threads { position: relative; isolation: isolate; overflow: hidden; }
.has-threads::before {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: min(100%, 1500px);
  background: url('../images/threads.svg') left center / 100% 100% no-repeat;
  opacity: var(--threads-o, .32); pointer-events: none;
}

/* 3h. Closing CTA band: ink, warm glow bottom-right, threads from the left.
   With the form: .cta-band__inner holds .cta-band__copy + .form. Without: add .cta-band--solo and omit the form. */
.cta-band { background: var(--ink); padding-block: clamp(88px, 10vw, 136px); --threads-o: .18; }
.cta-band::after {
  content: ''; position: absolute; z-index: -1; right: -10%; bottom: -30%; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 178, 110, .22), rgba(214, 178, 110, .07) 55%, transparent);
  pointer-events: none;
}
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.cta-band__copy .h2 { margin-top: 20px; }
.cta-band__lede { margin-top: 24px; font-size: 18px; color: var(--ivory-muted); }
.options { margin-top: 18px; border-top: 1px solid var(--ink-line); }
.option {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 64px; padding: 12px 4px; border-bottom: 1px solid var(--ink-line);
  font-size: 18px; font-weight: 500; color: var(--ivory); text-decoration: none;
  transition: color .3s, padding .3s var(--ease);
}
.option__n { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--champagne); }
.option .ic { width: 18px; height: 18px; color: var(--champagne); transition: transform .3s var(--ease); }
.option:hover { color: #F1E3C0; padding-left: 10px; }
.option:hover .ic { transform: translateX(4px); }
.reach { display: grid; gap: 18px; margin-top: 40px; }
.reach__item { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--ivory); }
.reach__item a { color: var(--ivory); text-decoration: underline 1px rgba(217, 191, 140, .5); text-underline-offset: 4px; }
.reach__item a:hover { text-decoration-color: var(--champagne); }
.reach__k { flex-basis: 100%; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-muted); }
.cta-band--solo .cta-band__inner { grid-template-columns: minmax(0, 760px); }
@media (min-width: 960px) {
  .cta-band--solo .cta-band__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: end; }
  .cta-band--solo .reach { margin-top: 0; gap: 24px; }
}
@media (max-width: 1023px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr); } }

/* 3i. Contact form (on an ink-2 card with a champagne hairline) */
.form {
  display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px);
  border-radius: 20px; background: var(--ink-2); border: 1px solid rgba(217, 191, 140, .32);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
  color-scheme: dark; scroll-margin-top: 12px;
}
.form__title { font-family: var(--font-serif); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--ivory); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ivory); }
.field label span { font-weight: 400; color: var(--ivory-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(217, 191, 140, .28); background: rgba(255, 255, 255, .035); color: var(--ivory);
  font: 500 15px/1.5 var(--font-sans);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9BF8C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select option { background: var(--ink-2); color: var(--ivory); }
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8C94A6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--champagne); box-shadow: 0 0 0 4px rgba(217, 191, 140, .18);
}
.field select.is-flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 40% { border-color: var(--champagne); background-color: rgba(217, 191, 140, .16); } }
.field [aria-invalid='true'] { border-color: #F08A8A; box-shadow: 0 0 0 4px rgba(240, 138, 138, .14); }
.field__err { display: none; font-size: 13px; color: #F4A9A9; }
.field [aria-invalid='true'] ~ .field__err { display: block; }
.form .btn { width: 100%; margin-top: 4px; }
.form__note { font-size: 13px; color: var(--ivory-muted); text-align: center; }
.form__status:empty { display: none; }
.form__status { font-size: 14px; font-weight: 600; color: #F4A9A9; }
@media (max-width: 559px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* 3j. Footer (deepest ink) */
.footer { position: relative; background: var(--ink-3); color: var(--ivory-muted); padding: clamp(64px, 8vw, 96px) 0 32px; }
.footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 191, 140, .4) 20%, rgba(217, 191, 140, .4) 80%, transparent);
}
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer .brand { --brand-c: #fff; --brand-c2: rgba(255, 255, 255, .72); --brand-a: #E6D2A2; }
.footer__about { margin-top: 20px; max-width: 36ch; font-size: 15px; line-height: 1.7; }
.footer__mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--champagne); text-decoration: none; }
.footer__mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__mail .ic { width: 18px; height: 18px; }
.footer__h { margin-bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-muted); }
.footer__col li + li { margin-top: 10px; }
.footer__col a { font-size: 15px; color: var(--ivory); text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--champagne); }
.footer__entities {
  display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--ink-line);
  font-size: 14px;
}
.footer__entities b { font-weight: 600; color: var(--ivory); }
.footer__countries { flex-basis: 100%; font-size: 13px; letter-spacing: .02em; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; font-size: 13px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--ink-line); color: var(--ivory); transition: border-color .2s, color .2s;
}
.footer__social a:hover { color: var(--champagne); border-color: rgba(217, 191, 140, .6); }
.footer__social .ic { width: 18px; height: 18px; }
@media (max-width: 1023px) { .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 559px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }

/* =====================================================================
   4. HOME: hero — "Midnight & champagne" + "The Loom"
   Layers, bottom → top: ink gradient + static navy pool (background) · drifting warm pool (.hero__light) ·
   threads canvas (.hero__loom, js/v3-hero.js) · grain (::before) · vignette (::after) · content.
   Scale: --u is one "hero pixel" = s px, s = clamp(1, min(vw/1440, svh/860), 1.6), so every size is N × --u.
   --uy (desktop only) also lets vertical rhythm compress below 1 on short viewports (≤860 tall),
   so the hero still fills the screen exactly at e.g. 1280×720 or a 1440×780 Safari window.
   ===================================================================== */
.hero, .nav {
  --u: clamp(1px, min(100vw / 1440, 100vh / 860), 1.6px);
  --uy: min(var(--u), max(.72px, (100vh - 80px) / 780));
}
@supports (height: 1svh) {
  .hero, .nav {
    --u: clamp(1px, min(100vw / 1440, 100svh / 860), 1.6px);
    --uy: min(var(--u), max(.72px, (100svh - 80px) / 780));
  }
}
.hero {
  --ink-950: #060A13;
  --ink-900: #0A1120;
  --navy-glow: rgba(46, 68, 128, .34);
  --champ-200: #F1E3C0;
  --champ-300: #E6D2A2;
  --champ-500: #C6A562;
  --text-1: #F5F0E6;
  --text-2: rgba(245, 240, 230, .72);
  --text-3: rgba(245, 240, 230, .60);
  --rule: rgba(230, 210, 162, .16);
  --rule-strong: rgba(230, 210, 162, .38);
  --hero-ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: calc(1200 * var(--u));
  --gutter: calc(48 * var(--u));

  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding-top: 148px;
  color: var(--text-1);
  background:
    radial-gradient(60% 55% at 78% 18%, var(--navy-glow), transparent 70%),
    linear-gradient(180deg, #0C1426 0%, var(--ink-900) 45%, var(--ink-950) 100%);
}
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before {   /* static grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 220px 220px; opacity: .05; mix-blend-mode: overlay;
}
.hero::after { background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(3, 5, 10, .55)); }
.hero__light {   /* warm pool: transform-only drift */
  position: absolute; z-index: -2; left: 70%; top: 62%;
  width: calc(1100 * var(--u)); height: calc(1100 * var(--u)); margin: calc(-550 * var(--u)) 0 0 calc(-550 * var(--u)); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 178, 110, .24), rgba(214, 178, 110, .08) 55%, transparent);
  pointer-events: none; will-change: transform;
  animation: hero-drift 32s ease-in-out infinite alternate;
}
.hero__loom {     /* threads: height + legibility mask set by JS */
  position: absolute; z-index: -2; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.hero :focus-visible { outline: 2px solid var(--champ-200); outline-offset: 3px; }

/* Layout: copy | ledger (wide enough for one unwrapped ledger line); main block centred between nav and band */
.hero__main {
  display: grid; grid-template-columns: minmax(0, 1fr) calc(468 * var(--u)); column-gap: calc(64 * var(--u)); align-items: center;
  margin-block: auto; padding-bottom: 24px;
}

/* Type */
.hero__eyebrow, .hero__label {
  display: flex; align-items: center; gap: calc(14 * var(--u));
  font-size: calc(6px + 5 * var(--u)); font-weight: 600; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase;
  color: var(--champ-300);
}
.hero__eyebrow::before { content: ''; flex: none; width: calc(32 * var(--u)); height: 1px; background: var(--champ-300); transform-origin: left; }
.hero__title {
  margin-top: 28px;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 4.5rem); line-height: 1.04; letter-spacing: -.015em;
  text-wrap: balance; color: var(--text-1);
}
.hero__line { display: block; }            /* two-line lockup at every width */
.hero__line-in { display: inline; }
.hero__title em { font-style: italic; color: var(--champ-300); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  /* champagne gradient + a 120px #FFF6DC sheen layer (parked off-box until it sweeps) */
  .hero__title em {
    background-image:
      linear-gradient(100deg, rgba(255, 246, 220, 0) calc(50% - 60px), #FFF6DC 50%, rgba(255, 246, 220, 0) calc(50% + 60px)),
      linear-gradient(100deg, #F1E3C0, #C6A562);
    background-size: 300% 100%, 100% 100%;
    background-position: 100% 0, 0 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    padding-right: .08em; margin-right: -.08em;   /* keep the italic overhang inside the clip box */
  }
}
.hero__lede { margin-top: 28px; max-width: 560px; text-wrap: pretty; font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.65; color: var(--text-2); }

/* Calls to action: two pills, then the text link */
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: calc(12 * var(--u)); margin-top: 36px; }
.hero .btn { --btn-h: calc(29px + 23 * var(--u)); padding: 0 calc(28 * var(--u)); font-size: calc(10px + 5 * var(--u)); }
.hero .btn .ic { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.hero .btn--outline { color: var(--text-1); }
.hero__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: calc(4 * var(--u));
  font-size: calc(9px + 5 * var(--u)); font-weight: 500; color: var(--text-2);
  text-decoration: underline 1px transparent; text-underline-offset: 5px;
  transition: color .3s, text-decoration-color .3s;
}
.hero__link:hover { color: var(--text-1); text-decoration-color: var(--champ-300); }

/* "Five practices" ledger: hairlines only, no cards. The threads canvas lands on all six rules
   (one above each row + the closing rule). */
.hero__ledger .hero__label { margin-bottom: 18px; }
.ledger { position: relative; }
.ledger__row {
  position: relative; display: grid; grid-template-columns: calc(40 * var(--u)) minmax(0, 1fr); align-items: baseline;
  min-height: calc(84 * var(--u)); padding: calc(13 * var(--u)) 0 calc(14 * var(--u));
}
.ledger__row::before, .ledger::after {   /* hairlines: one above each row, one below the last */
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--rule); transform-origin: left; transition: background-color .3s;
}
.ledger__row::before { top: 0; }
.ledger::after { bottom: 0; }
.ledger__row:hover::before { background: var(--champ-500); }
.ledger__fill {   /* active row: gold hairline fills left → right over the 4s step */
  position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, #C6A562, #F1E3C0);
  transform-origin: left; opacity: 0; transition: opacity .5s; pointer-events: none;
}
.ledger__row.is-active .ledger__fill { opacity: 1; animation: ledger-fill 4s linear both; }
.ledger.is-held .ledger__row.is-active .ledger__fill { animation: none; }   /* hover / focus / reduced motion: full rule */
@keyframes ledger-fill { from { transform: scaleX(0); } }
.ledger__num { font-family: var(--font-serif); font-style: italic; font-size: calc(18 * var(--u)); line-height: 1; color: var(--champ-300); transition: color .5s; }
.ledger__title {
  font-family: var(--font-serif); font-weight: 400; font-size: calc(26.6 * var(--u) - .6px); line-height: 1.1; color: var(--text-1);
  transition: transform .3s var(--hero-ease), color .5s;
}
.ledger__link { color: inherit; text-decoration: none; }
.ledger__link::after { content: ''; position: absolute; inset: 0; z-index: 2; }   /* whole row is the link */
.ledger__link:focus-visible { outline: none; }
.ledger__link:focus-visible::after { outline: 2px solid var(--champ-200); outline-offset: 4px; border-radius: 2px; }
.ledger__row:hover .ledger__title { transform: translateX(4px); }
.ledger__line { margin-top: calc(4 * var(--u)); font-size: calc(5.67px + 8.33 * var(--u)); line-height: 1.5; color: var(--text-2); text-wrap: pretty; transition: color .5s; }
.ledger__row.is-active .ledger__num, .ledger__row.is-active .ledger__title { color: #E6D2A2; }
.ledger__row.is-active .ledger__line { color: var(--text-1); }

/* Logo band: seven marks, one ivory tone. Image logos are recoloured to the wordmark ivory (#EDE6D6)
   with a filter chain that stays below 1.0 per channel (no clamping, so it merges safely). */
.hero__band { position: relative; }
.hero__band::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule-strong) 20%, var(--rule-strong) 80%, transparent);
}
.hero__band-inner { display: flex; align-items: center; gap: calc(36 * var(--u)); padding-block: 28px; }
.marks__label { flex: none; white-space: nowrap; padding-right: calc(36 * var(--u)); border-right: 1px solid var(--rule); min-height: calc(28 * var(--u)); }
.marks { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: calc(24 * var(--u)); }
.mark { flex: none; display: flex; align-items: center; height: calc(46 * var(--u)); opacity: .78; transition: opacity .3s; }
.mark:hover { opacity: 1; }
.mark__img { width: auto; height: calc(var(--h, 30) * var(--u)); filter: brightness(0) invert(.86) sepia(.25); }
.mark__word { font-size: calc(19 * var(--u)); font-weight: 400; line-height: 1; letter-spacing: -.01em; color: var(--ivory); white-space: nowrap; }
.mark__word b { font-weight: 600; }
.mark--lockup { gap: calc(10 * var(--u)); }

/* Motion: one-shot entrance, H1 mask reveal, sheen, ambient drift */
@keyframes hero-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
@keyframes hero-fade { from { opacity: 0; } }
@keyframes hero-draw { from { transform: scaleX(0); } }
@keyframes hero-mask { from { transform: translate3d(0, 105%, 0); } }
@keyframes hero-sheen {   /* 1.8s sweep inside a 9s cycle */
  0% { background-position: 100% 0, 0 0; animation-timing-function: cubic-bezier(.45, .05, .35, 1); }
  20%, 100% { background-position: 0 0, 0 0; }
}
@keyframes hero-drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-8%, -6%, 0); }
  100% { transform: translate3d(5%, 4%, 0); }
}
.hero__eyebrow, .hero__title, .hero__lede, .hero__ctas, .hero__ledger .hero__label, .ledger__row {
  animation: hero-rise 900ms var(--hero-ease) var(--d, 0ms) backwards;
}
.hero__eyebrow::before, .ledger__row::before, .ledger::after { animation: hero-draw 800ms var(--hero-ease) var(--d, 0ms) backwards; }
/* motion v5: rows slide 24px from the right, stagger 90, landing as the Loom's threads arrive; rule draws 600 */
@keyframes hero-slide { from { opacity: 0; transform: translate3d(24px, 0, 0); } }
.ledger__row { animation: hero-slide 600ms var(--hero-ease) var(--d, 0ms) backwards; }
.hero__eyebrow::before { animation-duration: 600ms; }
.hero__title { --d: 150ms; }
.hero__title em { animation: hero-sheen 9s linear 2.5s infinite both; }
.hero__lede { --d: 400ms; }
.hero__ctas { --d: 520ms; }
.hero__ledger .hero__label { --d: 420ms; }
.ledger__row:nth-child(1) { --d: 420ms; }
.ledger__row:nth-child(2) { --d: 510ms; }
.ledger__row:nth-child(3) { --d: 600ms; }
.ledger__row:nth-child(4) { --d: 690ms; }
.ledger__row:nth-child(5) { --d: 780ms; }
.ledger { --d: 870ms; }
.hero__band { animation: hero-fade 900ms var(--hero-ease) 900ms backwards; }

/* ≥1024: two lines, each a nowrap block in an overflow:hidden mask (no balance, no inline-block:
   WebKit mis-sizes shrink-to-fit inline-blocks under text-wrap:balance and broke the H1 into extra lines). */
@media (min-width: 1024px) {
  .hero__title { text-wrap: wrap; white-space: nowrap; }
  .hero__line { display: block; overflow: hidden; margin: -.08em -.12em -.2em; padding: 0 .12em; }
  .hero__line-in { display: block; padding: .08em 0 .2em; }
  .hero__title { animation: none; }
  .hero__line-in { animation: hero-mask 900ms var(--hero-ease) var(--d, 0ms) backwards; }
  .hero__line:nth-child(1) { --d: 150ms; }
  .hero__line:nth-child(2) { --d: 270ms; }
}
/* Desktop (side-by-side): full viewport, scaled by s, vertical rhythm on --uy */
@media (min-width: 1025px) {
  .hero {
    min-height: 720px; min-height: max(720px, 100vh); min-height: max(720px, 100svh);
    padding-top: calc(52px + 22 * var(--u));          /* nav top 12 + pill height */
    padding-bottom: calc(32 * var(--uy));
  }
  .hero__main { padding-block: calc(24 * var(--uy)); }
  .hero__title { margin-top: calc(28 * var(--uy)); font-size: min(6.2vw, calc(72 * var(--uy))); }
  .hero__lede { margin-top: calc(28 * var(--uy)); max-width: calc(127px + 433 * var(--u)); font-size: calc(8px + 10 * var(--u)); }
  .hero__ctas { margin-top: calc(36 * var(--uy)); }
  .hero__ledger .hero__label { margin-bottom: calc(18 * var(--uy)); }
  .ledger__row { min-height: calc(84 * var(--uy)); padding: calc(13 * var(--uy)) 0 calc(14 * var(--uy)); }
  .ledger__line { white-space: nowrap; }
  .hero__band-inner { padding-block: calc(28 * var(--uy)); }
}
/* Below 1200 the band stacks: label above, marks wrap */
@media (max-width: 1199px) {
  .hero__band-inner { flex-direction: column; align-items: stretch; gap: 18px; }
  .marks__label { padding-right: 0; border-right: 0; min-height: 0; }
  .marks { flex-wrap: wrap; justify-content: flex-start; gap: 18px 32px; }
}
@media (min-width: 900px) and (max-width: 1199px) { .marks { justify-content: space-between; gap: 18px 24px; } }
/* Tablet: single column; content may grow the hero */
@media (max-width: 1024px) {
  .hero { --gutter: 32px; }
  .hero__main { grid-template-columns: minmax(0, 1fr); row-gap: 56px; padding-bottom: 56px; }
  .hero__title { max-width: 720px; }
  .hero__ledger { max-width: 640px; }
}
/* Mobile: stacked, full-width CTAs */
@media (max-width: 639px) {
  .hero { --gutter: 20px; padding-top: 112px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__link { align-self: center; margin: 0; }
  .ledger__row { min-height: 76px; padding: 12px 0 13px; }
  .ledger__title { font-size: 22px; }
  .marks { gap: 16px 28px; }
  .mark { height: 36px; }
  .mark__img { height: calc(var(--h, 30) * .9px); }
  .mark__word { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__light, .hero *, .hero *::before, .hero *::after { animation: none !important; }
  .hero .btn:hover, .hero .btn:hover .ic, .ledger__row:hover .ledger__title { transform: none; }
}

/* =====================================================================
   5. HOME: sections
   ===================================================================== */

/* ---------- Proof strip (ink-2, flush under the hero) ---------- */
.proofbar { position: relative; background: var(--ink-2); padding-block: clamp(44px, 5vw, 64px); }
.proofbar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 191, 140, .3) 20%, rgba(217, 191, 140, .3) 80%, transparent);
}
.proofbar__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat { padding: 4px clamp(16px, 2vw, 28px); border-left: 1px solid var(--ink-line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__num { font-family: var(--font-serif); font-size: clamp(44px, 3.9vw, 56px); line-height: 1; color: var(--ivory); white-space: nowrap; font-variant-numeric: lining-nums; }
.stat__sym { color: var(--champagne); }
.stat__unit { font-size: .46em; color: var(--champagne); letter-spacing: .01em; }
.stat__label { margin-top: 16px; font-size: 11.5px; font-weight: 600; line-height: 1.55; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-muted); }
.stat__note { display: block; margin-top: 4px; letter-spacing: .08em; text-transform: none; font-weight: 500; font-size: 12.5px; color: var(--ivory-muted); }
@media (max-width: 1023px) {
  .proofbar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .stat, .stat:first-child { padding: 22px 0; border-left: 0; border-top: 1px solid var(--ink-line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:last-child { grid-column: 1 / -1; }
}

/* ---------- Why now ---------- */
.whynow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.whynow__head { display: grid; gap: 20px; }
.figs { display: grid; gap: 14px; }
.fig {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center;
  padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.fig__num { font-family: var(--font-serif); font-size: 60px; line-height: 1; color: var(--text); white-space: nowrap; }
.fig__label { font-size: 16px; line-height: 1.5; color: var(--text); }
.fig__src { margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne-deep); }
.takeaway {
  margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); max-width: 30em;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; color: var(--text); text-wrap: balance;
}
.takeaway--head { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 24ch; }
.takeaway--mob { display: none; }
@media (max-width: 959px) { .whynow { grid-template-columns: minmax(0, 1fr); } .takeaway--head { display: none; } .takeaway--mob { display: block; } }
@media (max-width: 559px) {
  .fig { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px; }
  .fig__num { font-size: 52px; }
}

/* ---------- What we hear: two-column Q&A ledger ---------- */
.qa__heads, .qa__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 88px); }
.qa__heads { padding-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); }
.qa__list { border-bottom: 1px solid var(--line); }
.qa__row { padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; }
.qa__row dt { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.25; color: var(--text); }
.qa__row dd { font-size: 17px; line-height: 1.6; color: var(--muted); }
@media (max-width: 767px) {
  .qa__heads { display: none; }
  .qa__row { grid-template-columns: minmax(0, 1fr); row-gap: 12px; padding: 24px 0; }
  .qa__row dd { padding-left: 22px; position: relative; }
  .qa__row dd::before { content: '→'; position: absolute; left: 0; color: var(--champagne-deep); }
}

/* ---------- Five practices: 3 + 2 cards; one detail drawer open at a time ----------
   DOM: card, drawer, card, drawer… Each drawer is ordered (CSS order) to sit right under its card's row. */
.practices { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.pcard {
  position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 14px;
  min-height: 272px; padding: 28px 28px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.pcard:nth-of-type(n+4) { grid-column: span 3; min-height: 232px; }
.pcard:nth-of-type(1) { order: 10; } .pcard:nth-of-type(2) { order: 20; } .pcard:nth-of-type(3) { order: 30; }
.pcard:nth-of-type(4) { order: 40; } .pcard:nth-of-type(5) { order: 50; }
.ppanel:nth-of-type(-n+3) { order: 35; } .ppanel:nth-of-type(n+4) { order: 55; }
.pcard__num { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1; color: var(--champagne-deep); }
.pcard__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.1; color: var(--text); }
.pcard__toggle { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pcard__toggle::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.pcard__toggle:focus-visible { outline: none; }
.pcard__toggle:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 3px; }
.pcard__intro { font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 48ch; }
.pcard__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep);
}
.pcard__more .ic { width: 16px; height: 16px; stroke-width: 2; transition: transform .4s var(--ease); }
.pcard:hover { border-color: #D3C6A8; box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.pcard.is-open { border-color: var(--champagne-deep); box-shadow: 0 0 0 1px var(--champagne-deep), var(--shadow-lift); transform: none; }
.pcard.is-open .pcard__more .ic { transform: rotate(45deg); }
.ppanel {
  position: relative; grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 3vw, 36px); margin-block: 4px 12px;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--champagne-deep); border-radius: var(--r);
  box-shadow: var(--shadow);
}
.ppanel::before {   /* caret pointing at the open card (x set by JS as --notch) */
  content: ''; position: absolute; top: -9px; left: var(--notch, 50%); width: 16px; height: 16px;
  background: var(--white); border-top: 2px solid var(--champagne-deep); border-left: 2px solid var(--champagne-deep);
  transform: translateX(-50%) rotate(45deg); border-radius: 3px 0 0 0;
}
.js .ppanel:not([hidden]) { animation: rise .4s var(--ease) both; }
.ppanel__h { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); }
.ppanel__note { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.ppanel__text { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin-bottom: 14px; }
.ticks { display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 10px; height: 1px; background: var(--champagne-deep); }
.proofs { display: grid; gap: 12px; }
.proofs li { display: grid; gap: 2px; }
.proofs a, .proofs b { font-size: 16px; font-weight: 600; color: var(--text); text-decoration: underline 1px var(--champagne); text-underline-offset: 4px; }
.proofs b { text-decoration: none; }
.proofs a:hover { text-decoration-color: var(--champagne-deep); color: var(--champagne-deep); }
.proofs span { font-size: 14px; color: var(--muted); }
.layers { display: grid; gap: 8px; counter-reset: layer; }
.layers li { display: flex; align-items: baseline; gap: 12px; font-size: 15.5px; color: var(--text); counter-increment: layer; }
.layers li::before { content: '0' counter(layer); font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--champagne-deep); }
.practices__foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
@media (min-width: 640px) and (max-width: 1023px) {
  .practices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard, .pcard:nth-of-type(n+4) { grid-column: span 1; min-height: 240px; }
  .pcard:nth-of-type(5) { grid-column: 1 / -1; min-height: 0; }
  .ppanel:nth-of-type(-n+2) { order: 25; }
  .ppanel:nth-of-type(3), .ppanel:nth-of-type(4) { order: 45; }
  .ppanel:nth-of-type(5) { order: 55; }
  .ppanel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ppanel__col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .practices { grid-template-columns: minmax(0, 1fr); }
  .pcard, .pcard:nth-of-type(n+4) { grid-column: auto; min-height: 0; }
  .ppanel:nth-of-type(1) { order: 15; } .ppanel:nth-of-type(2) { order: 25; } .ppanel:nth-of-type(3) { order: 35; }
  .ppanel:nth-of-type(4) { order: 45; } .ppanel:nth-of-type(5) { order: 55; }
  .ppanel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- Featured work ---------- */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wcard {
  display: flex; flex-direction: column; min-height: 520px; padding: 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s var(--ease), border-color .3s;
}
.wcard:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-color: #D3C6A8; }
.wcard__tag { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); }
.wcard__client { margin-top: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.wcard__fig {
  margin-top: auto; padding-top: 48px;
  font-family: var(--font-serif); font-size: clamp(48px, 4.6vw, 68px); line-height: 1; color: var(--text);
}
.wcard__fig--word { font-size: clamp(38px, 3.3vw, 48px); }
.wcard__fig > span:not([class]) { display: block; margin-top: 10px; font-family: var(--font-sans); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--champagne-deep); }
.wcard__text { margin-top: 18px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.wcard .chips { margin-top: 20px; }
.wcard__link { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); align-self: stretch; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1024px) {
    .work { grid-template-rows: repeat(6, auto); row-gap: 0; }
    .wcard { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; }
    .wcard__fig { align-self: end; }
  }
}
@media (max-width: 1023px) { .work { grid-template-columns: minmax(0, 1fr); } .wcard { min-height: 0; } .wcard__fig { padding-top: 32px; } }

/* ---------- Client voices (ink) ---------- */
.voices { background: var(--ink); --threads-o: .12; }
.voices__grid { position: relative; z-index: 1; }
.voices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); }
.voice { display: flex; flex-direction: column; height: 100%; }
.voice blockquote { font-family: var(--font-serif); font-size: 26px; line-height: 1.3; color: var(--ivory); }
.voice figcaption {
  display: grid; gap: 4px; margin-top: auto; padding-top: 28px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-muted);
}
.voice figcaption::before { content: ''; width: 40px; height: 1px; margin-bottom: 18px; background: var(--champagne); }
.voice figcaption span:last-child { color: var(--champagne); }
@media (max-width: 959px) { .voices__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } .voice figcaption { padding-top: 22px; } }

/* ---------- Accelerators ---------- */
.accel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acard {
  display: flex; flex-direction: column; gap: 10px; padding: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.acard__num { font-family: var(--font-serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--champagne-deep); margin-bottom: 8px; }
.acard h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.acard p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.acard__proven { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: auto; padding-top: 14px; }
.acard__proven > span:first-child { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1023px) { .accel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .accel { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Industries: seven-row index ---------- */
.index__heads, .index__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); column-gap: clamp(24px, 4vw, 56px); }
.index__heads { padding-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); }
.index__list { border-bottom: 1px solid var(--line); }
.index__row { padding: 24px 0; border-top: 1px solid var(--line); align-items: baseline; }
.index__row h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: var(--text); }
.index__row p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.index__proof { font-weight: 600; color: var(--text) !important; }
.index__proof a { color: var(--text); text-decoration: underline 1px var(--champagne); text-underline-offset: 4px; }
.index__proof a:hover { color: var(--champagne-deep); text-decoration-color: var(--champagne-deep); }
.index__proof--muted { font-weight: 500; font-style: italic; color: var(--muted) !important; }
@media (max-width: 767px) {
  .index__heads { display: none; }
  .index__row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
}

/* ---------- Why Manam: tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.tile__num { display: block; margin-bottom: 18px; font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1; color: var(--champagne-deep); }
.tile h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.tile p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1023px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* Ways to start: 4-step stepper on an ink inset panel; step 02 highlighted */
.start {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-lg); background: var(--ink); scroll-margin-top: 96px;
}
.start::after {
  content: ''; position: absolute; z-index: -1; right: -200px; top: -260px; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 178, 110, .16), transparent); pointer-events: none;
}
.start__head { display: grid; gap: 18px; margin-bottom: 36px; }
.start__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; color: var(--ivory); }
.start__title em { font-style: italic; color: var(--champagne); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px;
  border: 1px solid var(--ink-line); border-radius: var(--r);
}
.step__k { display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); }
.step__k span { font-family: var(--font-serif); font-style: italic; font-size: 22px; letter-spacing: 0; }
.step__offer { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--ivory); }
.step__dur {
  align-self: flex-start; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(217, 191, 140, .38);
  font-size: 12px; font-weight: 600; color: var(--ivory);
}
.step__get { font-size: 14.5px; line-height: 1.55; color: var(--ivory-muted); }
.step__get span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); }
.step--hi { border-color: var(--champagne); background: linear-gradient(180deg, rgba(217, 191, 140, .14), rgba(217, 191, 140, .04)); }
.step--hi .step__dur { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.step .btn { margin-top: auto; align-self: flex-start; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1024px) {
    .steps { grid-template-rows: repeat(5, auto); row-gap: 0; }
    .step { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
    .step .btn { justify-self: start; align-self: end; margin-top: 8px; }
    .step__dur { justify-self: start; align-self: start; }
  }
}
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .steps { grid-template-columns: minmax(0, 1fr); } .step .btn { align-self: stretch; } }

/* Tabs: Engagement models / How we deliver */
.tabs { margin-top: clamp(48px, 6vw, 72px); }
.tabs__list { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.tabs__tab {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--muted); transition: background-color .3s, color .3s;
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected='true'] { background: var(--ink); color: var(--ivory); }
.tabs__panel { margin-top: 20px; padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.js .tabs__panel[hidden] { display: none; }
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.model { padding-top: 20px; border-top: 1px solid var(--line); }
.model h4 { font-family: var(--font-serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--text); }
.model p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.model .model__for { margin-top: 14px; font-weight: 600; color: var(--text); }
.phases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.phases::before { content: ''; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: var(--line); }
.phases li { position: relative; display: flex; flex-direction: column; gap: 4px; padding-top: 26px; }
.phases li::before {
  content: ''; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--champagne-deep); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 7px var(--champagne);
}
.phases__n { font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--champagne-deep); }
.phases b { font-size: 16px; font-weight: 600; color: var(--text); }
.phases small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.team { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.team__h { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); }
.quality { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; font-size: 15.5px; font-weight: 600; color: var(--text); }
.quality .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--champagne-deep); stroke-width: 2; }
@media (max-width: 1023px) {
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .phases::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .phases li { padding: 0 0 0 30px; }
}
@media (max-width: 559px) { .models { grid-template-columns: minmax(0, 1fr); } .tabs__list { display: flex; } .tabs__tab { flex: 1; padding: 0 10px; font-size: 14px; } }

/* ---------- Global: timeline, also-in, focus markets ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--champagne-deep) 0, var(--champagne-deep) 67%, transparent 92%); }
.timeline__node { position: relative; padding-top: 34px; }
.timeline__node::before {
  content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--champagne-deep); box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--champagne);
}
.timeline time { font-family: var(--font-serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--champagne-deep); }
.timeline h3 { margin-top: 12px; font-size: 18px; font-weight: 600; color: var(--text); }
.timeline p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--muted); max-width: 34ch; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; }
.also__label { margin-right: 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.markets { display: grid; align-items: start; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.market { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.market .market__code { position: absolute; top: 18px; right: 28px; font-family: var(--font-serif); font-size: 64px; line-height: 1; color: #E6DCC6; }
.market__title { font-family: var(--font-serif); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--text); margin-bottom: 24px; padding-right: 96px; }
.market__h { margin: 18px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); }
.market__h:first-of-type { margin-top: 0; }
.market p { font-size: 15.5px; line-height: 1.6; color: var(--text); }
.market__more { margin-top: 22px; border-top: 1px solid var(--line); }
.market__more summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding-top: 4px;
  list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--champagne-deep);
}
.market__more summary::-webkit-details-marker { display: none; }
.market__more summary .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.market__more[open] summary .ic { transform: rotate(180deg); }
.market__more[open] summary { margin-bottom: 4px; }
@media (max-width: 767px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .timeline::before { left: 7px; right: auto; top: 7px; bottom: 7px; width: 1px; height: auto; background: linear-gradient(180deg, var(--champagne-deep), var(--line)); }
  .timeline__node { padding: 0 0 0 36px; }
  .markets { grid-template-columns: minmax(0, 1fr); }
  .market .market__code { font-size: 44px; right: 20px; }
  .market__title { font-size: 30px; padding-right: 72px; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 88px); align-items: end; margin-bottom: clamp(40px, 5vw, 56px); }
.about .section-head { margin-bottom: 0; }
.founder {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.founder__mono {
  display: grid; place-items: center; width: 92px; height: 92px; margin: 7px; border-radius: 50%;
  font-family: var(--font-serif); font-size: 36px; letter-spacing: .02em; color: var(--champagne-deep);
  background: var(--champagne-wash);
  box-shadow: inset 0 0 0 1px var(--champagne), 0 0 0 6px var(--white), 0 0 0 7px var(--champagne);
}
.founder__body { display: grid; gap: 4px; min-width: 0; }
.founder__k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); }
.founder__name { font-family: var(--font-serif); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--text); }
.founder__role { font-size: 15.5px; color: var(--muted); }
.founder__mail {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; overflow-wrap: anywhere;
}
.founder__mail .ic { width: 18px; height: 18px; color: var(--champagne-deep); }
.founder__mail:hover { color: var(--champagne-deep); }
.glance { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance li { display: grid; gap: 12px; align-content: start; padding: 28px 24px 28px 0; }
.glance li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.glance__num { font-family: var(--font-serif); font-size: clamp(44px, 4vw, 56px); line-height: 1; color: var(--text); }
.glance__label { font-size: 11.5px; font-weight: 600; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eco { display: grid; margin-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.eco__row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.eco__h { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-deep); }
.eco .chips > li { background: var(--white); border-color: var(--line); color: var(--text); }
@media (max-width: 1023px) {
  .about { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .founder { max-width: 480px; }
  .glance { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0; }
  .glance li, .glance li + li { padding: 22px 16px 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 639px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .eco__row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .founder { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 24px; }
}

/* =====================================================================
   6. Motion & utilities
   ===================================================================== */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
/* Scroll reveals: see 7. Motion system (data-reveal API; start states only under html.motion-ready) */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .pcard:hover, .wcard:hover, .btn:hover, .btn:hover .ic, .option:hover { transform: none; }
}

[hidden] { display: none !important; }

/* Pause decorative CSS animations while their section is off-screen (toggled by v3-site.js) */
.is-paused, .is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
@media (max-width: 600px) { .marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; justify-items: start; } .mark { height: 32px; } .mark__img { max-height: 30px; } }

/* =====================================================================
   7. Motion system v5 "One Thread" (js/motion/*, brief: motion-v5.md)
   Hidden start states exist only under html.motion-ready (inline boot script) and only without
   reduced motion; the boot's 2s failsafe removes the class if the engine fails, so content shows.
   Eases as CSS: loom cubic-bezier(.16,1,.3,1) · comb (.65,0,.35,1) · settle (.34,1.4,.64,1) · ink (.7,0,.84,0)
   ===================================================================== */
:root { --e-loom: cubic-bezier(.16, 1, .3, 1); --e-comb: cubic-bezier(.65, 0, .35, 1); --e-settle: cubic-bezier(.34, 1.4, .64, 1); --e-ink: cubic-bezier(.7, 0, .84, 0); }
html.motion-ready { scroll-behavior: auto; }                    /* Lenis / JS own smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Boot cover: loader / arrival curtain paint ink from the first frame; CSS failsafe never strands it */
html.has-loader body::after, html.has-curtain body::after {
  content: ''; position: fixed; inset: 0; z-index: 9990; background: var(--ink); pointer-events: none;
  animation: mo-cover-out .35s 2.2s both;
}
@keyframes mo-cover-out { to { opacity: 0; visibility: hidden; } }
/* the loader holds the ledger rows + logo band until it splits into the hero (LCP copy is not held) */
html.hero-wait .ledger__row, html.hero-wait .ledger__row::before, html.hero-wait .ledger::after, html.hero-wait .hero__band { animation-play-state: paused; }

@media (prefers-reduced-motion: no-preference) {
  /* data-attribute API start states */
  html.motion-ready [data-reveal]:not(.is-in),
  html.motion-ready [data-reveal-group]:not([data-manual]) > :not(.is-in),
  html.motion-ready .reveal:not(.is-in) { opacity: 0; }
  html.motion-ready [data-line="x"]:not(.is-in) { transform: scaleX(0); }
  html.motion-ready [data-line="y"]:not(.is-in) { transform: scaleY(0); }
  html.motion-ready [data-draw]:not(.is-in) { opacity: 0; }
  html.motion-ready .eyebrow[data-reveal]::before { transform: scaleX(0); transform-origin: left; transition: transform .6s var(--e-loom) .08s; }
  html.motion-ready .eyebrow[data-reveal].is-in::before { transform: none; }

  /* hairlines drawn by --ln (0 → 1): the 1px borders become pseudo-elements on the same pixel row */
  html.motion-ready .qa__row, html.motion-ready .index__row, html.motion-ready .takeaway { border-top-color: transparent; position: relative; }
  html.motion-ready .qa__row::before, html.motion-ready .index__row::before, html.motion-ready .takeaway::before {
    content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line);
    transform-origin: left; transform: scaleX(var(--ln, 0)); pointer-events: none;
  }
  html.motion-ready .proofbar .stat { border-color: transparent; position: relative; }
  html.motion-ready .proofbar .stat::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--ink-line);
    transform-origin: top; transform: scaleY(var(--ln, 0)); pointer-events: none;
  }
  html.motion-ready .proofbar .stat:first-child::before { display: none; }
  html.motion-ready .voice figcaption::before { transform-origin: left; transform: scaleX(var(--ln, 0)); }
  html.motion-ready .phases.mo-anim::before { transform-origin: left; transform: scaleX(var(--ln, 0)); }
  html.motion-ready .phases.mo-anim li::before { transform: scale(0); transition: transform .5s var(--e-settle) calc(.25s + var(--i, 0) * .12s); }
  html.motion-ready .phases.mo-anim.is-in li::before { transform: none; }
  html.motion-ready .timeline.mo-anim::before { transform-origin: left; transform: scaleX(var(--tl, 0)); }
  html.motion-ready .timeline.mo-anim .timeline__node::before { transform: scale(0); transition: transform .5s var(--e-settle); }
  html.motion-ready .timeline.mo-anim .timeline__node.is-on::before { transform: none; }
  html.motion-ready .founder.mo-ring-pending .founder__mono { box-shadow: inset 0 0 0 1px var(--champagne), 0 0 0 6px var(--white); }
  html.motion-ready [data-wipe="sheet-over"] { border-radius: 28px 28px 0 0; }
  html.motion-on .ppanel:not([hidden]) { animation: none; }
  .voices.has-threads::before { transform: translate3d(0, var(--thr-y, 0px), 0); }
  @media (max-width: 1023px) {
    html.motion-ready .proofbar .stat::before { display: block; left: 0; right: 0; top: -1px; bottom: auto; width: auto; height: 1px; transform-origin: left; transform: scaleX(var(--ln, 0)); }
    html.motion-ready .proofbar .stat:nth-child(-n+2)::before { display: none; }
    html.motion-ready .phases.mo-anim::before { transform-origin: top; transform: scaleY(var(--ln, 0)); }
  }
  @media (max-width: 767px) {
    html.motion-ready .timeline.mo-anim::before { transform-origin: top; transform: scaleY(var(--tl, 0)); }
  }
}

/* SplitText masks: padding keeps descenders and italic overhang unclipped while lines rise */
.mo-line-mask { padding-bottom: .16em; margin-bottom: -.16em; }        /* bottom only: adjacent masks keep the exact line pitch */
.mo-splitting { display: flow-root; }                                  /* the last mask's negative margin stays inside */
.mo-word-mask, .mo-char-mask { padding: .06em .04em .16em; margin: -.06em -.04em -.16em; }

/* Odometer: each digit column keeps its final glyph as a hidden sizer (zero layout shift) */
.odo-run, .odo { display: inline; }
/* the window is the padding box (paint containment clips the reel and keeps it out of scrollable overflow) */
.odo__d { position: relative; display: inline-block; contain: paint; padding: .3em .25em; margin: -.3em -.25em; }
.odo__s { visibility: hidden; }
.odo__r { position: absolute; left: 0; right: 0; top: .3em; display: flex; flex-direction: column; align-items: center; }
.odo__r > span { display: block; margin-bottom: .55em; }
.odo--plain { position: relative; display: inline-block; }
.odo--plain .odo__v { position: absolute; left: 0; top: 0; }

/* ---------- The Thread (≥1200) + top progress bar (<1200) + back-to-top ring ---------- */
.mo-thread { position: fixed; z-index: 55; top: 0; bottom: 0; left: 28px; width: 1px; pointer-events: none; --th: var(--champagne-deep); }
.mo-thread.on-ink { --th: var(--champagne); }
.mo-thread__track { position: absolute; inset: 0; background: rgba(217, 191, 140, .26); }
.mo-thread__fill { position: absolute; inset: 0; background: var(--th); transform-origin: 50% 0; transform: scaleY(0); transition: background-color .3s; }
.mo-thread__node {
  position: absolute; left: -2.5px; top: -3px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 1px rgba(217, 191, 140, .75); transition: background-color .3s;
}
.mo-thread.on-ink .mo-thread__node { background: var(--ink); }
.mo-thread .mo-thread__node.is-on { background: var(--th); box-shadow: none; }
.mo-thread__node.is-pulse::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--th); animation: mo-ping .9s var(--e-loom) both; }
@keyframes mo-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.mo-thread__tip { position: absolute; left: -3.5px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--th); box-shadow: 0 0 0 3px rgba(217, 191, 140, .18), 0 0 14px rgba(217, 191, 140, .5); }
.mo-thread__index {
  position: absolute; top: 0; left: -21px; display: flex; gap: 10px; writing-mode: vertical-lr;
  font: 600 10px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; color: var(--th); transition: color .3s;
}
.mo-thread__index span { opacity: .78; }
@media (max-width: 1199px) { .mo-thread { display: none; } }
.mo-progress { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 2px; background: var(--champagne-deep); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.mo-progress.on-ink { background: var(--champagne); }
.footer__social a { position: relative; }
.mo-ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); overflow: visible; pointer-events: none; }
.mo-ring rect { fill: none; stroke: var(--champagne); stroke-width: 1.25; }

/* ---------- Cursor (fine pointers; the native cursor stays) ---------- */
.mo-cursor { position: fixed; left: 0; top: 0; z-index: 9000; pointer-events: none; --cur: var(--champagne-deep); transition: opacity .2s; contain: layout style; }
.mo-cursor.on-ink { --cur: var(--champagne); }
.mo-cursor.is-off, .mo-cursor.is-native { opacity: 0; }
.mo-cursor__dot { position: absolute; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cur); }
.mo-cursor__ring { position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--cur); border-radius: 999px; transition: border-color .2s, background-color .2s; }
/* card label sits outside the hollow ring, so the text under the pointer is never covered */
.mo-cursor__label {
  position: absolute; left: calc(100% + 8px); top: 50%; padding: 6px 10px 5px; border-radius: 999px; transform: translateY(-50%);
  font: 700 11px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  color: var(--cur); background: var(--paper); border: 1px solid var(--cur); opacity: 0; transition: opacity .2s;
}
.mo-cursor.on-ink .mo-cursor__label { background: var(--ink); }
.mo-cursor.has-label .mo-cursor__label { opacity: 1; }
.btn__label { display: inline-flex; align-items: center; gap: inherit; }

/* ---------- Loader (first visit per session) ---------- */
.mo-loader { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.mo-loader__half { position: absolute; left: 0; right: 0; height: calc(50% + 1px); background: var(--ink); }
.mo-loader__half--t { top: 0; background: linear-gradient(180deg, #0C1426, var(--ink)); }
.mo-loader__half--b { bottom: 0; }
.mo-loader__in { position: absolute; inset: 0; }
.mo-loader__word {
  position: absolute; left: 0; right: 0; bottom: calc(50% + 22px); text-align: center;
  font-family: var(--font-brand); font-weight: 800; font-size: clamp(32px, 3.6vw, 54px); line-height: 1; letter-spacing: .07em; color: var(--ivory);
}
.mo-loader__line { position: absolute; left: 50%; top: 50%; width: 300px; margin-left: -150px; height: 1px; background: linear-gradient(90deg, transparent, var(--champagne) 18%, #F1E3C0 50%, var(--champagne) 82%, transparent); transform: scaleX(0); }
.mo-loader__count { position: absolute; left: 0; right: 0; top: calc(50% + 16px); text-align: center; font-family: var(--font-serif); font-style: italic; font-size: 28px; line-height: 1; color: var(--champagne); }

/* ---------- Page transition curtain ---------- */
.mo-curtain { position: fixed; inset: 0; z-index: 9998; pointer-events: none; visibility: hidden; overflow: hidden; }
.mo-curtain__panel { position: absolute; inset: 0; background: var(--ink); }   /* transforms are set by GSAP only */
.mo-curtain__threads { position: absolute; inset: 0; }
.mo-curtain__threads i { position: absolute; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 191, 140, .25) 30%, #F1E3C0 85%, transparent); }
.mo-curtain__threads i:nth-child(1) { top: 34%; } .mo-curtain__threads i:nth-child(2) { top: 42%; } .mo-curtain__threads i:nth-child(3) { top: 50%; }
.mo-curtain__threads i:nth-child(4) { top: 58%; } .mo-curtain__threads i:nth-child(5) { top: 66%; }

/* ---------- Micro-interactions (hover devices) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.motion-on .btn--champ { position: relative; overflow: hidden; isolation: isolate; }
  html.motion-on .btn--champ::after {
    content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -55%; width: 45%; pointer-events: none;
    background: linear-gradient(100deg, rgba(255, 246, 220, 0), rgba(255, 246, 220, .85), rgba(255, 246, 220, 0)); transform: skewX(-14deg); opacity: 0;
  }
  html.motion-on .btn--champ.is-sheen::after { animation: mo-btn-sheen .7s var(--e-comb); }
  @keyframes mo-btn-sheen { from { opacity: 1; transform: translateX(0) skewX(-14deg); } to { opacity: 1; transform: translateX(380%) skewX(-14deg); } }
  @keyframes mo-arrow { 0% { transform: none; } 48% { transform: translateX(12px); opacity: 0; } 50% { transform: translateX(-12px); opacity: 0; } 100% { transform: none; opacity: 1; } }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html.motion-on .btn--champ:hover::after { animation: mo-btn-sheen .5s var(--e-comb); }
  html.motion-on .btn:hover .ic, html.motion-on .link-arrow:hover .ic, html.motion-on .option:hover .ic { transform: none; animation: mo-arrow .48s var(--e-comb); }
  html.motion-on .link-arrow:not(.wcard__link), html.motion-on .hero__link { text-decoration: none; position: relative; }
  html.motion-on .link-arrow:not(.wcard__link)::after, html.motion-on .hero__link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .32s var(--e-loom); pointer-events: none;
  }
  html.motion-on .hero__link::after { bottom: auto; top: calc(50% + .8em); }
  html.motion-on .link-arrow:hover::after, html.motion-on .hero__link:hover::after { transform: scaleX(1); }
  html.motion-on .footer__col a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: color .2s, background-size .32s var(--e-loom); }
  html.motion-on .footer__col a:hover { background-size: 100% 1px; }
  /* cards: lift −4px, top hairline draws champagne (400ms) */
  html.motion-on .wcard { position: relative; }
  html.motion-on .pcard::before, html.motion-on .wcard::before {
    content: ''; position: absolute; z-index: 2; top: -1px; left: var(--r); right: var(--r); height: 1px; pointer-events: none;
    background: linear-gradient(90deg, var(--champagne-deep), var(--champagne)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--e-loom);
  }
  html.motion-on .pcard:hover::before, html.motion-on .wcard:hover::before { transform: scaleX(1); }
  html.motion-on .pcard:hover { transform: translateY(-4px); }
  html.motion-on .pcard.is-open:hover { transform: none; }
  html.motion-on .wcard:hover { transform: translateY(-4px); }
  html.motion-on .wcard .chips > li { transition: transform .3s var(--e-settle); }
  html.motion-on .wcard:hover .chips > li { transform: translateY(-2px); }
  html.motion-on .wcard:hover .chips > li:nth-child(2) { transition-delay: 40ms; }
  html.motion-on .wcard:hover .chips > li:nth-child(3) { transition-delay: 80ms; }
  /* industries: wash wipes left → right, name shifts 8px, other rows dim */
  html.motion-on .index__row { isolation: isolate; transition: opacity .32s; }
  html.motion-on .index__row::after {
    content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -16px; right: -16px; border-radius: 10px;
    background: var(--champagne-wash); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--e-loom); pointer-events: none;
  }
  html.motion-on .index__row:hover::after { transform: scaleX(1); }
  html.motion-on .index__row h3 { transition: transform .32s var(--e-loom); }
  html.motion-on .index__row:hover h3 { transform: translateX(8px); }
  html.motion-on .index__list:hover .index__row:not(:hover) { opacity: .55; }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  html.motion-on .pcard:active, html.motion-on .wcard:active, html.motion-on .option:active, html.motion-on .btn:active { transform: scale(.985); transition-duration: .12s; }
}

/* ---------- Nav: active-anchor dot ---------- */
.nav__links a { position: relative; }
.nav__dot { position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand-a); opacity: 0; transition: opacity .3s; pointer-events: none; }
.nav__dot.is-on { opacity: 1; }
@media (max-width: 1100px) { .nav__dot { display: none; } }

/* ---------- Logo strip marquee (only when the marks sit on one row) ---------- */
.mo-marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.marks.is-marquee { flex: none; flex-wrap: nowrap; justify-content: flex-start; width: max-content; }

/* ---------- Loom-lite canvases ---------- */
.mo-loom { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
[data-loom] { position: relative; isolation: isolate; }
.whynow__head { position: relative; isolation: isolate; }
.whynow__head > .mo-loom { left: calc(-1 * var(--gutter)); top: -80px; width: calc(100% + var(--gutter) + 40px); height: calc(100% + 140px); }

/* ---------- #proof rig: the warp along the top hairline, five drops, the gold pulse ---------- */
.proof-rig { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.proof-rig__warp { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--champagne) 12%, #F1E3C0 50%, var(--champagne) 88%, transparent); transform-origin: 0 50%; transform: scaleX(0); }
.proof-rig__drop { position: absolute; top: 0; left: 0; width: 1px; height: 100px; transform-origin: 50% 0; background: linear-gradient(180deg, rgba(217, 191, 140, 0), rgba(217, 191, 140, .5) 40%, #F1E3C0); -webkit-clip-path: inset(0 -4px 100% -4px); clip-path: inset(0 -4px 100% -4px); }
.proof-rig__node { position: absolute; left: 0; top: 0; width: 5px; height: 5px; border-radius: 50%; background: #F1E3C0; box-shadow: 0 0 10px rgba(241, 227, 192, .7); }
.proof-rig__pulse { position: absolute; left: 0; top: 0; height: 1px; width: 160px; background: linear-gradient(90deg, transparent, #F1E3C0, transparent); box-shadow: 0 0 12px rgba(241, 227, 192, .55); opacity: 0; }

/* ---------- #why-now stage (CSS sticky, ≥1024): the stage holds while the cards rise and count ---------- */
@media (min-width: 1024px) {
  #why-now.mo-stage .whynow { position: sticky; top: var(--stage-top, 120px); }
  #why-now.mo-stage .wrap::after { content: ''; display: block; height: 60vh; }
}

/* ---------- #agenda: the thread across the gutter ---------- */
.qa__thread { position: absolute; height: 1px; background: linear-gradient(90deg, rgba(122, 92, 36, .15), var(--champagne-deep)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.qa__thread b { position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--champagne-deep); transform: scale(0); }

/* ---------- #practices: branches from the Thread to the numerals ---------- */
.practice-branches { position: absolute; left: 0; top: 0; z-index: 2; overflow: visible; pointer-events: none; }
.practice-branches path { fill: none; stroke: var(--champagne-deep); stroke-width: 1; opacity: .8; }
.practice-branches circle { fill: var(--champagne-deep); }

/* ---------- #accelerators: horizontal pin (≥1024) ---------- */
@media (min-width: 1024px) {
  #accelerators.mo-hpin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 88px 112px; overflow: clip; }
  #accelerators.mo-hpin > .wrap { width: 100%; }
  #accelerators.mo-hpin::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--ax, 116px); z-index: 3; pointer-events: none; background: linear-gradient(90deg, var(--paper) 0, var(--paper) 56px, rgba(246,243,236,0) 100%); }
  #accelerators.mo-hpin .section-head { margin-bottom: 40px; }
  #proof.mo-ppin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 0; }
  #proof.mo-ppin > .wrap { width: 100%; }
  #accelerators.mo-hpin .accel { display: flex; gap: 16px; width: max-content; }
  #accelerators.mo-hpin .acard { position: relative; flex: none; width: clamp(320px, 27vw, 400px); }
}
.acard__node { position: absolute; left: 50%; bottom: -33px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--champagne-deep); transition: background-color .3s, box-shadow .3s, transform .45s var(--e-settle); }
.acard__node.is-on { background: var(--champagne-deep); transform: scale(1.3); box-shadow: 0 0 0 4px rgba(122, 92, 36, .12); }
.accel-rail { position: absolute; right: 0; height: 1px; background: linear-gradient(90deg, var(--champagne-deep), rgba(122, 92, 36, .2)); pointer-events: none; }

/* ---------- #start: thread through the steps; lit steps ---------- */
.steps { position: relative; }
.steps__comet { position: absolute; left: 0; top: -1px; z-index: 2; width: 220px; height: 1px; margin-left: -220px; background: linear-gradient(90deg, transparent, rgba(217, 191, 140, .45) 55%, #F1E3C0); pointer-events: none; }
.steps__comet::after { content: ''; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #F1E3C0; box-shadow: 0 0 12px 2px rgba(241, 227, 192, .55); }
.step { --lit: 0; }
html.motion-on .step { box-shadow: 0 0 0 1px rgba(217, 191, 140, calc(var(--lit) * .8)), 0 22px 44px -26px rgba(217, 191, 140, calc(var(--lit) * .6)); }

/* ---------- Tabs: the selected pill Flips between tabs ---------- */
.tabs__list.has-pill .tabs__tab { position: relative; isolation: isolate; }
.tabs__list.has-pill .tabs__tab[aria-selected='true'] { background: transparent; }
.tabs__pill { position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: var(--ink); pointer-events: none; }

/* ---------- #about: the monogram ring ---------- */
.founder__mono { position: relative; }
.founder__ring { position: absolute; left: -7px; top: -7px; width: calc(100% + 14px); height: calc(100% + 14px); overflow: visible; pointer-events: none; }
.founder__ring circle { fill: none; stroke: var(--champagne); stroke-width: 1; }

/* ---------- #contact: H2 sheen once; focus underline; submit → thread progress → tick ---------- */
.cta-band .h2 em.mo-sheen {
  background-image: linear-gradient(100deg, rgba(255, 246, 220, 0) calc(50% - 60px), #FFF6DC 50%, rgba(255, 246, 220, 0) calc(50% + 60px)), linear-gradient(var(--champagne), var(--champagne));
  background-size: 300% 100%, 100% 100%; background-repeat: no-repeat; background-position: 0 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding-right: .08em; margin-right: -.08em; animation: mo-em-sheen 1.6s cubic-bezier(.45, .05, .35, 1) both;
}
@keyframes mo-em-sheen { from { background-position: 100% 0, 0 0; } to { background-position: 0 0, 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  html.motion-on .field input, html.motion-on .field textarea {
    background-image: linear-gradient(var(--champagne), var(--champagne)); background-repeat: no-repeat; background-position: 14px 100%; background-size: 0 1.5px;
    transition: border-color .2s, box-shadow .2s, background-color .2s, background-size .32s var(--e-loom);
  }
  html.motion-on .field input:focus, html.motion-on .field textarea:focus { background-size: calc(100% - 28px) 1.5px; }
  html.motion-on .field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9BF8C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"), linear-gradient(var(--champagne), var(--champagne));
    background-repeat: no-repeat, no-repeat; background-position: right 14px center, 14px 100%; background-size: 18px, 0 1.5px;
    transition: border-color .2s, box-shadow .2s, background-color .2s, background-size .32s var(--e-loom);
  }
  html.motion-on .field select:focus { background-size: 18px, calc(100% - 28px) 1.5px; }
}
.form .btn { position: relative; }
.btn__fx { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.btn__thread { position: absolute; left: 28px; right: 28px; top: 50%; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.btn__tick { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.btn.is-sending { color: transparent; }
.btn.is-sending .btn__label { opacity: 0; transition: opacity .18s; }
.btn.is-sending .btn__thread { animation: mo-scale-x .5s var(--e-comb) .1s forwards, mo-fade-out .2s .62s forwards; }
.btn.is-sending .btn__tick { animation: mo-tick .32s var(--e-loom) .66s forwards; }
@keyframes mo-scale-x { to { transform: scaleX(1); } }
@keyframes mo-fade-out { to { opacity: 0; } }
@keyframes mo-tick { to { stroke-dashoffset: 0; } }

/* ---------- Footer revealed from beneath the contact band (desktop) ---------- */
@media (min-width: 1024px) {
  body.mo-footer-reveal main { position: relative; z-index: 1; background: var(--paper); }   /* own stacking context: sheet underlays still paint above this */
  body.mo-footer-reveal > .footer { position: sticky; bottom: 0; z-index: 0; }
}
/* #work "One golden ID": the temporary wrapper must not pick up `.wcard__fig span` (block, 15px sans) */
.wcard__fig .mo-gid { display: inline; margin: 0; font: inherit; line-height: inherit; color: inherit; }

/* review fix 3: fan canvas behind content */
#contact .cta-band__inner { position: relative; z-index: 1; }
