/* Yieldex — site styles.
   Sections: fonts, tokens, base, primitives, header and menu, hero, the funds,
   disciplines, experience, focus, quote band, partnership, contact, footer,
   the Fund I page, documents, motion, print. */

/* -------------------------------------------------------------------------
   Fonts (self-hosted, trimmed to Latin)
   ------------------------------------------------------------------------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-medium-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------------- */
:root {
  --bg: #0a0a0b;
  --bg-raised: #121213;
  --bg-card: #141415;
  --ink: #ece7dd;
  --body: #cfc9be;
  --muted: #b5afa4;
  --dim: #9a948a;
  --faint: #6e6a63;          /* decoration and large numerals only */
  --gold: #c2a472;
  --gold-hi: #dcc394;
  --gold-deep: #8a7149;
  --on-gold: #0a0a0b;
  --line: rgba(236, 231, 221, 0.12);
  --line-strong: rgba(236, 231, 221, 0.24);
  --danger: #e59a86;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, Menlo, monospace;

  --fs-h1: clamp(2.75rem, 0.9rem + 6.6vw, 7.25rem);
  --fs-h2: clamp(2.35rem, 1rem + 4.15vw, 5rem);
  --fs-quote: clamp(2.1rem, 0.95rem + 3.85vw, 4.5rem);
  --fs-h3: clamp(1.75rem, 1.2rem + 1.4vw, 2.75rem);
  --fs-lede: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  --fs-body: clamp(1rem, 0.95rem + 0.22vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  --maxw: 1440px;
  --gutter: clamp(20px, 4.45vw, 64px);
  --rail: clamp(220px, 20.5vw, 296px);   /* the label column on wide screens */
  --section-y: clamp(88px, 10vw, 168px);
  --header-h: 88px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--bg);
  color-scheme: dark;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.62;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, blockquote, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--on-gold); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--on-gold);
  font: 500 var(--fs-label) / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nowrap { white-space: nowrap; }

/* -------------------------------------------------------------------------
   Primitives
   ------------------------------------------------------------------------- */
.wrap {
  --g: max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  width: min(var(--maxw) - 2 * var(--gutter), 100% - 2 * var(--g));
  margin-inline: auto;
}

.label,
.eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  font-size: var(--fs-label);
  line-height: 1.5;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
}
.eyebrow--gold { color: var(--gold); }

.serif { font-family: var(--serif); font-weight: 400; }
.accent { font-style: italic; color: var(--gold); }

.h1,
.h2,
.quote {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.h2 { font-size: var(--fs-h2); line-height: 1.02; }
.h2 .accent { display: block; }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.62;
  color: var(--body);
  max-width: 34em;
}
.copy {
  max-width: 41em;
  display: grid;
  gap: 1.1em;
  color: var(--body);
}

/* Buttons: square-cornered, mono, with a fill that sweeps in on hover */
.btn {
  --btn-fg: var(--ink);
  --btn-bg: transparent;
  --btn-line: var(--line-strong);
  --btn-sweep: var(--ink);
  --btn-sweep-fg: var(--on-gold);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--btn-line);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 400 var(--fs-label) / 1 var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-sweep);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s var(--ease-out);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover,
.btn:focus-visible { color: var(--btn-sweep-fg); border-color: var(--btn-sweep); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--on-gold);
  --btn-line: var(--gold);
  --btn-sweep: var(--gold-hi);
  font-weight: 500;
}
.btn--sm { min-height: 44px; padding: 0 20px; }
@media (max-width: 400px) {
  .btn { padding: 0 18px; letter-spacing: 0.16em; gap: 10px; }
  .choice span { padding: 0 16px; letter-spacing: 0.14em; }
}

.btn__arrow {
  width: 16px;
  height: 10px;
  flex: none;
  transition: transform 0.45s var(--ease-out);
}
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: translateX(4px); }
.btn[disabled] { cursor: progress; }

/* Section rhythm */
.section {
  position: relative;
  padding-block: var(--section-y);
}
.section--rule { border-top: 1px solid var(--line); }

/* Label rail + content, used by most sections on wide screens */
.split {
  display: grid;
  gap: 28px;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: var(--rail) minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }
  .split > .eyebrow { padding-top: 0.9em; }
}

