/* ─────────────────────────────────────────────────────────────────────────────
   MEN LAM — art direction: "Sổ lò" (the kiln logbook)
   A Bát Tràng family workshop's firing ledger, printed on dó paper and stamped
   with a red seal. Cormorant Garamond sets the voice — old, carved, unhurried;
   Be Vietnam Pro handles the facts. Numbers are serials, set tabular.
   • Palette sampled from the photos: cobalt glaze, glaze-white / dó paper,
     fired-clay brown, one cinnabar red reserved for the seal (never for UI),
     celadon as a quiet secondary. Night mode = the kiln yard after dark.
   • Shape: near-square corners (2px), hairline rules, dispatch slips with
     perforated edges, hanging tags, inline photo "pebbles" inside sentences.
   • Motion: photos unveil from below like a kiln door lifting; type rises;
     the seal stamps down. Everything stops under prefers-reduced-motion / .calm.
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  --men: #f2ebdd; --men-2: #e8dfcc; --paper: #f9f5ec; --kraft: #d6bf98;
  --ink: #1d1a17; --ink-2: #463d35; --ink-3: #6a5e53;
  --lam: #1f3f8e; --lam-2: #2a51ad; --lam-soft: #dde3f0; --lam-deep: #0e1d48; --on-lam: #f7f2e7;
  --dat: #9a5532; --dat-soft: #ead6c4; --chu: #b23a2c; --seal-ink: #f7ead6; --luc: #8fb4a1;
  --night: #141210; --night-2: #1d1a17; --on-night: #efe7d8;
  --line: rgba(29, 26, 23, .14); --line-2: rgba(29, 26, 23, .28);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 2px; --gut: clamp(18px, 4.4vw, 72px); --max: 1440px; --hdr: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-door: cubic-bezier(.72, 0, .18, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cg fill='none' stroke='%23826a4c' stroke-opacity='.09' stroke-linecap='round'%3E%3Cpath d='M20 40c40 8 70-6 110 4M200 90c30 10 60 2 90 12M60 210c20-6 52 4 80-2M280 260c36 10 70-8 110 2M30 330c30 6 46-4 72 2M180 380c40-8 70 6 120-2M330 40c20 14 40 8 60 18M120 140c10 18 30 24 38 44M300 170c-12 20-8 40-22 56'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}
:root[data-theme="dark"] {
  --men: #10141d; --men-2: #181e2b; --paper: #1a2030; --kraft: #6b5a40;
  --ink: #ece4d4; --ink-2: #c7bdab; --ink-3: #a19784;
  --lam: #93a9ee; --lam-2: #b3c3f5; --lam-soft: #1f2944; --lam-deep: #0a1124; --on-lam: #0d1430;
  --dat: #d48d63; --dat-soft: #3a2a20; --chu: #c4493a;
  --night: #0b0e15; --night-2: #121722;
  --line: rgba(236, 228, 212, .13); --line-2: rgba(236, 228, 212, .26);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .9 0 0 0 0 .88 0 0 0 0 .8 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; overflow-x: clip; background: var(--men); background-image: var(--fibre), var(--grain); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; transition: background-color .4s var(--ease), color .4s var(--ease); }
body.lock { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--lam); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--men); padding: 10px 16px; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 880px; }
.cap { font: 600 12.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
h1, h2, h3, .d1, .d2, .d3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1, .d1 { font-size: clamp(44px, 6.6vw, 112px); line-height: .96; }
.d2 { font-size: clamp(34px, 4vw, 62px); line-height: 1; }
.d3 { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.12; }
:lang(vi) h1, :lang(vi) .d1 { line-height: 1.04; } :lang(vi) .d2 { line-height: 1.08; }
h1 em, .d1 em, .d2 em, .mtext em { font-style: italic; color: var(--lam); }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.3vw, 19.5px); color: var(--ink-2); max-width: 48ch; }
.hint { font-size: 13.5px; color: var(--ink-3); }
.ico { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico.s { width: 18px; height: 18px; }
.seal { width: 64px; height: 64px; flex: none; }

/* buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; background: var(--lam); color: var(--on-lam); border-radius: var(--r); font-weight: 500; font-size: 15.5px; letter-spacing: .01em; text-decoration: none; transition: background .25s var(--ease), transform .2s var(--ease), color .25s; }
.btn:hover { background: var(--lam-2); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.light { background: var(--on-lam); color: #13254f; }
:root[data-theme="dark"] .btn.light { background: #f3ecdf; color: #13254f; }
.btn.light:hover { background: #fff; }
.btn.big { min-height: 56px; font-size: 16px; }
.btn.full { width: 100%; }
.btn.danger { background: var(--chu); color: #fff; }
.btn .ico { width: 20px; height: 20px; }
.btn.loading { pointer-events: none; }
.spin { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lnk { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; min-height: 32px; transition: gap .25s var(--ease); }
.lnk:hover { gap: 13px; }
.lnk.light { color: #f2ebdd; }
.ib { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .2s, transform .2s var(--ease); position: relative; }
.ib:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.ib:active { transform: scale(.94); }
.ib.light { color: #f2ebdd; box-shadow: inset 0 0 0 1px rgba(242, 235, 221, .35); }

/* photos: one image, many honest crops */
.ph { display: block; position: relative; overflow: hidden; background: var(--men-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); transform: scale(var(--z)); transform-origin: var(--pos); transition: transform .6s var(--ease); }
[data-par] .ph img { transform: translateY(var(--py, 0px)) scale(calc(var(--z) * 1.1)); transition: none; }

/* reveals */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.cr { clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease-door); }
.cr.in { clip-path: inset(0 0 0 0); }
.cr .ph img { scale: 1.14; transition: scale .9s var(--ease), transform .6s var(--ease); }
.cr.in .ph img { scale: 1; }

