/* YANSHAN 烟山 — house style */
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant.woff') format('woff'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-italic.woff') format('woff'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/jost.woff') format('woff'); font-weight: 300 600; font-display: swap; }
@font-face { font-family: 'YS CJK'; src: url('/assets/fonts/notoserifsc-sub.woff') format('woff'); font-display: swap; }
:root {
  --paper: #F3EFE8; --paper-2: #E9E3D9; --stone: #D9D1C4; --ink: #1C1A17; --ink-2: #4E4943; --muted: #7A736A; --agar: #6A5140;
  --line: rgba(28,26,23,.14);
  --serif: 'Cormorant', 'Cormorant Garamond', 'Times New Roman', serif; --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --cjk: 'YS CJK', 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --pad: clamp(20px, 4.2vw, 72px);
  /* motion tokens: one out-curve for arrivals, one in-out for curtains & masks */
  --ease: cubic-bezier(.16,1,.3,1); --ease-io: cubic-bezier(.76,0,.24,1); --ease-in: cubic-bezier(.5,0,.75,0); --slow: 1.4s;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.7 var(--sans); letter-spacing: .01em; -webkit-font-smoothing: antialiased; font-kerning: normal; font-feature-settings: 'kern', 'liga'; text-rendering: optimizeLegibility; }
h1, h2, .display, .display-s, .serif-xl, .serif-l, .modal-title { text-wrap: balance; }
p, .body, .pdp-desc, .fine { text-wrap: pretty; }
.fi-price, .card-price, .cart-price, .cart-total, .refill-price, .feel-buy, .gift-act, .qty { font-variant-numeric: lining-nums tabular-nums; }
::selection { background: rgba(106,81,64,.18); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* type scale */
.display   { font: 300 clamp(46px, 6.2vw, 108px)/1.02 var(--serif); letter-spacing: -.012em; }
.display-s { font: 300 clamp(42px, 4.8vw, 80px)/1.04 var(--serif); letter-spacing: -.01em; }
.serif-xl  { font: 300 clamp(34px, 3.4vw, 58px)/1.08 var(--serif); letter-spacing: -.006em; }
.serif-l   { font: 300 clamp(24px, 2.25vw, 36px)/1.38 var(--serif); }
.serif-m   { font: 400 clamp(19px, 1.45vw, 23px)/1.35 var(--serif); }
.kicker    { font: 400 11px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.fine      { font: 400 12px/1.65 var(--sans); color: var(--muted); letter-spacing: .02em; }
.body      { font: 400 14.5px/1.8 var(--sans); color: var(--ink-2); }
.muted-ink { color: var(--muted); }
.disclaimer { max-width: 520px; }
.small { font-size: 10px !important; }

/* links & buttons — hairline, never heavy */
.text-link { display: inline-block; background: none; border: 0; padding: 0 0 5px; font: 400 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .7s var(--ease); }
.text-link:hover, a:hover > .text-link { background-size: 30% 1px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 34px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 400 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; transition: background .6s var(--ease), color .6s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-solid { border-color: var(--ink); } .btn-solid:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

/* reveal — slow and light */
.rv { opacity: 0; transform: translateY(24px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .8s var(--ease), color .8s var(--ease); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; padding: 0 var(--pad); }
.nav nav { display: flex; gap: clamp(18px, 2.4vw, 40px); align-items: center; font: 400 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.nav nav a, .cart-btn { position: relative; padding: 8px 0; }
.nav nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.nav nav a:hover::after { transform: scaleX(1); }
.nav-right { justify-content: flex-end; }
.logo svg { height: 25px; width: auto; display: block; }
.cart-btn { background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.site-header.scrolled, body:not(.home) .site-header { background: rgba(243,239,232,.94); backdrop-filter: blur(12px); }
.site-header.scrolled::after, body:not(.home) .site-header::after { content: ''; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--line); }
.menu-btn { display: none; width: 40px; height: 40px; background: none; border: 0; padding: 0; flex-direction: column; justify-content: center; gap: 7px; }
.menu-btn span { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; height: 190vh; background: #8C7967; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-media { position: absolute; inset: 0; transform-origin: 60% 40%; will-change: transform; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-copy { position: absolute; left: var(--pad); bottom: 14vh; color: #FAF6F0; will-change: opacity, transform; }
.hero-sub { display: flex; gap: 28px; margin-top: 34px; font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.hero-scroll { position: absolute; left: 50%; bottom: 0; width: 1px; height: 84px; background: rgba(250,246,240,.25); overflow: hidden; }
.hero-scroll span { position: absolute; inset: 0; background: #FAF6F0; animation: drip 2.8s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.home .site-header:not(.scrolled) { color: #FAF6F0; }
.hero-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(40,32,26,.28) 0%, rgba(40,32,26,0) 22%, rgba(40,32,26,0) 55%, rgba(40,32,26,.26) 100%); }
.hero-copy, .hero-scroll { z-index: 2; }

/* ---------- manifesto ---------- */
.manifesto { position: relative; padding: 26vh var(--pad) 24vh; }
.manifesto-text { max-width: 860px; margin: 0 auto; text-align: center; display: grid; gap: 30px; }
.vertical-cn { position: absolute; left: var(--pad); top: 26vh; writing-mode: vertical-rl; font: 15px/1 var(--cjk); letter-spacing: .6em; color: var(--muted); }

/* ---------- three rituals ---------- */
.rituals { padding: 0 var(--pad) 22vh; display: grid; gap: 20vh; }
.chapter { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2vw; align-items: end; }
.ch-img { overflow: hidden; background: var(--paper-2); }
.px-wrap { width: 100%; height: 100%; overflow: hidden; }
.px-wrap img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.ch-text { display: grid; gap: 14px; justify-items: start; }
.numeral { font: 400 11px var(--sans); letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.ch-cn { font: 26px/1 var(--cjk); color: var(--agar); margin-top: 6px; }
.ch-line { font: italic 300 22px/1.3 var(--serif); color: var(--ink-2); margin-bottom: 18px; }
.ch-1 .ch-img { grid-column: 1 / 8; aspect-ratio: 4 / 5; }
.ch-1 .ch-text { grid-column: 9 / 13; padding-bottom: 6vh; }
.ch-2 .ch-text { grid-column: 2 / 6; grid-row: 1; padding-bottom: 6vh; }
.ch-2 .ch-img { grid-column: 7 / 12; aspect-ratio: 3 / 4; }
.ch-3 .ch-img { grid-column: 2 / 8; aspect-ratio: 4 / 5; }
.ch-3 .ch-text { grid-column: 9 / 13; padding-bottom: 6vh; }
.ch-3 .ch-img img { object-position: 50% 30%; }
.chapter:hover .px-wrap img { filter: brightness(1.02); }

/* ---------- feelings ---------- */
.feelings { padding: 20vh var(--pad); background: var(--paper-2); }
.feel-head { text-align: center; margin-bottom: 9vh; }
.feel-tabs { display: flex; justify-content: center; gap: clamp(18px, 3.4vw, 56px); margin-top: 26px; flex-wrap: wrap; }
.feel-tabs button { background: none; border: 0; padding: 0 0 8px; font: 300 clamp(26px, 2.6vw, 42px)/1.1 var(--serif); color: var(--muted); position: relative; transition: color .6s var(--ease); }
.feel-tabs button::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .7s var(--ease); }
.feel-tabs button[aria-selected=true] { color: var(--ink); } .feel-tabs button[aria-selected=true]::after { transform: scaleX(1); }
.feel-tabs button:hover { color: var(--ink); }
.feel-panel.fade .feel-img img { animation: fadeImg 1.4s var(--ease); } .feel-panel.fade .feel-body { animation: fadeUp 1.2s var(--ease); }
@keyframes fadeImg { from { opacity: 0; transform: scale(1.03); } } @keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.feel-spread { display: grid; grid-template-columns: 1.05fr 1fr; gap: 7vw; align-items: center; max-width: 1400px; margin: 0 auto; }
.feel-img { aspect-ratio: 4 / 5; overflow: hidden; } .feel-img img { width: 100%; height: 100%; object-fit: cover; }
.feel-body { display: grid; gap: 18px; max-width: 520px; }
.feel-cn { font: clamp(46px, 4.4vw, 70px)/1 var(--cjk); color: var(--agar); }
.feel-body .serif-m { color: var(--ink-2); }
.feel-items { list-style: none; padding: 0; margin: 26px 0 8px; border-bottom: 1px solid var(--line); }
.feel-items a { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); transition: padding .6s var(--ease); }
.feel-items a:hover { padding-left: 8px; }
.fi-role { font: 400 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fi-name { font: 400 21px/1.2 var(--serif); } .fi-name em { display: block; font: 400 12px var(--sans); font-style: normal; color: var(--muted); margin-top: 4px; letter-spacing: .02em; }
.fi-price { font: 400 13px var(--sans); color: var(--ink-2); }
.feel-buy { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.feel-buy p { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; } .feel-buy s { font-size: 13px; color: var(--muted); }

/* ---------- quiz ---------- */
.quiz { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.quiz-img { overflow: hidden; } .quiz-img img { width: 100%; height: 100%; object-fit: cover; }
.quiz-body { padding: 14vh 7vw 12vh; display: flex; flex-direction: column; gap: 6vh; }
.quiz-card { display: grid; gap: 26px; align-content: start; }
.quiz-step { font: italic 300 18px var(--serif); color: var(--muted); }
.quiz-q { max-width: 560px; }
.quiz-answers { display: grid; border-top: 1px solid var(--line); margin-top: 10px; }
.quiz-answers button { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 20px 0; font: 400 21px/1.3 var(--serif); display: flex; justify-content: space-between; transition: padding .6s var(--ease), color .4s; }
.quiz-answers button::after { content: '→'; font-family: var(--sans); font-size: 14px; opacity: 0; transform: translateX(-8px); transition: all .6s var(--ease); }
.quiz-answers button:hover { padding-left: 12px; } .quiz-answers button:hover::after { opacity: 1; transform: none; }
.quiz-back { justify-self: start; }
.quiz-result { display: flex; gap: 28px; align-items: center; }
.quiz-items { font: 400 20px/1.6 var(--serif); display: flex; gap: 12px; flex-wrap: wrap; } .quiz-items a { border-bottom: 1px solid var(--line); } .quiz-items span { color: var(--muted); }
.line-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 18px; max-width: 480px; }
.line-form label { grid-column: 1 / -1; margin-bottom: 8px; }
.line-form input { border: 0; border-bottom: 1px solid var(--ink); background: transparent; height: 44px; padding: 0; outline: none; font: 400 15px var(--sans); }
.line-form input::placeholder { color: var(--muted); }
.line-form .text-link { margin-bottom: 10px; }
.form-msg { grid-column: 1 / -1; font-size: 13px; color: var(--agar); margin-top: 10px; min-height: 1em; }

/* ---------- gifts & refills ---------- */
.gifts { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; padding: 22vh var(--pad); max-width: 1500px; margin: 0 auto; align-items: start; }
.gift-col { display: grid; gap: 18px; }
.refill { margin-top: 18vh; }
.gift-img { aspect-ratio: 5 / 6; overflow: hidden; margin-bottom: 26px; } .gift-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s var(--ease); }
.gift-col:hover .gift-img img { transform: scale(1.03); }
.gift-list { margin-top: 18px; border-bottom: 1px solid var(--line); }
.gift-row { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.gift-row .fine { max-width: 380px; margin-top: 4px; }
.gift-act { display: flex; gap: 22px; align-items: baseline; white-space: nowrap; font: 400 13px var(--sans); }
.refill-form { display: grid; gap: 22px; margin-top: 18px; justify-items: start; }
.field { display: grid; gap: 8px; width: 100%; max-width: 420px; }
select { appearance: none; height: 46px; border: 0; border-bottom: 1px solid var(--ink); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5' fill='none' stroke='%231C1A17'/%3E%3C/svg%3E") no-repeat right 4px center;
  padding: 0 24px 0 0; font: 400 20px var(--serif); border-radius: 0; outline: none; }
.cadence, .buy-mode { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.radio { display: inline-flex; gap: 10px; align-items: center; font: 400 13.5px var(--sans); }
.radio input { appearance: none; width: 11px; height: 11px; border: 1px solid var(--ink); border-radius: 50%; margin: 0; display: grid; place-items: center; }
.radio input:checked::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.radio em { color: var(--muted); font-style: normal; }
.refill-price { display: flex; gap: 12px; align-items: baseline; } .refill-price s { color: var(--muted); font-size: 13px; }

/* ---------- craft ---------- */
.craft { padding: 4vh var(--pad) 22vh; }
.craft-head { max-width: 640px; margin-bottom: 9vh; display: grid; gap: 18px; }
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; align-items: start; }
.craft-item { display: grid; gap: 14px; } .craft-item:nth-child(2) { margin-top: 14vh; } .craft-item:nth-child(3) { margin-top: 5vh; }
.craft-img { aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 14px; } .craft-img img { width: 100%; height: 100%; object-fit: cover; }
.craft-item .body { max-width: 380px; }
.craft-note { grid-column: 1 / -1; margin-top: 6vh; }

/* ---------- words ---------- */
.words { padding: 20vh var(--pad) 22vh; border-top: 1px solid var(--line); }
.words-inner { max-width: 900px; margin: 0 auto; text-align: center; display: grid; gap: 30px; justify-items: center; }
.words blockquote { margin: 0; font-style: italic; }
.dots { display: flex; gap: 14px; } .dots button { width: 22px; height: 1px; padding: 0; border: 0; background: var(--line); } .dots button.on { background: var(--ink); }
.sample { font-size: 10.5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--paper-2); padding: 14vh var(--pad) 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4vw; }
.footer-news { display: grid; gap: 16px; max-width: 460px; } .footer-lede { font: 300 21px/1.4 var(--serif); }
.footer-col { display: grid; gap: 10px; align-content: start; } .footer-col .kicker { margin-bottom: 8px; color: var(--muted); }
.footer-col a { font: 400 13.5px var(--sans); } .footer-col a:hover { color: var(--agar); }
.footer-mark { display: flex; justify-content: center; margin: 16vh 0 10vh; } .footer-mark svg { height: 108px; width: auto; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 6px; font: 400 11px/1.6 var(--sans); color: var(--muted); }

/* ---------- cart drawer ---------- */
.cart-scrim { position: fixed; inset: 0; background: rgba(28,26,23,.22); opacity: 0; pointer-events: none; transition: opacity .8s var(--ease); z-index: 80; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--paper); z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .9s var(--ease); }
.cart-open .cart-scrim { opacity: 1; pointer-events: auto; } .cart-open .cart-drawer { transform: none; } .cart-open body { overflow: hidden; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 30px 32px 22px; }
.ship-note { padding: 0 32px 18px; font: 400 12px var(--sans); color: var(--muted); border-bottom: 1px solid var(--line); }
.cart-lines { flex: 1; overflow: auto; padding: 0 32px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); } .cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font: 400 19px/1.2 var(--serif); margin-bottom: 4px; }
.cart-price { font: 400 13px var(--sans); }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; }
.qty button:not(.text-link) { width: 26px; height: 26px; background: none; border: 0; font-size: 14px; } .qty > span { min-width: 18px; text-align: center; font-size: 13px; }
.qty .text-link { margin-left: 16px; padding-bottom: 3px; }
.cart-empty { padding: 12vh 0; display: grid; gap: 20px; justify-items: center; text-align: center; }
.cart-upsell { padding: 0 32px; } .cart-upsell .kicker { margin: 22px 0 12px; color: var(--muted); }
.upsell-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding-bottom: 18px; }
.cart-foot { padding: 22px 32px 30px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.check { display: flex; gap: 10px; align-items: center; font: 400 13px var(--sans); }
.check input { appearance: none; width: 12px; height: 12px; border: 1px solid var(--ink); margin: 0; display: grid; place-items: center; } .check input:checked { background: var(--ink); }
.cart-total { display: flex; justify-content: space-between; font: 400 20px var(--serif); }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(28,26,23,.25); padding: 20px; }
.modal[hidden] { display: none; } .modal-card { background: var(--paper); padding: 52px 48px; max-width: 440px; display: grid; gap: 16px; justify-items: start; }
.modal-title { font: 300 30px/1.15 var(--serif); }
.toast { position: fixed; bottom: 28px; left: 50%; translate: -50% 16px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); padding: 14px 22px; font: 400 12.5px var(--sans); opacity: 0; transition: all .7s var(--ease); z-index: 120; pointer-events: none; }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- collection ---------- */
.col-head { padding: calc(84px + 16vh) var(--pad) 10vh; text-align: center; display: grid; gap: 18px; justify-items: center; }
.col-cn { font: 24px/1 var(--cjk); color: var(--agar); }
.col-intro { max-width: 560px; font: 400 14.5px/1.85 var(--sans); color: var(--ink-2); margin-top: 6px; }
.col-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 0 var(--pad) 22px; border-bottom: 1px solid var(--line); margin: 0 var(--pad); padding-left: 0; padding-right: 0; }
.filters { display: flex; gap: 28px; flex-wrap: wrap; }
.filters button { background: none; border: 0; padding: 4px 0; font: 400 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; transition: color .4s, border-color .4s; }
.filters button[aria-pressed=true], .filters button:hover { color: var(--ink); border-color: var(--ink); }
.sort { display: flex; gap: 14px; align-items: center; } .sort select { height: 34px; font-size: 17px; }
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9vh 2vw; padding: 7vh var(--pad) 12vh; }
.col-editorial { grid-column: 1 / -1; margin: 3vh calc(var(--pad) * -1); position: relative; aspect-ratio: 21 / 8; overflow: hidden; }
.col-editorial img { width: 100%; height: 100%; object-fit: cover; }
.col-editorial figcaption { position: absolute; left: var(--pad); bottom: 28px; color: #FAF6F0; }
.col-editorial figcaption .kicker { color: inherit; }
.col-note { padding: 0 var(--pad) 14vh; max-width: 760px; }
.card { display: grid; gap: 18px; }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.2s var(--ease), transform 2.4s var(--ease); }
.card-img img.alt { opacity: 0; } .card:hover .card-img img.alt { opacity: 1; } .card:hover .card-img img { transform: scale(1.025); }
.card-meta { display: grid; gap: 4px; text-align: center; }
.card-no { font: 400 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.card-name { font: 400 23px/1.15 var(--serif); }
.card-sub { font: 400 12.5px var(--sans); color: var(--ink-2); }
.card-price { font: 400 12.5px var(--sans); color: var(--muted); margin-top: 2px; }

/* ---------- product ---------- */
.pdp-main { display: grid; grid-template-columns: 58fr 42fr; padding-top: 84px; }
.pdp-gallery { display: grid; gap: 4px; }
.pdp-fig { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); } .pdp-fig img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { padding: 0 clamp(24px, 5.5vw, 100px); }
.pdp-sticky { position: sticky; top: 84px; min-height: calc(100vh - 84px); display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 7vh 0; max-width: 480px; }
.crumbs { display: flex; gap: 10px; font: 400 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); } .crumbs a:hover { color: var(--ink); }
.pdp-sub { font: italic 300 22px var(--serif); color: var(--ink-2); margin-top: -8px; }
.pdp-notes { font: 400 11px/1.8 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--agar); }
.pdp-desc { font: 400 15px/1.85 var(--sans); color: var(--ink-2); }
.buy-mode { flex-direction: column; gap: 12px; padding-top: 4px; }
.buy-row { display: flex; gap: 14px; align-items: stretch; margin-top: 6px; }
.buy-row .qty { margin: 0; border: 1px solid var(--line); padding: 0 8px; } .buy-row .qty button { width: 30px; height: 50px; }
.buy-row .btn { flex: 1; }
.acc { border-bottom: 1px solid var(--line); margin-top: 10px; }
details { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 18px 0; font: 400 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font: 400 15px var(--sans); line-height: .8; transition: transform .5s var(--ease); } details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; font: 400 14px/1.8 var(--sans); color: var(--ink-2); }
.pdp-related { padding: 16vh 0 0; border-top: 1px solid var(--line); margin-top: 0; }
.rel-head { text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-left a:nth-child(4), .nav-right a:nth-child(2) { display: none; }
  .feel-spread { gap: 5vw; }
}
@media (max-width: 760px) {
  .nav { grid-template-columns: 44px 1fr 72px; height: 64px; padding: 0 16px; }
  .nav .nav-left, .nav .nav-right a { display: none; } .menu-btn { display: flex; } .logo { justify-self: center; } .logo svg { height: 21px; }
  .cart-btn { font-size: 10px; }
  .menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); } .menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { display: grid; max-height: 0; overflow: hidden; transition: max-height .8s var(--ease); padding: 0 24px; background: var(--paper); }
  .menu-open { background: var(--paper) !important; color: var(--ink) !important; }
  .menu-open .mobile-menu { max-height: calc(100svh - 60px); height: calc(100svh - 60px); align-content: start; padding-top: 18px; }
  .feel-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 26px; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad); }
  .feel-tabs::-webkit-scrollbar { display: none; } .feel-tabs button { font-size: 28px; flex: none; }
  .mobile-menu a { font: 300 30px/1 var(--serif); padding: 14px 0; } .mobile-menu a:first-child { margin-top: 18px; } .mobile-menu a:last-child { margin-bottom: 28px; }
  .hero { height: 160vh; }
  .hero-copy { bottom: 12vh; right: var(--pad); } .display { font-size: 50px; }
  .hero-media img { object-position: 50% 30%; }
  .manifesto { padding: 16vh 28px 14vh; } .vertical-cn { display: none; }
  .rituals { gap: 12vh; padding-bottom: 14vh; }
  .chapter { grid-template-columns: 1fr; row-gap: 26px; }
  .chapter .ch-img, .chapter .ch-text { grid-column: 1 !important; grid-row: auto !important; padding: 0; }
  .ch-2 .ch-img { order: -1; } .ch-3 .ch-img { order: -1; }
  .feelings { padding: 14vh 20px; }
  .feel-tabs { gap: 10px 22px; } .feel-tabs button { font-size: 25px; }
  .feel-spread { grid-template-columns: 1fr; gap: 40px; }
  .feel-items a { grid-template-columns: 1fr auto; } .fi-role { grid-column: 1 / -1; }
  .quiz { grid-template-columns: 1fr; } .quiz-img { aspect-ratio: 4 / 3; } .quiz-body { padding: 10vh 24px; }
  .gifts { grid-template-columns: 1fr; padding: 14vh 24px; gap: 12vh; } .refill { margin-top: 0; }
  .gift-row { flex-direction: column; gap: 10px; }
  .craft-grid { grid-template-columns: 1fr; gap: 9vh; } .craft-item:nth-child(n) { margin-top: 0; }
  .words { padding: 14vh 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px 20px; } .footer-news { grid-column: 1 / -1; }
  .footer-mark { margin: 10vh 0 7vh; } .footer-mark svg { height: 84px; }
  .col-head { padding-top: calc(64px + 9vh); padding-bottom: 7vh; }
  .col-tools { flex-direction: column; align-items: flex-start; } .filters { gap: 10px 20px; }
  .col-grid { grid-template-columns: 1fr 1fr; gap: 7vh 12px; padding: 5vh 16px 10vh; }
  .col-editorial { margin: 2vh -16px; aspect-ratio: 4 / 3; }
  .card { gap: 12px; } .card-name { font-size: 19px; } .card-sub { font-size: 11.5px; }
  .pdp-main { grid-template-columns: 1fr; padding-top: 64px; }
  .pdp-gallery { grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 4px; scrollbar-width: none; }
  .pdp-fig { scroll-snap-align: start; }
  .pdp-info { padding: 0 24px; } .pdp-sticky { position: static; min-height: 0; padding: 6vh 0 4vh; }
  .pdp-related { padding-top: 10vh; }
  .btn { padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .hero-scroll span { animation: none; } }

