/* ==========================================================================
   Privilege — "Maison" design system
   Black lacquer · ivory paper · gallery white · Bodoni · gold foil
   1 Tokens  2 Base  3 Type  4 Layout  5 Header/Menu  6 Buttons  7 Sections
   8 Team  9 Footer  10 Forms  11 Overlays  12 Pages  13 Motion  14 Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --black: #050505;
  --onyx: #0b0a09;
  --charcoal: #121110;
  --graphite: #1a1917;
  --ivory: #f4f0e8;
  --paper: #f3efe7;
  --gallery: #fdfdfc;
  --ink: #0e0d0c;

  --gold: #c4a36a;
  --gold-hi: #e8d5a7;
  --gold-lo: #8a6b3a;
  --foil: linear-gradient(105deg, #7c5e2e 0%, #c9a86b 18%, #f4e6c0 34%, #b38e55 50%, #e8d09b 68%, #9a7840 84%, #6f5428 100%);

  --bg: var(--black);
  --text: var(--ivory);
  --text-dim: rgba(244, 240, 232, .72);
  --text-mute: rgba(244, 240, 232, .54);
  --line: rgba(244, 240, 232, .12);
  --line-2: rgba(244, 240, 232, .24);
  --accent: #d6b880;

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .18, 1);
  --ease-soft: cubic-bezier(.25, .8, .25, 1);

  --pad-x: clamp(1rem, 4.4vw, 5rem);
  --gutter: clamp(1rem, 2vw, 2.25rem);
  --max: 1760px;
  --section: clamp(6.5rem, 12vw, 12.5rem);
  --header-h: clamp(4.75rem, 6.4vw, 6.25rem);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: var(--paper);
  --text: var(--ink);
  --text-dim: rgba(14, 13, 12, .74);
  --text-mute: rgba(14, 13, 12, .58);
  --line: rgba(14, 13, 12, .14);
  --line-2: rgba(14, 13, 12, .26);
  --accent: #765826;
  color-scheme: light;
}
[data-theme="white"] {
  --bg: var(--gallery);
  --text: var(--ink);
  --text-dim: rgba(14, 13, 12, .74);
  --text-mute: rgba(14, 13, 12, .58);
  --line: rgba(14, 13, 12, .12);
  --line-2: rgba(14, 13, 12, .24);
  --accent: #765826;
  color-scheme: light;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--black); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--black); }
:focus { outline: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 200;
  padding: .9rem 1.3rem; background: var(--ivory); color: var(--black);
  font: 500 .68rem/1 var(--f-sans); letter-spacing: .3em; text-transform: uppercase;
  transform: translateY(-200%); transition: transform .4s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }
.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;
}
section, [data-theme] { background: var(--bg); color: var(--text); }

/* 3. Typography ------------------------------------------------------------ */
.d-xxl, .d-xl, .h1, .h2, .h3, .h4, .quote {
  font-family: var(--f-display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-kerning: normal;
}
.d-xxl { font-size: clamp(3.4rem, 15.6vw, 21rem); line-height: .8; letter-spacing: -.012em; text-transform: uppercase; }
.d-xl { font-size: clamp(3rem, 9vw, 10.5rem); line-height: .92; letter-spacing: -.02em; }
.h1 { font-size: clamp(2.6rem, 6.2vw, 7.2rem); line-height: .98; letter-spacing: -.018em; }
.h2 { font-size: clamp(2.2rem, 4.4vw, 5rem); line-height: 1.02; letter-spacing: -.014em; }
.h3 { font-size: clamp(1.6rem, 2.3vw, 2.45rem); line-height: 1.1; letter-spacing: -.01em; }
.h4 { font-size: clamp(1.35rem, 1.6vw, 1.7rem); line-height: 1.15; }
.quote { font-size: clamp(1.45rem, 2.4vw, 2.55rem); line-height: 1.22; font-style: italic; letter-spacing: -.01em; }
.d-xxl em, .d-xl em, .h1 em, .h2 em, .h3 em, .h4 em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.4rem); line-height: 1.55; font-weight: 300; color: var(--text); }
.body { font-size: clamp(1rem, 1.05vw, 1.0625rem); line-height: 1.78; color: var(--text-dim); max-width: 60ch; }
.body + .body { margin-top: 1.25em; }
.label {
  font-family: var(--f-sans);
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.mute { color: var(--text-mute); }
.accent { color: var(--accent); }
.chapter {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--accent);
}
.chapter__num { font-family: var(--f-display); font-style: normal; font-size: 1.05rem; letter-spacing: .06em; text-transform: none; }
.chapter::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.chapter--short::after { flex: 0 0 3rem; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* 4. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(4.5rem, 8vw, 8rem); }
.rule { height: 1px; background: var(--line); transform-origin: left center; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 1.25rem; color: var(--accent); }
.ornament::before, .ornament::after { content: ""; width: clamp(3rem, 10vw, 8rem); height: 1px; background: currentColor; opacity: .45; }
.ornament img { width: 1.6rem; }