/* -------------------------------------------------------------------------
   Header and menu
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(10, 10, 11, 0.82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.no-js .site-header { background: rgba(10, 10, 11, 0.92); border-bottom-color: var(--line); }
.site-header.is-tucked { transform: translateY(-100%); }
.menu-open .site-header { transform: none; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
@media (min-width: 1200px) {
  .site-header__bar { width: min(var(--maxw) - 80px, 100% - 2 * var(--g)); }
}

.brand {
  display: block;
  flex: none;
  width: clamp(150px, 12vw, 202px);
}
.brand img { width: 100%; height: auto; }
.site-footer .brand { width: 142px; }

.nav { display: none; }
@media (min-width: 1140px) {
  .nav { display: block; margin-left: auto; }
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.3vw, 34px);
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font: 400 var(--fs-label) / 1 var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.24em;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="true"]::after { transform: scaleX(1); transform-origin: left center; }
.nav__link[aria-current="true"] { color: var(--gold); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (min-width: 1140px) {
  .site-header__actions { margin-left: clamp(20px, 2.3vw, 34px); }
}
.site-header__cta { display: none; }
@media (min-width: 560px) {
  .site-header__cta { display: inline-flex; }
}

/* Scroll progress: a gold hairline under the header */
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
  opacity: 0;
  transition: opacity 0.4s;
}
.is-solid .progress { opacity: 0.9; }

