/* ladonteprince.com rebuild — design language: annual report art-directed like a fashion house.
   Tokens mirror the Figma variable collection (Dark mode). */

:root {
  --bg: #10160f;
  --bg-teal: #16333a;
  --champagne: #d8cdb8;
  --body: #b9bebb;
  --muted: #7e847b;
  --gold: #c9a86a;
  --gold-hot: #d9a65e;
  --hairline: rgba(216, 205, 184, 0.16);
  --glass: rgba(255, 255, 255, 0.05);
  --serif: "Fraunces", georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --container: 1280px;
  --pad: clamp(20px, 5.5vw, 80px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Glass recipe (critic-gate spec): gradient border, top-edge highlight, noise ---------- */
.glass {
  position: relative;
  /* the scene's one light is warm gold — every highlight carries its temperature */
  background:
    linear-gradient(160deg, rgba(232, 200, 140, 0.055), rgba(255,255,255,0.03)) padding-box,
    linear-gradient(160deg, rgba(217,166,94,0.40), rgba(216,205,184,0.06) 55%, rgba(201,168,106,0.26)) border-box;
  border: 1px solid transparent;
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(217, 166, 94, 0.17),
    0 24px 48px -18px rgba(0, 0, 0, 0.55);
}
.glass::after { /* fill noise */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
}

/* ---------- Typography ---------- */
.eyebrow {
  font: 600 12px/1.4 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 6.9vw, 100px);
  line-height: 0.97;
  letter-spacing: 0.02em;
  color: var(--champagne);
  font-optical-sizing: auto;
}
.display em, .display-2 em { font-style: italic; font-weight: 300; }
.display .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; white-space: nowrap; }
.display .line-inner { display: inline-block; will-change: transform; }
.display .indent-1 { padding-left: 0.5em; }
.display .indent-2 { padding-left: 1em; }
.display-2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: 0.02em;
  color: var(--champagne);
  text-transform: uppercase;
}
.display-2 span { display: block; }
.display-2 .l2 { padding-left: 0.6em; }
.micro-label {
  font: 600 10px/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.micro-label.gold { color: var(--gold); }
.lede { max-width: 560px; color: var(--body); margin-top: 26px; font-size: 16px; line-height: 1.7; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad) 34px;
  /* gradient scrim, not a solid bar — the field runs continuously beneath */
  background: linear-gradient(to bottom, rgba(16,22,15,0.94) 0%, rgba(16,22,15,0.6) 62%, rgba(16,22,15,0) 100%);
}
.wordmark { font: 400 21px var(--serif); color: var(--champagne); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font: 500 14px var(--sans); letter-spacing: 0.02em; color: var(--body);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold); }

/* ---------- Pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  font: 600 15px var(--sans);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.pill-ghost {
  padding: 11px 22px; font-size: 14px;
  color: var(--gold); border: 1px solid var(--gold);
}
.pill-ghost:hover { background: rgba(201, 168, 106, 0.12); }
.pill-solid { padding: 16px 28px; background: var(--gold); color: var(--bg); }
.pill-solid:hover {
  background: var(--gold-hot);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201, 168, 106, 0.45);
}
.circle-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 999px;
  border: 1px solid var(--gold); color: var(--gold); font-size: 18px;
  transition: transform 0.25s ease, background 0.2s ease;
}
.circle-btn:hover { background: rgba(201, 168, 106, 0.12); transform: translateX(4px); }
.gold-link { font: 500 14px var(--sans); color: var(--gold); }
.gold-link:hover { color: var(--gold-hot); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.atmo { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.atmo-gold {
  width: 1250px; height: 900px; right: -12%; top: 6%;
  background: radial-gradient(closest-side at 62% 38%,
    rgba(232, 150, 60, 0.30), rgba(140, 107, 56, 0.10) 55%, transparent 78%);
}
.atmo-cool {
  width: 980px; height: 760px; left: -14%; top: -18%;
  background: radial-gradient(closest-side, rgba(22, 51, 58, 0.6), transparent 72%);
}
.halo { position: absolute; border-radius: 50%; pointer-events: none; }
.halo-main {
  width: 46vw; max-width: 680px; aspect-ratio: 1; right: 6%; top: 13%;
  border: 1.5px solid rgba(201, 168, 106, 0.8);
  box-shadow: 0 0 90px 8px rgba(232, 150, 60, 0.38), inset 0 0 60px rgba(232, 150, 60, 0.12);
}
.halo-echo {
  width: 62vw; max-width: 920px; aspect-ratio: 1; right: -4%; top: 2%;
  border: 1px solid rgba(201, 168, 106, 0.18);
}
.ghost-word {
  position: absolute; left: 21%; top: 36%;
  font: 300 clamp(160px, 18.7vw, 270px)/1 var(--serif);
  letter-spacing: 0.02em; color: var(--champagne);
  opacity: 0.07; white-space: nowrap; pointer-events: none;
}

.subject {
  position: absolute; right: 12%; top: 11%;
  width: clamp(360px, 43vw, 620px); aspect-ratio: 620/715;
  z-index: 4; /* subject occludes the headline tail — the type-behind-subject weave */
}
.annotations { z-index: 5; }
.proof-card { z-index: 6; }
#hero3d { width: 100%; height: 100%; display: block; }
.subject-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: none;
}
.subject.no-webgl #hero3d { display: none; }
.subject.no-webgl .subject-fallback { display: block; }

