/* NEPIDON · Cantera — demo stylesheet */
@font-face { font-family: "Marcellus"; src: url(../fonts/marcellus.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Hanken"; src: url(../fonts/hanken.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Pinyon"; src: url(../fonts/pinyon.woff2) format("woff2"); font-display: swap; }

:root {
  --ivory: #f0efea;
  --ivory-2: #e4e3dc;
  --stone: #a9b0a0;
  --stone-hi: #b9bfb0;
  --stone-lo: #959c8c;
  --silver: #c9cccb;
  --silver-2: #8e9392;
  --stone-joint: rgba(22, 30, 22, .16);
  --lime: #f8f6f1;
  --lime-2: #e6e2d9;
  --shade: #0e100e;
  --shade-2: #181b18;
  --shade-3: #262a26;
  --ink: #121412;
  --ink-2: #353a35;
  --ink-3: #5a605a;
  --on-shade: #ecebe6;
  --on-shade-2: #a9aca6;
  --line-shade: rgba(230, 232, 225, .14);
  --f-gold: #c8a45a; --f-rose: #c9937e; --f-rhodium: #d8dbdc; --f-black: #2f3133; --f-silver: #b9bcbc; --f-wood: #9c3a22;
  --display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --text: "Hanken", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon", "Snell Roundhand", cursive;
  --g: clamp(16px, 4.2vw, 64px);
  --max: 1480px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-s: clamp(.8125rem, .78rem + .12vw, .875rem);
  --t-b: clamp(1rem, .96rem + .18vw, 1.0625rem);
  --t-l: clamp(1.125rem, 1.04rem + .4vw, 1.3125rem);
  --t-h3: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
  --t-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --t-h1: clamp(2rem, 1.15rem + 3.6vw, 4.6rem);
  --grain: url(../img/grain.svg);
  --arch: url(../img/arch.svg);
  --hdr-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 var(--t-b)/1.6 var(--text); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.on-stone { background: var(--stone); position: relative; isolation: isolate; }
.wall { background: url(../img/joints.svg) 0 0 / 420px 168px, var(--stone); }
@media (max-width: 820px) { .wall { background: var(--stone); } }
.on-stone::before { /* cantera grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: var(--grain); opacity: .26; mix-blend-mode: multiply;
}
.on-stone .lead, .on-stone .piece-tag__meta { color: var(--ink-2); }
::selection { background: var(--shade); color: var(--lime); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--lime); border-radius: 2px; }
.on-shade :focus-visible, .ftr :focus-visible { outline-color: var(--lime); box-shadow: 0 0 0 5px var(--shade); }
html { scrollbar-color: var(--silver-2) var(--ivory-2); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--shade); color: var(--lime); padding: 10px 16px; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main, .ftr, .hdr { position: relative; z-index: 1; }
main:focus { outline: none; }

/* ---------- type ---------- */
.carved { font-family: var(--display); font-weight: 400; letter-spacing: .01em; color: var(--ink); text-wrap: balance; }
.on-stone .carved { color: #1f251f; text-shadow: 0 1px 0 rgba(255,255,255,.42), 0 -1px 1px rgba(0,0,0,.32); }
.on-shade .carved { color: var(--on-shade); text-shadow: 0 -1px 0 rgba(0,0,0,.6); }
h1, h2, h3 { margin: 0; font-weight: 400; }
.h1 { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -.005em; }
.h2 { font-size: var(--t-h2); line-height: 1.08; }
.h3 { font-size: var(--t-h3); line-height: 1.2; }
.lead { font-size: var(--t-l); line-height: 1.55; max-width: 38ch; color: var(--ink-2); }
.on-shade .lead, .on-shade p { color: var(--on-shade-2); }
.small { font-size: var(--t-s); }
.caps { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 500; }
p { margin: 0 0 1em; max-width: 68ch; }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- demo bar ---------- */
.demo-bar { position: relative; z-index: 3; background: var(--shade); color: var(--on-shade-2); font-size: .75rem; letter-spacing: .02em; text-align: center; padding: 7px var(--g); }

/* ---------- header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--hdr-bg, var(--ivory)); transition: background .5s var(--ease), box-shadow .5s var(--ease); }
.is-home .hdr { --hdr-bg: var(--stone); }
.hdr.is-stuck { background: color-mix(in srgb, var(--ivory) 92%, transparent); backdrop-filter: blur(10px) saturate(1.1); box-shadow: 0 1px 0 var(--stone-joint); }
.hdr__in { max-width: var(--max); margin: 0 auto; height: var(--hdr-h); padding: 0 var(--g); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.hdr__nav { display: flex; gap: clamp(14px, 2vw, 30px); font-size: .875rem; }
.hdr__nav a { text-decoration: none; padding: 6px 0; position: relative; color: var(--ink-2); transition: color .3s; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.hdr__nav a:hover, .hdr__nav a[aria-current] { color: var(--ink); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: scaleX(1); }
.hdr__menu { display: none; background: none; border: 0; padding: 8px 0; align-items: center; gap: 10px; font-size: .875rem; }
.ico-lines { width: 20px; height: 9px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; display: inline-block; }
.hdr__logo { justify-self: center; display: block; padding: 8px 4px; }
.wordmark { display: block; width: clamp(128px, 12vw, 168px); aspect-ratio: 900 / 144; background: currentColor; -webkit-mask: url(../img/wordmark.png) center / contain no-repeat; mask: url(../img/wordmark.png) center / contain no-repeat; }
.hdr__tools { justify-self: end; display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); font-size: .875rem; }
.lang { display: flex; gap: 2px; }
.lang a { text-decoration: none; padding: 6px 7px; color: var(--ink-3); letter-spacing: .08em; font-size: .75rem; font-weight: 500; }
.lang a[aria-current] { color: var(--ink); box-shadow: inset 0 -1px 0 currentColor; }
.bag-btn { background: none; border: 0; padding: 8px 0; display: inline-flex; gap: 8px; align-items: center; }
.bag-btn__n { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 11px; font-size: .75rem; padding: 0 6px; transition: background .3s, color .3s; }
.bag-btn.bump .bag-btn__n { background: var(--ink); color: var(--lime); }

/* ---------- buttons ---------- */
.btn { --b: var(--shade); --c: var(--lime); display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 1px solid var(--b); background: var(--b); color: var(--c); text-decoration: none; font-size: .9375rem; letter-spacing: .02em; border-radius: 1px; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--shade-3); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.985); }
.btn--ghost { --b: transparent; --c: var(--ink); border-color: color-mix(in srgb, var(--ink) 55%, transparent); }
.btn--ghost::before { background: rgba(20,25,20,.08); }
.on-shade .btn--ghost { --c: var(--on-shade); border-color: color-mix(in srgb, var(--on-shade) 45%, transparent); }
.on-shade .btn--ghost::before { background: rgba(255,255,255,.08); }
.btn--lime { --b: var(--lime); --c: var(--ink); }
.btn--lime::before { background: #fff; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.arrow { width: 18px; height: 10px; display: inline-block; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .4s var(--ease); }
a:hover > .arrow, button:hover > .arrow { transform: translateX(4px); }
.link { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.link:hover { text-decoration-color: currentColor; }

/* ---------- the niche (signature form) ---------- */
.niche { position: relative; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; background: #fff; overflow: hidden; }
.niche::after { /* depth of the stone recess */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,14,10,.34) 0%, rgba(10,14,10,0) 22%), linear-gradient(90deg, rgba(10,14,10,.16), transparent 14%, transparent 86%, rgba(10,14,10,.16));
}
.niche img { width: 100%; height: 100%; object-fit: cover; }
.niche--frame { box-shadow: none; }
.niche-wrap { position: relative; }
.niche-wrap::before { /* carved rim: a slightly lighter arch behind */
  content: ""; position: absolute; inset: -10px -10px 0; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; background: linear-gradient(180deg, var(--stone-hi), var(--stone) 60%); filter: drop-shadow(0 1px 0 rgba(255,255,255,.25));
}
.niche-wrap > .niche { position: relative; }

/* ---------- facade (home hero) ---------- */
.facade { max-width: var(--max); margin: 0 auto; padding: clamp(18px, 3vh, 40px) var(--g) clamp(28px, 5vh, 56px); min-height: calc(100svh - var(--hdr-h) - 30px); display: grid; grid-template-rows: auto 1fr auto; gap: clamp(18px, 3.5vh, 40px); }
.frieze { text-align: center; border-bottom: 1px solid var(--stone-joint); padding-bottom: clamp(14px, 2.4vh, 28px); }
.frieze .h1 { max-width: 34ch; margin: 0 auto; text-transform: uppercase; letter-spacing: .07em; font-size: clamp(1.5rem, .9rem + 1.9vw, 2.75rem); line-height: 1.18; }
.facade__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 38vw) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 64px); align-items: end; }
.facade__niche { height: min(56svh, 44vw, 540px); min-height: 330px; justify-self: center; width: 100%; max-width: min(38vw, calc(56svh * .84), 460px); }
.facade__niche .niche { height: 100%; background: var(--shade); }
.plaque { padding-bottom: 6px; }
.plaque--l { justify-self: start; max-width: 380px; }
.plaque--r { justify-self: end; text-align: right; max-width: 300px; }
.plaque .lead { margin-bottom: 26px; }
.plaque__ctas { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.piece-tag { border-top: 1px solid var(--stone-joint); padding-top: 14px; }
.piece-tag__name { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; }
.piece-tag__meta { color: var(--ink-2); font-size: .875rem; margin: 4px 0 14px; }
.piece-tag__price { font-size: 1.0625rem; margin-bottom: 14px; }
.proofs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(18px, 3vw, 46px); border-top: 1px solid var(--stone-joint); padding-top: clamp(14px, 2vh, 22px); margin: 0; list-style: none; padding-left: 0; }
.proofs li { font-family: var(--display); font-size: clamp(.875rem, .8rem + .3vw, 1.0625rem); letter-spacing: .06em; color: var(--ink-2); text-shadow: 0 1px 0 rgba(255,255,255,.3); display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); }
.proofs li + li::before { content: ""; width: 5px; height: 8px; background: var(--ink-3); -webkit-mask: var(--arch) center/100% 100%; mask: var(--arch) center/100% 100%; margin-left: calc(-1 * clamp(18px, 3vw, 46px) / 2 - 2.5px); margin-right: calc(clamp(18px, 3vw, 46px) / 2 - 2.5px - clamp(18px, 3vw, 46px)); }

