/* Aebor — site styles */

:root {
  --paper: #f2eee6;
  --paper-2: #e9e3d7;
  --paper-3: #dfd7c8;
  --ink: #252320;
  --ink-2: #57534b;
  --ink-3: #8a857a;
  --rule: #d6cfc0;
  --lv: #e8df94;
  --acd: #d9a3b6;
  --mbp: #1f2b4d;
  --mbp-gold: #b08a45;

  --serif: "Noto Serif KR", "Times New Roman", serif;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

*, *::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-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.005em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
/* film grain — ties the 3D renders and the page together */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); }
.eyebrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark {
  width: 34px; height: 17px; background: var(--ink);
  -webkit-mask: url(../images/aebor-mark.png) center/contain no-repeat;
          mask: url(../images/aebor-mark.png) center/contain no-repeat;
}
.brand .word { font-family: var(--serif); font-size: 21px; letter-spacing: .01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav .ext::after { content: " ↗"; font-size: .85em; }
@media (max-width: 520px) { .nav .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--ink); color: var(--paper);
  font: 500 14px/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; border: 1px solid var(--ink); border-radius: 0;
  cursor: pointer; transition: background .25s, color .25s;
}
.btn:hover { background: #3b3833; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arr { font-size: 1.05em; }
.link {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 14px; color: var(--ink); text-decoration: underline;
  text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--ink-3);
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
}
.link:hover { text-decoration-color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header)); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; overflow: hidden; }
.hero-copy { padding: clamp(40px, 8vh, 96px) var(--gutter); padding-right: 0; position: relative; z-index: 2; max-width: 620px; margin-left: max(0px, calc((100vw - var(--max)) / 2)); }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.28; letter-spacing: -.02em; margin: 22px 0 26px; }
.hero .lead { color: var(--ink-2); font-size: clamp(15px, 1.25vw, 17px); max-width: 30em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 38px; }
.hero-stage { position: relative; height: min(84svh, 860px); min-height: 420px; }
.hero-stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 94%, transparent 100%), linear-gradient(to bottom, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 94%, transparent 100%), linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.hero-stage .fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4%; padding: 8%; }
.hero-stage .fallback img { width: 30%; mix-blend-mode: multiply; }
.hero-tag {
  position: absolute; pointer-events: none; transform: translate(-50%, 0);
  font-size: 13px; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .25s;
  background: var(--paper); padding: 6px 12px; border: 1px solid var(--rule);
}
.hero-tag.on { opacity: 1; }
.hero-tag small { color: var(--ink-3); margin-left: 8px; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 22px; font-size: 12px; color: var(--ink-3); letter-spacing: .12em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px var(--gutter) 0; max-width: none; }
  .hero-stage { height: 64svh; min-height: 360px; margin-top: -10px; }
  .scroll-cue { display: none; }
}


/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vw, 168px) 0; }
.section.tight { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: #22201d; color: #ece6da; }
.section.dark .eyebrow { color: #a39d91; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

.statement { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px var(--gutter); }
.statement h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.35; letter-spacing: -.015em; }
.statement .body { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.9; max-width: 38em; }
.statement .body p + p { margin-top: 1.1em; }
.statement .sign { margin-top: 36px; font-family: var(--serif); font-style: italic; color: var(--ink-3); }
@media (max-width: 800px) { .statement { grid-template-columns: 1fr; } }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--rule); }
.principles > div { padding: 32px 32px 8px 0; }
.principles > div + div { padding-left: 32px; border-left: 1px solid var(--rule); }
.principles .num { font-family: var(--serif); color: var(--ink-3); font-size: 14px; }
.principles h3 { font-family: var(--serif); font-size: 22px; margin: 14px 0 12px; }
.principles p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 800px) {
  .principles { grid-template-columns: 1fr; }
  .principles > div, .principles > div + div { padding: 28px 0 20px; border-left: 0; }
  .principles > div + div { border-top: 1px solid var(--rule); }
}

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; margin-top: 12px; }

