/* ==========================================================================
   inlightenup — shared stylesheet
   Every page loads this one file. Change a value here and it changes site-wide.

   1. Tokens (colours, fonts, spacing)   5. Home page sections
   2. Base                               6. Portfolio, Team, Advisory
   3. Type                               7. Motion
   4. Header, menu, footer               8. Small screens, reduced motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #333132;
  --ink-2: #3A3A3A;
  --ink-3: #4A4A4A;
  --mute: #5A5A5A;
  --rule: #D6D6D6;
  --paper: #FFFFFF;
  --wash: #F5F5F3;
  --accent: #0032A1;
  --on-dark: #E2E2E2;
  --on-dark-mute: #BDBDBD;
  --sky: #00B5E2;
  --night: #00123B;        /* dark hero background */
  --accent-deep: #002374;  /* full-bleed navy panels */
  --cream: #FAFAFA;        /* type and line work on navy */
  --rose: #00B5E2;         /* accent on dark backgrounds */

  --serif: 'EB Garamond', Garamond, Georgia, serif;
  --display: 'Bodoni Moda', 'EB Garamond', Georgia, serif;
  --sans: Inter, system-ui, sans-serif;

  --max: clamp(1280px, 88vw, 1920px);   /* the content column grows with wide screens */
  --gutter: clamp(20px, 2.6vw, 32px);
  --section: clamp(72px, 8.5vw, 112px);
  --header-h: 104px;
  --header-h-stuck: 68px;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: opacity .25s ease, color .25s ease; }
a:hover { opacity: .72; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
section[id], article[id] { scroll-margin-top: calc(var(--header-h-stuck) + 16px); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.bg-wash { background: var(--wash); }
.bg-ink { background: var(--ink); color: var(--paper); }

.split { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-end; }
.split > .grow { flex: 1 1 520px; min-width: 0; }
.split > .side { flex: 1 1 380px; max-width: 480px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col, 300px)), 1fr)); gap: var(--gap, 48px); }

/* 3. Type ------------------------------------------------------------------ */
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600; line-height: 1.5;
  letter-spacing: 2px; text-transform: uppercase; color: var(--mute);
  margin-bottom: 16px;
}
.eyebrow--accent { color: var(--accent); }
.bg-ink .eyebrow { color: var(--on-dark-mute); }
.accent { color: var(--accent); }

.display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(50px, 8.6vw, 120px); line-height: .9; letter-spacing: .01em;
}
.display--page { font-size: clamp(46px, 7vw, 96px); line-height: .95; }
.display em { font-style: italic; text-transform: none; letter-spacing: -.01em; color: var(--ink-3); }

.h-xl { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; font-weight: 500; letter-spacing: -.02em; }
.h-lg { font-size: clamp(32px, 3.7vw, 46px); line-height: 1.05; font-weight: 500; letter-spacing: -.02em; }
.h-md { font-size: clamp(27px, 3vw, 38px); line-height: 1.08; font-weight: 500; letter-spacing: -.018em; }
.h-sm { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.15; font-weight: 500; letter-spacing: -.012em; }
.h-xs { font-size: clamp(21px, 2vw, 26px); line-height: 1.2; font-weight: 500; }
.h-xs--bold { font-weight: 600; font-size: clamp(20px, 1.9vw, 24px); }

.statement { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.25; letter-spacing: -.012em; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.42; color: var(--ink-3); }
.lead--italic { font-size: clamp(20px, 1.9vw, 24px); font-style: italic; line-height: 1.4; }
.body { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--ink-3); }
.body--dark { color: var(--ink-2); line-height: 1.55; }
.small { font-size: 17px; line-height: 1.45; color: var(--ink-3); }
.note { font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--mute); }
.bg-ink .lead { color: #D9D9D9; }
.bg-ink .body { color: var(--on-dark); }
.measure { max-width: 820px; }
.measure--sm { max-width: 640px; }

.u-link { border-bottom: 1px solid currentColor; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 16px; min-height: 44px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink);
}
.arrow-link svg { flex: none; transition: transform .5s var(--ease); }
.arrow-link:hover { opacity: 1; }
.arrow-link:hover svg { transform: translateX(8px); }
.arrow-link--quiet { color: var(--mute); gap: 12px; }
.arrow-link--quiet:hover svg { transform: translateY(3px); }