/* 5. Header & menu --------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  color: var(--ivory);
  transition: transform .8s var(--ease-out), color .5s var(--ease-soft);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5, 5, 5, .78), rgba(5, 5, 5, 0));
  opacity: 0; transition: opacity .5s var(--ease-soft); pointer-events: none;
}
.site-header::after {
  content: ""; position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 0;
  height: 1px; background: currentColor; opacity: .1;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-105%); }
.site-header.is-on-light { color: var(--ink); }
.site-header.is-on-light::before { background: linear-gradient(to bottom, rgba(253, 253, 252, .9), rgba(253, 253, 252, 0)); }
.site-header__inner {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
}
.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.8rem); }
.nav--left { justify-self: start; }
.nav--right { justify-self: end; }
.nav__link { position: relative; display: inline-block; padding-block: .5rem; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease-out);
}
.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--gold); }
.site-header.is-on-light .nav__link[aria-current="page"] { color: #765826; }
.nav__pill { color: var(--gold); }
.site-header.is-on-light .nav__pill { color: #765826; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: .5rem; justify-self: center; }
.brand__mark { width: 1.75rem; height: 1.75rem; transition: transform 1.4s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-35deg); }
.brand__word {
  font-family: var(--f-display); font-size: .95rem; line-height: 1;
  letter-spacing: .42em; text-transform: uppercase; padding-left: .42em;
}
.account { position: relative; }
.account__btn { display: inline-flex; align-items: center; gap: .6rem; }
.account__avatar {
  width: 1.75rem; height: 1.75rem; display: grid; place-items: center; overflow: hidden;
  border: 1px solid rgba(196, 163, 106, .5); font-family: var(--f-display); font-size: .95rem;
  letter-spacing: 0; text-transform: none; color: var(--gold);
}
.account__avatar img { width: 100%; height: 100%; object-fit: cover; }
.account__menu {
  position: absolute; right: 0; top: calc(100% + 1rem); min-width: 13rem; padding: .5rem;
  background: rgba(11, 10, 9, .97); border: 1px solid var(--line-2); color: var(--ivory);
  opacity: 0; visibility: hidden; transform: translateY(-.5rem);
  transition: opacity .35s var(--ease-soft), transform .5s var(--ease-out), visibility 0s .35s;
}
.account.is-open .account__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.account__menu a, .account__menu button { display: block; width: 100%; text-align: left; padding: .85rem 1rem; transition: background .3s, color .3s; }
.account__menu a:hover, .account__menu button:hover { background: rgba(244, 240, 232, .06); color: var(--gold-hi); }
.account__menu .is-danger { color: #e39a88; }
.menu-toggle { display: none; align-items: center; gap: .8rem; height: 2.75rem; justify-self: end; }
.menu-toggle__icon { position: relative; width: 1.75rem; height: .55rem; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .6s var(--ease-out), top .6s var(--ease-out);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 100%; }
.menu-open .menu-toggle__icon::before { top: 50%; transform: rotate(45deg); }
.menu-open .menu-toggle__icon::after { top: 50%; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 2.5rem) var(--pad-x) 2rem;
  background: var(--onyx);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 1s var(--ease-in-out), visibility 0s 1s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.menu__list { display: flex; flex-direction: column; }
.menu__link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: .55rem; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: clamp(2.1rem, 9vw, 3.6rem); line-height: 1.05; overflow: hidden;
}
.menu__link > span:first-child { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.menu-open .menu__link > span:first-child { transform: none; }
.menu__link .chapter__num { color: var(--gold); font-size: 1rem; }
.menu__link[aria-current="page"] { color: var(--gold-hi); }
.menu__item:nth-child(1) .menu__link > span:first-child { transition-delay: .2s; }
.menu__item:nth-child(2) .menu__link > span:first-child { transition-delay: .25s; }
.menu__item:nth-child(3) .menu__link > span:first-child { transition-delay: .3s; }
.menu__item:nth-child(4) .menu__link > span:first-child { transition-delay: .35s; }
.menu__item:nth-child(5) .menu__link > span:first-child { transition-delay: .4s; }
.menu__item:nth-child(6) .menu__link > span:first-child { transition-delay: .45s; }
.menu__item:nth-child(7) .menu__link > span:first-child { transition-delay: .5s; }
.menu__foot { display: grid; gap: .5rem; padding-top: 1.5rem; color: var(--text-dim); font-size: .95rem; opacity: 0; transition: opacity .6s .55s; }
.menu-open .menu__foot { opacity: 1; }

/* 6. Buttons & links ------------------------------------------------------- */
.btn {
  --fill: var(--foil);
  --fill-text: var(--black);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  height: 3.6rem; padding: 0 2.1rem;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-family: var(--f-sans); font-size: .6875rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  white-space: nowrap;
  transition: color .6s var(--ease-soft), border-color .6s var(--ease-soft);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill); transform: scaleX(0); transform-origin: right;
  transition: transform .9s var(--ease-out);
}
.btn:hover, .btn:focus-visible { color: var(--fill-text); border-color: transparent; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn__arrow { width: .95rem; height: .95rem; flex-shrink: 0; transition: transform .7s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(.3rem); }
.btn--foil { background: var(--foil); background-size: 200% 100%; background-position: 0 50%; color: var(--black); border-color: transparent; transition: background-position 1.4s var(--ease-out), color .5s; }
.btn--foil::before { background: var(--ivory); }
.btn--foil:hover { background-position: 100% 50%; }
[data-theme="light"] .btn--foil::before, [data-theme="white"] .btn--foil::before { background: var(--ink); }
[data-theme="light"] .btn--foil:hover, [data-theme="white"] .btn--foil:hover { color: var(--ivory); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn .spinner { width: 1rem; height: 1rem; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn--danger { --fill: #e39a88; color: #e39a88; border-color: rgba(227, 154, 136, .4); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: .8rem; padding-bottom: .45rem;
  color: var(--accent);
}
.link::before, .link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; }
.link::before { opacity: .3; }
.link::after { transform: scaleX(0); transform-origin: right; transition: transform .9s var(--ease-out); }
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.link svg { width: .9rem; height: .9rem; transition: transform .7s var(--ease-out); }
.link:hover svg { transform: translateX(.25rem); }
.link-serif {
  font-family: var(--f-display); font-size: clamp(1.2rem, 1.9vw, 2.1rem); line-height: 1.2; overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 1s var(--ease-out), color .5s;
}
.link-serif:hover, .link-serif:focus-visible { background-size: 100% 1px; color: var(--accent); }

/* 7. Shared sections ------------------------------------------------------- */
.frame { position: relative; overflow: hidden; background: var(--graphite); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame > img[data-parallax-img] { position: absolute; inset: -9% 0 auto 0; height: 118%; }
.page-hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(5rem, 12vw, 11rem));
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}
.page-hero__title { max-width: 14ch; }
.page-hero__foot { margin-top: clamp(3rem, 6vw, 5.5rem); padding-top: 1.75rem; border-top: 1px solid var(--line); align-items: start; row-gap: 1.5rem; }
.page-hero__lead { grid-column: 1 / span 6; }
.page-hero__aside { grid-column: 9 / span 4; justify-self: end; text-align: right; }
.halo {
  position: absolute; pointer-events: none; width: min(90vw, 62rem); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(196, 163, 106, .14), transparent);
}
.cta { text-align: center; overflow: hidden; }
.cta__inner { position: relative; display: grid; justify-items: center; gap: clamp(1.75rem, 3.5vw, 2.75rem); }
.cta__title { max-width: 15ch; }
.cta__text { max-width: 44ch; color: var(--text-dim); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta .halo { left: 50%; top: 55%; translate: -50% -50%; }

.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: end; margin-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.intro__title { grid-column: 1 / span 7; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.intro__aside { grid-column: 9 / span 4; display: grid; gap: 1.75rem; justify-items: start; }
.field__label { font: 500 .625rem/1.4 var(--f-sans); letter-spacing: .3em; text-transform: uppercase; }
@media (max-width: 1099px) { .intro__title, .intro__aside { grid-column: 1 / -1; } }

/* 8. Team / portraits ------------------------------------------------------ */
.plate {
  position: relative;
  aspect-ratio: var(--ratio);
  background: var(--paper-tone, #fbfbfb);
  overflow: hidden;
}
.plate img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; display: block; }
.plate::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(14, 13, 12, .07); pointer-events: none; }
.plate-wrap { position: relative; }
.plate-wrap::before {
  content: ""; position: absolute; inset: 0; border: 1px solid rgba(196, 163, 106, .55);
  transform: translate(.9rem, .9rem); transition: transform 1s var(--ease-out); pointer-events: none;
}
.person:hover .plate-wrap::before, .person:focus-within .plate-wrap::before { transform: translate(1.35rem, 1.35rem); }
.person { display: grid; gap: 1.6rem; align-content: start; }
.person__caption { display: grid; gap: .55rem; padding-top: .5rem; }
.person__name { font-family: var(--f-display); font-size: clamp(1.6rem, 2.3vw, 2.4rem); line-height: 1.05; letter-spacing: -.01em; }
.person__title { color: var(--accent); }
.person__based { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .9rem; margin-top: .15rem; color: var(--text); font-size: .9375rem; }
.person__email { justify-self: start; margin-top: .4rem; font-size: .9375rem; color: var(--text-dim); word-break: break-all; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--ease-out), color .4s; }
.person__email:hover { background-size: 100% 1px; color: var(--text); }

.triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: end;
}
.triptych .person:nth-child(2) { order: -1; }
.triptych .person--founder { order: 0; }
.triptych__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: end; margin-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.triptych__title { grid-column: 1 / span 7; }
.triptych__aside { grid-column: 9 / span 4; display: grid; gap: 1.75rem; justify-items: start; }

.founder-feature { align-items: start; row-gap: 3.5rem; }
.founder-feature__media { grid-column: 1 / span 5; }
.founder-feature__body { grid-column: 7 / span 6; display: grid; gap: clamp(1.5rem, 2.6vw, 2.25rem); align-content: start; }
.founder-feature__name { line-height: .92; }
.founder-feature__body .body + .body { margin-top: -.5rem; }
.founder-feature__quote { padding-left: clamp(1.25rem, 2.5vw, 2rem); border-left: 1px solid var(--gold); }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; padding-block: 1.05rem; border-bottom: 1px solid var(--line); }
.contact-list a span:last-child { word-break: break-all; transition: color .4s; }
.contact-list a:hover span:last-child { color: var(--accent); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 7rem); }
.duo > :nth-child(2) { margin-top: clamp(0rem, 8vw, 9rem); }
.duo .plate { aspect-ratio: 1080 / 1243; }

/* 9. Footer ---------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--onyx); border-top: 1px solid var(--line); padding-top: clamp(5rem, 9vw, 8.5rem); }
.site-footer__brand { display: grid; justify-items: center; gap: 1.6rem; text-align: center; margin-bottom: clamp(4rem, 8vw, 7rem); }
.site-footer__brand img { width: 2.6rem; }
.site-footer__brand p { max-width: 46ch; color: var(--text-dim); font-size: 1.0625rem; line-height: 1.65; }
.site-footer__cols { row-gap: 3rem; padding-block: 2.75rem; border-top: 1px solid var(--line); }
.site-footer__col { display: grid; gap: 1.4rem; align-content: start; }
.site-footer__col:nth-child(1) { grid-column: 1 / span 2; }
.site-footer__col:nth-child(2) { grid-column: 4 / span 5; }
.site-footer__col:nth-child(3) { grid-column: 9 / span 4; }
.site-footer__heading { color: var(--gold); }
.site-footer__links { display: grid; gap: .8rem; }
.site-footer__links a { color: var(--text-dim); transition: color .4s; word-break: break-word; }
.site-footer__links a:hover { color: var(--ivory); }
.site-footer__big a { font-family: var(--f-display); font-size: clamp(1.15rem, 1.45vw, 1.5rem); line-height: 1.3; color: var(--ivory); word-break: normal; overflow-wrap: anywhere; }
.site-footer__big a:hover { color: var(--gold-hi); }
.wordmark {
  display: block; text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(4rem, 15.6vw, 20rem); line-height: .78; letter-spacing: -.01em;
  background: linear-gradient(180deg, rgba(244, 240, 232, .92) 0%, rgba(196, 163, 106, .5) 60%, rgba(196, 163, 106, 0) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(14%);
}
.site-footer__bar {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding-block: 1.75rem; border-top: 1px solid var(--line); color: var(--text-mute); background: var(--onyx);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.site-footer__legal a:hover, .to-top:hover { color: var(--gold-hi); }
.to-top { display: inline-flex; align-items: center; gap: .6rem; color: var(--text-mute); }
.to-top svg { width: .8rem; height: .8rem; }

/* 10. Forms ---------------------------------------------------------------- */
.form { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem); }
.field { position: relative; display: grid; gap: .55rem; }
.field__label { color: var(--text-mute); transition: color .4s; }
.field:focus-within .field__label { color: var(--accent); }
.field__control { position: relative; }
.field__control::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out);
}
.field:focus-within .field__control::after { transform: scaleX(1); }
.input, .select, .textarea {
  width: 100%; padding: .85rem 0 1rem; background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  font-size: clamp(1.0625rem, 1.2vw, 1.2rem); font-weight: 300; line-height: 1.4; color: var(--text);
  transition: border-color .4s; -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--text-mute); opacity: .8; }