/* ---------- product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card .shot {
  position: relative; aspect-ratio: 4 / 4.4; background: var(--paper-2); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.section.alt .card .shot { background: var(--paper); }
.card .shot img { width: 88%; height: 88%; object-fit: contain; transition: transform .8s var(--ease); }
.card:hover .shot img { transform: translateY(-6px) scale(1.015); }
.card .tag { position: absolute; top: 16px; left: 16px; font-size: 11px; letter-spacing: .14em; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.card .tag i { width: 10px; height: 10px; display: inline-block; }
.card .meta { padding: 22px 2px 0; }
.card h3 { font-family: var(--serif); font-size: 21px; line-height: 1.4; }
.card .en { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.card p { color: var(--ink-2); font-size: 14.5px; margin-top: 14px; }
.card .spec { font-size: 13px; color: var(--ink-3); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; }
.card .spec span:last-child { color: var(--ink); white-space: nowrap; }

/* ---------- where to buy ---------- */
.buy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px var(--gutter); align-items: start; }
.buy h2 { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; margin-top: 12px; }
.buy p.note { color: var(--ink-2); margin-top: 18px; max-width: 26em; }
.buy-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.buy-list a { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding .3s var(--ease); }
.buy-list a:hover { padding-left: 10px; }
.buy-list strong { font-family: var(--serif); font-weight: 400; font-size: 19px; display: block; }
.buy-list small { color: var(--ink-3); font-size: 13px; }
.buy-list .go { font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
@media (max-width: 800px) { .buy { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #22201d; color: #c9c2b4; padding: 72px 0 40px; font-size: 13.5px; line-height: 1.9; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 3fr)); gap: 36px var(--gutter); padding-bottom: 48px; border-bottom: 1px solid #3a3732; }
.site-footer .brand .mark { background: #ece6da; }
.site-footer .brand .word { color: #ece6da; }
.site-footer .tagline { margin-top: 18px; color: #a39d91; max-width: 22em; }
.site-footer h4 { font-size: 12px; letter-spacing: .14em; color: #8f897d; margin-bottom: 14px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #ece6da; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .legal { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: #8f897d; font-size: 12.5px; }
.site-footer .legal button { font: inherit; color: #c9c2b4; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.viewer {
  position: sticky; top: var(--header); height: calc(100svh - var(--header)); min-height: 520px;
  background: var(--paper-2); overflow: hidden; touch-action: pan-y;
}
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.viewer canvas:active { cursor: grabbing; }
.viewer .fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10%; }
.viewer .fallback img { max-height: 100%; mix-blend-mode: multiply; }
.viewer-ui { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 20px var(--gutter); pointer-events: none; }
.viewer-ui > * { pointer-events: auto; }
.viewer-ui .hint { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  background: var(--paper); border: 1px solid var(--rule); color: var(--ink);
  font: 500 13px/1 var(--sans); cursor: pointer; transition: background .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip svg { width: 15px; height: 15px; }

.detail { padding: clamp(40px, 6vw, 88px) var(--gutter) 96px clamp(24px, 4vw, 64px); max-width: 640px; }
.crumbs { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.detail .line-tag { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-size: 12px; letter-spacing: .14em; color: var(--ink-2); }
.detail .line-tag i { width: 12px; height: 12px; display: inline-block; }
.detail h1 { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.25; letter-spacing: -.02em; margin-top: 14px; }
.detail .en { font-family: var(--serif); font-style: italic; color: var(--ink-3); margin-top: 8px; font-size: 17px; }
.detail .lead { margin-top: 28px; font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.specs { margin: 36px 0 0; border-top: 1px solid var(--rule); }
.specs div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; }
.detail .actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 32px; }
.detail .actions .btn { flex: 1 1 240px; }
.fine { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }

.story { margin-top: 72px; }
.story h2 { font-family: var(--serif); font-size: 26px; margin: 12px 0 8px; }
.story ol { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; }
.story li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 24px 0; border-top: 1px solid var(--rule); }
.story li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); color: var(--ink-3); font-size: 14px; padding-top: 3px; }
.story h3 { font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.story h3 small { font-family: var(--sans); font-size: 12.5px; color: var(--ink-3); margin-left: 8px; letter-spacing: .02em; }
.story p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.story .figure { font-family: var(--serif); font-size: 15px; color: var(--ink); margin-top: 10px; }

.free { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.free span { font-size: 13px; padding: 7px 12px; border: 1px solid var(--rule); color: var(--ink-2); }

.acc { margin-top: 64px; border-top: 1px solid var(--ink); }
.acc details { border-bottom: 1px solid var(--rule); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 15.5px; font-weight: 500;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 12px; height: 12px; flex: none; background:
  linear-gradient(var(--ink), var(--ink)) center/12px 1px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center/1px 12px no-repeat; transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 0 26px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.acc .body p + p, .acc .body ul + p { margin-top: .8em; }
.acc .body ul { margin: 0; padding-left: 1.1em; }
.acc .body b { color: var(--ink); font-weight: 600; }
.acc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc th, .acc td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 400; vertical-align: top; }
.acc th { color: var(--ink-3); width: 38%; padding-right: 12px; }
.acc td.r { text-align: right; }
.allergen { display: inline-block; background: var(--ink); color: var(--paper); padding: 0 6px; font-size: 13px; font-weight: 600; }
.origin-img { margin-top: 12px; border: 1px solid var(--rule); background: #fff; }
.origin-img img { width: 100%; }

.faq dt { font-weight: 600; color: var(--ink); margin-top: 16px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 4px 0 0; }

.next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; margin-top: 72px; padding: 28px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; }
.next small { display: block; font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }
.next strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.next span { font-size: 22px; transition: transform .3s var(--ease); }
.next:hover span { transform: translateX(6px); }

@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .viewer { position: relative; top: 0; height: 68svh; min-height: 420px; }
  .detail { max-width: none; padding-left: var(--gutter); }
}

/* ---------- label sheet (unrolled) ---------- */
.sheet-dialog { border: 0; padding: 0; max-width: min(96vw, 1400px); width: 100%; background: transparent; }
.sheet-dialog::backdrop { background: rgba(34, 32, 29, .82); }
.sheet-dialog .inner { background: var(--paper); padding: 16px; }
.sheet-dialog .bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--ink-2); }
.sheet-dialog .scroller { overflow: auto; max-height: 80vh; }
.sheet-dialog img { width: 100%; min-width: 900px; background: #fff; }

/* ---------- simple pages ---------- */
.page-head { padding: clamp(56px, 9vw, 120px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.25; margin-top: 14px; }
.page-head p { color: var(--ink-2); margin-top: 18px; max-width: 34em; font-size: 17px; }
.contact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.contact-list > div { padding: 28px 24px 28px 0; }
.contact-list > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.contact-list dt { font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }
.contact-list dd { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(19px, 1.8vw, 24px); }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-list small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 800px) {
  .contact-list { grid-template-columns: 1fr; }
  .contact-list > div, .contact-list > div + div { padding: 24px 0; border-left: 0; }
  .contact-list > div + div { border-top: 1px solid var(--rule); }
}
.biz { margin-top: 64px; font-size: 14px; color: var(--ink-2); }
.biz dl { display: grid; grid-template-columns: 9em 1fr; gap: 10px 20px; margin: 18px 0 0; }
.biz dt { color: var(--ink-3); }
.biz dd { margin: 0; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.viewer:not(.is-3d) .viewer-ui .hint, .viewer:not(.is-3d) .viewer-ui [data-unroll] { display: none; }

/* ---------- tablet photo on product pages ---------- */
.tablet { margin: 32px 0 0; display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; }
.tablet img { width: 76px; height: 76px; object-fit: cover; mix-blend-mode: multiply; background: #fff; }
.tablet figcaption { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.tablet figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--ink); }

/* ---------- ink stamp on the spec sheet (a real print of the S1 cap) ---------- */
[data-stamp] { position: relative; }
[data-stamp]::after {
  content: ""; position: absolute; right: 6px; bottom: -58px;
  width: clamp(118px, 13vw, 156px); aspect-ratio: 1;
  background: #a8453a;
  -webkit-mask: url(../images/stamp-print.png) center / contain no-repeat;
          mask: url(../images/stamp-print.png) center / contain no-repeat;
  mix-blend-mode: multiply; pointer-events: none;
  opacity: 0; transform: rotate(-9deg) scale(1.18);
}
[data-stamp].stamped::after { animation: stamp-press .5s cubic-bezier(.2, .9, .3, 1.15) forwards; }
@keyframes stamp-press {
  0% { opacity: 0; transform: rotate(-9deg) scale(1.18); }
  40% { opacity: .82; transform: rotate(-9deg) scale(.97); }
  100% { opacity: .74; transform: rotate(-9deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  [data-stamp]::after { opacity: .74; transform: rotate(-9deg); }
  [data-stamp].stamped::after { animation: none; }
}

/* ---------- pre-rendered bottle canvases ---------- */
canvas.still { opacity: 0; transition: opacity .35s ease; }
canvas.live { opacity: 0; }
canvas.still.on, canvas.live.on { opacity: 1; }
.viewer canvas.live { touch-action: pan-y; }
.viewer canvas.still { pointer-events: none; }
@media (max-width: 900px) {
  .hero-stage canvas {
    -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  }
}