.menu-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
@media (min-width: 1140px) {
  .menu-toggle { display: none; }
}
.menu-toggle__icon,
.menu-toggle__icon::before {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.5s var(--ease-out), background-color 0.3s;
}
.menu-toggle__icon { position: relative; transform: translateY(-4px); }
.menu-toggle__icon::before { content: ""; position: absolute; left: 0; top: 8px; width: 18px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(-8px) rotate(-90deg); width: 26px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  background: var(--bg);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s linear 0.7s;
  overflow-y: auto;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s;
}
.menu-open { overflow: hidden; }
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  flex: 1;
  padding-block: 24px 40px;
}
.mobile-menu__list { border-top: 1px solid var(--line); }
.mobile-menu__list li {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.2rem + 3vw, 2.75rem);
  line-height: 1.1;
  color: var(--ink);
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-out), color 0.3s;
}
.mobile-menu__link span {
  min-width: 2.4em;
  font: 400 var(--fs-label) / 1 var(--mono);
  letter-spacing: 0.24em;
  color: var(--gold);
}
.mobile-menu__link[aria-current="true"] { color: var(--gold); }
.is-open .mobile-menu__link { transform: none; }
.is-open li:nth-child(2) .mobile-menu__link { transition-delay: 0.05s; }
.is-open li:nth-child(3) .mobile-menu__link { transition-delay: 0.1s; }
.is-open li:nth-child(4) .mobile-menu__link { transition-delay: 0.15s; }
.is-open li:nth-child(5) .mobile-menu__link { transition-delay: 0.2s; }
.is-open li:nth-child(6) .mobile-menu__link { transition-delay: 0.25s; }
.mobile-menu__foot {
  display: grid;
  gap: 22px;
}
.mobile-menu__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.mobile-menu__meta a { color: var(--gold); letter-spacing: 0.08em; text-transform: none; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(640px, 100svh);
  padding-block: calc(var(--header-h) + 48px) clamp(72px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero__art {
  position: absolute;
  inset: -6% 0 0;
  z-index: -2;
  will-change: transform;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0) 22%, rgba(10, 10, 11, 0) 52%, rgba(10, 10, 11, 0.86) 84%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10, 10, 11, 0.8) 0%, rgba(10, 10, 11, 0.5) max(34%, 50% - 220px), rgba(10, 10, 11, 0.12) max(62%, 50% + 200px));
}
@media (max-width: 759px) {
  .hero__scrim {
    background: linear-gradient(180deg, rgba(10, 10, 11, 0.62) 0%, rgba(10, 10, 11, 0.5) 40%, rgba(10, 10, 11, 0.82) 78%, var(--bg) 100%);
  }
}
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero__eyebrow { color: var(--gold); line-height: 1.9; margin-bottom: clamp(22px, 2.6vw, 38px); }
@media (max-width: 559px) {
  .hero__eyebrow { letter-spacing: 0.2em; }
}
.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.018em;
  max-width: 11.2em;
}
.hero__line { display: block; }
.hero__foot {
  display: grid;
  gap: 36px;
  margin-top: clamp(40px, min(8vw, 10svh), 132px);
}
@media (min-width: 960px) {
  .hero__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__lede { max-width: 30em; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: none;
  width: 1px;
  height: 52px;
  background: linear-gradient(var(--line-strong), transparent);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--gold);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@media (min-width: 960px) and (min-height: 760px) {
  .scroll-cue { display: block; }
}
@keyframes cue {
  0% { transform: translateY(0); }
  70%, 100% { transform: translateY(360%); }
}

/* Mono labels that decode on arrival keep the real text for screen readers */
.decode { position: relative; }
.decode__show { position: absolute; inset: 0; }
.decode.is-decoding > .decode__text { visibility: hidden; }

/* -------------------------------------------------------------------------
   I — The funds
   ------------------------------------------------------------------------- */
.mandate { padding-bottom: clamp(72px, 9vw, 140px); }
.big-quote {
  font-family: var(--serif);
  font-size: var(--fs-quote);
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.big-quote p { max-width: 14em; }
.cite {
  display: block;
  margin-top: 22px;
  font: 400 0.8125rem / 1.5 var(--mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
}
.mandate .copy { margin-top: clamp(40px, 5vw, 64px); font-size: var(--fs-lede); }

.funds {
  display: grid;
  border-block: 1px solid var(--line);
}
@media (min-width: 760px) {
  .funds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.fund {
  position: relative;
  padding: clamp(36px, 4.4vw, 56px) var(--gutter);
}
.fund + .fund { border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .fund + .fund { border-top: 0; border-left: 1px solid var(--line); }
  .fund { padding-inline: clamp(24px, 2.4vw, 34px); }
  .fund:first-child { padding-left: max(var(--gutter), (100vw - var(--maxw)) / 2 + var(--gutter)); }
}
.fund::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s var(--ease-out) var(--d, 0s);
}
.fund.is-in::before { transform: scaleX(1); }
.fund__head,
.fund__text { display: block; }
.fund__num {
  font-family: var(--serif);
  font-size: clamp(3rem, 2.4rem + 1.6vw, 4rem);
  line-height: 1;
  color: var(--ink);
}
.fund--closed .fund__num { color: var(--faint); }
.fund__status {
  display: inline-block;
  margin-left: 14px;
  vertical-align: 0.9em;
  font: 400 0.6875rem / 1 var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}
.fund__status--open { color: var(--gold); }
.fund__status--open::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: 0.1em;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(194, 164, 114, 0.55); }
  60% { box-shadow: 0 0 0 7px rgba(194, 164, 114, 0); }
}
.fund__text {
  margin-top: 18px;
  font-size: var(--fs-small);
  color: var(--dim);
  max-width: 24em;
}

/* Fund I opens its own page: the numeral lights up and an arrow slides in */
.fund__link { display: block; }
.fund__link::after { content: ""; position: absolute; inset: 0; }
.fund__link .fund__head { position: relative; }
.fund__num,
.fund__text { transition: color 0.5s var(--ease-out); }
.fund__arrow {
  position: absolute;
  right: 0;
  top: calc(50% - 7px);
  width: 22px;
  height: 14px;
  color: var(--gold);
  transition: transform 0.5s var(--ease-out);
}
.fund__link:hover .fund__num,
.fund__link:focus-visible .fund__num { color: var(--gold); }
.fund__link:hover .fund__text,
.fund__link:focus-visible .fund__text { color: var(--ink); }
.fund__link:hover .fund__arrow,
.fund__link:focus-visible .fund__arrow { transform: translateX(6px); }

/* Links inside running copy: a gold hairline that fills on hover */
.inline-link {
  color: var(--ink);
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
  padding-bottom: 1px;
  transition: color 0.3s, background-size 0.5s var(--ease-out);
}
.inline-link:hover,
.inline-link:focus-visible { color: var(--gold-hi); background-size: 100% 2px; }

/* -------------------------------------------------------------------------
   II — Disciplines
   ------------------------------------------------------------------------- */
.disc-head {
  display: grid;
  gap: 28px;
  margin-bottom: clamp(48px, 5.5vw, 76px);
}
.disc-head .eyebrow { margin-bottom: 4px; }
@media (min-width: 960px) {
  .disc-head {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    align-items: end;
    column-gap: 48px;
  }
  .disc-head .eyebrow { grid-column: 1 / -1; }
  .disc-head .lede { font-size: var(--fs-body); padding-bottom: 0.5em; }
}

.cards {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out);
}
.card:hover::after { opacity: 0.45; }
.card__media {
  position: relative;
  aspect-ratio: 7 / 4;
  background: #0d0d0e;
  overflow: hidden;
}
.card__media > * {
  position: absolute;
  inset: 0;
  transition: transform 1.4s var(--ease-out);
}
.card:hover .card__media > * { transform: scale(1.035); }
.card__body {
  display: grid;
  gap: 14px;
  padding: clamp(28px, 2.6vw, 38px) clamp(26px, 2.6vw, 38px) clamp(36px, 3.4vw, 48px);
}
.card__num { color: var(--gold); }
.card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.05;
  color: var(--ink);
}
.card__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1875rem, 1.05rem + 0.4vw, 1.3125rem);
  line-height: 1.34;
  color: var(--ink);
  text-wrap: balance;
}
.card__text {
  font-size: var(--fs-small);
  line-height: 1.68;
  color: var(--muted);
}

