/* ───────────────────────────────────────────────────────────────────────────
   SỢI MỘC — art direction: "Thẻ treo & sổ hàng làng nghề"
   The kraft hang-tag tied to every piece (eyelet + twine), the woven care label
   sewn inside an apron, the indigo rubber stamp a village co-op thumps on a
   delivery slip, and the ruled wholesale ledger a buyer carries on the monthly
   truck. Laid out like a slow interiors magazine: off-axis, generous margins.
   • Type: Cormorant Garamond (display, italic for the hand), Be Vietnam Pro
     (text, spaced caps for labels). Numbers tabular.
   • Colour sampled from the photos: limewash linen wall, jute, the terracotta
     and moss aprons, amber candle glass; chàm (indigo) only for stamps & rivers.
   • Texture: linen weave on the page, kraft fibre on tags. Corners 2px.
   ─────────────────────────────────────────────────────────────────────────── */
:root {
  --linen: #ece5d8; --linen-2: #e3dacb; --paper: #f6f1e8; --kraft: #c9a878; --kraft-2: #dcc39c;
  --jute: #b39469; --jute-d: #7d6040; --clay: #a4553a; --clay-d: #8c4530; --moss: #6f7a58; --amber: #8a4b1f;
  --cham: #3f5873; --ink: #2a231c; --ink-2: #5a4d40; --ink-3: #716352;
  --line: rgba(42, 35, 28, .16); --line-2: rgba(42, 35, 28, .32);
  --on-clay: #fff8ef; --scrim: 20, 15, 10;
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --text: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 2px; --gut: clamp(18px, 4.4vw, 64px); --max: 1320px; --hdr: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-in: cubic-bezier(.5, 0, .75, 0);
  --weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 1.5h6M0 4.5h6' stroke='%23000' stroke-opacity='.035'/%3E%3Cpath d='M1.5 0v6M4.5 0v6' stroke='%23000' stroke-opacity='.025'/%3E%3C/svg%3E");
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .08' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
:root[data-theme="dark"] {
  --linen: #1d1914; --linen-2: #27211a; --paper: #2a241c; --kraft: #9c7f56; --kraft-2: #7d6545;
  --jute: #c4a77c; --jute-d: #d9bf97; --clay: #c8694a; --clay-d: #e08e70; --moss: #a3ae8a; --amber: #d08a4c;
  --cham: #93a9c6; --ink: #efe7da; --ink-2: #c3b6a3; --ink-3: #a39580;
  --line: rgba(239, 231, 218, .14); --line-2: rgba(239, 231, 218, .3); --on-clay: #1d1914;
  --weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 1.5h6M0 4.5h6' stroke='%23fff' stroke-opacity='.025'/%3E%3Cpath d='M1.5 0v6M4.5 0v6' stroke='%23fff' stroke-opacity='.018'/%3E%3C/svg%3E");
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--linen) var(--weave); color: var(--ink); font: 400 16px/1.62 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .4s var(--ease), color .4s var(--ease); }
img { display: block; max-width: 100%; height: auto; }
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; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 .9em; text-wrap: pretty; }
em { font-style: italic; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: var(--r); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--linen); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
main { display: block; min-height: 70vh; outline: none; padding-top: var(--hdr); }
body.is-home main { padding-top: 0; }
.muted { color: var(--ink-2); }
.hint { color: var(--ink-2); font-size: 13.5px; }

/* ── buttons & small parts */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; background: var(--clay); color: var(--on-clay); border-radius: var(--r); font-weight: 500; font-size: 15px; letter-spacing: .01em; text-decoration: none; border: 1px solid var(--clay); transition: transform .2s var(--ease), background-color .25s var(--ease), box-shadow .25s; }
.btn:hover { background: var(--clay-d); border-color: var(--clay-d); }
:root[data-theme="dark"] .btn:hover { background: #b65d40; }
.btn:active { transform: scale(.97); }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--ink); color: var(--linen); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.loading { position: relative; color: transparent; }
.btn.loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--on-clay); 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; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; transition: text-decoration-color .2s, color .2s; }
.lnk:hover { text-decoration-color: var(--clay); color: var(--clay-d); }
.lnk:active { transform: scale(.97); }

/* kraft hang-tag price: notched end + eyelet */
.htag { --h: 30px; position: relative; display: inline-flex; align-items: center; gap: 4px; height: var(--h); padding: 0 12px 0 26px; background: var(--kraft) var(--fibre); color: #2a1d10; font: 600 14px/1 var(--text); font-variant-numeric: tabular-nums; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); white-space: nowrap; }
.htag i { position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--linen); box-shadow: inset 0 0 0 1.5px rgba(42, 29, 16, .45); }
.htag small { font-weight: 400; font-size: 12px; opacity: .75; }
.htag.big { --h: 44px; font-size: 22px; padding: 0 18px 0 34px; clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); }
.htag.big i { left: 14px; width: 9px; height: 9px; margin-top: -4.5px; }
/* woven care label */
.wlabel { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; background: var(--paper); color: var(--cham); font: 600 10.5px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; border-radius: 1px; box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 3px var(--paper), inset 0 0 0 4px color-mix(in srgb, var(--cham) 35%, transparent); }
.wlabel .i { width: 14px; height: 14px; }
/* indigo rubber stamp */
.stamp { position: absolute; display: grid; place-items: center; text-align: center; width: 104px; height: 104px; border-radius: 50%; color: var(--cham); font: 700 13px/1.1 var(--text); letter-spacing: .16em; border: 2px solid currentColor; box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px currentColor; transform: rotate(-12deg); opacity: .88; background: color-mix(in srgb, var(--paper) 70%, transparent); pointer-events: none; padding-top: 6px; }
.stamp small { display: block; font-weight: 500; font-size: 9.5px; letter-spacing: .1em; margin-top: 2px; }
.stamp.big { width: 132px; height: 132px; font-size: 17px; }

