/* Tienda de ropa deportiva - tokens from DESIGN.md + section styles.
   Direction: "The specimen catalogue" (taste-skill, dealt via draw.mjs). */

/* ---------- tokens ---------- */
:root {
  --bg: #F7F5F1;
  --surface: #FFFFFF;
  --ink: #111113;
  --muted: #5B5B61;
  --border: #E2DFD8;
  --accent: #D9FF4B;
  --accent-ink: #0A0A0B;
  --success: #2E7D4F;
  --error: #C4342B;

  /* Fixed (non-theme) pair for the "always dark stage / always paper" parts
     of the page - the hero stage, the fan of value cards, the catalogue
     card and the postcard footer. These are a deliberate print/stage
     device, not the site's light/dark theme, so they never invert when
     --ink/--bg flip for a future dark theme. */
  --ink-fixed: #111113;
  --paper-fixed: #F7F5F1;
  --surface-fixed: #FFFFFF;
  --border-fixed: #E2DFD8;
  --muted-fixed: #5B5B61;
  --muted-on-dark: #9a9a9d;
  --surface-2: #EDEAE3; /* tone step from --bg, for filled boxes that would otherwise need an outline */

  --font-display: 'Anton', 'Archivo Black', 'Arial Narrow', sans-serif;
  --font-text: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.8rem + 0.08vw, 0.875rem);
  --step-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --step-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --step-head: clamp(2rem, 1.4rem + 2.6vw, 3.75rem);
  --step-display: clamp(2.75rem, 1.2rem + 7vw, 6rem);
  --step-hero: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);

  --margin: clamp(1rem, 2.4vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 10vw, 9rem);
  --radius: 4px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 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: 220ms;
  --t-ui: 280ms;
  --t-reveal: 800ms;
  --stagger: 80ms;
}

/* Dark theme: ready for a future toggle (data-theme="dark"), not applied
   automatically from the OS preference - the brief asked for light-only
   for now. --ink-fixed/--paper-fixed below are deliberately NOT redefined
   here: the catalogue, fan and footer sections are "always dark" stages by
   design, independent of light/dark theme, so they keep their own fixed
   tokens instead of the theme-reversible --ink/--bg pair. */
:root[data-theme="dark"] {
  --bg: #0A0A0B;
  --surface: #17171A;
  --ink: #F2F1ED;
  --muted: #9C9CA3;
  --border: #2A2A2E;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance; }
p { max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: var(--step-head); line-height: 1.02; }
.section-head p { margin-top: 0.75rem; font-family: var(--font-text); text-transform: none; }
.on-dark { background: var(--ink-fixed); color: var(--paper-fixed); }
.on-dark .muted { color: var(--muted-on-dark); }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.5rem;
  background: var(--accent); color: var(--accent-ink);
  border-radius: var(--radius); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: var(--step-small); white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out);
  will-change: transform;
}
.button:active { transform: scale(0.97); }
.button--ghost {
  background: var(--surface-2); color: inherit;
}
.on-dark .button--ghost { background: rgba(247,245,241,0.14); }
.link {
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 0.2em; transition: text-decoration-color var(--t-hover) ease;
}
@media (hover:hover) { .link:hover { text-decoration-color: var(--accent); } }
.field {
  width: 100%; min-height: 3.25rem; padding: 0 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: var(--step-body);
}
.field:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--margin);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  transition: background var(--t-ui) ease, box-shadow var(--t-ui) ease;
}
.site-header.is-scrolled {
  background: var(--bg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10); /* taste-skill-ignore: fixed sticky bar, the named shadow exception */
}
.wordmark { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 0.35em; }
.wordmark .slash { color: var(--ink); }
.site-nav { display: none; gap: clamp(1rem, 2vw, 1.75rem); align-items: center; }
.site-nav a { font-size: var(--step-small); font-weight: 600; position: relative; padding-bottom: 4px; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent);
  transition: right var(--t-hover) var(--ease-out);
}
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
@media (min-width: 64rem) { .site-nav { display: flex; } }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-cta .button { min-height: 2.6rem; padding: 0 1.1rem; }
.nav-toggle { display: inline-flex; min-height: 2.6rem; align-items:center; padding: 0 0.9rem; background: var(--surface-2); border-radius: var(--radius); font-size: var(--step-small); font-weight: 600; }
@media (min-width: 64rem) { .nav-toggle { display: none; } }
.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 49;
  background: var(--bg); box-shadow: 0 10px 30px rgba(0,0,0,0.14); /* taste-skill-ignore: a real floating menu overlay */
  padding: calc(1.1rem + 2.6rem) var(--margin) 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { font-size: var(--step-lead); font-weight: 600; }