.icon-btn {
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; background: #F0F0EE; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .3s ease, color .3s ease, transform .5s var(--ease);
}
.social a:hover { opacity: 1; background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.social--outline a { background: transparent; border: 1px solid var(--ink); }
.social--dark a { background: rgba(255, 255, 255, .12); color: var(--paper); }
.social--dark a:hover { background: var(--paper); color: var(--ink); }

/* 4. Header, menu, footer -------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; font-family: var(--sans);
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease;
}
.site-header__in {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-block: 20px; transition: padding .5s var(--ease);
}
.site-header__logo { justify-self: center; }
.site-header__logo img { height: 64px; width: auto; transition: height .5s var(--ease); }
.logo--light { display: none; }
/* pages that open on a dark panel (<body class="has-dark-hero">) get a white header until you scroll */
.has-dark-hero .site-header:not(.is-stuck) { color: var(--paper); }
.has-dark-hero .site-header:not(.is-stuck) .logo--dark { display: none; }
.has-dark-hero .site-header:not(.is-stuck) .logo--light { display: block; }
.site-header__cta { justify-self: end; font-size: 13px; font-weight: 500; letter-spacing: .3px; padding: 12px 0; }
.site-header .icon-btn { justify-self: start; margin-left: -10px; }
.site-header.is-stuck {
  background: rgba(255, 255, 255, .9); border-bottom-color: var(--rule);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header.is-stuck .site-header__in { padding-block: 10px; }
.site-header.is-stuck .site-header__logo img { height: 48px; }
/* reading progress: a hairline in the brand colour */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent);
  transform: scaleX(var(--progress, 0)); transform-origin: left; opacity: 0; transition: opacity .4s ease;
}
.site-header.is-stuck .progress { opacity: 1; }

.menu { position: fixed; inset: 0; z-index: 50; display: flex; visibility: hidden; transition: visibility 0s .6s; }
.menu.is-open { visibility: visible; transition-delay: 0s; }
.menu__scrim {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer;
  background: rgba(51, 49, 50, .32); opacity: 0; transition: opacity .5s ease;
}
.menu__panel {
  position: relative; width: 360px; max-width: 86%; height: 100%; overflow-y: auto;
  background: var(--paper); border-right: 1px solid var(--ink);
  padding: 24px 28px 32px; display: flex; flex-direction: column;
  transform: translateX(-102%); transition: transform .6s var(--ease);
}
.menu.is-open .menu__scrim { opacity: 1; }
.menu.is-open .menu__panel { transform: none; }
.menu__close { align-self: flex-end; margin-right: -10px; }
.menu__list { margin-top: 20px; flex-grow: 1; font-size: 26px; line-height: 1.2; }
.menu__list li {
  border-bottom: 1px solid var(--rule);
  opacity: 0; transform: translateX(-14px);
  transition: opacity .5s ease, transform .6s var(--ease);
}
.menu.is-open .menu__list li { opacity: 1; transform: none; transition-delay: calc(140ms + var(--i) * 45ms); }
.menu__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 0; }
.menu__list a:hover { opacity: 1; color: var(--accent); }
.menu__list a[aria-current="page"] { color: var(--accent); }
.tag {
  font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); border: 1px solid currentColor; border-radius: 99px; padding: 3px 8px; white-space: nowrap;
}
.menu .social { margin-top: 28px; }

.site-footer { background: var(--ink); color: var(--paper); font-family: var(--sans); }
.site-footer__in { padding-block: 72px 40px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
.site-footer__logo { height: 96px; width: auto; }
.site-footer__about { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--on-dark-mute); }
.site-footer h2 { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: 16px; }
.site-footer__cols ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__base {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2);
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--on-dark-mute);
}
.site-footer__tagline { font-family: var(--serif); font-size: 16px; color: var(--paper); }

