/* Designed, architected and developed by Muhammad Tariq */
/* ═══════════════════════════════════════════════════════
   BSHAMS — Gilded Noir
   ─────────────────────────────────────────────────────
   Ivory paper, noir ink, antique-gold foil hairlines.
   Palette (the only hex values in this file):
     Noir #111111 · Charcoal #2E2E2E · Antique Gold #C9A84C
     Deep Gold #8A6B23 · Italic Gold #A0801F
     Champagne #E8D6B3 + #EFE2C6 · Ivory #F8F5EF
   Type: Cormorant Garamond (display) · Manrope (UI, body)
   Motion: transform / opacity / clip-path only.
═══════════════════════════════════════════════════════ */

/* ─── Tokens ───────────────────────────────────────── */
:root {
  --noir: #111111;
  --charcoal: #2E2E2E;
  --gold: #C9A84C;
  --gold-deep: #8A6B23;   /* small gold text on light grounds (4.6:1 on ivory) */
  --gold-em: #A0801F;     /* large italic gold on ivory */
  --champagne: #E8D6B3;
  --champagne-soft: #EFE2C6;
  --ivory: #F8F5EF;

  /* Tints mixed from the palette, never new hues */
  --line: color-mix(in srgb, var(--noir) 10%, transparent);
  --line-strong: color-mix(in srgb, var(--noir) 20%, transparent);
  --line-ink: color-mix(in srgb, var(--noir) 28%, transparent);
  --line-ivory: color-mix(in srgb, var(--ivory) 16%, transparent);
  --line-ivory-strong: color-mix(in srgb, var(--ivory) 32%, transparent);
  --gold-line: color-mix(in srgb, var(--gold) 72%, transparent);
  --gold-faint: color-mix(in srgb, var(--gold) 16%, transparent);
  --charcoal-soft: color-mix(in srgb, var(--charcoal) 82%, var(--ivory));
  --ivory-86: color-mix(in srgb, var(--ivory) 86%, transparent);
  --ivory-74: color-mix(in srgb, var(--ivory) 74%, transparent);
  --ivory-62: color-mix(in srgb, var(--ivory) 62%, transparent);
  --ivory-glass: color-mix(in srgb, var(--ivory) 90%, transparent);
  --shadow-ink: color-mix(in srgb, var(--noir) 38%, transparent);
  --sheen: color-mix(in srgb, var(--ivory) 70%, transparent);

  --foil: linear-gradient(115deg,
    var(--gold) 0%,
    color-mix(in srgb, var(--gold) 55%, var(--champagne)) 44%,
    var(--gold) 60%,
    color-mix(in srgb, var(--gold) 84%, var(--gold-deep)) 100%);
  --stripe: repeating-linear-gradient(135deg, var(--champagne) 0 10px, var(--champagne-soft) 10px 20px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.97 0 0 0 0 0.96 0 0 0 0 0.93 0 0 0 0.11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  /* Vertical rhythm: three intentional steps, not one uniform value */
  --space-slim: clamp(30px, 4.5vh, 48px);       /* credential bar, fine print */
  --section-y: clamp(64px, 10vh, 120px);        /* content sections */
  --space-statement: clamp(88px, 16vh, 184px);  /* statement sections */
  --max: 1440px;
  --header-h: 76px;
  --radius: 2px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-rise: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 400ms;

  --focus: var(--gold-deep);
}

/* ─── Reset & base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Browsers honour this when deciding whether a Tab-focused control is in view,
     so nothing lands under the sticky header (WCAG 2.4.11). */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--noir);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
ol, ul { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 8px; } /* on top of html's scroll-padding: header + 24px in all */

::selection { background: var(--champagne); color: var(--noir); }

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

.noir, .page-dark main { --focus: var(--gold); }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--noir);
  color: var(--ivory);
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; --focus: var(--gold); outline-offset: -4px; } /* the ring sits on the noir box */

/* ─── Layout ───────────────────────────────────────── */
.wrap { max-width: var(--max); margin-inline: auto; }
.section { padding: var(--section-y) var(--gutter); }
.section--statement { padding-block: var(--space-statement); }
.section--rule { border-bottom: 1px solid var(--line); }
.section--flush { padding-top: 0; }

.noir {
  background-color: var(--noir);
  background-image: var(--grain);
  color: var(--ivory);
}
.champagne { background: var(--champagne); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split > div > :first-child { margin-top: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(36px, 5vh, 64px);
}

/* ─── Typography ───────────────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--gold-em);
  padding-right: 0.04em;
}
.noir .display em { color: var(--gold); }
.champagne .display em { color: var(--gold-deep); } /* 3.5:1 on champagne; --gold-em is only 2.6:1 */

/* One shout (the home hero), then a clear step down for everything else */
.display--hero { font-size: clamp(48px, 7.4vw, 124px); line-height: 0.94; letter-spacing: -0.028em; }
.display--page { font-size: clamp(42px, 5.4vw, 84px); line-height: 1; letter-spacing: -0.02em; margin-top: 24px; }
.display--xl { font-size: clamp(32px, 3.7vw, 56px); line-height: 1.06; }
.display--lg { font-size: clamp(30px, 3.3vw, 50px); line-height: 1.08; }
.display--md { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.12; }

.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow { display: flex; width: fit-content; }
.newsletter .eyebrow { margin-inline: auto; }
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--ink { color: var(--charcoal); }
.eyebrow--gold { color: var(--gold); }

.label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.lede {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.7;
  color: var(--charcoal);
  text-wrap: pretty;
}
.noir .lede { color: var(--ivory-74); }

.lede-serif {
  margin-top: 26px;
  max-width: 50ch;
  font: 300 clamp(20px, 1.7vw, 27px)/1.5 var(--serif);
  color: var(--charcoal);
  text-wrap: pretty;
}

.prose-serif {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 26px;
  font: 300 clamp(19px, 1.6vw, 25px)/1.55 var(--serif);
  text-wrap: pretty;
}
.prose-serif--long { gap: 24px; margin-top: 0; font-size: clamp(19px, 1.6vw, 26px); }

/* Pull quote: Bushra's own line, set apart with a gold hairline and a quiet attribution */
.pull-quote {
  position: relative;
  margin-block: clamp(14px, 2vw, 26px);
  padding: clamp(24px, 2.6vw, 34px) 0 2px;
}
.pull-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 1px;
  background: var(--gold);
}
.pull-quote__text p {
  font: italic 300 clamp(27px, 2.5vw, 38px)/1.22 var(--serif);
  letter-spacing: -0.01em;
  color: var(--noir);
  text-wrap: balance;
}
.pull-quote__text p::before { content: '\201C'; content: '\201C' / ''; color: var(--gold-em); }
.pull-quote__text p::after { content: '\201D'; content: '\201D' / ''; color: var(--gold-em); }
.pull-quote__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font: 600 10px/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.pull-quote__by::before { content: ''; width: 22px; height: 1px; background: currentColor; }