@media (min-width: 64rem) { .mobile-nav { display: none !important; } }

/* ---------- hero: anchored text / specimen half ---------- */
.hero { padding-top: 0; }
.hero-split { display: grid; grid-template-columns: 1fr; min-height: 100svh; }
@media (min-width: 56rem) { .hero-split { grid-template-columns: 1fr 1fr; } }
.hero-text {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(1.1rem + 2.6rem) var(--margin) 3rem;
  min-height: 52svh;
}
@media (min-width: 56rem) { .hero-text { min-height: 100svh; } }
.hero-text .top { font-size: var(--step-small); font-weight: 700; color: var(--muted); }
.hero-headline {
  font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.02em;
}
.hero-headline .row { display: flex; align-items: center; gap: 0.3em; }
.hero-copy { margin-top: 1.5rem; max-width: 38ch; font-size: var(--step-lead); font-family: var(--font-text); text-transform: none; color: var(--muted); }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.hero-stage {
  position: relative; overflow: hidden; background: var(--ink-fixed);
  min-height: 48svh; display: flex; align-items: center; justify-content: center;
}
@media (min-width: 56rem) { .hero-stage { position: sticky; top: 0; height: 100svh; min-height: 0; } }
.hero-stage .track-lines { position: absolute; inset: 0; opacity: 0.14; }
.hero-tile {
  position: relative; width: min(66%, 420px); aspect-ratio: 1; background: var(--paper-fixed);
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.hero-tile .corner-slash { position: absolute; top: 14px; left: 14px; width: 34px; height: 4px; background: var(--accent); transform: rotate(-42deg); transform-origin: left center; }
.hero-tile .tile-word { color: var(--ink-fixed); font-size: clamp(1.5rem, 4vw, 2.25rem); padding-inline: 1.5rem; text-align: center; }
.hero-tile .tile-caption { position: absolute; left: 18px; bottom: 16px; font-size: var(--step-small); color: var(--ink-fixed); }
.hero-tile .tile-caption .fact { color: var(--muted-fixed); display: block; }

/* track-lines signature pattern (brand mark) */
.track-lines {
  background-image: repeating-linear-gradient(to bottom, currentColor 0, currentColor 1px, transparent 1px, transparent 9px); /* taste-skill-ignore: hard-edged stripe pattern (brand signature), not a colour gradient */
  color: var(--paper-fixed);
}

/* ---------- nosotros ---------- */
.nosotros { background: var(--bg); }
.nosotros-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) { .nosotros-grid { grid-template-columns: 7fr 5fr; } }
.nosotros-text h2 { font-size: var(--step-head); }
.nosotros-text p { font-family: var(--font-text); text-transform: none; margin-top: 1rem; max-width: 56ch; }
.nosotros-media { display: grid; grid-template-columns: 3fr 2fr; gap: 8px; }
.nosotros-media figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.nosotros-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- showcase: frame run, one lifted ---------- */
.showcase { background: var(--bg); }
.showcase-head { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-bottom: clamp(2rem,5vw,3rem); }
.showcase-head h2 { font-size: var(--step-head); }
.showcase-head .link { font-size: var(--step-small); font-weight: 600; align-self: start; }
.run { display: flex; align-items: flex-end; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 0.5rem; }
.run::-webkit-scrollbar { height: 6px; }
.tile {
  position: relative; flex: 0 0 auto; width: 30vw; max-width: 230px; height: 30vh; min-height: 220px;
  scroll-snap-align: start; overflow: hidden; background: var(--surface-2);
}
.tile.is-lifted { height: 66vh; min-height: 420px; max-width: 280px; }
.tile .tile-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-inline: 1.5rem; }
.tile .tile-media svg { width: 54%; height: 54%; color: var(--ink); filter: grayscale(1); transition: filter var(--t-ui) ease, color var(--t-ui) ease; }
.tile:hover .tile-media svg, .tile:focus-within .tile-media svg { filter: grayscale(0); color: var(--ink); }
.tile .corner-slash { position: absolute; top: 10px; right: 10px; width: 26px; height: 3px; background: var(--accent); transform: rotate(-42deg) scale(0); transition: transform var(--t-ui) var(--ease-out); transform-origin: right center; }
.tile:hover .corner-slash, .tile:focus-within .corner-slash { transform: rotate(-42deg) scale(1); }
.tile-info { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.6rem; padding-inline: 2px; font-size: var(--step-small); }
.tile-info .fact { color: var(--muted); }
.run-note { margin-top: 1.25rem; font-size: var(--step-small); color: var(--muted); max-width: 46ch; }