/* closing call-to-action band used on inner pages */
.cta-band { border-top: 1px solid var(--ink); }
.cta-band__in { padding-block: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { flex: 1 1 480px; }

/* Contact prompt (built by site.js): "Start a conversation" / "Book an intro call" */
.contact {
  width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto;
  border: 1px solid var(--ink); background: var(--paper); color: var(--ink);
}
.contact::backdrop { background: rgba(51, 49, 50, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.contact[open] { animation: dialogIn .55s var(--ease); }
.contact[open]::backdrop { animation: backdropIn .4s ease; }
.contact__in { position: relative; padding: clamp(24px, 4.5vw, 48px); }
.contact__in > .eyebrow { margin-bottom: 12px; }
.contact__close { position: absolute; top: 12px; right: 12px; }
.contact__tabs { display: flex; gap: 32px; margin: 24px 0 28px; border-bottom: 1px solid var(--ink); }
.contact__tabs button {
  position: relative; padding: 14px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--mute); transition: color .3s ease;
}
.contact__tabs button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.contact__tabs button:hover, .contact__tabs button[aria-selected="true"] { color: var(--ink); }
.contact__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.contact__panel:not([hidden]) { animation: fadeUp .5s var(--ease); }
.contact__panel > .body { margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 28px; }
.field { display: block; margin-bottom: 22px; }
.field span { display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mute); }
.field i { font-style: normal; font-weight: 400; letter-spacing: .5px; text-transform: none; opacity: .8; }
.field input, .field textarea {
  display: block; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  background: transparent; color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.4;
  resize: vertical; transition: border-color .3s ease, box-shadow .3s ease;
}
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field ::placeholder { color: #9A9A9A; }
.btn {
  display: inline-flex; align-items: center; gap: 16px; padding: 16px 24px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 14px; font-weight: 600;
  transition: background .3s ease;
}
.btn svg { transition: transform .5s var(--ease); }
.btn:hover { opacity: 1; background: var(--accent); }
.btn:hover svg { transform: translateX(6px); }
.contact__status { margin-top: 18px; min-height: 20px; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px); } }
@keyframes backdropIn { from { opacity: 0; } }