.dropcap::first-letter {
  float: left;
  margin: 0.06em 0.1em 0 -0.02em;
  font-family: var(--serif);
  font-size: 4.4em;
  font-weight: 300;
  line-height: 0.64; /* 4.4 × 0.64 + 0.26 ≤ 2 × 1.55: the float spans exactly two lines */
  color: var(--gold-em);
}
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  .dropcap::first-letter {
    float: none;
    margin: 0 0.1em 0 0;
    font-size: inherit;
    line-height: inherit;
    -webkit-initial-letter: 2;
    initial-letter: 2;
  }
}

.gold { color: var(--gold); }
.nowrap { white-space: nowrap; }

/* ─── Buttons & links ──────────────────────────────── */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 500 11px/1.35 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out);
}
.btn:active { transform: scale(0.985); }
.btn--sm { min-height: 42px; padding: 13px 22px; font-size: 10px; letter-spacing: 0.18em; }
.btn--inline { white-space: nowrap; }

/* Noir: gold foil sweeps in from the left behind the label; the label turns noir
   once the foil has passed under it (a discrete flip, no colour animation). */
/* padding-box: the transparent border must not show noir around the gold fill */
.btn--noir {
  background: var(--noir) padding-box;
  color: var(--ivory);
  transition: transform 0.25s var(--ease-out), color 0s linear 0.15s;
}
.btn--noir::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--foil);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease-out);
}
.btn--noir:hover,
.btn--noir:focus-visible {
  color: var(--noir);
  transition: transform 0.25s var(--ease-out), color 0s linear 0.12s;
}
.btn--noir:hover::before,
.btn--noir:focus-visible::before { transform: scaleX(1); transform-origin: left; }

/* Ghost on dark: a gold mat appears inside on hover */
.btn--ghost-ivory::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid var(--gold-line);
  border-radius: 1px;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity var(--dur) var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
}
.btn--ghost-ivory:hover::after,
.btn--ghost-ivory:focus-visible::after { opacity: 1; transform: none; }

/* Gold: foil gradient with a slow, soft champagne sheen */
.btn--gold {
  background: var(--foil);
  color: var(--noir);
  font-weight: 600;
  letter-spacing: 0.18em;
}
.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg,
    transparent 24%,
    color-mix(in srgb, var(--champagne-soft) 45%, transparent) 40%,
    var(--sheen) 50%,
    color-mix(in srgb, var(--champagne-soft) 45%, transparent) 60%,
    transparent 76%);
  transform: translateX(-110%);
  pointer-events: none;
}
.btn--gold:hover::after,
.btn--gold:focus-visible::after {
  transform: translateX(110%);
  transition: transform 1.4s var(--ease-out);
}

/* Ghost: champagne rises from the floor */
.btn--ghost {
  border-color: var(--line-ink);
  color: var(--charcoal);
}
.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--champagne);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
}
.btn--ghost:hover,
.btn--ghost:focus-visible { border-color: var(--noir); color: var(--noir); }
.btn--ghost:hover::before,
.btn--ghost:focus-visible::before { transform: scaleY(1); }

.btn--ghost-ivory {
  border-color: var(--line-ivory-strong);
  color: var(--ivory);
  background: transparent;
}
.btn--ghost-ivory:hover,
.btn--ghost-ivory:focus-visible { border-color: var(--gold); }
.btn[disabled] { cursor: progress; opacity: 0.7; }

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

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font: 500 10px/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--noir);
  border-bottom: 1px solid var(--line-ink);
}
.link-arrow::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.link-arrow::after {
  content: '\2192';
  content: '\2192' / '';
  font-size: 13px;
  letter-spacing: 0;
  transition: transform var(--dur) var(--ease-out);
}
.link-arrow:hover::after,
.link-arrow:focus-visible::after { transform: translateX(4px); }
.link-arrow:hover::before,
.link-arrow:focus-visible::before { transform: scaleX(1); transform-origin: left; }

/* Hairline links: a 1px gold rule draws in from the left on hover and keyboard focus,
   and stays drawn on the current page. */
.site-footer__list a,
.book__contact a,
.menu__email { position: relative; }
.site-nav__link::after,
.site-footer__list a::after,
.book__contact a::after,
.menu__email::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-footer__list a:hover::after,
.site-footer__list a:focus-visible::after,
.book__contact a:hover::after,
.book__contact a:focus-visible::after,
.menu__email:hover::after,
.menu__email:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.site-nav__link[aria-current='page']::after,
.site-footer__list a[aria-current='page']::after { transform: scaleX(1); }
/* End the rule at the last letter, not after its tracking */
.site-nav__link::after { right: 0.16em; }
.site-footer__list a::after { right: 0.14em; }
.site-footer__list .site-footer__email::after,
.book__contact a::after { right: 0.08em; }
.menu__email::after { right: 0.06em; }

