/* =============================================================
   LUCE — Lab-grown diamonds · styles
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --halo-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* Light, warm "porcelain" theme. Token names are semantic: --ivory is the
   foreground (ink), --bg the page. .theme-dark re-declares them for the
   cinematic video bands and the footer. */
:root {
  --bg: #F7F3EE;
  --bg-2: #F0EAE2;
  --bg-3: #FFFFFF;
  --bg-4: #E8E0D5;
  --ivory: #1D1915;
  --ivory-2: #4A433B;
  --mute: #75695C;
  --dim: #9A8F82;
  --fg-rgb: 29, 25, 21;
  --bg-rgb: 247, 243, 238;
  --panel-rgb: 255, 255, 255;
  --accent-rgb: 160, 127, 79;
  --line: rgba(var(--fg-rgb), 0.10);
  --line-2: rgba(var(--fg-rgb), 0.22);
  --accent: #9C7B4B;
  --accent-2: #7E6136;
  --ice: #B9CBD9;
  --stone-bg: #F2EEE6; /* exact colour of the diamond renders' backdrop, as browsers decode it */

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --nav-h: 72px;
  --radius: 4px;
}

.theme-dark {
  --bg: #12100D;
  --bg-2: #18150F;
  --bg-3: #1E1A15;
  --bg-4: #29231C;
  --ivory: #F2EDE4;
  --ivory-2: #CEC6B8;
  --mute: #A39B8E;
  --dim: #7A7266;
  --fg-rgb: 242, 237, 228;
  --bg-rgb: 18, 16, 13;
  --panel-rgb: 30, 26, 21;
  --accent-rgb: 220, 200, 160;
  --accent: #DCC8A0;
  --accent-2: #B49A6A;
  background: var(--bg);
  color: var(--ivory);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ivory);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.02; text-wrap: balance; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 9999;
  padding: 10px 16px; background: var(--ivory); color: var(--bg); font-weight: 500;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
}
.kicker-center { justify-content: center; }
.kicker-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6);
  animation: pulse 2.6s var(--ease-soft) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); }
}

.section { padding: clamp(88px, 12vw, 168px) var(--gutter); max-width: var(--max); margin: 0 auto; }
section[id] { scroll-margin-top: calc(var(--nav-h) - 40px); }
.section-head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 18px 0 22px;
}
.section-title em, .hero-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.section-intro { max-width: 560px; color: var(--ivory-2); font-size: clamp(1rem, 1.15vw, 1.08rem); }

.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ivory);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.6s var(--ease-out);
}
.btn-ghost:hover { color: var(--bg); border-color: var(--ivory); }
.btn-ghost:hover::before { transform: translateY(0); }
.btn-solid { background: var(--ivory); color: var(--bg); border-color: var(--ivory); }
.btn-solid::before { background: var(--accent); }
.btn-solid:hover::before { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 11px; }
.btn-wide { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory);
  padding: 10px 0;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 1px;
  transition: background-size 0.5s var(--ease-out), color 0.3s;
}
.link-arrow span { transition: transform 0.5s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; color: var(--accent); }
.link-arrow:hover span { transform: translateX(4px); }