/* entrance */
.js .facade .frieze .h1, .js .facade .plaque, .js .facade .proofs { opacity: 0; transform: translateY(14px); }
.js .facade__niche .niche { clip-path: inset(100% 0 0 0); }
.js .facade__niche img { transform: scale(1.08); }
.ready .facade .frieze .h1 { animation: rise 1.1s var(--ease) .15s forwards; }
.ready .facade__niche .niche { animation: open 1.5s var(--ease) .05s forwards; }
.ready .facade__niche img { animation: settle 2.2s var(--ease) .05s forwards; }
.ready .facade .plaque--l { animation: rise 1s var(--ease) .55s forwards; }
.ready .facade .plaque--r { animation: rise 1s var(--ease) .7s forwards; }
.ready .facade .proofs { animation: rise 1s var(--ease) .9s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes open { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { transform: scale(1); } }

/* ---------- sections ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 11vw, 150px) var(--g); position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .lead { justify-self: end; }
.joint { height: 1px; background: var(--stone-joint); max-width: calc(var(--max) - 2 * var(--g)); margin: 0 auto; }
.on-shade { background: var(--shade); color: var(--on-shade); position: relative; z-index: 1; }
.on-shade .carved { color: var(--on-shade); }
.full-shade { padding-left: 0; padding-right: 0; max-width: none; }

/* ---------- arcade rail (collections) ---------- */
.arcade { position: relative; }
.arcade__track { display: flex; gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); padding: 6px var(--g) 18px; margin: 0 calc(-1 * var(--g)); scrollbar-width: none; overscroll-behavior-x: contain; }
.arcade__track::-webkit-scrollbar { display: none; }
.bay { flex: 0 0 clamp(190px, 17vw, 250px); scroll-snap-align: start; text-decoration: none; display: block; transition: flex-basis .7s var(--ease), opacity .5s var(--ease), filter .5s var(--ease); }
.bay__niche { aspect-ratio: 5 / 8; }
.bay__niche img { transition: transform 1.2s var(--ease); }
.bay__cap { padding-top: 16px; }
.bay__name { font-family: var(--display); font-size: 1.375rem; line-height: 1.2; }
.bay__line { font-size: .875rem; color: var(--ink-2); margin: 4px 0 0; max-width: 30ch; }
.bay__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.bay__more > div { overflow: hidden; }
.bay__price { font-size: .875rem; padding-top: 8px; display: flex; align-items: center; gap: 10px; }
.arcade.has-focus .bay { opacity: .55; filter: saturate(.7); }
.arcade.has-focus .bay.is-focus { opacity: 1; filter: none; flex-basis: clamp(240px, 24vw, 340px); }
.bay.is-focus .bay__more { grid-template-rows: 1fr; }
.bay.is-focus .bay__niche img { transform: scale(1.04); }
.arcade__ctrl { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent); background: none; display: grid; place-items: center; transition: background .3s; }
.round:hover { background: rgba(20,25,20,.07); }
.round .arrow.l { transform: scaleX(-1); }