/* ─── Ornament ─────────────────────────────────────── */
.ornament {
  width: min(240px, 72%);
  height: auto;
  margin-inline: auto;
  color: var(--gold);
}

/* ─── Header ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ivory-glass);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
  transition: transform 0.5s var(--ease-out);
}
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: 0 14px 34px -26px var(--shadow-ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.site-header.is-scrolled { transform: translateY(-10px); }
.site-header.is-scrolled::after { opacity: 1; }

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding: 12px var(--gutter);
  transition: transform 0.5s var(--ease-out);
}
.site-header.is-scrolled .site-header__bar { transform: translateY(5px); }

.site-header__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  will-change: transform;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 8px 0;
  font: 600 15px/1 var(--sans);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--noir);
}
.wordmark__text { margin-right: -0.34em; }
.wordmark__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-1px);
  transition: transform var(--dur) var(--ease-out);
}
.wordmark:hover .wordmark__dot { transform: translateY(-1px) scale(1.7); }

.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  list-style: none;
}
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font: 500 11px/1.1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link[aria-current='page'] { color: var(--noir); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.label-short { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 2px;
  background: none;
  border: 0;
  cursor: pointer;
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--noir);
}
.menu-toggle__bars {
  position: relative;
  width: 22px;
  height: 9px;
}
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out);
}
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { bottom: 0; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ─── Mobile menu ──────────────────────────────────── */
html.menu-open { overflow: hidden; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 20px) var(--gutter) 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ivory);
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.35s var(--ease-out), clip-path 0.6s var(--ease-out);
}
.menu-open .menu { opacity: 1; clip-path: inset(0); }

.menu__list { list-style: none; border-top: 1px solid var(--line); }
.menu__item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.menu-open .menu__item { opacity: 1; transform: none; }
.menu-open .menu__item:nth-child(1) { transition-delay: 0.1s; }
.menu-open .menu__item:nth-child(2) { transition-delay: 0.16s; }
.menu-open .menu__item:nth-child(3) { transition-delay: 0.22s; }
.menu-open .menu__item:nth-child(4) { transition-delay: 0.28s; }

.menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font: 300 clamp(36px, 11vw, 56px)/1.05 var(--serif);
  letter-spacing: -0.01em;
  color: var(--noir);
}
.menu__link[aria-current='page'] { font-style: italic; color: var(--gold-em); }
.menu__num {
  min-width: 22px;
  font: 600 10px/1 var(--sans);
  font-style: normal;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}

.menu__foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  margin-top: auto;
  padding-top: 36px;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.menu-open .menu__foot { opacity: 1; transform: none; transition-delay: 0.34s; }
.menu__email {
  align-self: center;
  padding: 6px 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  padding: clamp(44px, 9vh, 120px) var(--gutter) clamp(48px, 8vh, 104px);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  gap: clamp(48px, 6vw, 96px);
  align-items: end;
}

.hero__copy > * { animation: rise 0.9s var(--ease-rise) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.22s; }
.hero__copy > :nth-child(5) { animation-delay: 0.3s; }
.hero__copy > :nth-child(6) { animation-delay: 0.38s; }
.hero__visual { animation: rise 1.1s 0.2s var(--ease-rise) both; }

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.hero__sep { opacity: 0.55; }
.hero__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 22px;
  font: 500 10px/1.4 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.hero__note .hero__sep { color: var(--gold-deep); opacity: 1; }

/* One sheen across the headline after load. An ivory band in overlay blend lifts the
   gold italic (+40 levels at the peak) while noir and ivory move by only a few levels;
   a static mask feathers its top and bottom. overflow-x: clip keeps the band inside
   the headline without clipping descenders. */
@supports (overflow-x: clip) {
  @media (prefers-reduced-motion: no-preference) {
    .display--hero { position: relative; overflow-x: clip; }
    .display--hero::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: -40%;
      width: 40%;
      background: linear-gradient(100deg, transparent 12%, color-mix(in srgb, var(--ivory) 60%, transparent) 50%, transparent 88%);
      -webkit-mask-image: linear-gradient(transparent, black 22%, black 78%, transparent);
      mask-image: linear-gradient(transparent, black 22%, black 78%, transparent);
      mix-blend-mode: overlay;
      opacity: 0;
      pointer-events: none;
      animation: sheen 1.1s 0.6s cubic-bezier(0.45, 0, 0.25, 1) both;
    }
  }
}
.hero__copy .lede { margin-top: 30px; max-width: 54ch; }
.hero__aside {
  margin-top: 18px;
  max-width: 50ch;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--charcoal);
  text-wrap: pretty;
}

.hero__visual { position: relative; }
.hero__stage { position: relative; }
.plate { position: relative; }
.plate::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-line);
  transform: translate(clamp(10px, 1.3vw, 20px), clamp(10px, 1.3vw, 20px));
  pointer-events: none;
}

.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(30px, 3vw, 40px);
  padding-top: 13px;
  border-top: 1px solid var(--line-strong);
  font: 500 10px/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* Credential cards over the portrait */
