/* Hallmark · shape: custom, catalogue led by a name field · genre: editorial · theme: brand (Pichu.ke.arte spec 2026-12-01) · job: buy (por encargo, pedido por WhatsApp)
 * paper: oklch(96.6% 0.014 8) · accent: oklch(75.5% 0.125 2) · display: EB Garamond 500 · body: Figtree · outlier: Sacramento (hand notes only) · hero: split, head and name field on 1 to 5, photo bleeding on 6 to 12 · nav: wordmark left, three links, the WhatsApp action right, sticky on blush · footer: the brand seal beside the thank-you line, links and the contact · signature: the name you type in the hero travels into the order and the WhatsApp message
 * axes: light/roman-serif/chromatic-pink · posture: committed (blush paper is surface; pink stays on hearts, selected states and the note) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: P, a soft brand page risks being only pretty; every section ends in the order, and the hero asks for a name instead of selling */
/* Hallmark · waive 83 · the catalogue tabs show the owner's own Christmas pieces, one family of nine at a time · the pieces are what Pichu.ke.arte sells */
/* Hallmark · waive 42 · nav: wordmark left, three links, WhatsApp action right · WhatsApp is how every Pichu.ke.arte order starts, it has to stay one tap away */
@import url("./tokens.css");
@import url("./base.css");

body { font-size: var(--text-md); }
h1, h2, h3 { color: var(--color-ink); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); border-color: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule); }
.btn--quiet:hover { background: var(--color-paper-2); border-color: var(--color-ink); }
.btn--quiet[aria-pressed="true"] { border-color: var(--color-accent-deep); color: var(--color-ink); }
.btn--nav { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--wa { min-height: 52px; padding: 0 var(--space-xl); }
.wa { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.textlink:hover { text-decoration-color: var(--color-ink); }
.textlink:active { color: var(--color-ink-2); }
.textlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--space-2xs); }

.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); color: var(--color-ink); font-weight: 600; font-size: var(--text-sm); text-decoration: none; white-space: nowrap; background: var(--color-paper); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.chip:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.chip:active { background: var(--color-paper-3); }
.chip:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.hand { font-family: var(--font-outlier); font-weight: 400; color: var(--color-accent-deep); font-size: var(--text-hand); line-height: 1; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-inner); }
.skip:focus-visible { top: var(--space-md); }

.fill { padding: 0 var(--space-2xs); border: 1px dashed var(--color-muted); border-radius: var(--space-2xs); color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in oklab, var(--color-rule) 60%, transparent); }
.nav__in { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); text-decoration: none; color: var(--color-ink); margin-right: auto; border-radius: var(--radius-inner); }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.brand__mark { width: 52px; height: auto; mix-blend-mode: multiply; }
.brand__word { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.01em; }
.brand__dot { color: var(--color-accent); }
.nav__links { display: flex; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); font-weight: 500; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.nav__links a:hover { background: var(--color-paper-2); }
.nav__links a:active { background: var(--color-paper-3); }
.nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero { min-height: min(calc(100svh - var(--nav-h)), 860px); display: grid; align-items: center; padding-block: var(--space-xl) var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.hero__text { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); justify-items: start; }
.hero h1 { font-size: var(--text-display); line-height: 1.02; max-width: 12ch; }
.hero .lead { color: var(--color-ink); max-width: 34ch; }
.hero__pic { grid-column: 6 / -1; position: relative; margin: 0; margin-right: calc(-1 * var(--gutter)); }
.hero__pic img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 45%; border-radius: var(--radius-card) 0 0 var(--radius-card); box-shadow: var(--shadow-card); }
.hero__pic .hand { position: absolute; left: calc(-1 * var(--space-xl)); bottom: var(--space-lg); padding: var(--space-xs) var(--space-lg) var(--space-sm); background: var(--color-paper); border-radius: var(--radius-pill); box-shadow: var(--shadow-card); transform: rotate(-4deg); max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ask { display: grid; gap: var(--space-xs); width: 100%; max-width: 520px; margin-top: var(--space-xs); }
.ask__label { font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); }
.ask__row { display: flex; gap: var(--space-xs); }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-inner); background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; transition: border-color var(--dur-short) var(--ease-out); }
.ask input { border-radius: var(--radius-pill); flex: 1; }
input::placeholder, textarea::placeholder { color: var(--color-muted); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--color-ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: var(--color-focus); }
input:disabled, select:disabled, textarea:disabled { opacity: 0.55; cursor: not-allowed; }
input[aria-invalid], select[aria-invalid] { border-color: var(--color-error); }
textarea { padding-block: var(--space-sm); resize: vertical; line-height: 1.45; }
select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--color-ink) 50%), linear-gradient(135deg, var(--color-ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--space-2xl); }

