/* ============================================================
   RARE — design system
   Ivory and blush surfaces, champagne accents, serif display type,
   editorial motion (letter reveals, marquees, drawn lines).
   ============================================================ */

:root {
  --ivory: #FAF7F2;
  --ink: #121212;
  --stone: #8A857D;
  --line: #E6E0D6;
  --champagne: #B89B6A;
  --gold-text: #8F7448;
  --blush: #EBD9CF;
  --bordeaux: #4A1C28;
  --midnight: #0B1220;
  --ice: #DCE6EE;
  --platinum: #B8C0C8;
  --stone-aa: #6D6861;
  --skin-tone-light: #F2D6BD;
  --skin-tone-medium: #D9A878;
  --skin-tone-deep: #A9744A;
  --skin-tone-dark: #6B4526;
  --blush-deep: var(--line);
  --cream: var(--ivory);
  --paper: var(--ivory);
  --ink-soft: var(--stone-aa);
  --gold: var(--gold-text);
  --gold-bright: var(--champagne);
  --gold-pale: var(--gold-text);
  --danger: var(--bordeaux);
  /* Brand kit — three faces used throughout:
     1. Palatino  → primary display serif (headings, brand, prices, nav)
     2. Jost      → clean geometric sans (body, UI, labels, buttons)
     3. Cormorant → italic editorial accent (numerals, pull quotes) */
  --palatino: Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', Georgia, serif;
  --serif: Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', Georgia, serif;
  --accent: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 18px 48px color-mix(in srgb, var(--midnight) 10%, transparent);
  --radius: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark surfaces keep champagne accents and use ivory for contrast. */
.site-footer, .stat-band, .marquee:not(.light), .entry-card, .atmosphere {
  --gold: var(--gold-text);
  --gold-bright: var(--champagne);
  --gold-pale: var(--gold-text);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }

[hidden] { display: none !important; }

h1, h2, h3, .display {
  font-family: var(--accent); /* Cormorant Garamond — editorial display serif */
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; text-wrap: pretty; }
/* let the brand-story lede run as a single line on wide screens; on
   narrow screens it wraps naturally without orphan words */
.brand-story .lede { max-width: none; }
.brand-story .section-head { max-width: 900px; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.centered { margin-inline: auto; text-align: center; }

/* ============================================================
   Motion primitives
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }

/* heading reveal: each word rises and fades in, gently staggered */
.split .ch { display: inline-block; }
.split .word {
  display: inline-block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--wd, 0) * 55ms);
  will-change: transform;
}
.split.in-view .word { opacity: 1; transform: none; }

/* scrolling marquee band */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--gold-pale);
  padding: 0.9rem 0;
  border-block: 1px solid var(--ink);
  user-select: none;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-style: italic;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.marquee span b { color: var(--gold-bright); font-weight: 600; }
.marquee.light { background: transparent; color: var(--gold); border-block: 1px solid var(--line); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* drawn-line SVG animation — story icons carry pathLength="1" so every
   path draws evenly across the full duration instead of popping in late */
.story-act svg .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.in-view .drawline {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.story-act.active svg .draw { animation: drawIn 2.2s var(--ease-out) calc(0.2s + var(--act-d, 0s)) forwards; }
.in-view .drawline { animation: drawIn 2s var(--ease-out) 0.3s forwards; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }

/* soft float for decorative shapes */
.float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(2deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
  .reveal, .split .ch, .split .word, .story-act { opacity: 1; transform: none; }
  .story-act .act-img { opacity: 1; transform: none; filter: brightness(0); }
  .commit-card, .commit-card .cnum, .commit-card strong, .commit-card p { opacity: 1; transform: none; }
  .commit-card.in-view::after { animation: none; }
  .marquee-track { animation: none; }
  .story-act svg .draw, .in-view .drawline { stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* ============================================================
   Intro veil — white logo over a starfield, then hands off to the site
   ============================================================ */
.intro-veil { display: none; }
.js .intro-veil {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--midnight); /* dark field for the starfield */
  animation: introFailsafe 0.01s linear 7s forwards; /* clears itself if JS never runs */
}
@keyframes introFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro-galaxy { position: absolute; inset: 0; z-index: 0; }
.intro-galaxy canvas { display: block; width: 100%; height: 100%; }
/* light-fall: luminous sparks descending over the starfield */
.intro-lightfall { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.intro-lightfall canvas { display: block; width: 100%; height: 100%; }
.intro-logo {
  position: relative;
  z-index: 2;
  width: min(500px, 82vw);
  filter: brightness(0) invert(1); /* white logo on the dark starfield */
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .intro-veil { display: none !important; }
}

/* ---------------- sound toggle ---------------- */
.sound-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.sound-toggle:hover { border-color: var(--ink); transform: translateY(-1px); }
.sound-toggle svg { width: 18px; height: 18px; display: block; }
.sound-toggle .wave { transition: opacity 0.25s var(--ease-out); transform-origin: center; }
.sound-toggle[aria-pressed="false"] .wave { opacity: 0.18; }
.sound-toggle[aria-pressed="true"]  .wave { opacity: 1; }
.sound-toggle[aria-pressed="true"] .wave.w2 { animation: soundPulse 1.6s ease-in-out infinite; }
@keyframes soundPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .sound-toggle[aria-pressed="true"] .wave.w2 { animation: none; }
}

/* ============================================================
   Atmosphere — swappable background stage + controls
   ============================================================ */
.atmosphere {
  --atmo-tint: transparent;
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--midnight);
  color: var(--ivory);
  isolation: isolate;
}
.atmo-stage { position: absolute; inset: 0; z-index: 0; }
.atmo-stage canvas { display: block; width: 100%; height: 100%; }
/* faint vignette + tint wash so controls stay legible over any system */
.atmo-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 40%, color-mix(in srgb, var(--midnight) 55%, transparent) 100%),
    linear-gradient(to top, color-mix(in srgb, var(--midnight) 60%, transparent), transparent 45%);
  pointer-events: none;
}
.atmo-overlay {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vh, 6rem) 0;
  text-align: center;
}
.atmo-overlay .section-head { margin-bottom: 2rem; }
.atmo-overlay .lede { color: color-mix(in srgb, var(--ivory) 72%, transparent); }

