/* Aurum 2.0 — Obsidian · Champagne · Ivory · Garnet */
:root {
  --ink: #0b0a09;
  --char: #151311;
  --line: rgba(239, 232, 218, 0.12);
  --ivory: #efe8da;
  --muted: #9a9183;
  --gold: #d8b777;
  --gold-hi: #f1dcaa;
  --gold-lo: #a9843f;
  --garnet: #7a2532;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color: var(--ivory); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.6;
  background: radial-gradient(1200px 900px at 50% 30%, #1a1714 0%, var(--ink) 60%) fixed, var(--ink);
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
em { font-style: italic; color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- stage ---------- */
.stage { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
#gl { width: 100%; height: 100%; display: block; pointer-events: auto; touch-action: pan-y; }
.grain {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

main, .foot, .nav { position: relative; z-index: 3; }
main { pointer-events: none; }
main a, main button, main input, main select, main label, main form, .cfg-panel, .rsv-card { pointer-events: auto; }

/* ---------- callouts (projected from 3D) ---------- */
.callouts { position: absolute; inset: 0; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.leaders path { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0.7; }
.leaders circle { fill: var(--gold); }
.callout {
  position: absolute; left: 0; top: 0; width: 230px; opacity: 0;
  transform: translate3d(-999px, 0, 0); will-change: transform, opacity;
}
.callout .co-n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 15px; }
.callout h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 2px 0 6px; }
.callout p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 50; background: var(--ink);
  display: grid; place-items: center; align-content: center; gap: 18px;
}
.loader-ring { width: min(56vmin, 340px); height: auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%) rotate(-90deg); }
.lr-track { fill: none; stroke: rgba(216, 183, 119, 0.12); stroke-width: 0.6; }
.lr-fill { fill: none; stroke: var(--gold); stroke-width: 0.8; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lr-ticks line { stroke: rgba(239, 232, 218, 0.35); stroke-width: 0.6; }
.loader-count { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 9vw, 104px); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; line-height: 1; transform: translateY(-4vmin); }
.loader-word { display: flex; gap: 0.6em; font-size: 13px; letter-spacing: 0.5em; padding-left: 0.5em; transform: translateY(-2vmin); }
.loader-word span { opacity: 0.15; transition: opacity 0.4s; }
.loader-word span.on { opacity: 1; color: var(--gold); }
.loader-sub { position: absolute; bottom: 40px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; mix-blend-mode: difference; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--ivory); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(239, 232, 218, 0.6);
  display: grid; place-items: center; transition: width 0.4s var(--ease), height 0.4s var(--ease), background 0.4s;
}
.cursor-ring em { font-style: normal; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.3s; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; }
.cursor.is-drag .cursor-ring { width: 84px; height: 84px; background: var(--ivory); }
.cursor.is-drag .cursor-ring em { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { html.js.has-cursor, html.js.has-cursor a, html.js.has-cursor button { cursor: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad); transition: transform 0.6s var(--ease), background 0.4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: linear-gradient(rgba(11, 10, 9, 0.85), rgba(11, 10, 9, 0)); }
.wordmark { font-family: var(--serif); font-size: 26px; letter-spacing: 0.32em; font-weight: 400; }
.wordmark sup { font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; color: var(--gold); margin-left: 4px; vertical-align: top; }
.nav-links { display: flex; gap: 36px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links a { position: relative; display: inline-block; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-time { font-size: 13px; letter-spacing: 0.14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.btn-pill {
  display: inline-block; padding: 10px 22px; border: 1px solid rgba(216, 183, 119, 0.55); border-radius: 999px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; position: relative; overflow: hidden;
}
.btn-pill span, .btn-gold span { position: relative; z-index: 1; display: inline-block; }
.btn-pill::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(101%); transition: transform 0.5s var(--ease); border-radius: inherit; }
.btn-pill:hover { color: var(--ink); }
.btn-pill:hover::before { transform: translateY(0); }

/* ---------- type ---------- */
.eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6.2vw, 96px); line-height: 0.98; letter-spacing: -0.01em; }
.h2.center { text-align: center; }
.lede { max-width: 420px; color: var(--muted); margin-top: 26px; font-size: 17px; }
.split .ch { display: inline-block; will-change: transform; }
.split .w { display: inline-block; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 0 var(--pad); display: grid; grid-template-rows: 1fr auto; align-items: end; }
.hero-eyebrow { position: absolute; top: 120px; left: var(--pad); }
.hero-title {
  font-family: var(--serif); font-weight: 300; line-height: 0.86; letter-spacing: -0.02em;
  font-size: clamp(64px, 12.5vw, 220px); padding-bottom: 6vh; text-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
}
.ht-line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.1em; margin: -0.04em -0.06em -0.1em; }
.ht-line:nth-child(2) { padding-left: 10vw; }
.hero-specs { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); display: grid; gap: 30px; text-align: right; }
.spec b { display: block; font-family: var(--serif); font-weight: 300; font-size: 54px; line-height: 1; font-variant-numeric: tabular-nums; }
.spec span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hero-hint { position: absolute; bottom: 40px; right: var(--pad); display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hh-line { width: 60px; height: 1px; background: var(--gold); transform-origin: left; animation: hh 2.4s var(--ease) infinite; }
@keyframes hh { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 54px; background: rgba(239, 232, 218, 0.15); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: rgba(11, 10, 9, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mq-track { display: flex; gap: 48px; width: max-content; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 48px); font-weight: 300; white-space: nowrap; will-change: transform; }
.mq-track i { font-style: normal; color: var(--gold); font-size: 0.5em; align-self: center; }

/* ---------- statement ---------- */
.statement { min-height: 100svh; display: grid; align-content: center; padding: 16vh var(--pad); }
.statement-text { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4.6vw, 72px); line-height: 1.14; max-width: 940px; }
.statement-text .w { opacity: 0.14; transition: none; }

/* ---------- pinned sections ---------- */
.pin { position: relative; height: var(--len, 400vh); }
.pin-inner { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: 0 var(--pad); }
.pin-copy { max-width: 470px; }
.pin-copy.right { margin-left: auto; }
.progress-rail { width: 220px; height: 1px; background: var(--line); margin-top: 40px; overflow: hidden; }
.progress-rail span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.readout { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.readout dt { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.readout dd b { font-family: var(--serif); font-weight: 300; font-size: 40px; font-variant-numeric: tabular-nums; }

/* ---------- configure ---------- */
.configure { min-height: 120svh; display: flex; align-items: center; padding: 14vh var(--pad); }
.cfg-panel { width: min(460px, 100%); }
.cfg-group { border: 0; margin-top: 34px; }
.cfg-group legend { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(21, 19, 17, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer; font-size: 14px; transition: border-color 0.3s, background 0.3s;
}
.sw i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.55), transparent 45%), var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.sw:hover { border-color: rgba(216, 183, 119, 0.5); }
.sw.is-on { border-color: var(--gold); background: rgba(216, 183, 119, 0.12); }
.cfg-summary { display: grid; gap: 10px; margin: 36px 0 30px; padding: 20px 0; border-block: 1px solid var(--line); }
.cfg-summary > div { display: flex; justify-content: space-between; }
.cs-k { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.cs-v { font-family: var(--serif); font-size: 22px; }
.cfg-hint { margin-top: 18px; font-size: 13px; color: var(--muted); }
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; padding: 18px 34px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); color: var(--ink);
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; position: relative; overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(216, 183, 119, 0.5);
}
.btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent); transform: skewX(-20deg); transition: left 0.8s var(--ease); }
.btn-gold:hover::after { left: 130%; }