/* ── header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hdr); background: color-mix(in srgb, var(--linen) 94%, transparent); border-bottom: 1px solid var(--line); transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease); }
body.is-home:not(.scrolled):not(.sheet-on) .hdr { background: transparent; color: #f7efe2; border-color: transparent; }
.hdr-in { max-width: var(--max); margin: 0 auto; height: 100%; padding: 0 var(--gut); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 26px/1 var(--display); letter-spacing: .01em; min-height: 44px; }
.mark { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 12px 12px; font-size: 14.5px; text-decoration: none; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 2px; }
.tb { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.tb:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.tb:active { transform: scale(.94); }
.tb.on { color: var(--clay); }
.tb.lang span { font: 600 12.5px/1 var(--text); letter-spacing: .1em; }
.tb.cart b { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--clay); color: var(--on-clay); font: 600 11px/18px var(--text); text-align: center; }
.tb.cart.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.22) rotate(-6deg); } 60% { transform: scale(.94); } }
.burger { display: none; }
.sheet { position: fixed; inset: var(--hdr) 0 0; z-index: 39; background: var(--linen) var(--weave); padding: 28px var(--gut); overflow: auto; }
.sheet nav { display: grid; }
.sheet a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 34px/1.1 var(--display); text-decoration: none; animation: rise .5s var(--ease) backwards; animation-delay: calc(var(--i) * 60ms); }
.sheet a small { font: 500 12px var(--text); color: var(--ink-3); letter-spacing: .1em; }
.sheet-meta { margin-top: 24px; color: var(--ink-2); font-size: 14px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ── reveal system */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease); }
.rv-img img { transform: scale(1.12); transition: transform 1.4s var(--ease); }
.rv-img.in { clip-path: inset(0 0 0 0); }
.rv-img.in img { transform: scale(1); }
.calm .rv, .calm .rv-img, .calm .rv-img img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }

/* ── section heads (ledger) */
.sec-h { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 52px); max-width: 720px; position: relative; }
.sec-no { font: 600 11px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--clay-d); padding-top: 14px; border-top: 3px double var(--line-2); width: max-content; min-width: 140px; }
.sec-h h2 { font-size: clamp(36px, 5vw, 64px); }
.sec-h p { color: var(--ink-2); font-size: 17px; max-width: 560px; margin: 0; }
.sec-h > .lnk { justify-self: start; }