/* =========================================================
   MOTION LAYER (html.fx is set only when motion is allowed)
   ========================================================= */
/* hero: WebGL smoke canvas sits exactly over the photograph */
.hero-media { inset: -1.5%; }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-gl.on { opacity: 1; }

/* custom cursor */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea { cursor: text !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .6s var(--ease); }
.cursor.on { opacity: 1; }
.cursor::before { content: ''; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #FAF6F0; mix-blend-mode: difference;
  transition: transform .7s var(--ease), background .7s var(--ease), opacity .5s; }
.cursor.is-link::before { transform: scale(5.5); background: rgba(250,246,240,.9); }
.cursor.is-text::before { transform: scaleX(.34) scaleY(3.2); }
.cursor.is-label::before { transform: scale(13.5); background: rgba(236,230,221,.78); mix-blend-mode: normal; backdrop-filter: blur(3px); box-shadow: 0 0 0 .08px rgba(28,26,23,.45); }
.cursor.down::before { transform: scale(.7); }
.cursor.is-label.down::before { transform: scale(12); }
.cursor-label { position: absolute; left: 0; top: 0; translate: -50% -50%; font: 400 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  opacity: 0; transition: opacity .5s var(--ease) .1s; white-space: nowrap; padding-left: .28em; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor-ash { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 199; }

/* magnetic */
.fx .btn, .fx [data-magnetic] { transition: transform .9s var(--ease), background .6s var(--ease), color .6s var(--ease), padding .6s var(--ease); will-change: transform; }

/* product image: tilt + sheen */
.fx .card-img { transform-style: preserve-3d; transition: transform 1.2s var(--ease); }
.fx .card-img.tilting { transition: transform .25s ease-out; }
.card-img .sheen { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease); z-index: 2;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,250,242,.34), rgba(255,250,242,0) 60%),
              linear-gradient(110deg, rgba(255,255,255,0) 30%, rgba(255,252,246,.5) 46%, rgba(255,255,255,0) 58%);
  background-size: 100% 100%, 260% 100%; background-repeat: no-repeat; background-position: 0 0, calc(100% - var(--mx, 50%)) 0; }