.input:-webkit-autofill { -webkit-text-fill-color: var(--text); transition: background-color 9999s; }
.select {
  padding-right: 2rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23c4a36a' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .25rem center; background-size: .75rem;
}
.select option { background: var(--graphite); color: var(--ivory); }
.textarea { min-height: 9rem; resize: vertical; }
.input[disabled] { opacity: .55; cursor: not-allowed; }
.field__hint { color: var(--accent); font-size: .625rem; }
.field__error { font-size: .8125rem; color: #e39a88; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-bottom-color: #e39a88; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: .5rem; }
.form__note { max-width: 44ch; font-size: .875rem; color: var(--text-mute); }
.alert { display: none; padding: 1rem 1.25rem; border: 1px solid var(--line-2); font-size: .9375rem; line-height: 1.5; }
.alert.is-visible { display: block; }
.alert--error { border-color: rgba(227, 154, 136, .5); background: rgba(227, 154, 136, .08); color: #e39a88; }
.alert--success { border-color: rgba(196, 163, 106, .5); background: rgba(196, 163, 106, .08); color: var(--gold-hi); }
.form-success { display: none; gap: 1.5rem; justify-items: start; padding-block: 2rem; }
.form-success.is-visible { display: grid; }
.form-success__mark { width: 3.5rem; height: 3.5rem; }
.form-success__mark circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.4s var(--ease-out) forwards; }
.form-success__mark path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s .7s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.panel { position: relative; padding: clamp(2rem, 5vw, 4.5rem); background: linear-gradient(180deg, rgba(26, 25, 23, .6), rgba(11, 10, 9, .6)); border: 1px solid var(--line); }
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--foil); opacity: .85; }

