/* ==========================================================================
   Aurelius Capital — Private Wealth & Family Office (fictional)
   Palette: navy #0b1424 · ivory #f3eee4 · gold #b8945a · slate #5b6b80 · emerald #2f5d50
   ========================================================================== */

:root {
  --navy: #0b1424;
  --navy-2: #0f1b2f;
  --navy-3: #15233b;
  --ivory: #f3eee4;
  --ivory-2: rgba(243, 238, 228, 0.76);
  --ivory-3: rgba(243, 238, 228, 0.6);
  --gold: #b8945a;
  --gold-light: #d9bd88;
  --slate: #5b6b80;
  --emerald: #2f5d50;
  --emerald-light: #7cbca4;
  --line: rgba(184, 148, 90, 0.28);
  --line-soft: rgba(243, 238, 228, 0.1);

  --f-display: "Cormorant Garamond", "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1340px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--navy); }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
html.is-loading, html.is-loading body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--navy); }

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

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--ivory); color: var(--navy); font-weight: 500; border-radius: 2px;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 500;
}
.eyebrow__rule { width: 36px; height: 1px; background: currentColor; opacity: .7; }
.display-1, .display-2, .hero__title {
  font-family: var(--f-display); font-weight: 300; letter-spacing: -0.02em; color: var(--ivory);
}
.display-1 { font-size: clamp(3rem, 8.4vw, 8.2rem); line-height: 0.95; }
.display-2 { font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1.02; max-width: 15ch; }
em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.section-head__lead { color: var(--ivory-2); max-width: 46ch; font-size: 1.05rem; margin-top: 26px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 0.86rem; letter-spacing: 0.06em; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; background: none;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  will-change: transform;
}
.btn__arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost { border-color: var(--line); color: var(--ivory); min-height: 44px; padding: 0 22px; }
.btn--ghost:hover { border-color: var(--gold); background: rgba(184, 148, 90, .1); }
.btn--text { padding: 0 4px; color: var(--ivory); border-radius: 0; }
.btn--text::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 12px; height: 1px;
  background: var(--gold); transform-origin: right; transform: scaleX(.35); transition: transform .5s var(--ease);
}
.btn--text:hover::after { transform-origin: left; transform: scaleX(1); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300; display: none; place-items: center;
  background: var(--navy); color: var(--gold);
}
html.is-loading .preloader { display: grid; }
.preloader__inner { width: min(320px, 76vw); text-align: center; }
.preloader__mark { width: 30px; margin: 0 auto 18px; color: var(--gold); }
.preloader__word { font-family: var(--f-display); font-size: 2.4rem; font-weight: 300; letter-spacing: .32em; text-transform: uppercase; color: var(--ivory); padding-left: .32em; }
.preloader__bar { height: 1px; background: var(--line-soft); margin: 22px 0 12px; overflow: hidden; }
.preloader__fill { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.preloader__meta { display: flex; justify-content: space-between; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-3); font-variant-numeric: tabular-nums; }
.preloader__count { color: var(--gold-light); }

/* ---------- WebGL stage ---------- */
.webgl {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0;
  display: block; pointer-events: none; opacity: 0;
}
.scene-veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(11, 20, 36, .7), transparent 60%),
    linear-gradient(180deg, rgba(11, 20, 36, .35), transparent 18%, transparent 82%, rgba(11, 20, 36, .4));
}
.scene-fallback { display: none; position: fixed; right: 8vw; top: 50%; width: min(26vw, 260px); transform: translateY(-50%); z-index: 0; opacity: .85; pointer-events: none; }
html.no-webgl .scene-fallback { display: block; }