.cred {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  background: var(--ivory); /* solid: whatever the portrait shows behind it, the card keeps its contrast */
  border: 1px solid var(--gold-line);
  box-shadow: 0 22px 44px -28px var(--shadow-ink);
}
.cred__kicker {
  font: 600 9.5px/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.cred__title { font: 400 21px/1.15 var(--serif); color: var(--noir); text-wrap: balance; }
.cred--two { flex-direction: row; align-items: center; gap: 14px; }
.cred__figure {
  font: 300 56px/0.85 var(--serif);
  color: var(--gold-em);
  font-variant-numeric: lining-nums tabular-nums;
}
.cred__label {
  max-width: 13ch;
  font: 500 10px/1.5 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* ─── Portrait ─────────────────────────────────────── */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stripe);
}
.portrait--5-6 { aspect-ratio: 5 / 6; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after {
  content: '';
  position: absolute;
  inset: clamp(10px, 1.4vw, 18px);
  border: 1px solid var(--gold-line);
  pointer-events: none;
}
/* One-time unveil: clip-path from the top, the image settling inside.
   Load portraits use a CSS animation; the home "Meet" portrait waits for its
   .reveal to become visible. Nothing is hidden unless JS has added .js. */
@media (prefers-reduced-motion: no-preference) {
  .hero__plate .portrait,
  .about-head__portrait .portrait { animation: unveil 1.5s 0.45s var(--ease-out) both; }
  .hero__plate .portrait > *,
  .about-head__portrait .portrait > * { animation: settle 2.4s 0.45s var(--ease-out) both; }

  .js .reveal .portrait {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.5s var(--ease-out) 0.15s;
  }
  .js .reveal .portrait > * {
    transform: scale(1.07);
    transition: transform 2.4s var(--ease-out) 0.15s;
  }
  .js .reveal.is-visible .portrait { clip-path: inset(0); }
  .js .reveal.is-visible .portrait > * { transform: none; }
}
.portrait__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 25% 15%, var(--charcoal), var(--noir) 75%);
  color: var(--champagne);
}
.portrait__placeholder::before {
  content: '';
  position: absolute;
  inset: 13% 17%;
  border: 1px solid var(--gold-faint);
  border-radius: 50% 50% 0 0;
}
.portrait__monogram {
  position: relative;
  font: 300 clamp(100px, 14vw, 220px)/0.9 var(--serif);
  letter-spacing: -0.12em;
  padding-right: 0.12em;
}
.portrait__monogram span { font-style: italic; color: var(--gold); }
.portrait__signature {
  position: relative;
  margin-top: 32px;
  font: 500 10px/1.5 var(--sans);
  letter-spacing: 0.5em;
  padding-left: 0.5em;
}

/* ─── Credibility bar ──────────────────────────────── */
.cred-bar {
  padding: var(--space-slim) var(--gutter);
  text-align: center;
}
.cred-bar__text {
  max-width: 1100px;
  margin: 18px auto 0;
  font: 300 clamp(19px, 1.7vw, 26px)/1.55 var(--serif);
  color: var(--ivory-86);
  text-wrap: pretty;
}

/* ─── Sequence (01–05) ─────────────────────────────── */
.sequence {
  margin-top: 34px;
  padding-top: 10px;
  border-top: 1px solid var(--champagne);
  list-style: none;
}
.sequence__item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 1.6vw, 24px);
  padding: 12px 0 14px;
}
.sequence__item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}
.sequence__num {
  flex: none;
  min-width: 1.25em;
  font: 300 clamp(34px, 2.9vw, 46px)/1 var(--serif);
  letter-spacing: -0.02em;
  color: var(--gold-deep);
}
.sequence__text { font: 400 clamp(21px, 1.7vw, 25px)/1.3 var(--serif); }
.sequence__item:last-child .sequence__text { font-style: italic; color: var(--gold-deep); } /* under 24px: 4.5:1 */

/* ─── Service preview tiles ────────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: 1fr; /* 2 from 640px, 4 from 1180px: counts that divide the four tiles */
  gap: 1px;
  padding-block: 1px;
  overflow-x: clip; /* hairlines between tiles only, as in the prototype */
}
/* Each tile shares its five row tracks (number, title, body, topics, link) with the others
   in its row, so a two-line title cannot push one tile's body out of step. */
.tile {
  position: relative;
  isolation: isolate;
  box-shadow: 0 0 0 1px var(--line-strong);
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 14px;
  padding: clamp(28px, 2.8vw, 40px);
  background: var(--ivory);
}
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--champagne);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.tile::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.tile:has(.link-arrow:hover)::before { opacity: 1; }
.tile:focus-within::before { opacity: 1; }
.tile:has(.link-arrow:hover)::after { transform: scaleX(1); }
.tile:focus-within::after { transform: scaleX(1); }
/* gold-deep is 3.5:1 on the champagne hover, under 4.5:1 at 17px */
.tile:has(.link-arrow:hover) .tile__num { color: var(--charcoal); }
.tile:focus-within .tile__num { color: var(--charcoal); }

.tile__num {
  font: italic 300 17px/1 var(--serif);
  color: var(--gold-deep);
}
.tile__title { font: 400 clamp(25px, 2.2vw, 32px)/1.1 var(--serif); letter-spacing: -0.01em; }
.tile__body { font-size: 15px; line-height: 1.65; color: var(--charcoal); text-wrap: pretty; }
.tile__topics { display: grid; align-content: start; gap: 7px; list-style: none; margin-bottom: 8px; }
.tile__topics li {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  font: 400 17px/1.35 var(--serif);
}
.tile .link-arrow { align-self: end; justify-self: start; }

/* ─── The Method ───────────────────────────────────── */
.method__title { margin-top: 22px; max-width: 22ch; }
.method {
  display: grid;
  grid-template-columns: 1fr; /* three columns from 760px */
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(36px, 5vh, 60px);
  list-style: none;
}
.method__item { position: relative; padding-top: 22px; }
.method__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-ink);
  transform-origin: left;
}
/* Each column's rule draws in once revealed, one after another */
.js .method__item::before { transform: scaleX(0); transition: transform 1.3s var(--ease-out) 0.15s; }
.js .method__item.is-visible::before { transform: scaleX(1); }
.js .method__item:nth-child(2)::before { transition-delay: 0.4s; }
.js .method__item:nth-child(3)::before { transition-delay: 0.65s; }
.method__num {
  display: block;
  margin-bottom: 20px;
  font: italic 300 clamp(40px, 4vw, 58px)/1 var(--serif);
  color: var(--gold-deep);
}
.method__name { margin-bottom: 12px; font: 400 clamp(28px, 2.6vw, 40px)/1.1 var(--serif); }
.method__item p { font-size: 16px; line-height: 1.65; color: var(--charcoal); text-wrap: pretty; }