.atmo-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 2rem;
  max-width: 42rem;
}
.atmo-switch button {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ivory) 70%, transparent);
  background: color-mix(in srgb, var(--ivory) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  cursor: pointer;
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.atmo-switch button:hover { color: var(--ivory); border-color: color-mix(in srgb, var(--ivory) 40%, transparent); transform: translateY(-1px); }
.atmo-switch button[aria-pressed="true"] {
  color: var(--midnight);
  background: var(--ivory);
  border-color: var(--ivory);
}

.atmo-tint-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 30rem;
  margin: 0 auto;
}
.atmo-tint-label {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ivory) 60%, transparent);
}
.atmo-tint { flex: 1; min-width: 0; }
.atmo-reset {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ivory) 70%, transparent);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ivory) 20%, transparent);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.atmo-reset:hover { color: var(--ivory); border-color: color-mix(in srgb, var(--ivory) 45%, transparent); }

/* ---------------- Elastic Slider ---------------- */
.eslider {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  will-change: transform;
  touch-action: none;
}
.eslider-ico {
  font-size: 0.7rem;
  color: var(--atmo-tint, color-mix(in srgb, var(--ivory) 55%, transparent));
  opacity: 0.85;
  flex: none;
}
.eslider-track {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ivory) 18%, transparent);
  cursor: pointer;
  outline: none;
}
.eslider-track:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ivory) 35%, transparent); }
.eslider-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: 999px;
  background: var(--atmo-tint, var(--ivory));
  transition: background 0.3s var(--ease-out);
}
.eslider-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--atmo-tint, var(--ivory));
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--midnight) 40%, transparent);
  transition: border-color 0.3s var(--ease-out);
}

@media (max-width: 640px) {
  .atmo-tint-row { flex-wrap: wrap; }
}

/* ---------------- circular (rotating) text seal ---------------- */
.circle-seal {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto 1.4rem;
}
.circle-seal-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--ink-soft);
}
.circle-ring {
  position: absolute;
  inset: 0;
  animation: sealSpin 20s linear infinite;
}
.circle-ring span {
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: 0 58px;              /* radius = half the seal */
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@keyframes sealSpin { to { transform: rotate(360deg); } }
/* invert over dark surfaces */
.stat-band .circle-ring span, .stat-band .circle-seal-mark,
.site-footer .circle-ring span, .site-footer .circle-seal-mark { color: var(--gold-pale); }
@media (prefers-reduced-motion: reduce) {
  .circle-ring { animation: none; }
}

/* ---------------- blur-in reveal ---------------- */
.blur-in {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(10px);
  transition: opacity 0.9s var(--ease-out), filter 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, filter, transform;
}
.blur-in.in-view {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .blur-in { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ---------------- skin-tone control (jewelry filters) ---------------- */
.skin-row { align-items: center; gap: 0.9rem; }
.skin-slider { flex: 1; min-width: 160px; max-width: 22rem; }
.skin-tone-name {
  font: 600 0.66rem var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  min-width: 5.5em;
}
.skin-reset {
  font: 600 0.62rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.skin-reset:hover { color: var(--ink); border-color: var(--ink); }
/* the track is a skin-tone gradient; the fill is hidden so it shows through */
.skin-eslider .eslider-track {
  height: 8px;
  background: linear-gradient(90deg, var(--skin-tone-light), var(--skin-tone-medium), var(--skin-tone-deep), var(--skin-tone-dark));
}
.skin-eslider .eslider-fill { background: transparent; }
.skin-eslider .eslider-thumb { border-color: var(--ivory); box-shadow: 0 2px 10px color-mix(in srgb, var(--midnight) 40%, transparent); }

/* product image takes on the selected skin tone */
.card-skin {
  position: absolute;
  inset: 0;
  background: var(--skin, transparent);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}
.skin-on .card-skin { opacity: 0.85; }
/* a second, subtler multiply pass warms shadows so deeper tones read clearly */
.card-skin::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--skin, transparent);
  mix-blend-mode: multiply;
  opacity: 0.28;
}

/* ---------------- add-address disclosure ---------------- */
.addr-add { margin-top: 1rem; }
.addr-add > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  cursor: pointer;
  font: 600 0.72rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.addr-add > summary::-webkit-details-marker { display: none; }
.addr-add > summary:hover { border-color: var(--ink); }
.addr-add[open] > summary { background: var(--blush); margin-bottom: 1rem; }
.addr-add-plus { font-size: 1.1em; line-height: 1; }
.addr-add[open] .addr-add-plus { transform: rotate(45deg); display: inline-block; }

/* ---------------- Logo Loop (marquee) ---------------- */
.logo-loop {
  border-block: 1px solid var(--line);
  padding: 1.4rem 0;
  overflow: hidden;
  background: var(--cream);
}
.logo-loop-track {
  display: flex;
  width: max-content;
  animation: logoLoop 38s linear infinite;
}
.logo-loop:hover .logo-loop-track { animation-play-state: paused; }
.logo-loop-set {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
  white-space: nowrap;
}
.logo-loop-set > span:not(.logo-loop-dot) {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.logo-loop-dot { color: var(--ink); font-size: 0.6rem; opacity: 0.55; }
@keyframes logoLoop { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-loop-track { animation: none; } }

/* ---------------- Border Glow ---------------- */
.border-glow { position: relative; }
.border-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--ivory) 90%, transparent), color-mix(in srgb, var(--ivory) 0%, transparent) 60%);
  -webkit-mask: linear-gradient(var(--midnight) 0 0) content-box, linear-gradient(var(--midnight) 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}
.border-glow:hover::after { opacity: 1; }
/* on light cards the glow reads better as ink */
.border-glow.glow-ink::after {
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--ink) 55%, transparent), color-mix(in srgb, var(--ink) 0%, transparent) 60%);
}
@media (prefers-reduced-motion: reduce) { .border-glow::after { transition: none; } }