/* 11. Overlays ------------------------------------------------------------- */
.grain {
  position: fixed; inset: -100%; z-index: 90; pointer-events: none; opacity: .045;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 4%); } 100% { transform: translate(0, 0); }
}
.loader { position: fixed; inset: 0; z-index: 110; display: none; pointer-events: none; }
.is-intro .loader { display: block; pointer-events: auto; }
.loader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--black); }
.loader__half--top { top: 0; }
.loader__half--bottom { bottom: 0; }
.loader__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.6rem; }
.loader__mark { width: clamp(3.25rem, 5vw, 4.25rem); opacity: 0; }
.loader__word {
  display: flex; overflow: hidden; padding: .1em .2em;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(2.4rem, 6.5vw, 5.75rem); line-height: 1; letter-spacing: .16em; padding-left: .36em;
}
.loader__word span { display: inline-block; transform: translateY(115%); }
.loader__sub { color: var(--gold); opacity: 0; }
.loader__line { width: min(22rem, 60vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__fill { display: block; height: 100%; background: var(--foil); transform: scaleX(0); transform-origin: left; }
.curtain { position: fixed; inset: 0; z-index: 105; pointer-events: none; }
.curtain__panel { position: absolute; inset: 0; background: var(--onyx); transform: scaleY(0); transform-origin: 50% 100%; display: grid; place-items: center; }
.curtain__panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--foil); }
.is-arriving .curtain__panel { transform: scaleY(1); transform-origin: 50% 0%; }
.curtain__label { display: grid; justify-items: center; gap: 1.1rem; opacity: 0; }
.curtain__label img { width: 2.2rem; }
.curtain__label span { font-family: var(--f-display); font-size: clamp(2rem, 5vw, 4.25rem); letter-spacing: -.01em; }
.cursor { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; display: none; mix-blend-mode: difference; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: #fff; transition: opacity .3s, scale .4s var(--ease-out); }
.cursor__ring {
  width: 2.6rem; height: 2.6rem; margin: -1.3rem 0 0 -1.3rem; border: 1px solid rgba(255, 255, 255, .55);
  display: grid; place-items: center;
  transition: width .6s var(--ease-out), height .6s var(--ease-out), margin .6s var(--ease-out), background-color .5s, border-color .5s, opacity .4s;
}
.cursor__label { font: 500 .5625rem/1 var(--f-sans); letter-spacing: .28em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor__ring { width: 3.8rem; height: 3.8rem; margin: -1.9rem 0 0 -1.9rem; border-color: #fff; }
.cursor.is-link .cursor__dot { scale: .4; }
.cursor.is-label .cursor__ring { width: 6.25rem; height: 6.25rem; margin: -3.125rem 0 0 -3.125rem; background: #fff; border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-text .cursor__ring { opacity: 0; }
.cursor.is-down .cursor__ring { scale: .85; }
.cursor.is-hidden { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor] { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select, .has-cursor label { cursor: auto; }

/* 12. Pages ---------------------------------------------------------------- */

/* Home hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.hero__sphere {
  position: absolute; z-index: 0; left: 50%; top: 39%;
  width: min(62vh, 64vw, 46rem); aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
}
.hero__sphere canvas, .hero__sphere img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__sphere img { object-fit: contain; padding: 16%; }
.hero__sphere.is-webgl img { display: none; }
.hero__glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(196, 163, 106, .18), rgba(196, 163, 106, .03) 65%, transparent); }
.hero__top {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; gap: 2rem;
  padding-top: calc(var(--header-h) + 1.6rem); color: var(--text-mute);
}
.hero__center { position: relative; z-index: 2; flex: 1; display: grid; align-content: end; justify-items: center; text-align: center; padding-block: 2rem clamp(1rem, 4vh, 3rem); }
.hero__heading { display: grid; justify-items: center; gap: clamp(1.25rem, 2.6vw, 2.25rem); font-weight: 400; }
.hero__word { display: flex; justify-content: center; color: #f4f0e8; padding-left: .02em; text-shadow: 0 .02em .3em rgba(5, 5, 5, .35); }
.hero__word .ch { display: inline-block; overflow: hidden; padding: .04em 0 .06em; margin: -.04em 0 -.06em; }
.hero__word .ch > span { display: inline-block; will-change: transform; }
.hero__tag { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.8rem); line-height: 1.1; color: var(--gold-hi); }
.hero__bottom { position: relative; z-index: 3; align-items: end; row-gap: 2rem; padding-bottom: clamp(1.75rem, 4vh, 3rem); }
.hero__lead { grid-column: 1 / span 4; max-width: 36ch; color: var(--text-dim); font-size: 1rem; line-height: 1.65; }
.hero__scroll { grid-column: 6 / span 2; justify-self: center; display: grid; justify-items: center; gap: .9rem; color: var(--text-mute); }
.hero__scroll i { display: block; width: 1px; height: 3.5rem; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: drop 2.4s var(--ease-in-out) infinite; }
@keyframes drop { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }
.hero__actions { grid-column: 9 / span 4; justify-self: end; display: flex; flex-wrap: wrap; gap: .85rem; justify-content: flex-end; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line__inner { display: inline-block; }
.line-mask { padding: .06em .08em .12em; margin: -.06em -.08em -.12em; }

/* Home manifesto */
.manifesto__text { max-width: 22ch; margin-block: clamp(2.5rem, 5vw, 4.5rem); }
.manifesto__foot { row-gap: 2rem; align-items: start; }
.manifesto__foot > :nth-child(1) { grid-column: 1 / span 5; }
.manifesto__foot > :nth-child(2) { grid-column: 7 / span 5; }
.manifesto__foot > :nth-child(3) { grid-column: 1 / -1; }

/* Disciplines accordion */
.disc { border-top: 1px solid var(--line); }
.disc__item { border-bottom: 1px solid var(--line); position: relative; }
.disc__item::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--foil); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); }
.disc__item:hover::after, .disc__item.is-open::after { transform: scaleX(1); }
.disc__head {
  width: 100%; display: grid; grid-template-columns: clamp(3rem, 7vw, 7.5rem) 1fr auto; align-items: center; gap: 1.5rem;
  padding-block: clamp(1.6rem, 2.8vw, 2.6rem); text-align: left;
}
.disc__num { font-family: var(--f-display); font-size: clamp(1.1rem, 1.4vw, 1.5rem); letter-spacing: .06em; color: var(--accent); }
.disc__title { font-family: var(--f-display); font-size: clamp(2rem, 4.6vw, 5rem); line-height: 1; letter-spacing: -.015em; transition: transform 1s var(--ease-out), color .5s; }
.disc__head:hover .disc__title, .disc__item.is-open .disc__title { transform: translateX(.6rem); }
.disc__item.is-open .disc__title { color: var(--gold-hi); }
[data-theme="light"] .disc__item.is-open .disc__title { color: #765826; }
.disc__icon { position: relative; width: 3rem; height: 3rem; border: 1px solid var(--line-2); border-radius: 50%; transition: background .5s, border-color .5s, transform .8s var(--ease-out); }
.disc__icon::before, .disc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .9rem; height: 1px; background: currentColor; translate: -50% -50%; transition: transform .6s var(--ease-out); }
.disc__icon::after { transform: rotate(90deg); }
.disc__item.is-open .disc__icon { transform: rotate(45deg); border-color: var(--gold); background: rgba(196, 163, 106, .1); }
.disc__panel { overflow: hidden; }
.has-accordion .disc__item:not(.is-open) .disc__panel { height: 0; }
.disc__inner { display: grid; grid-template-columns: clamp(3rem, 7vw, 7.5rem) minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; padding-bottom: clamp(2rem, 3.5vw, 3rem); }
.disc__inner > .lead { grid-column: 2; max-width: 34ch; }
.disc__inner > div { grid-column: 3; display: grid; gap: 1.6rem; justify-items: start; }

/* Home private client */
.pc-band { position: relative; overflow: hidden; padding-block: clamp(8rem, 16vw, 15rem); text-align: center; isolation: isolate; }
.pc-band__bg { position: absolute; inset: -12% 0; z-index: -2; }
.pc-band__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.5) contrast(1.1); }
.pc-band__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 50% 50%, rgba(5, 5, 5, .25), rgba(5, 5, 5, .92)), linear-gradient(to bottom, var(--black), transparent 22%, transparent 78%, var(--black)); }
.pc-band__inner { display: grid; justify-items: center; gap: clamp(2rem, 4vw, 3rem); }
.pc-band__mark { width: min(28rem, 74vw); filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .65)); }
.pc-band__text { max-width: 48ch; }
.thresholds { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; width: min(100%, 46rem); padding-block: clamp(1.75rem, 3vw, 2.5rem); border-block: 1px solid var(--line); }
.thresholds__sep { width: 1px; height: 100%; min-height: 5rem; background: var(--line); }
.threshold { display: grid; gap: .75rem; justify-items: center; text-align: center; }
.threshold__value { font-family: var(--f-display); font-size: clamp(3.2rem, 7vw, 6.5rem); line-height: .9; letter-spacing: -.02em; color: var(--accent); }