.annotations { position: absolute; right: calc(var(--pad) * 0.55); top: 22%; width: 240px; pointer-events: none; }
.a-chip {
  position: absolute; right: 0; top: calc(var(--i) * 64px);
  display: flex; gap: 8px; align-items: center;
  padding: 9px 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03));
  border: 1px solid var(--hairline);
  border-radius: 10px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 14px 28px -12px rgba(0,0,0,0.5);
}
.a-num { font: 600 10px var(--sans); color: var(--gold); letter-spacing: 0.06em; }
.a-label { font: 600 11px var(--sans); color: var(--champagne); letter-spacing: 0.12em; }
.leader {
  position: absolute; right: 150px; top: calc(var(--i) * 64px + 16px);
  display: flex; align-items: center; width: 130px;
}
.leader-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(201,168,106,0.7), rgba(201,168,106,0.25));
  transform-origin: right center;
}
.leader-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.proof-card {
  position: absolute; right: 5.5%; top: 14.5%;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 12px;
  font: 600 11px var(--sans); letter-spacing: 0.08em; color: var(--champagne);
  transform: rotate(2deg);
}
.proof-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(217,166,94,0.8); }
.signature { position: absolute; left: 18px; bottom: 3px; width: 108px; height: 14px; }
.signature path { stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }
.proof-card { padding-bottom: 20px; }

.headline { position: relative; z-index: 3; padding: 0 var(--pad); padding-top: clamp(140px, 21vh, 200px); }
.headline .eyebrow { margin-bottom: 28px; }
.headline .display { pointer-events: none; }
.cta-row { display: flex; gap: 16px; align-items: center; margin-top: 34px; }
.basenote { max-width: 600px; margin-top: 26px; font-size: 15px; line-height: 1.68; color: var(--body); }
.basenote strong { color: var(--champagne); font-weight: 600; }
.basenote-cred { margin-top: 12px; font-size: 13px; color: var(--muted); }
.subject-caption {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  font: 600 10px var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}

.hr-rule {
  height: 1px; background: var(--hairline);
  margin: 0 var(--pad);
  transform-origin: left center;
}
.hero-rule { margin-top: 48px; }

.stats {
  position: relative; z-index: 3;
  display: flex; gap: 24px;
  margin: 52px var(--pad) 46px;
}
.stat { display: flex; flex-direction: column; gap: 6px; padding: 22px 28px; }
.stat-num { font: 300 48px/1.05 var(--serif); color: var(--champagne); }
.stat-underline { width: 42px; height: 1px; background: var(--gold); opacity: 0.7; transform-origin: left; }
.stat-label { font: 500 11px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.meta-strip {
  position: absolute; right: 18px; top: 50%;
  transform: rotate(180deg) translateY(50%);
  writing-mode: vertical-rl;
  font: 500 10px var(--sans); letter-spacing: 0.22em; color: var(--muted);
  z-index: 4;
}
.scroll-dial {
  position: absolute; right: calc(var(--pad) + 22px); bottom: 6.5%;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); z-index: 4;
  transition: border-color 0.3s ease;
}
.scroll-dial:hover { border-color: var(--gold); }

