/* HacooEnlaces · cobalt field, Unbounded + Onest.
   Direction: "the pinned poster" — the name holds two corners while the latest links pass between them. */

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  --bg: #0034eb;
  --surface: #002fd6;
  --deep: #0029b8;
  --ink: #ffffff;
  --muted: #c5d0ff;
  --accent: #e9e34a;
  --accent-ink: #111111;
  --paper: #ffffff;
  --paper-ink: #0b1650;
  --paper-muted: #4a5590;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-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(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.5rem, min(9vw, 15svh), 8.75rem);

  --m: clamp(16px, 2.2vw, 32px);
  --gap: 12px;
  --sec: clamp(96px, 11vw, 176px);
  --hdr: 0px;
  --bn: 0px;
  --lead: 40px; /* what sits above the home pin on first load and scrolls away: the promo bar (and, on phones, the header) */

  --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-ui: 240ms;
  --t-reveal: 800ms;

  color-scheme: dark;
  interpolate-size: allow-keywords;
}
@media (min-width: 760px) { :root { --hdr: 64px; } }
@media (max-width: 759px) { :root { --bn: calc(64px + env(safe-area-inset-bottom)); --lead: 100px; } }
[hidden] { display: none !important; }

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--bn);
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
strong, b { font-weight: 600; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
}
h1 em, h2 em, h3 em, .pd-sub em { font-style: normal; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--m); }
.center { display: flex; justify-content: center; margin-top: 48px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 300; background: var(--paper); color: var(--paper-ink); padding: 12px 16px; font-weight: 600; }
.skip:focus { left: 12px; }

/* ── Buttons, links, pills ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink);
  font: 600 var(--step-small)/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-acc { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-line { border-color: var(--ink); }
.btn-xl { min-height: 64px; padding: 0 28px; font-size: var(--step-body); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: var(--bg); }
  .btn-ink:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .btn-acc:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
}
.more {
  font: 600 var(--step-small)/1.2 var(--text); color: var(--ink); white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em;
  text-decoration-color: var(--muted);
  transition: text-decoration-color var(--t-hover) ease;
}
.more:hover { text-decoration-color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px;
  background: var(--surface); color: var(--ink);
  font: 500 var(--step-small)/1 var(--text); text-decoration: none;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.pill span { color: var(--muted); font-variant-numeric: tabular-nums; }
.pill-soft { background: var(--deep); }
.pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { background: var(--ink); color: var(--bg); }
  .pill:hover span { color: var(--bg); }
}

/* ── Promo bar ────────────────────────────────────────────────────────────── */
.promo {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
  min-height: 40px; padding: 6px var(--m);
  background: var(--accent); color: var(--accent-ink);
  font: 500 var(--step-small)/1.3 var(--text); text-align: center;
}
.promo a { color: inherit; font-weight: 600; text-underline-offset: 0.25em; margin-left: 6px; }
.promo .code-chip { margin: 0 4px; vertical-align: 1px; }
@media (max-width: 759px) {
  .promo { flex-wrap: nowrap; height: 40px; white-space: nowrap; }
  .promo-long { display: none; }
}
@media (max-width: 399px) { .promo-k { display: none; } }
.code-chip {
  border: 0; padding: 5px 10px; background: var(--accent-ink); color: var(--accent);
  font: 800 var(--step-small)/1 var(--display); letter-spacing: 0.02em;
  transition: transform var(--t-press) var(--ease-out);
}
.code-chip:active { transform: scale(0.95); }