/* ---------- craft ---------- */
.craft { padding: 20vh var(--pad); background: linear-gradient(rgba(11,10,9,0), rgba(11,10,9,0.92) 18%, rgba(11,10,9,0.92) 82%, rgba(11,10,9,0)); }
.craft .eyebrow { text-align: center; }
.craft-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 12vh; border-top: 1px solid var(--line); }
.step { padding: 34px 28px 0; border-left: 1px solid var(--line); position: relative; }
.step:first-child { border-left: 0; }
.st-n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 10px 0 12px; }
.step p { color: var(--muted); font-size: 15px; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- reserve ---------- */
.reserve { min-height: 110svh; display: flex; align-items: center; justify-content: flex-end; padding: 14vh var(--pad); }
.rsv-card { width: min(520px, 100%); padding: 48px; border: 1px solid var(--line); border-radius: 4px; background: rgba(16, 14, 12, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.rsv-form { display: grid; gap: 20px; margin-top: 36px; }
.rsv-form label { display: grid; gap: 6px; }
.rsv-form label span { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.rsv-form input, .rsv-form select { background: transparent; border: 0; border-bottom: 1px solid rgba(239, 232, 218, 0.25); padding: 10px 0; font-size: 18px; border-radius: 0; transition: border-color 0.3s; }
.rsv-form select option { background: var(--char); }
.rsv-form input:focus, .rsv-form select:focus { outline: 0; border-bottom-color: var(--gold); }
.rsv-form input[aria-invalid="true"] { border-bottom-color: #c9545f; }
.rsv-form .btn-gold { margin-top: 12px; }
.rsv-note { font-size: 13px; color: var(--muted); }
.rsv-note.ok { color: var(--gold); }

/* ---------- footer ---------- */
.foot { padding: 10vh var(--pad) 40px; overflow: hidden; background: var(--ink); }
.foot-big { font-family: var(--serif); font-weight: 300; font-size: 25vw; line-height: 0.8; letter-spacing: 0.04em; text-align: center; background: linear-gradient(180deg, rgba(216, 183, 119, 0.5), rgba(216, 183, 119, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-row a { color: var(--ivory); border-bottom: 1px solid rgba(216, 183, 119, 0.5); }

.nogl { position: fixed; inset: auto 20px 20px 20px; z-index: 40; padding: 18px 22px; background: var(--char); border: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nogl a { color: var(--gold); }
.nogl[hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-time { display: none; }
  .hero { align-items: end; }
  .hero-eyebrow { top: 96px; }
  .hero-specs { top: auto; bottom: 30vh; transform: none; right: var(--pad); gap: 18px; }
  .spec b { font-size: 38px; }
  .hero-hint { display: none; }
  .hero-title { padding-bottom: 9vh; }
  .pin-inner { align-items: flex-end; padding-bottom: 9vh; }
  .pin-copy, .pin-copy.right { margin: 0; max-width: none; background: linear-gradient(rgba(11,10,9,0), rgba(11,10,9,0.85) 30%); padding-top: 40px; }
  .h2 { font-size: clamp(40px, 11vw, 64px); }
  .lede { font-size: 15px; margin-top: 14px; }
  .readout { gap: 18px; margin-top: 22px; }
  .readout dd b { font-size: 30px; }
  .configure { align-items: flex-end; min-height: 150svh; padding-bottom: 8vh; }
  .cfg-panel { padding: 28px 22px; background: rgba(16, 14, 12, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); }
  .craft-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(3) { border-left: 0; }
  .reserve { justify-content: center; align-items: flex-end; min-height: 140svh; }
  .rsv-card { padding: 30px 22px; }
  .callout { white-space: nowrap; }
  .callout .co-n { display: none; }
  .callout h4 { font-size: 15px; font-family: var(--sans); letter-spacing: 0.04em; margin: 0; padding: 4px 10px; border: 1px solid rgba(216, 183, 119, 0.4); border-radius: 999px; background: rgba(11, 10, 9, 0.75); }
  .callout p { display: none; }
}
@media (max-width: 520px) {
  .craft-steps { grid-template-columns: 1fr; }
  .step { border-left: 0; }
  .ht-line:nth-child(2) { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .hh-line, .scroll-cue span { animation: none; }
  .statement-text .w { opacity: 1 !important; }
}