.card-img.tilting .sheen { opacity: 1; }

/* masks: images open upward, the photograph settles from a slight zoom */
.fx [data-mask] { clip-path: inset(100% 0 0 0); transition: clip-path 1.8s cubic-bezier(.7,0,.2,1); }
.fx [data-mask] > *, .fx [data-mask] .px-wrap { transition: scale 2.4s cubic-bezier(.2,.7,.2,1); scale: 1.18; }
.fx [data-mask].mask-in { clip-path: inset(0 0 0 0); }
.fx [data-mask].mask-in > *, .fx [data-mask].mask-in .px-wrap { scale: 1; }

/* words rise line by line */
.fx [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.fx [data-split] .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.3s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.fx [data-split].split-in .w > span { transform: none; }
/* chapters: let the mask and words carry the entrance instead of a fade */
.fx .chapter.rv { opacity: 1; transform: none; }

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* large images: soft light that follows the pointer (replaces the old ripple) */
[data-ripple] { position: relative; }
[data-ripple] .glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); z-index: 2; mix-blend-mode: soft-light;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,248,236,.55), rgba(255,248,236,0) 65%); }
.fx [data-ripple] img { transition: scale 2.4s var(--ease), transform 2.4s var(--ease); }
.fx [data-ripple].glowing img { scale: 1.03; }
.fx [data-ripple].glowing .glow { opacity: 1; }