/* ---------------- Card Nav (gliding pill) ---------------- */
.site-nav .nav-card {
  position: absolute;
  top: 50%; left: 0;
  height: 2.1em;
  transform: translateY(-50%);
  background: var(--blush);
  border-radius: 999px;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.38s var(--ease-out), width 0.38s var(--ease-out), opacity 0.3s var(--ease-out);
}
.site-nav a { position: relative; z-index: 1; }
/* on desktop the gliding pill is the sole indicator — drop the underline sweep
   for both hover and the current page */
@media (min-width: 901px) {
  .site-header .site-nav a:hover::after,
  .site-header .site-nav a[aria-current="page"]::after { right: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav .nav-card { transition: opacity 0.3s ease; }
}


/* declarative section backdrop layer (data-bg) */
.bg-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
}
.bg-stage canvas { display: block; width: 100%; height: 100%; }
.stat-band .container { position: relative; z-index: 1; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px color-mix(in srgb, var(--midnight) 6%, transparent); }

/* the animated RARE wordmark: black in the white header, gold in the dark footer */
.site-header .brand-word { color: var(--ink); font-family: var(--palatino); }
.site-header .site-nav a { font-family: var(--palatino); }
.site-header .brand:hover .brand-word span, .site-header .brand:focus-visible .brand-word span { color: var(--champagne); }
.brand { display: inline-flex; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-word {
  display: inline-flex;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold);
  line-height: 1;
}
.brand-word span {
  display: inline-block;
  animation: brandIn 0.9s var(--ease-out) backwards;
  transition: transform 0.35s var(--ease-out), color 0.35s ease;
}
.brand-word span:nth-child(1) { animation-delay: 0.05s; }
.brand-word span:nth-child(2) { animation-delay: 0.15s; }
.brand-word span:nth-child(3) { animation-delay: 0.25s; }
.brand-word span:nth-child(4) { animation-delay: 0.35s; }
.brand:hover .brand-word span, .brand:focus-visible .brand-word span { color: var(--gold-bright); }
.brand:hover .brand-word span:nth-child(1) { transform: translateY(-5px); transition-delay: 0s; }
.brand:hover .brand-word span:nth-child(2) { transform: translateY(-5px); transition-delay: 0.06s; }
.brand:hover .brand-word span:nth-child(3) { transform: translateY(-5px); transition-delay: 0.12s; }
.brand:hover .brand-word span:nth-child(4) { transform: translateY(-5px); transition-delay: 0.18s; }
@keyframes brandIn {
  from { opacity: 0; transform: translateY(14px) rotate(8deg); }
}

.site-nav { display: flex; align-items: center; gap: clamp(0.8rem, 2.2vw, 1.8rem); }
.site-nav a {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease-out);
}
.site-nav a:hover { color: var(--gold); text-decoration: none; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }

.icon-button {
  position: relative;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.2s ease;
  text-decoration: none;
}
.icon-button:hover { border-color: var(--gold); color: var(--danger); transform: translateY(-1px); text-decoration: none; }
.icon-button .heart-icon { width: 19px; height: 19px; display: block; }
.count-dot {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--gold);
  color: var(--ivory);
  border-radius: 999px;
  min-width: 1.55rem; height: 1.55rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0 0.3rem;
}
.count-dot.hidden { display: none; }

.cart-button {
  position: relative;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.2s ease;
}
.cart-button:hover { border-color: var(--gold); transform: translateY(-1px); }
.cart-button .bag-icon { width: 19px; height: 19px; display: block; }
#cartCount {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--gold);
  color: var(--ivory);
  border-radius: 999px;
  min-width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0 0.3rem;
}
#cartCount.hidden { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 62px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem clamp(1rem, 5vw, 2rem) 1.6rem;
    gap: 1.1rem;
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease-out);
    box-shadow: var(--shadow);
    z-index: 55;
  }
  .site-nav.open { transform: none; }
  /* staggered reveal — each link drops in after the panel opens */
  .site-nav a {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  }
  .site-nav.open a { opacity: 1; transform: none; }
  .site-nav.open a:nth-child(1) { transition-delay: 0.10s; }
  .site-nav.open a:nth-child(2) { transition-delay: 0.16s; }
  .site-nav.open a:nth-child(3) { transition-delay: 0.22s; }
  .site-nav.open a:nth-child(4) { transition-delay: 0.28s; }
  .site-nav.open a:nth-child(5) { transition-delay: 0.34s; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .site-nav a { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Buttons & forms
   ============================================================ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s var(--ease-out), box-shadow 0.25s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--midnight) 16%, transparent); }
/* light streak sweeps across on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--ivory) 50%, transparent), transparent);
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}
.btn:hover::after { animation: btnShine 0.8s ease; }
@keyframes btnShine { from { left: -60%; opacity: 1; } to { left: 115%; opacity: 1; } }
.btn-primary { background: var(--gold); color: var(--ivory); }
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
/* ghost fills with gold sweeping in from the left */
.btn-ghost {
  color: var(--gold);
  background: linear-gradient(var(--gold), var(--gold)) no-repeat left center / 0% 100%;
  transition: background-size 0.45s var(--ease-out), color 0.3s ease, transform 0.2s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn-ghost:hover { background-size: 100% 100%; color: var(--ivory); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.74rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.linklike {
  background: none;
  border: none;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-align: inherit;
}
.linklike:hover { text-decoration: underline; }

.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  font: 400 0.95rem var(--sans);
  color: var(--ink);
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  width: 100%;
  transition: border-color 0.2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--midnight) 10%, transparent); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.form-compact { margin-top: 1rem; }
.check-label { display: flex !important; flex-direction: row; align-items: flex-start; gap: 0.7rem; font-weight: 400 !important; text-transform: none; letter-spacing: 0 !important; line-height: 1.5; }
.check-label input { width: auto; margin-top: 0.25rem; }

/* ============================================================
   Homepage hero
   ============================================================ */
