/* Grand Diamonds: editorial storefront.
   Rules from our fashion-house teardown: one quiet sans for all UI, one high-contrast serif for brand
   moments, black on paper, strict tile ratios, no decoration that the product photography doesn't earn. */

:root {
  --paper: #f5f3ee;
  --stone: #e4e0d5;          /* tile + 3D stage: sits under the studio renders */
  --stone-deep: #d9d4c6;
  --ink: #141311;
  --ink-soft: #3b3833;
  --muted: #77726a;
  --hair: rgba(20, 19, 17, .14);
  --taupe: #a89a80;          /* Grand Diamonds brand accent, used for focus + hairline details only */
  --paper-rgb: 245, 243, 238; /* for translucent paper (fades, glass panels) */
  --ink-rgb: 20, 19, 17;
  --stage-hi: #efece4;        /* 3D stage highlight */
  --stage-spin: #e0dcd3;      /* backdrop behind the 360 renders (matches their cream studio) */
  --film-bg: #e9e3d8;
  color-scheme: light;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --sans: "Jost", "Futura", "Century Gothic", sans-serif;

  --pad: clamp(16px, 2.4vw, 40px);
  --header: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* Dark: A fashion house's own dark theme is one variable set flipped (main #000 -> #fff, every step of the grey scale reversed), applied
   by a class. Same idea here, translated to the jeweller: warm near-black instead of pure black, cream ink, champagne accent.
   Product photos and renders keep their cream studio backgrounds (they are content), so they read as lit prints on the page. */
html[data-theme="dark"] {
  --paper: #121110;
  --stone: #1b1a17;
  --stone-deep: #23211d;
  --ink: #efe9de;
  --ink-soft: #cfc7b8;
  --muted: #958e82;
  --hair: rgba(239, 233, 222, .14);
  --taupe: #c9b78f;
  --paper-rgb: 18, 17, 16;
  --ink-rgb: 239, 233, 222;
  --stage-hi: #2a2723;
  --stage-spin: #1b1a17;
  --film-bg: #0d0c0b;
  color-scheme: dark;
}
/* Sections that are dark by design (the October offer, the closing film) stay dark in both modes, as a fashion house's editorial
   sections do: they keep the light palette's values locally, so their own "ink" background and "paper" text don't flip. */
html[data-theme="dark"] .offer, html[data-theme="dark"] .closing {
  --paper: #f5f3ee; --ink: #0b0a09; --stone: #e4e0d5; --taupe: #a89a80; --paper-rgb: 245, 243, 238; --ink-rgb: 20, 19, 17;
}
/* The 360 viewers keep their cream studio backdrop in dark mode too: the renders are content (the rule: media never
   recolours), so the viewer reads as a lit display case on the dark page. Feathering the frame was tried and cropped the
   ring on tall phone screens. */
html[data-theme="dark"] .three60, html[data-theme="dark"] .stage.is-spin {
  --stage-spin: #e0dcd3; --paper: #f5f3ee; --ink: #141311; --ink-soft: #3b3833; --muted: #77726a; --hair: rgba(20, 19, 17, .14);
  --paper-rgb: 245, 243, 238; --ink-rgb: 20, 19, 17; color: var(--ink);
}
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; }
html[data-lock="light"] .theme-toggle { display: none; }   /* light-only showcase (?showcase) */
.theme-toggle i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
@media (max-width: 760px) {   /* phones: icon only, so the wordmark and bag keep their room */
  .theme-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .theme-toggle { padding: 10px 6px; } .theme-toggle i { width: 12px; height: 12px; }
  .site-header .utility > a { white-space: nowrap; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 13px/1.55 var(--sans);
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--taupe); outline-offset: 3px; }

.caps { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 400; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- announcement + header ---------- */
.announce {
  text-align: center; padding: 9px var(--pad); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink-soft);
  border-bottom: 1px solid var(--hair);
}
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: box-shadow .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--hair); }
.nav { display: flex; gap: 28px; align-items: center; }
.burger { width: 34px; height: 14px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); }
.burger::before { top: 2px; } .burger::after { bottom: 2px; }
.nav a { position: relative; }
.nav a::after, .utility a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current]::after, .utility a:hover::after { transform: scaleX(1); transform-origin: left; }

.wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark b { font: 400 25px/1 var(--serif); letter-spacing: .14em; }
.wordmark small { font-size: 8.5px; letter-spacing: .5em; margin-top: 6px; color: var(--muted); padding-left: .5em; }