.scene-labels { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.s-label {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 12px;
  white-space: nowrap; opacity: 0; will-change: transform, opacity;
}
.s-label__rule { width: 44px; height: 1px; background: linear-gradient(90deg, rgba(217, 189, 136, 0), var(--gold-light)); }
.s-label__pct { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 2.2rem); font-weight: 400; color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; line-height: 1; }
.s-label__name { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.s-label--office { gap: 8px; }
.s-label--office .s-label__rule { width: 22px; }
.s-label--office .s-label__pct { font-size: 1.15rem; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
  width: 0; height: 0; display: none;
}
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: text; }
.cursor__ring {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--gold-light); transition: transform .45s var(--ease), background .45s var(--ease), border-color .45s;
}
.cursor.is-active .cursor__ring { transform: scale(4.2); background: rgba(184, 148, 90, .92); border-color: transparent; }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--navy); font-weight: 600; opacity: 0; transition: opacity .3s; white-space: nowrap;
}
.cursor.is-active .cursor__label { opacity: 1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: transform .6s var(--ease), background .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 20, 36, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-soft); }
.nav.is-hidden { transform: translateY(-101%); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--gold); }
.nav__mark { width: 14px; height: 24px; }
.nav__word { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory); line-height: 1; display: flex; align-items: baseline; gap: 10px; }
.nav__word-sub { font-family: var(--f-text); font-size: .6rem; letter-spacing: .3em; color: var(--gold-light); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { position: relative; font-size: .8rem; letter-spacing: .08em; color: var(--ivory-2); padding: 8px 0; transition: color .35s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ivory); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ivory); transition: transform .45s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(11, 20, 36, .97);
  display: flex; flex-direction: column; justify-content: center; padding: 90px var(--gutter) 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a { font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3rem); font-weight: 300; line-height: 1.2; padding: 4px 0; }
.mobile-menu a:last-child { color: var(--gold-light); font-style: italic; }
.mobile-menu__foot { margin-top: 40px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-3); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 3; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 110px; }
.hero__grid { display: flex; flex-direction: column; align-items: flex-start; }
.hero__eyebrow { margin-bottom: 30px; }
.hero__title { font-size: clamp(3.3rem, 9.6vw, 9.8rem); line-height: .9; max-width: 9ch; }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line { display: block; will-change: transform; }
.hero__sub { margin-top: 34px; max-width: 44ch; color: var(--ivory-2); font-size: clamp(1rem, 1.2vw, 1.12rem); }
.hero__ctas { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero__meta { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 18px 46px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.hero__meta li { display: flex; flex-direction: column; }
.hero__meta strong { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.hero__meta span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-3); }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-3); }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Philosophy ---------- */
.philosophy { position: relative; z-index: 3; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 20px) 0 40px; }
.philosophy__inner { display: grid; grid-template-columns: minmax(0, 520px) 1fr; }
.philosophy__copy { position: relative; padding-left: 0; }
.philosophy .display-2 { margin-top: 22px; }
.principles { margin-top: 38px; display: grid; gap: 22px; max-width: 470px; }
.principle { display: grid; grid-template-columns: 38px 1fr; gap: 6px; }
.principle__num { font-family: var(--f-display); font-style: italic; color: var(--gold-light); font-size: 1.25rem; line-height: 1.5; }
.principle h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.45rem; line-height: 1.25; }
.principle p { color: var(--ivory-2); font-size: .94rem; margin-top: 4px; }
.philosophy__rail { position: absolute; left: -26px; top: 0; bottom: 0; width: 1px; background: var(--line-soft); display: none; }
.philosophy__rail span { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(0); }
html.has-motion .philosophy__rail { display: block; }
.alloc-legend { align-self: end; justify-self: end; border-collapse: collapse; font-size: .85rem; min-width: 260px; }
.alloc-legend caption { text-align: left; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); padding-bottom: 10px; }
.alloc-legend th { text-align: left; font-weight: 400; color: var(--ivory-2); padding: 6px 30px 6px 0; border-top: 1px solid var(--line-soft); }
.alloc-legend td { text-align: right; font-family: var(--f-display); font-size: 1.2rem; border-top: 1px solid var(--line-soft); }
html.has-scene .alloc-legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Services ---------- */
.services { position: relative; z-index: 3; }
.services__pin { padding: 120px 0 100px; }
.services__head { position: relative; }
.services__head .display-2 { margin-top: 22px; max-width: 18ch; }
.services__hint { display: none; margin-top: 24px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-3); }
.services__hint span { color: var(--gold); }
.services__viewport { margin-top: 56px; }
.services__track { display: grid; gap: 18px; padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 32px;
  background: linear-gradient(160deg, rgba(21, 35, 59, .92), rgba(11, 20, 36, .92));
  border: 1px solid var(--line-soft); border-radius: 4px; overflow: hidden;
  transition: border-color .5s var(--ease), transform .6s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 100% 0%, rgba(184, 148, 90, .16), transparent 70%);
  opacity: .5; transition: opacity .6s var(--ease);
}
.service-card:hover { border-color: var(--line); }
.service-card:hover::before { opacity: 1; }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-card__num { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--gold-light); }
.service-card__icon { width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-top: 70px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.3vw, 2.2rem); line-height: 1.1; }
.service-card p { margin-top: 14px; color: var(--ivory-2); font-size: .95rem; }
.service-card ul { margin-top: auto; padding-top: 26px; display: grid; gap: 8px; }
.service-card li { position: relative; padding-left: 20px; font-size: .84rem; color: var(--ivory); }
.service-card li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--gold); }