/* ─── Stats strip ──────────────────────────────────── */
.stats {
  padding: var(--section-y) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* four from 900px */
  gap: 40px clamp(32px, 4vw, 56px);
}
.stat { display: flex; flex-direction: column; gap: 14px; }
.stat::before {
  content: '';
  order: -2;
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.stat__figure {
  order: -1;
  font: 300 clamp(68px, 7.4vw, 118px)/0.9 var(--serif);
  letter-spacing: -0.02em;
  color: var(--gold-em);
  font-variant-numeric: lining-nums tabular-nums;
}
.stat__label {
  font: 500 11px/1.6 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* ─── Audience, voices, stages ─────────────────────── */
.audience__head { max-width: 1000px; margin-inline: auto; text-align: center; }
.audience__head .lede { margin-inline: auto; max-width: 60ch; }

.voices {
  max-width: 1120px;
  margin: clamp(44px, 7vh, 80px) auto 0;
  text-align: center;
}
/* Without JS: the seven lines as a wrapped set of hairline chips */
.voices__stage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.voices__slide {
  padding: 11px 18px;
  border: 1px solid var(--line-ivory-strong);
  font: 400 19px/1.3 var(--serif);
}
.voices__controls { display: none; }

/* With JS: one statement at a time */
.voices.is-enhanced .voices__stage { display: grid; }
.voices.is-enhanced .voices__slide {
  grid-area: 1 / 1;
  align-self: center;
  padding: 0 clamp(0px, 3vw, 40px);
  border: 0;
  font: italic 300 clamp(34px, 5.4vw, 78px)/1.08 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
}
.voices.is-enhanced .voices__slide:not(.is-active) { transition-duration: 0.3s; }
.voices.is-enhanced .voices__slide.is-active { opacity: 1; transform: none; transition-delay: 0.3s; }
.voices.is-enhanced .voices__slide::before { content: '\201C'; color: var(--gold); }
.voices.is-enhanced .voices__slide::after { content: '\201D'; color: var(--gold); }

.voices.is-enhanced .voices__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin-top: clamp(32px, 5vh, 48px);
}
.voices__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-ivory-strong);
  border-radius: 50%;
  background: none;
  color: var(--ivory);
  cursor: pointer;
}
.voices__arrow svg { transition: transform var(--dur) var(--ease-out); }
.voices__arrow:hover { border-color: var(--gold); color: var(--gold); }
.voices__arrow[data-voices-prev]:hover svg { transform: translateX(-3px); }
.voices__arrow[data-voices-next]:hover svg { transform: translateX(3px); }
.voices__dots { display: flex; }
.voices__dot {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.voices__dot::before {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1px;
  background: var(--ivory-62); /* 7:1 on noir; the 32% rail was 2.7:1 */
}
.voices__dot::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  top: calc(50% - 0.5px);
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-out);
}
.voices__dot[aria-current='true']::after { transform: scaleX(1); }
.voices__pause,
.marquee__pause {
  min-height: 36px;
  padding: 0 4px;
  border: 0;
  background: none;
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-62);
  cursor: pointer;
}
.voices__pause:hover { color: var(--gold); }

.stages {
  display: grid;
  grid-template-columns: 1fr; /* 2 from 640px, 5 from 1180px: the ten stages in full rows */
  margin-top: clamp(48px, 7vh, 80px);
  list-style: none;
}
.stages__item {
  position: relative;
  padding: 22px 22px 22px 32px;
  border-top: 1px solid var(--line-ivory);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivory-86);
  text-wrap: pretty;
}
.stages__item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 30px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ─── Meet Bushra ──────────────────────────────────── */
.meet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.meet .display { margin-top: 24px; }
.meet__cta { margin-top: 36px; }

/* ─── Insights preview + marquee ───────────────────── */
.insights-preview .section-head { margin-bottom: clamp(28px, 4vh, 44px); }
.marquee__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.marquee__head .label { margin-bottom: 0; }
.marquee__pause { display: none; color: var(--charcoal); }
.js .marquee__pause { display: inline-block; }
.marquee__pause:hover { color: var(--gold-deep); }

.marquee {
  margin: 0 calc(var(--gutter) * -1) clamp(36px, 5vh, 56px);
  padding: 22px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}
.marquee:focus-visible { outline-offset: -3px; }
.marquee__rail {
  display: flex;
  width: max-content;
  animation: marquee 90s linear infinite;
}
.marquee:hover .marquee__rail,
.marquee:focus .marquee__rail,
.marquee.is-paused .marquee__rail { animation-play-state: paused; } /* .is-paused: the Pause button (WCAG 2.2.2) */
.marquee__list { display: flex; flex-shrink: 0; list-style: none; }
.marquee__item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font: italic 300 clamp(22px, 2.4vw, 34px)/1.2 var(--serif);
}
.marquee__item::after {
  content: '';
  width: 6px;
  height: 6px;
  margin: 0 clamp(22px, 3vw, 44px);
  background: var(--gold);
  transform: rotate(45deg);
}

.soon-panel {
  padding: clamp(40px, 7vh, 84px) 0;
  border-block: 1px solid var(--champagne);
  text-align: center;
}
.insights-preview .soon-panel { border-top: 0; padding-top: clamp(24px, 4vh, 48px); } /* the marquee already rules above it */
.soon-panel__title { font: 300 clamp(26px, 2.6vw, 40px)/1.2 var(--serif); }
.soon-panel__body {
  max-width: 54ch;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
  text-wrap: pretty;
}

/* ─── Final CTA ────────────────────────────────────── */
.final-cta {
  padding-block: var(--space-statement);
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 118%, var(--gold-faint), transparent 70%),
    var(--grain);
  text-align: center;
}
.final-cta__inner { max-width: 980px; }
.final-cta .display { margin-top: 28px; }
.final-cta .lede { margin-inline: auto; max-width: 52ch; }

