/* Moss & Ember — demo shop. Direction: the page is the object (seed 444787367). The object is the kraft label. */
:root {
  --ground: #1F1C19;   /* charcoal */
  --paper: #F2EADC;    /* cream */
  --kraft: #C7A16E;    /* the label */
  --moss: #3B4A33;
  --amber: #B4651E;    /* the glass */
  --ink: #1F1C19;
  --muted: #574D41;
  --on-dark: #F2EADC;

  --font: "Erode", Georgia, serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem);
  --step-sub: clamp(1.5rem, 1.1rem + 1.2vw, 2.5rem);

  --margin: clamp(1rem, 2.4vw, 2.25rem);
  --section: clamp(5rem, 11vw, 11rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--on-dark); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--kraft); color: var(--ink); }
p { max-width: 60ch; text-wrap: pretty; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1; text-wrap: balance; }
.head { font-size: var(--step-head); letter-spacing: -0.025em; line-height: 0.95; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--paper); color: var(--ink); padding: 0.7rem 1rem; }
.skip:focus { top: 12px; }

.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

.button, .bar { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.5rem; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; border-radius: var(--radius); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:hover, .bar:hover { background: #3a332c; }
.button:active, .bar:active { transform: scale(0.97); }

/* basket button: a plain square tab, top right */
.basket-btn { position: fixed; top: 12px; right: 12px; z-index: 40; min-height: 44px; padding: 0 1rem; background: var(--paper); color: var(--ink); font-weight: 600; display: inline-flex; gap: 0.5rem; align-items: center; transition: transform var(--t-press) var(--ease-out); }
.basket-btn:active { transform: scale(0.96); }
.basket-btn span { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 0.3rem; background: var(--amber); color: #fff; font-size: var(--step-small); }
.basket-btn.bump span { animation: bump 420ms var(--ease-out); }

/* ---------- hero: the label over the room ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 72px var(--margin) 48px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: brightness(0.62); }
.label { position: relative; width: min(980px, 100%); background: var(--kraft); color: var(--ink); padding: clamp(1.25rem, 2.6vw, 2.25rem); display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.label-title { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--step-head); font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.9; }
.label-body { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; }
.label-text { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.label-facts { font-size: var(--step-lead); line-height: 1.25; }
.label-facts strong { font-weight: 600; }
.label-line { max-width: 34ch; }
.label-plate { aspect-ratio: 4 / 5; overflow: hidden; }
.label-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.label-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.label-credit { font-size: var(--step-small); font-weight: 600; }
.label-foot .link { justify-self: end; font-weight: 600; padding: 0.7rem 0; }

/* ---------- why: stacked sheets, pinned story ---------- */
.why { padding: var(--section) var(--margin) 0; }
.why-h { margin-bottom: 48px; }
.sheets { display: grid; }
.sheet { position: sticky; top: calc(var(--n) * 72px + 12px); height: calc(80svh - var(--n) * 72px); min-height: 460px; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 72px minmax(0, 1fr); column-gap: clamp(1rem, 2vw, 2rem); padding: 0 0 0 clamp(1.25rem, 2.6vw, 2.25rem); overflow: hidden; }
.sheet-1 { --n: 0; background: var(--moss); color: var(--on-dark); }
.sheet-2 { --n: 1; background: var(--kraft); color: var(--ink); }
.sheet-3 { --n: 2; background: var(--paper); color: var(--ink); }
.sheet-name { grid-column: 1 / 7; grid-row: 1; align-self: center; font-size: var(--step-sub); }
.sheet > p, .sheet > .burn { grid-column: 1 / 6; grid-row: 2; align-self: end; padding-bottom: clamp(1.5rem, 4vw, 3rem); max-width: 40ch; }
.sheet > p.restock { align-self: end; padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.sheet-3 > p:not(.restock) { padding-bottom: 6.5rem; }
.sheet > img { grid-column: 7 / 13; grid-row: 2; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.sheet-1 > img { object-position: 50% 55%; }
.sheet-2 > img { object-position: 50% 60%; }
.sheet-3 > img { object-position: 50% 45%; }
.restock { font-weight: 600; }

/* the burn slider */
.burn { display: grid; gap: 1rem; }
.burn-label { font-weight: 600; }
.burn output { font-variant-numeric: tabular-nums; }
.burn input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
.burn input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: rgba(31, 28, 25, 0.25); }
.burn input[type="range"]::-moz-range-track { height: 8px; background: rgba(31, 28, 25, 0.25); }
.burn input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--ink); transition: transform var(--t-press) var(--ease-out); }
.burn input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--ink); }
.burn input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.burn-result { font-weight: 600; max-width: 32ch; }