/* ---------- Sections shared ---------- */
.section { position: relative; padding: clamp(90px, 12vh, 140px) 0; overflow: hidden; }
.section::before { /* the hero's color world continues down the page */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 620px at 84% 6%, rgba(201, 168, 106, 0.075), transparent 70%),
    radial-gradient(760px 540px at 4% 94%, rgba(22, 51, 58, 0.32), transparent 72%);
}
.section .container { position: relative; }
.ghost-num {
  position: absolute; right: -2%; top: 8%;
  font: 300 clamp(280px, 33vw, 480px)/1 var(--serif);
  color: var(--champagne); opacity: 0.055; pointer-events: none;
}

/* Offer */
.offer-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 72px); margin-top: 56px; align-items: start; }
.scope { list-style: none; }
.scope-row {
  display: grid; grid-template-columns: 44px 1fr 300px; gap: 28px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--hairline);
}
.s-num { font: 600 13px var(--sans); color: var(--gold); }
.s-title { font: 400 26px var(--serif); color: var(--champagne); }
.s-sub { font-size: 13px; line-height: 1.55; color: var(--muted); }
.pricing { padding: 30px 32px; overflow: hidden; }
.pricing-macro {
  position: absolute; inset: 0; border-radius: inherit;
  background: url("../img/instrument-macro.png") center/cover;
  opacity: 0.14; pointer-events: none;
}
.pricing > * { position: relative; }
.price { font: 300 40px var(--serif); color: var(--champagne); margin: 12px 0 10px; }
.price-sub { font-size: 13px; line-height: 1.6; color: var(--body); margin-bottom: 16px; }

/* Evidence */
.evidence-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 24px; margin-top: 56px; }
.e-card { padding: 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; transition: transform 0.25s ease, box-shadow 0.3s ease; }
.e-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px rgba(201,168,106,0.55), 0 30px 56px -18px rgba(0,0,0,0.65);
}
.e-title { font: 400 26px/1.2 var(--serif); color: var(--champagne); }
.e-body { font-size: 14px; line-height: 1.65; color: var(--body); }
.registry {
  width: 100%; margin-top: 4px;
  font: 500 12px/1.9 ui-monospace, "SF Mono", monospace;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
}
.reg-row { display: flex; gap: 18px; justify-content: space-between; border-bottom: 1px solid rgba(216,205,184,0.07); padding: 4px 0; }
.reg-row .ok { color: var(--body); }
.reg-row.fail .acc { color: var(--gold); }
.footnote { margin-top: 44px; font-size: 13px; color: var(--muted); }

/* Ops dashboard card */
.dash-head { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.dash-live { display: inline-flex; align-items: center; gap: 8px; font: 600 10px var(--sans); letter-spacing: 0.14em; color: var(--gold); }
.dash-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(217,166,94,0.9); animation: dash-pulse 2.2s ease-in-out infinite; }
@keyframes dash-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.dash-count { font: 500 11px ui-monospace, "SF Mono", monospace; color: var(--muted); }
.dash-foot { width: 100%; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--hairline); padding-top: 12px; font: 500 10px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Writing */
.w-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.w-list { list-style: none; margin-top: 44px; }
.w-row {
  display: grid; grid-template-columns: 64px 1fr 32px; gap: 36px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--hairline);
  transition: padding-left 0.25s ease;
}
.w-row:hover { padding-left: 12px; }
.w-row:hover .w-arrow { color: var(--gold-hot); }
.w-tag { font: 600 11px var(--sans); letter-spacing: 0.12em; color: var(--muted); }
.w-title { font: 400 clamp(20px, 2.2vw, 30px) var(--serif); color: var(--champagne); }
.w-arrow { font-size: 20px; color: var(--gold); transition: color 0.2s ease; }

/* Pre-close */
.preclose { text-align: left; }
.preclose .display-2 { margin-top: 22px; }
.preclose .cta-row { margin-top: 40px; }