/* ── Header ───────────────────────────────────────────────────────────────── */
.hd { position: relative; z-index: 60; background: var(--bg); view-transition-name: site-header; }
.hd-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.logo-mark {
  display: grid; place-items: center; width: 32px; height: 32px;
  background: var(--ink); color: var(--bg); font: 800 var(--step-body)/1 var(--display);
}
.logo-txt { font: 800 var(--step-small)/1 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.logo-txt span { color: var(--muted); }
.nv { display: flex; gap: 22px; }
.nv a {
  color: var(--ink); font: 500 var(--step-small)/1 var(--text); text-decoration: underline;
  text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.5em;
  transition: text-decoration-color var(--t-hover) ease;
}
.nv a:hover, .nv a[aria-current] { text-decoration-color: var(--accent); }
.hd-search { position: relative; flex: 1; max-width: 400px; margin-left: auto; display: flex; align-items: center; }
.hd-search > .ic { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.hd-search input {
  width: 100%; height: 44px; padding: 0 44px 0 44px; border: 0; border-radius: 0;
  background: var(--surface); color: var(--ink); font-size: var(--step-small); outline-offset: 0;
  -webkit-appearance: none; appearance: none;
}
.hd-search input::placeholder { color: var(--muted); }
.hd-search input::-webkit-search-cancel-button { display: none; }
.hd-search kbd {
  position: absolute; right: 10px; padding: 3px 8px; background: var(--deep); color: var(--muted);
  font: 500 var(--step-small)/1 var(--text);
}
.hd-icon {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  background: var(--surface); color: var(--ink);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.hd-icon:hover { background: var(--ink); color: var(--bg); }
.fav-count {
  position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  font: 600 var(--step-small)/1 var(--text);
}
.hd-cta { flex: none; }
@media (min-width: 760px) { .hd { position: sticky; top: 0; } }
@media (max-width: 1099px) { .nv { display: none; } }
@media (max-width: 759px) {
  .hd-in { height: 60px; gap: 12px; }
  .hd-search, .hd-cta { display: none; }
  .hd-icon { margin-left: auto; }
}

/* ── Search suggestions (a real floating panel) ──────────────────────────── */
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 80;
  max-height: min(70vh, 520px); overflow-y: auto;
  background: var(--paper); color: var(--paper-ink);
  box-shadow: 0 24px 48px rgba(0, 10, 60, 0.35); /* taste-skill-ignore: the search suggestions float over the page */
  padding: 6px;
  animation: pop-in var(--t-ui) var(--ease-out);
}
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; color: inherit; text-decoration: none; font-size: var(--step-small); line-height: 1.25; }
.suggest a:hover, .suggest a.is-on { background: var(--accent); }
.suggest img, .suggest .s-ph { width: 44px; height: 44px; object-fit: cover; flex: none; background: var(--muted); }
.suggest small { display: block; color: var(--paper-muted); font-size: var(--step-small); margin-top: 2px; }
.suggest strong { display: block; }
.s-group { padding: 10px 8px 4px; color: var(--paper-muted); font-size: var(--step-small); font-weight: 600; }
.suggest .s-all { justify-content: center; font-weight: 600; margin-top: 4px; background: var(--paper-ink); color: var(--paper); }
.suggest .s-all:hover { background: var(--accent); color: var(--accent-ink); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }

/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 24px; font-size: var(--step-small); color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; }
.crumbs [aria-current] { color: var(--ink); }

/* ── Home · pinned name ───────────────────────────────────────────────────── */
.pin {
  position: relative;
  --screen: calc(100svh - var(--hdr) - var(--lead) - var(--bn));
  --band-pad: calc(var(--step-display) * 0.86 + 56px);
  --band: calc(var(--screen) - var(--band-pad) * 2);
}
/* The two halves of the name are rows of the first screen itself, the first row and the last,
   so on any screen size they push the content between them instead of lying over it
   (the owner found pinned or floating versions covered text) */