/* ---------- scents: label slips along the bottom ---------- */
.scents { position: relative; min-height: 100svh; margin-top: var(--section); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(4rem, 10vw, 8rem); }
.scents-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: brightness(0.5); }
.scents-copy { position: relative; margin-left: 18%; max-width: 34rem; padding: 1.5rem 1.75rem; background: rgba(20, 18, 16, 0.55); display: grid; gap: 1rem; }
.lead-in { font-size: var(--step-sub); }
.scents-copy p { font-size: var(--step-lead); line-height: 1.3; }
.slips { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 3rem var(--margin) 0; margin-bottom: -48px; }
.slip { background: var(--paper); color: var(--ink); min-height: max(var(--h), 360px); padding: 1.25rem 1.1rem 4rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 1rem; transition: transform 400ms var(--ease-out); }
.slip h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.slip-div { color: var(--muted); letter-spacing: 0.1em; overflow: hidden; white-space: nowrap; }
.slip-price { margin-top: auto; padding-top: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.slip-add { min-height: 44px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 1rem; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.slip-add:hover:not(:disabled) { background: #3a332c; }
.slip-add:active:not(:disabled) { transform: scale(0.97); }
.slip-add:disabled { background: #D9CFBE; color: var(--muted); cursor: not-allowed; }
.tilt-a { transform: rotate(-1.5deg); }
.tilt-b { transform: rotate(1.2deg); }
@media (hover: hover) and (pointer: fine) { .slip:hover { transform: translateY(-10px) rotate(0deg); } }

/* ---------- prices: like a menu ---------- */
.prices { background: var(--paper); color: var(--ink); padding: var(--section) var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.prices-side { grid-column: 1 / 4; display: grid; gap: 2rem; align-content: start; }
.prices-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.prices-photo img { width: 100%; height: 100%; object-fit: cover; }
.price-cols { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.group h3 { font-size: var(--step-lead); margin: 0 0 1.25rem; }
.group h3:not(:first-child) { margin-top: 48px; }
.group ul { display: grid; gap: 22px; }
.group li { display: grid; grid-template-columns: 1fr 4.25rem; column-gap: 1rem; align-items: center; }
.row { grid-column: 1; display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.desc { grid-column: 1; font-size: 1rem; color: var(--muted); max-width: 36ch; }
.add-sm { grid-column: 2; grid-row: 1 / 3; min-height: 44px; min-width: 44px; padding: 0 0.9rem; background: var(--kraft); color: var(--ink); font-size: var(--step-small); font-weight: 600; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.add-sm:hover { background: #B8915E; }
.add-sm:active { transform: scale(0.95); }
.group li.is-out .row { color: var(--muted); }

/* ---------- heard: the video and its lines ---------- */
.heard { background: var(--moss); color: var(--on-dark); padding: var(--section) var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); align-items: center; overflow: hidden; }
.heard-video { grid-column: 2 / 6; }
.heard-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ground); }
.heard-text { grid-column: 7 / 13; display: grid; gap: 1.5rem; }
.quote-slips { display: grid; gap: 0; margin-top: 1rem; }
.qslip { background: var(--paper); color: var(--ink); padding: 1.75rem 1.5rem; width: min(100%, 30rem); font-size: var(--step-lead); line-height: 1.3; clip-path: polygon(0 6px, 4% 0, 8% 6px, 12% 0, 16% 6px, 20% 0, 24% 6px, 28% 0, 32% 6px, 36% 0, 40% 6px, 44% 0, 48% 6px, 52% 0, 56% 6px, 60% 0, 64% 6px, 68% 0, 72% 6px, 76% 0, 80% 6px, 84% 0, 88% 6px, 92% 0, 96% 6px, 100% 0, 100% calc(100% - 6px), 96% 100%, 92% calc(100% - 6px), 88% 100%, 84% calc(100% - 6px), 80% 100%, 76% calc(100% - 6px), 72% 100%, 68% calc(100% - 6px), 64% 100%, 60% calc(100% - 6px), 56% 100%, 52% calc(100% - 6px), 48% 100%, 44% calc(100% - 6px), 40% 100%, 36% calc(100% - 6px), 32% 100%, 28% calc(100% - 6px), 24% 100%, 20% calc(100% - 6px), 16% 100%, 12% calc(100% - 6px), 8% 100%, 4% calc(100% - 6px), 0 100%); }
.qslip:nth-child(1) { rotate: -3deg; }
.qslip:nth-child(2) { rotate: 2deg; margin: -0.75rem 0 0 3rem; }
.qslip:nth-child(3) { rotate: -1.5deg; margin: -0.75rem 0 0 1rem; }

/* ---------- care: tabbed index cards ---------- */
.care { padding: var(--section) var(--margin); }
.care .head { margin: 0 0 3rem; padding-left: 16.6%; }
.cards { margin-inline: 16.6%; display: grid; }
.card { --tw: 200px; position: relative; padding: 40px 0 0; margin-top: -24px; color: var(--ink); filter: none; }
.card:first-child { margin-top: 0; }
.card:nth-child(1) { --tx: 0px; }
.card:nth-child(2) { --tx: 150px; }
.card:nth-child(3) { --tx: 300px; }
.card:nth-child(4) { --tx: 450px; }
.card:nth-child(5) { --tx: 600px; }
.card:nth-child(6) { --tx: 750px; }
.card { clip-path: polygon(var(--tx) 0, calc(var(--tx) + var(--tw)) 0, calc(var(--tx) + var(--tw)) 40px, 100% 40px, 100% 100%, 0 100%, 0 40px, var(--tx) 40px); }
.card.c1, .card.c1 .tab { background: var(--kraft); }
.card.c2, .card.c2 .tab { background: var(--paper); }
.card.c3, .card.c3 .tab { background: #D8C6A6; }
.tab { position: absolute; top: 0; left: var(--tx); width: var(--tw); height: 40px; display: flex; align-items: center; padding: 0 1rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.card-q { display: block; width: 100%; text-align: left; min-height: 72px; padding: 1rem 1.5rem 2.2rem; font-size: var(--step-lead); font-weight: 500; line-height: 1.2; }
.card-q::after { content: "+"; float: right; margin-left: 1rem; transition: transform var(--t-hover) var(--ease-out); }
.card-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.card-a { padding: 0 1.5rem 3rem; }
.card-a p { max-width: 50ch; }

/* ---------- reply card ---------- */
.reply { position: relative; background: var(--moss); padding: clamp(4rem, 8vw, 7rem) var(--margin) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); align-items: end; overflow: hidden; }
.reply-side { grid-column: 1 / 5; align-self: end; margin-bottom: 64px; font-size: var(--step-lead); line-height: 1.3; }
.reply-card { grid-column: 6 / 13; background: var(--paper); color: var(--ink); padding: 48px 48px 108px; margin-bottom: -60px; rotate: 2deg; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.reply-h { font-size: var(--step-sub); }
.reply-form { width: 100%; display: grid; gap: 0.6rem; margin-top: 1rem; text-align: left; }
.reply-form label { font-weight: 600; font-size: var(--step-small); }
.reply-form input { min-height: 3.25rem; padding: 0.7rem 0.9rem; background: #E4DACA; border: 0; border-radius: var(--radius); font-size: max(1rem, var(--step-body)); }
.reply-form input[aria-invalid="true"] { outline: 3px solid #A3361C; outline-offset: 0; }
.reply-form .bar { width: 100%; min-height: 56px; margin-top: 0.4rem; }
.reply-note { min-height: 1.5em; font-size: var(--step-small); }

/* ---------- footer: back of the card ---------- */
.foot { padding: var(--section) var(--margin) clamp(2rem, 5vw, 4rem); }
.postcard { position: relative; margin: 50px 8.3% 0; background: var(--paper); color: var(--ink); padding: 3.5rem clamp(1.5rem, 4vw, 3.5rem) 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
.postcard::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='40'%3E%3Cellipse cx='50' cy='40' rx='50' ry='40' fill='%23F2EADC'/%3E%3C/svg%3E") 0 0 / 100px 40px repeat-x; }
.pc-left { display: grid; gap: 1rem; align-content: start; }
.pc-sign { font-size: var(--step-sub); line-height: 1; letter-spacing: -0.02em; }
.pc-right { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; }
.stamp { grid-column: 2; grid-row: 1; width: 88px; aspect-ratio: 3 / 4; height: auto; object-fit: cover; padding: 6px; background: #E4DACA; rotate: 3deg; }
.pc-address { grid-column: 1; grid-row: 1; display: grid; gap: 12px; font-size: var(--step-body); }
.pc-address a { display: inline-block; padding: 0.15rem 0; }
.imprint { grid-column: 1 / -1; text-align: center; margin: 2rem auto 0; font-size: var(--step-small); color: var(--muted); }

/* ---------- basket drawer ---------- */
.basket { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100%); height: 100%; max-height: none; max-width: none; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.basket::backdrop { background: rgba(20, 18, 16, 0.55); }
.basket[open] { animation: drawer 320ms var(--ease-out); }
.basket-inner { height: 100%; display: flex; flex-direction: column; padding: 1.5rem; gap: 1.25rem; }
.basket-top { display: flex; justify-content: space-between; align-items: center; }
.basket-h { font-size: var(--step-lead); }
.close { min-height: 44px; padding: 0 0.9rem; background: #E4DACA; font-weight: 600; }
.ship { font-size: var(--step-small); font-weight: 600; }
.ship-bar { display: block; height: 6px; margin-top: 0.5rem; background: #E4DACA; }
.ship-bar i { display: block; height: 100%; background: var(--moss); transform-origin: left; transition: transform 500ms var(--ease-out); }
.lines { display: grid; gap: 1rem; overflow-y: auto; overscroll-behavior: contain; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1rem; padding: 1rem; background: #E9E0D0; }
.line-name { font-weight: 600; }
.line-price { font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; gap: 0.25rem; }
.qty button { width: 44px; height: 44px; background: var(--paper); font-weight: 600; font-size: 1.125rem; transition: transform var(--t-press) var(--ease-out); }
.qty button:active { transform: scale(0.92); }
.qty output { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.remove { justify-self: end; align-self: center; min-height: 44px; font-size: var(--step-small); text-decoration: underline; text-underline-offset: 0.2em; }
.empty { color: var(--muted); }
.basket-foot { margin-top: auto; display: grid; gap: 0.75rem; }
.total { display: flex; justify-content: space-between; font-weight: 600; font-variant-numeric: tabular-nums; max-width: none; }
.basket-foot .bar { width: 100%; }
.checkout-note { font-size: var(--step-small); min-height: 1.5em; }
.toast button { margin-left: 0.75rem; min-height: 36px; padding: 0 0.6rem; background: var(--ink); color: var(--paper); font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 50; translate: -50% 0; max-width: calc(100% - 32px); padding: 0.8rem 1.1rem; background: var(--paper); color: var(--ink); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 200ms ease, transform 300ms var(--ease-out); transform: translateY(10px); }
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.basket { overscroll-behavior: contain; }

/* ---------- phone ---------- */
@media (max-width: 900px) {
  .label-body { grid-template-columns: 1fr 0.8fr; }
  .label-foot { grid-template-columns: 1fr; justify-items: stretch; text-align: center; }
  .label-foot .link { justify-self: center; }
  .label-credit { order: 3; }
  .sheet { top: calc(var(--n) * 52px + 8px); grid-template-columns: 1fr; grid-template-rows: 52px auto auto; padding: 0; height: auto; min-height: 0; }
  .sheet-name { grid-column: 1; padding: 0 1.25rem; font-size: 1.375rem; }
  .sheet > img { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; height: auto; }
  .sheet > p, .sheet > .burn { grid-column: 1; grid-row: 3; padding: 1.25rem; }
  .sheet-3 > p:not(.restock) { padding-bottom: 0; }
  .sheet-3 > p.restock { grid-row: 4; padding-top: 0.75rem; }
  .scents-copy { margin: 0 var(--margin); }
  .slips { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: -40px; }
  .slip { min-height: 0; padding-bottom: 1.25rem; }
  .slip:nth-last-child(-n+2) { padding-bottom: 3.5rem; }
  .prices-side, .price-cols { grid-column: 1 / -1; }
  .prices-photo { width: 60%; }
  .price-cols { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .group h3:not(:first-child), .group + .group h3:first-child { margin-top: 40px; }
  .heard-video { grid-column: 2 / 12; max-width: 340px; justify-self: center; width: 100%; }
  .heard-text { grid-column: 1 / -1; margin-top: 3rem; }
  .qslip:nth-child(2) { margin-left: 1.5rem; }
  .care .head { padding-left: 0; }
  .cards { margin-inline: 0; }
  .card { --tw: 120px; }
  .card:nth-child(2) { --tx: 48px; }
  .card:nth-child(3) { --tx: 96px; }
  .card:nth-child(4) { --tx: 144px; }
  .card:nth-child(5) { --tx: 192px; }
  .card:nth-child(6) { --tx: 0px; }
  .tab { font-size: var(--step-small); padding: 0 0.75rem; }
  .card-q { padding-inline: 1.25rem; }
  .card-a { padding-inline: 1.25rem; }
  .reply { grid-template-columns: 1fr; padding-top: 4rem; }
  .reply-side { grid-column: 1; margin-bottom: 2rem; }
  .reply-card { grid-column: 1; width: 92%; justify-self: center; padding: 32px 24px 92px; rotate: 1deg; }
  .postcard { margin-inline: 0; grid-template-columns: 1fr; padding-top: 2.5rem; }
  .postcard::before { background-size: 60px 24px; height: 24px; top: -24px; }
  .stamp { width: 64px; }
}
@media (max-width: 520px) {
  .label-title { font-size: 2.25rem; }
  .label-body { grid-template-columns: 1fr 96px; gap: 1rem; }
  .label-text { display: contents; }
  .label-facts { grid-column: 1; grid-row: 1; font-size: var(--step-body); line-height: 1.35; }
  .label-plate { grid-column: 2; grid-row: 1; aspect-ratio: 3 / 4; align-self: start; }
  .label-line { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(24px); animation: rise 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
  .hero-bg { animation: drift-in 2.4s var(--ease-soft) both; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .slips .slip { opacity: 0; translate: 0 60px; transition: opacity 600ms var(--ease-out), translate 900ms var(--ease-out), transform 400ms var(--ease-out); }
  .js .slips.is-in .slip { opacity: 1; translate: 0 0; }
  .js .slips.is-in .slip:nth-child(2) { transition-delay: 70ms; }
  .js .slips.is-in .slip:nth-child(3) { transition-delay: 140ms; }
  .js .slips.is-in .slip:nth-child(4) { transition-delay: 210ms; }
  .js .slips.is-in .slip:nth-child(5) { transition-delay: 280ms; }
  .js .slips.is-in .slip:nth-child(6) { transition-delay: 350ms; }
  .sheet > img { transform: scale(1.06); transition: transform 1.4s var(--ease-soft); }
  .sheet.is-in > img { transform: none; }
  .card-a:not([hidden]) { animation: open 360ms var(--ease-out); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift-in { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes bump { 40% { transform: scale(1.35); } }
@keyframes drawer { from { transform: translateX(100%); } }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

button, a, summary, input, select, label { touch-action: manipulation; }
:target { scroll-margin-top: 5rem; }