/* About */
.about-hero { min-height: 100svh; display: flex; align-items: center; text-align: center; }
.about-hero__bg { position: absolute; inset: -10% 0; z-index: 0; }
.about-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.58) contrast(1.05); }
.about-hero__shade { position: absolute; inset: 0; z-index: 1; background: radial-gradient(55% 50% at 50% 52%, rgba(5, 5, 5, .6), rgba(5, 5, 5, .18) 75%), linear-gradient(to bottom, rgba(5, 5, 5, .55), transparent 25%, transparent 70%, var(--black)); }
.about-hero .container { position: relative; z-index: 2; }
.about-hero__title { max-width: 17ch; margin-inline: auto; }
.philosophy { align-items: start; row-gap: 3rem; }
.philosophy__head { grid-column: 1 / span 5; display: grid; gap: 2rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.philosophy__body { grid-column: 7 / span 6; display: grid; gap: 2rem; }
.philosophy__body .lead { font-family: var(--f-display); font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.4; }
.dropcap::first-letter { float: left; font-size: 4.4em; line-height: .78; padding: .05em .1em 0 0; color: var(--accent); }
.values { overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 2rem) clamp(3rem, 6vh, 5rem); }
.values__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.values__track { display: flex; gap: var(--gutter); width: max-content; }
.value {
  position: relative; width: clamp(18rem, 28vw, 27rem); min-height: min(30rem, 52vh);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.75rem, 3vw, 2.75rem); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 25, 23, .5), rgba(11, 10, 9, 0)); transition: border-color .6s;
}
.value:hover { border-color: rgba(196, 163, 106, .5); }
.value__num { font-family: var(--f-display); font-size: clamp(3.5rem, 6vw, 6rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(196, 163, 106, .7); transition: color .7s; }
.value:hover .value__num { color: rgba(196, 163, 106, .22); }
.value__body { display: grid; gap: 1rem; }

/* Services */
.svc-hero__grid { align-items: end; row-gap: 3rem; }
.svc-hero__title { grid-column: 1 / span 9; }
.svc-hero__sphere { grid-column: 10 / span 3; position: relative; aspect-ratio: 1; }
.svc-hero__sphere canvas, .svc-hero__sphere img { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-hero__sphere img { object-fit: contain; padding: 16%; }
.svc-hero__sphere.is-webgl img { display: none; }
.svc { padding-block: clamp(3rem, 6vw, 5.5rem); border-top: 1px solid var(--line); row-gap: 1.75rem; align-items: start; scroll-margin-top: calc(var(--header-h) + 1rem); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__num { grid-column: 1 / span 2; font-family: var(--f-display); font-size: clamp(2.5rem, 4vw, 4.25rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(196, 163, 106, .75); }
.svc__title { grid-column: 3 / span 5; }
.svc__body { grid-column: 9 / span 4; display: grid; gap: 1.75rem; justify-items: start; padding-top: .6rem; }

/* Contact */
.channels { border-top: 1px solid var(--line); }
.channel { display: grid; gap: 1.1rem; padding: clamp(2rem, 4vw, 3.25rem) 0; border-bottom: 1px solid var(--line); align-content: start; }
.channels .channel:nth-child(1) { grid-column: 1 / span 6; padding-right: var(--gutter); }
.channels .channel:nth-child(2) { grid-column: 7 / span 6; padding-left: var(--gutter); border-left: 1px solid var(--line); }
.partners-direct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.partners-direct a { display: grid; gap: .5rem; }
.partners-direct a .h4 { transition: color .4s; }
.partners-direct a:hover .h4 { color: var(--accent); }
.partners-direct a span:last-child { color: var(--text-mute); font-size: .875rem; word-break: break-all; }
.inquiry { row-gap: 3rem; align-items: start; }
.inquiry__intro { grid-column: 1 / span 4; display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.inquiry__form { grid-column: 6 / span 7; }

/* Private client page */
.pc-intro { min-height: 100svh; display: grid; place-items: center; text-align: center; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; overflow: hidden; position: relative; }
.pc-intro__inner { position: relative; display: grid; justify-items: center; gap: clamp(2.5rem, 5vw, 4rem); }
.pc-intro__mark { width: min(32rem, 82vw); }
.pc-intro__text { max-width: 56ch; display: grid; gap: 1.5rem; }
.pc-intro .halo { left: 50%; top: 40%; translate: -50% -50%; }
.pc-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.exclusivity { text-align: center; }
.exclusivity .thresholds { margin: clamp(3rem, 6vw, 5rem) auto; }
.exclusivity__copy { max-width: 62ch; margin-inline: auto; display: grid; gap: 1.5rem; }
.exclusivity__copy .body { max-width: none; margin: 0; }
.supremacy { row-gap: 4rem; align-items: start; }
.supremacy__body { grid-column: 1 / span 5; display: grid; gap: 2rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.supremacy__form { grid-column: 7 / span 6; }
.perks { border-top: 1px solid var(--line); }
.perks li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; padding-block: 1.35rem; border-bottom: 1px solid var(--line); color: var(--text-dim); }
.perks .chapter__num { color: var(--accent); }

/* Team page */
.team-hero .halo { right: -10%; top: 10%; }
.team-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 5rem); }
.team-index a { display: grid; gap: .45rem; padding: 1.4rem 1.25rem 1.4rem 0; border-right: 1px solid var(--line); transition: color .4s; }
.team-index a + a { padding-left: 1.25rem; }
.team-index a:last-child { border-right: 0; }
.team-index a:hover .h4 { color: var(--accent); }

/* Portal */
.auth { position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 3rem) var(--pad-x) 4rem; overflow: hidden; isolation: isolate; }
.auth__sphere { position: absolute; z-index: -1; width: min(120vw, 70rem); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; opacity: .32; pointer-events: none; }
.auth__sphere canvas, .auth__sphere img { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth__sphere img { object-fit: contain; padding: 15%; }
.auth__sphere.is-webgl img { display: none; }
.auth__panel { width: 100%; max-width: 34rem; padding: clamp(2rem, 5vw, 3.5rem); background: rgba(11, 10, 9, .74); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); }
.auth__panel--wide { max-width: 40rem; }
.auth__head { display: grid; gap: 1rem; justify-items: center; text-align: center; margin-bottom: 2.5rem; }
.auth__switch { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); text-align: center; color: var(--text-mute); font-size: .9375rem; }
.auth__switch a { margin-left: .5rem; color: var(--accent); }
.auth__switch a:hover { color: var(--gold-hi); }
.portal { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 6rem; min-height: 100svh; }
.portal__overview { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.portal__who { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.25rem); }
.portal__avatar { width: clamp(5.5rem, 9vw, 8rem); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(196, 163, 106, .4); overflow: hidden; font-family: var(--f-display); font-size: 2.75rem; color: var(--accent); background: var(--onyx); }
.portal__avatar img { width: 100%; height: 100%; object-fit: cover; }
.portal__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(2rem, 4vw, 3rem); }
.module { display: grid; gap: 1.25rem; align-content: start; padding: clamp(1.75rem, 3vw, 2.75rem); border: 1px solid var(--line); transition: border-color .5s, transform .8s var(--ease-out); }
.module:hover { border-color: rgba(196, 163, 106, .45); transform: translateY(-4px); }
.module__icon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border: 1px solid rgba(196, 163, 106, .3); color: var(--accent); }
.module__icon svg { width: 1.4rem; height: 1.4rem; }
.module__more { color: var(--accent); opacity: 0; transform: translateX(-.5rem); transition: opacity .5s, transform .6s var(--ease-out); }
.module:hover .module__more { opacity: 1; transform: none; }
.profile-photo { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; padding-bottom: 2.5rem; margin-bottom: .5rem; border-bottom: 1px solid var(--line); }
.profile-photo__preview { position: relative; width: 8rem; height: 8rem; border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; background: var(--onyx); color: var(--text-mute); }
.profile-photo__preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo__btn { position: absolute; right: .4rem; bottom: .4rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--black); transition: transform .4s var(--ease-out); }
.profile-photo__btn:hover { transform: scale(1.1); }
.profile-photo__btn svg { width: 1rem; height: 1rem; }
.back-link { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 2rem; color: var(--accent); }
.back-link svg { width: .9rem; height: .9rem; transform: rotate(180deg); }
.portal-gate { min-height: 60svh; display: grid; place-items: center; color: var(--text-mute); }

/* Legal */
.legal { padding-top: calc(var(--header-h) + clamp(4rem, 9vw, 8rem)); padding-bottom: var(--section); }
.legal__grid { align-items: start; row-gap: 3rem; }
.legal__aside { grid-column: 1 / span 4; display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.legal__body { grid-column: 6 / span 7; }
.prose h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.25rem); line-height: 1.1; margin: 3.25rem 0 1.25rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--text-dim); font-size: 1.0625rem; line-height: 1.78; }
.prose p + p { margin-top: 1rem; }
.prose ul { display: grid; gap: .6rem; margin-top: 1rem; }
.prose li { position: relative; padding-left: 1.5rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .85em; width: .6rem; height: 1px; background: var(--gold); }
.prose a { color: var(--gold-hi); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.prose strong { color: var(--text); font-weight: 450; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: calc(var(--header-h) + 2rem) var(--pad-x) 3rem; }
.notfound__inner { position: relative; z-index: 2; display: grid; gap: 2rem; justify-items: center; }

/* 13. Motion states -------------------------------------------------------- */
.js-motion [data-reveal]:not(.is-in) { opacity: 0; }
.js-motion [data-split]:not(.is-split) { visibility: hidden; }
.js-motion [data-reveal="image"]:not(.is-in) { opacity: 1; clip-path: inset(100% 0 0 0); }
.js-motion [data-plate]:not(.is-in) img { opacity: 0; }
.js-motion [data-hero-char] > span { transform: translateY(105%); }
.js-motion [data-hero-fade] { opacity: 0; }
.plate__wipe { position: absolute; inset: 0; z-index: 2; background: var(--foil); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
}

/* 14. Responsive ----------------------------------------------------------- */
@media (max-width: 1279px) {
  .nav { gap: 1.4rem; }
}
@media (max-width: 1099px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .brand { justify-self: start; flex-direction: row; gap: .8rem; }
  .menu-toggle { display: inline-flex; }
  .hero__lead { grid-column: 1 / span 7; }
  .hero__scroll { display: none; }
  .hero__actions { grid-column: 1 / -1; justify-self: start; justify-content: flex-start; }
  .triptych__title, .triptych__aside { grid-column: 1 / -1; }
  .founder-feature__media { grid-column: 1 / span 6; }
  .founder-feature__body { grid-column: 7 / span 6; }
  .svc-hero__title { grid-column: 1 / -1; }
  .svc-hero__sphere { display: none; }
  .svc__num { grid-column: 1 / span 2; }
  .svc__title { grid-column: 3 / span 10; }
  .svc__body { grid-column: 3 / span 10; padding-top: 0; }
  .philosophy__head, .philosophy__body { grid-column: 1 / -1; position: static; }
  .inquiry__intro, .inquiry__form, .supremacy__body, .supremacy__form { grid-column: 1 / -1; position: static; }
  .legal__aside { grid-column: 1 / -1; position: static; }
  .legal__body { grid-column: 1 / -1; }
  .modules { grid-template-columns: 1fr; }
  .site-footer__col:nth-child(1) { grid-column: 1 / span 4; }
  .site-footer__col:nth-child(2) { grid-column: 5 / span 8; }
  .site-footer__col:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  :root { --header-h: 4.5rem; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid > * { grid-column: 1 / -1 !important; }
  .hero__top span:last-child { display: none; }
  .hero__sphere { top: 36%; width: 104vw; }
  .hero__actions .btn { flex: 1 1 100%; }
  .page-hero__aside { justify-self: start; text-align: left; }
  .triptych { grid-template-columns: 1fr; gap: 3.5rem; }
  .triptych .person:nth-child(2) { order: 0; }
  .triptych .person--founder { order: -1; }
  .duo { grid-template-columns: 1fr; gap: 3.5rem; }
  .duo > :nth-child(2) { margin-top: 0; }
  .founder-feature__body { position: static; }
  .team-index { grid-template-columns: 1fr; }
  .team-index a, .team-index a + a { padding: 1.1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .disc__head { grid-template-columns: 2.25rem 1fr auto; gap: 1rem; }
  .disc__icon { width: 2.5rem; height: 2.5rem; }
  .disc__inner { grid-template-columns: 1fr; padding-left: 3.25rem; }
  .disc__inner > .lead, .disc__inner > div { grid-column: 1; }
  .form__row { grid-template-columns: 1fr; }
  .channels .channel:nth-child(2) { padding-left: 0; border-left: 0; }
  .channels .channel:nth-child(1) { padding-right: 0; }
  .partners-direct { grid-template-columns: 1fr; }
  .thresholds { grid-template-columns: 1fr; gap: 2rem; }
  .thresholds__sep { width: 5rem; height: 1px; min-height: 0; justify-self: center; }
  .values__track { flex-direction: column; width: 100%; }
  .value { width: 100%; min-height: 0; gap: 3rem; }
  .pc-pillars { grid-template-columns: 1fr; }
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
  .btn { height: 3.4rem; padding: 0 1.6rem; }
  .contact-list a, .contact-list div { grid-template-columns: 1fr; gap: .3rem; font-size: .875rem; }
  .person__email { font-size: .8125rem; }
  .plate-wrap { margin-right: .5rem; }
  .plate-wrap::before { transform: translate(.5rem, .5rem); }
  .person:hover .plate-wrap::before { transform: translate(.5rem, .5rem); }
}