/* --- Shape symbol strokes --- */
.cut-fallback, .shape-tab svg, .seg-shapes svg {
  fill: none; stroke: currentColor; stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.cut-fallback * , .shape-tab svg *, .seg-shapes svg * { vector-effect: non-scaling-stroke; }

/* --- Stage (canvas container) --- */
.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; }
.cut-canvas { display: none; width: 100%; height: 100%; }
.cut-fallback {
  position: absolute; inset: 22%;
  width: 56%; height: 56%;
  color: var(--ivory-2); opacity: 0.8;
  stroke-width: 1;
}
.has-webgl .cut-fallback { display: none; }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--bg);
  animation: splashSafety 0.01s 3.2s forwards;
  transition: clip-path 0.9s var(--ease-in-out), opacity 0.5s 0.4s;
  clip-path: inset(0 0 0 0);
}
.splash.is-out { clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-gem {
  width: 54px; height: 54px; fill: none; stroke: var(--ivory); stroke-width: 0.9;
  stroke-linejoin: round;
  stroke-dasharray: 120; stroke-dashoffset: 120;
  animation: draw 1.6s var(--ease-in-out) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.splash-word {
  font: 300 15px/1 var(--sans); letter-spacing: 0.7em; padding-left: 0.7em;
  color: var(--ivory-2);
  opacity: 0; animation: fadeUp 1s 0.5s var(--ease-out) forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.5s var(--ease-out), border-color 0.5s, transform 0.6s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(var(--bg-rgb), 0.92);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(var(--bg-rgb), 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--nav-h); padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto;
}
.nav-links { display: none; gap: 34px; }
.nav-links a, .nav-link-quiet {
  font: 400 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-2);
  position: relative; padding: 8px 0;
  transition: color 0.3s;
}
.nav-links a::after, .nav-link-quiet::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out);
}
.nav-links a:hover, .nav-link-quiet:hover { color: var(--ivory); }
.nav-links a:hover::after, .nav-link-quiet:hover::after { transform: scaleX(1); transform-origin: left; }
.brand {
  grid-column: 2;
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 17px/1 var(--sans); letter-spacing: 0.62em; padding-left: 0.62em;
}
.brand-gem { width: 22px; height: 22px; fill: none; stroke: var(--ivory); stroke-width: 1.3; stroke-linejoin: round; }
.nav-right { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.nav-right .btn, .nav-link-quiet { display: none; }
.bag { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.bag svg { width: 21px; height: 21px; fill: none; stroke: var(--ivory); stroke-width: 1.2; }
.bag-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px;
  display: grid; place-items: center;
  font: 500 10px/1 var(--mono); background: var(--accent); color: var(--bg);
  transform: scale(0); transition: transform 0.5s var(--ease-out);
}
.bag.has-items .bag-count { transform: scale(1); }
.bag.is-bump { animation: bump 0.6s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.18); } 100% { transform: scale(1); } }
.burger { width: 40px; height: 40px; display: grid; place-content: center; gap: 7px; }
.burger span { display: block; width: 22px; height: 1px; background: var(--ivory); transition: transform 0.5s var(--ease-out); }
.nav.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 var(--gutter) 10vh;
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out);
  pointer-events: none;
}
.mobile-menu a { font: 300 clamp(2.2rem, 9vw, 3.4rem)/1.15 var(--serif); color: var(--ivory); border-bottom: 1px solid var(--line); padding: 10px 0; }
.nav.menu-open .mobile-menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.nav.menu-open { background: var(--bg); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 12px) var(--gutter) 28px;
  overflow: clip;
  background:
    radial-gradient(55% 60% at 70% 42%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(80% 70% at 10% 100%, rgba(var(--accent-rgb), 0.10), transparent 60%),
    var(--bg);
}
.hero .grain { opacity: 0.035; }
.hero-halo {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(90vw, 980px); aspect-ratio: 1;
  right: -8%; top: 50%; translate: 0 -50%;
  border-radius: 50%;
  background: conic-gradient(from var(--halo-angle),
    rgba(255, 120, 120, 0.0), rgba(255, 196, 120, 0.22), rgba(140, 255, 200, 0.16),
    rgba(120, 180, 255, 0.22), rgba(210, 140, 255, 0.18), rgba(255, 120, 120, 0.0));
  filter: blur(90px);
  opacity: 0.32;
  mask-image: radial-gradient(circle, #000 30%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 68%);
  animation: haloSpin 26s linear infinite;
}
@keyframes haloSpin { to { --halo-angle: 360deg; } }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 8px;
  width: 100%; max-width: var(--max); margin: 0 auto;
}
.hero-copy { order: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-visual { order: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 8.4vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 22px 0 26px;
}
.hero-title .ln { display: block; overflow: clip; padding: 0.04em 0.08em 0.1em; margin: -0.04em -0.08em -0.1em; }
.hero-title .ln > span { display: inline-block; }
.hero-title em {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 38%, #D9BC8C 48%, #8FA8BC 54%, var(--accent) 64%, var(--accent) 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 7s 2.2s var(--ease-in-out) infinite;
  padding-right: 0.06em;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0% 0; } }