.hero {
  /* white hero: the black logo carries the drama, no melt needed */
  background: var(--cream);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-logo {
  width: min(420px, 72vw);
  margin: clamp(1.5rem, 4vw, 3rem) auto clamp(1.2rem, 3vw, 2.2rem);
  animation: heroLogoIn 1.6s var(--ease-out) backwards;
  filter: brightness(0); /* renders the gold artwork as solid black */
}
@keyframes heroLogoIn { from { opacity: 0; transform: scale(0.96) translateY(10px); } }
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 600;
  font-style: normal;
  color: var(--ink);
  max-width: 26ch;
  margin: 0.5rem auto 1.2rem;
}
.hero p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto 2.4rem; font-size: clamp(1rem, 1.9vw, 1.22rem); }
.hero .btn-ghost, .page-hero .btn-ghost { color: var(--gold); }
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
  animation: ctaIn 1.1s var(--ease-out) 0.9s backwards;
}
.hero-actions .btn { min-width: min(15rem, 72vw); }
@keyframes ctaIn { from { opacity: 0; transform: translateY(24px); } }
/* primary CTA breathes a soft gold glow until hovered */
.hero-actions .btn-primary { animation: ctaIn 1.1s var(--ease-out) 0.9s backwards, goldPulse 3.4s ease-in-out 2.6s infinite; }
.hero-actions .btn-primary:hover { animation-play-state: paused, paused; }
@keyframes goldPulse { 50% { box-shadow: 0 8px 30px color-mix(in srgb, var(--midnight) 25%, transparent); } }

/* floating gold sparkles in hero */
.hero .spark {
  position: absolute;
  color: var(--gold);
  opacity: 0.5;
  font-size: 1.1rem;
  pointer-events: none;
}

/* ---------------- brand story ---------------- */
.brand-story { background: transparent; border-bottom: 1px solid var(--line); }
.story-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.story-act {
  text-align: center;
  opacity: 0;
  transform: translateY(40px) scale(0.965);
  transition: opacity 1.1s var(--ease-out) var(--act-d, 0s), transform 1.1s var(--ease-out) var(--act-d, 0s);
}
/* each act rises in turn — a slower, clearer build from Rough → Cut → Set → Worn */
.story-acts .story-act:nth-child(2) { --act-d: 0.26s; }
.story-acts .story-act:nth-child(3) { --act-d: 0.52s; }
.story-acts .story-act:nth-child(4) { --act-d: 0.78s; }
.story-act.active { opacity: 1; transform: none; }
.story-act svg { width: min(190px, 58vw); height: auto; margin: 0 auto 1.2rem; display: block; }
/* raster story icon: soft blur-and-rise reveal on the same stagger as the drawn icons */
.story-act .act-img {
  height: min(190px, 58vw);
  width: auto;
  display: block;
  margin: 0 auto 1.2rem;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  /* brightness(0) renders the gold line art as black; blur is the reveal */
  filter: brightness(0) blur(5px);
  transition:
    opacity 1.5s var(--ease-out) calc(0.2s + var(--act-d, 0s)),
    transform 1.5s var(--ease-out) calc(0.2s + var(--act-d, 0s)),
    filter 1.5s var(--ease-out) calc(0.2s + var(--act-d, 0s));
}
.story-act.active .act-img { opacity: 1; transform: none; filter: brightness(0); }
.story-act h3 { margin-bottom: 0.4rem; font-size: clamp(1.4rem, 2.8vw, 1.75rem); }
.story-act p { font-size: 1rem; color: var(--ink-soft); max-width: 30ch; margin-inline: auto; }
.story-act .act-num { font-family: var(--accent); font-style: italic; color: var(--gold); font-size: 1.05rem; display: block; margin-bottom: 0.6rem; }
.story-act svg .glint { opacity: 0; transition: opacity 1.2s ease calc(1.7s + var(--act-d, 0s)); }
.story-act.active svg .glint { opacity: 1; }