/* ─── Inner page heads ─────────────────────────────── */
.page-head { padding: clamp(44px, 9vh, 112px) var(--gutter) clamp(40px, 6vh, 72px); }
.page-head__copy > * { animation: rise 0.9s var(--ease-rise) both; }
.page-head__copy > :nth-child(2) { animation-delay: 0.08s; }
.page-head__copy > :nth-child(3) { animation-delay: 0.16s; }
.page-head__copy .display { max-width: 22ch; }
.page-head__split {
  display: grid;
  gap: clamp(40px, 5vw, 88px);
  align-items: end;
}

/* ─── Services ─────────────────────────────────────── */
.svc-index { animation: rise 1s 0.2s var(--ease-rise) both; }
.svc-index__list { list-style: none; border-top: 1px solid var(--line-strong); }
.svc-index__link {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.svc-index__num {
  font: 600 10px/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}
.svc-index__title {
  font: 400 clamp(19px, 1.5vw, 23px)/1.25 var(--serif);
  transition: transform var(--dur) var(--ease-out);
}
.svc-index__link:hover .svc-index__title { transform: translateX(6px); color: var(--gold-deep); }
.svc-index__status {
  font: 600 9px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
}
.svc-index__status--open { color: var(--gold-deep); }

.filters { display: none; }
.js .filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 0 28px;
}
.chip {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  cursor: pointer;
}
.chip:hover { border-color: var(--noir); color: var(--noir); }
.chip[aria-pressed='true'] { background: var(--noir); border-color: var(--noir); color: var(--ivory); }
.filters__count {
  margin-left: auto;
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.svc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(34px, 4vw, 60px) 0;
  border-top: 1px solid var(--line-strong);
}
.svc.is-shown { animation: rise 0.6s var(--ease-rise) both; }
.svc__num {
  display: block;
  margin-bottom: 14px;
  font: italic 300 clamp(46px, 4.6vw, 68px)/0.9 var(--serif);
  color: var(--gold-em);
}
.svc__title { font: 400 clamp(28px, 2.8vw, 42px)/1.08 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.svc__body {
  max-width: 44ch;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  text-wrap: pretty;
}
.svc__cta { margin-top: 28px; }

.tag {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 11px;
  font: 600 10px/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tag--open { background: var(--noir); color: var(--ivory); }
.tag--soon { background: var(--champagne); color: var(--charcoal); }

.diamond-list { display: grid; gap: 10px; list-style: none; }
.diamond-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font: 400 20px/1.35 var(--serif);
}
.diamond-list li::before {
  content: '';
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: translateY(-4px) rotate(45deg);
}

.disclaimer { padding: var(--space-slim) var(--gutter); }
.disclaimer p {
  max-width: 900px;
  margin-inline: auto;
  font-size: 13px;
  line-height: 1.75;
  color: var(--charcoal);
  text-align: center;
  text-wrap: pretty;
}
/* Centred copy: balanced lines, not a short last line under a long one */
.audience__head .lede, .final-cta .lede, .soon-panel__body, .library__body, .disclaimer p { text-wrap: balance; }

/* ─── About ────────────────────────────────────────── */
.about-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
}
.about-head__portrait { animation: rise 1.1s 0.2s var(--ease-rise) both; }

.bio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.strengths__list { list-style: none; border-top: 1px solid var(--line-strong); }
.strengths__list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font: 400 21px/1.35 var(--serif);
}
.strengths__num {
  min-width: 22px;
  font: 600 10px/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}

.for-title { max-width: 26ch; }

/* Hairline grids: each cell draws its own 1px line, so cells can fade in without exposing a grey gap. */
.grid-lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1px;
  padding-block: 1px;
  overflow-x: clip;
  list-style: none;
}
.grid-lines__cell { padding: 30px 26px; background: var(--ivory); box-shadow: 0 0 0 1px var(--line-strong); }
.grid-lines--noir {
  grid-template-columns: 1fr; /* 2 from 640px, 3 from 960px: the six audiences in full rows */
  margin-top: clamp(34px, 5vh, 60px);
}
.grid-lines--noir .grid-lines__cell {
  box-shadow: 0 0 0 1px var(--line-ivory);
  padding: 28px 26px;
  background-color: var(--noir);
  background-image: var(--grain);
  font: 400 21px/1.4 var(--serif);
  color: var(--ivory-86);
  text-wrap: pretty;
}

/* ─── Insights page ────────────────────────────────── */
.format__title { margin-bottom: 10px; font: 400 26px/1.15 var(--serif); }
.format__body { font-size: 14px; line-height: 1.65; color: var(--charcoal); text-wrap: pretty; }

.status {
  display: inline-block;
  margin-top: 18px;
  font: 600 10px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.status--open { color: var(--noir); }
.status--open::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--gold); vertical-align: 1px; }