/* ── hero */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 1000px; overflow: hidden; background: #2a1f15; color: #f7efe2; }
.hero-media { position: absolute; inset: -6% 0; will-change: transform; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 7.5s cubic-bezier(.25, .6, .3, 1); }
.slide.on { opacity: 1; }
.slide.on img { transform: scale(1); }
.calm .slide img { transition: none; transform: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--scrim), .72) 0%, rgba(var(--scrim), .35) 45%, rgba(var(--scrim), 0) 70%), linear-gradient(0deg, rgba(var(--scrim), .55), rgba(var(--scrim), 0) 45%), linear-gradient(180deg, rgba(var(--scrim), .4), rgba(var(--scrim), 0) 20%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9vh, 110px); max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.hero-copy > * { max-width: 640px; }
.kick { font: 500 12px/1.4 var(--text); letter-spacing: .22em; text-transform: uppercase; opacity: .85; margin-bottom: 18px; }
.hero h1 { font-size: clamp(50px, 8.4vw, 118px); line-height: .94; font-weight: 500; letter-spacing: -.02em; margin-bottom: 26px; }
.hero h1 em { font-weight: 500; color: #e7b48f; }
.lead { font-size: clamp(16px, 1.4vw, 18px); max-width: 480px !important; color: rgba(247, 239, 226, .88); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; }
.hero .lnk { color: #f7efe2; text-decoration-color: rgba(247, 239, 226, .45); }
.hero-cap { position: absolute; right: var(--gut); bottom: clamp(48px, 9vh, 110px); width: 260px; display: grid; }
.cap { grid-area: 1 / 1; display: grid; gap: 2px; text-decoration: none; padding: 16px 18px 16px 30px; background: var(--kraft) var(--fibre); color: #2a1d10; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); opacity: 0; transform: translateY(10px) rotate(-1.5deg); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.cap::before { content: ''; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #2a1f15; }
.cap.on { opacity: 1; transform: rotate(-1.5deg); pointer-events: auto; }
.cap-no { font: 600 10.5px var(--text); letter-spacing: .18em; opacity: .7; }
.cap b { font: 600 22px/1.1 var(--display); }
.cap span:last-child { font-size: 13px; }
.bars { display: flex; gap: 6px; margin-top: 16px; }
.bar { flex: 1; height: 44px; display: flex; align-items: center; }
.bar i { display: block; width: 100%; height: 2px; background: rgba(247, 239, 226, .3); position: relative; overflow: hidden; }
.bar i::after { content: ''; position: absolute; inset: 0; background: #f7efe2; transform: scaleX(0); transform-origin: left; }
.bar.past i::after { transform: scaleX(1); }
.bar.on i::after { animation: fillbar 6.5s linear forwards; }
.calm .bar.on i::after { animation: none; transform: scaleX(1); }
@keyframes fillbar { to { transform: scaleX(1); } }

/* ── ledger strip */
.ledger { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 110px); align-items: end; }
.ledger-say { font: italic 500 clamp(24px, 2.6vw, 34px)/1.2 var(--display); margin: 0; }
.ledger-nums { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line-2); }
.ledger-nums > div { padding: 18px 16px 0 0; border-right: 1px solid var(--line); margin-right: 16px; }
.ledger-nums > div:last-child { border: 0; }
.ledger-nums dd { margin: 0; font: 600 clamp(48px, 5.4vw, 76px)/1 var(--display); font-variant-numeric: tabular-nums lining-nums; color: var(--clay-d); }
.ledger-nums dt { font-size: 13px; color: var(--ink-2); max-width: 150px; margin-bottom: 10px; min-height: 2.6em; }

/* ── rooms (magazine grid) */
.rooms { padding-bottom: clamp(70px, 9vw, 130px); }
.room-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.6vw, 36px); align-items: start; }
.room { position: relative; text-decoration: none; display: block; }
.room-img { overflow: hidden; position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--linen-2); }
.room-img img, .room-img { will-change: transform; }
.room-img img { width: 100%; height: 112%; object-fit: cover; }
.room:hover .room-img img { transform: scale(1.04); transition-duration: .9s; }
.r0 { grid-column: 1 / 8; } .r0 .room-img { aspect-ratio: 5 / 4; }
.r1 { grid-column: 9 / 13; margin-top: 120px; }
.r2 { grid-column: 2 / 6; margin-top: -40px; }
.r3 { grid-column: 7 / 12; margin-top: 60px; } .r3 .room-img { aspect-ratio: 1 / 1; }
.room-t { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding-top: 16px; }
.room-no { grid-row: span 3; font: 500 13px var(--text); color: var(--clay-d); letter-spacing: .1em; padding-top: 8px; }
.room h3 { font-size: clamp(30px, 3vw, 42px); }
.room p { color: var(--ink-2); margin: 6px 0 8px; max-width: 380px; }
.room-n { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.room-n .i { transition: transform .35s var(--ease); }
.room:hover .room-n .i { transform: translateX(5px); }

/* ── 3D room */
.room3d { padding-bottom: clamp(70px, 9vw, 130px); }
.r3-stage { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px; }
.r3-canvas { position: relative; height: clamp(420px, 46vw, 620px); border-radius: var(--r); overflow: hidden; background: var(--linen-2); box-shadow: inset 0 0 0 1px var(--line); }
.r3-canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.r3-canvas.live canvas { opacity: 1; }
.r3-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; }
.r3-canvas.live .r3-poster, .r3-canvas.live .r3-load { opacity: 0; pointer-events: none; }
.r3-canvas.static .r3-load { display: none; }
.r3-load { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--paper); font-size: 13px; border-radius: var(--r); transition: opacity .4s; }
.r3-load span { width: 14px; height: 14px; border: 2px solid var(--clay); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.r3-tip { position: absolute; left: 0; top: 0; padding: 6px 10px; background: var(--ink); color: var(--linen); font-size: 13px; border-radius: var(--r); pointer-events: none; white-space: nowrap; z-index: 2; }
.r3-side { display: flex; flex-direction: column; gap: 14px; }
.r3-hint { font: 600 11px var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.r3-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.r3-list button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 5px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; transition: padding .3s var(--ease), color .2s; }
.r3-list button img { width: 40px; height: 40px; object-fit: cover; border-radius: 1px; }
.r3-list button:hover, .r3-list button[aria-pressed="true"] { padding-left: 8px; color: var(--clay-d); }
.r3-card { display: flex; gap: 14px; padding: 14px; background: var(--paper); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); animation: rise .45s var(--ease); }
.r3-card img { width: 88px; height: 88px; object-fit: cover; }
.r3-card b { display: block; font: 600 22px/1.1 var(--display); }
.r3-card span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.r3-reset { align-self: flex-start; }

/* ── product grid & cards */
.feat { padding-bottom: clamp(70px, 9vw, 130px); }
.feat .sec-h { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.feat .sec-h .sec-no, .feat .sec-h h2 { grid-column: 1; }
.feat .sec-h > .lnk { grid-column: 2; grid-row: 2; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px) clamp(14px, 2vw, 28px); }
.card { --rx: 0deg; --ry: 0deg; perspective: 900px; }
.card-a { display: block; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--linen-2); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), clip-path .9s var(--ease); transform-style: preserve-3d; }
.card.tilting .card-img { transition: transform .08s linear, clip-path .9s var(--ease); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.sheen { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 248, 235, .28) 50%, transparent 65%); background-size: 250% 100%; background-position: calc(100% - var(--mx, 0%)) 0; opacity: 0; transition: opacity .3s; pointer-events: none; mix-blend-mode: soft-light; }
.card.tilting .sheen { opacity: 1; }
.card-meta { padding-top: 14px; display: grid; gap: 6px; justify-items: start; }
.card h3 { font-size: 24px; line-height: 1.08; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.card-meta > p { margin: 0; color: var(--ink-2); font-size: 14px; }
.card-row { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 4px; }
.add { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s, color .25s, transform .2s var(--ease), box-shadow .25s; }
.add:hover { background: var(--ink); color: var(--linen); box-shadow: none; }
.add:active { transform: scale(.92); }
.add.done { background: var(--moss); color: #fff; box-shadow: none; }
.flyer { position: fixed; z-index: 80; object-fit: cover; border-radius: 4px; pointer-events: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.flip-ghost { position: fixed; z-index: 60; object-fit: cover; transform-origin: 0 0; pointer-events: none; }

/* skeleton with sweep */
.sk { display: grid; gap: 10px; }
.sk i, .sk b { display: block; border-radius: var(--r); background: var(--linen-2); position: relative; overflow: hidden; }
.sk i { aspect-ratio: 4 / 5; } .sk b { height: 14px; width: 70%; } .sk b + b { width: 40%; }
.sk i::after, .sk b::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--paper) 70%, transparent), transparent); transform: translateX(-100%); animation: sweep 1.2s ease-in-out infinite; }
@keyframes sweep { to { transform: translateX(100%); } }