/* ---------- section heads ---------- */
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-xl); }
.head h2 { grid-column: 1 / span 7; }
.head__sub { grid-column: 8 / -1; font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink); max-width: 36ch; }

/* ---------- catalogue ---------- */
.catalogue { padding-block: var(--section-gap-s) var(--section-gap); }
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-xl); padding: var(--space-xs); background: var(--color-paper-2); border-radius: var(--radius-pill); width: fit-content; max-width: 100%; }
.tabs [role="tab"] { min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font-weight: 600; font-size: var(--text-sm); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tabs [role="tab"]:hover { background: var(--color-paper-3); }
.tabs [role="tab"]:active { background: var(--color-rule); }
.tabs [role="tab"][aria-selected="true"] { background: var(--color-ink); color: var(--color-paper); }
.tabs [role="tab"]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
html:not(.js) .tabs { display: none; }

.pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
html:not(.js) .pieces + .pieces { margin-top: var(--space-3xl); }
.pieces.is-entering { animation: panel-in var(--dur-long) var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.piece { display: grid; gap: var(--space-sm); align-content: start; min-width: 0; }
.piece figure { margin: 0; overflow: hidden; border-radius: var(--radius-card); background: var(--color-paper-3); }
.piece img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.piece--big { grid-column: span 2; grid-row: span 2; }
.piece--big img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.piece--big figure { height: 100%; }
.piece--big { grid-template-rows: minmax(0, 1fr) auto; }
.piece--flip { grid-template-rows: minmax(0, 1fr) auto auto; }
.piece__note { font-size: var(--text-sm); line-height: 1.5; color: var(--color-ink); max-width: 60ch; }
.piece__info { display: grid; gap: var(--space-3xs); min-width: 0; }
.piece__price { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); line-height: 1.1; color: var(--color-accent-deep); font-variant-numeric: lining-nums tabular-nums; }
.piece__price[data-eur=""] { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-muted); }
.piece--big .piece__price { font-size: var(--text-xl); }

/* the pack: a price row that spans the panel */
.piece--pack { grid-column: 1 / -1; }
.pack { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); padding: var(--space-lg) var(--space-xl); border: 1px dashed var(--color-accent-deep); border-radius: var(--radius-card); background: var(--color-paper-2); }
.pack .piece__name { font-family: var(--font-display); font-weight: 500; font-size: var(--text-title); }
.pack .piece__price { font-size: var(--text-2xl); }
.pack__text { flex: 1 1 28ch; max-width: 52ch; color: var(--color-ink); }