/* 5. Home ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--ink);
  min-height: clamp(680px, 100svh, 900px); padding-top: var(--header-h);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero { --g-line: 51, 49, 50; --g-accent: 236, 0, 140; --g-text: 51, 49, 50; }
.globe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: translateY(calc(var(--hero-p, 0) * 80px)) scale(calc(1 + var(--hero-p, 0) * .07));
}
.hero__body { opacity: calc(1 - var(--hero-p, 0) * 1.4); transform: translateY(calc(var(--hero-p, 0) * -36px)); }
.hero__body { position: relative; z-index: 2; width: 100%; padding-block: 48px 40px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__copy { flex: 1 1 640px; min-width: 0; }
.hero__copy .eyebrow { letter-spacing: 2.5px; margin-bottom: 24px; }
.hero__copy .lead { margin-top: 28px; max-width: 560px; }
.hero__links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.hero__scroll {
  flex: none; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; min-width: 44px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mute);
}
.hero__scroll svg { animation: nudge 2.6s ease-in-out infinite; }
.hero__strip {
  position: relative; z-index: 2; width: 100%; border-top: 1px solid var(--rule); padding-block: 20px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-family: var(--sans);
}
.hero__strip-brand { display: flex; align-items: center; gap: 16px; }
.hero__strip-brand img { height: 56px; width: auto; }
.hero__strip-brand p { font-family: var(--serif); font-size: 17px; line-height: 1.3; max-width: 360px; }
.hero__strip-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 12px; color: var(--mute); }

/* Cinematic dark hero. Remove has-dark-hero from <body> in index.html to return to the white hero. */
.has-dark-hero .hero {
  background: radial-gradient(52% 62% at 72% 46%, rgba(0, 50, 161, .6), transparent 74%), var(--night);
  color: var(--paper); border-bottom-color: var(--night);
  min-height: clamp(680px, 100svh, 1000px);
  --g-line: 255, 255, 255; --g-accent: 236, 0, 140; --g-text: 255, 255, 255;
}
.has-dark-hero .hero::after {  /* film grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.has-dark-hero .hero .eyebrow--accent { color: var(--rose); }
.has-dark-hero .hero .display em { color: rgba(255, 255, 255, .7); }
.has-dark-hero .hero .lead { color: rgba(255, 255, 255, .8); }
.has-dark-hero .hero .arrow-link { color: var(--paper); }
.has-dark-hero .hero .arrow-link--quiet, .has-dark-hero .hero__scroll, .has-dark-hero .hero__strip-meta { color: rgba(255, 255, 255, .62); }
.has-dark-hero .hero__strip { border-top-color: rgba(255, 255, 255, .18); }
.has-dark-hero .hero .social a { background: rgba(255, 255, 255, .12); color: var(--paper); }
.has-dark-hero .hero .social a:hover { background: var(--paper); color: var(--ink); }
.has-dark-hero .hero .logo--dark { display: none; }
.has-dark-hero .hero .logo--light { display: block; }

.glance { border-bottom: 1px solid var(--ink); }
.glance__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { padding: 40px 24px 40px 0; }
.stat__num { font-size: clamp(44px, 5vw, 64px); font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat__label { margin-top: 8px; font-size: 19px; color: var(--ink-3); }

.mission { padding-top: var(--section); }
.mission .cols { padding-bottom: var(--section); border-bottom: 1px solid var(--rule); }
.mission .eyebrow { margin-bottom: 20px; }

.section-head { margin-bottom: 48px; }
.services { padding-block: var(--section) 48px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service { padding: 32px 32px 40px; border-left: 1px solid var(--rule); }
.service:first-child { padding-left: 0; border-left: 0; }
.service:last-child { padding-right: 0; }
.service__num { font-family: var(--sans); font-size: 13px; color: var(--mute); margin-bottom: 20px; transition: color .3s ease; }
.service h3 { margin-bottom: 16px; }
.service:hover .service__num { color: var(--accent); }
.callout {
  margin-top: 8px; padding: 28px 32px; background: var(--wash);
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
}
.callout p { flex: 1 1 520px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.45; }
.callout strong { font-weight: 600; }
.callout a { font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 12px 0; }

.home-portfolio { padding-block: 64px var(--section); }
.home-portfolio .body { margin: 20px 0 28px; }
.index-list { border-bottom: 1px solid var(--ink); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.012em; }
.index-list a { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.index-list a:hover { opacity: 1; }
.index-list__name { transition: transform .6s var(--ease), color .3s ease; }
.index-list__meta { font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--mute); text-align: right; }
.index-list a:hover .index-list__name { transform: translateX(14px); color: var(--accent); }

.stall .lead--italic { margin: 20px 0 56px; }
.stall .cols { --col: 260px; --gap: 32px; }
.stall .line { padding-top: 20px; }
.stall h3 { margin-bottom: 12px; }
.stall .line p { font-size: 18px; color: var(--ink-3); }

.method__head { display: flex; flex-wrap: wrap; gap: 48px; margin-bottom: 64px; }
.method__head > div { flex: 999 1 560px; min-width: 0; }
.method__head .lead { margin-top: 20px; max-width: 680px; }
.pull {
  flex: 1 1 340px; padding: clamp(24px, 2.6vw, 32px); background: var(--ink); color: var(--paper);
  font-size: clamp(20px, 1.9vw, 24px); line-height: 1.3; font-weight: 500;
}
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stage { padding: 28px 24px 32px 0; }
.stage__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.stage--final .stage__num { background: var(--accent); }
.stage h3 { margin: 20px 0 8px; font-size: 28px; font-weight: 500; }
.stage p { margin-bottom: 20px; }
.stage__time { font-family: var(--sans); font-size: 13px; font-weight: 600; margin: 0 !important; }
.gates-head { margin-top: 96px; }
.table-scroll { margin-top: 40px; overflow-x: auto; }
.gates { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 17px; line-height: 1.4; }
.gates thead th {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--mute); text-align: left; padding: 0 16px 14px; border-bottom: 1px solid var(--ink);
}
.gates th:first-child, .gates td:first-child { padding-left: 0; width: 14%; }
.gates th:last-child, .gates td:last-child { padding-right: 0; }
.gates tbody th { text-align: left; font-weight: 600; font-size: 20px; white-space: nowrap; }
.gates tbody th span { font-weight: 400; color: var(--mute); font-size: 17px; }
.gates tbody th, .gates td { padding: 18px 16px; border-bottom: 1px solid var(--rule); color: var(--ink-2); transition: background .3s ease; }
.gates tbody th { color: var(--ink); }
.gates tbody tr:last-child > * { border-bottom-color: var(--ink); }
.gates tbody tr:last-child th { color: var(--accent); }
.gates tbody tr:hover > * { background: var(--wash); }

.sequence h2 { max-width: 960px; }
.sequence .lead { margin: 24px 0 64px; max-width: 760px; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.duo > div { padding: 36px 36px 36px 0; }
.duo > div + div { padding: 36px 0 36px 36px; border-left: 2px solid #555; }
.duo .eyebrow { letter-spacing: 1.5px; margin-bottom: 12px; }
.duo h3 { margin-bottom: 14px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; }
.duo .body { margin-bottom: 20px; }
.duo .ai { font-size: 18px; color: var(--paper); }
.duo .ai b { color: var(--sky); font-weight: 600; }

.clients .lead--italic { margin: 20px 0 56px; }
.clients .cols { --gap: 24px; }
.card {
  position: relative; border: 1px solid var(--ink); padding: clamp(24px, 2.6vw, 32px);
  display: flex; flex-direction: column; gap: 16px;
}
.card::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.card:hover::after { transform: scaleX(1); }
.card .eyebrow { margin: 0; letter-spacing: 1.5px; }
.card ul { list-style: disc; padding-left: 20px; font-size: 18px; color: var(--ink-3); flex-grow: 1; }
.card__foot { padding-top: 16px; border-top: 1px solid var(--rule); }
.notfit { margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.notfit .eyebrow { flex: 0 0 160px; color: var(--ink); margin: 0; }
.notfit p:last-child { flex: 1 1 520px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: var(--ink-3); }

.proof__in { display: flex; flex-wrap: wrap; gap: 56px; }
.proof__story { flex: 999 1 560px; min-width: 0; }
.proof__story .lead--italic { margin: 20px 0 40px; }
.proof__story h3 { margin-bottom: 8px; }
.proof__story .body { margin-bottom: 28px; }
.proof__story .body:last-child { margin-bottom: 0; }
.proof__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--paper); padding: 24px; }
.tile__num { font-size: clamp(34px, 3.8vw, 48px); font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.tile p { margin-top: 10px; font-size: 16px; line-height: 1.4; color: var(--ink-3); }
.quote { background: var(--ink); color: var(--paper); padding: 36px 32px; }
.quote blockquote { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.15; font-weight: 500; }
.quote p { margin-top: 12px; font-size: 20px; font-style: italic; color: var(--on-dark); }
.quote figcaption { margin-top: 24px; font-family: var(--sans); font-size: 13px; color: #D0D0D0; }

.perspectives { padding-top: var(--section); }
.perspectives .section-head { margin-bottom: 40px; }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-bottom: 1px solid var(--ink); }
.feature:hover { opacity: 1; }
.feature__text { padding: 40px 32px 40px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.feature__text .eyebrow { letter-spacing: 1.5px; }
.feature__text h3 { margin-bottom: 16px; }
.feature__art { background: var(--wash); padding: 48px; display: flex; align-items: center; justify-content: center; }
.feature__art svg { width: 100%; max-width: 440px; height: auto; }
.feature:hover .arrow-link svg { transform: translateX(8px); }

.start__in { display: flex; flex-wrap: wrap; gap: 56px; }
.start__in > * { flex: 1 1 440px; min-width: 0; }
.start .lead { margin: 24px 0 24px; }
.start .note { font-size: 14px; margin-bottom: 24px; }
.start .note a { color: var(--ink); }
.steps li { display: flex; gap: 24px; padding: 24px 0; }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps__n { font-family: var(--sans); font-size: 14px; font-weight: 600; width: 28px; flex: none; padding-top: 6px; }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 18px; line-height: 1.45; color: var(--ink-3); }

/* 6. Inner pages ----------------------------------------------------------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); padding-bottom: clamp(48px, 5.5vw, 72px); }
.page-hero .eyebrow { letter-spacing: 2.5px; margin-bottom: 24px; }
.page-hero__row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; }
.page-hero__row .lead { flex: 1 1 520px; max-width: 640px; }
.facts { flex: 0 1 320px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.facts dt, .spec dt { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mute); }
.facts dd { margin-top: 6px; font-size: 40px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }

.subnav { position: sticky; top: var(--header-h-stuck); z-index: 30; background: rgba(255, 255, 255, .94); border-block: 1px solid var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.subnav ul { display: flex; gap: 0 36px; overflow-x: auto; scrollbar-width: none; font-family: var(--sans); font-size: 13px; font-weight: 500; white-space: nowrap; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { position: relative; display: inline-block; padding: 18px 0; color: var(--mute); }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.subnav a:hover, .subnav a.is-active { opacity: 1; color: var(--ink); }
.subnav a.is-active::after { transform: scaleX(1); }

.project { display: flex; flex-wrap: wrap; gap: 40px 64px; padding-block: 80px; border-bottom: 1px solid var(--rule); }
.project:last-child { border-bottom: 0; padding-bottom: var(--section); }
.project__main { flex: 999 1 560px; min-width: 0; }
.project__main .eyebrow { margin-bottom: 20px; }
.project__main h2 { margin-bottom: 12px; line-height: 1; }
.project__tagline { margin-bottom: 24px; font-size: clamp(21px, 2.1vw, 26px); line-height: 1.3; font-style: italic; color: var(--ink-3); }
.project__main .note { margin-top: 16px; font-size: 12px; }
.spec { flex: 1 1 320px; min-width: 0; align-self: flex-end; }
.spec > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.spec > div:last-child { border-bottom: 0; }
.spec dd { margin-top: 8px; font-size: 18px; line-height: 1.4; }

.team { padding-bottom: clamp(88px, 10vw, 128px); }
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 64px 48px; padding-top: 64px; }
.member { display: flex; flex-direction: column; gap: 24px; }
.portrait { width: 100%; max-width: 320px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--wash); }
.portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.member:hover .portrait img { transform: scale(1.04); }
.member h2 { margin-bottom: 6px; }
.member .eyebrow { margin: 0; font-size: 13px; letter-spacing: 1.5px; }
.member > p { font-size: 18px; color: var(--ink-3); }

/* Full-bleed navy panel: Advisory hero, and the Advisory band on the home page */
.bleed { position: relative; overflow: hidden; background: var(--accent-deep); color: var(--cream); }
.bleed::before {  /* fine overlapping-circle lattice, drifting very slowly */
  content: ""; position: absolute; inset: -140px; pointer-events: none; opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' fill='none' stroke='%23FAFAFA'%3E%3Ccircle cx='0' cy='0' r='70'/%3E%3Ccircle cx='140' cy='0' r='70'/%3E%3Ccircle cx='0' cy='140' r='70'/%3E%3Ccircle cx='140' cy='140' r='70'/%3E%3Ccircle cx='70' cy='70' r='70'/%3E%3C/svg%3E");
  background-size: 140px 140px; animation: drift 80s linear infinite;
}
.bleed::after {  /* soft vignette so the type sits forward */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 90% at 50% 45%, transparent 40%, rgba(0, 8, 36, .55));
}
.bleed > * { position: relative; z-index: 1; }
.bleed .eyebrow { color: var(--rose); }
.bleed .display em { color: rgba(250, 250, 250, .72); }
.bleed .lead { color: rgba(250, 250, 250, .86); }
.bleed .arrow-link { color: var(--cream); }