/* ---------------- entry points ---------------- */
.entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.4rem, 3.5vw, 2.5rem); }
.entry-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: clamp(380px, 52vw, 540px);
  color: var(--ivory);
  box-shadow: var(--shadow);
  text-decoration: none;
  transform-style: preserve-3d;
}
.entry-card:hover { text-decoration: none; }
.entry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04) brightness(0.88); transition: transform 1.8s var(--ease-out), filter 0.7s var(--ease-out); }
/* hover reveal: the piece emerges from shadow, scales up, and a gleam sweeps across */
.entry-card:hover img, .entry-card:focus-visible img { transform: scale(1.1); filter: grayscale(1) contrast(1.1) brightness(1.12); }
.entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, color-mix(in srgb, var(--ivory) 18%, transparent) 47%, color-mix(in srgb, var(--ivory) 42%, transparent) 50%, color-mix(in srgb, var(--ivory) 18%, transparent) 53%, transparent 66%);
  transform: translateX(-130%);
}
.entry-card:hover::before, .entry-card:focus-visible::before {
  transform: translateX(130%);
  transition: transform 1.05s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .entry-card img { filter: grayscale(1) contrast(1.05) brightness(0.95); transition: none; }
  .entry-card::before { display: none; }
}
.entry-card .entry-rotator img.rotate { opacity: 0; transition: opacity 1.4s ease, transform 1.6s var(--ease-out); }
.entry-card .entry-rotator img.rotate.active { opacity: 1; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.entry-card .entry-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, color-mix(in srgb, var(--midnight) 92%, transparent) 0%, color-mix(in srgb, var(--midnight) 55%, transparent) 34%, color-mix(in srgb, var(--midnight) 12%, transparent) 66%, color-mix(in srgb, var(--midnight) 28%, transparent) 100%);
}
.entry-card { border: 1px solid color-mix(in srgb, var(--ivory) 8%, transparent); }
.entry-copy { position: absolute; inset: auto 0 0 0; padding: clamp(1.6rem, 4vw, 2.6rem); }
.entry-copy .eyebrow { color: var(--ivory); opacity: 0.82; }
.entry-copy h2 { color: var(--ivory); margin-bottom: 0.5rem; font-size: clamp(2rem, 4.5vw, 3rem); text-shadow: 0 2px 24px color-mix(in srgb, var(--midnight) 60%, transparent); }
.entry-copy p { color: color-mix(in srgb, var(--ivory) 92%, transparent); max-width: 46ch; margin-bottom: 1.2rem; font-size: 0.95rem; text-shadow: 0 1px 12px color-mix(in srgb, var(--midnight) 70%, transparent); }
.entry-cta {
  color: var(--gold-pale);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.entry-cta .arr { transition: transform 0.35s var(--ease-out); display: inline-block; }
.entry-card:hover .arr { transform: translateX(8px); }

/* ---------------- pillars ---------------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; text-align: center; }
.pillars strong { display: block; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.3rem; }
.pillars p { font-size: 0.88rem; color: var(--ink-soft); }
.pillar-mark { color: var(--gold); font-size: 1.4rem; display: block; margin-bottom: 0.6rem; }

/* commitments strip — staggered entrance (JS adds .in-view per card),
   cascading inner content, gold hairline draw, shimmer sweep */
.commit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.commit-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.commit-card.in-view { opacity: 1; transform: none; }
.commit-card.in-view:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-pale); }
.commit-card .cnum { font-family: var(--accent); font-style: italic; color: var(--gold-pale); font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 0.5rem; }
.commit-card strong { font-family: var(--serif); font-size: 1.25rem; display: block; margin-bottom: 0.4rem; }
.commit-card p { font-size: 0.86rem; color: var(--ink-soft); }
.commit-card .cnum, .commit-card strong, .commit-card p { opacity: 0; transform: translateY(16px); }
.commit-card .cnum { transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s, color 0.3s ease, letter-spacing 0.4s var(--ease-out); }
.commit-card strong { transition: opacity 0.7s var(--ease-out) 0.28s, transform 0.7s var(--ease-out) 0.28s; }
.commit-card p { transition: opacity 0.7s var(--ease-out) 0.4s, transform 0.7s var(--ease-out) 0.4s; }
.commit-card.in-view .cnum, .commit-card.in-view strong, .commit-card.in-view p { opacity: 1; transform: none; }
.commit-card:hover .cnum { color: var(--gold-bright); letter-spacing: 0.06em; }
/* gold hairline draws outward across the top edge */
.commit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transition: width 0.9s var(--ease-out) 0.45s, left 0.9s var(--ease-out) 0.45s;
}
.commit-card.in-view::before { width: 100%; left: 0; }
/* one-time light sweep after the card lands */
.commit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--midnight) 5%, transparent) 40%, color-mix(in srgb, var(--ivory) 50%, transparent) 50%, color-mix(in srgb, var(--midnight) 5%, transparent) 60%, transparent);
  pointer-events: none;
}
.commit-card.in-view::after { animation: shimmerSweep 1.4s var(--ease-out) 0.55s both; }
@keyframes shimmerSweep { to { transform: translateX(130%) skewX(-18deg); } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--platinum);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  font-size: 0.88rem;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(140px, 1fr)) 1.3fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-word { font-size: 1.5rem; color: var(--gold-bright); }
.site-footer h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-pale); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--platinum); }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-legal { border-top: 1px solid color-mix(in srgb, var(--ivory) 12%, transparent); padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.78rem; color: var(--stone); }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero {
  background: var(--cream);
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
  overflow: hidden;
}
.page-hero h1 { color: var(--ink); }
.page-hero .lede { margin-inline: auto; color: var(--ink-soft); }

/* ============================================================
   Diamonds side
   ============================================================ */
.split-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(1.4rem, 3.5vw, 2.5rem); }
.split-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.split-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.split-card .split-tag {
  align-self: flex-start;
  background: var(--blush);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}
.split-card p { color: var(--ink-soft); font-size: 0.95rem; }
.split-card ul { list-style: none; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.split-card ul li::before { content: '◆ '; color: var(--gold); font-size: 0.6rem; vertical-align: 0.15em; margin-right: 0.4rem; }
.cert-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cert-chip {
  border: 1px solid var(--gold-pale);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out);
}
.cert-chip:hover { background: var(--gold); color: var(--ivory); transform: translateY(-2px); }

.stat-band { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; text-align: center; }
.stat-grid strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 2.9rem); color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.stat-grid span { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne); }