/* The floor plan for Structure: drawn in SVG, so it stays crisp and can draw itself */
.plan { background: radial-gradient(120% 90% at 50% 40%, #121213 0%, #0b0b0c 70%); }
.plan svg { width: 100%; height: 100%; }
.plan__grid { stroke: rgba(236, 231, 221, 0.05); stroke-width: 0.5; fill: none; }
.plan__dim { stroke: rgba(194, 164, 114, 0.28); stroke-width: 0.6; fill: none; }
.plan__wall { stroke: var(--gold); stroke-width: 1.3; fill: none; stroke-linecap: square; }
.plan__door { stroke: var(--gold); stroke-width: 0.8; fill: none; opacity: 0.8; }
.plan__stair { stroke: rgba(194, 164, 114, 0.5); stroke-width: 0.6; }
.plan__col { fill: var(--gold); }
.plan__room { fill: var(--gold); opacity: 0; transition: opacity 0.6s var(--ease-out); }
.plan__compass { stroke: var(--gold); stroke-width: 0.8; fill: none; transform-box: fill-box; transform-origin: center; }
.plan__label { fill: var(--dim); font: 400 6px var(--mono); letter-spacing: 0.24em; }

.js .plan .plan__wall,
.js .plan .plan__door,
.js .plan .plan__dim { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .plan .plan__col,
.js .plan .plan__stair,
.js .plan .plan__label { opacity: 0; }
.js .plan.is-drawn .plan__wall { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-in-out); }
.js .plan.is-drawn .plan__dim { stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease-in-out) 0.6s; }
.js .plan.is-drawn .plan__door { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-out) 1.8s; }
.js .plan.is-drawn .plan__stair,
.js .plan.is-drawn .plan__label { opacity: 1; transition: opacity 1s ease 2s; }
.js .plan.is-drawn .plan__col { opacity: 1; transition: opacity 0.4s ease calc(1.6s + var(--i, 0) * 0.07s); }
.plan.is-live .plan__col { animation: blink 7.2s ease-in-out calc(3s + var(--i, 0) * 0.45s) infinite; }
.plan.is-live .plan__compass { animation: spin 60s linear infinite; }
.card:hover .plan__room { opacity: 0.07; }
@keyframes blink {
  0%, 86%, 100% { opacity: 1; }
  91% { opacity: 0.25; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------------
   Canvas artwork and its fallbacks
   ------------------------------------------------------------------------- */
.art-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.art-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}
.art-stage.is-ready canvas { opacity: 1; }
.art-fallback .art-stage { display: none; }

[data-art] { background-color: #0d0d0e; background-size: cover; background-position: center; }
.no-js [data-art="tower"],
.art-fallback [data-art="tower"] { background-image: url("../img/tower-fallback.jpg"); background-image: image-set(url("../img/tower-fallback.webp") type("image/webp"), url("../img/tower-fallback.jpg") type("image/jpeg")); background-position: 60% 30%; }
.no-js [data-art="skyline"],
.art-fallback [data-art="skyline"] { background-image: url("../img/skyline-fallback.jpg"); background-image: image-set(url("../img/skyline-fallback.webp") type("image/webp"), url("../img/skyline-fallback.jpg") type("image/jpeg")); background-position: 70% 40%; }
.no-js [data-art="corridor"],
.art-fallback [data-art="corridor"] { background-image: url("../img/corridor-fallback.jpg"); background-image: image-set(url("../img/corridor-fallback.webp") type("image/webp"), url("../img/corridor-fallback.jpg") type("image/jpeg")); }
.no-js [data-art="concrete"],
.art-fallback [data-art="concrete"] { background-image: url("../img/concrete-fallback.jpg"); background-image: image-set(url("../img/concrete-fallback.webp") type("image/webp"), url("../img/concrete-fallback.jpg") type("image/jpeg")); }

/* -------------------------------------------------------------------------
   III — Experience
   ------------------------------------------------------------------------- */
.eye {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(640px, 66vw, 960px);
  padding-block: var(--section-y);
  overflow: hidden;
  isolation: isolate;
}
.eye__art {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.eye::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 11, 0) 16%, rgba(10, 10, 11, 0) 84%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10, 10, 11, 0.15) 0%, rgba(10, 10, 11, 0.15) 45%, rgba(10, 10, 11, 0.6) 100%);
}
.eye__inner { display: grid; }
@media (min-width: 960px) {
  .eye__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .eye__text { grid-column: 2; }
}
@media (max-width: 959px) {
  .eye { align-items: flex-end; }
  .eye::after {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 11, 0.2) 22%, rgba(10, 10, 11, 0.7) 55%, var(--bg) 100%);
  }
}
.eye__text .eyebrow { margin-bottom: 26px; }
.eye__quote { font-size: clamp(2rem, 1rem + 3.4vw, 3.75rem); line-height: 1.1; }
.eye__quote p { max-width: 12.5em; }
.eye__text .copy { margin-top: clamp(32px, 4vw, 52px); font-size: var(--fs-lede); max-width: 33em; }
.eye__text .copy p:last-child { color: var(--ink); }

