/* Sol & Prism storefront — shared layer v2.
   Bodoni Moda carries every headline, price and name; Jost carries reading and UI.
   Bright white light, a signature jewel tone for depth, gold for fine detail. */
@import url("./tokens.css");

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip; font-feature-settings: "kern", "liga"; font-variant-numeric: lining-nums;
}
img, canvas, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--jewel); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 0.98; font-variant-numeric: lining-nums; }
.display em, .serif em { font-style: italic; }
.serif { font-family: var(--font-display); font-weight: 400; }
.eyebrow { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--jewel); }
/* .mono / .mono-up are legacy class names: they now render in Jost, never in a monospace */
.mono { font-family: var(--font-body); font-size: 13.5px; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; font-weight: 400; }
.mono-up { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.lede { font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.65; font-weight: 300; max-width: 46ch; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gutter { padding-inline: clamp(16px, 3.9vw, 75px); }
.rule { height: 1px; background: currentColor; opacity: .14; border: 0; margin: 0; }
.gold-rule { height: 1px; border: 0; margin: 0; background: var(--gold-grad); opacity: .8; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  padding: 18px 32px; border: 1px solid currentColor; border-radius: 999px; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s, box-shadow .45s;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--jewel); transform: translateY(101%); transition: transform .55s var(--ease-out); z-index: -1; border-radius: inherit; }
.btn:hover { color: #fff; border-color: var(--jewel); }
.btn:hover::before { transform: translateY(0); }
.btn span { position: relative; }
.btn.solid { background: var(--jewel); color: #fff; border-color: var(--jewel); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--jewel) 70%, transparent); }
.btn.solid::before { background: var(--gold-grad); }
.btn.solid:hover { color: var(--ink); border-color: var(--gold-bright); }
.btn.light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn.light::before { background: #fff; }
.btn.light:hover { color: var(--jewel-deep); border-color: #fff; }
.btn .arr { width: 16px; height: 8px; }
.link-u { position: relative; display: inline-block; padding-bottom: 3px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.link-u:hover { background-size: 100% 1px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px clamp(16px, 3.9vw, 75px); color: var(--ink);
  transition: transform .6s var(--ease-out), background-color .4s, color .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled { background: color-mix(in srgb, var(--white) 82%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); padding-block: 12px; }
.nav.on-dark { color: #fff; }
.nav.on-dark.scrolled { background: color-mix(in srgb, var(--jewel-night) 55%, transparent); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav.hide { transform: translateY(-110%); }
.nav-left, .nav-right { display: flex; gap: clamp(16px, 2vw, 34px); align-items: center; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.nav-right { justify-content: flex-end; }
.wordmark { font-family: var(--font-display); font-size: 27px; font-weight: 500; letter-spacing: 0.4em; text-indent: 0.4em; line-height: 1; text-align: center; color: var(--jewel); }
.wordmark small { display: block; font-family: var(--font-body); font-size: 10.5px; font-weight: 500; letter-spacing: 0.7em; text-indent: .7em; margin-top: 7px; color: var(--gold); }
.nav.on-dark .wordmark { color: #fff; }
.nav.on-dark .wordmark small { color: var(--gold-bright); }
.rate-chip { display: inline-flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.rate-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 3px rgba(47,191,113,.18); animation: pulse 2.4s 3; }   /* a few pulses, not forever: an endless one restyles the page every frame */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.mkt { position: relative; }
.mkt-btn { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; padding: 8px 14px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 999px; }
.mkt-btn svg { width: 10px; height: 10px; }
.mkt-pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; background: var(--white); color: var(--ink); border-radius: 14px; box-shadow: 0 24px 60px -18px rgba(11,20,48,.35), 0 0 0 1px var(--line); padding: 8px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .3s var(--ease-out); text-transform: none; letter-spacing: 0; }
.mkt.open .mkt-pop { opacity: 1; transform: none; pointer-events: auto; }
.mkt-pop button { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 15px; }
.mkt-pop button small { grid-column: 1; color: var(--muted); font-size: 12.5px; }
.mkt-pop button b { grid-row: span 2; align-self: center; font-weight: 500; font-family: var(--font-display); font-size: 17px; color: var(--jewel); }
.mkt-pop button:hover, .mkt-pop button[aria-checked="true"] { background: var(--jewel-soft); }
.nav .menu-btn { display: none; }
@media (max-width: 960px) {
  .nav-left a:not(.menu-btn), .nav-right .hide-sm { display: none; }
  .nav .menu-btn { display: inline-flex; }
  .wordmark { font-size: 19px; }
  .mkt-btn { padding: 7px 10px; letter-spacing: .06em; }
}
@media (max-width: 520px) {
  .nav { padding-inline: 16px; column-gap: 10px; }
  .nav-right { gap: 12px; }
  .nav-right a, .mkt-btn { white-space: nowrap; }
  .mkt-cur { display: none; }
  .wordmark { font-size: 17px; letter-spacing: .3em; text-indent: .3em; }
  .wordmark small { font-size: 9px; letter-spacing: .55em; text-indent: .55em; margin-top: 5px; }
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; background: radial-gradient(120% 90% at 20% 0%, var(--jewel) 0%, var(--jewel-deep) 45%, var(--jewel-night) 100%); color: #fff; display: grid; align-content: center; gap: 6px; padding: 32px 24px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-out); }
.drawer.open { clip-path: inset(0 0 0 0); }
.drawer a { font-family: var(--font-display); font-size: clamp(38px, 10vw, 64px); line-height: 1.12; }
.drawer .close { position: absolute; top: 22px; right: 20px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; }
.cursor .c-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--gold); transition: transform .35s var(--ease-out); }
.cursor .c-ring { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: color-mix(in srgb, var(--jewel) 92%, transparent); transform: scale(.3); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(11,20,48,.5); }
.cursor .c-ring b { font: 500 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.cursor.is-hover .c-ring { transform: scale(.42); opacity: .35; }
.cursor.is-label .c-ring { transform: scale(1.25); opacity: 1; }
.cursor.is-label .c-dot, .cursor.is-hover .c-dot { transform: scale(0); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.in .mask > span, .mask.in > span { transform: none; }

/* ---------- product cards ---------- */
.p-card { position: relative; display: block; }
.p-card .tt, .p-card .ph-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; background: radial-gradient(90% 80% at 50% 40%, var(--card-hi) 0%, var(--card-lo) 100%); }
.p-card .tt canvas { width: 100%; height: 100%; }
.p-card .ph-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); }
.p-card .ph-img img + img { opacity: 0; }
.p-card:hover .ph-img img + img { opacity: 1; }
.p-card:hover .ph-img img { transform: scale(1.03); }
.p-card .tt .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.p-card .tt .ph i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); border-top-color: var(--jewel); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.p-card .tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--white) 88%, transparent); color: var(--jewel); backdrop-filter: blur(6px); }
.p-card .tag.gold { background: var(--gold-grad); color: var(--ink); }
.p-card .deg { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 12px; font-weight: 500; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; background: var(--jewel); color: #fff; }
.p-card .meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-top: 18px; }
.p-card .name { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 1.55vw, 26px); line-height: 1.15; }
.p-card .spec { margin-top: 6px; color: var(--muted); font-size: 13.5px; letter-spacing: .01em; text-transform: none; font-weight: 400; }
.p-card .price { font-family: var(--font-display); font-weight: 500; font-size: 21px; white-space: nowrap; color: var(--ink); font-variant-numeric: lining-nums; }
.p-card .price small { display: block; font-family: var(--font-body); font-size: 12px; color: var(--muted); text-align: right; }
.p-card .swatches { display: flex; gap: 7px; margin-top: 12px; }
.sw { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.sw.on { outline: 1px solid var(--jewel); outline-offset: 2px; }
.dot-yellow { background: conic-gradient(from 210deg, #f3d48a, #b98a2e, #f7e2a6, #c99a3c, #f3d48a); }
.dot-rose { background: conic-gradient(from 210deg, #f2c2a8, #b9745a, #f6d4c2, #c98a70, #f2c2a8); }
.dot-white { background: conic-gradient(from 210deg, #f4f5f7, #a9adb5, #ffffff, #c4c8cf, #f4f5f7); }
.dot-plat { background: conic-gradient(from 210deg, #f1f2f4, #9da2aa, #ffffff, #b4b8c0, #f1f2f4); }

@media (max-width: 760px) {
  .p-card .meta { display: grid; gap: 6px; padding-top: 12px; }
  .p-card .name { font-size: 17px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .p-card .price { font-size: 17px; display: flex; gap: 6px; align-items: baseline; }
  .p-card .price small { display: inline; text-align: left; }
  .p-card .tag { top: 8px; left: 8px; font-size: 12px; padding: 4px 9px; letter-spacing: .08em; }
  .p-card .deg { top: 8px; right: 8px; padding: 4px 8px; }
}

/* ---------- live rates marquee ---------- */
.ticker { background: linear-gradient(90deg, var(--jewel-night), var(--jewel-deep) 50%, var(--jewel-night)); color: #fff; overflow: hidden; border-block: 1px solid rgba(226,191,110,.25); }
.ticker-track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.ticker-item { display: flex; gap: 14px; align-items: baseline; padding: 20px 36px; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.08); }
.ticker-item .k { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist-text); font-weight: 500; }
.ticker-item .v { font-family: var(--font-display); font-size: 19px; color: var(--gold-bright); font-variant-numeric: lining-nums; }
.ticker-item .c { font-size: 13px; font-variant-numeric: tabular-nums; }
.up { color: #5fd49a; } .down { color: #ff8f86; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- forms (shared) ---------- */
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 0;
  padding: 26px 2px 10px; outline: none; transition: border-color .3s; appearance: none;
}
.field label { position: absolute; left: 2px; top: 22px; font-size: 16px; color: var(--muted); pointer-events: none; transition: .3s var(--ease-out); transform-origin: left top; }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label, .field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label, .field select ~ label { top: 4px; transform: scale(.78); letter-spacing: .08em; text-transform: uppercase; color: var(--jewel); font-weight: 500; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field select { padding-right: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f3fae' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px bottom 16px; }

/* ---------- footer: white, wide, quiet ---------- */
.footer { position: relative; background: var(--white); color: var(--ink); padding: clamp(90px, 9vw, 160px) clamp(16px, 5vw, 96px) 0; border-top: 1px solid var(--line); }
.f-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 160px); align-items: end; padding-bottom: clamp(64px, 7vw, 120px); }
.f-mark { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 2.6vw, 42px); letter-spacing: .38em; line-height: 1; }
.f-mark small { display: block; margin-top: 12px; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .62em; color: var(--gold); }
.f-brand p { margin: 28px 0 0; font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 2vw, 32px); line-height: 1.35; color: var(--ink-2); max-width: 20ch; }
.f-news h4 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.f-news p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.f-news .row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px; }
.f-news .go { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--jewel); transition: background .35s, color .35s, border-color .35s; }
.f-news .go:hover { background: var(--jewel); color: #fff; border-color: var(--jewel); }
.f-news .go svg { width: 18px; height: 18px; }
.f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding: clamp(48px, 5vw, 80px) 0; border-top: 1px solid var(--line); }
.f-cols h5 { margin: 0 0 22px; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--gold); }
.f-cols a, .f-cols span { display: block; font-size: 15.5px; color: var(--ink-2); padding: 5px 0; }
.f-cols a:hover { color: var(--jewel); }
.f-word { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(64px, 15.2vw, 300px); line-height: 1.02; letter-spacing: -0.02em; color: var(--jewel); text-align: center; white-space: nowrap; padding: clamp(10px, 2vw, 30px) 0 clamp(18px, 2.4vw, 40px); border-top: 1px solid var(--line); overflow: hidden; user-select: none; }
.f-base { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
@media (max-width: 860px) { .f-top { grid-template-columns: 1fr; } .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--white); display: grid; place-items: center; transition: clip-path 1.2s var(--ease-io); clip-path: inset(0 0 0 0); }
.loader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader .l-mark { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 6vw, 88px); letter-spacing: .3em; text-indent: .3em; overflow: hidden; white-space: nowrap; color: var(--jewel-deep); }
.loader .l-mark .sp { width: .12em; }
.loader .l-mark span { display: inline-block; transform: translateY(100%); animation: rise 1.2s var(--ease-out) forwards; }
@keyframes rise { to { transform: none; } }
.loader .l-row { position: absolute; left: clamp(16px, 3.9vw, 75px); right: clamp(16px, 3.9vw, 75px); bottom: 34px; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.loader .l-row #lPct { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.loader .l-bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--gold-grad); width: 0; transition: width .3s; }

/* ---------- staging gate ---------- */
.gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: radial-gradient(120% 90% at 50% 0%, var(--jewel) 0%, var(--jewel-deep) 45%, var(--jewel-night) 100%); color: #fff; }
.gate form { width: min(420px, 100%); display: grid; gap: 22px; text-align: center; }
.gate h1 { font-family: var(--font-display); font-weight: 400; font-size: 44px; margin: 0; }
.gate p { margin: 0; color: rgba(255,255,255,.75); }
.gate .field input { color: #fff; border-bottom-color: rgba(255,255,255,.4); text-align: center; }
.gate .field label { left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); }
.gate .err { color: #ff9b93; min-height: 1.4em; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .mask > span { transform: none; }
}

/* touch screens: every control is at least a comfortable 40px to tap, without changing how it looks */
@media (pointer: coarse) {
  .txt-btn, button.link-u { min-height: 40px; display: inline-flex; align-items: center; }
  input[type="checkbox"], input[type="radio"] { min-width: 22px; min-height: 22px; }
  .handle { position: relative; }
  .handle::after { content: ""; position: absolute; inset: -8px; }
  /* phones: momentum scrolling inside horizontal rails, and no grey flash on tap */
  .rail, .chips, .tbl-wrap, .sb-row, .cats, .thumbs { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }
}

/* laptops and tablets (761–1180px): keep the nav on one line */
@media (max-width: 1180px) {
  .nav .rate-chip { display: none; }
  .nav-left, .nav-right { gap: 18px; }
  .nav a, .nav .mkt-btn { white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .nav-left .link-u { letter-spacing: .1em; }
  .mkt-cur { display: none; }
}
/* ---------- nav: Shop always in reach; About / Education ---------- */
.nav-left .nav-shop { display: none; }
.nav-left a[aria-current="page"] { background-size: 100% 1px; }
@media (max-width: 1180px) and (min-width: 961px) { .nav-left .nav-more { display: none; } }
@media (max-width: 960px) {
  .nav .nav-left a.nav-shop { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--jewel); color: #fff; letter-spacing: .14em; }
  .nav.on-dark .nav-left .nav-shop { background: #fff; color: var(--jewel-deep); }
  .nav-left { gap: 14px; }
}
@media (max-width: 400px) { .nav .nav-left a.nav-shop { padding: 6px 11px; letter-spacing: .1em; } .nav-left { gap: 10px; } }
.drawer { overflow-y: auto; align-content: safe center; }
.drawer a { font-size: clamp(30px, 8.4vw, 58px); }
.drawer:not(.open) { visibility: hidden; transition: clip-path .8s var(--ease-out), visibility 0s .8s; }

/* ---------- phones and small tablets: shared chrome ---------- */
/* touch: native scrolling (no Lenis); anchors stop clear of the fixed nav */
@media (hover: none), (pointer: coarse) { html { scroll-padding-top: 76px; } }
/* notch in landscape: content stays out of the cut-out (fixed bars add their own inset) */
@media (orientation: landscape) and (max-width: 960px) { body { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); } }
html.sp-locked, html.sp-locked body { overflow: hidden; overscroll-behavior: none; }
@media (max-width: 960px) {
  .nav { padding: max(8px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left)); }
  .nav.scrolled { padding-block: max(4px, env(safe-area-inset-top)) 4px; }
  /* 44px to tap, without changing how they look */
  .nav .menu-btn, .nav-right > a { min-height: 44px; display: inline-flex; align-items: center; }
  .nav-right > a.hide-sm { display: none; }
  .mkt-btn, .nav .nav-left a.nav-shop { position: relative; }
  .mkt-btn::after, .nav .nav-left a.nav-shop::after { content: ""; position: absolute; inset: -6px -3px; }
  .mkt-pop { min-width: min(250px, calc(100vw - 32px)); max-height: calc(100vh - 76px); max-height: calc(100svh - 76px); overflow-y: auto; overscroll-behavior: contain; }
  .mkt-pop button { min-height: 52px; }
  .nav .menu-btn { text-transform: uppercase; letter-spacing: inherit; font-weight: 500; }
}
@media (max-width: 520px) {
  .nav { column-gap: 6px; }
  .nav-left { gap: 8px; } .nav-right { gap: 6px; }
  .nav-left, .nav-right { font-size: 12.5px; letter-spacing: .04em; }
  .nav .nav-left a.nav-shop { padding: 6px 10px; font-size: 12px; letter-spacing: .08em; }
  .wordmark { font-size: clamp(12.5px, 3.85vw, 16px); letter-spacing: .18em; text-indent: .18em; white-space: nowrap; }
  .mkt-btn { padding: 6px 8px; gap: 4px; font-size: 12.5px; letter-spacing: .02em; }
}
@media (max-width: 350px) {   /* the smallest phones: Shop moves to the first line of the menu so nothing is cut off */
  .nav { grid-template-columns: auto 1fr auto; }
  .nav .nav-left a.nav-shop { display: none; }
}
.drawer { padding: calc(58px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); overscroll-behavior: contain; gap: 2px; }
.drawer a { display: flex; align-items: center; min-height: 44px; }
.drawer .close { position: fixed; top: max(8px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); min-width: 44px; min-height: 44px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; z-index: 1; }
@media (max-height: 520px) { .drawer { align-content: start; } .drawer a { font-size: 26px; } }

/* tap states: a hover must not stay "stuck" on the last thing tapped */
@media (hover: none) {
  .btn:hover::before { transform: translateY(101%); }
  .btn:where(:not(.solid):not(.light)):hover { color: inherit; border-color: currentColor; }
  .btn.solid:hover { color: #fff; border-color: var(--jewel); }
  .btn.light:hover { color: #fff; border-color: rgba(255,255,255,.55); }
  .btn:active { transform: scale(.985); }
  .p-card:hover .ph-img img { transform: none; }
  .f-news .go:hover { background: none; color: var(--jewel); border-color: var(--line); }
}

/* cards on the narrowest phones: the two badges never touch */
@media (max-width: 760px) {
  .p-card .tag { padding: 4px 8px; letter-spacing: .04em; }
  .p-card .deg { padding: 4px 7px; letter-spacing: .04em; }
  .display { text-wrap: balance; }
}

/* a photograph that is missing or will not load: a calm placeholder, never a broken-image icon or alt text */
.no-photo { background: radial-gradient(90% 80% at 50% 40%, var(--card-hi) 0%, var(--card-lo) 100%); }
.no-photo > img, .no-photo > video { visibility: hidden; }
.no-photo::after, .sb-ph:not(:has(img))::after {
  content: "Photograph coming soon"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 34% 10% 0; text-align: center; pointer-events: none;
  font: italic 400 clamp(15px, 1.2vw, 19px)/1.25 var(--font-display); color: var(--muted);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M10 5h12l5 6-11 17L5 11zM5 11h22M12 11l4 17 4-17M10 5l2 6 4-6 4 6 2-6' fill='none' stroke='%23a7792b' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center calc(50% - 22px) / 38px;
}
.thumbs .no-photo { position: relative; }
.thumbs .no-photo::after { content: ""; padding: 0; background-position: center; background-size: 24px; }

/* footer on touch screens: links are easy to tap, long addresses wrap, the last line clears the home bar */
@media (pointer: coarse) {
  .f-cols a { padding: 11px 0; }
  .f-cols h5 { margin-bottom: 10px; }
  .text-link { padding-top: 16px; }
}
@media (max-width: 400px) { .f-cols a { font-size: 14.5px; } }
.f-base { padding-bottom: max(28px, calc(env(safe-area-inset-bottom) + 14px)); }
.loader .l-row { bottom: max(34px, calc(env(safe-area-inset-bottom) + 14px)); }
@media (max-width: 860px) { .footer { padding-top: 64px; } .f-top { padding-bottom: 44px; gap: 36px; } .f-cols { gap: 28px 20px; padding-block: 36px; } }

/* ---------- brand: the typeset wordmark stays crisp and centred in every nav state; an uploaded logo (Atelier OS →
   Storefront) takes its place at --logo-h, with its dark-background version (or itself turned white) over dark sections ---------- */
.wordmark, .f-mark, .drawer-mark { font-kerning: normal; font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; white-space: nowrap; }
.wordmark { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; transition: color .4s; }
.nav.scrolled:not(.on-dark) .wordmark { color: var(--jewel-deep); }
.has-logo { letter-spacing: 0; text-indent: 0; line-height: 0; }
.has-logo .bl { display: block; height: var(--logo-h, 30px); width: auto; max-width: min(46vw, 260px); object-fit: contain; }
.has-logo .bl-dark { display: none; }
.nav.on-dark .has-logo.logo-dark .bl-light { display: none; }
.nav.on-dark .has-logo.logo-dark .bl-dark { display: block; }
.nav.on-dark .has-logo.logo-white .bl-light, .drawer-mark.logo-white .bl-light { filter: brightness(0) invert(1); }
.drawer-mark.logo-dark .bl-light { display: none; } .drawer-mark.logo-dark .bl-dark { display: block; }
.nav.scrolled .has-logo .bl { height: calc(var(--logo-h, 30px) * .86); transition: height .4s; }
.f-mark.has-logo .bl { height: calc(var(--logo-h, 30px) * 1.5); max-width: min(80vw, 360px); }
@media (max-width: 960px) { .has-logo .bl { height: calc(var(--logo-h, 30px) * .8); max-width: 42vw; } }
@media (max-width: 420px) { .has-logo .bl { height: calc(var(--logo-h, 30px) * .68); max-width: 38vw; } }
/* the menu shows the house name top left, where the header's wordmark was */
.drawer-mark { position: fixed; top: max(8px, env(safe-area-inset-top)); left: max(20px, env(safe-area-inset-left)); min-height: 44px; display: flex; align-items: center;
  font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: .3em; color: #fff; pointer-events: none; }
.drawer-mark.has-logo .bl { height: calc(var(--logo-h, 30px) * .7); }

/* ---------- footer: country and currency ---------- */
.f-mkt { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.f-mkt select { appearance: none; -webkit-appearance: none; font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 32px 8px 14px; min-height: 40px; cursor: pointer; font-size: 16px; }
@media (min-width: 761px) { .f-mkt select { font-size: 13.5px; } }
.f-mkt::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--jewel); border-bottom: 1.5px solid var(--jewel); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.f-mkt select:focus-visible { outline: 2px solid var(--jewel); outline-offset: 2px; }

/* ---------- WhatsApp concierge button: bottom right (bottom left in the Atelier, whose price bar is on the right),
   above the home bar and above any bar fixed to the bottom (--wa-lift, set by site.js) ---------- */
.wa-fab { position: fixed; z-index: 55; right: max(18px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom) + 10px) + var(--wa-lift, 0px));
  display: inline-flex; align-items: center; gap: 10px; min-width: 52px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--jewel-deep); color: #fff; box-shadow: 0 14px 34px -14px rgba(6, 12, 38, .55), 0 0 0 1px color-mix(in srgb, var(--gold-bright) 45%, transparent);
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: bottom .35s var(--ease-out), transform .3s var(--ease-out), background .3s; }
.wa-fab svg { width: 24px; height: 24px; flex: none; color: #25d366; }
.wa-fab:hover { background: var(--jewel); transform: translateY(-2px); }
.wa-fab:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.wa-fab.wa-left { right: auto; left: max(18px, env(safe-area-inset-left)); }
@media (max-width: 760px) { .wa-fab { padding: 0; width: 52px; justify-content: center; } .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 980px) { .wa-fab.wa-left { display: none; } }   /* the Atelier on phones: its price bar and controls fill the bottom */
@media print { .wa-fab { display: none; } }
html.sp-locked .wa-fab { visibility: hidden; }

/* ---------- shop cards with colour dots: the card is an <article>, its title link stretches over the whole card,
   and the dots (real buttons) sit above that link ---------- */
.p-card .p-link { display: block; color: inherit; }
.p-card .p-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card .p-link:focus-visible { outline: none; }
.p-card:has(.p-link:focus-visible) { outline: 2px solid var(--jewel); outline-offset: 6px; border-radius: 6px; }
.p-card .tag, .p-card .deg { pointer-events: none; }
.mdots { position: relative; z-index: 2; display: flex; gap: 2px; margin: 8px 0 0 -7px; }
.mdot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; position: relative; }
.mdot::before { content: ""; position: absolute; inset: -4px -1px; }   /* a comfortable touch target without spreading the row */
.mdot .sw { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.mdot:hover .sw { transform: scale(1.15); }
.mdot[aria-checked="true"] .sw { outline: 1px solid var(--jewel); outline-offset: 3px; }
.mdot:focus-visible { outline: 2px solid var(--jewel); outline-offset: 0; }
@media (max-width: 760px) { .mdots { margin-top: 4px; } .mdot { width: 28px; height: 32px; } }

/* ---------- festive campaign banner (home, after the opening scene): full width, fixed proportions so nothing below it
   moves while the image loads; light or dark text over a soft gradient chosen in Atelier OS ---------- */
.cmp { position: relative; isolation: isolate; overflow: hidden; background: var(--jewel-night); color: #fff; min-height: 440px; aspect-ratio: 21 / 9; max-height: 86vh; display: grid; align-items: center; }
.cmp-media, .cmp-media picture { position: absolute; inset: 0; z-index: -2; }
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--jewel-night) 78%, transparent) 0%, color-mix(in srgb, var(--jewel-night) 30%, transparent) 52%, transparent 78%); }
.cmp-copy { position: relative; z-index: 2; width: min(760px, 58%); padding: clamp(40px, 5vw, 80px) clamp(16px, 5vw, 96px); }
.cmp-copy .eyebrow { color: var(--gold-bright); }
.cmp-copy h2 { margin: 14px 0 0; font-size: clamp(40px, 4.6vw, 80px); line-height: 1.04; color: inherit; text-wrap: balance; }
.cmp-copy p { margin: 18px 0 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; opacity: .9; max-width: 42ch; }
.cmp-copy .btn { margin-top: 30px; }
.cmp-hit { position: absolute; inset: 0; z-index: 1; }
.cmp-dark { background: var(--pearl); color: var(--ink); }
.cmp-dark::before { background: linear-gradient(90deg, color-mix(in srgb, #fff 82%, transparent) 0%, color-mix(in srgb, #fff 34%, transparent) 52%, transparent 78%); }
.cmp-dark .cmp-copy .eyebrow { color: var(--jewel); }
.cmp-copy.rv { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.cmp-copy.rv.in { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .cmp { aspect-ratio: 4 / 5; min-height: 0; max-height: none; align-items: end; }
  .cmp::before { background: linear-gradient(0deg, color-mix(in srgb, var(--jewel-night) 84%, transparent) 0%, color-mix(in srgb, var(--jewel-night) 24%, transparent) 62%, transparent 86%); }
  .cmp-dark::before { background: linear-gradient(0deg, color-mix(in srgb, #fff 88%, transparent) 0%, color-mix(in srgb, #fff 28%, transparent) 62%, transparent 86%); }
  .cmp-copy { width: auto; padding: 28px 16px 32px; }
  .cmp-copy h2 { font-size: clamp(34px, 10vw, 48px); }
  .cmp-copy p { font-size: 15.5px; margin-top: 12px; }
  .cmp-copy .btn { margin-top: 22px; }
}
@media (max-height: 520px) and (orientation: landscape) { .cmp { aspect-ratio: auto; min-height: 100svh; } }
@media (prefers-reduced-motion: reduce) { .cmp-copy.rv { opacity: 1; transform: none; } }

/* ---------- campaign strip across the top; slides away once the page scrolls ---------- */
.sp-strip { position: fixed; inset: 0 0 auto; z-index: 51; display: flex; align-items: center; justify-content: center; gap: 8px; height: calc(36px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 52px 0;
  background: var(--jewel-deep); color: #fff; font-size: 13px; letter-spacing: .08em; transition: transform .5s var(--ease-out); }
.sp-strip-a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; padding: 8px 0; }
a.sp-strip-a:hover { color: var(--gold-bright); }
.sp-strip-x { position: absolute; right: max(6px, env(safe-area-inset-right)); bottom: -4px; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.sp-strip-x svg { width: 15px; height: 15px; }
html.has-strip .nav { top: 36px; }
html.has-strip.strip-away .sp-strip { transform: translateY(-100%); }
html.has-strip.strip-away .nav { top: 0; }
html.has-strip .nav { transition: transform .6s var(--ease-out), top .5s var(--ease-out), background-color .4s, color .4s, box-shadow .4s, padding .4s; }
@media (max-width: 760px) { .sp-strip { font-size: 12.5px; letter-spacing: .04em; } }

/* ---------- product page: metal colour and karat ---------- */
.pills .sw-pill .sw { margin-right: 8px; }
.og-k .og-h { margin-bottom: 0; }
.og-k .pills { margin-top: 10px; }

/* minimal menu: five links, one quiet row of utilities */
.drawer { align-content: safe center; gap: 0; }
.drawer .d-main { display: grid; gap: 2px; }
.drawer .d-main a { font-size: clamp(28px, 7.4vw, 44px); line-height: 1.15; font-weight: 400; letter-spacing: -.005em; }
.drawer .d-main a[aria-current="page"] { font-style: italic; opacity: .7; }
.drawer .d-sub { display: flex; flex-wrap: wrap; column-gap: 22px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); }
.drawer .d-sub a { font-family: var(--font-body, inherit); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; line-height: 1; opacity: .72; min-height: 44px; }
.drawer .d-sub a[hidden] { display: none; }
@media (max-height: 520px) { .drawer .d-main a { font-size: 24px; } .drawer .d-sub { margin-top: 16px; } }

/* loader signature: Sol & Prism by Diamond Lane (both domains, one house) */
.loader { align-content: center; row-gap: clamp(10px, 1.6vw, 22px); }
.loader .l-by { font-family: var(--font-body); font-size: clamp(11px, 1.1vw, 14px); letter-spacing: .32em; text-indent: .32em; text-transform: uppercase; color: var(--ink-2, var(--ink)); opacity: 0; animation: lby .9s var(--ease-out) .55s forwards; }
.loader .l-by span { font-family: var(--font-display); font-style: italic; text-transform: none; letter-spacing: .04em; margin-right: .5em; color: var(--gold, currentColor); }
@keyframes lby { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .loader .l-by { animation: none; opacity: 1; } }