/* ---------- round 5: live crystal + smoke-thread cursor ---------- */
.crystal-gl { position: fixed; left: 0; top: 0; will-change: transform; pointer-events: none; z-index: 40; opacity: 0; }

/* =========================================================
   v2 POLISH — see POLISH.md
   ========================================================= */
/* B · one photographic grade for every product & editorial photo, so stock shot on cool white
   reads as if lit in the same warm room; white sweeps melt into paper instead of glowing */
.card-img img, .pdp-fig img, .feel-img img, .ch-img img, .quiz-img img, .gift-img img, .craft-img img, .col-editorial img, .cart-thumb img, .upsell-row img {
  filter: saturate(.82) sepia(.07) contrast(.97); }
.card-img img, .pdp-fig img, .feel-img img, .cart-thumb img, .upsell-row img, .gift-img img { mix-blend-mode: multiply; }
.feel-img, .gift-img, .card-img, .pdp-fig, .cart-thumb { background: var(--paper-2); }
/* fine film grain over everything (static tile — costs nothing to composite) */
body::after { content: ''; position: fixed; inset: 0; z-index: 150; pointer-events: none; background: url('/assets/img/grain.png') 0 0 / 128px 128px; opacity: .26; }

/* C · hover & micro-interactions — fewer, quieter, more exact */
.card-img .sheen { opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,250,242,.16), rgba(255,250,242,0) 60%); }
/* underline: leaves to the right, returns from the left */
.text-link { transition: none; }
.text-link:hover, a:hover > .text-link { background-size: 100% 1px; animation: line-wipe 1s var(--ease-io); }
@keyframes line-wipe { 0% { background-position: 100% 100%; background-size: 100% 1px; } 45% { background-position: 100% 100%; background-size: 0 1px; }
  45.1% { background-position: 0 100%; background-size: 0 1px; } 100% { background-position: 0 100%; background-size: 100% 1px; } }