.pin-word {
  display: block; overflow: hidden; padding-bottom: 0.04em; grid-column: 1 / -1;
  font: 800 var(--step-display)/0.86 var(--display); text-transform: uppercase; letter-spacing: -0.04em;
  color: var(--ink); pointer-events: none; user-select: none;
}
.pin-word > span { display: block; }
.pin-a { grid-row: 1; justify-self: start; }
.pin-b { grid-row: 3; justify-self: end; }
.pin-stage.pin-screen { grid-template-rows: auto 1fr auto; row-gap: 28px; padding-block: 20px; }
.pin-stage .stage-txt, .pin-stage .stage-photo { grid-row: 2; }
.pin-screen {
  position: relative; z-index: 1;
  min-height: var(--screen);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
  padding-block: var(--band-pad);
}
.pin-stage:focus-within { z-index: 6; }
.stage-txt { grid-column: 2 / span 6; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: center; }
@media (min-width: 760px) and (max-width: 1099px) { .stage-txt { grid-column: 1 / span 7; } }
.stage-h1 { font-size: clamp(1.75rem, 3.6vw, 4rem); line-height: 1; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
.stage-lead { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }
/* Photographs take the band's height, but never more than their columns' width */
.stage-photo {
  grid-column: 8 / span 5; justify-self: end; align-self: center;
  position: relative; display: block; width: min(100%, var(--band) * 0.8, 512px); aspect-ratio: 4 / 5;
  background: var(--paper); overflow: hidden;
}
.stage-photo img, .panel-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px;
  color: #fff; font-size: var(--step-small); line-height: 1.3;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0)); /* taste-skill-ignore: neutral scrim under a caption on a photograph */
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 36px; margin: 6px 0 0; }
.stats > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dt { color: var(--muted); font-size: var(--step-small); }
.stats dd { margin: 0; white-space: nowrap; font: 800 var(--step-lead)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.pin-screen.pin-panel { min-height: 0; padding-block: clamp(48px, 6vw, 96px); }
.pin-panel .panel-photo {
  position: relative; display: block; width: min(100%, 460px); aspect-ratio: 4 / 5;
  background: var(--paper); overflow: hidden; justify-self: center;
}
.pin-panel.is-left .panel-photo { grid-column: 3 / span 4; }
.pin-panel.is-left .panel-cap { grid-column: 8 / span 4; }
.pin-panel.is-right .panel-photo { grid-column: 7 / span 4; grid-row: 1; }
.pin-panel.is-right .panel-cap { grid-column: 2 / span 4; grid-row: 1; }
.panel-cap { display: grid; gap: 12px; justify-items: start; align-content: center; }
.panel-brand { color: var(--muted); font-size: var(--step-small); font-weight: 600; }
.panel-name { font-size: var(--step-lead); line-height: 1.2; font-weight: 500; max-width: 22ch; }
.panel-name a { text-decoration: none; }
.panel-name a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.panel-meta { color: var(--muted); font-size: var(--step-small); }

@media (max-width: 759px) {
  .pin { --step-display: 15vw; --band-pad: calc(15vw * 0.86 + 34px); }
  .pin-screen { grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: 16px; padding-block: var(--band-pad); }
  .stage-txt,
  .pin-panel.is-left .panel-photo, .pin-panel.is-right .panel-photo,
  .pin-panel.is-left .panel-cap, .pin-panel.is-right .panel-cap { grid-column: 1 / -1; grid-row: auto; }
  .stage-txt { gap: 16px; }
  .stage-h1 { font-size: 7.6vw; }
  .stage-lead { font-size: var(--step-body); }
  .stage-photo { display: none; }
  .stats { grid-template-columns: repeat(2, auto); gap: 12px 32px; }
  .pin-screen.pin-panel { padding-block: 32px; }
  .pin-panel .panel-photo { width: 100%; height: 52svh; aspect-ratio: auto; }
  .panel-cap { gap: 8px; }
  .panel-name { font-size: var(--step-lead); }
}

/* ── Home · brand rail ────────────────────────────────────────────────────── */
.stories { margin-top: clamp(24px, 4vw, 56px); }
.rail {
  display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 6px var(--m) 10px; scroll-padding-inline: var(--m); scroll-snap-type: x proximity; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.story {
  flex: none; width: 92px; scroll-snap-align: start; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-size: var(--step-small); text-align: center; line-height: 1.2;
}
.story-ring {
  display: block; width: 84px; height: 84px; border-radius: 50%; padding: 3px;
  background: var(--ink); overflow: hidden;
  transition: transform var(--t-ui) var(--ease-out), background-color var(--t-hover) ease;
}
.story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--paper); }
.story.is-new .story-ring { background: var(--accent); }
.story b {
  position: absolute; top: 66px; padding: 3px 8px; background: var(--accent); color: var(--accent-ink);
  font: 600 var(--step-small)/1 var(--text);
}
@media (hover: hover) and (pointer: fine) {
  .story:hover .story-ring { transform: scale(1.06); background: var(--accent); }
}

/* ── Sections ─────────────────────────────────────────────────────────────── */
.sec { margin-top: var(--sec); }
.sec-hd { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.sec-hd h2 { font-size: var(--step-head); max-width: 16ch; }
.sec-sub { flex-basis: 100%; color: var(--muted); max-width: 52ch; }
.latest .sec-hd { margin-bottom: 20px; }

.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--m) * -1) 24px; padding: 0 var(--m); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 42px; padding: 0 16px; border: 0;
  background: var(--surface); color: var(--ink); font: 500 var(--step-small)/1 var(--text);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.chip:active { transform: scale(0.96); }
.chip.is-on { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-on):hover { background: var(--deep); } }

/* ── Product cards: photograph + swing tag ────────────────────────────────── */
/* Column counts chosen so full pages come out even: 20 on the home page, 48 per listing, 10 related */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--gap); }
@media (min-width: 1200px) { .is-home .grid, .is-product .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 899px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 559px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-soft); }
.card-ph {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 12px;
  background: var(--muted); color: var(--bg); text-align: center;
  font: 800 clamp(15px, 1.4vw, 20px)/1.05 var(--display); text-transform: uppercase; letter-spacing: -0.02em;
}
.card-body {
  flex: 1; display: grid; align-content: start; gap: 3px;
  padding: 12px 14px 12px; background: var(--paper); color: var(--paper-ink);
}
.card-brand { font: 600 var(--step-small)/1.2 var(--text); color: var(--bg); }
.card-name { font: 500 var(--step-body)/1.3 var(--text); }
.card-name a { color: inherit; text-decoration: none; }
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-date { font-size: var(--step-small); color: var(--paper-muted); }
.card-cta {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; padding: 0 14px;
  background: var(--accent-ink); color: var(--paper);
  font: 600 var(--step-small)/1 var(--text); text-decoration: none;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.card-cta span { transition: transform var(--t-ui) var(--ease-out); }
.fav {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  display: grid; place-items: center; width: 40px; height: 40px; border: 0;
  background: var(--paper); color: var(--bg);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.fav:active, .share-btn:active { transform: scale(0.9); }
.fav[aria-pressed="true"], .share-btn[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.fav[aria-pressed="true"] .ic, .share-btn[aria-pressed="true"] .ic { fill: currentColor; }
.pop { animation: pop 420ms var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.22); } }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-img img { transform: scale(1.05); }
  .card-cta:hover { background: var(--accent); color: var(--accent-ink); }
  .card-cta:hover span { transform: translate(3px, -3px); }
}
@media (max-width: 559px) {
  .card-body { padding: 10px 10px 10px; }
  .card-name { font-size: var(--step-small); }
  .card-cta { min-height: 42px; padding: 0 10px; font-size: var(--step-small); }
  .fav { width: 36px; height: 36px; top: 6px; right: 6px; }
}
.empty { display: grid; justify-items: center; gap: 18px; padding: 56px 20px; background: var(--surface); text-align: center; }
.empty .pills { justify-content: center; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 56px; color: var(--muted); font-size: var(--step-small); }