.bleed--hero { min-height: clamp(640px, 100svh, 980px); display: flex; align-items: center; padding-block: calc(var(--header-h) + 32px) 64px; }
.bleed--hero .wrap { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.bleed__copy { flex: 999 1 520px; min-width: 0; }
.bleed__copy .eyebrow { letter-spacing: 2.5px; margin-bottom: 24px; }
.bleed__copy .lead { margin-top: 32px; max-width: 600px; }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); animation: pulse 2.4s ease-in-out infinite; }

.medallion { flex: 1 1 320px; max-width: 440px; min-width: 0; margin-inline: auto; }
.medallion svg { width: 100%; height: auto; overflow: visible; }
.medallion__ring { transform-origin: 200px 200px; animation: spin 70s linear infinite; }
.medallion__ring text { font-family: var(--sans); font-size: 11px; font-weight: 600; fill: var(--cream); }
.medallion__disc { transform-origin: 200px 200px; animation: discIn 1.4s var(--ease) both .2s; }

.bleed--band .wrap { padding-block: clamp(64px, 8vw, 104px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 64px; }
.bleed--band .grow { flex: 999 1 520px; min-width: 0; }
.bleed--band h2 { max-width: 760px; }
.bleed--band .medallion { flex: 0 1 220px; max-width: 220px; margin: 0; }

/* large numbered statements (Advisory page) */
.principles { padding-block: var(--section); }
.principle { display: grid; grid-template-columns: minmax(64px, 160px) 1fr; gap: 24px 48px; padding-block: clamp(32px, 4.5vw, 56px); }
.principle__n { font-family: var(--display); font-size: clamp(48px, 7vw, 96px); line-height: .85; color: var(--accent); }
.principle h2 { margin-bottom: 14px; }
.principle .body { max-width: 640px; }
.principle .tag { display: inline-block; margin-top: 20px; }

.frame path, .frame line, .frame rect, .frame circle { vector-effect: non-scaling-stroke; }
.frame .f { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; animation-delay: calc(var(--n) * 180ms + 300ms); }
.frame .node { opacity: 0; animation: appear .8s ease forwards 2.9s; }
.frame .halo { transform-box: fill-box; transform-origin: center; opacity: 0; animation: halo 3.2s ease-out infinite 3.2s; }

/* 7. Motion ----------------------------------------------------------------
   "Structure before story": on scroll, a rule draws itself in first and the
   words follow. Two classes do the work:
     .reveal  the element fades up into place
     .line    a top rule draws left to right, then the element's children fade up
   site.js adds .in when the element scrolls into view. Without JavaScript,
   everything is simply visible.
   -------------------------------------------------------------------------- */
.line { position: relative; }
.line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--ink); transform-origin: left;
}
.line--soft::before { background: var(--rule); }
.line--accent::before { background: var(--accent); }
.bg-ink .line::before { background: rgba(255, 255, 255, .5); }