.utility { display: flex; justify-content: flex-end; align-items: center; gap: 26px; }
.utility a { position: relative; }
.search {
  display: flex; align-items: center; width: 180px; border-bottom: 1px solid var(--ink);
  padding: 4px 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.search input { border: 0; background: none; outline: 0; font: inherit; width: 100%; color: inherit; text-transform: uppercase; }
.search input::placeholder { color: var(--ink); }

/* ---------- shop intro ---------- */
.intro {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--pad);
  align-items: end; padding: clamp(40px, 7vw, 110px) var(--pad) clamp(28px, 4vw, 56px);
}
.intro h1 {
  margin: 0; font: 400 clamp(64px, 11.5vw, 188px)/.86 var(--serif); letter-spacing: -.035em;
}
.intro h1 em { font-style: italic; font-weight: 400; }
.intro aside { max-width: 380px; justify-self: end; padding-bottom: .6em; }
.intro aside p { margin: 0 0 18px; font-size: 14px; color: var(--ink-soft); }
.count { font: italic 400 15px var(--serif); letter-spacing: 0; }

/* ---------- filter bar ---------- */
.filters {
  position: sticky; top: var(--header); z-index: 40;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 14px var(--pad); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tabs { display: flex; gap: 22px; }
.tab { padding: 4px 0; color: var(--muted); transition: color .3s; }
.tab[aria-pressed="true"], .tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { box-shadow: inset 0 -1px 0 var(--ink); }
.shapes { display: flex; gap: 6px; margin-left: auto; }
.shape {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  color: var(--muted); transition: color .3s, background .3s;
}
.shape svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1; }
.shape:hover { color: var(--ink); }
.shape[aria-pressed="true"] { color: var(--ink); background: var(--stone); }
.tools { display: flex; gap: 18px; align-items: center; }
.tools select { font: inherit; border: 0; background: none; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; cursor: pointer; color: inherit; }
.density { display: flex; gap: 8px; }
.density button { width: 16px; height: 16px; display: grid; gap: 2px; opacity: .35; transition: opacity .3s; }
.density button[aria-pressed="true"], .density button:hover { opacity: 1; }
.density i { display: block; background: var(--ink); }
.density [data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.density [data-cols="4"] { grid-template-columns: repeat(3, 1fr); }
.density [data-cols="6"] { grid-template-columns: repeat(4, 1fr); }

/* ---------- product grid ---------- */
.grid {
  --cols: 4;
  max-width: calc(var(--cols) * 540px); margin-inline: auto; /* never stretch a photo past its native ~500-1000px */
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-flow: row dense;
  column-gap: clamp(6px, 1vw, 14px); row-gap: clamp(28px, 3.4vw, 56px);
  padding: clamp(24px, 3vw, 44px) var(--pad) 120px;
}
.tile { position: relative; opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.tile.is-in { opacity: 1; transform: none; }
.tile figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .7s var(--ease), transform 1.4s var(--ease);
}
.tile img + img { opacity: 0; }
.tile:hover img:first-child { opacity: 0; }
.tile:hover img + img { opacity: 1; transform: scale(1.03); }
.tile .badge { position: absolute; top: 12px; left: 12px; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; }
.tile .meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding-top: 12px; }
.tile .name { text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; font-weight: 400; }
.tile .price { font-size: 12px; white-space: nowrap; }
.tile .spec { grid-column: 1 / -1; color: var(--muted); font-size: 11.5px; }
.metals { display: flex; gap: 5px; margin-top: 8px; grid-column: 1 / -1; }
.metal-dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

.editorial {
  grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--paper);
  min-height: 100%; overflow: hidden;
}
.editorial .copy { padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; justify-content: space-between; }
.editorial blockquote { margin: 0; font: italic 400 clamp(26px, 2.6vw, 42px)/1.08 var(--serif); letter-spacing: -.01em; }
.editorial figure { margin: 0; background: var(--stone); position: relative; }
.editorial img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; font: italic 22px var(--serif); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: 0; }
.gallery { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--pad); padding: 0 0 0 var(--pad); }
.thumbs { position: sticky; top: calc(var(--header) + 24px); align-self: start; display: grid; gap: 8px; padding-top: 24px; }
.thumbs a { display: block; aspect-ratio: 4 / 5; background: var(--stone); opacity: .45; transition: opacity .3s; overflow: hidden; }
.thumbs a.is-active, .thumbs a:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
/* Two photos per row so their files (501-1000px wide) are never shown larger than their native size. */
.frames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-top: 24px; align-items: start; }
.frame { position: relative; margin: 0; background: var(--stone); overflow: hidden; }
.frame img { width: 100%; height: auto; }