/* -------------------------------------------------------------------------
   IV — Focus
   ------------------------------------------------------------------------- */
.focus__head .h2 { max-width: 12em; }

.sectors {
  display: grid;
  margin-top: clamp(56px, 6vw, 88px);
  border-top: 1px solid var(--line);
}
@media (min-width: 620px) {
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sector {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(28px, 3vw, 40px) clamp(0px, 2.4vw, 36px) clamp(32px, 3.4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.sector::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s var(--ease-out);
}
.sector:hover::before { transform: scaleX(1); }
@media (min-width: 620px) {
  .sector { padding-left: clamp(0px, 2.4vw, 36px); }
  .sector:nth-child(odd) { padding-left: 0; }
}
@media (min-width: 1024px) {
  .sector:nth-child(odd) { padding-left: clamp(0px, 2.4vw, 36px); }
  .sector:nth-child(3n + 1) { padding-left: 0; }
}
.sector__num { color: var(--gold); transition: letter-spacing 0.6s var(--ease-out); }
.sector:hover .sector__num { letter-spacing: 0.5em; }
.sector__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.25rem + 0.7vw, 1.875rem);
  line-height: 1.12;
  color: var(--ink);
}
.sector__text { font-size: var(--fs-small); color: var(--dim); max-width: 22em; }
.focus__foot { margin-top: clamp(40px, 4.5vw, 64px); }

/* -------------------------------------------------------------------------
   Quote band — the corridor
   ------------------------------------------------------------------------- */
.band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(520px, 56vw, 820px);
  margin-inline: clamp(0px, 2.8vw, 40px);
  padding: clamp(80px, 9vw, 140px) var(--gutter);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.band__art { position: absolute; inset: 0; z-index: -2; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 60% at 50% 50%, rgba(10, 10, 11, 0.35) 0%, rgba(10, 10, 11, 0) 70%);
  box-shadow: inset 0 0 120px 40px rgba(10, 10, 11, 0.8);
}
.band__quote {
  font-size: clamp(2.2rem, 0.9rem + 4.4vw, 5.1rem);
  line-height: 1.04;
  max-width: 15em;
}
.band__quote .accent { display: block; }

/* -------------------------------------------------------------------------
   V — Partnership
   ------------------------------------------------------------------------- */
.partners__head .h2 { font-size: clamp(2.2rem, 1rem + 3.3vw, 4rem); max-width: 17em; }
.partners__head .h2 .accent { display: inline; }
.br-wide { display: none; }
@media (min-width: 1100px) {
  .br-wide { display: inline; }
}
.partners__head .lede { margin-top: 28px; }
.partners {
  display: grid;
  margin-top: clamp(48px, 5.5vw, 80px);
  border-block: 1px solid var(--line);
}
@media (min-width: 900px) {
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.partner {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding-block: clamp(32px, 3.4vw, 44px);
}
.partner + .partner { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .partner { padding-right: clamp(20px, 3vw, 44px); }
  .partner + .partner { border-top: 0; }
}
.partner__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.625rem, 1.35rem + 0.75vw, 2rem);
  line-height: 1.1;
  color: var(--ink);
}
.partner__name span {
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat;
  transition: background-size 0.7s var(--ease-out);
}
.partner:hover .partner__name span { background-size: 100% 1px; }
.partner__role { color: var(--gold); letter-spacing: 0.24em; }
.partner__text { margin-top: 8px; font-size: var(--fs-small); color: var(--muted); max-width: 27em; }
.partner__text > span { display: block; }
.partner__link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-block: 6px;
  color: var(--ink);
  letter-spacing: 0.24em;
  transition: color 0.3s ease;
}
.partner__link svg { width: 9px; height: 9px; color: var(--gold); transition: transform 0.4s var(--ease-out); }
.partner__link:hover, .partner__link:focus-visible { color: var(--gold); }
.partner__link:hover svg, .partner__link:focus-visible svg { transform: translate(2px, -2px); }

/* -------------------------------------------------------------------------
   VI — Contact
   ------------------------------------------------------------------------- */
.contact .h2 { max-width: 15em; }
.contact__grid {
  display: grid;
  gap: clamp(56px, 6vw, 80px);
  margin-top: clamp(40px, 5vw, 64px);
}
.contact__grid > * { min-width: 0; }
@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    column-gap: clamp(48px, 7vw, 96px);
  }
}
.contact__intro { font-size: var(--fs-lede); max-width: 32em; margin-bottom: clamp(36px, 4vw, 52px); }