.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s ease var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .line::before { transform: scaleX(0); transition: transform 1.2s var(--ease) var(--d, 0ms); }
.js .line.in::before { transform: scaleX(1); }
.js .line > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s ease calc(var(--d, 0ms) + 200ms), transform 1s var(--ease) calc(var(--d, 0ms) + 200ms);
}
.js .line > :nth-child(2) { transition-delay: calc(var(--d, 0ms) + 280ms); }
.js .line > :nth-child(3) { transition-delay: calc(var(--d, 0ms) + 360ms); }
.js .line > :nth-child(n+4) { transition-delay: calc(var(--d, 0ms) + 440ms); }
.js .line.in > * { opacity: 1; transform: none; }

/* headline lines rise out of a mask on page load */
.mask { display: block; overflow: hidden; padding: .12em .08em .3em; margin: -.12em -.08em -.3em; }
.mask > span { display: block; animation: rise 1.2s var(--ease) both; animation-delay: var(--d, 0ms); }
.fade-in { animation: fadeUp 1s var(--ease) both; animation-delay: var(--d, 0ms); }

/* the chart in Perspectives draws itself */
.js .draw .draw__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.js .draw.in .draw__line { stroke-dashoffset: 0; }
.js .draw .draw__bar { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .9s var(--ease); transition-delay: calc(var(--n) * 140ms + 500ms); }
.js .draw.in .draw__bar { opacity: 1; transform: none; }