/* ---------- the silver thread (craft) ---------- */
.thread-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(92svh, 900px); }
.thread-intro__img { position: relative; overflow: hidden; }
.thread-intro__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thread-intro__txt { padding: clamp(56px, 9vw, 130px) var(--g); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.thread { position: relative; max-width: 1080px; margin: 0 auto; padding: clamp(40px, 7vw, 100px) var(--g) clamp(72px, 10vw, 140px); }
.thread__line { position: absolute; left: calc(var(--g) + 7px); top: 0; bottom: 0; width: 2px; }
.thread__line svg { width: 100%; height: 100%; overflow: visible; }
.thread__line path { stroke: var(--silver); stroke-width: 1.4; fill: none; stroke-dasharray: var(--len, 4000); stroke-dashoffset: calc(var(--len, 4000) * (1 - var(--p, 0))); }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 54px) 0 clamp(28px, 4vw, 54px) clamp(36px, 5vw, 64px); }
.step::before { content: ""; position: absolute; left: 1px; top: 50%; width: 14px; height: 14px; border: 1px solid var(--on-shade-2); border-radius: 50%; background: var(--shade); transform: translateY(-50%); transition: background .6s var(--ease); }
.step.lit::before { background: var(--on-shade); }
.step__t { font-family: var(--display); font-size: var(--t-h3); margin-bottom: 10px; }
.step__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--shade-2); }
.step__img img, .thread-intro__img img, .ph.bw img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.step:nth-child(even) .step__img { order: -1; }