/* ── Home · code band: the whole field is the button ─────────────────────── */
.codeband { margin-top: var(--sec); }
.codeband-btn {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  width: 100%; min-height: 60svh; overflow: hidden;
  padding: 26px var(--m); border: 0; border-radius: 0; text-align: left;
  background: var(--accent); color: var(--accent-ink);
}
.codeband-txt { display: block; max-width: 30ch; font: 500 var(--step-lead)/1.35 var(--text); }
.codeband-arrow { position: absolute; top: 26px; right: var(--m); width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.codeband-word {
  position: absolute; left: var(--m); right: var(--m); bottom: 22px;
  font: 800 calc((100vw - var(--m) * 2) / 6.35)/0.8 var(--display); letter-spacing: -0.045em; white-space: nowrap;
}
.codeband-btn:hover, .codeband-btn:focus-visible { background: var(--accent-ink); color: var(--accent); }
.codeband-btn:focus-visible { outline-offset: -6px; }
.codeband-btn:active .codeband-word { transform: scale(0.985); transform-origin: left bottom; }
@media (max-width: 759px) {
  .codeband-btn { min-height: 46svh; padding: 20px var(--m); }
  .codeband-txt { font-size: var(--step-body); max-width: 22ch; }
  .codeband-arrow { top: 20px; width: 32px; height: 32px; }
  .codeband-word { bottom: 16px; }
}

/* ── Home · brands: sticky photograph, active list ───────────────────────── */
.brandlist { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.bl-h { grid-column: 7 / span 6; grid-row: 1; font-size: var(--step-head); margin: 4vh 0 40px; }
.bl-photo {
  grid-column: 1 / span 5; grid-row: 1 / span 2; position: sticky; top: calc(var(--hdr) + 10vh);
  width: min(100%, 34vw); aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper);
}
.bl-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 320ms ease, transform 900ms var(--ease-soft);
}
.bl-photo img.is-on { opacity: 1; transform: none; }
.bl-list { grid-column: 7 / span 6; grid-row: 2; }
.bl-list ul { list-style: none; margin: 0 0 40px; padding: 0; }
.bl-row a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 0 8px; color: var(--muted); text-decoration: none;
  font: 500 var(--step-lead)/1.15 var(--text);
  transition: color var(--t-hover) ease;
}
.bl-name { transition: transform var(--t-ui) var(--ease-out); }
.bl-n { font-size: var(--step-small); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bl-row.is-on a { color: var(--ink); }
.bl-row.is-on .bl-name { transform: translateX(14px); }
.bl-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.bl-desc > p { overflow: hidden; max-width: 36ch; font-size: var(--step-small); line-height: 1.45; color: var(--muted); padding-left: 14px; }
.bl-row.is-on .bl-desc { grid-template-rows: 1fr; }
.bl-row.is-on .bl-desc > p { padding-bottom: 10px; }
@media (max-width: 759px) {
  .brandlist { display: block; }
  .bl-photo { top: 0; z-index: 2; width: calc(100% + var(--m) * 2); margin-inline: calc(var(--m) * -1); aspect-ratio: auto; height: 38svh; }
  .bl-h { margin: 0 0 20px; }
  .bl-list { padding-top: 16px; }
  .bl-row a { min-height: 56px; }
}

/* ── Home · categories: drag row of mixed modules ────────────────────────── */
.cats .sec-hd { margin-bottom: 32px; }
.drag-row { cursor: grab; }
.drag-row.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.drag-row.is-dragging a { pointer-events: none; }
.cat-row {
  display: flex; gap: var(--gap); height: 68svh; min-height: 420px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  padding-inline: 6vw var(--m); scroll-padding-inline: 6vw;
}
.cat-row::-webkit-scrollbar { display: none; }
.cm { flex: none; height: 100%; scroll-snap-align: start; }
.cm-tall { aspect-ratio: 3 / 4; }
.cm-wide { aspect-ratio: 16 / 10; }
.cm-pair { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gap); width: calc((max(68svh, 420px) - var(--gap)) / 2 * 4 / 3); }
.ct { position: relative; display: block; height: 100%; overflow: hidden; background: var(--paper); color: #fff; text-decoration: none; }
.ct img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 900ms var(--ease-soft); user-select: none; -webkit-user-drag: none; }
.ct-label {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 48px 16px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0)); /* taste-skill-ignore: neutral scrim under a label on a photograph */
  font-size: var(--step-small);
}
.ct-label strong { font-size: var(--step-lead); line-height: 1.2; }
.cm-wide .ct img { object-fit: contain; object-position: 50% 50%; }
@media (hover: hover) and (pointer: fine) { .ct:hover img { transform: scale(1.05); } }
@media (max-width: 759px) {
  .cat-row { height: 62svh; min-height: 360px; gap: 8px; padding-inline: 20px var(--m); scroll-padding-inline: 20px; scroll-snap-type: x mandatory; }
  .cm-tall { aspect-ratio: auto; width: 72vw; }
  .cm-pair { width: 64vw; gap: 8px; }
  .cm-wide { aspect-ratio: auto; width: 88vw; height: 70%; align-self: center; }
}

