/* Altın Kemer Kuyumculuk · the wax tree. Wax green fields, chalk plaster grounds, raw cast gold, polished gold reserved
   for the active choice and the primary action. */

@font-face { font-family: 'Young Serif'; src: url(../fonts/YoungSerif-latin-ext.woff2) format('woff2'); font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Young Serif'; src: url(../fonts/YoungSerif-latin.woff2) format('woff2'); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; src: url(../fonts/HankenGrotesk-var-latin-ext.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; src: url(../fonts/HankenGrotesk-var-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Marcellus'; src: url(../fonts/Marcellus-latin-ext.woff2) format('woff2'); font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Marcellus'; src: url(../fonts/Marcellus-latin.woff2) format('woff2'); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Pinyon Script'; src: url(../fonts/PinyonScript-latin-ext.woff2) format('woff2'); font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Pinyon Script'; src: url(../fonts/PinyonScript-latin.woff2) format('woff2'); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --wax: #2c6552;          /* carving wax, the dominant field */
  --wax-deep: #173a30;
  --wax-mid: #3b7a64;
  --wax-hi: #6aa38c;       /* translucent wax edge, sprues */
  --wax-ink: #f1f6f2;      /* text on wax */
  --wax-soft: #dbeae2;     /* secondary text on wax */
  --plaster: #e8eae6;      /* investment plaster */
  --chalk: #dfe2dc;
  --ink: #15201c;
  --ink-soft: #46524c;
  --raw: #85501a;          /* raw cast gold (text-safe on plaster) */
  --raw-lite: #c48a4a;
  --gold: #e3b655;         /* polished: active choice + primary action only */
  --gold-hi: #f3d68e;
  --gold-ink: #1e1606;
  --burn: #16110e;
  --ember: #ff7a2e;
  --line: rgba(21, 32, 28, .16);
  --line-wax: rgba(241, 246, 242, .2);
  --r: 14px;
  --gut: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --text: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
  --header: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--plaster); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); font-feature-settings: 'tnum' 0; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); max-width: 22ch; }
h3 { font-size: clamp(1.25rem, 1rem + .6vw, 1.55rem); }
p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
input, textarea { caret-color: var(--raw); }
.band--wax input, .band--wax textarea, .hero input { caret-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.band--plaster :focus-visible, .band--chalk :focus-visible { outline-color: var(--raw); }
html { scrollbar-color: var(--wax) var(--chalk); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--chalk); }
::-webkit-scrollbar-thumb { background: var(--wax); border-radius: 8px; border: 3px solid var(--chalk); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.wrap--narrow { max-width: 900px; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); max-width: 62ch; margin-top: 1.1rem; color: var(--ink-soft); }
em { font-style: normal; font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .62em 1.3em; border-radius: 999px; border: 0; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s; }
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #c99a3a); color: var(--gold-ink); box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 6px 18px -8px rgba(0, 0, 0, .3); }
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 10px 24px -10px rgba(0, 0, 0, .34); }
.btn--gold:focus-visible { outline-color: var(--wax-ink); }
.band--plaster .btn--gold:focus-visible { outline-color: var(--ink); }
.btn--big { min-height: 54px; font-size: 1.06rem; padding: .8em 1.6em; width: 100%; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover:not(:disabled) { background: rgba(21,32,28,.06); }
.btn--line:disabled { opacity: .45; cursor: not-allowed; }
.btn--onwax { color: var(--wax-ink); box-shadow: inset 0 0 0 1.5px var(--wax-soft); }
.btn--onwax:hover { background: rgba(255,255,255,.08) !important; }
.link { color: inherit; font-weight: 600; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header); display: flex; align-items: center; gap: 1.2rem; padding: 0 var(--gut); color: var(--wax-ink); background: rgba(23, 58, 48, .9); border-bottom: 1px solid var(--line-wax); }
@supports (backdrop-filter: blur(1px)) { .top { background: rgba(23, 58, 48, .78); backdrop-filter: blur(10px) saturate(1.2); } }
.brand { display: flex; align-items: baseline; gap: .5rem; text-decoration: none; color: var(--wax-ink); flex: none; }
.brand__mark { width: 34px; height: 24px; color: var(--gold); align-self: center; }
.brand__name { font-family: var(--display); font-size: 1.32rem; line-height: 1; }
.brand__sub { font-size: .82rem; color: var(--wax-soft); letter-spacing: .02em; }
.top__nav { display: flex; gap: .2rem; margin-left: auto; }
.top__nav a { padding: .45rem .6rem; border-radius: 8px; text-decoration: none; font-size: .95rem; color: var(--wax-soft); }
.top__nav a:hover, .top__nav a[aria-current="true"] { color: var(--wax-ink); background: rgba(255,255,255,.07); }
.top__tools { display: flex; align-items: center; gap: .7rem; flex: none; }
.top__nav + .top__tools { margin-left: .4rem; }
.top__spec { font-size: .86rem; color: var(--wax-soft); font-variant-numeric: tabular-nums; white-space: nowrap; display: none; }
.lang { display: flex; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-wax); padding: 2px; }
.lang__b { border: 0; background: transparent; color: var(--wax-soft); border-radius: 999px; padding: .3rem .62rem; font-size: .85rem; font-weight: 700; cursor: pointer; min-height: 32px; }
.lang__b[aria-pressed="true"] { background: var(--wax-ink); color: var(--wax-deep); }
.still { border: 0; background: transparent; color: var(--wax-soft); font-size: .85rem; cursor: pointer; padding: .35rem .4rem; border-radius: 8px; min-height: 32px; text-decoration: underline; text-underline-offset: .25em; }
.still:hover { color: var(--wax-ink); }
.top__cta { min-height: 40px; padding: .45em 1.1em; font-size: .95rem; }
@media (min-width: 1500px) { .top__spec { display: block; } }
@media (max-width: 1180px) { .top__nav { display: none; } .top__tools { margin-left: auto; } }
@media (max-width: 560px) { .brand__sub, .still { display: none; } .top { gap: .6rem; } .top__tools { gap: .45rem; } .top__cta { padding: .45em .9em; } }