/* Footer */
.footer { position: relative; padding: 64px 0 32px; }
.f-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,106,0.55) 20%, rgba(201,168,106,0.55) 80%, transparent);
}
.f-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 1.2fr; gap: 32px; align-items: start; }
.f-brand { display: flex; gap: 16px; align-items: flex-start; }
.f-logo { flex-shrink: 0; opacity: 0.9; }
.f-mark { font: 400 24px var(--serif); color: var(--champagne); }
.f-sub { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.f-links { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.f-links a { font: 500 14px var(--sans); color: var(--body); transition: color 0.2s ease; }
.f-links a:hover { color: var(--gold); }
.f-right { text-align: right; }
.f-mail { font: 400 22px var(--serif); color: var(--gold); }
.f-mail:hover { color: var(--gold-hot); }
.f-micro {
  margin-top: 52px; display: flex; justify-content: space-between; gap: 16px;
  font: 500 11px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Atmosphere layers ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.038;
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.6%); }
  50% { transform: translate(1.4%, -1.2%); }
  75% { transform: translate(-1.2%, -1.8%); }
  100% { transform: translate(0, 0); }
}
#embers { position: fixed; inset: 0; z-index: 2; pointer-events: none; }

/* ---------- Reveal defaults (GSAP sets initial states; this is no-JS safety) ---------- */
.reveal { will-change: transform, opacity; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Mobile (designed, not just stacked) ---------- */
@media (max-width: 960px) {
  .nav { padding: 18px var(--pad) 26px; }
  .nav-links { display: none; }
  .wordmark { font-size: 18px; }
  .pill-ghost { padding: 9px 16px; font-size: 13px; }

  /* Hero: type owns the top, instrument becomes its own full block below —
     nothing bleeds through the headline */
  .hero { min-height: 0; padding-bottom: 0; display: flex; flex-direction: column; }
  .headline { order: 1; }
  .subject { order: 2; }
  .stats { order: 3; }
  .headline { padding-top: 108px; }
  .display { font-size: clamp(40px, 10.9vw, 56px); }
  .display .line { padding-right: 0.12em; }
  .display .indent-1 { padding-left: 0.3em; }
  .display .indent-2 { padding-left: 0.6em; }
  .ghost-word { display: none; }
  .atmo-gold { width: 720px; height: 560px; right: -46%; top: 30%; opacity: 0.8; }
  .halo-echo { display: none; }
  .halo-main { width: 88vw; right: -18%; top: 46%; opacity: 0.55; }

  .subject {
    position: relative; right: auto; top: auto; z-index: 1;
    width: min(78vw, 360px); margin: 26px auto 0; opacity: 1;
  }
  .subject-caption { bottom: -2px; font-size: 9px; white-space: normal; text-align: center; width: 92%; }
  .annotations, .proof-card, .meta-strip, .scroll-dial { display: none; }

  .cta-row { flex-wrap: wrap; }
  .pill-solid { padding: 15px 24px; font-size: 14px; }
  .basenote { font-size: 14.5px; }

  .stats { margin: 40px var(--pad) 8px; flex-direction: column; gap: 14px; }
  .stat { flex-direction: row; align-items: baseline; gap: 14px; padding: 16px 22px; }
  .stat-num { font-size: 34px; min-width: 108px; }
  .stat-underline { display: none; }
  .stat-label { font-size: 10px; }
  .hero-rule { display: none; }

  /* Sections */
  .section { padding: 64px 0; }
  .display-2 { font-size: clamp(30px, 8.4vw, 44px); }
  .display-2 .l2 { padding-left: 0.35em; }
  .ghost-num { font-size: 220px; right: -12%; top: 2%; }
  .lede { font-size: 15px; }
  .offer-grid, .evidence-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .scope-row { grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; }
  .s-title { font-size: 20px; }
  .s-sub { grid-column: 2; font-size: 12.5px; }
  .pricing { margin-top: 8px; }
  .dash-foot { flex-wrap: wrap; }

  .w-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .w-row { grid-template-columns: 44px 1fr 24px; gap: 14px; padding: 20px 0; }
  .w-title { font-size: 17px; }

  .preclose .display-2 { font-size: clamp(26px, 7.6vw, 40px); }

  /* Footer */
  .f-grid { grid-template-columns: 1fr; gap: 28px; }
  .f-right { text-align: left; }
  .f-mail { font-size: 19px; }
  .f-micro { flex-direction: column; gap: 6px; margin-top: 36px; }
}