.open-3d {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 13px;
  background: var(--paper); text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; font-weight: 400;
  box-shadow: 0 1px 0 var(--hair); transition: background .3s, color .3s;
}
.open-3d svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.1; }
.open-3d:hover { background: var(--ink); color: var(--paper); }
.open-3d .spin { animation: turn 6s linear infinite; transform-origin: center; }
@keyframes turn { to { transform: rotate(360deg); } }

.info { position: sticky; top: var(--header); align-self: start; padding: 48px var(--pad) 64px clamp(28px, 4vw, 72px); max-height: calc(100vh - var(--header)); overflow: auto; scrollbar-width: none; }
.info::-webkit-scrollbar { display: none; }
.crumbs { display: flex; gap: 8px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.info .tag { margin-top: 36px; color: var(--muted); }
.info h1 { margin: 6px 0 0; font: 400 clamp(44px, 4.6vw, 76px)/.95 var(--serif); letter-spacing: -.02em; }
.info .lede { margin: 18px 0 0; font-size: 14px; color: var(--ink-soft); max-width: 44ch; }
.info .price-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.info .price-row strong { font-weight: 400; font-size: 18px; letter-spacing: .04em; }

.option { margin-top: 24px; }
.option header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; position: relative; transition: transform .3s var(--ease); }
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid transparent; transition: border-color .3s; }
.swatch[aria-pressed="true"]::after { border-color: var(--ink); }
.swatch:hover { transform: scale(1.06); }
.swatch .k { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.swatches.has-karat { padding-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 9px 14px; border: 1px solid var(--hair); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; transition: border-color .3s, background .3s, color .3s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.cta { display: grid; gap: 8px; margin-top: 32px; }
.btn { display: flex; justify-content: center; align-items: center; height: 52px; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 400; border: 1px solid var(--ink); transition: background .35s var(--ease), color .35s var(--ease); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; color: var(--muted); font-size: 11px; }
.promises span::before { content: "—"; margin-right: 6px; color: var(--taupe); }

.acc { margin-top: 36px; border-top: 1px solid var(--hair); }
.acc details { border-bottom: 1px solid var(--hair); }
.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 16px 0; cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 400; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 300; transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 0 18px; color: var(--ink-soft); font-size: 13px; }
.acc dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.acc dt { color: var(--muted); }
.acc dd { margin: 0; }

.related { padding: 100px var(--pad) 120px; }
.related h2 { margin: 0 0 28px; font: italic 400 clamp(32px, 3.4vw, 54px)/1 var(--serif); }
.related .grid { --cols: 4; padding: 0; }

/* ---------- 3D stage ---------- */
.stage {
  position: fixed; z-index: 45; top: var(--header); bottom: 0; left: 0;
  width: var(--stage-w, 59vw);
  background: radial-gradient(120% 90% at 50% 38%, var(--stage-hi) 0%, var(--stone) 55%, var(--stone-deep) 100%);
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s;
}
.stage.is-open { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; outline: none; touch-action: none; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.stage .poster {
  position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: opacity .8s var(--ease), transform 1.2s var(--ease); pointer-events: none;
}
.stage.is-ready .poster { opacity: 0; transform: scale(.96); }
.stage .progress { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .3s linear, opacity .5s .3s; }
.stage.is-ready .progress { opacity: 0; }
.stage .loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; transition: opacity .4s; }
.stage.is-ready .loading { opacity: 0; }
.stage .close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--paper); }
.stage .close svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 1.2; }
.stage .modes { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; background: var(--paper); padding: 4px; box-shadow: 0 1px 0 var(--hair); }
.stage .modes button { padding: 10px 16px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: background .3s, color .3s; white-space: nowrap; }
.stage .modes button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.stage .hint { position: absolute; top: 56px; left: 24px; display: flex; align-items: center; gap: 10px; color: var(--ink-soft); transition: opacity .6s; }
.stage .hint svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1; }
.stage .hint.is-gone { opacity: 0; }
.stage .note { position: absolute; right: 24px; bottom: 34px; max-width: 220px; text-align: right; color: var(--muted); font-size: 11px; }
.stage .metal-now { position: absolute; left: 24px; bottom: 34px; font: italic 400 22px var(--serif); letter-spacing: 0; transition: opacity .4s; }