/* ---------------- heritage timeline ---------------- */
.timeline { position: relative; margin-top: clamp(2rem, 5vw, 3.5rem); }
.timeline::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease-out) 0.2s;
}
.timeline.in-view::before { transform: scaleX(1); }
.timeline-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 780px) {
  .timeline::before { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), var(--gold-pale)); transform: scaleY(0); transform-origin: top; }
  .timeline.in-view::before { transform: scaleY(1); }
  .timeline-track { grid-template-columns: 1fr; }
  .tl-item { padding-left: 2rem; }
}
.tl-item { position: relative; padding-top: 2rem; opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
@media (max-width: 780px) { .tl-item { padding-top: 0; } }
.timeline.in-view .tl-item { opacity: 1; transform: none; }
.timeline.in-view .tl-item:nth-child(1) { transition-delay: 0.35s; }
.timeline.in-view .tl-item:nth-child(2) { transition-delay: 0.65s; }
.timeline.in-view .tl-item:nth-child(3) { transition-delay: 0.95s; }
.timeline.in-view .tl-item:nth-child(4) { transition-delay: 1.25s; }
.tl-item::before {
  content: '◆';
  position: absolute;
  top: 0; left: 0;
  color: var(--gold);
  font-size: 0.85rem;
  line-height: 1.4;
}
.tl-item .tl-year { font-family: var(--serif); font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--gold); line-height: 1.1; }
.tl-item h3 { font-size: 1.1rem; margin: 0.3rem 0; }
.tl-item p { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------------- manufacturing process ---------------- */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.process-step {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.6rem; right: 0.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 4.2rem;
  color: var(--blush-deep);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; position: relative; }
.process-step p { font-size: 0.88rem; color: var(--ink-soft); position: relative; }

/* ---------------- people quotes ---------------- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.person-card {
  background: var(--blush);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  transition: transform 0.4s var(--ease-out);
}
.person-card:hover { transform: translateY(-5px) rotate(-0.5deg); }
.person-card::before {
  content: '“';
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  display: block;
  margin-bottom: 0.8rem;
}
.person-card blockquote { font-family: var(--accent); font-size: 1.05rem; font-style: italic; line-height: 1.5; margin-bottom: 1rem; }
.person-card cite { font-style: normal; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ---------------- 4Cs ---------------- */
.fourcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.c-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.c-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.c-card .c-letter {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}
.c-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.c-card p { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------------- events ---------------- */
.events { display: grid; gap: 1rem; }
.event-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.event-row:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.event-date {
  font-family: var(--serif);
  text-align: center;
  color: var(--gold);
  line-height: 1.1;
  min-width: 74px;
}
.event-date b { font-size: 1.7rem; display: block; }
.event-date span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.event-row h3 { font-size: 1.15rem; }
.event-row p { font-size: 0.84rem; color: var(--ink-soft); }
.event-loc { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (max-width: 640px) { .event-row { grid-template-columns: auto 1fr; } .event-loc { display: none; } }

/* ---------------- watches strip ---------------- */
.watch-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 800px) { .watch-strip { grid-template-columns: 1fr; } }
.watch-strip img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.watch-copy { padding: clamp(1.6rem, 4vw, 3rem); }
.watch-copy h2 { color: var(--ivory); margin-bottom: 0.8rem; }
.watch-copy p { color: var(--ice); font-size: 0.95rem; margin-bottom: 1rem; }
.watch-copy ul { list-style: none; display: grid; gap: 0.4rem; font-size: 0.88rem; color: var(--platinum); margin-bottom: 1.6rem; }
.watch-copy ul li::before { content: '◆ '; color: var(--gold-bright); font-size: 0.6rem; vertical-align: 0.15em; margin-right: 0.4rem; }

/* ---------------- contact block (office cards) ---------------- */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
}
@media (max-width: 900px) { .office-grid { grid-template-columns: 1fr; } }
.office-card {
  display: flex;
  flex-direction: column;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.office-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px color-mix(in srgb, var(--midnight) 8%, transparent); }
.office-tag {
  font: 600 0.68rem var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.office-card h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.office-card address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.93rem;
  margin-bottom: 1.4rem;
}
.office-actions {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.office-actions a { font-weight: 600; font-size: 0.92rem; }

/* ---------------- trade request ---------------- */
.trade-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .trade-grid { grid-template-columns: 1fr; } }
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.2rem);
}
.panel h3 { margin-bottom: 1.2rem; }
.trade-line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.trade-line:last-child { border-bottom: none; }
.trade-line strong { display: block; font-size: 0.95rem; }
.trade-line span { font-size: 0.82rem; color: var(--ink-soft); }
#quotePanel.disabled { opacity: 0.55; }
.confirm-inline { background: var(--blush); border-radius: var(--radius); padding: 1.6rem; }
.confirm-inline h3 { color: var(--gold); margin-bottom: 0.4rem; }

/* ============================================================
   Cut library — gallery tiles
   ============================================================ */
.cut-toolbar { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.cut-search { flex: 1 1 240px; max-width: 340px; }
.cut-search input {
  width: 100%;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: 0.9rem var(--sans);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font: 600 0.76rem var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.pill:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.pill.active { background: var(--gold); border-color: var(--gold); color: var(--ivory); }

/* Cut archive rail: one horizontal scene of numbered cards, à la an
   exhibition wall. Snap-scrolls; even cards sit lower for a scattered feel. */
.cut-rail { position: relative; }
.cut-grid {
  display: flex;
  gap: clamp(1.2rem, 2.6vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.4rem 0.2rem 3.4rem; /* bottom room for the staggered lower row */
  scrollbar-width: none;
  counter-reset: cut;
}
.cut-grid::-webkit-scrollbar { display: none; }
.cut-tile {
  flex: 0 0 clamp(250px, 26vw, 330px);
  scroll-snap-align: start;
  counter-increment: cut;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}
.cut-tile:nth-child(even) { margin-top: 2.6rem; }
.cut-tile-media::before {
  content: '№ ' counter(cut, decimal-leading-zero);
  position: absolute;
  top: 0.85rem; left: 0.95rem;
  z-index: 1;
  font: 600 0.64rem var(--sans);
  letter-spacing: 0.2em;
  color: var(--ink);
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
}
/* rail chrome: progress ruler + arrows */
.cut-rail-foot {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 0.4rem;
}
.cut-ruler {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
}
.cut-ruler-fill {
  position: absolute;
  top: -0.5px; left: 0;
  height: 2px;
  width: 0;
  background: var(--ink);
  transition: width 0.15s linear;
}
.cut-rail-nav { display: flex; gap: 0.5rem; }
.rail-btn {
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}
.rail-btn:hover { border-color: var(--ink); transform: scale(1.06); }
@media (max-width: 720px) {
  .cut-tile { flex-basis: 78vw; }
  .cut-tile:nth-child(even) { margin-top: 1.4rem; }
}
.cut-tile:hover, .cut-tile:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow); }
.cut-tile-media { aspect-ratio: 1/1; overflow: hidden; background: var(--ice); position: relative; }
.cut-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.cut-tile:hover .cut-tile-media img { transform: scale(1.08); }
.cut-tile-media::after {
  content: 'View →';
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--midnight) 65%, transparent), transparent);
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.6rem 1rem 0.7rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
}
.cut-tile:hover .cut-tile-media::after { opacity: 1; transform: none; }
.cut-tile-copy { padding: 0.9rem 1.1rem 1.1rem; }
.cut-tile-copy h3 { font-size: 1.08rem; }
.cut-tile-copy .cut-facts { font-size: 0.7rem; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.15rem; display: block; }
.cut-tile .cut-detail { display: none; }

/* cut detail modal */
.cutmodal-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.2rem, 3vw, 2.2rem); align-items: start; }
@media (max-width: 700px) { .cutmodal-grid { grid-template-columns: 1fr; } }
.cutmodal-grid img { width: 100%; border-radius: 12px; background: var(--ice); }
.cutmodal-copy .cut-facts { font-size: 0.74rem; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; display: block; margin-bottom: 0.5rem; }
.cutmodal-copy h2 { margin-bottom: 0.8rem; }
.cutmodal-copy p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.8rem; }
.cutmodal-copy .cut-use { font-size: 0.82rem; color: var(--gold); font-weight: 600; border-top: 1px dashed var(--line); padding-top: 0.8rem; }

/* ============================================================
   Jewelry boutique
   ============================================================ */
.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.3rem 0;
  border-block: 1px solid var(--line);
  margin-bottom: 2rem;
}
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.4rem; }
.filter-row.primary { justify-content: center; }
.filter-row.secondary { justify-content: space-between; padding-top: 0.2rem; }
.filter-group { display: flex; align-items: center; gap: 0.7rem; }
.filter-label {
  font: 600 0.64rem var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pill-sm { padding: 0.4rem 0.9rem; font-size: 0.66rem; }
.shop-selects { display: flex; gap: 0.7rem; flex-wrap: wrap; }
@media (max-width: 640px) {
  .filter-row.secondary { flex-direction: column; align-items: flex-start; }
}
.shop-selects select {
  font: 500 0.82rem var(--sans);
  padding: 0.55rem 2rem 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' stroke='%23101010' fill='none' stroke-width='1.5'/></svg>") no-repeat right 0.9rem center;
  appearance: none;
  -webkit-appearance: none;
  color: var(--ink);
  cursor: pointer;
}
.result-count { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.06em; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); }

.product-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s var(--ease-out);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.card-media {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--blush);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}
.card-media img,
.card-media video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.product-card:hover .card-media img,
.product-card:hover .card-media video { transform: scale(1.07); }
.card-badge {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  color: var(--gold);
  font: 700 0.66rem var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
.wish-btn {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 2.3rem; height: 2.3rem;
  border-radius: 50%;
  border: none;
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  color: var(--stone);
  font-size: 1.05rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.25s var(--ease-out);
  display: grid;
  place-items: center;
}
.wish-btn:hover { transform: scale(1.15); color: var(--danger); }
.wish-btn.loved { color: var(--danger); animation: heartPop 0.4s var(--ease-out); }
@keyframes heartPop { 40% { transform: scale(1.35); } }
.card-copy { padding: 1.1rem 1.2rem 1.3rem; }
.card-meta { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.3rem; }
.card-copy h3 .linklike { color: var(--ink); font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
.card-copy h3 .linklike:hover { color: var(--gold); text-decoration: none; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.8rem; gap: 0.5rem; }
.card-price { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--gold); }

.empty-state { color: var(--ink-soft); font-style: italic; padding: 2rem 0; }

/* ============================================================
   Modals & drawer
   ============================================================ */
.modal {
  position: fixed; inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: color-mix(in srgb, var(--midnight) 45%, transparent);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 80;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-panel {
  background: var(--paper);
  border-radius: var(--radius);
  width: min(880px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  transform: translateY(22px) scale(0.99);
  transition: transform 0.35s var(--ease-out);
}
.modal.open .modal-panel { transform: none; }
.modal-panel.narrow { width: min(480px, 100%); }
.modal-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
  z-index: 2;
  transition: transform 0.3s var(--ease-out), border-color 0.2s ease, color 0.2s ease;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); }
@media (max-width: 720px) { .pd-grid { grid-template-columns: 1fr; } }
.pd-main { border-radius: 12px; overflow: hidden; background: var(--blush); aspect-ratio: 1/1; }
.pd-gallery img,
.pd-main video { border-radius: 12px; aspect-ratio: 1/1; object-fit: cover; width: 100%; height: 100%; background: var(--blush); display: block; }
.pd-thumbs { display: flex; gap: 0.6rem; margin-top: 0.7rem; flex-wrap: wrap; }
.pd-thumb { position: relative; width: 64px; height: 64px; border-radius: 9px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--blush); }
.pd-thumb.active { border-color: var(--gold); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--ivory); font-size: 0.7rem; background: color-mix(in srgb, var(--midnight) 28%, transparent); text-shadow: 0 1px 4px color-mix(in srgb, var(--midnight) 60%, transparent);
}
.pd-details h2 { margin-bottom: 0.6rem; }
.pd-desc { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1rem; }
.pd-price { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }
.pd-breakdown { border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem 1.1rem; margin-bottom: 1.4rem; font-size: 0.88rem; }
.pd-breakdown table { width: 100%; border-collapse: collapse; }
.pd-breakdown td { padding: 0.4rem 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.pd-breakdown td:last-child { text-align: right; color: var(--ink); font-weight: 600; }
.pd-breakdown .pd-total td { border-bottom: none; color: var(--gold); font-weight: 700; }
.pd-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.6rem; }
.pd-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* drawer */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 94vw);
  background: var(--paper);
  box-shadow: -20px 0 60px color-mix(in srgb, var(--midnight) 22%, transparent);
  transform: translateX(105%);
  transition: transform 0.45s var(--ease-out);
  z-index: 90;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.6rem 1.5rem; display: grid; gap: 0.5rem; }
.cart-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--ink-soft); }
.cart-row.total { font-size: 1.05rem; color: var(--ink); font-weight: 700; padding-top: 0.5rem; border-top: 1px dashed var(--line); }

.cart-line { display: grid; grid-template-columns: 68px 1fr auto; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; background: var(--blush); }
.cart-line-copy strong { font-family: var(--serif); font-size: 1rem; display: block; }
.cart-line-copy span { font-size: 0.76rem; color: var(--ink-soft); }
.cart-line-price { font-weight: 700; color: var(--gold); font-size: 0.92rem; }
.qty-row { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 0.4rem; }
.qty-row button {
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--ink);
}
.qty-row button:hover { border-color: var(--gold); color: var(--gold); }