.nav nav a::after { transform-origin: right; transition: transform .8s var(--ease-io); }
.nav nav a:hover::after, .nav nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
/* button label roll */
.btn .roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.2; padding-left: .18em; }
.btn .roll > span { display: block; position: relative; transition: transform .8s var(--ease); }
.btn .roll > span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; }
.btn:hover .roll > span { transform: translateY(-100%); }
.btn { transition: background .7s var(--ease), color .7s var(--ease), border-color .7s var(--ease), transform .9s var(--ease); }
/* cursor: a small paper disc with the word, no frosted glass */
.cursor.is-label::before { transform: scale(10.5); background: rgba(243,239,232,.94); mix-blend-mode: normal; backdrop-filter: none; box-shadow: none; }
.cursor.is-label.down::before { transform: scale(9.5); }
.cursor.is-link::before { transform: scale(4); }
.cursor-label { font: 400 9.5px/1 var(--sans); letter-spacing: .16em; padding-left: .16em; }

/* D · header & mobile menu */
.site-header { transition: background .9s var(--ease), color .9s var(--ease), transform 1s var(--ease); }
.site-header.tucked { transform: translateY(-101%); }
.mm-cn, .mm-foot { display: none; }
@media (max-width: 760px) {
  .mobile-menu { position: fixed; top: 64px; left: 0; right: 0; height: calc(100svh - 64px); max-height: none !important; overflow: auto; display: grid; align-content: start;
    padding: 2vh 24px 0 !important; background: var(--paper); clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io); }
  .menu-open .mobile-menu { clip-path: inset(0 0 0 0); height: calc(100svh - 64px); }
  .mobile-menu a { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding: 18px 0 !important; margin: 0 !important;
    font: 300 32px/1 var(--serif); opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .9s var(--ease); }
  .mobile-menu a:nth-child(n+4) { font-size: 22px; padding: 15px 0 !important; }
  .mm-cn { display: inline; font: 17px/1 var(--cjk); color: var(--agar); }
  .mm-foot { display: block; margin-top: 5vh; opacity: 0; transition: opacity .8s var(--ease) .7s; }
  .menu-open .mobile-menu a { opacity: 1; transform: none; }
  .menu-open .mobile-menu a:nth-child(1) { transition-delay: .25s; } .menu-open .mobile-menu a:nth-child(2) { transition-delay: .31s; }
  .menu-open .mobile-menu a:nth-child(3) { transition-delay: .37s; } .menu-open .mobile-menu a:nth-child(4) { transition-delay: .43s; }
  .menu-open .mobile-menu a:nth-child(5) { transition-delay: .49s; } .menu-open .mobile-menu a:nth-child(6) { transition-delay: .55s; }
  .menu-open .mm-foot { opacity: 1; }
  .menu-btn span { transition: transform .8s var(--ease-io); }
}