.block {
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: clamp(32px, 5vh, 48px);
  border-top: 1px solid var(--champagne);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips__item {
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  font: 400 18px/1.3 var(--serif);
}
.ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(24px, 4vw, 56px);
  list-style: none;
}
.ways__item { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.ways__item p { font-size: 14px; line-height: 1.65; color: var(--charcoal); }
.ways__title { margin-bottom: 10px; font: 400 27px/1.15 var(--serif); }
.ways__item .status { margin-top: 14px; }

.library {
  margin-top: clamp(40px, 6vh, 64px);
  padding: clamp(44px, 7vh, 88px) 24px;
  border: 1px solid var(--champagne);
  text-align: center;
}
.library__title { font: 300 clamp(26px, 2.6vw, 40px)/1.2 var(--serif); }
.library__body { max-width: 50ch; margin: 14px auto 0; font-size: 15px; line-height: 1.7; color: var(--charcoal); }

.newsletter__inner { max-width: 900px; margin-inline: auto; text-align: center; }
.newsletter .ornament { margin-bottom: 26px; color: var(--gold-deep); }
.newsletter .display { margin-top: 20px; }
.newsletter__note {
  margin-top: 18px;
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* ─── Forms ────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field__label {
  font: 500 10px/1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.noir .field__label { color: var(--ivory-62); }
.field__input {
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line-ink);
  border-radius: 0;
  background: transparent;
  box-shadow: 0 1px 0 0 transparent;
  font: 400 22px/1.35 var(--serif);
  color: inherit;
  outline: 2px solid transparent;
}
.champagne .field__input { border-bottom-color: var(--charcoal); } /* the newsletter field's only visible edge */
.field__input::placeholder { color: inherit; opacity: 0.68; } /* 5.4:1 on champagne, 8:1 on noir */
.field__input:hover { border-bottom-color: var(--noir); }
/* Focus: the rule turns the focus colour at once (the accessible indicator, 2px),
   then a gold hairline draws in from the left beneath it. */
.field__input:focus {
  border-bottom-color: var(--focus);
  box-shadow: 0 1px 0 0 var(--focus);
}
.field__line {
  display: block;
  height: 1px;
  /* Sits 1px under the 2px focus rule (a double hairline), inside the 9px field gap:
     -7 + 1 - 3 = -9, so the field's height does not change. */
  margin-top: -7px;
  margin-bottom: -3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-out);
  pointer-events: none;
}
.field__input:focus + .field__line { transform: scaleX(1); transform-origin: left; }
.field__input[aria-invalid='true'] { border-bottom-style: dashed; border-bottom-color: var(--focus); }
.field__input--area { min-height: 132px; resize: vertical; }
.noir .field__input { border-bottom-color: var(--ivory-62); } /* 7:1; the 32% rule was 2.7:1 */
.noir .field__input:hover { border-bottom-color: var(--ivory-86); }
.noir .field__input:focus { border-bottom-color: var(--gold); }
.noir .field__line { background: var(--champagne); }

.field__meta { display: flex; justify-content: space-between; gap: 16px; }
.field__error { font: italic 400 17px/1.35 var(--serif); color: var(--noir); }
.noir .field__error { color: var(--champagne); }
.field__hint { font: italic 300 17px/1.4 var(--serif); color: var(--charcoal); }
.noir .field__hint { color: var(--ivory-62); }
.field__error:not(:empty)::before { content: '\2014\00a0'; color: var(--focus); }
.field__count {
  display: none;
  margin-left: auto;
  font: 500 10px/1.8 var(--sans);
  letter-spacing: 0.16em;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}
.noir .field__count { color: var(--ivory-62); }
.js .field__count { display: block; }
.field__count.is-near { color: var(--gold); }

.form .btn { align-self: flex-start; margin-top: 6px; }

.inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 14px 16px;
  max-width: 540px;
  margin: 34px auto 0;
  text-align: left;
}
.inline-form .field { flex: 1 1 240px; }
.inline-form .field__input { font-size: 21px; padding: 9px 2px; }
.inline-form .notice { flex-basis: 100%; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--gold-line);
  font: italic 400 20px/1.4 var(--serif);
  text-align: left;
}
.notice::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: translateY(-3px) rotate(45deg);
}
.notice--warn { border-left-width: 3px; }

/* ─── Book (dark page) ─────────────────────────────── */
.book { min-height: calc(100svh - var(--header-h)); }
.book__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(48px, 6vw, 104px);
  align-items: start;
}
.book__copy > * { animation: rise 0.9s var(--ease-rise) both; }
.book__copy > :nth-child(2) { animation-delay: 0.08s; }
.book__copy > :nth-child(3) { animation-delay: 0.16s; }
.book__copy > :nth-child(4) { animation-delay: 0.22s; }
.book__copy > :nth-child(5) { animation-delay: 0.3s; }
.book__copy .display { max-width: 20ch; }
.book__copy .lede { max-width: 46ch; }
.book__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-ivory-strong);
  font: 500 11px/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-62);
}
.book__contact a { padding: 4px 0; letter-spacing: 0.08em; text-transform: none; font-size: 13px; color: var(--ivory-86); }
.book__contact a:hover { color: var(--gold); }
.book .form { animation: rise 1s 0.2s var(--ease-rise) both; }

/* ─── Error page ───────────────────────────────────── */
.error-page { min-height: 60vh; display: grid; align-items: center; }
.error-page__inner { max-width: 820px; text-align: center; }
.error-page .lede { margin-inline: auto; }