/* ---------------- checkout ---------------- */
.steps { display: flex; gap: 0.4rem; list-style: none; margin-bottom: 1.6rem; }
.steps li {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--line);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.steps li.current { color: var(--gold); border-color: var(--gold); }
.steps li.done { color: var(--gold); border-color: var(--gold-pale); }
.order-summary-line { display: flex; justify-content: space-between; align-items: center; background: var(--blush); border-radius: 10px; padding: 0.9rem 1.2rem; font-size: 0.95rem; }
.sec-note { font-size: 0.85rem; color: var(--gold); background: var(--blush); border-radius: 10px; padding: 0.8rem 1.1rem; }
.demo-otp { background: var(--blush); border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.9rem; margin: 0.8rem 0 1rem; }
.confirm-panel { text-align: center; padding: 1.5rem 0.5rem; display: grid; gap: 0.9rem; justify-items: center; }
.confirm-mark {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--gold);
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  animation: confirmPop 0.6s var(--ease-out);
}
@keyframes confirmPop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } }
.confirm-panel p { color: var(--ink-soft); max-width: 44ch; }

/* ============================================================
   Account
   ============================================================ */
.account-head { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; align-items: flex-start; margin-bottom: 2.2rem; }
.sec-status { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.6rem; }
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; align-items: start; }
.account-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.account-panel h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.order-row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.order-row:last-of-type { border-bottom: none; }
.order-row strong { display: block; }
.order-row span { font-size: 0.78rem; color: var(--ink-soft); }
.order-total { font-weight: 700; color: var(--gold); white-space: nowrap; }

.auth-wrap { display: grid; place-items: center; padding: 2rem 0 3rem; }
.auth-panel {
  width: min(440px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.auth-tabs { display: flex; gap: 0.4rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.auth-tabs button {
  flex: 1;
  background: none;
  border: none;
  font: 600 0.85rem var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.8rem 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.auth-tabs button.active { color: var(--gold); border-color: var(--gold); }

/* ============================================================
   Toast
   ============================================================ */
#toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 140%);
  background: var(--ink);
  color: var(--cream);
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease-out);
  z-index: 120;
  max-width: 90vw;
  text-align: center;
}
#toast.show { transform: translate(-50%, 0); }

/* ---------------- inquiry form section ---------------- */
.inquiry-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .inquiry-wrap { grid-template-columns: 1fr; } }
.inquiry-side p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1rem; }
.inquiry-side .cert-row { margin-top: 1rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.6rem;
  background: var(--gold);
  color: var(--ivory);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  z-index: 200;
}
.skip-link:focus { left: 0.6rem; }

/* Virtual ring try-on */
.tryon-panel { width: min(760px, 100%); }
.tryon-panel h2 { margin-bottom: 0.25rem; }
.tryon-status, .tryon-help { color: var(--ink-soft); font-size: 0.9rem; }
.tryon-status { min-height: 1.5em; margin-bottom: 0.8rem; }
.tryon-help { margin-top: 0.8rem; }
.tryon-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--midnight); }
.tryon-stage video, .tryon-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tryon-stage video { object-fit: cover; transform: scaleX(-1); }
.tryon-stage svg { pointer-events: none; overflow: visible; }
@media (max-width: 600px) { .tryon-panel { padding: 1rem; } .tryon-stage { aspect-ratio: 3 / 4; } }

/* Palette application across the shared site stylesheet */
a { color: var(--ink); transition: color 250ms ease, text-decoration-color 250ms ease; }
a:hover { color: var(--ink); text-decoration-color: var(--champagne); }
:focus-visible { outline-color: var(--champagne); transition: outline-color 250ms ease, box-shadow 250ms ease; }

.site-nav a::after { background: var(--champagne); transition: right 250ms var(--ease-out); }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.icon-button:hover,
.cart-button:hover { border-color: var(--champagne); }
.icon-button:hover { color: var(--bordeaux); }

.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: var(--midnight); border-color: var(--midnight); }
.btn-ghost {
  color: var(--bordeaux);
  border-color: var(--bordeaux);
  background: transparent;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 200ms var(--ease-out), box-shadow 250ms ease;
}
.btn-ghost:hover { background: var(--bordeaux); color: var(--ivory); }

.hero .spark,
.circle-seal-mark,
.commit-card .cnum { color: var(--champagne); }
.commit-card::before { background: linear-gradient(90deg, transparent, var(--champagne), transparent); }
.commit-card.in-view:hover { border-color: var(--champagne); }

.entry-card[href="diamonds.html"] .entry-scrim {
  background: linear-gradient(to top, color-mix(in srgb, var(--midnight) 92%, transparent), color-mix(in srgb, var(--midnight) 16%, transparent) 80%);
}
.entry-card[href="diamonds.html"] .entry-copy .eyebrow,
.entry-card[href="diamonds.html"] .entry-cta { color: var(--platinum); }
.entry-card[href="jewelry.html"] .entry-scrim {
  background: linear-gradient(to top, color-mix(in srgb, var(--bordeaux) 92%, transparent), color-mix(in srgb, var(--bordeaux) 16%, transparent) 80%);
}
.entry-card[href="jewelry.html"] .entry-copy .eyebrow,
.entry-card[href="jewelry.html"] .entry-cta { color: var(--champagne); }

.site-footer,
.stat-band { background: linear-gradient(135deg, var(--midnight), var(--bordeaux)); color: var(--ivory); }
.site-footer .brand-word,
.site-footer h4,
.stat-grid span { color: var(--champagne); }
.site-footer a { color: color-mix(in srgb, var(--ivory) 70%, transparent); }
.site-footer a:hover { color: var(--ivory); }
.footer-legal { color: var(--platinum); border-color: color-mix(in srgb, var(--ivory) 12%, transparent); }
.stat-grid strong { color: var(--ivory); }