/* E · opening: a stick is lit, a thread of smoke rises, the wordmark settles, the paper lifts */
.loader { display: none; }
html.preload .loader { display: grid; position: fixed; inset: 0; z-index: 300; place-items: center; background: var(--paper); color: var(--ink);
  clip-path: inset(0 0 0 0); transition: clip-path 1.25s var(--ease-io); animation: ld-failsafe .01s 6s forwards; }
html.preload.loaded .loader { clip-path: inset(0 0 100% 0); }
@keyframes ld-failsafe { to { visibility: hidden; } }
.ld-inner { display: grid; justify-items: center; gap: 34px; transition: transform 1.25s var(--ease-io), opacity .9s var(--ease); }
html.loaded .ld-inner { transform: translateY(-6vh); opacity: 0; }
.ld-stick { position: relative; width: 1px; height: 120px; background: linear-gradient(#6A5140, #9C8268); transform-origin: 50% 100%; animation: ld-rise 1.1s var(--ease) .15s both; }
.ld-ember { position: absolute; left: -1.5px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #E0864A; box-shadow: 0 0 6px 2px rgba(224,134,74,.55), 0 0 18px 6px rgba(224,134,74,.18);
  opacity: 0; animation: ld-ember 1.6s ease-in-out .95s both infinite alternate; }
.ld-smoke { position: absolute; left: -20px; bottom: 100%; width: 40px; height: 140px; overflow: visible; }
.ld-smoke path { stroke: rgba(78,73,67,.45); stroke-width: .7; stroke-linecap: round; stroke-dasharray: 190; stroke-dashoffset: 190; animation: ld-smoke 2.2s var(--ease) 1.05s both; }
.ld-mark { display: flex; align-items: center; gap: 16px; opacity: 0; animation: ld-mark 1.4s var(--ease) .7s both; }
.ld-cn { font: 22px/1 var(--cjk); letter-spacing: .12em; }
.ld-rule { width: 1px; height: 18px; background: var(--line); }
.ld-en { font: 400 11px/1 var(--sans); letter-spacing: .42em; padding-left: .42em; animation: ld-track 1.8s var(--ease) .7s both; }
@keyframes ld-rise { from { transform: scaleY(0); } }
@keyframes ld-ember { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .75; } }
@keyframes ld-smoke { to { stroke-dashoffset: 0; } }
@keyframes ld-mark { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ld-track { from { letter-spacing: .7em; } }
/* what the curtain reveals arrives in order: photograph settles, title rises line by line, then the chrome */
.hero-media { transition: scale 2.8s var(--ease); }
html.preload .hero-media { scale: 1.09; }
html.preload.loaded .hero-media { scale: 1; }
html.preload .hero [data-split] .w > span { transform: translateY(108%); }
html.preload.loaded .hero [data-split] .w > span { transform: none; transition-delay: calc(var(--d, 0ms) + .55s); }
html.preload .hero-sub, html.preload .hero-scroll, html.preload .site-header { opacity: 0; }
html.preload.loaded .hero-sub, html.preload.loaded .hero-scroll, html.preload.loaded .site-header { opacity: 1; transition: opacity 1.4s var(--ease) 1.15s; }

/* F · page transitions — the page exhales, the next one settles in (cross-document View Transitions;
   a JS fade stands in where the browser has no support) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .5s var(--ease-in) both; }
::view-transition-new(root) { animation: vt-in 1.1s var(--ease) .08s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
html.vt-fallback body { animation: vt-in 1.1s var(--ease) both; }
html.vt-fallback.leaving body { opacity: 0; transform: translateY(-12px); transition: opacity .45s var(--ease-in), transform .45s var(--ease-in); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  html.vt-fallback body { animation: none; }
}

/* G · more images open like a mask (cards stagger across the row) */
.fx [data-mask] { transition: clip-path 1.7s var(--ease-io) var(--md, 0ms); }
.fx [data-mask] > *, .fx [data-mask] .px-wrap { transition: scale 2.6s var(--ease) var(--md, 0ms); }
.fx .card-img, .fx .card-img.tilting { clip-path: inset(100% 0 0 0); }
.fx .card-img { transition: transform 1.2s var(--ease), clip-path 1.6s var(--ease-io) var(--md, 0ms); }
.fx .card-img.tilting { transition: transform .25s ease-out, clip-path 1.6s var(--ease-io) var(--md, 0ms); }
.fx .card-img.mask-in { clip-path: inset(0 0 0 0); }
.fx .card-img[data-mask] > img { transition: opacity 1.2s var(--ease), transform 2.4s var(--ease), scale 2.6s var(--ease) var(--md, 0ms); }
.fx .card-img[data-mask] > .sheen { scale: 1; }

/* H · small furniture: hairline arrows instead of glyphs; the bag's contents settle in after the drawer */
.quiz-answers button::after { content: ''; align-self: center; width: 28px; height: 1px; background: currentColor; opacity: 0; transform: scaleX(.2); transform-origin: left; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.quiz-answers button:hover::after { opacity: 1; transform: none; }
.cart-drawer { transition: transform 1.1s var(--ease-io); }
.cart-anim .cart-line, .cart-anim .cart-upsell, .cart-anim .cart-foot { animation: fadeUp 1s var(--ease) both; }
.cart-anim .cart-line:nth-child(1) { animation-delay: .35s; } .cart-anim .cart-line:nth-child(2) { animation-delay: .42s; } .cart-anim .cart-line:nth-child(n+3) { animation-delay: .49s; }
.cart-anim .cart-upsell { animation-delay: .55s; } .cart-anim .cart-foot { animation-delay: .62s; }
.cart-scrim { background: rgba(28,26,23,.28); backdrop-filter: blur(2px); }
@media (prefers-reduced-motion: reduce) { .cart-anim .cart-line, .cart-anim .cart-upsell, .cart-anim .cart-foot { animation: none; } }

/* Shopify notices */
.modal-body { display: grid; gap: 10px; } .modal-list { margin: 0; padding: 0 0 0 1.1em; font-size: 14px; line-height: 1.7; color: var(--ink, #1C1A17); }
.cart-listing { margin-top: 10px; color: #7A736A; }
.checkout-btn[disabled] { opacity: .6; cursor: progress; }
.pdp-stock { margin-top: 10px; }
.add-btn[disabled] { opacity: .45; cursor: not-allowed; }
