/* LUCENT — fine diamonds, measured in light */
:root {
  --bg: #0b0d10;
  --bg-2: #12161b;
  --slate: #2a3139;
  --line: rgba(236, 240, 245, .14);
  --line-2: rgba(236, 240, 245, .26);
  --text: #eef0f3;
  --muted: #98a1ab;
  --dim: #6b737c;
  --champ: #e4d0a8;
  --champ-2: #c9ad7a;
  --gold: #d9b46a;
  --red: #ff6f6f;
  --green: #5fd49a;
  --spectrum: linear-gradient(90deg, #ff6b6b, #ffad5c, #ffe86b, #7dffa8, #5fd2ff, #8f86ff, #d48bff);
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --gutter: clamp(18px, 3.4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1px solid var(--champ); outline-offset: 3px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .98;
  margin: 0;
}
.wrap { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow b { color: var(--champ); font-weight: 500; }
.eyebrow i { width: 34px; height: 1px; background: var(--spectrum); opacity: .9; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--champ); color: #17130c; }
.btn--gold:hover { background: #f1e2c3; transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--champ); color: var(--champ); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 11px; }
.btn--wide { width: 100%; }

/* ------------------------------------------------------------------ loader */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: radial-gradient(60% 60% at 50% 45%, #1b2026, var(--bg));
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__mark { font: 400 clamp(34px, 5vw, 56px)/1 var(--serif); letter-spacing: .42em; padding-left: .42em; }
.loader__bar { width: 220px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--spectrum); transition: width .25s; }
.loader__txt { color: var(--muted); }

/* ------------------------------------------------------------------ top bars */
.announce {
  position: relative; z-index: 31;
  display: flex; justify-content: center; align-items: center; gap: 14px;
  height: 32px; padding: 0 var(--gutter);
  background: #07080a; color: var(--muted); font-size: 10px;
  border-bottom: 1px solid var(--line);
}
.announce__sep { color: var(--champ); font-size: 7px; }
.nav {
  position: fixed; z-index: 30; left: 0; right: 0; top: 32px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 68px; padding: 0 var(--gutter);
  transition: top .5s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { top: 0; background: rgba(11, 13, 16, .72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand span { font: 400 20px/1 var(--serif); letter-spacing: .38em; }
.brand__glyph { width: 26px; height: 26px; color: var(--champ); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a { position: relative; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #cfd5db; padding: 8px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--spectrum); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.icon-btn:hover { background: rgba(255, 255, 255, .07); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.icon-btn sup { position: absolute; top: 5px; right: 4px; font: 500 9px/1 var(--mono); color: var(--champ); }
.burger { display: none; }
.burger path { transition: transform .45s var(--ease); transform-box: fill-box; transform-origin: center; }
.burger[aria-expanded="true"] .b1 { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .b2 { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 29;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 118px var(--gutter) calc(26px + env(safe-area-inset-bottom));
  background: radial-gradient(80% 50% at 80% 10%, rgba(228, 208, 168, .08), transparent 70%), rgba(9, 11, 14, .97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu__links { display: grid; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px; padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font: 400 clamp(28px, 8.4vw, 44px)/1 var(--serif); text-transform: uppercase;
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.menu__links .mono { color: var(--champ); font-size: 10px; }
.menu.open .menu__links a { opacity: 1; transform: none; }
.menu.open .menu__links a:nth-child(2) { transition-delay: .05s; }
.menu.open .menu__links a:nth-child(3) { transition-delay: .1s; }
.menu.open .menu__links a:nth-child(4) { transition-delay: .15s; }
.menu.open .menu__links a:nth-child(5) { transition-delay: .2s; }
.menu__foot p { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 9.5px; }
.hud__ch, .lab__mini, .cards__nav { display: none; }

/* ------------------------------------------------------------------ story */
.story { position: relative; height: 1000vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage__bg, .bg { position: absolute; inset: 0; }
.bg--studio {
  background:
    radial-gradient(48% 62% at 50% 46%, rgba(120, 132, 146, .34), transparent 70%),
    radial-gradient(90% 90% at 50% 40%, #2b323a 0%, #161a1f 55%, #0b0d10 100%);
}
.bg--bokeh { width: 100%; height: 100%; opacity: 0; transition: opacity .1s linear; }
.bg--grid {
  opacity: 0;
  background-image:
    linear-gradient(rgba(228, 208, 168, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 208, 168, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 55% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 55% 50%, #000 30%, transparent 80%);
}
.bg--vignette { background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
#seq { position: absolute; inset: 0; width: 100%; height: 100%; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.lines path { fill: none; stroke: rgba(238, 240, 243, .55); stroke-width: 1; }
.lines .dot { fill: var(--champ); }
.lines .halo { fill: none; stroke: rgba(228, 208, 168, .55); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: halo 2.4s var(--ease) infinite; }
@keyframes halo { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.tags { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute; left: 0; top: 0;
  display: grid; gap: 4px; min-width: 120px;
  will-change: transform, opacity;
}
.tag__k { font: 500 10px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #aab2bb; }
.tag__v { font: 400 21px/1 var(--serif); letter-spacing: .01em; color: var(--text); white-space: nowrap; }
.tag__k, .tag__v { text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 0 18px rgba(0, 0, 0, .65); }
.tag--r { text-align: right; justify-items: end; }

/* chapter copy */
.ch {
  position: absolute; left: var(--gutter); top: calc(100px + 9vh);
  width: min(470px, 34vw);
  opacity: 0; pointer-events: none;
  will-change: opacity, transform, filter;
}
.ch.live { pointer-events: auto; }
.ch--right { left: auto; right: calc(var(--gutter) + 46px); text-align: left; }
.ch .display { font-size: clamp(38px, 4.1vw, 72px); margin-bottom: 26px; }
.ch__body { max-width: 390px; margin: 0 0 30px; color: #b9c0c8; font-size: 15px; }
.ch__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.price { color: var(--champ); font-size: 13px; letter-spacing: .1em; }
.price small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }

.fourc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 30px; max-width: 420px; border-top: 1px solid var(--line); }
.fourc div { padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.fourc div:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.fourc div:nth-child(even) { padding-left: 18px; }
.fourc dt { color: var(--muted); margin-bottom: 8px; }
.fourc dd { margin: 0; font-size: clamp(26px, 2.6vw, 38px); }

[data-ch-extra] { opacity: 0; pointer-events: none; will-change: opacity, transform; }

.card {
  position: absolute;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(160deg, rgba(36, 42, 50, .62), rgba(16, 19, 23, .5));
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  padding: 18px 18px 16px;
}
.card--chart { right: calc(var(--gutter) + 46px); bottom: 124px; width: min(340px, 27vw); }
.card__head, .card__foot { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; }
.card__foot { color: var(--muted); margin-top: 8px; }
.card__foot b { color: var(--text); font-weight: 500; }
#dispersion { width: 100%; height: auto; margin-top: 12px; overflow: visible; }
#dispersion text { font: 500 8.5px var(--mono); letter-spacing: .08em; fill: var(--muted); }
#dispersion .axis { stroke: var(--line-2); stroke-width: .7; }
#dispersion .grid { stroke: var(--line); stroke-width: .6; stroke-dasharray: 2 3; }
#dispersion .curve { fill: none; stroke-width: 2.2; stroke-linecap: round; }

/* clarity scale */
.scale { position: absolute; left: 50%; bottom: 118px; translate: -50% 0; width: min(980px, 100% - var(--gutter) * 2 - 60px); text-align: center; }
.bigword {
  position: absolute; left: 50%; top: 56%; translate: -50% -50%;
  font-size: clamp(64px, 14.5vw, 250px); line-height: .8; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(228, 208, 168, .34);
  letter-spacing: .05em; pointer-events: none;
}
.scale__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; }
.scale__row li {
  height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; color: var(--dim);
  background: rgba(11, 13, 16, .35); backdrop-filter: blur(6px);
  font-size: 10.5px;
}
.scale__row li.on { color: #17130c; background: var(--champ); border-color: var(--champ); box-shadow: 0 0 0 4px rgba(228, 208, 168, .12), 0 0 40px rgba(228, 208, 168, .35); }
.scale__legend { display: grid; grid-template-columns: 1fr 3fr 2fr 2fr 3fr; gap: 6px; margin-top: 10px; font-size: 9px; color: var(--dim); }
.scale__legend span { border-top: 1px solid var(--line); padding-top: 8px; }

.loupe { position: absolute; left: 0; top: 0; width: 300px; height: 300px; margin: -150px 0 0 -150px; pointer-events: none; opacity: 0; overflow: visible; will-change: transform, opacity; }
.loupe__ring { fill: none; stroke: rgba(228, 208, 168, .75); stroke-width: .8; }
.loupe__ticks line { stroke: rgba(238, 240, 243, .5); stroke-width: .6; }
.loupe__ticks { animation: spin 40s linear infinite; transform-origin: 0 0; }
.loupe__tag { font: 500 9px var(--mono); letter-spacing: .2em; fill: var(--champ); }
@keyframes spin { to { transform: rotate(360deg); } }

/* certificate */
.cert {
  position: absolute; right: calc(var(--gutter) + 46px); top: calc(100px + 7vh);
  width: min(430px, 31vw); padding: 22px 22px 18px;
  color: #1b1d20;
  background: linear-gradient(160deg, rgba(246, 243, 236, .95), rgba(226, 222, 214, .92));
  border-radius: 6px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5) inset;
  transform-origin: 100% 50%;
}
.cert__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(0, 0, 0, .14); }
.cert__head .mono { margin: 0 0 6px; color: #5b5f66; font-size: 9.5px; }
.cert__no { margin: 0; font: 400 22px/1 var(--serif); letter-spacing: .04em; }
.cert__seal {
  --a: 0deg;
  width: 62px; height: 62px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from var(--a), #ffb3b3, #ffe2a8, #fff8b0, #b9ffd2, #a9e9ff, #c7c0ff, #ffc0ef, #ffb3b3);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12) inset, 0 6px 16px rgba(0, 0, 0, .2);
  position: relative;
}
.cert__seal::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(0, 0, 0, .25); }
.cert__seal span { font-size: 7.5px; color: #33302a; letter-spacing: .18em; }
.cert__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 4px 0 12px; }
.cert__grid div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dotted rgba(0, 0, 0, .18); font-size: 11.5px; }
.cert__grid dt { color: #63676e; }
.cert__grid dd { margin: 0; font-weight: 500; text-align: right; }
.cert__diagrams { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cert__diagrams svg { width: 100%; height: auto; }
.cert__plot p { margin: 2px 0 0; font-size: 8px; color: #6a6e74; text-align: center; }
.cert svg text { font: 500 7.2px var(--mono); letter-spacing: .04em; fill: #4b4f56; }

/* right rail */
.rail { position: absolute; right: calc(var(--gutter) * .55); top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 14px; }
.rail__num { color: var(--champ); }
.rail__ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rail__ticks li { width: 1px; height: 26px; background: var(--line-2); position: relative; overflow: hidden; }
.rail__ticks li i { position: absolute; inset: 0; background: var(--champ); transform: scaleY(0); transform-origin: top; }
.rail__name { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--muted); font-size: 10px; height: 130px; text-align: left; }

/* HUD */
.hud {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 18px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 48px);
  min-height: 76px; padding: 12px 14px 12px 22px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 31, 37, .55), rgba(12, 14, 17, .6));
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.hud__title { margin: 0 0 8px; font-size: 9.5px; color: var(--champ); }
.hud__title .muted { color: var(--dim); }
.hud__stats { display: flex; gap: 22px; margin: 0; }
.hud__stats div { display: grid; gap: 4px; }
.hud__stats dt { font-size: 9px; color: var(--dim); }
.hud__stats dd { margin: 0; font-size: 13px; color: var(--text); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.hud__group--right { display: flex; align-items: center; gap: 22px; }
.hud__track { position: relative; padding-top: 4px; }
.hud__line { height: 1px; background: var(--line-2); position: relative; }
.hud__line i { position: absolute; left: 0; top: -.5px; height: 2px; width: 0; background: var(--spectrum); }
.hud__marks { list-style: none; margin: 0; padding: 0; position: relative; height: 34px; }
.hud__marks li { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; }
.hud__marks li::before { content: ''; width: 7px; height: 7px; margin-top: -4px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background .3s, border-color .3s, box-shadow .3s; }
.hud__marks button { font-size: 9px; color: var(--dim); letter-spacing: .14em; transition: color .3s; white-space: nowrap; }
.hud__marks li.on::before { background: var(--champ); border-color: var(--champ); box-shadow: 0 0 12px rgba(228, 208, 168, .8); }
.hud__marks li.on button, .hud__marks button:hover { color: var(--text); }
.tour { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); flex: none; transition: border-color .3s, background .3s; }
.tour:hover { border-color: var(--champ); }
.tour svg { width: 18px; height: 18px; fill: none; stroke: var(--champ); stroke-width: 1.4; stroke-linejoin: round; }
.tour .tour__play { fill: var(--champ); stroke: none; }
.tour .tour__pause { display: none; }
.tour.on .tour__play { display: none; }
.tour.on .tour__pause { display: block; }
.tour.on { background: rgba(228, 208, 168, .12); }

/* ------------------------------------------------------------------ sections */
section:not(.story) { position: relative; padding: clamp(90px, 13vw, 180px) 0; }
.sec-head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 720px; }
.sec-head .display, .numbers__copy .display, .visit .display { font-size: clamp(42px, 6vw, 96px); margin-bottom: 26px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-head--row .lede { max-width: 360px; }
.lede { color: #aeb6bf; max-width: 460px; margin: 0; font-size: 16px; }

.numbers { background: linear-gradient(180deg, var(--bg), #0e1114 60%, var(--bg)); border-top: 1px solid var(--line); }
.numbers__in { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: auto auto; gap: 40px 60px; align-items: center; }
.numbers__wire { grid-row: span 2; position: relative; aspect-ratio: 1; }
#wire { width: 100%; height: 100%; display: block; }
.numbers__cap { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; color: var(--dim); font-size: 9.5px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts li { padding: 22px 0 20px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.facts li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 20px; }
.facts li:nth-child(even) { padding-left: 24px; }
.facts b { font-size: clamp(30px, 3.2vw, 48px); font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: 10px; }

/* lab */
.lab { background: radial-gradient(80% 60% at 30% 40%, #161b21, var(--bg) 70%); border-top: 1px solid var(--line); }
.lab__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.lab__stage { position: sticky; top: 110px; }
.lab__tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 18px; }
.lab__tabs button { height: 32px; padding: 0 16px; border-radius: 999px; font-size: 10px; color: var(--muted); transition: background .3s, color .3s; }
.lab__tabs button[aria-selected="true"] { background: rgba(228, 208, 168, .14); color: var(--champ); }
.gem {
  position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden;
  background: radial-gradient(60% 60% at 50% 48%, #2d343c, #12161a 75%);
  border: 1px solid var(--line);
  cursor: crosshair; touch-action: pan-y;
}
.gem__photo, .gem__plot { position: absolute; inset: 0; transition: opacity .5s var(--ease); }
.gem__photo { transform-origin: 50% 50%; transition: transform .7s var(--ease), opacity .5s; }
.gem__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.gem__tint {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(closest-side, #ffd36a 0 79%, transparent 81%);
  mix-blend-mode: color; opacity: 0; transition: opacity .5s;
}
.gem__incl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gem__plot { opacity: 0; width: 100%; height: 100%; background: #f2efe8; }
.gem[data-view="plot"] .gem__plot { opacity: 1; }
.gem[data-view="plot"] .gem__photo, .gem[data-view="plot"] .gem__loupe { opacity: 0; }
.gem__loupe {
  position: absolute; left: 0; top: 0; width: 190px; height: 190px; margin: -95px 0 0 -95px;
  border-radius: 50%; overflow: hidden; pointer-events: none; opacity: 0;
  border: 1px solid rgba(228, 208, 168, .8);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 0 6px rgba(11, 13, 16, .35);
  transition: opacity .3s;
  background: #12161a;
}
.gem__loupe.on { opacity: 1; }
.gem__loupe-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.gem__loupe-in > * { position: absolute; inset: 0; }
.gem__loupe span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 9px; color: var(--champ); }
.gem__hint { position: absolute; left: 18px; bottom: 16px; margin: 0; color: var(--dim); font-size: 9.5px; transition: opacity .3s; }
.gem__legend { list-style: none; display: flex; gap: 22px; margin: 16px 0 0; padding: 0; color: var(--muted); font-size: 9.5px; }
.gem__legend li { display: flex; align-items: center; gap: 8px; }
.gem__legend i { width: 8px; height: 8px; border-radius: 50%; }
.gem__legend .r { background: var(--red); }
.gem__legend .g { background: var(--green); }
.gem__legend li:last-child { margin-left: auto; color: var(--champ); }
.gem__plot .outline { fill: none; stroke: #3f434a; stroke-width: .006; }
.gem__plot .facet { fill: none; stroke: #8a8e95; stroke-width: .003; }
.gem__plot .inc { fill: none; stroke: #d23b3b; stroke-width: .012; stroke-linecap: round; }
.gem__plot .ext { fill: none; stroke: #1f9d5c; stroke-width: .012; stroke-linecap: round; }
.gem__plot text { font: 500 .055px var(--mono); fill: #6a6e74; letter-spacing: .01em; }

.lab__panel { display: grid; gap: 14px; }
.ctl { padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(18, 22, 27, .55); }
.ctl__top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.ctl__top > .mono { color: var(--muted); }
.ctl__val { display: flex; align-items: baseline; gap: 12px; text-align: right; }
.ctl__val b { font-size: 30px; color: var(--text); }
.ctl__val em { font-style: normal; color: var(--muted); font-size: 13px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.seg button {
  height: 38px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted);
  font-size: 10px; letter-spacing: .08em; transition: background .25s, color .25s, border-color .25s;
}
.seg button:hover { border-color: var(--line-2); color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--champ); border-color: var(--champ); color: #17130c; }
.seg--clarity button { font-size: 9.5px; letter-spacing: .02em; }
.ctl__def { display: grid; gap: 8px; margin-top: 16px; font-size: 13.5px; color: #c4cad1; }
.ctl__def p { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.ctl__def .mono { color: var(--dim); font-size: 9.5px; padding-top: 3px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; }
.range::-webkit-slider-runnable-track { height: 2px; background: var(--line-2); border-radius: 2px; }
.range::-moz-range-track { height: 2px; background: var(--line-2); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: var(--champ); box-shadow: 0 0 0 6px rgba(228, 208, 168, .15); cursor: grab; }
.range::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--champ); box-shadow: 0 0 0 6px rgba(228, 208, 168, .15); cursor: grab; }
.range--colour::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(90deg, #f4f8ff, #fbf6e6 40%, #f3e2a8 100%); }
.range--colour::-moz-range-track { height: 6px; background: linear-gradient(90deg, #f4f8ff, #fbf6e6 40%, #f3e2a8 100%); }
.range--colour::-webkit-slider-thumb { margin-top: -7px; }
.ticks { display: flex; justify-content: space-between; color: var(--dim); font-size: 9.5px; margin-top: 6px; }
.quote {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  padding: 24px 22px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(228, 208, 168, .14), rgba(228, 208, 168, .03));
  border: 1px solid rgba(228, 208, 168, .3);
}
.quote__spec { margin: 0 0 10px; color: var(--champ); }
.quote__price { margin: 0 0 8px; font-size: clamp(34px, 3.4vw, 48px); font-variant-numeric: tabular-nums; text-transform: none; }
.quote__note { margin: 0; color: var(--muted); font-size: 12.5px; }

/* collection */
.collection { border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pc { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #101317; transition: border-color .4s; }
.pc:hover { border-color: var(--line-2); }
.pc__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #2c333b, #111418 80%); }
.pc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.pc:hover .pc__img img { transform: scale(1.05); }
.pc__img::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--spectrum); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.pc:hover .pc__img::after { transform: scaleX(1); }
.pc__body { padding: 18px 18px 20px; }
.pc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pc h3 { font-size: 24px; }
.pc__price { color: var(--champ); font-size: 10px; }
.pc__spec { margin: 10px 0 0; color: var(--muted); font-size: 9.5px; letter-spacing: .1em; }
.swatches { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.swatches button { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4) inset; outline-offset: 3px; }
.swatches button[aria-checked="true"] { outline: 1px solid var(--champ); }
.swatches .mono { margin-left: 6px; color: var(--muted); font-size: 9px; }

/* atelier */
.atelier { border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 28px 26px 10px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 26px; }
.steps li:last-child { border-right: 0; }
.steps .mono { color: var(--champ); }
.steps h3 { font-size: clamp(26px, 2.6vw, 38px); margin: 18px 0 14px; }
.steps p { color: #aeb6bf; margin: 0; font-size: 14.5px; }

/* visit */
.visit { border-top: 1px solid var(--line); background: radial-gradient(70% 80% at 80% 50%, #1a1f25, var(--bg) 70%); }
.visit__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.book { display: grid; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(18, 22, 27, .6); }
.book label, .book fieldset { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; }
.book .mono { color: var(--muted); font-size: 9.5px; }
.book legend { padding: 0; margin-bottom: 8px; }
.book input { height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(11, 13, 16, .6); color: var(--text); font: 400 15px var(--sans); }
.book input:focus { outline: none; border-color: var(--champ); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chips button[aria-pressed="true"] { border-color: var(--champ); color: var(--champ); background: rgba(228, 208, 168, .08); }
.book__ok { margin: 0; color: var(--green); font-size: 10px; line-height: 1.5; }

.foot { padding: 80px 0 50px; border-top: 1px solid var(--line); }
.foot__mark {
  font-size: clamp(70px, 17vw, 280px); letter-spacing: .2em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(228, 208, 168, .22);
  margin-bottom: 60px; white-space: nowrap; overflow: hidden;
}
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; font-size: 14px; color: #c0c7ce; }
.foot__cols .mono { color: var(--champ); margin: 0 0 12px; }
.foot__cols p { margin: 0; line-height: 1.8; }
.foot__cols a:hover { color: var(--champ); }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .burger { display: grid; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hud__group:not(.hud__group--right) { display: none; }
  .hud { grid-template-columns: 1fr auto; }
}
@media (max-width: 820px) {
  body { font-size: 14.5px; }
  .announce { font-size: 8.5px; gap: 8px; }
  .announce span:last-child, .announce__sep { display: none; }
  .nav { height: 58px; }
  .nav .btn--sm, .nav .icon-btn[aria-label="Search"] { display: none; }
  .brand span { font-size: 17px; }
  .story { height: 820vh; }
  .ch, .ch--right { left: var(--gutter); right: var(--gutter); top: auto; bottom: 96px; width: auto; }
  .ch .display { font-size: clamp(32px, 9.6vw, 44px); margin-bottom: 14px; }
  .ch__body {
    font-size: 13.5px; margin-bottom: 18px; max-width: none;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  }
  .ch__cta { flex-wrap: nowrap; gap: 8px; }
  .ch__cta .btn { height: 42px; padding: 0 16px; font-size: 10.5px; letter-spacing: .1em; }
  .ch[data-ch="fourc"] .ch__body { display: none; }
  .fourc { margin-bottom: 18px; }
  .fourc dd { font-size: 22px; }
  .fourc div { padding: 10px 0 11px; }
  .eyebrow { margin-bottom: 14px; }
  .card--chart { display: none; }
  .scale { bottom: auto; top: 100px; width: calc(100% - var(--gutter) * 2); }
  .bigword { top: 41%; font-size: 19vw; }
  .scale { top: 92px; }
  .scale__row { grid-template-columns: repeat(6, 1fr); }
  .scale__row li { height: 30px; font-size: 9px; }
  .scale__legend { display: none; }
  .cert { left: var(--gutter); right: var(--gutter); top: 98px; width: auto; padding: 14px; }
  .cert__grid, .cert__diagrams { display: none; }
  .cert__head { padding-bottom: 0; border: 0; }
  .loupe__tag { display: none; }
  .rail { display: none; }
  /* compact HUD: chapter + progress on the top edge, measured light underneath, tour button */
  .hud {
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); min-height: 0;
    grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 7px 12px;
    padding: 12px 10px 11px 16px; border-radius: 16px;
  }
  .hud__ch { display: flex; align-items: baseline; gap: 8px; grid-column: 1; grid-row: 1; font-size: 10px; }
  .hud__ch b { color: var(--champ); font-weight: 500; }
  .hud__ch span { color: var(--dim); }
  .hud__ch em { font-style: normal; color: var(--text); margin-left: 4px; }
  .hud__track { display: block; position: absolute; left: 16px; right: 16px; top: -1px; padding: 0; }
  .hud__line { background: transparent; }
  .hud__marks { display: none; }
  .hud__group--right { display: contents; }
  .hud__meter { grid-column: 1; grid-row: 2; }
  .hud__meter .hud__title { display: none; }
  .hud__stats { gap: 14px; }
  .hud__stats div { display: flex; align-items: baseline; gap: 6px; }
  .hud__stats dt { font-size: 8.5px; }
  .hud__stats dd { font-size: 11px; }
  .tour { grid-column: 2; grid-row: 1 / 3; width: 40px; height: 40px; align-self: center; }
  .tag__v { font-size: 16px; }
  .tag__k { font-size: 9px; }
  section:not(.story) { padding: 76px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head .display, .numbers__copy .display, .visit .display { font-size: clamp(38px, 11vw, 56px); margin-bottom: 18px; }
  .lede { font-size: 15px; }
  .numbers__in, .lab__grid, .visit__in { grid-template-columns: 1fr; }
  .numbers__in { gap: 28px; }
  .numbers__wire { grid-row: auto; max-width: 340px; width: 100%; margin: 0 auto; }
  /* lab: the stone stays pinned under the nav while the scales scroll beneath it */
  .lab__grid { gap: 14px; }
  .lab__stage {
    position: sticky; top: 57px; z-index: 5;
    margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter) 12px;
    background: rgba(11, 13, 16, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .lab__tabs { position: absolute; z-index: 3; top: 20px; left: calc(var(--gutter) + 10px); margin: 0; background: rgba(11, 13, 16, .65); backdrop-filter: blur(8px); }
  .lab__tabs button { height: 26px; padding: 0 10px; font-size: 8.5px; }
  .gem { width: min(100%, 33vh); margin: 0 auto; border-radius: 18px; }
  .gem__hint { left: 0; right: 0; bottom: 10px; text-align: center; font-size: 8.5px; }
  .gem__loupe { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
  .gem__legend { display: none; }
  .lab__mini { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; }
  .lab__mini .mono { color: var(--champ); font-size: 9.5px; letter-spacing: .08em; }
  .lab__mini b { font-size: 26px; text-transform: none; font-variant-numeric: tabular-nums; }
  .ctl { padding: 18px 16px 16px; }
  .seg--clarity { grid-template-columns: repeat(6, 1fr); grid-auto-flow: row; }
  .seg button { height: 40px; }
  .ctl__def p { grid-template-columns: 1fr; gap: 2px; }
  .range::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -12px; }
  .range--colour::-webkit-slider-thumb { margin-top: -10px; }
  .quote { padding: 20px 16px; }
  .quote .btn { width: 100%; }
  /* collection: swipeable */
  .cards__nav { display: flex; align-items: center; gap: 12px; margin: -16px 0 16px; color: var(--muted); font-size: 9.5px; }
  .cards__nav i { flex: 1; height: 1px; background: linear-gradient(var(--champ), var(--champ)) 0 0 / var(--p, 25%) 100% no-repeat, var(--line); transition: background-size .3s; }
  .cards__swipe { order: 3; color: var(--champ); }
  .cards {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .pc { flex: 0 0 78%; scroll-snap-align: start; }
  .pc h3 { font-size: 22px; }
  .pc__body { padding: 16px; }
  .swatches button { width: 26px; height: 26px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { border-bottom: 1px solid var(--line); padding-bottom: 26px; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(3) { padding-left: 0; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) and (max-height: 740px) {
  .ch .display { font-size: 30px; margin-bottom: 10px; }
  .ch__body { font-size: 12.5px; -webkit-line-clamp: 3; margin-bottom: 14px; }
  .eyebrow { margin-bottom: 10px; }
  .fourc dd { font-size: 19px; }
  .fourc div { padding: 7px 0 8px; }
  .fourc { margin-bottom: 12px; }
  .gem { width: min(100%, 30vh); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; border-right: 0; }
  .facts li:nth-child(odd) { padding-right: 12px; }
  .facts li:nth-child(even) { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .loupe__ticks, .lines .halo { animation: none; }
  .rv { opacity: 1; transform: none; }
}