/* ── Home · models marquee ────────────────────────────────────────────────── */
.marquee { overflow: hidden; margin-top: 8px; }
.marquee-track { display: flex; width: max-content; }
.mq-item {
  display: inline-flex; align-items: flex-start; gap: 8px; padding: 8px 0.55em 8px 0;
  font: 800 var(--step-head)/1 var(--display); text-transform: uppercase; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: color var(--t-hover) ease;
}
.mq-item sup { font: 800 var(--step-small)/1 var(--display); color: var(--muted); letter-spacing: 0; margin-top: 0.4em; }
.mq-item:hover { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .js .marquee-track.is-looping { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; scrollbar-width: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Home · FAQ beside a tall photograph ──────────────────────────────────── */
.faqfield { margin-top: var(--sec); background: var(--deep); }
.faqsplit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: clamp(64px, 8vw, 120px); }
.fq-col { grid-column: 1 / span 5; }
.fq-col h2 { font-size: var(--step-head); margin-bottom: 28px; }
.fq-facts { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 8px; font-size: var(--step-body); }
/* Photographs here are atmosphere: tinted into the cobalt (white grounds become the field colour) */
.fq-media { grid-column: 7 / span 6; position: relative; align-self: start; margin-top: calc(clamp(64px, 8vw, 120px) * -1 - 64px); margin-bottom: 80px; }
.fq-frame { position: relative; overflow: hidden; background: var(--bg); }
.fq-frame img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.15) brightness(1.08); }
.fq-tall { aspect-ratio: 3 / 4; }
.fq-square { position: absolute; left: -40px; bottom: -40px; width: 34%; aspect-ratio: 1; background: var(--accent); outline: 10px solid var(--deep); }
.fq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.acc { padding-block: 4px; }
.acc + .acc { margin-top: 6px; }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 52px; padding: 10px 0; cursor: pointer; list-style: none;
  font: 500 var(--step-lead)/1.3 var(--text);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-right: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform var(--t-ui) var(--ease-out);
}
.acc[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.acc p { padding: 0 0 14px; color: var(--ink); font-size: var(--step-body); max-width: 58ch; }
.acc::details-content { block-size: 0; overflow: hidden; transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
.acc[open]::details-content { block-size: auto; }
@media (max-width: 899px) {
  .faqsplit { display: flex; flex-direction: column-reverse; gap: 48px; }
  .fq-media { margin: 0 0 24px; width: 100%; }
  .fq-tall { aspect-ratio: 4 / 5; }
  .fq-square { left: auto; right: -8px; bottom: -24px; width: 38%; }
  .fq-col h2 { margin-bottom: 20px; }
  .fq-facts { font-size: var(--step-body); }
  .acc summary { font-size: var(--step-body); min-height: 56px; }
  .fq-actions .btn { width: 100%; }
}

/* ── Home · learn (SEO text + guides) ─────────────────────────────────────── */
.learn { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; }
.seo-txt { grid-column: 1 / span 6; display: grid; gap: 18px; align-content: start; }
.seo-txt h2 { font: 600 var(--step-lead)/1.25 var(--text); text-transform: none; letter-spacing: 0; max-width: 28ch; }
.seo-txt p { max-width: 62ch; }
.seo-txt a, .prose a { text-decoration-color: var(--muted); text-underline-offset: 0.2em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.seo-txt a:hover, .prose a:hover { text-decoration-color: var(--accent); }
.learn-guides { grid-column: 8 / span 5; }
.learn-guides h2 { font-size: var(--step-head); margin-bottom: 20px; }
.guide-list { display: grid; gap: 4px; }
.guide { display: grid; gap: 4px; padding: 16px 0; color: var(--ink); text-decoration: none; }
.guide strong { font: 600 var(--step-lead)/1.25 var(--text); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.guide strong::after { content: "→"; flex: none; transition: transform var(--t-ui) var(--ease-out); }
.guide span { color: var(--muted); font-size: var(--step-small); max-width: 52ch; }
.guide:hover strong { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.guide:hover strong::after { transform: translateX(6px); }
.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
@media (max-width: 899px) {
  .seo-txt, .learn-guides { grid-column: 1 / -1; }
  .guide-grid { grid-template-columns: 1fr; }
}

/* ── Inner page header ────────────────────────────────────────────────────── */
.page-hd { display: grid; gap: 20px; justify-items: start; padding-top: clamp(32px, 6vw, 88px); }
.page-hd h1 { font-size: clamp(1.625rem, 1rem + 3.2vw, 4rem); max-width: 1100px; }
.page-hd.narrow h1 { font-size: clamp(1.625rem, 1rem + 2.4vw, 3rem); }
.page-hd + .sec { margin-top: clamp(40px, 5vw, 72px); }
/* Narrow pages keep the left edge of every other page; only their content is held to a reading width */
.narrow { max-width: 1600px; }
.narrow > * { max-width: 880px; }
.page-hd .lead { font-size: var(--step-lead); line-height: 1.4; max-width: 46ch; }
.page-hd .pills { margin-top: 8px; }
.page-hd .hero-search { width: min(100%, 680px); }

/* ── Search form (home and /buscar) ───────────────────────────────────────── */
/* z-index: the entrance animations give the buttons and figures below their own layers; the suggestions must stay above them */
.hero-search { position: relative; z-index: 4; display: flex; align-items: center; width: min(100%, 560px); background: var(--paper); }
.hero-search > .ic { position: absolute; left: 16px; color: var(--paper-muted); pointer-events: none; }
.hero-search input {
  flex: 1; min-width: 0; height: 58px; padding: 0 12px 0 48px; border: 0; border-radius: 0;
  background: transparent; color: var(--paper-ink); font-size: var(--step-body);
  -webkit-appearance: none; appearance: none;
}
.hero-search input::placeholder { color: var(--paper-muted); }
.hero-search input:focus-visible { outline: none; }
.hero-search:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero-search .btn { min-height: 58px; border: 0; background: var(--accent-ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .hero-search .btn:hover { background: var(--accent); color: var(--accent-ink); } }

/* ── Product page ─────────────────────────────────────────────────────────── */
.pd { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 80px); align-items: start; padding-top: 24px; }
.pd-media {
  position: sticky; top: calc(var(--hdr) + 20px);
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper);
}
.pd-media img { width: 100%; height: 100%; object-fit: contain; view-transition-name: product-photo; }
.pd-ph { font-size: clamp(22px, 3vw, 40px); }
.pd-info { display: grid; gap: 20px; align-content: start; padding-top: 8px; }
.pd-info h1 { font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); line-height: 1.02; }
.pd-sub { color: var(--muted); font-size: var(--step-small); margin-top: -6px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-lead { max-width: 54ch; }
.pd-cta { width: 100%; justify-content: center; font-size: var(--step-body); }
.pd-cta span { transition: transform var(--t-ui) var(--ease-out); }
.pd-cta:hover span { transform: translate(3px, -3px); }
.pd-pending { padding: 16px; background: var(--surface); }
.pd-help { justify-self: start; font-weight: 600; text-underline-offset: 0.25em; text-decoration-color: var(--muted); }
.pd-help:hover { text-decoration-color: var(--accent); }
.share { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.share-btn {
  display: grid; place-items: center; height: 52px; border: 0;
  background: var(--surface); color: var(--ink);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .share-btn:hover { background: var(--ink); color: var(--bg); } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--step-body); }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.4em; width: 13px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.sticky-cta { display: none; }
@media (max-width: 899px) {
  .pd { grid-template-columns: 1fr; gap: 24px; }
  .pd-media { position: relative; top: 0; }
}
@media (max-width: 759px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: var(--bn); z-index: 40;
    padding: 10px var(--m); background: var(--bg);
    transform: translateY(140%); transition: transform 320ms var(--ease-out);
  }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { width: 100%; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
}

/* ── Code box and channels (product, listings, guides) ───────────────────── */
.code-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  padding: 18px 20px; background: var(--paper); color: var(--paper-ink);
}
.code-box > div { display: grid; gap: 2px; }
.code-box strong { font-size: var(--step-body); }
.code-box span { color: var(--paper-muted); font-size: var(--step-small); }
.code-big {
  display: inline-flex; align-items: baseline; gap: 12px; border: 0; padding: 14px 18px;
  background: var(--accent); color: var(--accent-ink);
  font: 800 var(--step-lead)/1 var(--display); letter-spacing: 0.01em;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.code-big small { font: 600 var(--step-small)/1 var(--text); letter-spacing: 0; }
.code-big:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .code-big:hover { background: var(--accent-ink); color: var(--accent); } }
.follow { display: grid; gap: 8px; }
.follow h2 { font-size: var(--step-lead); margin-bottom: 6px; }
.follow-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px;
  padding: 14px 16px; background: var(--surface); color: var(--ink); text-decoration: none;
  transition: background-color var(--t-hover) ease;
}
.follow-row strong { font-size: var(--step-body); }
.follow-row span { grid-column: 1; color: var(--muted); font-size: var(--step-small); }
.follow-row em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-weight: 600; font-size: var(--step-small); padding: 10px 14px; background: var(--ink); color: var(--bg); }
.follow-row:hover { background: var(--deep); }
.follow-row:hover em { background: var(--accent); color: var(--accent-ink); }

/* ── Brands A–Z, tiles ────────────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px var(--gap); }
@media (max-width: 559px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; } }
.tile { display: flex; flex-direction: column; color: var(--paper-ink); text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper); transition: transform 700ms var(--ease-soft); }
.tile:not(:has(img))::before { content: ""; display: block; aspect-ratio: 1; background: var(--muted); }
.tile { overflow: hidden; }
.tile-name, .tile-n { display: block; background: var(--paper); padding-inline: 14px; transition: background-color var(--t-hover) ease; }
.tile-name { padding-top: 12px; font: 600 var(--step-body)/1.25 var(--text); position: relative; z-index: 1; }
.tile-n { padding-bottom: 12px; color: var(--paper-muted); font-size: var(--step-small); position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.05); }
  .tile:hover .tile-name, .tile:hover .tile-n { background: var(--accent); color: var(--accent-ink); }
}
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 40px; }
.az a {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px;
  background: var(--surface); color: var(--ink); text-decoration: none; font: 800 var(--step-small)/1 var(--display);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.az a:hover { background: var(--accent); color: var(--accent-ink); }
.az-cols { columns: 4 220px; column-gap: 48px; }
.az-group { break-inside: avoid; margin-bottom: 36px; scroll-margin-top: calc(var(--hdr) + 24px); }
.az-group h3 { font: 800 var(--step-lead)/1 var(--display); margin-bottom: 10px; color: var(--muted); }
.az-group a {
  display: flex; justify-content: space-between; gap: 12px; padding: 7px 0;
  color: var(--ink); text-decoration: none; font-size: var(--step-body);
}
.az-group a span { color: var(--muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.az-group a:hover { color: var(--accent); }

/* ── Prose (code page, guides, legal) ─────────────────────────────────────── */
.prose { display: grid; gap: 18px; }
.prose > * { max-width: 68ch; }
.prose h2 { font: 800 var(--step-lead)/1.15 var(--display); text-transform: uppercase; letter-spacing: -0.02em; margin-top: 28px; }
.prose ol, .prose ul { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.prose li::marker { color: var(--accent); font-weight: 600; }
.prose .code-box { max-width: 720px; }
.contact-list { list-style: none; padding: 0 !important; }

/* ── Footer: invitation over a cropped name ──────────────────────────────── */
.ft { position: relative; overflow: hidden; margin-top: var(--sec); background: var(--paper); color: var(--paper-ink); }
.ft-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; padding-top: clamp(64px, 8vw, 120px); }
.ft-invite { grid-column: 1 / span 7; display: grid; gap: 24px; align-content: start; justify-items: start; }
.ft-big { font: 800 var(--step-head)/1 var(--display); text-transform: uppercase; letter-spacing: -0.03em; max-width: 14ch; text-wrap: balance; }
.ft-invite p:not(.ft-big) { max-width: 46ch; color: var(--paper-ink); font-size: var(--step-body); }
.ft-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ft .btn { border-color: var(--bg); color: var(--bg); }
.ft .btn-ink { background: var(--bg); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .ft .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
}
.ft-cols { grid-column: 9 / span 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; align-content: start; }
.ft-cols > div { display: grid; gap: 6px; align-content: start; }
.ft-h { font: 600 var(--step-small)/1.3 var(--text); text-transform: none; letter-spacing: 0; color: var(--paper-muted); margin-bottom: 4px; }
.ft-cols a { color: var(--paper-ink); text-decoration: none; font-size: var(--step-body); padding-block: 3px; }
.ft-cols a:hover { color: var(--bg); text-decoration: underline; text-underline-offset: 0.2em; }
.ft-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: clamp(56px, 7vw, 104px); font-size: var(--step-small); color: var(--paper-muted);
}
.ft-legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-legal a { color: inherit; }
/* The footer's bottom edge cuts the name about two-thirds down its capitals */
.ft-word {
  display: block; margin: 20px 0 -0.3em -0.04em;
  font: 800 30vw/0.8 var(--display); letter-spacing: -0.05em; text-transform: uppercase; white-space: nowrap;
  color: var(--bg); user-select: none;
}
@media (max-width: 899px) {
  .ft-invite, .ft-cols { grid-column: 1 / -1; }
  .ft-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 759px) { .ft-word { font-size: 34vw; } }