.js .hero-title .ln > span { transform: translateY(108%); }
.js .hero .kicker, .js .hero-lede, .js .hero-actions, .js .hero-visual, .js .hero-foot { opacity: 0; }
.is-loaded .hero-title .ln > span { transform: none; transition: transform 1.3s var(--ease-out) calc(var(--i) * 0.12s + 0.15s); }
.is-loaded .hero .kicker { opacity: 1; transition: opacity 1s 0.1s; }
.is-loaded .hero-lede { opacity: 1; transition: opacity 1.2s 0.55s; }
.is-loaded .hero-actions { opacity: 1; transition: opacity 1.2s 0.7s; }
.is-loaded .hero-visual { opacity: 1; transition: opacity 1.6s 0.25s; }
.is-loaded .hero-foot { opacity: 1; transition: opacity 1.2s 0.9s; }

.hero-lede { max-width: 470px; color: var(--ivory-2); font-size: clamp(1rem, 1.2vw, 1.1rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* --- the stone, in a showcase arch the colour of the renders' backdrop --- */
.stone-arch {
  position: relative; isolation: isolate;
  width: min(86vw, 52vh, 600px); aspect-ratio: 5 / 6;
  border-radius: 999px 999px 28px 28px;
  background: var(--stone-bg);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 50px 90px -40px rgba(var(--fg-rgb), 0.28),
    0 0 0 1px rgba(var(--fg-rgb), 0.06);
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.stone-arch.is-dragging { cursor: grabbing; }
.stone-arch::before {
  content: ""; position: absolute; inset: 14px; z-index: 3; pointer-events: none;
  border-radius: 999px 999px 18px 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}
.stone-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 54%;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-out), filter 0.9s;
  transform: scale(1.06); filter: blur(6px);
}
.stone-video.is-active { opacity: 1; transform: none; filter: none; z-index: 1; }
.stone-arch .drag-hint { z-index: 4; bottom: 7%; }
.drag-hint {
  position: absolute; left: 50%; bottom: 6%; translate: -50% 0;
  font: 400 10px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute);
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  transition: opacity 0.6s;
}
.drag-hint::before, .drag-hint::after { content: ""; width: 18px; height: 1px; background: var(--dim); }
.stone-arch.was-dragged .drag-hint { opacity: 0; }

/* --- shape tabs --- */
.shape-tabs {
  position: relative; display: inline-flex; gap: 2px; padding: 4px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(var(--panel-rgb), 0.9);
  box-shadow: 0 10px 30px -18px rgba(var(--fg-rgb), 0.35);
}
@supports (backdrop-filter: blur(10px)) {
  .shape-tabs { background: rgba(var(--panel-rgb), 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.shape-indicator {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  border-radius: 999px; background: var(--ivory);
  transition: transform 0.7s var(--ease-out), width 0.7s var(--ease-out);
  pointer-events: none;
}
.shape-tab {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 999px;
  font: 500 11px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ivory-2);
  transition: color 0.5s var(--ease-out);
  white-space: nowrap;
}
.shape-tab svg { width: 15px; height: 15px; --facets: 0; flex: none; }
.shape-tab:hover { color: var(--ivory); }
.shape-tab[aria-selected="true"] { color: var(--bg); }
.no-js-indicator .shape-tab[aria-selected="true"] { background: var(--ivory); }
.hide-sm { display: none; }

.spec-line {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.spec-line > div { padding: 10px clamp(10px, 2vw, 22px); text-align: center; }
.spec-line > div + div { border-left: 1px solid var(--line); }
.spec-line dt { font: 400 9.5px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.spec-line dd { font: 400 12.5px/1.2 var(--mono); color: var(--ivory); white-space: nowrap; }

.hero-foot {
  position: relative; z-index: 2;
  display: none;
  width: 100%; max-width: var(--max); margin: 28px auto 0;
  padding-top: 18px; border-top: 1px solid var(--line);
  justify-content: space-between;
  font: 400 11px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
}
.hero-foot span { color: var(--accent); margin-right: 12px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; z-index: 2; translate: -50% 0;
  width: 1px; height: 46px; background: var(--line); overflow: hidden; display: none;
}
.scroll-cue span { position: absolute; inset: 0; background: var(--ivory); animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 22px 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex; align-items: center; gap: 38px; width: max-content;
  animation: marquee 48s linear infinite;
  font: 300 italic clamp(1.5rem, 2.6vw, 2.3rem)/1 var(--serif); color: var(--ivory-2);
  white-space: nowrap;
}
.marquee-track i { font-style: normal; font-size: 0.55em; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   9. Collection
   ============================================================= */
.cut-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.cut-card { display: flex; flex-direction: column; }
.cut-media {
  --mx: 50%; --my: 45%; --rx: 0deg; --ry: 0deg;
  position: relative; aspect-ratio: 1 / 1.04;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--stone-bg);
  overflow: hidden;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.9s var(--ease-out), border-color 0.6s, box-shadow 0.9s var(--ease-out);
  will-change: transform;
}
.cut-card:hover .cut-media { box-shadow: 0 40px 70px -40px rgba(var(--fg-rgb), 0.35); }
.cut-media .stone-video { opacity: 1; filter: none; object-fit: cover; object-position: 50% 54%; transform: scale(1.14); transition: transform 1.2s var(--ease-out); }
.cut-card:hover .cut-media .stone-video { transform: scale(1.2); }
.cut-halo {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(40% 36% at var(--mx) var(--my), rgba(255, 255, 255, 0.55), transparent 70%);
  mix-blend-mode: soft-light;
  opacity: 0; transition: opacity 0.6s;
}
.cut-card:hover .cut-halo { opacity: 1; }
.cut-card:hover .cut-media { border-color: var(--line-2); }
.cut-index {
  position: absolute; left: 18px; top: 16px;
  font: 400 11px/1 var(--mono); letter-spacing: 0.14em; color: var(--dim);
}
.wish {
  position: absolute; right: 12px; top: 10px;
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  transition: background 0.4s;
}
.wish svg { width: 18px; height: 18px; fill: transparent; stroke: var(--ivory-2); stroke-width: 1.2; transition: fill 0.4s, stroke 0.4s, transform 0.5s var(--ease-out); }
.wish:hover { background: rgba(var(--fg-rgb), 0.06); }
.wish.is-on svg { fill: var(--accent); stroke: var(--accent); transform: scale(1.12); }

.cut-body { padding: 22px 2px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cut-body h3 { font: 400 clamp(1.7rem, 2.1vw, 2rem)/1 var(--serif); }
.cut-body h3 span { font-style: italic; color: var(--ivory-2); }
.cut-body p { color: var(--mute); font-size: 0.95rem; }
.cut-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.cut-specs li {
  font: 400 10.5px/1 var(--mono); letter-spacing: 0.08em; color: var(--ivory-2);
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px;
}
.cut-foot {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line);
}
.price { font-size: 0.85rem; color: var(--mute); }
.price strong { font-weight: 500; color: var(--ivory); letter-spacing: 0.02em; }

/* =============================================================
   10. Process (video)
   ============================================================= */
.process { position: relative; background: var(--bg); }
.process-sticky {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center; overflow: hidden;
}
.has-gsap .process { height: 230vh; }
.has-gsap .process-sticky { position: sticky; top: 0; }
.process-media {
  position: absolute; inset: 0;
  clip-path: inset(0% 0% 0% 0% round 0px);
  will-change: clip-path;
}
.process-media video {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.8) contrast(1.06) brightness(0.78);
  transform: scale(1.06);
}
.process-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 55%, rgba(10, 9, 8, 0.15), rgba(10, 9, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.55) 0%, transparent 30%, transparent 70%, rgba(10, 9, 8, 0.85) 100%);
}
.process-copy {
  position: relative; z-index: 2; text-align: center;
  max-width: 880px; padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}
.process-copy .section-intro { margin: 0 auto; color: var(--ivory); }
.video-toggle {
  margin-top: 30px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  transition: border-color 0.4s, background 0.4s;
}
.video-toggle:hover { border-color: var(--ivory); background: rgba(var(--fg-rgb), 0.06); }
.vt-pause { width: 10px; height: 12px; border-left: 2px solid var(--ivory); border-right: 2px solid var(--ivory); }
.video-toggle.is-paused .vt-pause { width: 0; height: 0; border: 0; border-left: 10px solid var(--ivory); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

.steps { padding-top: clamp(72px, 9vw, 120px); }
.step-list { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: s; }
.step-list li { padding: 30px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.step-n { font: 400 11px/1 var(--mono); color: var(--accent); letter-spacing: 0.16em; }
.step-list h3 { font: 400 1.9rem/1 var(--serif); }
.step-list p { color: var(--mute); max-width: 34ch; }

/* =============================================================
   11. Compare
   ============================================================= */
.compare { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.compare-img { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.compare-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.8s var(--ease-out); }
.compare-figure.is-revealed .compare-img img { transform: scale(1); }
.compare-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(var(--fg-rgb), 0.16));
}
.compare-figure figcaption { margin-top: 14px; font: 400 11px/1.5 var(--mono); letter-spacing: 0.06em; color: var(--dim); }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 34px; font-size: 0.95rem; }
.compare-table th, .compare-table td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); font-weight: 300; vertical-align: top; }
.compare-table thead th { font: 500 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); padding-bottom: 14px; }
.compare-table thead th:nth-child(2) { color: var(--accent); }
.compare-table tbody th { color: var(--mute); width: 38%; }
.compare-table td:nth-child(2) { color: var(--ivory); }
.compare-table td:nth-child(3) { color: var(--mute); }
.compare-table td.hl { color: var(--accent); }

/* =============================================================
   12. Stats
   ============================================================= */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.stat { padding: clamp(32px, 5vw, 64px) var(--gutter); display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-n { font: 300 clamp(3rem, 6vw, 5.6rem)/0.9 var(--serif); color: var(--ivory); font-variant-numeric: tabular-nums; }
.stat-l { font: 400 10.5px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }

/* =============================================================
   13. Configurator
   ============================================================= */
.config-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.config-stage { position: relative; }
.config-stage .stage {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--stone-bg);
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(var(--fg-rgb), 0.35);
}
/* stone size follows the carat slider; colour E gets the faintest warmth */
.config-stage .stone-video {
  filter: none; object-position: 50% 56%;
  /* feathered edge: when the stone shrinks for small carats the frame melts into the stage */
  -webkit-mask-image: radial-gradient(circle at 50% 54%, #000 52%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 54%, #000 52%, transparent 70%);
  transform: scale(var(--stone-scale, 1));
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), filter 0.6s;
}
.config-stage .stone-video.is-active { transform: scale(var(--stone-scale, 1)); }
.config-stage .stage.is-e .stone-video { filter: sepia(0.07) saturate(1.08); }
.stage-ring {
  position: absolute; inset: 14%; border-radius: 50%; z-index: 2;
  border: 1px dashed rgba(var(--fg-rgb), 0.08);
  pointer-events: none;
}
.stage-ring::before, .stage-ring::after {
  content: ""; position: absolute; background: rgba(var(--fg-rgb), 0.08);
}
.stage-ring::before { left: 50%; top: -8%; bottom: -8%; width: 1px; }
.stage-ring::after { top: 50%; left: -8%; right: -8%; height: 1px; }
.stage-dims { margin-top: 14px; font: 400 11px/1.4 var(--mono); letter-spacing: 0.1em; color: var(--mute); text-transform: uppercase; }
.stage-dims span:first-child { color: var(--ivory); }

.config-panel { display: flex; flex-direction: column; gap: 30px; }
.config-panel fieldset { border: 0; padding: 0; min-width: 0; }
.config-panel legend {
  display: flex; width: 100%; justify-content: space-between; align-items: baseline;
  font: 500 10.5px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute);
  margin-bottom: 14px; padding: 0;
}
.config-panel legend output { font: 400 1.6rem/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ivory); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 48px; justify-content: center;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 99px;
  font: 400 12px/1 var(--mono); color: var(--ivory-2);
  transition: background 0.4s var(--ease-out), color 0.4s, border-color 0.4s;
}
.seg label:hover span { border-color: var(--line-2); color: var(--ivory); }
.seg input:checked + span { background: var(--ivory); color: var(--bg); border-color: var(--ivory); }
.seg input:focus-visible + span { outline: 1.5px solid var(--accent); outline-offset: 3px; }
.seg-shapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.seg-shapes span {
  width: 100%; flex-direction: column; gap: 10px;
  padding: 16px 4px 14px; border-radius: 10px;
  font-family: var(--sans); letter-spacing: 0.08em; text-transform: uppercase; font-size: 10.5px; font-weight: 500;
}
.seg-shapes svg { width: 24px; height: 24px; --facets: 0.55; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--accent) var(--p, 28%), var(--line-2) var(--p, 28%)); }
.range::-moz-range-track { height: 1px; background: var(--line-2); }
.range::-moz-range-progress { height: 1px; background: var(--accent); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--ivory);
  box-shadow: 0 0 0 4px rgba(var(--fg-rgb), 0.06);
  transition: transform 0.3s var(--ease-out);
}
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ivory); }
.range:active::-webkit-slider-thumb { transform: scale(1.2); }
.range-scale { display: flex; justify-content: space-between; font: 400 10px/1 var(--mono); color: var(--dim); margin-top: 4px; }

.config-total {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.config-total > div { display: flex; flex-direction: column; gap: 6px; }
.total-label { font: 500 10.5px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.total-price { font: 300 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); font-variant-numeric: tabular-nums; }
.total-note { font-size: 0.82rem; color: var(--dim); }

/* Stock-only grades: two wide options + what every stone includes */
.config-panel legend small { font: 400 10.5px/1 var(--mono); letter-spacing: 0.12em; color: var(--dim); }
.seg-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg-wide label, .seg-wide span { width: 100%; }
.seg-wide span {
  justify-content: space-between; padding: 14px 18px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
}
.seg-wide em { font: 400 10.5px/1.2 var(--mono); font-style: normal; letter-spacing: 0.06em; color: var(--mute); text-align: right; }
.seg-wide input:checked + span em { color: rgba(var(--bg-rgb), 0.7); }
@media (max-width: 539px) {
  .seg-wide span { flex-direction: column; align-items: flex-start; gap: 6px; }
  .seg-wide em { text-align: left; }
}
.config-fixed { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.config-fixed li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 18px; border: 1px dashed var(--line-2); border-radius: 12px;
  font: 400 1.25rem/1 var(--serif); color: var(--ivory);
}
.config-fixed span { font: 500 10.5px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.cut-specs li.stock { border-color: rgba(var(--accent-rgb), 0.4); color: var(--accent); }

/* =============================================================
   13c. Worn — the four cuts on hands (editorial gallery)
   ============================================================= */
.worn { padding-bottom: clamp(56px, 7vw, 96px); }
.worn-head { margin-bottom: clamp(36px, 5vw, 64px); }
.worn-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-padding-inline: var(--gutter);
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
}
.worn-grid::-webkit-scrollbar { display: none; }
.worn-item { scroll-snap-align: start; display: block; color: inherit; }
.worn-item figure { margin: 0; }
.worn-img {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 14px; background: var(--bg-2);
  box-shadow: 0 30px 60px -40px rgba(var(--fg-rgb), 0.45);
}
.worn-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.02); transition: transform 1.4s var(--ease-out), filter 0.8s;
}
.worn-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 16, 12, 0.42));
  opacity: 0.9; transition: opacity 0.8s;
}
.worn-item figcaption {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px;
  align-items: baseline; padding: 16px 4px 0;
}
.worn-n { grid-row: span 2; font: 400 11px/1 var(--mono); letter-spacing: 0.14em; color: var(--accent); }
.worn-name { font: 400 clamp(1.4rem, 1.8vw, 1.75rem)/1.1 var(--serif); }
.worn-note { font: 400 10.5px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.worn-foot { margin-top: 26px; font: 400 11px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--dim); }
@media (hover: hover) {
  .worn-item:hover .worn-img img { transform: scale(1.07); }
  .worn-item:hover .worn-img::after { opacity: 0.55; }
  .worn-item:hover .worn-name { color: var(--accent); }
}
@media (min-width: 720px) {
  .worn-grid { grid-auto-columns: 46%; }
}
@media (min-width: 1100px) {
  .worn-grid {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto;
    overflow: visible; margin: 0; padding: 0; gap: 22px;
  }
  .worn-item:nth-child(even) { margin-top: 72px; }
}

/* =============================================================
   14. Rings
   ============================================================= */
.rings { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.rings-media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--bg-3); }
.rings-media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.92); }
.ring-list { margin: 34px 0 36px; border-top: 1px solid var(--line); }
.ring-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease-out);
}
.ring-list li span { font: 400 1.6rem/1 var(--serif); }
.ring-list li em { font: 400 11px/1.3 var(--mono); font-style: normal; letter-spacing: 0.08em; color: var(--mute); text-align: right; }
.ring-list li:hover { padding-left: 12px; }
.ring-list li:hover span { color: var(--accent); }

/* =============================================================
   15. Guarantees
   ============================================================= */
.guarantees {
  display: grid; grid-template-columns: 1fr;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.g-item { padding: 34px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.g-item svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.g-item h3 { font: 400 1.45rem/1.1 var(--serif); }
.g-item p { color: var(--mute); font-size: 0.93rem; max-width: 32ch; }

/* =============================================================
   16. Appointment
   ============================================================= */
.appointment { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.appt-meta { margin-top: 34px; display: grid; gap: 14px; }
.appt-meta li { display: flex; gap: 18px; color: var(--ivory-2); font-size: 0.95rem; }
.appt-meta span { width: 64px; flex: none; font: 400 10.5px/1.9 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }

.appt-form {
  display: grid; gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 26px 0 10px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  outline: none; border-radius: 0; font-size: 1rem; font-weight: 300;
  transition: border-color 0.4s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 10px) 60%, calc(100% - 5px) 60%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-3); color: var(--ivory); }
.field textarea { resize: vertical; min-height: 92px; }
.field label {
  position: absolute; left: 0; top: 24px;
  font-size: 0.98rem; color: var(--mute); pointer-events: none;
  transform-origin: left top;
  transition: transform 0.5s var(--ease-out), color 0.4s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--accent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.is-static {
  transform: translateY(-20px) scale(0.72); color: var(--accent);
  font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.field.is-invalid input { border-bottom-color: #C98A7A; }
.btn-check { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 26; stroke-dashoffset: 26; position: absolute; opacity: 0; }
.appt-form.is-sent .btn-label { opacity: 0; transform: translateY(-8px); }
.appt-form.is-sent .btn-check { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 0.8s 0.2s var(--ease-out), opacity 0.2s; }
.btn-label { transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.appt-form.is-sending .btn { pointer-events: none; }
.appt-form.is-sending .btn-label { opacity: 0.4; }
.form-note { font: 400 11px/1.5 var(--mono); color: var(--dim); letter-spacing: 0.04em; }
.appt-form.is-sent .form-note { color: var(--accent); }

/* =============================================================
   17. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 110px) var(--gutter) 28px; background: var(--bg-2); }
.footer-top, .footer-cols, .footer-legal { max-width: var(--max); margin: 0 auto; }
.footer-top { display: grid; gap: 40px; align-items: end; padding-bottom: 54px; border-bottom: 1px solid var(--line); }
.footer-word {
  font: 300 clamp(5rem, 19vw, 17rem)/0.8 var(--serif); letter-spacing: 0.08em;
  background: linear-gradient(180deg, var(--ivory) 30%, rgba(var(--fg-rgb), 0.15));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.news label { display: block; font: 400 1.4rem/1.2 var(--serif); margin-bottom: 14px; }
.news-row { display: flex; border-bottom: 1px solid var(--line-2); max-width: 420px; }
.news-row input { flex: 1; background: transparent; border: 0; outline: 0; padding: 12px 0; font-weight: 300; }
.news-row button { width: 44px; font-size: 1.2rem; transition: transform 0.4s var(--ease-out), color 0.3s; }
.news-row button:hover { transform: translateX(4px); color: var(--accent); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 44px 0; }
.footer-cols h4 { font: 500 10.5px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.footer-cols a { display: block; padding: 5px 0; color: var(--ivory-2); transition: color 0.3s; font-size: 0.95rem; }
.footer-cols a:hover { color: var(--ivory); }
.footer-cols p { color: var(--mute); font-size: 0.92rem; max-width: 30ch; }
.footer-legal { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.credits summary { cursor: pointer; color: var(--mute); font-size: 12.5px; }
.credits summary:hover { color: var(--ivory-2); }
.credits ul { margin-top: 10px; display: grid; gap: 6px; font-size: 12px; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   18. Toast
   ============================================================= */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 150;
  translate: -50% 0;
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 14px 20px; border-radius: 99px;
  background: var(--ivory); color: var(--bg);
  font: 500 12.5px/1.3 var(--sans);
  box-shadow: 0 20px 60px rgba(var(--fg-rgb), 0.18);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: none; }
.toast svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; }

/* =============================================================
   19. Reveal
   ============================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   20. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .cut-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; }
  .hide-sm { display: inline; }
}

@media (min-width: 720px) {
  .step-list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .guarantees { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-legal { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .credits { max-width: 60%; }
  .shape-tab { padding: 11px 16px; }
}

@media (min-width: 960px) {
  :root { --nav-h: 84px; }
  .nav-links { display: flex; }
  .nav-right .btn, .nav-link-quiet { display: inline-flex; }
  .burger, .mobile-menu { display: none; }
  .brand { font-size: 18px; }

  .hero { padding-bottom: 32px; }
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 0; }
  .hero-copy { order: 1; text-align: left; align-items: flex-start; padding-bottom: 40px; }
  .hero-visual { order: 2; }
  .hero-actions { justify-content: flex-start; }
  .stone-arch { width: min(100%, 64vh, 620px); }
  .hero-foot { display: flex; }
  .scroll-cue { display: block; }
  .hero-title { font-size: clamp(4.6rem, 8vw, 8.8rem); }

  .compare { grid-template-columns: 5fr 6fr; }
  .config-grid { grid-template-columns: 6fr 5fr; }
  .config-stage { position: sticky; top: calc(var(--nav-h) + 24px); }
  .rings { grid-template-columns: 5fr 6fr; }
  .appointment { grid-template-columns: 5fr 6fr; }
  .step-list { grid-template-columns: repeat(4, 1fr); }
  .step-list li { padding-right: 28px; }
  .guarantees { grid-template-columns: repeat(4, 1fr); }
  .g-item { padding-right: 24px; }
}

@media (min-width: 1280px) {
  .cut-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .cut-grid .cut-card:nth-child(even) { margin-top: 64px; }
}

/* Mobile/tablet hero: headline first, stone in the middle, CTAs last */
@media (max-width: 959px) {
  .hero-copy { display: contents; }
  .hero .kicker { order: 1; justify-self: center; text-align: center; margin-top: 10px; }
  .hero-title { order: 2; text-align: center; margin: 14px 0 0; }
  .hero-visual { order: 3; }
  .hero-lede { order: 4; justify-self: center; text-align: center; margin-top: 22px; }
  .hero-actions { order: 5; }
  .stone-arch { width: min(84vw, 46vh, 460px); }
}

@media (max-width: 539px) {
  .spec-line { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .spec-line > div:nth-child(3) { border-left: 0; }
  .spec-line > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .shape-tab span { letter-spacing: 0.06em; }
  .shape-tab { padding: 10px 9px; gap: 6px; font-size: 10.5px; }
  .hero-title { margin: 16px 0 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Cormorant ships old-style figures by default: force lining numerals.
   Declared last because the `font` shorthand resets numeric variants. */
.stat-n, .total-price, .config-panel legend output, .g-item h3, .section-title, .cut-body h3, .ring-list li span {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* =============================================================
   21. Hover-capable only
   ============================================================= */
@media (hover: none) {
  .cut-media { transform: none; }
}

/* =============================================================
   22. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-halo { animation: none; }
  .scroll-cue span { animation: none; }
  .kicker-dot { animation: none; }
}