/* brand specimen tiles (Marcas): text instead of icon, no dramatic lift (only 2 items) */
.run--brands { flex-wrap: wrap; }
.run--brands .tile { flex: 1 1 320px; width: auto; max-width: 560px; height: 42vh; min-height: 300px; }
.run--brands .tile.is-lifted { height: 46vh; min-height: 330px; max-width: 560px; }
.tile-word {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 5vw, 3rem); text-align: center; color: var(--muted);
  transition: color var(--t-ui) ease;
}
.tile:hover .tile-word, .tile:focus-within .tile-word { color: var(--ink); }

/* ---------- features: four distinct blocks (not a card grid) ---------- */
.features { background: var(--ink-fixed); color: var(--paper-fixed); }
.features .section-head h2, .features .section-head p { color: var(--paper-fixed); }
.value-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter);
  margin-top: 1rem;
}
.value-block {
  position: relative; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.5rem);
  grid-column: 1 / -1; background: var(--surface-fixed); color: var(--ink-fixed);
}
.value-block svg { width: 2.25rem; height: 2.25rem; }
.value-block h3 { font-size: var(--step-h3); margin-top: 1.25rem; max-width: 18ch; }
.value-block p { font-family: var(--font-text); text-transform: none; margin-top: 0.75rem; color: var(--muted-fixed); max-width: 46ch; }
@media (min-width: 56rem) {
  .value-block--lead { grid-column: 1 / 8; min-height: 320px; }
  .value-block--stat { grid-column: 8 / 13; }
  .value-block--corner { grid-column: 1 / 6; }
  .value-block--split { grid-column: 6 / 13; }
}
.value-block--lead .value-block__icon-bg {
  position: absolute; right: -1.5rem; bottom: -1.5rem; width: 9rem; height: 9rem;
  color: var(--border-fixed); opacity: 0.9;
}
.value-block--stat { background: var(--ink-fixed); color: var(--paper-fixed); }
.value-block--stat p { color: var(--muted-on-dark); }
.value-block--corner svg { position: absolute; top: 1.75rem; right: 1.75rem; margin: 0; }
.value-block--corner h3 { font-size: var(--step-head); max-width: 12ch; }
.value-block--split {
  background: var(--ink-fixed); color: var(--paper-fixed);
  outline: 2px solid var(--accent); outline-offset: -2px;
  display: flex; align-items: flex-start; gap: 1.5rem;
}
.value-block--split svg { flex: 0 0 auto; width: 3rem; height: 3rem; margin-top: 0.25rem; }
.value-block--split p { color: var(--muted-on-dark); }

/* ---------- cta: the reply card ---------- */
.cta { background: var(--ink-fixed); color: var(--paper-fixed); position: relative; overflow: hidden; }
.cta-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) { .cta-row { grid-template-columns: 5fr 7fr; } }
.cta-copy { font-size: var(--step-lead); font-family: var(--font-text); text-transform: none; max-width: 38ch; }
.cta-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-top: 1.5rem; }
.cta-list li { position: relative; padding-left: 1.5rem; font-size: var(--step-body); }
.cta-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 14px; height: 2px; background: var(--accent); }
.cta-list-note { margin-top: 1rem; font-size: var(--step-small); color: var(--muted-on-dark); max-width: 42ch; }
.reply-card {
  background: var(--paper-fixed); color: var(--ink-fixed); border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem); transform: rotate(1.4deg);
  max-width: 560px; margin-left: auto; position: relative;
}
.reply-card h3 { font-size: var(--step-h3); max-width: 16ch; }
.reply-card p { font-family: var(--font-text); text-transform: none; margin-top: 0.75rem; color: var(--muted-fixed); }
.reply-card .reply-card-tags { margin-top: 1rem; font-size: var(--step-small); color: var(--muted-fixed); }
.reply-card .doc-mock { position: absolute; top: -26px; right: 28px; width: 70px; height: 92px; background: var(--surface-2); }
.reply-card .doc-mock span { display: block; height: 2px; background: var(--border-fixed); margin: 10px 10px 0; }
.reply-card .doc-mock span:nth-child(1) { margin-top: 16px; width: 60%; background: var(--accent); }
.reply-card .button { width: 100%; margin-top: 1.5rem; min-height: 3.5rem; }