.form { display: grid; gap: clamp(30px, 3vw, 40px); }
.form legend,
.field__label {
  display: block;
  margin-bottom: 14px;
  padding: 0;
  font: 400 0.6875rem / 1.4 var(--mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
}
.field__label .opt { letter-spacing: 0.06em; text-transform: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

.form__row {
  display: grid;
  gap: clamp(30px, 3vw, 40px);
}
@media (min-width: 640px) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 1180px) {
  .form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Enquiry type: a segmented choice with a gold block that glides between options */
.choices {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.choice { position: relative; display: block; }
.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.choice span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  font: 400 var(--fs-label) / 1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), background-color 0.45s var(--ease-out);
}
.choice:hover span { border-color: var(--gold); }
.choice input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.choice input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 4px; }
.choices__glide {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  background: var(--gold);
  pointer-events: none;
  transition: transform 0.6s var(--ease-out), width 0.6s var(--ease-out), height 0.6s var(--ease-out);
}
.choices.has-glide .choice input:checked + span { background: transparent; }

.input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 10px 2px 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 1.125rem / 1.5 var(--sans);
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--dim); opacity: 1; font-weight: 300; }
.input:focus { outline: none; }
.field { position: relative; min-width: 0; }
.field__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  margin-top: -1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-out);
  pointer-events: none;
}
.input:focus + .field__line { transform: scaleX(1); }
.field.is-invalid .input { border-bottom-color: var(--danger); }
.field__error {
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--danger);
}
textarea.input { min-height: 132px; resize: vertical; padding-top: 12px; }
select.input {
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23c2a472' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}
select.input:has(option[value=""]:checked) { color: var(--dim); }
select.input option { background: var(--bg-raised); color: var(--ink); }
.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-raised) inset;
  caret-color: var(--ink);
}
.field__count {
  position: absolute;
  right: 0;
  margin-top: 10px;
  font: 400 0.6875rem / 1.4 var(--mono);
  letter-spacing: 0.12em;
  color: var(--dim);
  opacity: 0;
  transition: opacity 0.3s;
}
.field:focus-within .field__count { opacity: 1; }
.swap { transition: opacity 0.3s ease; }
.swap.is-swapping { opacity: 0; }

.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 40px;
  margin-top: 8px;
}
.form__check { flex-basis: 100%; min-width: 0; }
.form__check:empty { display: none; }
.form__fine { font-size: 0.9375rem; color: var(--dim); }
.form__fine a { color: var(--ink); background: linear-gradient(var(--line-strong), var(--line-strong)) left bottom / 100% 1px no-repeat; }
.form__fine a:hover { color: var(--gold); }
.form__status:empty { display: none; }
.form__status {
  padding: 16px 18px;
  border-left: 1px solid var(--danger);
  background: rgba(229, 154, 134, 0.06);
  color: var(--ink);
  font-size: 0.9375rem;
}
.form__status a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.btn[aria-busy="true"] .btn__arrow { animation: nudge 0.9s var(--ease-in-out) infinite; }
@keyframes nudge {
  50% { transform: translateX(6px); }
}

.form-done {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(36px, 4vw, 56px);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.form-done:focus { outline: none; }
.form-done__mark { width: 56px; height: 56px; }
.form-done__mark path,
.form-done__mark circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.form-done.is-shown .form-done__mark circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-in-out); }
.form-done.is-shown .form-done__mark path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s var(--ease-out) 0.9s; }
.form-done h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
  line-height: 1.05;
  color: var(--ink);
}
.form-done p { max-width: 32em; }
.form-done .label { color: var(--gold); }

.contact__aside {
  display: grid;
  align-content: start;
  gap: 32px;
}
@media (min-width: 1024px) {
  .contact__aside { padding-top: 6px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .contact__aside { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.contact__aside dt { margin-bottom: 10px; }
.contact__aside dd {
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
}
.contact__aside a { transition: color 0.3s; }
.contact__aside a:hover { color: var(--gold-hi); }
.contact__aside .is-gold { color: var(--gold); }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 34px calc(34px + env(safe-area-inset-bottom, 0px));
}
.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
}
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 100%;
  gap: 10px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
@media (max-width: 639px) {
  .site-footer__meta { flex-direction: column; letter-spacing: 0.22em; }
}
@media (min-width: 640px) {
  .site-footer__meta > * { white-space: nowrap; }
}
@media (min-width: 900px) {
  .site-footer__meta { justify-content: space-between; }
}
.site-footer__meta a { transition: color 0.3s; }
.site-footer__meta a:hover { color: var(--gold); }
.site-footer__meta a[href^="mailto:"] { letter-spacing: 0.08em; text-transform: none; }

/* -------------------------------------------------------------------------
   The Fund I page: the same language, a shade lighter
   ------------------------------------------------------------------------- */
.tone-light {
  --bg: #191816;
  --bg-raised: #201f1c;
  --bg-card: #22201d;
  --line: rgba(236, 231, 221, 0.14);
  --line-strong: rgba(236, 231, 221, 0.28);
  --dim: #a39d92;
  --on-gold: #191816;
}
.tone-light .site-header.is-solid,
.tone-light.no-js .site-header { background: rgba(25, 24, 22, 0.84); }
.tone-light .band::after {
  background: radial-gradient(70% 60% at 50% 50%, rgba(25, 24, 22, 0.45) 0%, rgba(25, 24, 22, 0) 70%);
  box-shadow: inset 0 0 120px 40px rgba(25, 24, 22, 0.85);
}

.record-hero {
  position: relative;
  padding-block: calc(var(--header-h) + clamp(48px, 7vw, 112px)) clamp(64px, 7vw, 112px);
  overflow: hidden;
}
.record-hero__grid {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}
@media (min-width: 960px) {
  .record-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
  }
}
.record-hero .eyebrow { color: var(--gold); margin-bottom: clamp(18px, 2vw, 28px); }
.record-hero .h1 {
  font-size: clamp(2.75rem, 1rem + 5.4vw, 6.5rem);
  line-height: 0.98;
}
.record-hero .h1 .accent { display: block; }
.record-hero .lede { margin-top: clamp(28px, 3.2vw, 44px); max-width: 32em; }
.record-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(32px, 3.6vw, 48px); }

/* The elevation: a building drawn in gold, line by line, then a few windows come on */
.elev { max-width: 560px; width: 100%; justify-self: end; }
.elev svg { width: 100%; height: auto; overflow: visible; }
.elev__grid { stroke: rgba(236, 231, 221, 0.045); stroke-width: 0.5; fill: none; }
.elev__line,
.elev__fine,
.elev__dim {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.6s var(--ease-in-out) 0.3s both;
}
.elev__line { stroke: var(--gold); stroke-width: 1.2; stroke-linecap: square; }
.elev__fine { stroke: rgba(194, 164, 114, 0.42); stroke-width: 0.6; animation-delay: 1s; animation-duration: 2.2s; }
.elev__dim { stroke: rgba(194, 164, 114, 0.3); stroke-width: 0.6; animation-delay: 1.4s; animation-duration: 1.6s; }
.elev__hatch { stroke: rgba(194, 164, 114, 0.35); stroke-width: 0.6; animation: fade-in 1s ease 1.8s both; }
.elev__label { fill: var(--dim); font: 400 7px var(--mono); letter-spacing: 0.24em; animation: fade-in 1s ease 2.2s both; }
.elev__win { fill: var(--gold-hi); animation: win-on 0.6s ease 2.6s both, win 9s ease-in-out 4s infinite; }
.elev__win:nth-child(2) { animation-delay: 2.8s, 6.2s; }
.elev__win:nth-child(3) { animation-delay: 3s, 5.1s; }
.elev__win:nth-child(4) { animation-delay: 3.15s, 8.4s; }
.elev__win:nth-child(5) { animation-delay: 3.3s, 4.7s; }
.elev__win:nth-child(6) { animation-delay: 3.5s, 7.3s; }
.elev__win:nth-child(7) { animation-delay: 3.6s, 9.9s; }
.elev__win:nth-child(8) { animation-delay: 3.8s, 5.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes win-on { from { opacity: 0; } to { opacity: 0.85; } }
@keyframes win {
  0%, 70%, 100% { opacity: 0.85; }
  78%, 90% { opacity: 0.08; }
}

/* The record in numbers */
.stats {
  display: grid;
  border-block: 1px solid var(--line);
}
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.stat {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(32px, 4vw, 52px) var(--gutter);
}
.stat + .stat { border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .stat + .stat { border-top: 0; border-left: 1px solid var(--line); }
  .stat { padding-inline: clamp(24px, 2.4vw, 34px); }
  .stat:first-child { padding-left: max(var(--gutter), (100vw - var(--maxw)) / 2 + var(--gutter)); }
}
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s var(--ease-out) var(--d, 0s);
}
.stat.is-in::before { transform: scaleX(1); }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 2rem + 2.4vw, 4.5rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
}
.stat__unit { font-size: 0.42em; margin-left: 0.18em; color: var(--gold); }
.stat__text { font-size: var(--fs-small); color: var(--dim); max-width: 24em; }

.record__head .h2 { max-width: 13em; }
.record__also { margin-top: clamp(32px, 3.5vw, 48px); }

