/* =========================================================
   RYUJIN STAMP — 龍神印房
   Palette: sumi ink, vermilion seal, bronze gold, ember, washi
   ========================================================= */
:root {
  color-scheme: dark;
  --ink: #0d0b0a;          /* sumi black, warm */
  --ink-2: #16110f;        /* raised ink */
  --ink-3: #221a16;        /* card ink */
  --line: #3a2d24;         /* hairline on ink */
  --shu: #c8321e;          /* vermilion seal red */
  --shu-deep: #8f1f12;
  --ember: #ff7a2f;        /* fire */
  --gold: #c9a25a;         /* bronze gold */
  --gold-soft: #e3c98f;
  --paper: #efe6d4;        /* washi */
  --paper-2: #e2d6bf;
  --text: #ece3d2;
  --muted: #a8998a;

  --f-display: "Noto Serif Display", "Noto Serif", Georgia, "Times New Roman", serif;
  --f-body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-brush: "Yuji Syuku", "Hiragino Mincho ProN", "Yu Mincho", "Songti SC", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --r: 4px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --ship-h: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; background: var(--ink); overflow-x: hidden; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* paper-fibre grain over the whole page */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .8  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
em { font-style: italic; }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.jp { font-family: var(--f-brush); letter-spacing: .08em; }
.seal-glyph { font-family: var(--f-brush); font-size: 36px; }

/* ---------- kumo + kasumi base styling ---------- */
.kumo, .kasumi { position: absolute; overflow: visible; pointer-events: none; }
/* styles reach inside <use> clones through inherited custom properties */
.k-body { fill: var(--cloud-fill, #140f0d); stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; }
.k-line { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; opacity: .75; }
.ka-body { fill: var(--mist-fill, rgba(22,17,15,.85)); stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.kasumi .k-line { vector-effect: non-scaling-stroke; stroke-dasharray: 2 7; opacity: .5; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--ink); color: var(--shu);
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.gone { opacity: 0; visibility: hidden; }
.loader-seal { width: 120px; height: 120px; color: #d23a22; animation: stampIn .9s var(--ease) both; filter: url(#inkWorn); }
.loader-text { font-family: var(--f-display); letter-spacing: .5em; text-transform: uppercase; font-size: 12px; color: var(--gold); animation: fadeUp .8s .5s both; padding-left: .5em; }
@keyframes stampIn { 0% { transform: scale(2.4) rotate(-12deg); opacity: 0; } 60% { transform: scale(.94) rotate(2deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- embers ---------- */
.embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; mix-blend-mode: screen; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: var(--ship-h); left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(13,11,10,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); padding-block: 10px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-tile { display: grid; place-items: center; width: 44px; height: 44px; background: var(--paper); border-radius: 4px; box-shadow: 0 0 0 1px rgba(201,162,90,.4), 0 6px 18px rgba(0,0,0,.35); transition: transform .5s var(--ease), box-shadow .5s; }
.brand-seal { width: 34px; height: 34px; color: #b01212; }
.brand:hover .brand-tile { transform: rotate(-6deg) scale(1.05); box-shadow: 0 0 0 1px var(--gold), 0 0 24px -4px rgba(255,122,47,.6); }
.brand-name { font-family: var(--f-display); font-size: 22px; font-weight: 400; letter-spacing: .03em; }
.ig-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(22,17,15,.6); display: grid; place-items: center; color: var(--text); transition: border-color .3s, color .3s; }
.ig-btn svg { width: 20px; height: 20px; }
.ig-btn:hover { border-color: var(--gold); color: var(--gold-soft); }
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav-links a { text-decoration: none; font-size: 14px; letter-spacing: .04em; color: var(--muted); position: relative; padding-block: 6px; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--shu); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(22,17,15,.6); display: grid; place-items: center; cursor: pointer; transition: border-color .3s, transform .3s; }
.cart-btn:hover { border-color: var(--gold); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.5; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--shu); color: var(--paper); font-size: 11px; font-weight: 600; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; place-content: center; gap: 6px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .3s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- free Sydney delivery bar ---------- */
.shipbar { position: fixed; top: 0; left: 0; right: 0; z-index: 41; min-height: var(--ship-h); display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0; background: linear-gradient(90deg, var(--shu-deep), var(--shu) 50%, var(--shu-deep)); color: var(--paper);
  font-size: 12.5px; letter-spacing: .06em; text-align: center; line-height: 1.3; }
.shipbar .jp { font-size: 15px; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border-radius: 2px; cursor: pointer; text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--gold); background: var(--bg); color: var(--text); overflow: hidden; isolation: isolate;
  transition: color .3s, border-color .3s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn.wide { width: 100%; }
.btn-fire { border-color: var(--shu); background: linear-gradient(180deg, #d23c22, var(--shu-deep)); color: var(--paper); box-shadow: 0 0 0 0 rgba(255,122,47,0); transition: box-shadow .4s, transform .2s; }
.btn-fire::before { /* flame sweep */
  content: ""; position: absolute; inset: -40% -10%; z-index: -1;
  background: radial-gradient(60% 60% at var(--mx, 50%) 120%, rgba(255,190,90,.95), rgba(255,122,47,.6) 35%, transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.btn-fire:hover { box-shadow: 0 0 34px -4px rgba(255,122,47,.65), inset 0 0 0 1px rgba(255,200,120,.35); }
.btn-fire:hover::before { opacity: 1; animation: flicker 1.4s infinite alternate; }
@keyframes flicker { 0% { transform: translateY(6%) scaleY(1); } 50% { transform: translateY(0) scaleY(1.08); } 100% { transform: translateY(4%) scaleY(.96); } }
.btn-ghost { color: var(--gold-soft); }
.btn-ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn-ghost:hover { color: var(--ink); }
.btn-ghost:hover::before { transform: scaleX(1); transform-origin: left; }

/* ---------- common section ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); padding-inline: var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.section-head { position: relative; max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 500; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--shu); }
.section-head.center .eyebrow { justify-content: center; }
.section-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 4.8vw, 64px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.section-title em { color: var(--gold-soft); font-weight: 300; }
.section-lede { margin: 20px 0 0; color: var(--muted); max-width: 58ch; font-size: 17px; }
.v-label { position: absolute; left: calc(-1 * clamp(0px, 3vw, 48px)); top: 0; writing-mode: vertical-rl; font-family: var(--f-brush); color: var(--shu); font-size: 15px; letter-spacing: .35em; opacity: .9; }
@media (max-width: 1440px) { .v-label { position: static; writing-mode: horizontal-tb; display: block; margin-bottom: 10px; font-size: 14px; } }

/* scroll-driven reveals (visible at rest; progressive where supported) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rise { from { opacity: .15; transform: translateY(46px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: min(900px, 100svh); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  padding: calc(110px + var(--ship-h)) var(--gutter) 200px; gap: 24px;
  background:
    radial-gradient(90% 70% at 72% 55%, #2a130b 0%, transparent 60%),
    radial-gradient(60% 50% at 10% 100%, #1a0f0b 0%, transparent 70%),
    var(--ink);
}
.hero-glow { position: absolute; width: 62vmin; aspect-ratio: 1; right: 14%; top: 50%; translate: 0 -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,47,.42) 0%, rgba(200,50,30,.22) 38%, transparent 70%);
  filter: blur(20px); animation: breathe 5s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { opacity: .65; transform: scale(1.08); } }
.hero-kanji { position: absolute; right: 2vw; top: 50%; translate: 0 -52%; writing-mode: vertical-rl;
  font-family: var(--f-brush); font-size: clamp(160px, 26vw, 400px); line-height: .9; color: transparent;
  -webkit-text-stroke: 1px rgba(201,162,90,.22); pointer-events: none; user-select: none; }

.hero-stage { position: relative; grid-column: 2; grid-row: 1; height: min(80vh, 780px); margin-bottom: -120px; min-height: 440px; z-index: 2; }
#dragon { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1.4s var(--ease); }
#dragon.ready { opacity: 1; }
#dragon:active { cursor: grabbing; }
.stage-fallback { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: lighten; }
.stage-hint { position: absolute; left: 50%; bottom: 18%; translate: -50% 0; z-index: 4; display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); background: rgba(13,11,10,.6); border: 1px solid var(--line); padding: 8px 16px; border-radius: 30px; transition: opacity .6s; }
.stage-hint.hide { opacity: 0; }
.hint-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: breathe 1.6s infinite; }
.stage-plate { position: absolute; right: 0; top: 10%; z-index: 4; display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--text); }
.stage-plate small { color: var(--muted); font-size: 12px; }
.plate-k { writing-mode: vertical-rl; font-family: var(--f-brush); color: var(--paper); background: var(--shu); padding: 8px 4px; font-size: 13px; letter-spacing: .2em; }

.hero-copy { grid-column: 1; grid-row: 1; position: relative; z-index: 6; max-width: 620px; }
.hero-copy .eyebrow .jp { color: var(--shu); font-size: 15px; letter-spacing: .2em; text-transform: none; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; filter: url(#inkBleed); }
.hero-title em { font-style: italic; font-weight: 300; }
.hero-title em:nth-of-type(1) { color: var(--ember); text-shadow: 0 0 30px rgba(255,122,47,.45); }
.hero-title em:nth-of-type(2) { color: var(--shu); }
.hero-title em:nth-of-type(3) { color: var(--gold-soft); }
.hero-lede { color: var(--muted); font-size: 17px; max-width: 50ch; margin: 26px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; align-items: center; gap: 12px; }
.hero-facts dt { font-family: var(--f-brush); font-size: 30px; color: var(--gold); line-height: 1; }
.hero-facts dd { margin: 0; font-size: 12px; line-height: 1.45; color: var(--muted); letter-spacing: .03em; }

/* hero load choreography */
.hero-copy > * { animation: fadeUp 1s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .5s; }
.hero-copy > *:nth-child(2) { animation-delay: .6s; }
.hero-copy > *:nth-child(3) { animation-delay: .9s; }
.hero-copy > *:nth-child(4) { animation-delay: 1.05s; }
.hero-copy > *:nth-child(5) { animation-delay: 1.2s; }

/* cloud sea */
.cloud-sea { position: absolute; left: 0; right: 0; bottom: 0; height: 280px; z-index: 5; pointer-events: none; --cloud-fill: #120d0b; }
.cloud-sea::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(transparent, var(--ink)); }
.cloud-sea .kumo { bottom: 0; }
.k1 { width: 460px; height: 184px; left: -60px; bottom: -20px !important; animation: drift 38s ease-in-out infinite alternate; }
.k2 { width: 380px; height: 152px; left: 30%; bottom: 10px !important; animation: drift 46s -12s ease-in-out infinite alternate-reverse; opacity: .9; }
.k3 { width: 520px; height: 208px; right: -80px; bottom: -40px !important; animation: drift 52s -20s ease-in-out infinite alternate; }
.k4 { width: 260px; height: 104px; left: 58%; bottom: 120px !important; animation: drift 34s -6s ease-in-out infinite alternate; opacity: .75; --cloud-fill: rgba(18,13,11,.85); }
.k5 { width: 220px; height: 88px; left: 44%; bottom: 150px !important; animation: drift 40s -18s ease-in-out infinite alternate-reverse; opacity: .6; }
.kasumi.ks1 { width: 58%; height: 26px; left: 28%; bottom: 70px; animation: mist 30s ease-in-out infinite alternate; opacity: .9; }
.kasumi.ks2 { width: 40%; height: 20px; left: -6%; bottom: 96px; animation: mist 36s -10s ease-in-out infinite alternate-reverse; opacity: .7; }
@keyframes drift { from { transform: translateX(-40px) translateY(calc(var(--sy, 0) * -0.18px)); } to { transform: translateX(60px) translateY(calc(var(--sy, 0) * -0.18px)); } }
@keyframes mist { from { transform: translateX(-60px); } to { transform: translateX(80px); } }

/* ticker */
.ticker { position: relative; z-index: 6; border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; padding-block: 16px; }
.ticker-track { display: flex; gap: 28px; width: max-content; animation: tick 60s linear infinite; white-space: nowrap; }
.ticker span { font-family: var(--f-display); font-size: 18px; font-style: italic; color: var(--paper-2); }
.ticker i { color: var(--shu); font-style: normal; font-size: 10px; align-self: center; }
@keyframes tick { to { transform: translateX(-50%); } }

/* =========================================================
   ELEMENTS
   ========================================================= */
.element-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.element-card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color .4s, transform .6s var(--ease); }
.element-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: saturate(.7) contrast(1.05) brightness(.82); transition: filter .8s, transform 1.2s var(--ease); }
.element-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.element-card:hover img { filter: saturate(1.05) brightness(1); transform: scale(1.05); }
.element-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 35%, rgba(13,11,10,.2) 50%, var(--ink-2) 72%); }
.el-kanji { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: var(--f-brush); font-size: 54px; line-height: 1; color: var(--paper); text-shadow: 0 2px 20px rgba(0,0,0,.6); transition: color .4s, text-shadow .4s; }
.element-card:hover .el-kanji { color: var(--ember); text-shadow: 0 0 24px rgba(255,122,47,.7); }
.el-body { position: relative; z-index: 2; margin-top: -120px; padding: 0 22px 24px; }
.el-tag { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--shu); font-weight: 600; }
.el-body h3 { margin: 6px 0 8px; font-family: var(--f-display); font-weight: 400; font-size: 30px; }
.el-body p { margin: 0 0 16px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.el-link { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* =========================================================
   SHOP
   ========================================================= */
.shop { overflow: visible; }
.shop-mist { width: 70%; height: 30px; right: -8%; top: 60px; opacity: .55; animation: mist 40s ease-in-out infinite alternate; }
.shop-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { border: 1px solid var(--line); background: transparent; padding: 9px 16px; font-size: 13px; cursor: pointer; border-radius: 30px; color: var(--muted); transition: all .3s; }
.filters button b { font-family: var(--f-brush); font-weight: 400; color: var(--gold); margin-right: 3px; }
.filters button:hover { color: var(--text); border-color: var(--gold); }
.filters button[aria-selected="true"] { background: var(--shu); border-color: var(--shu); color: var(--paper); }
.filters button[aria-selected="true"] b { color: var(--paper); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.sort select, .field input, .field select, .field textarea {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 2px; padding: 10px 12px; color: var(--text); width: 100%;
}
.sort select { width: auto; }
.field input:focus, .field select:focus, .field textarea:focus, .sort select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201,162,90,.15); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.p-card { position: relative; background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; animation: cardIn .7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }
.p-card:hover { border-color: rgba(201,162,90,.7); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(255,122,47,.35); }
.p-card.featured { grid-column: span 2; grid-row: span 2; }
.p-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #0a0807; cursor: pointer; border: 0; padding: 0; display: block; width: 100%; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
/* ink-wash layer: desaturated at rest, colour blooms from the cursor like ink on paper */
.p-media .wash { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) sepia(.35) contrast(1.1) brightness(.78); transition: clip-path 1s var(--ease); clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); }
.p-card:hover .wash { clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%)); }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-media .p-el { position: absolute; top: 12px; left: 12px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; font-family: var(--f-brush); background: var(--shu); color: var(--paper); font-size: 18px; border-radius: 2px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.p-media .p-badge { position: absolute; top: 14px; right: 12px; z-index: 2; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: rgba(13,11,10,.78); border: 1px solid var(--gold); color: var(--gold-soft); padding: 4px 10px; }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-name { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.2; }
.p-kanji { font-family: var(--f-brush); color: var(--shu); font-size: 14px; letter-spacing: .15em; }
.p-meta { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-price { font-family: var(--f-display); font-size: 20px; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.p-add { border: 1px solid var(--shu); background: transparent; color: var(--paper); height: 38px; padding: 0 14px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .3s, box-shadow .3s; }
.p-add:hover { background: var(--shu); box-shadow: 0 0 22px -4px rgba(255,122,47,.7); }
.p-card.featured .p-name { font-size: 32px; }
.p-card.featured .p-meta { font-size: 15px; max-width: 46ch; }
.p-card.featured .p-price { font-size: 28px; }
/* stamp imprint on card after add */
.p-imprint { position: absolute; right: 16px; bottom: 70px; width: 64px; height: 64px; color: var(--shu); z-index: 3; pointer-events: none; filter: url(#inkWorn); animation: imprint 1.6s var(--ease) forwards; }
@keyframes imprint { 0% { transform: scale(2.6) rotate(-18deg); opacity: 0; } 22% { transform: scale(.92) rotate(-6deg); opacity: 1; } 30% { transform: scale(1) rotate(-6deg); } 80% { opacity: .95; } 100% { opacity: 0; transform: scale(1) rotate(-6deg); } }

/* =========================================================
   DESIGNER
   ========================================================= */
.designer { max-width: none; background: linear-gradient(180deg, var(--ink) 0%, #140d0a 50%, var(--ink) 100%); }
.designer-wrap { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.designer-controls { position: relative; }
.d-form { display: grid; gap: 18px; margin-top: 34px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; padding: 0; margin-bottom: 8px; }
.field small { color: var(--muted); font-size: 12px; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg legend { grid-column: 1 / -1; }
.seg.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg label > span { display: block; height: 100%; border: 1px solid var(--line); padding: 11px 14px; font-size: 14px; background: var(--ink-2); transition: border-color .3s, background .3s; }
.seg label > span b { font-family: var(--f-brush); font-weight: 400; color: var(--shu); margin-right: 6px; }
.seg label > span small { display: block; margin-top: 2px; }
.seg input:checked + span { border-color: var(--shu); background: rgba(200,50,30,.14); box-shadow: inset 0 0 0 1px var(--shu); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.d-price { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.d-price span { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.d-price strong { font-family: var(--f-display); font-weight: 400; font-size: 30px; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.d-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.d-alt { border-top: 1px solid var(--line); padding-top: 14px; }
.d-alt p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.d-alt-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.d-alt-links a { color: var(--gold-soft); font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.d-alt-links a:hover { color: var(--paper); }

.designer-paper { perspective: 1200px; }
.paper {
  position: relative; aspect-ratio: 4/5; max-width: 520px; margin-inline: auto; overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 20%, #f6efe0 0%, var(--paper) 45%, var(--paper-2) 100%);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(201,162,90,.3);
  transform: rotate(-1.6deg);
  display: grid; place-items: center;
}
.paper::before { /* washi fibres */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .25' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .45  0 0 0 0 .32  0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
.paper-grid { position: absolute; inset: 7%; border: 1px solid rgba(200,50,30,.35); background-image: linear-gradient(rgba(200,50,30,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(200,50,30,.18) 1px, transparent 1px); background-size: 25% 20%; pointer-events: none; }
.paper-grid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(45deg, transparent 49.7%, rgba(200,50,30,.14) 50%, transparent 50.3%), linear-gradient(-45deg, transparent 49.7%, rgba(200,50,30,.14) 50%, transparent 50.3%); }
.impression { position: relative; width: 62%; aspect-ratio: 1; z-index: 2; }
.impression svg { width: 100%; height: 100%; overflow: visible; }
.impression.press { animation: press 1s var(--ease); }
@keyframes press { 0%, 38% { opacity: 0; filter: blur(3px); transform: scale(1.06); } 48% { opacity: 1; filter: blur(1.2px); transform: scale(1.01); } 100% { opacity: 1; filter: none; transform: none; } }
.stamp-block { position: absolute; z-index: 3; width: 44%; aspect-ratio: .78; left: 28%; top: 20%; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, #6b4a2c, #9c7148 40%, #5a3c22); border-radius: 3px; box-shadow: 0 30px 40px rgba(0,0,0,.45); }
.stamp-block.go { animation: slam 1s var(--ease); }
@keyframes slam { 0% { opacity: 0; transform: translateY(-80%) scale(1.25); } 30% { opacity: 1; transform: translateY(-40%) scale(1.15); } 42% { opacity: 1; transform: translateY(0) scale(1); } 60% { opacity: 1; transform: translateY(-4%) scale(1.02); } 100% { opacity: 0; transform: translateY(-120%) scale(1.3); } }
.paper.shake { animation: shake .4s .36s; }
@keyframes shake { 30% { transform: rotate(-1.6deg) translateY(3px); } 60% { transform: rotate(-1.4deg) translateY(-1px); } }
.paper-cap { position: absolute; bottom: 4%; left: 0; right: 0; text-align: center; margin: 0; font-size: 12px; color: #6d5a45; letter-spacing: .08em; z-index: 2; }
.seal-text { font-family: var(--f-display), var(--f-brush); font-weight: 700; }
.seal-text.cjk { font-family: var(--f-brush); font-weight: 400; }

/* =========================================================
   PROCESS
   ========================================================= */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--shu), var(--gold), var(--shu), transparent); }
.steps li { position: relative; padding: 0 clamp(12px, 2vw, 28px); text-align: center; }
.step-n { position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 26px; font-family: var(--f-brush); font-size: 42px; color: var(--paper); background: var(--ink); border: 1px solid var(--gold); border-radius: 50%; transition: background .5s, box-shadow .5s; }
.steps li:hover .step-n { background: var(--shu); box-shadow: 0 0 40px -6px rgba(255,122,47,.7); }
.steps h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; margin: 0 0 10px; }
.steps p { margin: 0 auto; color: var(--muted); font-size: 14px; max-width: 30ch; }

/* =========================================================
   GALLERY
   ========================================================= */
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
.masonry img { width: 100%; transition: transform 1.4s var(--ease), filter .8s; filter: brightness(.88) saturate(.85); }
.masonry figure:hover img { transform: scale(1.05); filter: none; }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 13px; color: var(--paper); background: linear-gradient(transparent, rgba(13,11,10,.88)); font-family: var(--f-body); letter-spacing: .04em; transform: translateY(0); }

/* =========================================================
   PROMISE
   ========================================================= */
.promise { position: relative; padding: 110px var(--gutter) 90px; background: linear-gradient(180deg, var(--ink), #1b0c07 60%, #230d06); overflow: hidden; border-top: 1px solid var(--line); }
.cloud-band { position: absolute; inset: 0; pointer-events: none; --cloud-fill: rgba(35,15,9,.9); }
.pk1 { width: 420px; height: 168px; left: -80px; top: -30px; animation: drift 44s ease-in-out infinite alternate; opacity: .55; }
.pk2 { width: 360px; height: 144px; right: 6%; top: 10px; animation: drift 50s -10s ease-in-out infinite alternate-reverse; opacity: .45; }
.pk3 { width: 500px; height: 200px; right: -120px; bottom: -80px; animation: drift 60s -25s ease-in-out infinite alternate; opacity: .6; }
.promise-list { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.promise-list li { display: flex; gap: 18px; align-items: flex-start; }
.promise-list b { flex: none; display: grid; place-items: center; width: 56px; height: 56px; background: var(--shu); color: var(--paper); font-family: var(--f-brush); font-weight: 400; font-size: 26px; border-radius: 2px; box-shadow: 0 0 0 4px rgba(200,50,30,.18); }
.promise-list h3 { margin: 2px 0 6px; font-family: var(--f-display); font-weight: 500; font-size: 20px; }
.promise-list p { margin: 0; color: var(--muted); font-size: 14px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #080706; border-top: 1px solid var(--line); padding: 70px var(--gutter) 30px; position: relative; z-index: 6; }
.footer-main { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-tile { display: inline-grid; place-items: center; width: 104px; height: 104px; background: var(--paper); border-radius: 4px; }
.footer-seal { width: 84px; height: 84px; color: #b01212; }
.fc-lede { color: var(--text) !important; }
.footer-col .fc-link { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); display: inline !important; padding: 0 !important; }
.footer-col .fc-link:hover { color: var(--gold-soft); border-color: var(--gold); }
.footer-name { font-family: var(--f-display); font-size: 30px; margin: 14px 0 4px; }

.footer-tag { color: var(--muted); margin: 0; font-size: 14px; }
.footer-col h3 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 0 0 16px; }
.footer-col p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.footer-col p .sel { color: var(--text); user-select: all; font-variant-numeric: tabular-nums; }
.footer-col a { display: block; text-decoration: none; color: var(--muted); font-size: 14px; padding: 4px 0; transition: color .3s; }
.footer-col a:hover { color: var(--gold-soft); }
.copy { border: 1px solid var(--line); background: transparent; font-size: 11px; padding: 2px 8px; margin-left: 6px; cursor: pointer; color: var(--gold-soft); }
.copy:hover { border-color: var(--gold); }
.footer-legal { max-width: var(--max); margin: 50px auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: #74685c; }

/* =========================================================
   CART DRAWER / CHECKOUT
   ========================================================= */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(5,4,3,.6); backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer-clip { position: fixed; inset: 0; z-index: 80; overflow: hidden; pointer-events: none; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; z-index: 80; pointer-events: auto; width: min(440px, 100%); background: var(--ink-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .5s var(--ease); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.open { transform: none; box-shadow: -40px 0 80px rgba(0,0,0,.5); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 26px; }
.drawer-head .jp { color: var(--shu); font-size: 16px; margin-left: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--text); }
.icon-btn:hover { border-color: var(--gold); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.c-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.c-item img, .c-item .c-seal { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line); background: var(--paper); }
.c-item h4 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.3; }
.c-item .c-meta { font-size: 12px; color: var(--muted); margin: 3px 0 8px; }
.c-item .c-price { font-variant-numeric: tabular-nums; color: var(--gold-soft); font-size: 14px; text-align: right; }
.c-item .c-rm { display: block; margin-top: 8px; background: none; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 32px; height: 32px; background: none; border: 0; cursor: pointer; font-size: 16px; }
.qty button:hover { color: var(--ember); }
.qty input, .qty span { width: 38px; text-align: center; border: 0; background: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty .jp { display: block; font-size: 60px; color: var(--line); margin-bottom: 8px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--ink); }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total strong { font-family: var(--f-display); font-weight: 400; font-size: 28px; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.note { font-size: 12px; color: var(--muted); margin: 4px 0 14px; }
.checkout, .done { padding: 20px 22px 26px; overflow-y: auto; display: grid; gap: 14px; align-content: start; flex: 1; }
.checkout[hidden], .done[hidden] { display: none; }
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.ship-status { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
.ship-status.ok { color: #8fcf8a; }
.ship-status.quote { color: var(--gold-soft); }
.note .free { color: var(--gold-soft); font-weight: 500; }
.checkout h3, .done h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 24px; }
.back { background: none; border: 0; color: var(--gold-soft); cursor: pointer; justify-self: start; padding: 0; font-size: 13px; }
.done { text-align: center; justify-items: center; padding-top: 50px; }
.done-seal { width: 110px; height: 110px; color: var(--shu); filter: url(#inkWorn); animation: stampIn .9s var(--ease) both; }
.done p { color: var(--muted); font-size: 14px; max-width: 34ch; }

/* =========================================================
   QUICK VIEW
   ========================================================= */
.qv { width: min(980px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); display: none; }
.qv[open] { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); animation: qvIn .5s var(--ease); }
.qv::backdrop { background: rgba(5,4,3,.72); backdrop-filter: blur(4px); }
@keyframes qvIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.qv-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(13,11,10,.7); }
.qv-media { background: #0a0807; min-height: 300px; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-body { padding: 36px 32px 30px; display: grid; gap: 12px; align-content: start; overflow-y: auto; }
.qv-body h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 38px; line-height: 1.1; }
.qv-kanji { margin: 0; font-family: var(--f-brush); color: var(--shu); font-size: 22px; letter-spacing: .2em; }
.qv-desc { margin: 0; color: var(--muted); font-size: 15px; }
.qv-spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 4px 0; padding: 14px 0; border-block: 1px solid var(--line); font-size: 14px; }
.qv-spec dt { color: var(--gold); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.qv-spec dd { margin: 0; }
.qv-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qv-price { font-family: var(--f-display); font-weight: 400; font-size: 30px; color: var(--gold-soft); font-variant-numeric: tabular-nums; }

/* =========================================================
   TOAST + STAMP FX
   ========================================================= */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 95; translate: -50% 0; background: var(--paper); color: var(--ink); padding: 12px 20px; font-size: 14px; font-weight: 500; border-left: 4px solid var(--shu); box-shadow: 0 20px 40px rgba(0,0,0,.5); opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: none; }
.stamp-fx { position: fixed; z-index: 90; width: 90px; height: 90px; color: #d23a22; pointer-events: none; opacity: 0; filter: url(#inkWorn); }
.stamp-fx svg { width: 100%; height: 100%; }
.stamp-fx.go { animation: fly .9s var(--ease) forwards; }
@keyframes fly { 0% { opacity: 0; transform: translate(0,0) scale(2) rotate(-20deg); } 25% { opacity: 1; transform: translate(0,0) scale(1) rotate(-6deg); } 55% { opacity: 1; transform: translate(0,0) scale(1) rotate(-6deg); } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.2) rotate(20deg); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .element-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .element-card img { aspect-ratio: 4/3; }
}
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav-links { position: fixed; top: 0; left: 0; right: 0; flex-direction: column; gap: 0; padding: calc(80px + var(--ship-h) + env(safe-area-inset-top, 0px)) var(--gutter) 30px; background: rgba(13,11,10,.97); border-bottom: 1px solid var(--line); transform: translateY(-105%); transition: transform .5s var(--ease); z-index: -1; }
  .nav-links.open { transform: none; }
  .nav-links a { font-family: var(--f-display); font-size: 26px; color: var(--text); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; padding-top: calc(90px + var(--ship-h)); padding-bottom: 120px; min-height: 0; }
  .hero-stage { grid-column: 1; grid-row: 1; height: 56vh; min-height: 360px; margin-inline: calc(-1 * var(--gutter)); margin-bottom: 0; }
  .hero-copy { grid-row: 2; }
  .hero-glow { right: 50%; translate: 50% 0; top: 60px; width: 90vmin; }
  .hero-kanji { top: 30%; font-size: 48vw; }
  .stage-plate { right: var(--gutter); top: 6%; }
  .cloud-sea { height: 200px; }
  .k3 { width: 340px; height: 136px; }
  .designer-wrap { grid-template-columns: 1fr; }
  .designer-paper { order: -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
  .steps::before { display: none; }
  .promise-list { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .qv[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .qv-media { min-height: 0; aspect-ratio: 4/3; }
}
@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .p-card.featured { grid-column: 1 / -1; grid-row: auto; }
  .p-body { padding: 12px 12px 14px; }
  .p-name { font-size: 16px; }
  .p-card.featured .p-name { font-size: 24px; }
  .p-price { font-size: 16px; }
  .p-foot { flex-direction: column; align-items: stretch; }
  .p-add { width: 100%; }
  .p-meta { font-size: 12px; }
  .section-head.row { align-items: flex-start; }
  .shop-tools { width: 100%; }
}
@media (max-width: 560px) {
  .element-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .hero-facts { gap: 18px; }
  .hero-facts dt { font-size: 24px; }
  .btn { padding: 0 20px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stage-plate { display: none; }
  .brand-name { font-size: 18px; }
  :root { --ship-h: 40px; }
  .shipbar { font-size: 11.5px; letter-spacing: .02em; }
  .qv-body { padding: 24px 18px; }
  .qv-body h2 { font-size: 30px; }
  .seg.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg label > span { padding: 10px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-title { filter: none; }
}

/* =========================================================
   DRAGON CURSOR (see assets/js/cursor.js)
   ========================================================= */
.dragon-cursor { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2147483000; }
.has-dragon-cursor, .has-dragon-cursor * { cursor: none !important; }
.has-dragon-cursor input:not([type="radio"]):not([type="checkbox"]),
.has-dragon-cursor textarea { cursor: text !important; }

/* =========================================================
   FENG SHUI GEMSTONES
   ========================================================= */
.gems { overflow: visible; }
.gems-glow { position: absolute; inset: 10% -10% auto; height: 70%; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 60% at 30% 40%, rgba(201,162,90,.12), transparent 70%), radial-gradient(40% 50% at 80% 70%, rgba(80,160,140,.10), transparent 70%); }
.gem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gem-card { position: relative; display: grid; grid-template-rows: auto 1fr; text-align: left; padding: 0; cursor: pointer; color: var(--text);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s, transform .6s var(--ease), box-shadow .6s; }
.gem-card::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border: 1px solid transparent;
  background: linear-gradient(120deg, transparent 30%, rgba(255,230,170,.18) 45%, transparent 60%) border-box; background-size: 250% 100%; background-position: 120% 0; transition: background-position 1.2s var(--ease); }
.gem-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(201,162,90,.45); }
.gem-card:hover::before { background-position: -40% 0; }
.gem-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: #0a0807; }
.gem-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.9) brightness(.92); }
.gem-card:hover .gem-media img { transform: scale(1.06); filter: none; }
.gem-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.gem-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.gem-kanji { font-family: var(--f-brush); font-size: 22px; color: var(--gold-soft); letter-spacing: .12em; }
.gem-el { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--shu); font-weight: 600; }
.gem-name { font-family: var(--f-display); font-size: 26px; line-height: 1.15; }
.gem-vi { font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-top: -2px; }
.gem-meaning { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 4px 0 10px; }
.gem-link { margin-top: auto; align-self: flex-start; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.gems .section-head.row .btn { flex: none; }

/* collection card footer without prices */
.p-mat { font-size: 12px; color: var(--muted); letter-spacing: .04em; line-height: 1.3; }

/* quick view enquiry */
.qv-quote { margin: 4px 0 0; font-size: 15px; color: var(--text); }
.qv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qv-actions .btn { flex: 1 1 200px; padding: 0 18px; white-space: nowrap; }
.qv-call { margin: 0; font-size: 14px; color: var(--muted); }
.qv-call a { color: var(--gold-soft); }

@media (max-width: 1100px) { .gem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gem-grid { grid-template-columns: 1fr; } .gem-name { font-size: 23px; } }