/* the reversible board: one tile, two faces */
.flip { position: relative; min-height: 320px; perspective: 1600px; background: transparent !important; overflow: visible !important; }
.flip__side { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; border-radius: var(--radius-card); backface-visibility: hidden; transition: transform var(--dur-long) var(--ease-in-out); }
.flip__side--b { transform: rotateY(180deg); }
.flip.is-flipped .flip__side--a { transform: rotateY(-180deg); }
.flip.is-flipped .flip__side--b { transform: rotateY(0deg); }
.flip__btn { position: absolute; left: var(--space-md); bottom: var(--space-md); z-index: var(--z-raised); background: var(--color-paper); border-color: var(--color-paper); box-shadow: var(--shadow-card); }
.flip__btn:hover { background: var(--color-paper-2); }
.piece__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.piece__name { font-family: var(--font-body); font-size: var(--text-md); font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.piece--big .piece__name { font-family: var(--font-display); font-weight: 500; font-size: var(--text-title); }

/* ---------- promise ---------- */
.promise { background: var(--color-night); color: var(--color-night-ink); padding-block: var(--section-gap-s); }
.promise__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; }
.promise h2 { grid-column: 1 / span 7; color: var(--color-night-ink); font-size: var(--text-display-s); max-width: 16ch; line-height: 1.06; }
.promise__list { grid-column: 9 / -1; display: grid; gap: var(--space-md); margin: 0; padding: 0; list-style: none; font-size: var(--text-lead); }
.promise__list li { display: flex; align-items: center; gap: var(--space-sm); padding-bottom: var(--space-md); border-bottom: 1px solid color-mix(in oklab, var(--color-night-ink) 18%, transparent); }
.heart { width: 22px; height: 22px; fill: var(--color-accent); flex: none; }
.promise__sign { grid-column: 1 / -1; color: var(--color-accent); margin-top: var(--space-md); }

/* ---------- door ---------- */
.door { padding-block: var(--section-gap) var(--section-gap-s); }
.door__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.door__pic { grid-column: 1 / span 7; position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-3); box-shadow: var(--shadow-card); }
.door__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur-long) var(--ease-in-out); }
.door__img--open { opacity: 0; }
.door__pic.is-open .door__img--open { opacity: 1; }
.door__pic.is-open .door__img--closed { opacity: 0; }
.door__text { grid-column: 9 / -1; display: grid; gap: var(--space-lg); justify-items: start; }
.door__text p { font-size: var(--text-lead); line-height: 1.45; max-width: 34ch; }
.door__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }
.door__aside { padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-md) !important; color: var(--color-ink); }
.door__aside a { color: var(--color-ink); font-weight: 600; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.door__aside a:hover { text-decoration-color: var(--color-ink); }
.door__aside a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- order ---------- */
.order { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.order__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.finish { grid-column: 1 / span 5; margin: 0; position: sticky; top: calc(var(--nav-h) + var(--space-lg)); }
.finish { display: grid; gap: var(--space-sm); }
.finish__stack { position: relative; }
.finish__img { grid-area: 1 / 1; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-card); transition: opacity var(--dur-long) var(--ease-in-out); }
.finish__img--natural { opacity: 0; }
.finish.is-natural .finish__img--natural { opacity: 1; }
.finish.is-natural .finish__img--painted { opacity: 0; }
.finish figcaption { grid-area: 2 / 1; font-size: var(--text-sm); color: var(--color-ink); }

.builder { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); }
.field { display: grid; gap: var(--space-xs); min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); padding: 0; }
.field:first-child, .field:nth-child(2) { grid-column: 1 / -1; }
.field--wide { grid-column: 1 / -1; }
.opt { font-weight: 400; color: var(--color-muted); }
.seg__row { display: flex; gap: var(--space-xs); margin-top: var(--space-xs); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-inner); background: var(--color-paper); cursor: pointer; font-weight: 500; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg label:hover { border-color: var(--color-ink); }
.seg input:checked + label { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg input:disabled + label { opacity: 0.55; cursor: not-allowed; }

.note { padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); border: 1px dashed var(--color-accent); }
.note__label { font-family: var(--font-outlier); font-size: var(--text-2xl); color: var(--color-accent-deep); line-height: 1; margin-bottom: var(--space-xs); }
.note__text { font-size: var(--text-md); line-height: 1.55; white-space: pre-line; max-width: 60ch; }
.builder__send { display: grid; gap: var(--space-xs); justify-items: start; }
.builder__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-error); }
.order__facts { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); color: var(--color-ink); max-width: 70ch; }