.stage .spin-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%;
  cursor: grab; user-select: none; touch-action: pan-y; transition: opacity .16s ease;
}
.stage .spin-frame:active { cursor: grabbing; }
.stage.is-spin .spin-frame { touch-action: none; }  /* full-screen viewer: vertical drags tilt instead of scrolling */
.tilt { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); z-index: 3; display: grid; gap: 4px; }
.tilt button { min-width: 58px; padding: 10px 12px; background: color-mix(in srgb, var(--paper) 84%, transparent); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: background .3s, color .3s; }
.tilt button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.stage .spin-frame.is-swapping { opacity: .35; }
.stage.is-spin { background: var(--stage-spin); }
.stage.is-spin .poster { display: none; }

/* ---------- photo viewer ---------- */
.frame { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: var(--paper); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: 20px 0 16px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.lb-figure { margin: 0; grid-column: 2; grid-row: 1; display: grid; justify-items: center; gap: 12px; max-height: 100%; }
.lb-figure img { max-width: min(100%, var(--native, 100%)); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; image-rendering: auto; }
.lb-figure figcaption { color: var(--muted); }
.lightbox button svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 1.2; fill: none; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; }
.lb-prev, .lb-next { width: 48px; height: 48px; display: grid; place-items: center; }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
.lb-strip { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 6px; overflow-x: auto; max-width: 100%; padding: 0 16px; scrollbar-width: none; }
.lb-strip button { flex: 0 0 auto; width: 52px; opacity: .45; transition: opacity .3s; }
.lb-strip button[aria-current="true"], .lb-strip button:hover { opacity: 1; }
.lb-strip img { width: 52px; height: 64px; object-fit: cover; }
@media (max-width: 900px) {
  .lightbox { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { display: none; }
  .lb-figure { grid-column: 1; }
  .lb-figure img { max-height: calc(100svh - 140px); }
}

/* ---------- concept mark ---------- */
.concept-mark {
  position: fixed; right: 14px; bottom: 14px; z-index: 80; padding: 7px 11px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 86%, transparent); color: var(--paper);
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: .82; transition: opacity .3s;
}
.concept-mark b { font-weight: 500; }
.concept-mark:hover { opacity: 1; }
body:has(.pdp) .concept-mark { right: auto; left: 14px; }
body:has(.buybar.is-on) .concept-mark { bottom: calc(80px + env(safe-area-inset-bottom)); }
body.menu-open .concept-mark { display: none; }

/* ---------- reviews: trust line + product quote ---------- */
.trust { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s; }
.trust svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1; }
.trust:hover { color: var(--ink); }
.trust.is-quiet { margin-top: 18px; display: flex; }
.pdp-quote { margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--hair); }
.pdp-quote p { margin: 0 0 12px; font: italic 400 19px/1.35 var(--serif); letter-spacing: -.005em; color: var(--ink); }
.pdp-quote footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hair); padding: 56px var(--pad) 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--pad); }
.site-footer .big { font: 400 clamp(36px, 4vw, 64px)/.95 var(--serif); letter-spacing: -.02em; }
.site-footer h3 { margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink-soft); }
.site-footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--muted); padding-top: 36px; font-size: 11px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav .hide-md, .utility .hide-md { display: none; }
  .shapes { margin-left: 0; order: 3; width: 100%; overflow-x: auto; }
}
/* ---------- full-screen menu (the hamburger opens the whole store) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--paper); display: grid; grid-template-rows: auto 1fr auto;
  padding: 0 var(--pad) calc(28px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.menu .top { height: var(--header); display: flex; align-items: center; justify-content: space-between; }
.menu .close-menu { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -12px; }
.menu .close-menu svg { width: 16px; height: 16px; stroke: var(--ink); stroke-width: 1.2; }
.menu nav { align-self: center; display: grid; gap: clamp(6px, 1.4vh, 14px); }
.menu nav a { font: 400 clamp(38px, 6vw, 72px)/1.02 var(--serif); letter-spacing: -.025em; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
.menu nav a em { font-style: italic; }
.menu nav a small { font: 400 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-left: 10px; vertical-align: middle; }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .04s; } .menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .12s; } .menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.menu.is-open nav a:nth-child(6) { transition-delay: .2s; }
.menu nav a:hover { color: var(--taupe); }
.menu .foot { display: flex; flex-wrap: wrap; gap: 12px 26px; color: var(--ink-soft); }
body.menu-open { overflow: hidden; }

/* ---------- sticky enquiry bar (ADD stays within thumb reach) ---------- */
.buybar { display: none; }

@media (max-width: 900px) {
  :root { --header: 56px; --pad: 16px; }
  .nav a, .search { display: none; }
  .burger { width: 44px; height: 44px; margin-left: -6px; }
  .burger::before { top: 17px; left: 6px; right: 6px; } .burger::after { bottom: 17px; left: 6px; right: 6px; }
  .wordmark b { font-size: 18px; letter-spacing: .12em; }
  .wordmark small { display: none; }
  .utility { gap: 16px; }
  .announce { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 9.5px; letter-spacing: .14em; padding: 8px var(--pad); }

  /* collection: one slim sticky row of chips, shapes scroll sideways, like a fashion house's category bar */
  .intro { grid-template-columns: 1fr; padding: 34px var(--pad) 22px; }
  .intro h1 { font-size: 22vw; }
  .intro aside { justify-self: start; }
  .filters { flex-wrap: nowrap; gap: 0; padding: 0; flex-direction: column; align-items: stretch; }
  .filters > * { padding: 0 var(--pad); }
  .tabs { overflow-x: auto; scrollbar-width: none; gap: 20px; padding-top: 12px; padding-bottom: 10px; white-space: nowrap; }
  .tabs::-webkit-scrollbar, .shapes::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; }
  .shapes { order: 0; margin: 0; width: auto; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; gap: 2px; }
  .shape { flex: 0 0 auto; width: 40px; height: 40px; }
  .tools { justify-content: space-between; border-top: 1px solid var(--hair); padding-top: 8px; padding-bottom: 8px; }
  .density [data-cols="6"] { display: none; }
  .grid { --cols: 2 !important; column-gap: 4px; row-gap: 26px; padding: 4px 4px 80px; }
  .tile .meta { padding: 10px 8px 0; }
  .tile .name { font-size: 10.5px; } .tile .price, .tile .spec { font-size: 11px; }
  .editorial { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .editorial figure { aspect-ratio: 4 / 5; }

  /* product page: swipe the photos, info below, the enquiry stays in reach */
  .pdp { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; padding: 0; }
  .thumbs { display: none; }
  .frames { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 0; gap: 0; scrollbar-width: none; }
  .frames::-webkit-scrollbar { display: none; }
  .frame { flex: 0 0 100%; scroll-snap-align: start; }
  .frame img { width: 100%; height: auto; }
  .open-3d { left: 12px; bottom: 12px; }
  .info { position: static; max-height: none; padding: 22px var(--pad) 120px; }
  .info .tag { margin-top: 18px; }
  .info h1 { font-size: 15vw; }
  .promises { grid-template-columns: 1fr; gap: 4px; }
  .swatch { width: 34px; height: 34px; }
  .chip { padding: 11px 14px; }
  .buybar {
    display: flex; position: fixed; z-index: 44; left: 0; right: 0; bottom: 0; gap: 12px; align-items: center;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--hair);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .buybar.is-on { transform: none; }
  .buybar .bb-name { flex: 1; min-width: 0; display: grid; }
  .buybar .bb-name b { font-weight: 400; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .bb-name span { font-size: 12px; color: var(--muted); }
  .buybar .btn { height: 46px; padding: 0 20px; flex: 0 0 auto; }
  .stage { left: 0; width: 100vw !important; top: 0; z-index: 60; }
  .stage .note { display: none; }
  .related { padding: 70px 0 100px; }
  .related h2 { padding: 0 var(--pad); }
  .related .grid { --cols: 2; }

  .site-footer { grid-template-columns: 1fr 1fr; gap: 28px var(--pad); padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .site-footer > div:first-child { grid-column: 1 / -1; }
  .site-footer .big { font-size: 13vw; }
  .site-footer .legal { flex-direction: column; gap: 6px; }
  .menu nav a { font-size: 11vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .tile { opacity: 1; transform: none; }
}