/* ---------- bands (phases of the making) ---------- */
.band { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.band--plaster { background: var(--plaster); color: var(--ink); }
.band--chalk { background: var(--chalk); color: var(--ink); }
.band--wax { background: var(--wax); color: var(--wax-ink); }
.band--wax .lead, .band--deep .lead { color: var(--wax-soft); }
.band--deep { background: var(--wax-deep); color: var(--wax-ink); }
/* the sprue: one continuous wax line runs the page and branches to every section heading */
main { position: relative; }
.band > .wrap > h2, .proc__head > h2 { position: relative; }
.band > .wrap > h2::before, .proc__head > h2::before { content: ''; position: absolute; left: calc(var(--gut) * -1 + 10px); top: .5em; width: calc(var(--gut) - 22px); height: 5px; border-radius: 3px; background: var(--wax-hi); opacity: .9; transform: scaleX(var(--br, 1)); transform-origin: 0 50%; }
.band::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 5px; background: var(--wax-hi); opacity: .55; }
.band--wax::before, .band--deep::before { background: var(--wax-hi); opacity: .5; }
@media (max-width: 760px) { .band::before { left: 6px; width: 4px; } .band > .wrap > h2::before, .proc__head > h2::before { left: calc(var(--gut) * -1 + 6px); width: calc(var(--gut) - 12px); height: 4px; } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: max(100svh, 760px); background: var(--wax); color: var(--wax-ink); padding: calc(var(--header) + 18px) var(--gut) 28px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; cursor: grab; touch-action: pan-y; display: none; }
.hero__canvas:active { cursor: grabbing; }
.hero__canvas:focus-visible { outline: 2px solid var(--gold); outline-offset: -8px; border-radius: 18px; }
.anim.webgl .hero__canvas { display: block; }
.hero__fallback { position: absolute; left: 50%; top: 52%; width: min(34vw, 470px); transform: translate(-50%, -50%); z-index: 0; }
.anim.webgl .hero__fallback { display: none; }
.hero__fallback svg { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
.hero__tree { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.hero__tree .tr-trunk { stroke: var(--wax-hi); stroke-width: 7; stroke-linecap: round; fill: none; opacity: .85; }
.hero__tree .tr-br { stroke: var(--wax-hi); stroke-width: 4; stroke-linecap: round; fill: none; opacity: .7; }
.hero__tree .tr-j { fill: var(--wax-hi); opacity: .9; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(300px, 380px) 1fr minmax(300px, 360px); gap: 24px; min-height: calc(max(100svh, 760px) - var(--header) - 46px); pointer-events: none; }
.hero__col { pointer-events: auto; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero__col--mid { pointer-events: none; justify-content: flex-start; align-items: center; text-align: center; padding-top: 4px; gap: 2px; }
.hero__col--right { justify-content: flex-end; }
.hero h1 { font-size: clamp(2.1rem, 1rem + 2vw, 2.9rem); line-height: 1.03; letter-spacing: -0.02em; max-width: 14ch; }
.hero__lead { color: var(--wax-soft); font-size: 1.02rem; max-width: 40ch; }
.hero__status { font-weight: 700; font-size: .98rem; color: var(--wax-ink); font-variant-numeric: tabular-nums; }
.hero__hint { font-size: .86rem; color: var(--wax-soft); }
html:not(.webgl) .hero__hint { display: none; }

.opt { border: 0; margin: 0; padding: 0; min-width: 0; position: relative; }
.opt legend { padding: 0; font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wax-soft); margin-bottom: .45rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip__face { display: inline-flex; align-items: center; gap: .45em; min-height: 40px; padding: .38em .8em; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.12); color: var(--wax-ink); font-size: .93rem; transition: background-color .25s, box-shadow .25s, transform .35s var(--ease); }
.chip__face b { font-weight: 600; }
.chip__face small { font-size: .78rem; font-variant-numeric: tabular-nums; color: var(--wax-soft); }
.chip:hover .chip__face { background: rgba(255,255,255,.14); }
.chip input:checked + .chip__face { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); box-shadow: 0 6px 16px -8px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.6); transform: translateY(-1px); }
.chip input:checked + .chip__face small { color: #4d3a10; }
.chip input:focus-visible + .chip__face { outline: 2px solid var(--wax-ink); outline-offset: 3px; }
.chip input:disabled + .chip__face { opacity: .4; cursor: not-allowed; }
.chip input:disabled { cursor: not-allowed; }
.chip--k .chip__face { flex-direction: column; gap: 0; border-radius: 12px; padding: .35em .9em; line-height: 1.15; }
.chip--prof .chip__face, .chip--stone .chip__face { border-radius: 12px; padding: .3em .7em .3em .45em; }
.prof-ico { width: 34px; height: 17px; }
.prof-ico path { fill: currentColor; opacity: .85; }
.stone-ico { width: 22px; height: 22px; }
.stone-ico path, .stone-ico circle { fill: none; stroke: currentColor; stroke-width: 1.4; }
.chip--sm .chip__face { min-height: 34px; font-size: .87rem; padding: .25em .8em; }
.chips--set { margin-top: 8px; }
.sw { width: 16px; height: 16px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.sw--yellow { background: radial-gradient(circle at 35% 30%, #fbe4a6, #dcaa4a 60%, #9a6b22); }
.sw--rose { background: radial-gradient(circle at 35% 30%, #f8d3c2, #d8927a 60%, #985744); }
.sw--white { background: radial-gradient(circle at 35% 30%, #fff, #cdcec9 60%, #888a83); }
.opt__hint { font-size: .86rem; color: var(--wax-soft); margin-top: .4rem; min-height: 1.4em; }
.range { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 10px; font-size: .88rem; }
.range label { color: var(--wax-soft); }
.range output { font-variant-numeric: tabular-nums; min-width: 4.6em; text-align: right; font-weight: 600; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; width: 100%; min-width: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--wax-hi); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--wax-hi); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 60%, #b98a2c); box-shadow: 0 2px 6px rgba(0,0,0,.35); border: 0; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 60%, #b98a2c); border: 0; }
.range--light label { color: var(--ink-soft); }
.range--light input[type="range"]::-webkit-slider-runnable-track { background: #b9c8c0; }
.range--light input[type="range"]::-moz-range-track { background: #b9c8c0; }
.stepper { display: grid; grid-template-columns: 44px auto 44px 1fr; align-items: center; gap: 8px; }
.stepper__b { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); color: var(--wax-ink); cursor: pointer; display: grid; place-items: center; }
.stepper__b svg { width: 18px; height: 18px; }
.stepper__b:hover { background: rgba(255,255,255,.18); }
.stepper__b:disabled { opacity: .4; cursor: not-allowed; }
.stepper__v { font-family: var(--display); font-size: 2rem; min-width: 2.4ch; text-align: center; font-variant-numeric: tabular-nums; }
.stepper__mm { font-size: .84rem; color: var(--wax-soft); line-height: 1.35; font-variant-numeric: tabular-nums; }
.opt__hint a { color: var(--wax-ink); }

.spec { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; table-layout: fixed; }
.spec th { text-align: left; font-weight: 500; color: var(--wax-soft); padding: .26rem 0; width: 40%; border-top: 1px solid var(--line-wax); }
.spec td { text-align: right; font-weight: 700; padding: .26rem 0; border-top: 1px solid var(--line-wax); }
.spec td .w { white-space: nowrap; }
.spec td .fl { display: inline-block; }
.anim .spec td .fl.flip { animation: flip .42s var(--ease) both; }
@keyframes flip { from { transform: rotateX(90deg); opacity: .2; } to { transform: none; opacity: 1; } }
.spec__note { font-size: .78rem; color: var(--wax-soft); line-height: 1.4; }

@media (max-width: 1100px) {
  .hero { padding-bottom: 40px; }
  .hero__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "left left" "mid mid" "a b"; min-height: 0; }
  .hero__col--left { grid-area: left; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .hero__col--left h1, .hero__col--left .hero__lead { grid-column: 1 / -1; }
  .hero__col--mid { grid-area: mid; min-height: 56vh; }
  .hero__col--right { grid-area: a / a / b / b; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .hero__canvas { position: absolute; }
  .hero__fallback { top: 0; transform: translate(-50%, 0); width: min(60vw, 420px); }
}
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header) + 14px); padding-left: max(18px, var(--gut)); }
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: none; gap: 18px; }
  .hero__col--left { display: contents; } .hero__col--left > .opt, .hero__col--right { padding-left: 18px; } .hero__col--right { display: flex; grid-area: auto; order: 5; } .hero__col--left > h1 { order: 1; } .hero__col--left > .hero__lead { order: 2; } .hero__col--left > .opt { order: 4; }
  .hero__col--mid { grid-area: auto; min-height: 0; height: 74vw; max-height: 400px; order: 3; }
  .hero h1 { font-size: clamp(2rem, 8.4vw, 2.6rem); }
}

/* ---------- CASTING SEQUENCE ---------- */
.cast { position: relative; background: var(--wax); color: var(--wax-ink); --ph-bg: var(--wax); --ph-ink: var(--wax-ink); --ph-soft: var(--wax-soft); }
.cast::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 5px; background: var(--wax-hi); opacity: .55; z-index: 1; }
.cast__pin { position: relative; }
.cast__canvas { display: none; }
.cast__inner { position: relative; z-index: 2; padding: clamp(80px, 11vw, 140px) var(--gut); max-width: 1280px; margin: 0 auto; }
.cast__head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); max-width: 16ch; }
.cast__intro { margin-top: 1rem; max-width: 52ch; color: var(--wax-soft); font-size: 1.08rem; }
.stages { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
.stage { min-width: 0; }
.stage__fig { width: 100%; max-width: 220px; height: auto; margin-bottom: 14px; }
.stage h3 { font-size: 1.4rem; margin-bottom: .45rem; }
.stage p { color: var(--wax-soft); max-width: 44ch; }
.stage .ex { margin-top: .6rem; font-size: .9rem; font-weight: 300; color: var(--wax-soft); border-top: 1px dashed rgba(241,246,242,.35); padding-top: .45rem; display: inline-block; }
.rail { display: none; }
/* stage figure palette */
.f-wax { fill: var(--wax-mid); } .f-wax-d { fill: var(--wax-deep); } .f-cut { fill: none; stroke: var(--wax-hi); stroke-width: 6; }
.f-sprue { stroke: var(--wax-hi); stroke-width: 6; stroke-linecap: round; } .f-sprue-t { stroke: var(--wax-hi); stroke-width: 3; stroke-linecap: round; }
.f-ring { fill: none; stroke: var(--wax-hi); stroke-width: 4; }
.f-steel { fill: #9aa3a6; } .f-plaster { fill: var(--plaster); } .f-burn { fill: #3a1d10; }
.f-void { stroke: #120c09; stroke-width: 3; } .f-void-c { fill: none; stroke: #120c09; stroke-width: 3; }
.f-crucible { fill: #6d6a66; } .f-pour { fill: none; stroke: var(--ember); stroke-width: 4; stroke-linecap: round; } .f-molten { stroke: var(--ember); stroke-width: 4; }
.f-raw { fill: none; stroke: var(--raw-lite); stroke-width: 4; } .f-raw-s { stroke: var(--raw-lite); stroke-width: 6; stroke-linecap: round; } .f-raw-t { stroke: var(--raw-lite); stroke-width: 3; stroke-linecap: round; }
.f-cutline { stroke: var(--wax-ink); stroke-width: 2; stroke-dasharray: 4 4; }
.f-gold { fill: none; stroke: var(--gold); stroke-width: 7; } .f-gem { fill: #e7f1f3; stroke: #9fb3bb; stroke-width: 1.2; } .f-prong { stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.f-hole { fill: var(--wax); } .f-stamp { fill: var(--wax-ink); font: 700 12px var(--text); }

/* pinned (motion + WebGL) */
.anim.webgl .cast__pin { height: 100vh; height: 100svh; overflow: hidden; background: var(--ph-bg); color: var(--ph-ink); transition: color .4s; }
.anim.webgl .cast__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.anim.webgl .cast__inner { height: 100%; padding: calc(var(--header) + 28px) var(--gut) 28px; display: grid; grid-template-columns: minmax(300px, 32%) 1fr; grid-template-rows: auto 1fr auto; max-width: none; }
.anim.webgl .cast__head { grid-column: 1; }
.anim.webgl .cast__head h2 { font-size: clamp(1.9rem, 1rem + 2vw, 2.9rem); }
.anim.webgl .cast__intro { color: var(--ph-soft); font-size: 1rem; }
.anim.webgl .stages { grid-column: 1; grid-row: 2; display: block; position: relative; margin: 0; align-self: center; min-height: 15em; }
.anim.webgl .stage { position: absolute; inset: auto 0 auto 0; top: 50%; transform: translateY(-40%); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .45s; }
.anim.webgl .stage.is-on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .5s var(--ease) .08s, transform .7s var(--ease) .08s, visibility 0s; }
.anim.webgl .stage__fig { display: none; }
.anim.webgl .stage h3 { font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.4rem); }
.anim.webgl .stage p { color: var(--ph-soft); font-size: 1.06rem; }
.anim.webgl .stage .ex { color: var(--ph-soft); border-top-color: currentColor; }
.anim.webgl .rail { grid-column: 1 / -1; grid-row: 3; display: flex; gap: 4px; flex-wrap: wrap; }
.rail__b { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border: 0; background: transparent; color: var(--ph-soft); padding: 10px 8px 6px; border-top: 3px solid currentColor; cursor: pointer; text-align: left; font-size: .86rem; transition: opacity .3s, color .3s; }
.rail__b:hover { color: var(--ph-ink); }
.rail__b.is-on { opacity: 1; color: var(--ph-ink); border-top-color: var(--gold); }
.rail__n { font-variant-numeric: tabular-nums; font-weight: 700; }
.rail__t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cast[data-light="1"] { --ph-ink: var(--ink); --ph-soft: var(--ink-soft); }
.cast[data-light="1"] :focus-visible { outline-color: var(--raw); }
@media (max-width: 900px) {
  .stages { grid-template-columns: 1fr 1fr; }
  .anim.webgl .cast__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; padding-top: calc(var(--header) + 16px); }
  .anim.webgl .cast__head .cast__intro { display: none; }
  .anim.webgl .stages { grid-row: 3; min-height: 11.5em; align-self: end; }
  .anim.webgl .stage { top: auto; bottom: 0; transform: translateY(12px); }
  .anim.webgl .stage.is-on { transform: none; }
  .anim.webgl .stage p { font-size: .98rem; }
  .anim.webgl .rail { grid-row: 4; }
  .rail__t { display: none; }
  .rail__b.is-on .rail__t { display: none; }
}
@media (max-width: 560px) { .stages { grid-template-columns: 1fr; } }

/* ---------- ANATOMY ---------- */
.anat__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; margin-top: 48px; align-items: center; }
.anat__fig { margin: 0; min-width: 0; }
.anat__svg { width: 100%; height: auto; }
.anat__fig figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: .6rem; }
.dw-o, .dw-i { fill: none; stroke: var(--ink); stroke-width: 2; }
.dw-o { stroke-width: 2.4; }
.dw-prong { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.dw-gem { fill: rgba(44,101,82,.08); stroke: var(--ink); stroke-width: 2; }
.dw-facet { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .7; }
.dw-gal { fill: none; stroke: var(--ink); stroke-width: 2; }
.dw-sh { fill: none; stroke: var(--wax); stroke-width: 2; stroke-dasharray: 5 5; }
.dw-sec { fill: rgba(44,101,82,.14); stroke: var(--ink); stroke-width: 2; }
.dw-dim { stroke: var(--ink); stroke-width: 1; }
.dw-t { font: 700 15px var(--text); fill: var(--ink); }
.ll { fill: none; stroke: var(--raw); stroke-width: 1.6; }
.co { fill: var(--wax); }
.co-t { fill: var(--wax-ink); font: 700 14px var(--text); text-anchor: middle; }
.anat__list { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; gap: 14px; }
.anat__list li { counter-increment: p; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 2px; }
.anat__list li::before { content: counter(p); grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--wax); color: var(--wax-ink); display: grid; place-items: center; font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; }
.anat__list b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.anat__list span { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) { .anat__grid { grid-template-columns: 1fr; } }

/* ---------- KARAT ---------- */
.karat__tool { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 40px; margin-top: 48px; align-items: center; }
.karat__pick { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.karat__pick-l { font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.band--chalk .chip__face, .band--plaster .chip__face { background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.band--chalk .chip:hover .chip__face, .band--plaster .chip:hover .chip__face { background: #fff; }
.band--chalk .chip input:focus-visible + .chip__face, .band--plaster .chip input:focus-visible + .chip__face { outline-color: var(--raw); }
.karat__show { min-width: 0; }
.karat__stamp { font-family: var(--display); font-size: clamp(5rem, 3rem + 8vw, 10rem); line-height: .9; letter-spacing: -0.02em; color: var(--raw); text-shadow: 0 1px 0 rgba(255,255,255,.8), 0 -1px 0 rgba(0,0,0,.18); font-variant-numeric: tabular-nums; }
.karat__cells { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; margin-top: 18px; }
.karat__cells i { display: block; aspect-ratio: 1 / 2.4; border-radius: 3px; background: #c9cbc3; transition: background-color .4s var(--ease), transform .5s var(--ease); }
.karat__cells i.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, #b2842c); }
.anim .karat__cells i.on { transform: translateY(-3px); }
.karat__read { margin-top: 14px; font-size: 1.08rem; font-weight: 600; }
.tablewrap { overflow-x: auto; margin-top: 48px; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .98rem; }
.cmp th, .cmp td { text-align: left; padding: .8rem .9rem; border-top: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-family: var(--display); font-weight: 400; font-size: 1.25rem; border-top: 0; }
.cmp tbody th { font-weight: 700; width: 18%; }
.cmp td { font-variant-numeric: tabular-nums; }
.karat__stampnote { margin-top: 40px; max-width: 62ch; }
.karat__stampnote p { margin-top: .5rem; color: var(--ink-soft); }
@media (max-width: 760px) { .karat__tool { grid-template-columns: 1fr; gap: 24px; } .karat__pick { flex-direction: row; flex-wrap: wrap; } .karat__pick-l { width: 100%; } }

/* ---------- COLOUR ---------- */
.ingots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 52px; border-radius: var(--r); overflow: hidden; }
.ingot { display: flex; flex-direction: column; gap: 10px; text-align: left; border: 0; background: rgba(255,255,255,.04); color: var(--wax-ink); padding: 0 0 26px; cursor: pointer; transition: background-color .3s; min-width: 0; }
.ingot + .ingot { border-left: 1px solid var(--line-wax); }
.ingot:hover { background: rgba(255,255,255,.08); }
.ingot__bar { display: block; height: clamp(120px, 14vw, 190px); margin-bottom: 10px; }
.ingot--yellow .ingot__bar { background: linear-gradient(172deg, #fff1c4 0%, #f2cd73 22%, #c99332 52%, #f4d488 70%, #8f6119 100%); }
.ingot--rose .ingot__bar { background: linear-gradient(172deg, #ffe4d6 0%, #eeb39a 22%, #c27a62 52%, #f0c0a8 70%, #85493a 100%); }
.ingot--white .ingot__bar { background: linear-gradient(172deg, #ffffff 0%, #e4e5e1 22%, #a9aba4 52%, #eef0ec 70%, #6f726b 100%); }
.ingot__h { font-family: var(--display); font-size: 1.6rem; padding: 0 24px; }
.ingot__p { color: var(--wax-soft); padding: 0 24px; flex: 1; }
.ingot__a { margin: 6px 24px 0; font-weight: 700; font-size: .92rem; text-decoration: underline; text-underline-offset: .25em; }
.ingot[aria-pressed="true"] .ingot__a { color: var(--gold); text-decoration: none; }
.ingot:disabled { cursor: not-allowed; opacity: .55; }
.colour__note { margin-top: 32px; max-width: 70ch; color: var(--wax-soft); }
@media (max-width: 820px) { .ingots { grid-template-columns: 1fr; } .ingot + .ingot { border-left: 0; border-top: 1px solid var(--line-wax); } .ingot__bar { height: 90px; } }

/* ---------- PROFILE ---------- */
.profs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 52px; }
.profcard { display: flex; flex-direction: column; gap: 8px; text-align: left; background: transparent; border: 0; border-top: 2px solid var(--ink); padding: 20px 0 6px; color: var(--ink); cursor: pointer; min-width: 0; }
.profcard__svg { width: 100%; height: auto; margin-bottom: 8px; }
.profcard__svg .ps-fill { fill: url(#none); }
.profcard__svg path.ps { fill: var(--raw-lite); stroke: var(--ink); stroke-width: 1.2; transition: fill .3s; }
.profcard__svg .ps-dim { stroke: var(--ink-soft); stroke-width: 1; fill: none; }
.profcard__svg text { font: 600 11px var(--text); fill: var(--ink-soft); }
.profcard__h { font-family: var(--display); font-size: 1.45rem; }
.profcard__p { color: var(--ink-soft); }
.profcard[aria-pressed="true"] { border-top-color: var(--gold); border-top-width: 4px; padding-top: 18px; }
.profcard[aria-pressed="true"] path.ps { fill: var(--gold); }
.profcard:hover path.ps { fill: var(--gold-hi); }
.prof__note { margin-top: 36px; max-width: 70ch; color: var(--ink-soft); }
@media (max-width: 900px) { .profs { grid-template-columns: 1fr 1fr; } }

/* ---------- STONES ---------- */
.shapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 52px; border-top: 1px solid var(--line-wax); border-bottom: 1px solid var(--line-wax); }
.shape { display: flex; flex-direction: column; gap: 8px; text-align: left; border: 0; background: transparent; color: var(--wax-ink); padding: 26px 20px 22px; cursor: pointer; min-width: 0; transition: background-color .3s; }
.shape + .shape { border-left: 1px solid var(--line-wax); }
.shape:hover { background: rgba(255,255,255,.06); }
.shape__svg { width: 88px; height: 88px; margin-bottom: 6px; }
.shape__svg .so { fill: rgba(255,255,255,.08); stroke: var(--wax-ink); stroke-width: 1.6; }
.shape__svg .sf { fill: none; stroke: var(--wax-soft); stroke-width: .8; }
.shape[aria-pressed="true"] .so { stroke: var(--gold); fill: rgba(227,182,85,.16); }
.shape[aria-pressed="true"] .shape__h { color: var(--gold-hi); }
.shape__h { font-family: var(--display); font-size: 1.4rem; }
.shape__p { color: var(--wax-soft); font-size: .98rem; }
.settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 56px; }
.setting svg { width: 160px; height: 100px; margin-bottom: 12px; }
.setting h3 { margin-bottom: .4rem; }
.setting p { color: var(--wax-soft); }
.setting--ph { align-self: end; border-top: 1px dashed rgba(241,246,242,.4); padding-top: 18px; }
.sx-band { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; }
.sx-prong { stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; }
.sx-gem { fill: #e7f1f3; stroke: #9fb3bb; stroke-width: 1.2; }
.sx-bezel { fill: var(--gold); }
@media (max-width: 900px) { .shapes { grid-template-columns: 1fr 1fr; } .shape:nth-child(3) { border-left: 0; } .shape:nth-child(n+3) { border-top: 1px solid var(--line-wax); } .settings { grid-template-columns: 1fr; } }

/* ---------- SIZE ---------- */
.size__tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 52px; }
.tool { background: #f7f6f2; border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 40px -26px rgba(21,32,28,.45); min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tool h3 { font-size: 1.5rem; }
.tool p { color: var(--ink-soft); }
.steps { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-soft); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea { width: 100%; min-height: 48px; border-radius: 10px; border: 1.5px solid #b7c0bb; background: #fff; padding: .6em .8em; font-size: 1rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wax); box-shadow: 0 0 0 3px rgba(44,101,82,.22); }
.field input[aria-invalid="true"] { border-color: #a1321f; }
.tool__out { font-weight: 700; font-size: 1.12rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.tool__hint { font-size: .88rem; }
.calib { overflow: hidden; padding: 6px 0; }
.calib__card { width: 323px; max-width: 100%; aspect-ratio: 85.6 / 53.98; border-radius: 12px; border: 2px dashed var(--wax); background: rgba(44,101,82,.06); position: relative; }
.calib__chip { position: absolute; left: 12%; top: 34%; width: 14%; height: 22%; border-radius: 4px; border: 1.5px solid var(--wax); }
.ringgauge { height: 200px; display: grid; place-items: center; overflow: hidden; }
.ringgauge__c { width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--raw); box-shadow: 0 0 0 10px rgba(196,138,74,.18); }
.sheet { margin-top: 40px; }
.sheet summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; display: inline-flex; align-items: center; gap: .6em; padding: .7em 1.1em; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); list-style: none; min-height: 44px; }
.sheet summary::-webkit-details-marker { display: none; }
.sheet summary::after { content: ''; width: .5em; height: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.sheet[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.sheet__paper { margin-top: 18px; background: #fbfaf5; border-radius: 6px; padding: 18px 22px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 20px 40px -30px rgba(0,0,0,.4); background-image: linear-gradient(90deg, transparent calc(50% - 1px), rgba(0,0,0,.06) 50%, transparent calc(50% + 1px)); }
.sheet__paper .tablewrap { margin-top: 0; }
.sizes { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.sizes caption { text-align: left; color: var(--ink-soft); font-size: .88rem; padding-bottom: 10px; caption-side: top; }
.sizes th, .sizes td { padding: .38rem .7rem; border-top: 1px solid var(--line); text-align: right; }
.sizes th:first-child, .sizes td:first-child { text-align: left; }
.sizes tr.is-me td { background: rgba(227,182,85,.3); font-weight: 700; }
@media (max-width: 900px) { .size__tools { grid-template-columns: 1fr; } }

/* ---------- ENGRAVING ---------- */
.engr__grid { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 44px; margin-top: 52px; align-items: center; }
.engr__form { display: flex; flex-direction: column; gap: 18px; }
.field--dark label { color: var(--wax-ink); }
.field--dark input, .field--dark textarea { background: rgba(0,0,0,.18); border-color: rgba(241,246,242,.35); color: var(--wax-ink); }
.field--dark input::placeholder, .field--dark textarea::placeholder { color: #c6dbd1; opacity: 1; }
.field--dark input:focus, .field--dark textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,182,85,.25); }
.field--dark input[aria-invalid="true"], .field--dark textarea[aria-invalid="true"] { border-color: #ffb199; }
.opt--flat legend { color: var(--wax-soft); }
.f-classic { font-family: 'Marcellus', serif; font-weight: 400 !important; font-size: 1.05rem; }
.f-script { font-family: 'Pinyon Script', cursive; font-weight: 400 !important; font-size: 1.3rem; line-height: 1; }
.f-plain { text-transform: uppercase; letter-spacing: .06em; font-size: .86rem; }
.engr__fit { color: var(--wax-soft); font-size: .95rem; min-height: 3em; font-variant-numeric: tabular-nums; }
.engr__fit.bad { color: #ffd0bf; font-weight: 700; }
.engr__fig { margin: 0; min-width: 0; }
.engr__svg { width: 100%; height: auto; filter: drop-shadow(0 18px 26px rgba(0,0,0,.28)); }
.eg-edge { stroke: rgba(0,0,0,.18); stroke-width: 1; }
.eg-stamp { font: 700 26px var(--text); fill: rgba(40,25,5,.62); letter-spacing: .04em; }
.eg-text { font-size: 44px; fill: rgba(48,30,6,.8); }
.eg-text.f-classic-svg { font-family: 'Marcellus', serif; }
.eg-text.f-script-svg { font-family: 'Pinyon Script', cursive; font-size: 54px; }
.eg-text.f-plain-svg { font-family: var(--text); font-weight: 600; letter-spacing: .08em; font-size: 38px; }
.eg-dim { stroke: var(--wax-soft); stroke-width: 1.2; }
.eg-dimt { fill: var(--wax-soft); font: 600 16px var(--text); }
.engr__fig figcaption { color: var(--wax-soft); font-size: .88rem; margin-top: .8rem; }
@media (max-width: 900px) { .engr__grid { grid-template-columns: 1fr; } }

/* ---------- PROCESS ---------- */
.proc { padding-bottom: clamp(60px, 8vw, 110px); }
.proc__track { margin-top: 52px; padding-left: var(--gut); padding-right: var(--gut); max-width: 1280px; margin-left: auto; margin-right: auto; }
.proc__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; position: relative; }
.pstep { position: relative; padding-top: 26px; border-top: 3px solid var(--ink); min-width: 0; }
.pstep::before { content: ''; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--wax); box-shadow: 0 0 0 3px var(--chalk); }
.pstep__day { display: block; font-size: .92rem; font-weight: 300; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: .35rem; margin-bottom: .7rem; font-variant-numeric: tabular-nums; }
.pstep h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.pstep p { color: var(--ink-soft); }
.proc__ph { margin-top: 36px; color: var(--ink-soft); }
.anim.desk .proc__pin { overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header); }
.anim.desk .proc__track { max-width: none; overflow: visible; }
.anim.desk .proc__list { display: flex; gap: 0; width: max-content; }
.anim.desk .pstep { width: min(36vw, 460px); padding-right: 44px; }
.anim.desk .proc { padding-block: 0; }
.anim.desk .proc__head { padding-top: 24px; }
@media (max-width: 900px) { .proc__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proc__list { grid-template-columns: 1fr; } }

/* ---------- PRICE ---------- */
.price__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; margin-top: 52px; align-items: start; }
.formula { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; padding: 28px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.formula__t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.formula__v { font-family: var(--display); font-size: clamp(1.9rem, 1.2rem + 1.8vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.formula__l { font-size: .86rem; color: var(--ink-soft); }
.formula__op { font-family: var(--display); font-size: 2rem; color: var(--raw); padding-bottom: 1.4rem; }
.formula__t--res .formula__v { color: var(--raw); }
.price__rows { margin: 0; display: grid; gap: 0; }
.price__rows div { display: flex; justify-content: space-between; gap: 12px; padding: .6rem 0; border-top: 1px solid var(--line); }
.price__rows dt { font-weight: 600; }
.price__rows dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
@media (max-width: 900px) { .price__grid { grid-template-columns: 1fr; } }

/* ---------- CARE ---------- */
.care__list { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.care__list li { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line-wax); }
.care__list b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.care__list span { color: var(--wax-soft); }
@media (max-width: 760px) { .care__list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq__list { margin-top: 40px; border-bottom: 1px solid var(--line); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; padding: 1.1rem 2.4rem 1.1rem 0; font-family: var(--display); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); position: relative; min-height: 44px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .35s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 1.2rem; color: var(--ink-soft); max-width: 66ch; }

/* ---------- QUOTE ---------- */
.quote__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; margin-top: 52px; align-items: start; }
.qform { display: grid; gap: 18px; }
.field__err { color: #ffd0bf; font-size: .9rem; font-weight: 600; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--wax-soft); font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.qsum { background: var(--wax-deep); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; position: sticky; top: calc(var(--header) + 20px); }
.qsum__ring { width: 160px; margin: 0 auto; }
.spec--sum th, .spec--sum td { border-top-color: var(--line-wax); }
.qout { display: grid; gap: 10px; border-top: 1px solid var(--line-wax); padding-top: 16px; }
.qout p { color: var(--wax-soft); font-size: .95rem; }
.qout textarea { width: 100%; border-radius: 10px; border: 1px solid var(--line-wax); background: rgba(0,0,0,.25); color: var(--wax-ink); padding: .7em; font: .88rem/1.5 var(--text); resize: vertical; }
.qout__st { font-size: .9rem; color: var(--gold-hi); min-height: 1.4em; }
@media (max-width: 900px) { .quote__grid { grid-template-columns: 1fr; } .qsum { position: static; } }

/* ---------- FOOTER ---------- */
.foot { background: var(--wax-deep); color: var(--wax-ink); padding-block: 56px 72px; }
.foot__grid { display: grid; grid-template-columns: 1fr 1.2fr 1.3fr; gap: 36px; align-items: start; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__name { font-family: var(--display); font-size: 1.3rem; }
.foot__info { margin: 0; display: grid; gap: 8px; }
.foot__info div { display: flex; gap: 10px; }
.foot__info dt { color: var(--wax-soft); min-width: 9em; }
.foot__info dd { margin: 0; font-weight: 600; }
.foot__legal { display: grid; gap: 8px; color: var(--wax-soft); font-size: .95rem; }
.foot__legal a { color: var(--wax-ink); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- motion helpers ---------- */
.anim .rv { opacity: 1; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
html:not(.anim) * { transition-duration: .01ms !important; animation-duration: .01ms !important; }

/* pinned anatomy (desktop motion) */
.anat__list li { transition: background-color .35s var(--ease); border-radius: 10px; padding: 6px 8px; margin: -6px -8px; }
.anat__list li.is-on { background: rgba(227,182,85,.28); }
.anim.desk .anat { min-height: 100vh; padding-block: calc(var(--header) + 28px) 28px; display: flex; align-items: center; }
.anim.desk .anat .wrap { width: 100%; }
.anim.desk .anat__grid { margin-top: 28px; }
.anim.desk .anat__svg { max-height: calc(100vh - var(--header) - 260px); }
.eg-text.is-ghost { opacity: .35; }
.tablewrap:focus-visible { outline: 2px solid var(--raw); outline-offset: 4px; }
[hidden] { display: none !important; }
.hero__col--mid .hero__fallback { position: static; transform: none; width: min(68vw, 300px); margin: 8px auto 0; }
@media (max-width: 420px) { .brand__name { font-size: 1.12rem; } .brand__mark { width: 28px; height: 20px; } .top__cta { padding: .45em .75em; font-size: .9rem; } .lang__b { padding: .3rem .5rem; } }