/* ── header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s; color: var(--ink); }
.hdr.solid { background: color-mix(in srgb, var(--men) 93%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
body[data-page="home"] .hdr:not(.solid) { color: #f4ede0; }
.hdr.hide { transform: translateY(-100%); }
body.mopen .hdr { transform: none; background: var(--men); color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hb { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-inline: var(--gut); max-width: 1600px; margin: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.mk { width: 34px; height: 34px; }
body[data-page="home"] .hdr:not(.solid) .mk { --ink: #f4ede0; --lam: #f4ede0; --men: #1f3f8e; }
.wm { font: 600 26px/1 var(--serif); letter-spacing: .01em; }
.tg { font-size: 12.5px; color: currentColor; opacity: .72; padding-left: 12px; border-left: 1px solid currentColor; margin-left: 2px; line-height: 1.25; max-width: 172px; }
.nv { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 38px); }
.nv a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; position: relative; }
.nv a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nv a:hover::after, .nv a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.ac { display: flex; align-items: center; gap: 2px; }
.lg { display: flex; margin-right: 6px; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent); border-radius: 22px; padding: 3px; }
.lg button { min-width: 38px; height: 34px; border-radius: 18px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.lg button[aria-pressed="true"] { background: var(--ink); color: var(--men); }
body[data-page="home"] .hdr:not(.solid) .lg button[aria-pressed="true"] { background: #f4ede0; color: #1d1a17; }
#calmBtn[aria-pressed="true"] { background: color-mix(in srgb, currentColor 14%, transparent); }
.ct { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--lam); color: var(--on-lam); font: 600 12px/19px var(--sans); text-align: center; }
.ct:empty { display: none; }
body[data-page="home"] .hdr:not(.solid) .ct { background: #f4ede0; color: #13254f; }
.mnb { display: none; }
.mnav { position: fixed; inset: var(--hdr) 0 0; background: var(--men); background-image: var(--fibre), var(--grain); color: var(--ink); padding: 32px var(--gut); display: flex; flex-direction: column; justify-content: space-between; overflow: auto; }
.mnav nav { display: grid; }
.mnav a { display: flex; align-items: baseline; gap: 16px; font: 500 clamp(34px, 9vw, 52px)/1.2 var(--serif); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.mnav a span { font: 500 13px var(--sans); color: var(--ink-3); }
.mfoot { color: var(--ink-3); font-size: 14px; margin-top: 24px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ── hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #2a1d14; color: #f4ede0; isolation: isolate; }
.hvid { position: absolute; inset: 0; transform: translateY(var(--hy, 0)); }
.hvid video, .hpost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hvid video { opacity: 0; transition: opacity .6s var(--ease); z-index: 1; }
.hvid video.on { opacity: 1; }
.hscrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 8, .5) 0%, rgba(14, 10, 8, 0) 22%), linear-gradient(15deg, rgba(14, 10, 8, .82) 8%, rgba(14, 10, 8, .25) 52%, rgba(14, 10, 8, 0) 75%); z-index: 2; }
.hero > *:not(.hvid):not(.hscrim) { z-index: 3; }
.hmeta { position: absolute; top: calc(var(--hdr) + 28px); left: var(--gut); right: var(--gut); display: flex; justify-content: space-between; opacity: var(--ho, 1); }
.hmeta .cap { color: rgba(244, 237, 224, .82); animation: rise .6s .9s var(--ease) both; }
.vtxt { white-space: nowrap; writing-mode: vertical-rl; font: 600 12px var(--sans); letter-spacing: .32em; color: rgba(244, 237, 224, .7); position: absolute; right: 0; top: 40px; }
.htitle { position: absolute; left: var(--gut); bottom: clamp(120px, 15vh, 180px); font: 500 clamp(58px, 10.4vw, 178px)/.9 var(--serif); letter-spacing: -.02em; margin: 0; max-width: 11ch; opacity: var(--ho, 1); }
:lang(vi) .htitle { line-height: .98; }
.htitle > span { display: block; overflow: hidden; padding-bottom: .06em; }
.htitle > span > span { display: inline-block; animation: lift .6s var(--ease) both; }
.htitle .l1 > span { animation-delay: .15s; } .htitle .l2 > span { animation-delay: .25s; } .htitle .l3 > span { animation-delay: .35s; }
.htitle .l2 { padding-left: 1.1em; }
.htitle em { color: #b9c8f4; font-style: italic; }
@keyframes lift { from { transform: translateY(105%); } }
.hseal { position: absolute; width: clamp(64px, 7vw, 104px); height: auto; right: calc(var(--gut) + 4vw); top: 30vh; transform: rotate(-7deg); animation: stamp .45s 1.1s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes stamp { from { transform: rotate(-16deg) scale(1.9); opacity: 0; } 60% { opacity: 1; } }
.hside { position: absolute; right: var(--gut); bottom: clamp(120px, 15vh, 180px); width: min(360px, 30vw); animation: rise .6s .6s var(--ease) both; }
.hside p { color: rgba(244, 237, 224, .88); font-size: 16.5px; }
.vbtn { position: absolute; right: var(--gut); bottom: 36px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #f4ede0; box-shadow: inset 0 0 0 1px rgba(244, 237, 224, .4); }
.vbtn:hover { background: rgba(244, 237, 224, .12); }
.scue { position: absolute; left: var(--gut); bottom: 40px; display: flex; align-items: center; gap: 14px; color: rgba(244, 237, 224, .8); text-decoration: none; font-size: 13.5px; min-height: 44px; }
.scue i { width: 64px; height: 1px; background: rgba(244, 237, 224, .35); position: relative; overflow: hidden; }
.scue i::after { content: ''; position: absolute; inset: 0; background: #f4ede0; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ── manifesto */
.manif { padding-block: clamp(96px, 16vh, 180px) clamp(72px, 12vh, 140px); }
.mtext { font: 500 clamp(30px, 4.1vw, 64px)/1.14 var(--serif); letter-spacing: -.012em; max-width: 1180px; margin-bottom: clamp(64px, 10vh, 120px); }
.inl { display: inline-block; vertical-align: middle; width: 2.1em; height: .92em; border-radius: 1em; overflow: hidden; transform: translateY(-.06em); }
.inl .ph { width: 100%; height: 100%; }
.cnt { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.cnt > div { padding: 24px 24px 0 0; display: grid; gap: 6px; }
.cnt > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.cnt b { font: 500 clamp(44px, 4.8vw, 76px)/1 var(--serif); color: var(--lam); letter-spacing: -.02em; }
.cnt > div > span { color: var(--ink-2); font-size: 15px; }

/* ── pinned story */
.story { position: relative; height: calc(var(--n) * 90vh + 10vh); background: var(--night); color: var(--on-night); }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1.25fr 1fr; overflow: hidden; }
.sv { position: relative; overflow: hidden; }
.sf { position: absolute; inset: 0; margin: 0; clip-path: inset(calc((1 - var(--r, 0)) * 100%) 0 0 0); }
.sf .ph { position: absolute; inset: 0; background: #1d1a17; }
.sf .ph img { scale: calc(1.16 - var(--r, 0) * .16); transition: none; }
.sgrain { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(20, 18, 16, .55)); pointer-events: none; }
.stx { padding: calc(var(--hdr) + 48px) clamp(24px, 5vw, 80px) 56px; display: flex; flex-direction: column; }
.stx .cap { color: rgba(239, 231, 216, .62); }
.ssteps { position: relative; flex: 1; }
.ss { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(32px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ss.past { transform: translateY(-32px); }
.ss.on { opacity: 1; transform: none; }
.snum { display: block; font: italic 500 clamp(80px, 9vw, 150px)/.9 var(--serif); color: #d48d63; margin-bottom: 8px; }
.ss h2 { font-size: clamp(44px, 5.2vw, 88px); line-height: 1; margin-bottom: 22px; }
.ss p { font-size: clamp(16.5px, 1.25vw, 19px); color: rgba(239, 231, 216, .84); max-width: 40ch; }
.smeta { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .06em; color: #f0d9c4; padding: 10px 14px; box-shadow: inset 0 0 0 1px rgba(240, 217, 196, .3); }
.sprog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sprog li { display: grid; gap: 10px; font-size: 13px; color: rgba(239, 231, 216, .5); transition: color .3s; }
.sprog i { height: 2px; background: rgba(239, 231, 216, .18); position: relative; overflow: hidden; }
.sprog i::after { content: ''; position: absolute; inset: 0; background: #d48d63; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.sprog li.on { color: #efe7d8; } .sprog li.on i::after { transform: scaleX(1); }

/* ── four forms */
.shapes { padding-block: clamp(96px, 14vh, 170px); }
.shd { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px; }
.sgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.sh { text-decoration: none; display: grid; gap: 18px; align-content: start; }
.sh0 { grid-column: 1 / 8; grid-row: span 2; } .sh1 { grid-column: 8 / 13; } .sh2 { grid-column: 8 / 13; } .sh3 { grid-column: 2 / 12; margin-top: 40px; }
.shim { display: block; overflow: hidden; }
.shim .ph { aspect-ratio: 4 / 3; }
.sh0 .shim .ph { aspect-ratio: 4 / 4.6; } .sh3 .shim .ph { aspect-ratio: 21 / 8; }
.sh:hover .ph img { transform: translateY(var(--py, 0px)) scale(calc(var(--z) * 1.16)); transition: transform .6s var(--ease); }
.shtx { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: baseline; }
.shtx .num { color: var(--dat); font: italic 500 20px var(--serif); }
.shtx b { font: 500 clamp(30px, 2.8vw, 44px)/1 var(--serif); }
.shtx small { grid-column: 2; font-size: 15px; color: var(--ink-2); }
.shtx .lnk { grid-column: 3; grid-row: 1; }

/* ── glaze lab */
.lab { background: radial-gradient(120% 80% at 75% 45%, #1c2c58 0%, #0e1530 48%, #090d1c 100%); color: #f2ebdd; position: relative; overflow: hidden; }
.lab[data-glz="ran"] { background: radial-gradient(120% 80% at 75% 45%, #3c3226 0%, #1e1913 52%, #110e0b 100%); }
.lab[data-glz="luc"] { background: radial-gradient(120% 80% at 75% 45%, #23413a 0%, #12221f 52%, #0b1413 100%); }
.lab { transition: background .6s; }
.labin { max-width: 1600px; margin: auto; display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; min-height: min(100vh, 900px); }
.labtx { padding: clamp(80px, 12vh, 140px) var(--gut); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.labtx .cap { color: rgba(242, 235, 221, .66); margin: 0; }
.labtx .d1 { font-size: clamp(48px, 5.6vw, 96px); margin-bottom: 6px; }
.labtx .d1 em { color: #b9c8f4; }
.labtx .lede { color: rgba(242, 235, 221, .8); }
.ctl { display: grid; gap: 10px; margin-top: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(242, 235, 221, .28); font-size: 15px; transition: background .25s, color .25s, transform .2s var(--ease); }
.seg button:hover { box-shadow: inset 0 0 0 1px rgba(242, 235, 221, .7); }
.seg button:active { transform: scale(.97); }
.seg button[aria-checked="true"] { background: #f2ebdd; color: #14182a; box-shadow: none; }
.seg button:focus-visible, .lab :focus-visible { outline-color: #f2ebdd; }
.seg i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.crk { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.glzd { color: rgba(242, 235, 221, .74); font-size: 15px; max-width: 46ch; min-height: 4.8em; margin: 4px 0 0; }
.stage { position: relative; min-height: 520px; cursor: grab; }
.stage:active { cursor: grabbing; }
.stage .poster { position: absolute; inset: 12% 10%; border-radius: 50%; opacity: .9; transition: opacity .6s; }
.stage.live .poster { opacity: 0; pointer-events: none; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stbar { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: rgba(242, 235, 221, .72); }
.stbar span { display: inline-flex; gap: 8px; align-items: center; }

/* ── certificate */
.cert { padding-block: clamp(96px, 14vh, 170px); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.certim .ph { aspect-ratio: 4 / 4.4; }
.slipmini { position: relative; margin-top: 32px; padding: 28px 28px 24px; background: var(--paper); background-image: var(--fibre); box-shadow: inset 0 0 0 1px var(--line); }
.slipmini::before, .slipmini::after { content: ''; position: absolute; left: 0; right: 0; height: 8px; background: radial-gradient(circle at 6px 4px, var(--men) 3.4px, transparent 3.8px) 0 0 / 12px 8px repeat-x; }
.slipmini::before { top: -4px; } .slipmini::after { bottom: -4px; }
.slipmini .seal { position: absolute; right: 22px; top: -22px; transform: rotate(5deg); width: 70px; height: 70px; }
.slipmini dl, .meta, .tot { margin: 0; display: grid; gap: 0; }
.slipmini dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
dt { color: var(--ink-3); font-size: 14px; } dd { margin: 0; }
.sig { display: block; font: italic 600 34px var(--serif); color: var(--lam); text-align: right; margin-top: 10px; transform: rotate(-4deg); }

/* ── cards */
.feat { padding-bottom: clamp(96px, 14vh, 160px); }
.fhd { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px clamp(16px, 2.2vw, 32px); transition: opacity .2s; }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.grid.swap { opacity: .25; }
.card { position: relative; display: grid; align-content: start; gap: 16px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--ease), opacity .6s var(--ease); transform-style: preserve-3d; }
.card.rv:not(.in) { transform: translateY(26px); }
.card .cim { position: relative; display: block; overflow: hidden; }
.card .cim .ph { aspect-ratio: 4 / 5; }
.card.wide { grid-column: span 2; } .card.wide .cim .ph { aspect-ratio: 16 / 10.2; }
.card:hover .cim .ph img { transform: scale(calc(var(--z) * 1.06)); }
.shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .3) 50%, transparent 62%) var(--sx, 50%) 0 / 260% 100% no-repeat; opacity: 0; transition: opacity .3s; pointer-events: none; mix-blend-mode: soft-light; }
.card.ton .shine { opacity: 1; }
.gtag { position: absolute; left: 12px; top: 12px; background: var(--kraft); color: #2b2015; font: 600 12.5px var(--sans); letter-spacing: .06em; padding: 6px 10px; }
.cmeta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cmeta .cap { margin: 0; }
.lchip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.lchip i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.cn { font: 500 clamp(22px, 1.9vw, 28px)/1.1 var(--serif); }
.cn a { text-decoration: none; } .cn a:hover { text-decoration: underline; }
.cs { color: var(--ink-2); font-size: 15px; margin: 0; }
.cp { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.cp b { font: 600 17px var(--sans); }
.cp span { font-size: 13.5px; color: var(--dat); }
.cp span.out { color: var(--ink-3); }
.sk .cim { aspect-ratio: 4 / 5; background: var(--men-2); position: relative; overflow: hidden; }
.sk .cb { display: grid; gap: 10px; } .sk .cb i { height: 14px; background: var(--men-2); position: relative; overflow: hidden; } .sk .cb i.s { width: 50%; }
.sk .cim::after, .sk .cb i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--paper) 70%, transparent) 50%, transparent 70%); transform: translateX(-100%); animation: shim 1.2s infinite; }
@keyframes shim { to { transform: translateX(100%); } }

/* ── gift */
.gift { display: grid; grid-template-columns: 7fr 5fr; background: var(--kraft); color: #2b2015; position: relative; }
:root[data-theme="dark"] .gift { color: #f2e6d2; }
.gim .ph { height: 100%; min-height: 560px; }
.gtx { padding: clamp(56px, 9vh, 110px) clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 18px; position: relative; background-image: var(--fibre), var(--grain); }
.gtx .cap { color: inherit; opacity: .78; margin: 0; }
.gtx .d2 em { color: inherit; }
.glist { margin: 0; padding: 0; list-style: none; display: grid; }
.glist li { padding: 12px 0; border-bottom: 1px solid rgba(43, 32, 21, .2); font-size: 15.5px; }
:root[data-theme="dark"] .glist li { border-color: rgba(242, 230, 210, .2); }
.gtx .btn { align-self: start; background: #2b2015; color: #f3e8d4; }
:root[data-theme="dark"] .gtx .btn { background: #f3e8d4; color: #2b2015; }
.glabel { position: absolute; left: -250px; top: 44px; width: 200px; padding: 18px 18px 16px; background: #f6efe1; color: #1f3f8e; box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 14px 30px -18px rgba(40, 24, 10, .6); transform: rotate(-5deg); display: grid; gap: 4px; }
.glabel::before { content: ''; position: absolute; top: 10px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #9a7a54; }
.gl1 { font: 700 30px/1 var(--serif); letter-spacing: .12em; margin-top: 12px; }
.gl2 { font: italic 500 16px var(--serif); color: #463d35; }
.gl3 { font: 500 13px var(--sans); color: #6a5e53; letter-spacing: .08em; border-top: 1px dashed #b9a585; padding-top: 8px; margin-top: 6px; }
.seal.xs { position: absolute; right: -14px; bottom: -16px; width: 46px; height: 46px; transform: rotate(8deg); }

/* ── custom teaser */
.custom { padding-block: clamp(96px, 14vh, 170px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.ctx { display: grid; gap: 18px; justify-items: start; }
.ctx .cap { margin: 0; }
.cnums { display: flex; gap: 40px; padding: 16px 0; border-block: 1px solid var(--line); width: 100%; }
.cnums div { display: grid; } .cnums b { font: 500 52px/1 var(--serif); color: var(--lam); } .cnums span { font-size: 14px; color: var(--ink-2); }
.cim2 { position: relative; }
.cim2 .ph { aspect-ratio: 16 / 11; }
.engrave { position: absolute; left: 47%; top: 30%; transform: translate(-50%, -50%) perspective(400px) rotateX(58deg) rotate(-4deg); font: 700 clamp(14px, 1.6vw, 22px) var(--serif); letter-spacing: .3em; color: rgba(60, 40, 20, .55); mix-blend-mode: multiply; pointer-events: none; white-space: nowrap; }

/* ── voices */
.voices { padding-bottom: clamp(96px, 14vh, 160px); }
.vg { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(32px, 5vw, 80px); }
.vq { margin: 0; display: grid; gap: 18px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line-2); }
.vq0 { grid-row: span 2; }
.vq blockquote { margin: 0; font: italic 500 clamp(22px, 2vw, 30px)/1.3 var(--serif); }
.vq0 blockquote { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.16; }
.vq figcaption { display: grid; font-size: 14.5px; } .vq figcaption b { font-weight: 600; } .vq figcaption span { color: var(--ink-3); }

/* ── duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); padding-bottom: clamp(96px, 14vh, 160px); }
.dcard { text-decoration: none; display: grid; gap: 20px; }
.dim .ph { aspect-ratio: 4 / 3; }
.dcard:hover .ph img { transform: scale(calc(var(--z) * 1.05)); }
.dtx { display: grid; gap: 8px; justify-items: start; } .dtx .cap { margin: 0; } .dtx > span:not(.cap):not(.lnk) { color: var(--ink-2); }

/* ── footer */
.ftr { background: var(--night); color: var(--on-night); padding-top: clamp(80px, 12vh, 140px); }
.fw { max-width: var(--max); margin: auto; padding-inline: var(--gut); }
.fbig { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: 64px; border-bottom: 1px solid rgba(239, 231, 216, .16); }
.fh { font: 500 clamp(44px, 6vw, 100px)/1 var(--serif); margin: 0; letter-spacing: -.02em; }
.fh em { color: #d48d63; }
.ftr .btn { background: #efe7d8; color: #13254f; }
.fcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 48px; }
.fl { font: 600 12.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(239, 231, 216, .6); margin-bottom: 14px; }
.fcols p, .fcols li { font-size: 15px; color: rgba(239, 231, 216, .86); }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fcols a { text-decoration: none; display: inline-block; padding: 6px 0; } .fcols a:hover { text-decoration: underline; }
.fine { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding-block: 28px 40px; border-top: 1px solid rgba(239, 231, 216, .16); font-size: 14px; color: rgba(239, 231, 216, .72); }
.fine p { margin: 0 0 4px; } .fine .seal { width: 48px; height: 48px; }
.flk a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }

/* ── drawer, toast, dialog, flyer */
.drawer { position: fixed; inset: 0; z-index: 120; background: rgba(15, 12, 10, 0); transition: background .35s; }
.drawer.on { background: rgba(15, 12, 10, .45); }
.dp { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100vw); background: var(--men); background-image: var(--fibre), var(--grain); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer.on .dp { transform: none; }
.dh { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 18px 28px; border-bottom: 1px solid var(--line); }
.dh h2 { font: 500 32px var(--serif); }
.dl { list-style: none; margin: 0; padding: 8px 28px; flex: 1; overflow: auto; }
.dl li { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; animation: rise .45s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.dth .ph { width: 84px; height: 100px; }
.dn { font: 500 21px/1.15 var(--serif); text-decoration: none; display: block; }
.sn { display: block; font-size: 13.5px; color: var(--ink-3); margin: 4px 0; }
.dl .pr { font-weight: 600; }
.df { padding: 20px 28px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--paper); }
.row { display: flex; justify-content: space-between; font-size: 17px; }
.chk { display: flex; gap: 12px; align-items: center; font-size: 15px; cursor: pointer; min-height: 44px; }
.chk span { display: inline-flex; gap: 8px; align-items: center; }
.chk input, .tog input, .opt input, .pc input, .fchip input { accent-color: var(--lam); width: 18px; height: 18px; flex: none; }
.dempty { padding: 32px 28px; display: grid; gap: 12px; justify-items: start; }
.dempty .eimg { width: 100%; aspect-ratio: 16 / 10; margin-bottom: 8px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 200; display: flex; align-items: center; gap: 12px; padding: 14px 18px; max-width: min(560px, calc(100vw - 32px)); background: var(--ink); color: var(--men); font-size: 15px; transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.toast .tlink { color: inherit; text-decoration: underline; min-height: 44px; padding: 0 4px; white-space: nowrap; font-weight: 600; }
.flyer { position: fixed; z-index: 250; object-fit: cover; border-radius: 50%; pointer-events: none; }
.dlg { border: 0; padding: 32px; max-width: 420px; width: calc(100vw - 32px); background: var(--men); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5); }
.dlg::backdrop { background: rgba(15, 12, 10, .5); }
.dlg .d3 { margin-bottom: 10px; }
.brow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ── inner pages */
.phd { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: end; padding: calc(var(--hdr) + clamp(40px, 7vh, 80px)) var(--gut) clamp(48px, 7vh, 80px); max-width: var(--max); margin: auto; }
.phd h1 { margin-bottom: 20px; }
.phim .ph { aspect-ratio: 16 / 9.6; }
.crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); padding-top: calc(var(--hdr) + 28px); margin-bottom: 28px; }
.crumb a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; } .crumb a:hover { color: var(--ink); text-decoration: underline; }

/* collection */
.col { padding-bottom: 120px; }
.filters { position: sticky; top: var(--hdr); z-index: 5; background: color-mix(in srgb, var(--men) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 10px 0 14px; margin-bottom: 32px; box-shadow: 0 1px 0 var(--line); transition: top .4s var(--ease); }
.hdr.hide ~ main .filters { top: 0; }
.tabs { display: flex; gap: clamp(16px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs button { font: 500 clamp(22px, 2vw, 28px) var(--serif); padding: 8px 0 12px; white-space: nowrap; position: relative; color: var(--ink-3); min-height: 48px; transition: color .25s; }
.tabs button span { font: 500 13px var(--sans); vertical-align: super; margin-left: 2px; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lam); transform: scaleX(0); transition: transform .35s var(--ease); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.frow { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.glz { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.glz .cap { margin: 0 6px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--ink); color: var(--men); box-shadow: none; }
.chip i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--lam); outline-offset: 2px; }
.tog { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; min-height: 44px; cursor: pointer; }
.sel { position: relative; margin-left: auto; display: inline-flex; align-items: center; }
.sel select { appearance: none; min-height: 44px; padding: 0 40px 0 14px; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; border-radius: var(--r); font-size: 14.5px; cursor: pointer; }
.sel .ico { position: absolute; right: 12px; pointer-events: none; }
.lnote { display: flex; gap: 10px; align-items: center; margin: 0; max-height: 0; overflow: hidden; opacity: 0; font-size: 14.5px; color: var(--ink-2); transition: max-height .4s var(--ease), opacity .3s, margin .3s; }
.lnote.on { max-height: 80px; opacity: 1; margin-top: 10px; }
.lnote i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.empty { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; padding: 48px 0; }
.empty .eimg { aspect-ratio: 4 / 3; }
.empty .d3 { margin-bottom: 10px; }

/* product */
.pd { padding-bottom: 120px; }
.pdg { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 88px); align-items: start; }
.gal { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 12px; }
.gmain { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; transform-origin: top left; background: var(--men-2); }
.gmain .gimg { position: absolute; inset: 0; transition: opacity .5s var(--ease), clip-path .6s var(--ease-door); clip-path: inset(0); }
.gmain .gimg.in { clip-path: inset(0 0 0 100%); }
.htag { position: absolute; left: 24px; bottom: 28px; width: 128px; padding: 22px 14px 14px; background: var(--kraft); color: #2b2015; transform: rotate(-7deg); transform-origin: top center; display: grid; gap: 2px; box-shadow: 0 14px 22px -16px rgba(30, 18, 8, .7); animation: sway 5s ease-in-out infinite; }
:root[data-theme="dark"] .htag { background: #d6bf98; }
.htag .hole { position: absolute; top: 8px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--men-2); box-shadow: inset 0 0 0 1.5px #8c6c46; }
.htag .hole::before { content: ''; position: absolute; left: 3px; bottom: 6px; width: 1.5px; height: 46px; background: #8c6c46; transform: rotate(14deg); transform-origin: bottom; }
.htag b { font: 700 19px/1 var(--serif); letter-spacing: .14em; color: #1f3f8e; }
.htag span { font: italic 600 22px var(--serif); }
.htag small { font-size: 12px; letter-spacing: .06em; color: #4a3a28; }
@keyframes sway { 50% { transform: rotate(-4deg); } }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.th { position: relative; min-height: 44px; }
.th .ph { aspect-ratio: 1; }
.th::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--lam); transition: box-shadow .25s; }
.th[aria-pressed="true"]::after { box-shadow: inset 0 0 0 2px var(--lam); }
.th:hover .ph img { transform: scale(calc(var(--z) * 1.06)); }
.pinfo { padding-top: 8px; display: grid; gap: 4px; }
.pinfo .cap { display: flex; gap: 10px; align-items: center; }
.pinfo h1 { font-size: clamp(40px, 4.2vw, 68px); margin-bottom: 8px; }
.pprice { font: 500 34px var(--serif); margin-bottom: 14px; }
.pcs { border: 0; padding: 0; margin: 10px 0 18px; display: grid; gap: 8px; }
.pcs legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.pcs legend .hint { font-weight: 400; margin-left: 6px; }
.pc { display: grid; grid-template-columns: auto auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow .2s, background .2s; }
.pc:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pc:has(input:checked) { box-shadow: inset 0 0 0 2px var(--lam); background: color-mix(in srgb, var(--lam-soft) 60%, transparent); }
.pc.off { opacity: .5; cursor: not-allowed; }
.pno { font: 600 22px var(--serif); }
.pmeta { font-size: 14px; color: var(--ink-2); line-height: 1.45; } .pmeta em { color: var(--ink-3); }
.pst { font-size: 13px; color: var(--ink-3); }
.buy { display: flex; gap: 10px; flex-wrap: wrap; }
.buy .btn.big { flex: 1 1 260px; }
.perks { list-style: none; margin: 22px 0 6px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.perks li { display: flex; gap: 12px; align-items: center; }
.acc { margin-top: 18px; border-bottom: 1px solid var(--line); }
.acc details { border-top: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 58px; cursor: pointer; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; margin-left: auto; font: 400 24px var(--serif); transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > :not(summary) { padding-bottom: 20px; color: var(--ink-2); font-size: 15px; }
.dg { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.dims { margin: 0; } .dims svg { width: 100%; height: auto; }
.dt { font: 500 13px var(--sans); fill: var(--ink-2); }
.dg dl { margin: 0; display: grid; } .dg dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.care { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.maker { display: grid; grid-template-columns: 5fr 6fr 4.2fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin: clamp(80px, 12vh, 140px) 0; padding-top: 48px; border-top: 1px solid var(--line-2); }
.mkim .ph { aspect-ratio: 4 / 3.4; }
.maker .d3 { font-size: clamp(32px, 3vw, 46px); }
.mrole { color: var(--ink-3); font-size: 14.5px; margin: 6px 0 16px; }
.maker blockquote { margin: 0 0 18px; font: italic 500 clamp(22px, 1.9vw, 28px)/1.3 var(--serif); }
.cert-card, .maker .cert { position: relative; padding: 28px 24px 24px; background: var(--paper); background-image: var(--fibre); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink-2); }
.maker .cert .seal { position: absolute; right: 16px; top: -24px; transform: rotate(6deg); }
.cno { font: 600 24px var(--serif); color: var(--ink); margin-bottom: 8px; white-space: nowrap; }
.rel .d2 { margin-bottom: 32px; }

/* checkout */
.co { padding-bottom: 120px; }
.co > .d2 { margin-bottom: 36px; }
.cog { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
legend { display: flex; align-items: baseline; gap: 12px; font: 500 28px var(--serif); margin-bottom: 18px; padding: 0; }
legend .num { font: 500 14px var(--sans); color: var(--dat); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fld { display: grid; gap: 8px; margin-bottom: 18px; font-size: 14.5px; font-weight: 500; }
.fld i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.fld input, .fld textarea, .qty input[type=number] { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16px; font-weight: 400; transition: box-shadow .2s; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld textarea:focus, .qty input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lam); }
[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--chu) !important; }
.err { color: var(--chu); font-size: 13.5px; font-weight: 500; }
.opts { display: grid; gap: 8px; margin-bottom: 18px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow .2s, background .2s; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--lam); background: color-mix(in srgb, var(--lam-soft) 55%, transparent); }
.opt span { display: grid; } .opt small { color: var(--ink-3); font-size: 13.5px; } .opt em { font-style: normal; font-weight: 600; }
.demo { font-size: 13.5px; color: var(--ink-3); padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--line); }
.sum { position: sticky; top: calc(var(--hdr) + 16px); padding: 28px; background: var(--paper); background-image: var(--fibre); box-shadow: inset 0 0 0 1px var(--line); }
.sum ul, .items { list-style: none; margin: 0 0 12px; padding: 0; }
.sum li, .items li { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sth .ph { width: 60px; height: 72px; }
.sum li b, .items li b { display: block; font: 500 19px/1.15 var(--serif); } .sum small, .items small { color: var(--ink-3); font-size: 13.5px; }
#tot div, .tot div, .est dl div { display: flex; justify-content: space-between; padding: 8px 0; }
#tot .gt, .tot .gt { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 14px; font-size: 19px; font-weight: 600; }
#tot dt, .tot dt { color: var(--ink-2); font-size: 15px; } #tot .gt dt, .tot .gt dt { color: var(--ink); font-size: 19px; }

/* confirmation slip */
.conf { padding-top: calc(var(--hdr) + 48px); padding-bottom: 120px; }
.slip { position: relative; padding: clamp(32px, 5vw, 56px); background: var(--paper); background-image: var(--fibre), var(--grain); box-shadow: inset 0 0 0 1px var(--line); }
.slip::before, .slip::after { content: ''; position: absolute; left: 0; right: 0; height: 10px; background: radial-gradient(circle at 7px 5px, var(--men) 4px, transparent 4.5px) 0 0 / 14px 10px repeat-x; }
.slip::before { top: -5px; } .slip::after { bottom: -5px; }
.stamp-in { position: absolute; right: clamp(20px, 4vw, 48px); top: clamp(20px, 4vw, 40px); animation: stamp .5s .25s cubic-bezier(.3, 1.5, .5, 1) both; transform: rotate(-8deg); }
.seal.big { width: 96px; height: 96px; }
.slip .d2 { margin: 6px 0 14px; padding-right: 110px; }
.meta { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px 0; border-block: 1px dashed var(--line-2); margin: 20px 0; }
.meta div { display: grid; gap: 4px; } .meta dd { font-weight: 600; }
.qr { display: flex; gap: 24px; align-items: center; padding: 20px; margin: 18px 0; box-shadow: inset 0 0 0 1px var(--line); }
.qr svg { width: 120px; height: 120px; flex: none; color: var(--ink); background: var(--men); padding: 6px; }
.qr p { margin: 0; font-size: 15px; }
.steps { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.steps li { font-size: 13.5px; color: var(--ink-3); padding-top: 12px; border-top: 2px solid var(--line); }
.steps li.on { color: var(--ink); border-color: var(--lam); font-weight: 600; }

/* custom */
.cus { padding-bottom: 120px; }
.proc { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.proc li { display: grid; gap: 4px; padding: 20px 20px 0 0; }
.proc li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.proc .num { font: italic 500 22px var(--serif); color: var(--dat); } .proc b { font: 500 26px var(--serif); } .proc small { color: var(--ink-3); font-size: 14px; }
.cusg { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.fchips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.fchip { cursor: pointer; position: relative; }
.fchip input { position: absolute; opacity: 0; }
.fchip > span { display: grid; gap: 4px; padding: 8px 8px 12px; box-shadow: inset 0 0 0 1px var(--line-2); height: 100%; transition: box-shadow .2s, background .2s; }
.fchip .ph { aspect-ratio: 1; margin-bottom: 6px; }
.fchip b { font-size: 14px; font-weight: 600; line-height: 1.3; } .fchip small { font-size: 13px; color: var(--ink-3); }
.fchip:has(input:checked) > span { box-shadow: inset 0 0 0 2px var(--lam); background: color-mix(in srgb, var(--lam-soft) 55%, transparent); }
.fchip:has(input:focus-visible) > span { outline: 2px solid var(--lam); outline-offset: 2px; }
.engf { margin-top: 16px; }
.upb { position: relative; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; box-shadow: inset 0 0 0 1px dashed var(--line-2); border: 1px dashed var(--line-2); font-weight: 400; cursor: pointer; }
.upb input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upb:focus-within { outline: 2px solid var(--lam); outline-offset: 2px; }
.qty { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; }
.qty input[type=range] { accent-color: var(--lam); width: 100%; height: 44px; }
.qprev { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 20px; }
.prv { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--men-2); --tint: #1f3f8e; }
.prv .pvimg, .prv .pvimg .ph { position: absolute; inset: 0; }
.prv::after { content: ''; position: absolute; inset: 0; background: var(--tint); mix-blend-mode: color; opacity: .5; pointer-events: none; transition: background .4s; }
.engr { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.et { font: 700 15px var(--serif); letter-spacing: .3em; fill: rgba(40, 26, 14, .62); }
#engLogo { mix-blend-mode: multiply; opacity: .75; }
.pvcap { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); z-index: 3; background: rgba(20, 18, 16, .7); color: #f2ebdd; font-size: 12.5px; padding: 4px 10px; letter-spacing: .06em; white-space: nowrap; }
.est { padding: 24px 28px; background: var(--paper); background-image: var(--fibre); box-shadow: inset 0 0 0 1px var(--line); }
.est .big { font: 500 48px/1 var(--serif); margin: 0 0 12px; color: var(--lam); }
.est dl { margin: 0 0 10px; } .est dt { color: var(--ink-2); font-size: 14.5px; } .est dd { font-weight: 600; text-align: right; }
.qd { margin-top: 24px; }

/* classes */
.cls { padding-bottom: 120px; }
.clist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.ccard { text-align: left; display: grid; align-content: start; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .25s, transform .2s var(--ease); background: var(--paper); }
.ccard:active { transform: scale(.985); }
.ccard[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--lam); }
.cci .ph { aspect-ratio: 16 / 10; }
.ccb { display: grid; gap: 8px; padding: 20px 22px 22px; }
.ccb small { color: var(--ink-2); font-size: 14.5px; }
.ccm { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.ccm > span { display: inline-flex; gap: 6px; align-items: center; } .ccm b { margin-left: auto; color: var(--ink); font-size: 15px; }
.book { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: start; margin-bottom: 56px; }
.bk1 .d3, .bk2 .d3 { margin-bottom: 20px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 24px; }
.day { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; min-height: 84px; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s; }
.day span { font-size: 13px; color: var(--ink-3); } .day b { font: 500 26px/1.1 var(--serif); } .day small { font-size: 13px; color: var(--dat); }
.day:not([disabled]):hover { box-shadow: inset 0 0 0 1px var(--ink); }
.day[disabled] { opacity: .38; cursor: not-allowed; } .day[disabled] small { color: var(--ink-3); }
.day[aria-selected="true"] { background: var(--lam); color: var(--on-lam); box-shadow: none; }
.day[aria-selected="true"] span, .day[aria-selected="true"] small { color: var(--on-lam); }
.times { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.times .cap { width: 100%; margin-bottom: 4px; }
.tm { border-radius: var(--r); padding: 8px 18px; min-height: 56px; flex-direction: column; gap: 0; align-items: flex-start; }
.tm .num { font-weight: 600; font-size: 17px; } .tm small { font-size: 13px; opacity: .75; }
.tm[disabled] { opacity: .4; cursor: not-allowed; }
.bk2 { padding: 28px; background: var(--paper); background-image: var(--fibre); box-shadow: inset 0 0 0 1px var(--line); }
.stp { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-weight: 500; }
.stp > span { margin-right: auto; } .stp .ib { box-shadow: inset 0 0 0 1px var(--line-2); } .stp output { min-width: 36px; text-align: center; font-size: 20px; font-weight: 600; }
.bsum { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 0; margin-bottom: 16px; border-block: 1px dashed var(--line-2); }
.bsum small { color: var(--ink-3); } .bsum b { font: 500 26px var(--serif); }
.tix { display: grid; gap: 16px; margin-top: 20px; }
.tix1 { display: grid; grid-template-columns: 1fr auto; background: var(--lam); color: var(--on-lam); position: relative; }
.tix1 .tl { display: grid; gap: 4px; padding: 24px 28px; border-right: 2px dashed color-mix(in srgb, var(--on-lam) 40%, transparent); }
.tix1 .cap { color: inherit; opacity: .75; margin: 0; } .tix1 small { opacity: .8; }
.tix1 .tr { display: grid; place-items: center; gap: 4px; padding: 20px 28px; }
.tix1 .tr .num { font: 600 22px var(--serif); writing-mode: vertical-rl; }
.tix1 .lnk { color: inherit; font-size: 14px; }
.tix1::before, .tix1::after { content: ''; position: absolute; right: calc(var(--tw, 104px) - 9px); width: 18px; height: 18px; border-radius: 50%; background: var(--men); }
.tix1::before { top: -9px; } .tix1::after { bottom: -9px; }

/* workshop */
.wk { padding-bottom: 120px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); margin-bottom: clamp(72px, 10vh, 120px); }
.fact { display: grid; gap: 6px; padding: 24px 24px 0 0; font: 500 clamp(44px, 4.6vw, 72px)/1 var(--serif); color: var(--lam); }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { font-weight: 500; display: inline; } .fact > span:last-child { font: 400 15px/1.5 var(--sans); color: var(--ink-2); }
.arts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 36px); margin-bottom: clamp(80px, 12vh, 140px); }
.art { display: grid; align-content: start; gap: 10px; }
.aim .ph { aspect-ratio: 3 / 4; margin-bottom: 8px; }
.art .cap { margin: 0; } .art p { font-size: 15px; color: var(--ink-2); margin: 0; }
.art blockquote { margin: 6px 0 0; font: italic 500 21px/1.3 var(--serif); padding-left: 14px; border-left: 2px solid var(--dat); }
.kiln { position: relative; margin-bottom: clamp(80px, 12vh, 140px); color: #f2ebdd; }
.kim .ph { aspect-ratio: 21 / 9; min-height: 440px; }
.kim::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 10, 8, .82), rgba(14, 10, 8, .2) 65%); }
.ktx { position: absolute; left: clamp(24px, 5vw, 72px); bottom: clamp(24px, 5vw, 64px); max-width: 560px; z-index: 2; }
.ktx .cap { color: rgba(242, 235, 221, .7); } .ktx p { color: rgba(242, 235, 221, .86); }
.ktx .d2 { margin-bottom: 16px; }
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); }
.vcard { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.vim .ph { height: 100%; min-height: 260px; }
.vtx { padding: 24px; display: grid; gap: 8px; align-content: start; }
.vtx p { display: flex; gap: 10px; margin: 0; font-size: 15px; } .vtx .ico { margin-top: 3px; }
.vtx .lnk { justify-self: start; margin-top: 8px; }

/* ── calm / reduced motion */
html.calm *, html.calm *::before, html.calm *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
html.calm .rv, html.calm .cr { opacity: 1; transform: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  .rv, .cr { opacity: 1; transform: none; clip-path: none; }
}

/* ── responsive */
@media (max-width: 1100px) {
  .tg { display: none; }
  .grid.g4 { grid-template-columns: repeat(2, 1fr); }
  .arts { grid-template-columns: repeat(2, 1fr); }
  .fchips { grid-template-columns: repeat(3, 1fr); }
  .maker { grid-template-columns: 1fr 1fr; } .maker .cert { grid-column: 1 / -1; max-width: 420px; }
  .vcard { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  :root { --hdr: 64px; }
  .nv { display: none; } .mnb { display: inline-grid; }
  .hb { grid-template-columns: 1fr auto; }
  .htitle { bottom: 250px; max-width: none; }
  .hside { left: var(--gut); right: var(--gut); bottom: 96px; width: auto; display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; }
  .hside p { font-size: 15px; margin: 0; max-width: 34ch; }
  .hseal { top: calc(var(--hdr) + 80px); }
  .pin { grid-template-columns: 1fr; grid-template-rows: 52% 48%; }
  .stx { padding: 24px var(--gut) 28px; }
  .snum { font-size: 64px; } .ss h2 { font-size: 40px; margin-bottom: 12px; }
  .ss p { font-size: 15.5px; }
  .sgrain { background: linear-gradient(180deg, transparent 70%, rgba(20, 18, 16, .55)); }
  .sh0, .sh1, .sh2, .sh3 { grid-column: 1 / -1; grid-row: auto; margin: 0; }
  .sh0 .shim .ph { aspect-ratio: 4 / 3.4; } .sh3 .shim .ph { aspect-ratio: 16 / 9; }
  .labin { grid-template-columns: 1fr; } .labtx { padding-bottom: 8px; } .stage { min-height: 440px; }
  .cert, .custom, .phd, .pdg, .cog, .cusg, .book, .empty { grid-template-columns: 1fr; }
  .custom .cim2 { order: -1; }
  .gift { grid-template-columns: 1fr; } .gim .ph { min-height: 380px; height: 52vh; }
  .glabel { left: auto; right: var(--gut); top: -80px; width: 180px; }
  .vg { grid-template-columns: 1fr; } .vq0 { grid-row: auto; }
  .gal, .sum, .qprev { position: static; }
  .qprev { order: -1; grid-template-columns: 160px 1fr; align-items: center; }
  .fcols { grid-template-columns: 1fr 1fr; }
  .cnt, .facts { grid-template-columns: 1fr 1fr; }
  .cnt > div:nth-child(3), .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .proc { grid-template-columns: 1fr 1fr; gap: 16px 0; } .proc li:nth-child(3) { padding-left: 0; border-left: 0; }
  .clist { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .lg { display: none; }
  body:not([data-page="home"]) .ac, .ac { gap: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 36px 14px; }
  .card.wide { grid-column: 1 / -1; }
  .cn { font-size: 21px; } .cs { display: none; } .cp { flex-direction: column; gap: 2px; } .cmeta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hside { flex-direction: column; align-items: flex-start; }
  .htitle { bottom: 290px; font-size: clamp(54px, 15vw, 90px); }
  .htitle .l2 { padding-left: .5em; }
  .vtxt { display: none; }
  .scue span { display: none; }
  .mtext { font-size: 30px; }
  .dg { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .meta { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .days { grid-template-columns: repeat(4, 1fr); }
  .fchips { grid-template-columns: repeat(2, 1fr); }
  .qprev { grid-template-columns: 1fr; } .prv { width: min(260px, 70vw); justify-self: center; }
  .arts { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .fcols { grid-template-columns: 1fr; }
  .fine { grid-template-columns: auto 1fr; } .flk { grid-column: 1 / -1; }
  .pc { grid-template-columns: auto auto 1fr; } .pst { grid-column: 3; }
  .shd { flex-direction: column; align-items: flex-start; }
  .slip .d2 { padding-right: 70px; } .seal.big { width: 72px; height: 72px; }
  .tix1 .tl { padding: 20px; }
  .kim .ph { min-height: 520px; } .kim::after { background: linear-gradient(0deg, rgba(14, 10, 8, .88) 30%, rgba(14, 10, 8, .1)); }
  .qr { flex-direction: column; align-items: flex-start; }
  .glabel { display: none; }
}