/* ---------- signature piece ---------- */
.sig { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 110px); align-items: center; }
.sig__niche { aspect-ratio: 9 / 15; max-height: 82svh; width: 100%; max-width: 520px; justify-self: center; }
.sig__niche .niche { height: 100%; background: var(--shade); }
.figures { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(24px, 4vw, 64px); margin: 36px 0 40px; padding: 26px 0; border-top: 1px solid var(--stone-joint); border-bottom: 1px solid var(--stone-joint); }
.fig__n { font-family: var(--display); font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); line-height: 1; text-shadow: 0 1px 0 rgba(255,255,255,.38); }
.fig__l { font-size: .8125rem; color: var(--ink-2); margin-top: 8px; max-width: 16ch; }

/* ---------- engraving band ---------- */
.engrave { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 100px); align-items: center; }
.metal { position: relative; aspect-ratio: 1040 / 412; background: #fff url(../img/engrave-plate.jpg) center / cover no-repeat; display: grid; place-items: start center; padding: 9% 26% 0 30%; overflow: hidden; container-type: inline-size; max-width: 560px; }
.metal__txt { position: relative; font-size: 13cqw; line-height: 1.1; color: rgba(14, 18, 18, .92); mix-blend-mode: multiply; text-shadow: 0 1px 0 rgba(255,255,255,.55); letter-spacing: .03em; min-height: 1.2em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: clip; }
.metal__txt.hand { font-family: var(--script); letter-spacing: 0; }
.metal__txt.classic { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; }
.metal__cap { position: absolute; bottom: -1.9em; left: 0; right: 0; text-align: center; font-size: .75rem; color: var(--ink-2); }
.metal-wrap { position: relative; padding-bottom: 2em; }
.engrave__ctrl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: .8125rem; color: var(--ink-2); }
.input { height: 50px; padding: 0 14px; background: rgba(255,255,255,.55); border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); border-radius: 1px; min-width: 0; }
.input:focus { background: #fff; }
.seg { display: inline-flex; border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); border-radius: 1px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.seg button { border: 0; background: none; min-height: 42px; padding: 0 16px; font-size: .875rem; border-radius: 1px; transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--shade); color: var(--lime); }
.seg button:not([aria-pressed="true"]):hover { background: rgba(20,25,20,.07); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(36px, 4vw, 56px) clamp(14px, 2vw, 28px); }
.card { text-decoration: none; display: block; position: relative; }
.card__img { aspect-ratio: 4 / 5; position: relative; }
.card__img .niche { position: absolute; inset: 0; }
.card__img .niche::after, .bay__niche::after { background: linear-gradient(180deg, rgba(10,14,10,.12) 0%, rgba(10,14,10,0) 16%); }
.card__img img { position: absolute; inset: 0; transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.card__img img.alt { opacity: 0; }
.card:hover .card__img img.alt { opacity: 1; }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding-top: 16px; display: grid; gap: 4px; }
.card__name { font-family: var(--display); font-size: 1.25rem; line-height: 1.25; }
.card__type { font-size: .8125rem; color: var(--ink-2); }
.card__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 6px; }
.card__price { font-size: .9375rem; }
.card__price s { color: var(--ink-3); font-size: .8125rem; margin-left: 6px; }
.card__badge { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 4px 9px; white-space: nowrap; }
.sw { display: inline-flex; gap: 5px; }
.sw i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 1px 0 rgba(255,255,255,.4); }
.sw .rhodium { background: linear-gradient(135deg, #f4f5f5, var(--f-rhodium) 50%, #a9adae); }
.sw .black-rhodium { background: linear-gradient(135deg, #5a5d60, var(--f-black) 55%, #121314); }
.sw .gold { background: linear-gradient(135deg, #ecd9a5, var(--f-gold) 50%, #8f6f2e); }
.sw .rose-gold { background: linear-gradient(135deg, #efcdbf, var(--f-rose) 50%, #8e5a48); }
.sw .silver { background: linear-gradient(135deg, #e6e7e7, var(--f-silver) 50%, #7f8383); }
.sw .wood { background: linear-gradient(135deg, #c3593a, var(--f-wood) 55%, #5e2112); }

/* shop toolbar */
.shop-hd { padding-top: clamp(40px, 7vw, 90px); padding-bottom: clamp(28px, 4vw, 44px); }
.toolbar { position: sticky; top: var(--hdr-h); z-index: 5; background: color-mix(in srgb, var(--stone) 95%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--stone-joint); border-bottom: 1px solid var(--stone-joint); margin-bottom: clamp(30px, 4vw, 50px); }
.toolbar__in { max-width: var(--max); margin: 0 auto; padding: 10px var(--g); display: flex; gap: 14px 24px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 520px; padding: 2px; }
.chip { flex: 0 0 auto; border: 1px solid transparent; background: none; padding: 9px 14px; font-size: .875rem; border-radius: 22px; color: var(--ink); transition: border-color .3s, background .3s, color .3s; white-space: nowrap; }
.chip:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.chip[aria-pressed="true"] { background: var(--shade); color: var(--lime); }
.finish-filter { display: flex; gap: 6px; align-items: center; }
.finish-filter button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid transparent; background: none; padding: 0; display: grid; place-items: center; }
.finish-filter button[aria-pressed="true"] { border-color: var(--ink); }
.finish-filter .sw i { width: 18px; height: 18px; }
.select { height: 40px; padding: 0 34px 0 12px; border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141914'/%3E%3C/svg%3E") right 12px center no-repeat; appearance: none; border-radius: 1px; font-size: .875rem; }
.count { font-size: .8125rem; color: var(--ink-2); margin-left: auto; }

/* ---------- product page ---------- */
.pdp { max-width: var(--max); margin: 0 auto; padding: clamp(18px, 3vw, 36px) var(--g) clamp(60px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.crumb { font-size: .8125rem; color: var(--ink-2); margin-bottom: 18px; grid-column: 1 / -1; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gal__item { background: #fff; position: relative; overflow: hidden; aspect-ratio: 1; border: 0; padding: 0; cursor: zoom-in; }
.gal__item:first-child { grid-column: 1 / -1; aspect-ratio: auto; height: min(88svh, 900px); -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal__item:first-child img { object-fit: contain; background: #fff; }
.gal__item.span { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.gal__item:hover img { transform: scale(1.03); }
.gal__dots { display: none; }
.buy { position: sticky; top: calc(var(--hdr-h) + 18px); display: grid; gap: 22px; }
.buy__name { font-size: clamp(2.125rem, 1.6rem + 2vw, 3.25rem); line-height: 1.05; }
.buy__line { color: var(--ink-2); margin: 0; font-size: var(--t-l); line-height: 1.45; }
.buy__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--stone-joint); padding-top: 18px; }
.buy__price strong { font-weight: 500; font-size: 1.5rem; }
.buy__price small { color: var(--ink-2); font-size: .8125rem; }
.buy__price s { color: var(--ink-3); }
.finishes { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .8125rem; color: var(--ink-2); }
.finishes span { display: inline-flex; gap: 7px; align-items: center; }
.opt { display: grid; gap: 8px; }
.opt__h { display: flex; justify-content: space-between; align-items: baseline; font-size: .8125rem; color: var(--ink-2); }
.opt .seg { display: flex; }
.opt .seg button { flex: 1 1 auto; }
.opt.err .seg { border-color: #7a1e1e; box-shadow: 0 0 0 1px #7a1e1e; }
.opt__err { color: #6b1515; font-size: .8125rem; min-height: 1em; }
.eng-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eng-prev { max-width: 420px; }
.eng-prev .metal__cap { display: none; }
.counter { font-size: .75rem; color: var(--ink-3); text-align: right; }
.assure { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--stone-joint); display: grid; gap: 10px; font-size: .875rem; color: var(--ink-2); }
.assure li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.assure li::before { content: ""; width: 9px; height: 14px; margin-top: 4px; background: var(--ink-3); -webkit-mask: var(--arch) center/100% 100%; mask: var(--arch) center/100% 100%; }
.ask { font-size: .875rem; }

.pdp-more { max-width: var(--max); margin: 0 auto; padding: 0 var(--g) clamp(60px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); }
.story p { font-size: var(--t-l); line-height: 1.6; color: var(--ink); }
.acc { border-top: 1px solid var(--stone-joint); }
.acc details { border-bottom: 1px solid var(--stone-joint); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-size: 1.25rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center/12px 1px no-repeat, linear-gradient(currentColor, currentColor) center/1px 12px no-repeat; transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__b { padding: 0 0 22px; color: var(--ink-2); font-size: .9375rem; }
.specs { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--stone-joint); vertical-align: top; }
.specs th { font-weight: 400; color: var(--ink-2); width: 40%; padding-right: 16px; }
.measure { margin-top: 26px; }
.measure svg { width: 100%; height: auto; overflow: visible; }
.measure figcaption { font-size: .8125rem; color: var(--ink-2); margin-top: 8px; }

/* ---------- rails of related ---------- */
.rel { max-width: var(--max); margin: 0 auto; padding: clamp(50px, 7vw, 100px) var(--g); border-top: 1px solid var(--stone-joint); }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--stone-joint); }
.trust > div { padding: 26px clamp(14px, 2vw, 30px) 10px 0; }
.trust > div + div { padding-left: clamp(14px, 2vw, 30px); border-left: 1px solid var(--stone-joint); }
.trust h3 { font-family: var(--display); font-size: 1.25rem; margin-bottom: 10px; }
.trust p { font-size: .9375rem; color: var(--ink-2); margin: 0; }

/* ---------- closing ---------- */
.closing { position: relative; min-height: min(86svh, 820px); display: grid; align-items: end; overflow: hidden; }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.closing::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,27,23,.1), rgba(22,27,23,.82) 78%); z-index: 1; }
.closing__in { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; padding: clamp(40px, 7vw, 100px) var(--g); display: grid; gap: 22px; justify-items: start; }

/* ---------- editorial pages ---------- */
.page-hd { padding-top: clamp(40px, 7vw, 100px); padding-bottom: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(30px, 6vw, 100px); align-items: end; }
.prose { max-width: 66ch; }
.prose p { font-size: var(--t-l); line-height: 1.65; }
.quote { font-family: var(--display); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); line-height: 1.25; max-width: 24ch; margin: 0; text-wrap: balance; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.ph { background: var(--shade-2); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.post { text-decoration: none; display: grid; gap: 14px; }
.post .ph { aspect-ratio: 4 / 3; }
.post h3 { font-family: var(--display); font-size: var(--t-h3); }
.ideas { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: clamp(24px, 4vw, 56px); }
.ideas li { break-inside: avoid; border-top: 1px solid var(--stone-joint); padding: 14px 0; font-size: .9375rem; color: var(--ink-2); }
.ideas strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 2px; }
.form { display: grid; gap: 14px; max-width: 560px; }
.form textarea.input { height: 150px; padding: 12px 14px; resize: vertical; }

/* ---------- footer ---------- */
.ftr { background: var(--shade); color: var(--on-shade); }
.ftr__in { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--g) 28px; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .7fr)); gap: 40px clamp(28px, 5vw, 80px); }
.ftr .wordmark { width: 150px; color: var(--on-shade); margin-bottom: 26px; }
.ftr h2 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 10px; }
.ftr p { color: var(--on-shade-2); font-size: .9375rem; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9375rem; }
.ftr a { text-decoration: none; color: var(--on-shade-2); }
.ftr a:hover { color: var(--on-shade); text-decoration: underline; }
.news { display: flex; gap: 8px; max-width: 440px; margin-top: 16px; }
.news .input { flex: 1; background: transparent; border-color: var(--line-shade); color: var(--on-shade); }
.news .input::placeholder { color: var(--on-shade-2); }
.ftr__base { grid-column: 1 / -1; border-top: 1px solid var(--line-shade); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: .8125rem; color: var(--on-shade-2); }

/* ---------- bag drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(12,16,12,.42); opacity: 0; transition: opacity .45s var(--ease); }
.scrim.on { opacity: 1; }
.bag[hidden], .drawer[hidden] { display: none !important; }
.bag, .drawer { position: fixed; top: 0; bottom: 0; z-index: 50; width: min(440px, 100%); background: var(--lime); color: var(--ink); display: flex; flex-direction: column; transition: transform .6s var(--ease); }
.bag.on { box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); } .drawer.on { box-shadow: 20px 0 60px -30px rgba(0,0,0,.5); }
.bag { right: 0; transform: translateX(102%); }
.bag.on, .drawer.on { transform: none; }
.drawer { left: 0; transform: translateX(-102%); background: var(--ivory); padding: 24px var(--g); gap: 8px; }
.drawer a { font-family: var(--display); font-size: 1.75rem; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--stone-joint); }
.bag__hd { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--lime-2); }
.bag__hd h2 { font-family: var(--display); font-size: 1.5rem; }
.x { background: none; border: 0; width: 40px; height: 40px; position: relative; }
.x::before, .x::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: currentColor; transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }
.bag__list { flex: 1; overflow-y: auto; padding: 8px 26px; list-style: none; margin: 0; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--lime-2); }
.line img { width: 84px; height: 105px; object-fit: cover; background: #fff; }
.line__name { font-family: var(--display); font-size: 1.125rem; }
.line__opt { font-size: .8125rem; color: var(--ink-2); margin: 2px 0 8px; }
.line__row { display: flex; justify-content: space-between; align-items: center; font-size: .875rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--lime-2); }
.qty button { width: 34px; height: 34px; background: none; border: 0; }
.qty span { min-width: 22px; text-align: center; }
.rm { background: none; border: 0; font-size: .8125rem; color: var(--ink-2); text-decoration: underline; padding: 6px 0; }
.bag__ft { padding: 20px 26px 26px; border-top: 1px solid var(--lime-2); display: grid; gap: 12px; }
.bag__row { display: flex; justify-content: space-between; font-size: .9375rem; }
.bag__note { font-size: .75rem; color: var(--ink-2); line-height: 1.5; margin: 0; }
.bag__empty { padding: 40px 26px; color: var(--ink-2); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 220%); visibility: hidden; z-index: 60; background: var(--shade); color: var(--lime); padding: 14px 22px; font-size: .875rem; transition: transform .6s var(--ease); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 70; background: rgba(12,16,12,.94); display: grid; place-items: center; padding: 50px 14px; }
.lb img { max-height: 88svh; width: auto; max-width: 100%; background: #fff; }
.lb .x { position: absolute; top: 14px; right: 14px; color: var(--lime); }
.lb .round { position: absolute; top: 50%; border-color: rgba(236,237,230,.4); color: var(--lime); }
.lb .round.p { left: 14px; } .lb .round.n { right: 14px; }
.lb__n { position: absolute; bottom: 18px; color: var(--on-shade-2); font-size: .8125rem; }

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

/* dossier (French deliverables) */
.dossier { max-width: 980px; margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--g) 100px; }
.dossier .doc { background: #fff; padding: clamp(24px, 4vw, 56px); margin-top: 26px; }
.doc h1 { font-family: var(--display); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); margin: 0 0 20px; }
.doc h2 { font-family: var(--display); font-size: 1.5rem; margin: 2em 0 .6em; }
.doc h3 { font-size: 1.0625rem; font-weight: 600; margin: 1.6em 0 .4em; }
.doc table { border-collapse: collapse; width: 100%; font-size: .875rem; margin: 1em 0; display: block; overflow-x: auto; }
.doc th, .doc td { border-bottom: 1px solid var(--lime-2); padding: 8px 10px 8px 0; text-align: left; vertical-align: top; }
.doc th { font-weight: 600; }
.doc li { margin-bottom: .4em; }
.doc code { font-size: .85em; background: var(--lime-2); padding: 1px 5px; }
.doc hr { border: 0; border-top: 1px solid var(--lime-2); margin: 2em 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; }
  .facade__body { grid-template-columns: 1fr 1fr; grid-template-areas: "n n" "l r"; align-items: start; }
  .facade__niche { grid-area: n; height: min(58svh, 70vw); max-width: calc(min(58svh, 70vw) * .62); }
  .plaque--l { grid-area: l; } .plaque--r { grid-area: r; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 820px) {
  :root { --hdr-h: 60px; }
  .demo-bar { font-size: .6875rem; padding: 5px var(--g); }
  .frieze .h1 { font-size: clamp(1.25rem, 1rem + 1.6vw, 1.6rem); line-height: 1.25; letter-spacing: .05em; }
  .frieze { padding-bottom: 14px; }
  .hdr__in { grid-template-columns: auto 1fr auto; }
  .hdr__logo { justify-self: center; }
  .hdr__menu-l, .bag-btn > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lang a { padding: 6px 4px; }
  .facade { min-height: 0; padding-top: 14px; }
  .facade__body { grid-template-columns: 1fr; grid-template-areas: "n" "r" "l"; gap: 26px; }
  .facade__niche { height: 48svh; min-height: 300px; max-width: none; width: min(100%, calc(48svh * .8)); }
  .plaque--r { justify-self: stretch; text-align: left; max-width: none; display: grid; gap: 12px; }
  .plaque--r .piece-tag { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; }
  .plaque--r .piece-tag__meta { margin: 0; grid-column: 1 / -1; grid-row: 2; }
  .plaque--r .piece-tag__price { margin: 0; grid-column: 2; grid-row: 1; }
  .plaque--r .seg { display: flex; margin: 0 !important; }
  .plaque--r .seg button { flex: 1; }
  .plaque--r .btn { width: 100%; }
  .proofs { justify-content: flex-start; gap: 6px 14px; }
  .proofs li { gap: 14px; font-size: .8125rem; }
  .proofs li + li::before { display: none; }
  .sec-head, .page-hd, .sig, .engrave, .duo, .pdp, .pdp-more, .thread-intro { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .thread-intro__img { min-height: 62svh; }
  .step { grid-template-columns: 1fr; padding-left: 40px; }
  .step:nth-child(even) .step__img { order: 0; }
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .sig__niche { max-width: 360px; }
  .gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 calc(-1 * var(--g)); padding: 0 var(--g); scrollbar-width: none; }
  .gal::-webkit-scrollbar { display: none; }
  .gal__item, .gal__item:first-child { flex: 0 0 88%; scroll-snap-align: center; height: auto; aspect-ratio: 1; -webkit-mask: none; mask: none; }
  .gal__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .gal__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); opacity: .35; transition: opacity .3s; }
  .gal__dots i.on { opacity: 1; }
  .buy { position: static; }
  .eng-fields { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .ideas { columns: 1; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__in > div:first-child { grid-column: 1 / -1; }
  .toolbar { top: var(--hdr-h); }
  .count { margin-left: 0; }
  .sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--lime); padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; box-shadow: 0 -10px 30px -18px rgba(0,0,0,.45); transform: translateY(110%); transition: transform .5s var(--ease); }
  .sticky-buy.on { transform: none; }
  .sticky-buy .btn { flex: 1; min-height: 48px; }
  .sticky-buy__p { font-size: .9375rem; }
}
@media (min-width: 821px) { .sticky-buy { display: none; } }
@media (max-width: 520px) {
  .trust { grid-template-columns: 1fr; }
  .trust > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--stone-joint); }
  .bay { flex-basis: 64vw; }
  .arcade.has-focus .bay.is-focus { flex-basis: 72vw; }
  .grid { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .card__name { font-size: 1.0625rem; }
  .card__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .finish-filter { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .facade .frieze .h1, .js .facade .plaque, .js .facade .proofs, .js .rv { opacity: 1 !important; transform: none !important; }
  .js .facade__niche .niche { clip-path: none !important; }
}