@media (min-width: 900px) {
  html.has-motion .services__pin { height: 100vh; min-height: 640px; padding: calc(var(--nav-h) + 26px) 0 50px; display: flex; flex-direction: column; overflow: hidden; }
  html.has-motion .services__hint { display: block; }
  html.has-motion .services__viewport { flex: 1; margin-top: 40px; min-height: 0; display: flex; }
  html.has-motion .services__track { display: flex; gap: 22px; max-width: none; margin: 0; padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); height: 100%; will-change: transform; }
  html.has-motion .service-card { flex: 0 0 clamp(330px, 28vw, 410px); height: 100%; max-height: 520px; }
  html:not(.has-motion) .services__track { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Performance ---------- */
.performance { position: relative; z-index: 3; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 10px) 0 30px; }
.performance__inner { display: grid; grid-template-columns: minmax(0, 470px) 1fr; grid-template-rows: auto auto; gap: 0 40px; }
.performance__copy .display-2 { margin-top: 22px; max-width: 17ch; font-size: clamp(2.2rem, 4.2vw, 4rem); }
.compound { margin-top: 32px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-soft); }
.compound__label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-3); }
.compound__year { color: var(--gold-light); font-variant-numeric: tabular-nums; }
.compound__value { font-family: var(--f-display); font-weight: 300; font-size: clamp(3.4rem, 6.4vw, 6.2rem); line-height: 1; margin-top: 10px; font-variant-numeric: lining-nums tabular-nums; }
.compound__unit { color: var(--gold-light); font-size: .55em; margin-left: 4px; }
.compound__delta { margin-top: 12px; color: var(--ivory-2); font-size: .9rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.compound__mult { color: var(--ivory); font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; font-weight: 500; }
.chip--up { background: var(--emerald); color: var(--ivory); }
.chip--up::before { content: "▲"; font-size: .55rem; margin-right: 6px; color: var(--emerald-light); }
.stats { grid-column: 1 / -1; margin-top: 36px; background: linear-gradient(180deg, rgba(11, 20, 36, .55), rgba(11, 20, 36, .85)); display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-soft); }
.stat { padding: 18px 18px 0 0; }
.stat dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-3); line-height: 1.4; min-height: 2.8em; }
.stat dd { font-family: var(--f-display); font-size: clamp(1.9rem, 2.8vw, 2.8rem); font-weight: 400; line-height: 1.1; margin-top: 6px; font-variant-numeric: lining-nums tabular-nums; }
.disclaimer { grid-column: 1 / -1; margin-top: 20px; font-size: .72rem; color: var(--ivory-3); max-width: 80ch; }

/* ---------- Shaded sections (sit over the scene) ---------- */
.section-shade { position: relative; z-index: 3; }
.section-shade::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 20, 36, 0) 0%, rgba(11, 20, 36, .88) 14%, rgba(11, 20, 36, .9) 86%, rgba(11, 20, 36, 0) 100%);
}
.section-head { max-width: 760px; }
.section-head .display-2 { margin-top: 22px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.section-head--row .display-2 { max-width: 19ch; }

/* ---------- Partners ---------- */
.partners { padding: 170px 0 150px; }
.team { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 28px; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; display: grid; place-items: center;
  background:
    repeating-radial-gradient(circle at 50% 38%, rgba(184, 148, 90, .14) 0 1px, transparent 1px 7px),
    radial-gradient(60% 45% at 50% 36%, rgba(217, 189, 136, .28), transparent 70%),
    linear-gradient(170deg, #1a2a45, #0d172a 70%);
  border: 1px solid var(--line-soft);
}
.portrait--b { background-color: #15233b; background-image: repeating-linear-gradient(115deg, rgba(184, 148, 90, .12) 0 1px, transparent 1px 8px), radial-gradient(60% 45% at 50% 36%, rgba(217, 189, 136, .26), transparent 70%), linear-gradient(170deg, #1d2c46, #0d172a 70%); }
.portrait--c { background-image: repeating-radial-gradient(circle at 20% 90%, rgba(124, 188, 164, .12) 0 1px, transparent 1px 9px), radial-gradient(60% 45% at 50% 36%, rgba(217, 189, 136, .24), transparent 70%), linear-gradient(170deg, #16283c, #0b1424 70%); }
.portrait--d { background-image: repeating-linear-gradient(0deg, rgba(184, 148, 90, .1) 0 1px, transparent 1px 6px), radial-gradient(60% 45% at 50% 36%, rgba(217, 189, 136, .26), transparent 70%), linear-gradient(170deg, #1b2a44, #0d172a 70%); }
.portrait--e { background-image: repeating-radial-gradient(circle at 80% 10%, rgba(184, 148, 90, .13) 0 1px, transparent 1px 8px), radial-gradient(60% 45% at 50% 36%, rgba(217, 189, 136, .24), transparent 70%), linear-gradient(170deg, #1a2740, #0b1424 70%); }
.portrait--f { background-image: repeating-linear-gradient(65deg, rgba(184, 148, 90, .12) 0 1px, transparent 1px 8px), radial-gradient(60% 45% at 50% 36%, rgba(217, 189, 136, .26), transparent 70%), linear-gradient(170deg, #1c2b47, #0d172a 70%); }
.portrait::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(184, 148, 90, .3); pointer-events: none; }
.portrait span { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(4rem, 7vw, 6.4rem); color: var(--gold-light); letter-spacing: -.02em; transition: transform .9s var(--ease); }
.member:hover .portrait span { transform: scale(1.06); }
.member h3 { margin-top: 20px; font-family: var(--f-display); font-weight: 500; font-size: 1.55rem; line-height: 1.2; }
.member p { color: var(--ivory-2); font-size: .9rem; margin-top: 2px; }
.member .member__city { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-top: 8px; }
.testimonial { margin: 120px auto 0; max-width: 900px; text-align: center; }
.testimonial blockquote p { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.9rem); line-height: 1.22; }
.testimonial figcaption { margin-top: 26px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-3); }
.testimonial figcaption strong { color: var(--gold-light); font-weight: 500; }

/* ---------- Offices ---------- */
.offices { position: relative; z-index: 3; min-height: 100vh; padding: 160px 0 160px; display: flex; align-items: center; }
.offices__copy { max-width: 520px; }
.offices__copy .display-2 { margin-top: 22px; }
.office-list { margin-top: 44px; border-top: 1px solid var(--line-soft); }
.office { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.office h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.office p { color: var(--ivory-2); font-size: .86rem; }
.office__time { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.office__clock { font-family: var(--f-display); font-size: 1.35rem; color: var(--ivory); font-variant-numeric: tabular-nums; }
.office__status { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-3); display: inline-flex; align-items: center; gap: 6px; }
.office__status.is-open { color: var(--emerald-light); }
.office__status.is-open::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald-light); box-shadow: 0 0 0 3px rgba(124, 188, 164, .18); }

/* ---------- Journal ---------- */
.journal { padding: 120px 0 170px; }
.marquee { overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 18px 0; margin-bottom: 120px; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 44px; padding-right: 44px; will-change: transform; }
.marquee__track span { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.1; color: var(--ivory); white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--gold); font-size: 1.2rem; }
.articles { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.article a { display: block; }
.article__art { aspect-ratio: 400 / 300; display: grid; place-items: center; border-radius: 3px; overflow: hidden; background: radial-gradient(80% 70% at 50% 40%, #1a2a45, #0e1829); border: 1px solid var(--line-soft); }
.article__art--b { background: radial-gradient(80% 70% at 70% 30%, #17293a, #0c1626); }
.article__art--c { background: radial-gradient(80% 70% at 30% 40%, #1c2740, #0c1527); }
.article__art--d { background: radial-gradient(80% 70% at 50% 60%, #1b2a42, #0d1729); }
.article__art svg { width: 82%; transition: transform 1s var(--ease); }
.article a:hover .article__art svg { transform: scale(1.06); }
.article__meta { margin-top: 18px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.article h3 { margin-top: 8px; font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; line-height: 1.22; transition: color .4s; }
.article a:hover h3 { color: var(--gold-light); }

/* ---------- Enquiry ---------- */
.enquire { position: relative; z-index: 3; padding: 170px 0 150px; }
.enquire__inner { display: grid; grid-template-columns: minmax(0, 720px); }
.enquire__head .display-1 { margin-top: 22px; max-width: 9ch; }
.form {
  margin-top: 56px; padding: clamp(24px, 3.4vw, 44px); border-radius: 4px;
  background: linear-gradient(160deg, rgba(21, 35, 59, .86), rgba(11, 20, 36, .9));
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-2); padding: 0; }
.field label span[aria-hidden], .check span[aria-hidden] { color: var(--gold-light); }
.field__opt { text-transform: none; letter-spacing: 0; color: var(--ivory-3); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(243, 238, 228, .28);
  border-radius: 0; font-size: 1rem; color: var(--ivory); transition: border-color .4s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--navy); color: var(--ivory); }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-light); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--gold-light); }
.field.is-invalid input { border-color: #e59a8b; }
.field__error { font-size: .8rem; color: #f0b2a5; min-height: 0; }
.field__error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(243, 238, 228, .22); border-radius: 999px; font-size: .86rem; text-transform: none; letter-spacing: .01em; color: var(--ivory); transition: all .4s var(--ease); }
.chip-opt:hover span { border-color: var(--gold); }
.chip-opt input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-size: .9rem !important; color: var(--ivory-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); flex: 0 0 auto; }
.form__foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__note { font-size: .78rem; color: var(--ivory-3); }
.form__success { margin-top: 0; font-family: var(--f-display); font-size: 1.4rem; color: var(--gold-light); }
.form__success:not(:empty) { margin-top: 24px; }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 3; background: #08101d; border-top: 1px solid var(--line-soft); padding: 90px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__word { font-family: var(--f-display); font-size: 2.4rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1; display: flex; flex-direction: column; gap: 10px; }
.footer__word span { font-family: var(--f-text); font-size: .66rem; letter-spacing: .34em; color: var(--gold-light); }
.footer__tag { margin-top: 20px; color: var(--ivory-2); font-family: var(--f-display); font-style: italic; font-size: 1.2rem; }
.footer__col h2 { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 500; margin-bottom: 14px; }
.footer__col p, .footer__col li { font-size: .9rem; color: var(--ivory-2); line-height: 1.8; }
.footer__col p + p { margin-top: 12px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--gold-light); }
.footer__legal { margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.footer__legal p { font-size: .76rem; color: var(--ivory-3); max-width: 110ch; line-height: 1.7; }
.footer__legal strong { color: var(--ivory-2); font-weight: 500; }
.footer__row { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; max-width: none !important; }
.footer__credit { color: var(--gold-light); border-bottom: 1px solid var(--line); }
.footer__credit:hover { color: var(--ivory); }

/* ---------- Motion guards (only when JS confirms motion) ---------- */
html.has-motion [data-hero],
html.has-motion [data-hero-line],
html.has-motion [data-split],
html.has-motion [data-reveal],
html.has-motion [data-reveal-item],
html.has-motion [data-image-reveal] { visibility: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .articles { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 899px) {
  :root { --nav-h: 66px; }
  .hero { align-items: flex-end; padding-bottom: 90px; }
  .hero__title { font-size: clamp(3.1rem, 15vw, 5.6rem); }
  .hero__sub { margin-top: 24px; }
  .hero__meta { margin-top: 40px; gap: 16px 30px; }
  .hero__meta strong { font-size: 1.5rem; }
  .hero__scroll { display: none; }
  .hero__grid { position: relative; }
  .hero__grid::before { content: ""; position: absolute; inset: -60px -40px -40px; z-index: -1; background: radial-gradient(90% 70% at 30% 70%, rgba(11, 20, 36, .82), transparent 75%); pointer-events: none; }
  .philosophy { align-items: flex-start; padding-top: calc(var(--nav-h) + 16px); }
  .philosophy__inner { grid-template-columns: 1fr; }
  .philosophy .display-2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .principles { margin-top: 20px; gap: 12px; }
  .principle h3 { font-size: 1.15rem; }
  .principle p { font-size: .82rem; }
  html.has-motion .philosophy__copy { background: linear-gradient(180deg, rgba(11, 20, 36, .9), rgba(11, 20, 36, .65) 80%, transparent); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 18px; }
  .alloc-legend { justify-self: start; margin-top: 30px; }
  .services__pin { padding: 110px 0 60px; }
  .service-card h3 { margin-top: 40px; }
  .performance { align-items: flex-start; }
  .performance__inner { grid-template-columns: 1fr; }
  .performance__copy { background: linear-gradient(180deg, rgba(11, 20, 36, .88), rgba(11, 20, 36, .55) 85%, transparent); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .compound { margin-top: 18px; padding: 14px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 46vh; background: rgba(11, 20, 36, .82); }
  html:not(.has-motion) .stats { margin-top: 30px; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .member h3 { font-size: 1.25rem; }
  .partners, .enquire { padding: 120px 0 100px; }
  .offices { padding: 120px 0 60vh; align-items: flex-start; }
  .offices__copy { background: rgba(11, 20, 36, .72); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 20px; }
  .journal { padding-bottom: 110px; }
  .marquee { margin-bottom: 80px; }
  .form__grid { grid-template-columns: 1fr; }
  .enquire__head { padding-top: 34vh; }
}
@media (max-width: 560px) {
  .articles { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .stat dt { min-height: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .testimonial { margin-top: 80px; }
  .office h3 { font-size: 1.25rem; }
  html.has-scene .principle p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

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

/* Phones: the obelisk sits behind the hero copy, so give the text a soft dark backdrop. */
@media (max-width: 760px) {
  .hero { position: relative; isolation: isolate; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(11,20,36,.15) 0%, rgba(11,20,36,.72) 30%, rgba(11,20,36,.72) 75%, rgba(11,20,36,.2) 100%); }
  .hero__title, .hero__sub { text-shadow: 0 2px 18px rgba(11,20,36,.85); }
}