/* ---------- the catalogue to take away ---------- */
.book { padding-block: var(--section-gap) var(--section-gap-s); }
.book__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.book__cover { grid-column: 1 / span 5; display: block; border-radius: var(--radius-inner); box-shadow: var(--shadow-card); transition: box-shadow var(--dur-short) var(--ease-out); }
.book__cover img { width: 100%; height: auto; border-radius: var(--radius-inner); }
.book__cover:hover { box-shadow: 0 0 0 4px var(--color-accent), var(--shadow-card); }
.book__cover:active { box-shadow: 0 0 0 4px var(--color-accent-deep), var(--shadow-card); }
.book__cover:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
.book__text { grid-column: 7 / -1; display: grid; gap: var(--space-lg); justify-items: start; }
.book__text .lead { max-width: 36ch; color: var(--color-ink); }
.book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }
.book__meta { font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- footer ---------- */
.foot { padding-block: var(--space-3xl) var(--space-xl); }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); align-items: center; }
.foot__seal { grid-column: 1 / span 2; width: 100%; max-width: 180px; height: auto; }
.foot__col { grid-column: 4 / span 5; display: grid; gap: var(--space-md); }
.foot__say { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.2; max-width: 24ch; }
.foot__contact { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: 0; padding: 0; list-style: none; }
.foot__contact a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; color: var(--color-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; white-space: nowrap; }
.foot__contact a:hover { text-decoration-color: var(--color-ink); }
.foot__contact a:active { color: var(--color-ink-2); }
.foot__contact a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__links { grid-column: 10 / -1; display: grid; gap: var(--space-2xs); justify-items: start; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; white-space: nowrap; }
.foot__links a:hover { text-decoration-color: var(--color-ink); }
.foot__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__legal { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- the one reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 75rem) {
  .nav__links { display: none; }
}
@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: var(--space-lg) var(--space-2xl); }
  .hero__text, .hero__pic { grid-column: 1 / -1; }
  .hero__pic { margin-right: 0; }
  .hero__pic img { border-radius: var(--radius-card); aspect-ratio: 16 / 11; }
  .hero__pic .hand { left: var(--space-md); }
  .head h2, .head__sub { grid-column: 1 / -1; }
  .pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise h2, .promise__list { grid-column: 1 / -1; }
  .door__pic, .door__text { grid-column: 1 / -1; }
  .finish { position: static; grid-column: 1 / -1; }
  .builder { grid-column: 1 / -1; }
  .book__cover { grid-column: 1 / span 5; }
  .book__text { grid-column: 6 / -1; }
  .foot__seal { grid-column: 1 / span 4; }
  .foot__col { grid-column: 5 / -1; }
  .foot__links { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; gap: var(--space-lg); }
}
@media (max-width: 40rem) {
  .brand__word { font-size: var(--text-lg); }
  .brand__mark { width: 40px; }
  .btn--nav { padding: 0 var(--space-sm); }
  .btn--nav .wa { display: none; }
  .ask__row { flex-direction: column; }
  .pieces { gap: var(--space-lg) var(--space-sm); }
  .piece__row { flex-wrap: wrap; gap: var(--space-xs); }
  .piece--big { grid-column: 1 / -1; grid-row: auto; }
  .piece--big img { aspect-ratio: 16 / 10; height: auto; }
  .tabs { border-radius: var(--radius-card); }
  .builder { grid-template-columns: minmax(0, 1fr); }
  .book__cover { grid-column: 2 / span 10; max-width: 320px; justify-self: center; }
  .book__text { grid-column: 1 / -1; }
  .pack { padding: var(--space-lg); }
  .foot__seal { grid-column: 1 / -1; max-width: 140px; }
  .foot__col { grid-column: 1 / -1; }
  .foot__links { grid-auto-flow: row; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .pieces.is-entering { animation: none; }
  .door__img, .finish__img { transition: none; }
  .flip__side { transition: none; transform: none !important; }
  .flip__side--b { opacity: 0; }
  .flip.is-flipped .flip__side--a { opacity: 0; }
  .flip.is-flipped .flip__side--b { opacity: 1; }
  .btn, .chip, .textlink { transition: none; }
  .book__cover { transition: none; }
  .hero__pic .hand { transform: none; }
}