/* ---------- promociones ---------- */
.promo { background: var(--ink-fixed); color: var(--paper-fixed); position: relative; overflow: hidden; }
.section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.promo-row { position: relative; z-index: 1; }
.promo .muted { color: var(--muted-on-dark); }
.promo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.promo-row > div { max-width: 56ch; }
.promo-row h2 { font-size: var(--step-head); }
.promo-row p { font-family: var(--font-text); text-transform: none; margin-top: 0.75rem; }
.promo .button--ghost { background: rgba(247,245,241,0.14); color: inherit; flex: 0 0 auto; }

/* ---------- faq ---------- */
.faq { background: var(--bg); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 56rem) {
  .faq-list { display: block; column-count: 2; column-gap: var(--gutter); }
  .faq-item { break-inside: avoid; margin-bottom: 10px; }
}
.faq-item { background: var(--surface-2); padding: 1.25rem 1.5rem; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: var(--step-lead); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; flex: 0 0 auto; transition: transform var(--t-ui) ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-family: var(--font-text); text-transform: none; margin-top: 0.9rem; max-width: 64ch; }

/* ---------- contact: photo strip + two-panel (info / form) ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 1.5rem; }
@media (min-width: 48rem) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-panel { padding: clamp(1.75rem, 4vw, 2.75rem); display: flex; flex-direction: column; }
.contact-panel--info { background: var(--ink-fixed); color: var(--paper-fixed); gap: 1.75rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item svg { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; margin-top: 0.2rem; }
.contact-item h3 { font-family: var(--font-text); text-transform: none; font-size: var(--step-body); font-weight: 700; }
.contact-item p { font-family: var(--font-text); text-transform: none; margin-top: 0.25rem; color: var(--muted-on-dark); }
.contact-item p .link { color: inherit; font-weight: 600; }
.contact-note { margin-top: auto; padding-top: 1.5rem; font-size: var(--step-small); color: var(--muted-on-dark); }
.contact-panel--form { background: var(--surface-fixed); color: var(--ink-fixed); }
.contact-panel--form .field-label { font-size: var(--step-small); font-weight: 700; margin-top: 1rem; }
.contact-panel--form .field-label:first-child { margin-top: 0; }
.contact-panel--form .field { margin-top: 0.5rem; }
.contact-panel--form textarea.field { min-height: 9rem; padding-block: 0.75rem; resize: vertical; }
.contact-panel--form .button { margin-top: 1.5rem; width: 100%; min-height: 3.5rem; }
.contact-panel--form .form-note, .contact-panel--form .form-success { text-align: center; }
.trust-bar { background: var(--ink-fixed); overflow: hidden; width: 100%; padding-block: 1.1rem; }
.trust-bar__track { display: flex; width: max-content; will-change: transform; }
.trust-set { display: flex; align-items: center; gap: 2.5rem; padding-inline: 1.25rem; }
.trust-item { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--step-small); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--paper-fixed); white-space: nowrap; }
.trust-item svg { width: 1.1rem; height: 1.1rem; color: var(--accent); flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  .trust-bar__track { animation: marquee 28s linear infinite; }
  .trust-bar:hover .trust-bar__track, .trust-bar:focus-within .trust-bar__track { animation-play-state: paused; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.contact .section-head { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.form-note { margin-top: 0.75rem; font-size: var(--step-small); color: var(--muted); }
.form-success { margin-top: 0.75rem; font-size: var(--step-small); color: var(--success); display: none; }
.form-success.is-shown { display: block; }

/* ---------- footer: back of the card ---------- */
.site-footer { background: var(--ink-fixed); color: var(--paper-fixed); padding-block: var(--section); }
.postcard {
  background: var(--paper-fixed); color: var(--ink-fixed); max-width: 980px; margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem); position: relative;
  /* 12 true semicircular scallops (sine-sampled, not a straight-edge zigzag) along
     the top edge, closed by straight sides -- a stamp/postcard-perforation motif. */
  clip-path: polygon(
    0.000% 0.0px, 1.042% 3.8px, 2.083% 7.1px, 3.125% 9.2px, 4.167% 10.0px, 5.208% 9.2px, 6.250% 7.1px, 7.292% 3.8px,
    8.333% 0.0px, 9.375% 3.8px, 10.417% 7.1px, 11.458% 9.2px, 12.500% 10.0px, 13.542% 9.2px, 14.583% 7.1px,
    15.625% 3.8px, 16.667% 0.0px, 17.708% 3.8px, 18.750% 7.1px, 19.792% 9.2px, 20.833% 10.0px, 21.875% 9.2px,
    22.917% 7.1px, 23.958% 3.8px, 25.000% 0.0px, 26.042% 3.8px, 27.083% 7.1px, 28.125% 9.2px, 29.167% 10.0px,
    30.208% 9.2px, 31.250% 7.1px, 32.292% 3.8px, 33.333% 0.0px, 34.375% 3.8px, 35.417% 7.1px, 36.458% 9.2px,
    37.500% 10.0px, 38.542% 9.2px, 39.583% 7.1px, 40.625% 3.8px, 41.667% 0.0px, 42.708% 3.8px, 43.750% 7.1px,
    44.792% 9.2px, 45.833% 10.0px, 46.875% 9.2px, 47.917% 7.1px, 48.958% 3.8px, 50.000% 0.0px, 51.042% 3.8px,
    52.083% 7.1px, 53.125% 9.2px, 54.167% 10.0px, 55.208% 9.2px, 56.250% 7.1px, 57.292% 3.8px, 58.333% 0.0px,
    59.375% 3.8px, 60.417% 7.1px, 61.458% 9.2px, 62.500% 10.0px, 63.542% 9.2px, 64.583% 7.1px, 65.625% 3.8px,
    66.667% 0.0px, 67.708% 3.8px, 68.750% 7.1px, 69.792% 9.2px, 70.833% 10.0px, 71.875% 9.2px, 72.917% 7.1px,
    73.958% 3.8px, 75.000% 0.0px, 76.042% 3.8px, 77.083% 7.1px, 78.125% 9.2px, 79.167% 10.0px, 80.208% 9.2px,
    81.250% 7.1px, 82.292% 3.8px, 83.333% 0.0px, 84.375% 3.8px, 85.417% 7.1px, 86.458% 9.2px, 87.500% 10.0px,
    88.542% 9.2px, 89.583% 7.1px, 90.625% 3.8px, 91.667% 0.0px, 92.708% 3.8px, 93.750% 7.1px, 94.792% 9.2px,
    95.833% 10.0px, 96.875% 9.2px, 97.917% 7.1px, 98.958% 3.8px, 100.000% 0.0px, 100% 100%, 0% 100%
  );
}
.postcard-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 1rem; }
@media (min-width: 48rem) { .postcard-grid { grid-template-columns: 1fr 1fr; } }
.postcard-sign h3 { font-size: var(--step-h3); max-width: 14ch; }
.postcard-sign p { font-family: var(--font-text); text-transform: none; margin-top: 0.75rem; color: var(--muted-fixed); }
.postcard-address { display: flex; flex-direction: column; gap: 0.6rem; font-size: var(--step-body); }
.postcard-address a { text-decoration: underline; text-decoration-color: transparent; }
.postcard-address a:hover { text-decoration-color: var(--accent); }
.postcard-stamp { position: absolute; top: 20px; right: 20px; width: 84px; height: 64px; border: 4px solid var(--paper-fixed); outline: 1px dashed var(--border-fixed); overflow: hidden; }
.postcard-stamp img { width: 100%; height: 100%; object-fit: cover; }
.postcard-foot { margin-top: 2.5rem; text-align: center; font-size: var(--step-small); color: var(--muted-fixed); }
.credits { max-width: 54ch; margin: 1.5rem auto 0; text-align: center; font-size: var(--step-small); color: var(--muted-on-dark); }
.credits a { text-decoration: underline; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(20px); }
  .js [data-rise].is-in { opacity: 1; transform: none; transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
  .js .mask-line { display: block; overflow: hidden; }
  .js .mask-line span { display: block; transform: translateY(110%); transition: transform 900ms var(--ease-expo); }
  .js .mask-line.is-in span { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { opacity: 1; transform: none; }
}