/* ─── Footer ───────────────────────────────────────── */
.site-footer {
  padding: clamp(52px, 7vh, 84px) var(--gutter) 32px;
  border-top: 1px solid var(--line-strong);
  background: var(--ivory);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: clamp(28px, 5vw, 72px);
}
.site-footer .wordmark { font-size: 14px; }
.site-footer__tagline {
  max-width: 32ch;
  margin-top: 14px;
  font: 300 20px/1.5 var(--serif);
  color: var(--charcoal);
}
.site-footer__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  list-style: none;
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.site-footer__list a { display: inline-block; padding: 5px 0; }
.site-footer__list a:hover,
.site-footer__list a:focus-visible { color: var(--gold-deep); }
.site-footer__list a[aria-current='page'] { color: var(--noir); }
.site-footer__email { text-transform: none; letter-spacing: 0.06em; font-size: 13px; }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(36px, 5vh, 56px);
  padding: 20px 64px 0 0; /* clear of the back-to-top button */
  border-top: 1px solid var(--line-strong);
  font: 500 10px/1.4 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.site-footer__fine {
  margin-top: 16px;
  padding-right: 64px; /* clear of the back-to-top button */
  font: 400 11px/1.6 var(--sans);
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: var(--noir);
  color: var(--gold);
  --focus: var(--gold-deep);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), transform 0.6s var(--ease-out);
}
.to-top svg { transition: transform var(--dur) var(--ease-out); }
.to-top:hover svg { transform: translateY(-3px); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .to-top { display: none; }

/* ─── Figures ──────────────────────────────────────── */
/* Counters and indices: lining, equal-width figures so columns of numbers align.
   Kept after the components because their font shorthand resets font-variant. */
[data-count], .sequence__num, .tile__num, .svc__num, .svc-index__num, .strengths__num,
.menu__num, .stat__figure, .cred__figure, .field__count { font-variant-numeric: lining-nums tabular-nums; }

/* ─── Scroll reveal (only once JS is running) ──────── */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .sequence__item::after { transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.js .is-visible .sequence__item::after { transform: scaleX(1); }
.js .is-visible .sequence__item:nth-child(2)::after { transition-delay: 0.1s; }
.js .is-visible .sequence__item:nth-child(3)::after { transition-delay: 0.2s; }
.js .is-visible .sequence__item:nth-child(4)::after { transition-delay: 0.3s; }
.js .is-visible .sequence__item:nth-child(5)::after { transition-delay: 0.4s; }

/* ─── Keyframes ────────────────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes sheen {
  0% { opacity: 0; transform: translateX(0); }
  18%, 82% { opacity: 1; }
  100% { opacity: 0; transform: translateX(350%); }
}
@keyframes unveil {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}
@keyframes settle {
  from { transform: scale(1.07); }
  to { transform: none; }
}
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* ─── Page transitions ─────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 220ms var(--ease-out) both fade-out; }
  ::view-transition-new(root) { animation: 420ms var(--ease-out) both fade-in; }
}

/* ─── Responsive ───────────────────────────────────── */
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); }
  .page-head__split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .about-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
}

/* Column counts that divide the item totals, so no grid ends on an orphaned row */
@media (min-width: 640px) {
  .tiles, .stages, .grid-lines--noir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .method { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Two-column reads: the short column stays in view while the long one scrolls */
  .svc__intro, .strengths { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
@media (min-width: 900px) {
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid-lines--noir { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stages { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Credential cards float over the portrait when there is room */
@media (min-width: 640px) {
  .hero__visual { max-width: 520px; width: 100%; justify-self: center; }
  .cred {
    position: absolute;
    animation: rise 0.9s 0.7s var(--ease-rise) both, float 7s 1.6s ease-in-out 2; /* two bobs, then still (WCAG 2.2.2) */
  }
  .cred--one { top: 9%; left: -28px; max-width: 220px; }
  .cred--two { bottom: 12%; right: -22px; animation-delay: 0.85s, 4.6s; }
}
@media (min-width: 960px) {
  .hero__visual { max-width: none; }
  .cred--one { left: -40px; }
  .cred--two { right: -28px; }
}

/* Below 640: the cards sit under the portrait, side by side */
@media (max-width: 639.98px) {
  .hero__stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero__plate { grid-column: 1 / -1; margin-bottom: clamp(10px, 4vw, 20px); }
  .cred { padding: 14px 14px; box-shadow: none; } /* in flow here, so no floating shadow */
  .cred__title { font-size: 18px; }
  .section-head .eyebrow { order: -1; flex-basis: 100%; } /* "Services" above its heading, not after it */
  .cred--two { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cred__figure { font-size: 46px; }

  .cta-row { flex-direction: column; align-items: stretch; }
  .btn:not(.btn--inline) { width: 100%; }
  .form .btn { align-self: stretch; }
  .filters__count { flex-basis: 100%; margin-left: 0; }
}
/* Phones: the dots take their own row so the arrows and Pause stay together */
@media (max-width: 479.98px) {
  .voices__dots { order: -1; flex-basis: 100%; justify-content: center; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .js .site-nav { display: none; }
  /* Without JS there is no Menu button, so the inline links wrap onto their own row */
  html:not(.js) .site-header__bar { flex-wrap: wrap; }
  html:not(.js) .site-nav { order: 3; flex-basis: 100%; margin-left: 0; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; }
  .site-header__bar { gap: 12px; padding-block: 10px; }
  .site-header__actions { gap: 10px; margin-left: auto; }
  .js .menu-toggle { display: inline-flex; }
  .label-long { display: none; }
  .label-short { display: inline; }
  .site-header__book { min-height: 38px; padding: 11px 16px; }
  .wordmark { font-size: 14px; letter-spacing: 0.28em; }
  .wordmark__text { margin-right: -0.28em; }
}
@media (min-width: 761px) {
  .menu { display: none !important; }
}
@media (max-width: 380px) {
  .menu-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .cred-bar__text { font-size: 18px; }
}
/* Keep "Complimentary · Thirty minutes · No pitch" on one line on phones */
@media (max-width: 440px) {
  .hero__note { gap: 8px; letter-spacing: 0.13em; }
  .btn--gold { letter-spacing: 0.14em; padding-inline: 20px; } /* "Book a Complimentary Consultation" on one line */
}
@media (max-width: 359.98px) {
  .hero__note { gap: 6px; font-size: 9px; letter-spacing: 0.1em; }
}

/* ─── Reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .cred { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:active { transform: none; }
  .js .method__item::before,
  .js .sequence__item::after { transform: none; }

  /* The subjects ticker becomes a still, wrapped list */
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .marquee__rail { display: block; width: auto; animation: none !important; }
  .marquee__list { flex-wrap: wrap; justify-content: flex-start; gap: 10px clamp(22px, 3vw, 44px); }
  .marquee__list[aria-hidden='true'] { display: none; }
  /* Still list: each subject led by its diamond, so wrapped lines read cleanly */
  .marquee__item { align-items: baseline; white-space: normal; }
  .marquee__item::after { order: -1; flex: none; margin: 0 14px 0 0; transform: translateY(-0.28em) rotate(45deg); }
}