/* Representative deals, set like a ledger */
.ledger {
  display: grid;
  gap: clamp(48px, 5vw, 64px);
  margin-top: clamp(48px, 5.5vw, 80px);
}
@media (min-width: 900px) {
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 5vw, 88px); }
}
.ledger__title {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--gold);
}
.ledger__title span { color: var(--dim); }
.ledger__list { counter-reset: deal; }
.deal {
  position: relative;
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  align-items: baseline;
  padding-block: clamp(16px, 1.6vw, 22px);
  border-bottom: 1px solid var(--line);
  counter-increment: deal;
}
.deal::before {
  content: counter(deal, decimal-leading-zero);
  font: 400 var(--fs-label) / 1 var(--mono);
  letter-spacing: 0.2em;
  color: var(--faint);
  transition: color 0.4s;
}
.deal::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s var(--ease-out);
}
.deal__name {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.15rem + 0.65vw, 1.875rem);
  line-height: 1.15;
  color: var(--ink);
  transition: transform 0.6s var(--ease-out), color 0.4s;
}
.deal:hover::before { color: var(--gold); }
.deal:hover::after { transform: scaleX(1); }
.deal:hover .deal__name { transform: translateX(8px); }

/* Four partners: two by two, then four abreast */
@media (min-width: 700px) {
  .partners--four { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 44px); }
  .partners--four .partner + .partner { border-top: 0; }
  .partners--four .partner:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1200px) {
  .partners--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .partners--four .partner:nth-child(n + 3) { border-top: 0; }
}

.record-cta { margin-bottom: clamp(48px, 6vw, 96px); }
.record-cta__inner { display: grid; justify-items: center; gap: clamp(32px, 3.6vw, 48px); }
.record-cta .h2 .accent { display: block; }
.record-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* -------------------------------------------------------------------------
   Documents: privacy notice, 404, no-JavaScript form replies
   ------------------------------------------------------------------------- */
.doc { padding-block: calc(var(--header-h) + 64px) var(--section-y); }
.doc .h2 { margin-top: 18px; max-width: 12em; }
.doc .lede { margin-top: 26px; }
.doc__body {
  max-width: 44em;
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.doc__body h2 {
  margin: 44px 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem);
  line-height: 1.15;
  color: var(--ink);
}
.doc__body p:not(.label) + p:not(.label) { margin-top: 1em; }
.doc__body ul { display: grid; gap: 8px; margin-top: 1em; }
.doc__body li { position: relative; padding-left: 22px; }
.doc__body li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--gold); }
.doc__body a,
.lost a:not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.doc__updated { margin-top: 56px; }
.lost {
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 40px) 80px;
}
.lost .lede { margin-block: 26px 40px; }
.lost .label:not(.eyebrow) { margin: -12px 0 34px; color: var(--gold); }

/* -------------------------------------------------------------------------
   Motion
   ------------------------------------------------------------------------- */
/* Hero entrance: pure CSS, so it plays even if the scripts never arrive */
.rise { animation: rise 1.3s var(--ease-out) both; }
.mask { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.mask > .rise { display: block; animation-name: rise-line; animation-duration: 1.5s; }
.hero__eyebrow.rise { animation-delay: 0.15s; }
.mask:nth-child(1) > .rise { animation-delay: 0.25s; }
.mask:nth-child(2) > .rise { animation-delay: 0.37s; }
.mask:nth-child(3) > .rise { animation-delay: 0.49s; }
.hero__lede.rise { animation-delay: 0.8s; }
.hero__actions.rise { animation-delay: 0.95s; }
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-line {
  from { transform: translate3d(0, 105%, 0) rotate(1.5deg); }
  to { transform: none; }
}

/* Scroll reveals (only hidden once site.js is running) */
.reveal-ready .reveal:not(.is-in) { opacity: 0; transform: translate3d(0, 30px, 0); }
.reveal-ready .reveal {
  transition: opacity 1.1s var(--ease-out) var(--d, 0s), transform 1.3s var(--ease-out) var(--d, 0s);
}

/* Quotes that arrive word by word */
.words .w {
  display: inline-block;
  opacity: 0.08;
  transform: translate3d(0, 0.18em, 0);
  filter: blur(4px);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out), filter 0.9s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 0.055s);
}
.words.is-in .w { opacity: 1; transform: none; filter: none; }

@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;
    scroll-behavior: auto !important;
  }
  .hero__art { transform: none !important; }
}

@media (forced-colors: active) {
  .btn, .choice span { border: 1px solid ButtonText; }
  .choices__glide { display: none; }
  .art-stage, .grain, .hero__scrim, .eye::after, .band::after { display: none; }
}

/* -------------------------------------------------------------------------
   Print
   ------------------------------------------------------------------------- */
@media print {
  :root { --bg: #fff; --ink: #000; --body: #222; --muted: #333; --dim: #555; --line: #ccc; }
  body { background: #fff; color: #222; }
  .site-header, .mobile-menu, .skip-link, .hero__art, .hero__scrim, .grain, .scroll-cue,
  .eye__art, .band__art, .card__media, .form, .form-done, .progress, .elev { display: none !important; }
  .hero { min-height: 0; padding-top: 0; }
  .section, .eye, .band { padding-block: 24px; min-height: 0; }
  .reveal, .words .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .accent { color: #6b5532; }
  a[href^="mailto:"]::after { content: ""; }
}