/* ── Bottom navigation (phones) ───────────────────────────────────────────── */
.bn { display: none; }
@media (max-width: 759px) {
  .bn {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; view-transition-name: bottom-nav;
    display: grid; grid-template-columns: repeat(5, 1fr);
    height: var(--bn); padding-bottom: env(safe-area-inset-bottom);
    background: var(--deep);
  }
  .bn a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    color: var(--muted); text-decoration: none; font: 500 var(--step-small)/1 var(--text);
    transition: color var(--t-hover) ease;
  }
  .bn .ic { width: 22px; height: 22px; transition: transform var(--t-press) var(--ease-out); }
  .bn a:active .ic { transform: scale(0.88); }
  .bn a[aria-current] { color: var(--accent); }
}

/* ── Toast and install prompt (they float, so they may cast a shadow) ─────── */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bn) + 20px); z-index: 120;
  transform: translateX(-50%); padding: 14px 20px; max-width: calc(100vw - 32px);
  background: var(--accent-ink); color: var(--accent); font-weight: 600; font-size: var(--step-small);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); /* taste-skill-ignore: the toast floats */
  animation: toast-in var(--t-ui) var(--ease-out);
}
.toast[hidden] { display: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.install {
  position: fixed; left: var(--m); right: var(--m); bottom: calc(var(--bn) + 16px); z-index: 110;
  display: flex; align-items: center; gap: 12px; max-width: 520px; margin-inline: auto;
  padding: 12px; background: var(--paper); color: var(--paper-ink); font-size: var(--step-small);
  box-shadow: 0 16px 40px rgba(0, 10, 60, 0.35); /* taste-skill-ignore: the install prompt floats */
}
.install img { width: 44px; height: 44px; }
.install strong { display: block; font-size: var(--step-body); margin-bottom: 2px; }
.install > div { flex: 1; min-width: 0; line-height: 1.3; }
.install .btn { margin-left: auto; min-height: 42px; background: var(--bg); border-color: var(--bg); color: var(--paper); }
.install .x { border: 0; background: none; font-size: 24px; line-height: 1; padding: 6px; color: var(--paper-muted); }

/* ── Motion ───────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  /* Signature: the two halves of the name rise out of their corners */
  .js .pin-word > span { transform: translateY(105%); animation: line-up 1100ms var(--ease-out) forwards; }
  .js .pin-b > span { animation-delay: 220ms; }
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 380ms); }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 420ms); }
  .js .shutter { clip-path: inset(100% 0 0 0); animation: shutter 1200ms var(--ease-in-out) 260ms forwards; }
  .js .shutter img { transform: scale(1.14); animation: settle 1700ms var(--ease-soft) 260ms forwards; }

  /* Reveals on scroll, set by site.js (never replayed, never left hidden) */
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="scale"] { transform: scale(1.06); }
  .js [data-reveal="scale"].is-in { transform: none; }
  .js [data-reveal="row"] { transform: translateX(-24px); }
  .js [data-reveal="row"].is-in { transform: none; }

  /* Inner page titles */
  .js .page-hd > h1 { animation: rise 900ms var(--ease-out) 60ms both; }
  .js .page-hd > .lead, .js .page-hd > .pills, .js .page-hd > .hero-search, .js .page-hd > .hero-actions { animation: rise 900ms var(--ease-out) 180ms both; }
  .js .pd-media { animation: settle-in 1000ms var(--ease-soft) both; }
  .js .pd-info > * { animation: rise 800ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
  .pd-info > :nth-child(2) { --i: 1; } .pd-info > :nth-child(3) { --i: 2; } .pd-info > :nth-child(4) { --i: 3; }
  .pd-info > :nth-child(5) { --i: 4; } .pd-info > :nth-child(6) { --i: 5; } .pd-info > :nth-child(n+7) { --i: 6; }

  /* Scroll-linked: the two halves of the name part towards the sides as the first screen leaves,
     pictures drift inside their frames, cards rise as they enter */
  @supports (animation-timeline: scroll()) {
    .pin-a { animation: part-left linear both; animation-timeline: scroll(root); animation-range: 0 55svh; }
    .pin-b { animation: part-right linear both; animation-timeline: scroll(root); animation-range: 0 55svh; }
  }
  @supports (animation-timeline: view()) {
    .pin-panel .panel-photo img, .fq-tall img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .grid .card, .tiles .tile { animation: card-in linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    /* The name rises into the footer's bottom edge as the page ends */
    .ft-word { animation: word-up linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
  }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes shutter { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { transform: none; } }
@keyframes settle-in { from { opacity: 0; transform: scale(1.03); } }
@keyframes drift { from { transform: scale(1.08) translateY(-3%); } to { transform: scale(1.08) translateY(3%); } }
@keyframes card-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes word-up { from { transform: translateY(45%); } to { transform: none; } }
@keyframes part-left { to { transform: translateX(-35%); opacity: 0; } }
@keyframes part-right { to { transform: translateX(35%); opacity: 0; } }

/* Page-to-page navigation (Chrome, Edge, Safari): the page slides, the product photo travels */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out 260ms var(--ease-out) both; }
  ::view-transition-new(root) { animation: vt-in 520ms var(--ease-out) both; }
  ::view-transition-group(product-photo) { animation-duration: 560ms; animation-timing-function: var(--ease-in-out); }
}
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }
