@font-face {
  font-family: "Cormorant";
  src: url("/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #050505;
  --bg-2: #0b0a09;
  --ink: #ece7dd;
  --ink-2: #c9c4ba;
  --muted: #8d887f;
  --faint: #3f3c37;
  --line: rgba(236, 231, 221, .11);
  --gold: #c9a96e;
  --gold-2: #e3cc9c;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --max: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 17px/1.7 var(--sans);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: inherit; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
em { font-style: italic; color: var(--gold-2); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #000; padding: 8px 14px; z-index: 200; }

.label {
  font: 400 11.5px/1.4 var(--sans);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.display, .display-2 { font-family: var(--serif); font-weight: 300; margin: 0; letter-spacing: -.005em; }
.display { font-size: clamp(50px, 9vw, 138px); line-height: .94; }
.display-2 { font-size: clamp(40px, 6vw, 88px); line-height: 1; }

/* ───────── header ───────── */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 60;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-2));
  transform-origin: 0 50%; transform: scaleX(0);
}
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .6s var(--ease), border-color .6s var(--ease), backdrop-filter .6s;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled { background: rgba(5, 5, 5, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font: 400 13px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: clamp(18px, 3vw, 44px); }
.nav a { position: relative; text-decoration: none; font: 400 11.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ───────── intro curtain ───────── */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
}
.intro-word { font: 400 13px/1 var(--sans); letter-spacing: .6em; text-transform: uppercase; color: var(--ink); display: flex; padding-left: .6em; }
.intro-word span { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.intro-line { display: block; width: 120px; height: 1px; margin: 22px auto 0; background: var(--gold); transform: scaleX(0); transition: transform 1s var(--ease) .25s; }
.intro.play .intro-word span { opacity: 1; transform: none; }
.intro.play .intro-line { transform: scaleX(1); }
.intro.done { transform: translateY(-100%); }
.intro.gone { display: none; }

/* ───────── hero ───────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 55% at 72% 50%, rgba(201, 169, 110, .10), transparent 70%),
              radial-gradient(40% 40% at 10% 90%, rgba(201, 169, 110, .05), transparent 70%);
}
.globe-wrap { position: absolute; z-index: -1; right: -7vw; top: 52%; width: min(58vw, 860px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.globe { width: 100%; height: 100%; display: block; }
.hero-inner { padding-top: 120px; padding-bottom: 120px; }
.hero .label { margin-bottom: 34px; }
.hero h1 { max-width: 11ch; }
.hero .lead { max-width: 46ch; margin: 38px 0 50px; color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px); }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: grid; justify-items: center; gap: 14px; font: 400 10.5px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); padding-left: .4em; }
.scroll-cue i { display: block; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* buttons */
.cta {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  padding: 19px 34px; border: 1px solid rgba(201, 169, 110, .55);
  font: 400 11.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.cta:hover { color: #0a0907; border-color: var(--gold); }
.cta:hover::before { transform: scaleX(1); transform-origin: left; }
.cta .arrow { width: 26px; height: 1px; background: currentColor; position: relative; transition: width .6s var(--ease); }
.cta .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.cta:hover .arrow { width: 38px; }

/* ───────── statement ───────── */
.statement { padding: clamp(120px, 22vh, 240px) 0; border-top: 1px solid var(--line); }
.statement .label { margin-bottom: 40px; }
.lightup { font: 300 clamp(30px, 4.4vw, 64px)/1.18 var(--serif); margin: 0; max-width: 22ch; }
.lightup .wd { color: var(--faint); transition: color .5s var(--ease); }
.lightup .wd.lit { color: var(--ink); }
.lightup em .wd.lit, .lightup .wd.lit em { color: var(--gold-2); }

/* ───────── expertise ───────── */
.section { padding: clamp(100px, 16vh, 180px) 0; scroll-margin-top: 40px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(60px, 9vh, 110px); }
.sec-head .label { margin-bottom: 26px; }
.sec-head p.aside { color: var(--muted); max-width: 40ch; margin: 0 0 8px; justify-self: end; }

.rows { list-style: none; margin: 0; padding: 0; }
.row {
  position: relative;
  display: grid; grid-template-columns: 110px minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: baseline;
  padding: 46px 0 50px;
}
.row::before, .row:last-child::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); transform-origin: left; }
.row::before { top: 0; }
.row:last-child::after { bottom: 0; }
.row .num { font: italic 400 22px/1 var(--serif); color: var(--gold); transition: transform .7s var(--ease); }
.row h3 { font: 300 clamp(30px, 3.6vw, 52px)/1.05 var(--serif); margin: 0; transition: transform .8s var(--ease), color .6s; }
.row p { margin: 0; color: var(--muted); max-width: 38ch; transition: color .6s; }
.row:hover h3 { transform: translateX(14px); color: var(--gold-2); }
.row:hover p { color: var(--ink-2); }
.row:hover .num { transform: translateX(6px); }

/* ───────── marquee ───────── */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 30px 0; user-select: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font: italic 300 clamp(28px, 3.6vw, 50px)/1 var(--serif); color: var(--ink-2); white-space: nowrap; padding: 0 34px; display: inline-flex; align-items: center; gap: 68px; }
.marquee-track span::after { content: "✦"; font: normal 400 14px/1 var(--sans); color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── approach ───────── */
.approach-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.approach-head { position: sticky; top: 140px; }
.approach-head .label { margin-bottom: 26px; }
.approach-head p:not(.label) { color: var(--muted); max-width: 34ch; margin: 30px 0 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(70px, 12vh, 130px); }
.step { display: grid; grid-template-columns: clamp(96px, 10vw, 150px) minmax(0, 1fr); gap: 28px; }
.step .big { font: 300 clamp(64px, 8vw, 120px)/.8 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(201, 169, 110, .6); }
.step h3 { font: 400 13px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); margin: 8px 0 16px; }
.step p { margin: 0; color: var(--muted); max-width: 40ch; }

/* ───────── contact ───────── */
.contact { position: relative; text-align: center; padding: clamp(140px, 24vh, 260px) 0; border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 60%, rgba(201, 169, 110, .09), transparent 70%); }
.contact .label { margin-bottom: 34px; }
.contact h2 { margin: 0 auto; }
.mail {
  display: inline-block; margin-top: 56px; position: relative;
  font: italic 300 clamp(26px, 3.6vw, 50px)/1.2 var(--serif); color: var(--ink); text-decoration: none; padding-bottom: 8px;
}
.mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(.25); transition: transform .9s var(--ease); }
.mail:hover::after { transform: scaleX(1); }
.contact .note { margin: 44px 0 0; font: 400 11px/1.8 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ───────── footer ───────── */
.ftr { border-top: 1px solid var(--line); padding: 46px 0 54px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.ftr .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 60px; align-items: end; }
.ftr .legal-line { margin: 0; max-width: 78ch; }
.ftr nav { display: flex; gap: 28px; flex-wrap: wrap; }
.ftr a { text-decoration: none; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; color: var(--ink-2); }
.ftr a:hover { color: var(--gold); }
.ftr .copy { grid-column: 1 / -1; margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #6f6a61; }

/* ───────── legal pages ───────── */
.doc { padding: 170px 0 120px; max-width: 780px; }
.doc .label { margin-bottom: 26px; }
.doc h1 { font: 300 clamp(48px, 7vw, 96px)/1 var(--serif); margin: 0 0 26px; }
.doc .updated { color: var(--muted); margin: 0 0 64px; font-size: 15px; }
.doc h2 { font: 400 clamp(26px, 3vw, 34px)/1.2 var(--serif); margin: 64px 0 14px; color: var(--ink); }
.doc p:not(.label), .doc li { color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc li::marker { color: var(--gold); }
.doc a { text-decoration-color: rgba(201, 169, 110, .6); text-underline-offset: 4px; }
.doc a:hover { color: var(--gold-2); }
.doc code { font-size: .9em; color: var(--gold-2); }
.facts { width: 100%; border-collapse: collapse; font-size: 16px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts tr:first-child th, .facts tr:first-child td { border-top: 1px solid var(--line); }
.facts th { width: 36%; padding-right: 24px; font: 400 11px/2.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.facts td { color: var(--ink); }

/* ───────── reveal system (only when JS runs) ───────── */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 46px, 0); filter: blur(6px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), filter 1.4s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js .row::before, .js .row:last-child::after { transform: scaleX(0); transition: transform 1.6s var(--ease); transition-delay: var(--d, 0ms); }
.js .row.in::before, .js .row.in:last-child::after { transform: scaleX(1); }
.js .row[data-reveal] { filter: none; }

/* split words (headline mask reveal) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translate3d(0, 110%, 0) rotate(2deg); transition: transform 1.5s var(--ease); transition-delay: var(--d, 0ms); }
.js .split.in .w > span { transform: none; }

/* ───────── responsive ───────── */
@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head p.aside { justify-self: start; }
  .row { grid-template-columns: 54px minmax(0, 1fr); gap: 14px 18px; padding: 36px 0 40px; }
  .row p { grid-column: 2; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-head { position: static; }
  .globe-wrap { right: 50%; top: 58%; width: 140vw; max-width: 760px; transform: translate(50%, -50%); opacity: .36; }
  .ftr .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hdr .wrap { height: 68px; }
  .brand { letter-spacing: .3em; font-size: 12px; }
  .nav { display: none; }
  .hero .lead { margin: 28px 0 40px; }
  .cta { padding: 17px 26px; letter-spacing: .26em; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .mail { font-size: 24px; }
  .contact .note { letter-spacing: .2em; }
  .doc { padding-top: 120px; }
  .facts th, .facts td { display: block; width: 100%; }
  .facts th { padding-bottom: 0; border-bottom: 0; }
  .facts tr:first-child td { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .marquee-track { animation: none; }
}
@media print {
  body::after, .hdr, .progress, .intro, .globe-wrap, .scroll-cue, .marquee { display: none !important; }
  body { background: #fff; color: #000; }
}