@keyframes rise { from { transform: translateY(108%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
@keyframes globeIn { from { opacity: 0; } }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateY(6px); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: .35; transform: scale(.8); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes halo { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(4.5); opacity: 0; } }
@keyframes drift { to { transform: translate(140px, 140px); } }
@keyframes discIn { from { opacity: 0; transform: scale(.9); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* soft cross-fade between pages, in browsers that support it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* 8. Small screens, reduced motion ----------------------------------------- */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .service, .service:first-child, .service:last-child { padding: 28px 0 32px; border-left: 0; border-top: 1px solid var(--rule); }
  .service:first-child { border-top: 0; }
  .duo > div, .duo > div + div { padding: 32px 0; border-left: 0; }
  .duo > div + div { border-top: 2px solid #555; }
}
@media (max-width: 720px) {
  :root { --header-h: 88px; --header-h-stuck: 64px; }
  .site-header__cta, .hero__scroll { display: none; }
  .site-header__logo img { height: 48px; }
  .site-header.is-stuck .site-header__logo img { height: 44px; }
  .hero { min-height: 640px; }
  .globe { opacity: .55; }
  .index-list a { flex-direction: column; align-items: flex-start; gap: 4px; }
  .index-list__meta { text-align: left; }
  .feature__text { padding-right: 0; }
  .feature__art { padding: 32px; }
  .project { padding-block: 56px; }
  .gates-head { margin-top: 64px; }
  .method__head { gap: 32px; margin-bottom: 48px; }
  .proof__in, .start__in { gap: 40px; }
  .site-footer__logo { height: 80px; }
  .principle { grid-template-columns: 1fr; gap: 12px; }
  .bleed--band .medallion { display: none; }
  .bleed--hero .medallion { max-width: 280px; }
  /* the four headline numbers sit two by two instead of one per row */
  .glance__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px 28px 0; }
  .stat__label { font-size: 16px; line-height: 1.3; }
}
/* Large screens: the column is wider (see --max), so the type steps up with it */
@media (min-width: 1900px) {
  body { font-size: 22px; }
  .eyebrow { font-size: 14px; }
  .h-xl { font-size: 68px; } .h-lg { font-size: 56px; } .h-md { font-size: 46px; } .h-sm { font-size: 38px; }
  .h-xs { font-size: 30px; } .h-xs--bold { font-size: 28px; }
  .statement { font-size: 40px; } .lead { font-size: 26px; } .lead--italic { font-size: 28px; }
  .body { font-size: 22px; } .small { font-size: 20px; } .note { font-size: 15px; }
  .stat__num { font-size: 80px; } .stat__label { font-size: 22px; }
  .measure { max-width: 980px; } .measure--sm { max-width: 760px; }
  .site-header__cta { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .line > *, .js .draw .draw__bar { opacity: 1; transform: none; }
  .js .line::before { transform: none; }
  .js .draw .draw__line, .frame .f { stroke-dashoffset: 0; }
  .frame .node { opacity: 1; }
  .menu__list li { opacity: 1; transform: none; }
}