/* ── maker story */
.maker { position: relative; min-height: 640px; display: grid; align-items: end; overflow: hidden; color: #f7efe2; margin-bottom: clamp(70px, 9vw, 130px); }
.maker-img { position: absolute; inset: -10% 0; }
.maker-img img { width: 100%; height: 100%; object-fit: cover; }
.maker::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--scrim), .78), rgba(var(--scrim), .1) 65%); }
.maker-copy { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 72px; display: grid; justify-items: start; max-width: var(--max); }
.maker-copy > * { max-width: 760px; }
.maker blockquote { margin: 0 0 22px; }
.maker blockquote p { font: italic 500 clamp(32px, 4.4vw, 60px)/1.06 var(--display); margin-bottom: 18px; }
.maker blockquote footer { font-size: 14px; letter-spacing: .04em; opacity: .85; }
.maker-copy > p { max-width: 520px; color: rgba(247, 239, 226, .86); }
.maker .btn.ghost { color: #f7efe2; border-color: rgba(247, 239, 226, .5); }
.maker .btn.ghost:hover { background: #f7efe2; color: #2a231c; }

/* ── gift teaser */
.giftteaser { display: grid; grid-template-columns: 5fr 1fr 6fr; padding-bottom: clamp(70px, 9vw, 130px); align-items: center; }
.gt-img { grid-column: 1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.gt-img img { width: 100%; height: 100%; object-fit: cover; }
.gt-copy { grid-column: 3; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 24px/1.2 var(--display); }
.steps li::before { content: '0' counter(s); font: 500 12px var(--text); letter-spacing: .1em; color: var(--clay-d); }

/* ── showroom */
.showroom { padding-bottom: clamp(70px, 9vw, 120px); }
.sr-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.sr-img { aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--r); }
.sr-img img { width: 100%; height: 100%; object-fit: cover; }
.sr-info p { display: flex; gap: 12px; align-items: flex-start; }
.sr-info .i { margin-top: 3px; color: var(--clay-d); }
.sr-addr { font: 600 clamp(24px, 2.4vw, 32px)/1.15 var(--display); }
.sr-addr .i { margin-top: 6px; }
.sr-note { display: block !important; padding-top: 16px; border-top: 1px dashed var(--line-2); color: var(--ink-2); font-size: 14.5px; }

/* ── footer */
.ftr { background: var(--linen-2) var(--weave); border-top: 1px solid var(--line); padding-top: 64px; }
.ftr-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 40px; display: grid; grid-template-columns: 1.4fr 1.2fr 1.4fr 1fr; gap: 36px; }
.ftr-brand .mark { width: 54px; height: 54px; margin-bottom: 14px; }
.ftr .ftr-say { font: italic 500 28px/1.15 var(--display); max-width: 280px; color: var(--ink); }
.ftr h3 { font: 600 11px var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.ftr p { font-size: 14px; color: var(--ink-2); }
.ftr a { text-decoration-color: var(--line-2); }
.ftr-note { max-width: var(--max); margin: 0 auto; padding: 22px var(--gut) 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--ink-2); }
.ftr-note p { margin: 0; max-width: 760px; }
.ftr-note a { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }

/* ── toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 12px; max-width: min(92vw, 520px); padding: 12px 12px 12px 16px; background: var(--ink); color: var(--linen); border-radius: var(--r); font-size: 14px; transform: translate(-50%, 140%); transition: transform .45s var(--ease); }
.toast.on { transform: translate(-50%, 0); }
.toast a { margin-left: auto; padding: 8px 12px; min-height: 40px; display: inline-flex; align-items: center; background: var(--clay); color: var(--on-clay); text-decoration: none; border-radius: var(--r); white-space: nowrap; }

/* ── shop */
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.crumb a { color: var(--ink-2); }
.shop-h { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); max-width: 780px; }
.shop-h h1 { font-size: clamp(46px, 7vw, 96px); font-weight: 500; margin-bottom: 16px; }
.shop-h > p:not(.crumb) { color: var(--ink-2); font-size: 17px; max-width: 600px; }
.shop-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-bottom: 100px; }
.filters { position: sticky; top: calc(var(--hdr) + 20px); align-self: start; display: grid; gap: 26px; }
.fgroup h2 { font: 600 11px var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 3px double var(--line-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; text-decoration: none; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.chip small { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip:hover { background: var(--paper); }
.chip:active { transform: scale(.97); }
.chip.on { background: var(--ink); color: var(--linen); box-shadow: none; }
.chip.on small { color: inherit; opacity: .7; }
.chip.dim { opacity: .45; }
.res-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.res-bar p { margin: 0; color: var(--ink-2); }
.res-bar b { color: var(--ink); font-variant-numeric: tabular-nums; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
select { min-height: 44px; padding: 0 34px 0 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237d6040' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; color: var(--ink); }
.results .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 48px 20px; }
.empty img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; margin-bottom: 12px; }
.empty h1, .empty h2 { font-size: clamp(32px, 4vw, 48px); }
.empty p { color: var(--ink-2); max-width: 440px; }
.empty.big { padding: 100px 20px; }
.empty.big img { width: 200px; height: 200px; }

/* ── product */
.pd { padding-top: 28px; padding-bottom: 60px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.4vw, 72px); align-items: start; }
.gal { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; position: sticky; top: calc(var(--hdr) + 18px); }
.gal-main { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r); background: var(--linen-2); }
.gv { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s var(--ease); overflow: hidden; }
.gv.on { opacity: 1; }
.gv img { width: 100%; height: 100%; object-fit: cover; }
.gal-main .stamp { right: 18px; top: 18px; }
.gal-th { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.gal-th button { width: 76px; height: 76px; overflow: hidden; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); opacity: .65; transition: opacity .2s, box-shadow .2s; }
.gal-th button img { width: 100%; height: 100%; object-fit: cover; }
.gal-th button[aria-selected="true"], .gal-th button:hover { opacity: 1; box-shadow: 0 0 0 2px var(--clay); }
.pd-info { display: grid; justify-items: start; gap: 6px; padding-top: 8px; }
.pd-info h1 { font-size: clamp(42px, 5vw, 70px); font-weight: 500; margin: 10px 0 4px; }
.pd-sub { color: var(--ink-2); font-size: 17px; margin-bottom: 14px; }
.opts { border: 0; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.opts legend { font: 600 11px var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; padding: 0; }
.opts.col { flex-direction: column; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 48px; padding: 10px 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; transition: box-shadow .2s, background-color .2s; }
.opt span small { color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.opts.col .opt span small { margin-left: auto; }
.opt input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); background: var(--paper); }
.opt input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.opt:hover span { background: var(--paper); }
.buy { display: flex; gap: 10px; margin-top: 22px; width: 100%; }
.qty { display: flex; align-items: center; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); }
.qty button { width: 44px; height: 48px; display: grid; place-items: center; }
.qty button:active { transform: scale(.9); }
.qty output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.qty.sm button { height: 40px; width: 40px; }
.add-big { flex: 1; }
.stock { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.stock b { color: var(--clay-d); }
.assure { list-style: none; padding: 16px 0 0; margin: 8px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); width: 100%; }
.assure li { display: flex; gap: 10px; align-items: center; }
.sku { font-size: 12px; letter-spacing: .12em; color: var(--ink-3); margin-top: 10px; }
.pd-more { margin-top: clamp(60px, 8vw, 120px); display: grid; gap: clamp(48px, 6vw, 90px); }
.pd-story { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: center; }
.ps-img { grid-column: 1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.ps-img img { width: 100%; height: 100%; object-fit: cover; }
.ps-copy { grid-column: 3; }
.ps-copy h2 { font-size: clamp(40px, 4.6vw, 62px); margin: 12px 0 6px; }
.ps-role { color: var(--clay-d); font-size: 14px; letter-spacing: .02em; margin-bottom: 18px; }
.ps-copy > p:not(.ps-role) { font-size: 17px; max-width: 520px; }
.pd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding-top: 40px; border-top: 3px double var(--line-2); }
.pd-cols h2 { font-size: 32px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; }
.pd-cols h2 .i { width: 26px; height: 26px; color: var(--clay-d); }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 500; color: var(--ink-2); width: 38%; padding-right: 16px; }
.care { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.care li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.care li::before { content: counter(c, decimal-leading-zero); font: 600 20px/1.2 var(--display); color: var(--clay-d); }
.pd .feat { padding-top: clamp(60px, 8vw, 110px); padding-bottom: 0; }

/* ── gift builder */
.gift { padding-bottom: 100px; }
.gift-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gh { font: 600 28px/1.1 var(--display); margin: 32px 0 14px; display: flex; align-items: baseline; justify-content: space-between; }
.gh:first-child { margin-top: 0; }
.gh small { font: 500 13px var(--text); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gp-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.gp { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.gp img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r); }
.gp b { display: block; font: 600 21px/1.1 var(--display); }
.gp span { font-size: 13.5px; color: var(--ink-2); }
.box-opts { margin: 0; }
textarea { width: 100%; padding: 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--paper); resize: vertical; font: italic 500 20px/1.35 var(--display); }
.gift-prev { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 22px; }
.boxview { position: relative; aspect-ratio: 5 / 4; padding: 7%; border-radius: 3px; transition: background .5s; }
.boxview.may { background: repeating-linear-gradient(45deg, #b8955f 0 6px, #a2804c 6px 8px, #c6a56f 8px 14px, #a2804c 14px 16px), #b8955f; box-shadow: inset 0 0 0 10px #8c6b3d, inset 0 0 0 12px #6f5330; }
.boxview.kraft { background: var(--kraft) var(--fibre); box-shadow: inset 0 0 0 10px #b08f62, inset 0 0 0 11px rgba(0, 0, 0, .25); }
.bx-in { height: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 8px; padding: 10px; background: #e8d9bc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M2 8c8 3 14-2 22 1s12 4 14 2M0 22c9 2 16-3 24 0s11 3 16 1M3 34c7 2 13-2 21 0s10 3 15 1' fill='none' stroke='%23b99a6a' stroke-width='1.2' opacity='.6'/%3E%3C/svg%3E"); box-shadow: inset 0 2px 8px rgba(60, 40, 20, .3); }
.slot { position: relative; display: grid; place-items: center; border-radius: 2px; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(90, 60, 30, .25); overflow: hidden; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot.vacant span { font: 600 38px var(--display); color: rgba(90, 60, 30, .45); }
.slot.vacant { box-shadow: inset 0 0 0 1.5px rgba(90, 60, 30, .35); background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(90, 60, 30, .06) 8px 9px); }
.slot-x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(42, 35, 28, .75); color: #fff; }
.bx-card { position: absolute; right: -2%; bottom: -8%; width: 46%; padding: 14px 16px 16px; background: #faf5ea; color: #2a231c; transform: rotate(4deg); box-shadow: 0 6px 18px rgba(40, 25, 10, .22); }
.bx-card span { font: 600 10px var(--text); letter-spacing: .2em; text-transform: uppercase; color: #3f5873; }
.bx-card p { margin: 6px 0 0; font: italic 500 18px/1.25 var(--display); overflow-wrap: anywhere; }
.gift-sum { display: grid; gap: 10px; justify-items: start; padding-top: 34px; border-top: 3px double var(--line-2); }
.gift-sum p { margin: 0; color: var(--ink-2); }
.gift-sum .btn { width: 100%; }

/* ── cart & receipt */
.cartpg, .co { padding-bottom: 100px; }
.cart-grid, .co-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.line { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-img > img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--r); }
.mini-box { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 120px; height: 120px; padding: 5px; background: repeating-linear-gradient(45deg, #b8955f 0 4px, #a2804c 4px 6px); border-radius: var(--r); }
.mini-box img { width: 100%; height: 100%; object-fit: cover; }
.mini-box img:first-child { grid-row: span 2; }
.line-t { display: grid; gap: 4px; align-content: start; justify-items: start; }
.line-t a { text-decoration: none; }
.line-t b { font: 600 24px/1.1 var(--display); }
.line-t span { color: var(--ink-2); font-size: 14px; }
.line-t em { font: italic 500 16px var(--display); color: var(--ink-2); }
.line-t .qty { margin-top: 8px; }
.line-p { display: grid; justify-items: end; align-content: space-between; font-variant-numeric: tabular-nums; }
.line-p b { font-size: 16px; }
.receipt { position: sticky; top: calc(var(--hdr) + 20px); background: var(--paper); padding: 26px 24px 34px; display: grid; gap: 14px; font-variant-numeric: tabular-nums; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 100%; box-shadow: none; }
.receipt h2 { font: 600 11px var(--text); letter-spacing: .22em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); }
.receipt dl, .slip dl { margin: 0; display: grid; gap: 8px; }
.receipt dl div, .slip dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.receipt dd, .slip dd { margin: 0; }
.receipt dt, .slip dt { color: var(--ink-2); }
.tot { padding-top: 12px; border-top: 1px dashed var(--line-2); font-weight: 600; font-size: 18px !important; }
.tot dt { color: var(--ink) !important; }
.meter { height: 4px; background: var(--linen-2); border-radius: 2px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--moss); transition: width .6s var(--ease); }
.mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--r); }
.mini small { color: var(--ink-3); }

/* ── checkout */
.co fieldset { border: 0; padding: 0; margin: 0 0 34px; }
.co legend { font: 600 28px/1.1 var(--display); margin-bottom: 16px; padding: 0; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld > span { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.fld small { font-weight: 400; }
.fld input, .fld select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.fld input::placeholder { color: var(--ink-3); opacity: .8; }
.fld input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 25%, transparent); }
.fld input[aria-invalid="true"] { border-color: #b23a26; }
:root[data-theme="dark"] .fld input[aria-invalid="true"] { border-color: #f08a72; }
.fld em { font-style: normal; font-size: 13px; color: #a8321f; min-height: 0; }
:root[data-theme="dark"] .fld em { color: #f3a08a; }
.opt span .i { color: var(--clay-d); }

/* ── confirmation slip */
.done { padding: 60px var(--gut) 110px; }
.slip { position: relative; max-width: 680px; margin: 0 auto; background: var(--paper); padding: clamp(28px, 5vw, 56px); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 100%; display: grid; gap: 18px; font-variant-numeric: tabular-nums; }
.slip .stamp { top: 26px; right: 26px; animation: stampin .6s .3s var(--ease) backwards; }
@keyframes stampin { from { transform: rotate(-30deg) scale(1.8); opacity: 0; } }
.calm .slip .stamp { animation: none; }
.slip-shop { display: flex; gap: 8px; align-items: center; font: 600 11px var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.slip h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 500; max-width: 440px; }
.slip-code { color: var(--ink-2); margin: 0; }
.slip-code b { color: var(--ink); letter-spacing: .06em; }
.slip .mini { padding: 16px 0; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); }
.track { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 0; }
.track li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 10px 28px; font-size: 15px; }
.track li::before { content: ''; position: absolute; left: 5px; top: 16px; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); background: var(--paper); }
.track li:not(:last-child)::after { content: ''; position: absolute; left: 10px; top: 28px; bottom: -8px; width: 1px; background: var(--line-2); }
.track li.ok::before { background: var(--moss); box-shadow: none; }
.track li.now::before { background: var(--clay); box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay) 25%, transparent); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--clay) 0%, transparent); } }
.track span { color: var(--ink-2); font-size: 13.5px; }
.slip-act { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

/* ── map */
.map { padding-bottom: 100px; }
.map-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.map-fig { margin: 0; position: relative; }
.mapsvg { width: 100%; height: auto; display: block; overflow: visible; }
.land { fill: var(--paper); stroke: var(--ink-2); stroke-width: 1.4; stroke-dasharray: 2 0; }
.land-h { opacity: .7; }
.river { fill: none; stroke: var(--cham); stroke-width: 5; stroke-linecap: round; opacity: .55; }
.river.thin { stroke-width: 3; }
.rlabel { font: italic 500 17px var(--display); fill: var(--cham); }
.route { fill: none; stroke: var(--clay); stroke-width: 1.8; stroke-dasharray: 6 7; stroke-linecap: round; animation: march 30s linear infinite; }
.calm .route { animation: none; }
@keyframes march { to { stroke-dashoffset: -400; } }
.city circle { fill: var(--ink); }
.city text { font: 600 13px var(--text); fill: var(--ink-2); letter-spacing: .04em; }
.pin { cursor: pointer; outline: none; }
.pin .halo { fill: var(--clay); opacity: 0; transform: translateY(-22px); transition: opacity .3s; }
.pin .drop { fill: var(--ink); transition: fill .25s, transform .35s var(--ease); transform-origin: 0 0; }
.pin .dot { fill: var(--paper); }
.pin text { font: 600 24px var(--display); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.pin:hover .drop, .pin:focus-visible .drop, .pin.on .drop { fill: var(--clay); transform: scale(1.2); }
.pin.on .halo { opacity: .18; }
.pin:focus-visible .halo { opacity: .3; }
.compass { font: 600 14px var(--text); fill: var(--ink-3); letter-spacing: .1em; }
.insets { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.inset { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); text-align: left; transition: background-color .2s, box-shadow .2s; }
.inset img { width: 56px; height: 56px; object-fit: cover; border-radius: 1px; }
.inset span { display: grid; font: 600 20px/1.1 var(--display); }
.inset small { font: 600 10.5px var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.inset:hover, .inset.on { background: var(--paper); box-shadow: inset 0 0 0 2px var(--clay); }
.map-fig figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }
.vpanel { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 10px; justify-items: start; }
.vp-img { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); margin-bottom: 8px; }
.vp-img img { width: 100%; height: 100%; object-fit: cover; }
.vpanel h2 { font-size: clamp(40px, 4vw, 56px); }
.vpanel .ps-role { margin: 0; }
.vpanel > p:not(.ps-role):not(.hint) { font-size: 16px; }
.vp-prods { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; border-top: 1px solid var(--line); }
.vp-prods a { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.vp-prods a:hover { padding-left: 6px; }
.vp-prods img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r); }
.vp-prods span { display: grid; font: 600 20px/1.1 var(--display); }
.vp-prods small { font: 400 13px var(--text); color: var(--ink-2); margin-top: 2px; }

/* ── responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid > .card:nth-child(4) { display: none; }
  .results .grid > .card:nth-child(4), .pd .grid > .card:nth-child(4) { display: block; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .tools { margin-left: auto; }
  .burger { display: grid; }
  .r3-stage { grid-template-columns: minmax(0, 1fr); } .r3-side { min-width: 0; }
  .r3-list { display: flex; gap: 8px; overflow-x: auto; border: 0; padding-bottom: 6px; scrollbar-width: thin; }
  .r3-list button { border: 0; box-shadow: inset 0 0 0 1px var(--line-2); padding: 5px 14px 5px 5px; white-space: nowrap; border-radius: var(--r); }
  .r3-list button:hover, .r3-list button[aria-pressed="true"] { padding-left: 5px; box-shadow: inset 0 0 0 2px var(--clay); }
  .ledger { grid-template-columns: 1fr; }
  .shop-body { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; gap: 14px; }
  .fgroup h2 { border: 0; padding: 0; margin-bottom: 6px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: none; }
  .chip { white-space: nowrap; }
  .pd-grid, .gift-grid, .cart-grid, .co-grid, .map-grid { grid-template-columns: minmax(0, 1fr); }
  .gal, .gift-prev, .receipt, .vpanel { position: static; }
  .gift-prev { order: -1; }
  .sr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --hdr: 64px; }
  .logo { font-size: 23px; } .mark { width: 30px; height: 30px; }
  .tb.lang { display: none; }
  .hero { min-height: 640px; }
  .hero-shade { background: linear-gradient(0deg, rgba(var(--scrim), .85) 0%, rgba(var(--scrim), .45) 55%, rgba(var(--scrim), .2) 100%); }
  .hero-copy { bottom: 150px; }
  .hero-cap { left: var(--gut); right: var(--gut); bottom: 20px; width: auto; }
  .cap { padding: 10px 14px 10px 28px; }
  .cap b { font-size: 19px; }
  .bars { margin-top: 4px; }
  .ledger-nums { grid-template-columns: 1fr 1fr; }
  .ledger-nums > div:nth-child(2) { border-right: 0; }
  .room-grid { grid-template-columns: 1fr; }
  .room { grid-column: 1 !important; margin-top: 0 !important; }
  .r1, .r3 { width: 82%; justify-self: end; }
  .r2 { width: 82%; }
  .grid, .results .grid { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .grid > .card:nth-child(4) { display: block; }
  .card h3 { font-size: 20px; }
  .card-meta > p { display: none; }
  .htag { font-size: 13px; padding: 0 10px 0 24px; }
  .wlabel { font-size: 9.5px; letter-spacing: .1em; }
  .maker { min-height: 560px; }
  .giftteaser, .pd-story { grid-template-columns: 1fr; gap: 28px; }
  .gt-copy, .ps-copy { grid-column: 1; }
  .gt-img, .ps-img { aspect-ratio: 4 / 3; }
  .gal { grid-template-columns: 1fr; }
  .gal-main { grid-column: 1; }
  .gal-th { grid-column: 1; grid-row: 2; flex-direction: row; }
  .gal-th button { width: 64px; height: 64px; }
  .gal-main .stamp { width: 84px; height: 84px; font-size: 11px; right: 12px; top: 12px; }
  .pd-cols { grid-template-columns: 1fr; }
  .buy { flex-wrap: wrap; }
  .line { grid-template-columns: 84px 1fr; gap: 14px; }
  .line-img > img, .mini-box { width: 84px; height: 84px; }
  .line-p { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .f2 { grid-template-columns: 1fr; gap: 0; }
  .ftr-in { grid-template-columns: 1fr; gap: 26px; }
  .ftr-note { flex-direction: column; }
  .slip .stamp { width: 96px; height: 96px; font-size: 13px; top: 16px; right: 16px; }
  .slip h1 { padding-right: 90px; }
  .bx-card { width: 58%; bottom: -12%; right: 2%; }
  .bx-card p { font-size: 15px; }
  .pin text { font-size: 36px; }
  .city text { font-size: 22px; }
  .rlabel { font-size: 22px; }
  .toast { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv, .rv-img, .rv-img img { opacity: 1; transform: none; clip-path: none; }
}
.sheet-lang { margin-top: 24px; }

/* ── brand labels over packaging photos */
.brandlab { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.brandlab .inkstamp { mix-blend-mode: multiply; }
.rv-img .brandlab { transform: scale(1.12); transition: transform 1.4s var(--ease); }
.rv-img.in .brandlab, .calm .rv-img .brandlab { transform: none; }
.line-img { position: relative; width: max-content; height: max-content; }
.gt-img { position: relative; }

/* ── pinned story */
.story { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.story-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.story-media { position: sticky; top: calc(var(--hdr) + 24px); height: calc(100vh - var(--hdr) - 48px); max-height: 820px; border-radius: var(--r); overflow: hidden; background: var(--linen-2); }
.sm { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease); overflow: hidden; }
.sm img { width: 100%; height: 100%; object-fit: cover; }
.sm.on, .sm.past { clip-path: inset(0 0 0 0); }
.sm.on { z-index: 2; }
.sm.on > img { animation: slowpush 9s ease-out both; }
@keyframes slowpush { from { scale: 1.08; } to { scale: 1; } }
.calm .sm { transition: none; }
.calm .sm.on > img { animation: none; }
.sm-day { position: absolute; z-index: 3; left: 22px; bottom: 20px; display: grid; color: #f7efe2; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.sm-day span { font: 600 11px var(--text); letter-spacing: .22em; text-transform: uppercase; }
.sm-day b { font: 500 clamp(80px, 9vw, 140px)/.85 var(--display); font-variant-numeric: lining-nums tabular-nums; }
.sm-prog { position: absolute; z-index: 3; right: 20px; bottom: 24px; display: flex; gap: 6px; }
.sm-prog i { width: 26px; height: 2px; background: rgba(247, 239, 226, .35); transition: background-color .4s; }
.sm-prog i.on { background: #f7efe2; }
.story-steps .sec-h h2 { font-size: clamp(44px, 5.6vw, 84px); font-weight: 500; line-height: .98; }
.story-steps .sec-h h2 em { color: var(--clay-d); }
.step { min-height: 62vh; display: grid; align-content: center; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .5s var(--ease); }
.step.on { opacity: 1; }
.step-no { font: 600 12px var(--text); letter-spacing: .18em; color: var(--clay-d); }
.step h3 { font-size: clamp(32px, 3.4vw, 48px); }
.step p { font-size: 17px; color: var(--ink-2); max-width: 440px; margin: 0; }
.calm .step { opacity: 1; }

/* ── marquee of villages */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-bottom: clamp(70px, 9vw, 120px); }
.mq-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: mq 48s linear infinite; }
.mq-track span { font: italic 500 clamp(48px, 7vw, 110px)/1.1 var(--display); white-space: nowrap; }
.mq-track i { width: 14px; height: 14px; border-radius: 50%; background: var(--clay); flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }
.calm .mq-track { animation: none; }

/* ── customer voices */
.voices { padding-bottom: clamp(70px, 9vw, 130px); }
.vc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.vc { margin: 0; display: grid; gap: 16px; }
.v0 { grid-column: 1 / 5; } .v1 { grid-column: 5 / 9; margin-top: 90px; } .v2 { grid-column: 9 / 13; margin-top: 30px; }
.vc-img { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); width: 46%; }
.vc-img img { width: 100%; height: 100%; object-fit: cover; }
.vc blockquote { margin: 0; font: italic 500 clamp(24px, 2.2vw, 30px)/1.2 var(--display); }
.vc figcaption { display: grid; gap: 2px; font-size: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.vc figcaption span { color: var(--ink-2); }
@media (max-width: 960px) {
  .story-in { grid-template-columns: minmax(0, 1fr); }
  .story-in { gap: 0; }
  .story-media { top: calc(var(--hdr) + 8px); height: 40vh; z-index: 3; box-shadow: 0 0 0 12px var(--linen); }
  .story-steps { position: relative; z-index: 1; padding-top: 28px; }
  .story-steps .sec-h { margin-bottom: 28px; }
  .step { min-height: 50vh; padding: 28px 0 32px; align-content: start; }
  .vc-grid { grid-template-columns: 1fr; }
  .vc { grid-column: 1 !important; margin-top: 0 !important; }
  .vc-img { width: 38%; }
}

.filters, .fgroup, .results { min-width: 0; }
@media (max-width: 960px) { .filters { grid-template-columns: minmax(0, 1fr); } }
.r3-list li { flex: none; }
.r3-canvas canvas { touch-action: pan-y; }

/* Flow photo of the labelled candle is landscape: keep the jar in frame in square/portrait crops */
img[src*="candle-box"] { object-position: 30% 50%; }
.gal-main:has(img[src*="candle-box"]) .stamp { top: auto; right: auto; bottom: 18px; left: 18px; }
