/* frontrowtheme.com v2 — the FRONTROW visual system (brand/README.md) as CSS.
   Off-black, red and white only (no alloy, no greys); Inter Tight with Libre Caslon
   for the classical line. Red is the signal: one red thing per view. */

@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Libre Caslon Text'; src: url('../fonts/LibreCaslonText-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ink: #171717;
  --red: #f12c19;
  --white: #ffffff;
  --line: #171717;
  --muted: #171717;        /* text stays in the palette: hierarchy comes from size and weight */
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Libre Caslon Text', Georgia, serif;

  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2.5rem);
  --max: 90rem;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --display-xl: clamp(2.75rem, 1.6rem + 5.2vw, 6.5rem);
  --display: clamp(2.1rem, 1.4rem + 3vw, 4.25rem);
  --title: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --text: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --small: 0.875rem;
  --label: 0.75rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 180ms;
  --slow: 700ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 5rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 var(--text) / 1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.edition__name { display: flex; align-items: baseline; gap: 0.6rem; }
.edition__wordmark { width: clamp(7.5rem, 6rem + 4vw, 10rem); height: auto; align-self: center; }
.edition__name .serif { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 50; background: var(--ink); color: var(--white); padding: 0.75rem 1rem; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--rule { border-top: 1px solid var(--ink); }
.section--ink { background: var(--ink); color: var(--white); }

/* ---------- Type ---------- */
.label { font: 500 var(--label) / 1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.25rem; }
.section--ink .label { color: var(--white); }
.display { font: 600 var(--display) / 0.98 var(--sans); letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.display--xl { font-size: var(--display-xl); letter-spacing: -0.045em; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 40ch; margin: 1.5rem 0 0; text-wrap: pretty; }
.section--ink .lede { color: var(--white); }
.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 64rem) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .section-head--split .lede { margin-top: 0; justify-self: end; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0 1.6rem;
  font: 500 1rem / 1 var(--sans); letter-spacing: -0.01em; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--white);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: var(--ink); border-color: var(--ink); }
:is(.section--ink, .edition--ink, .folio) .btn--red:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.section--ink .btn--ghost, .on-photo .btn--ghost { color: var(--white); border-color: var(--white); }
.section--ink .btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn .arrow { transition: transform var(--fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.textlink { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.textlink:hover { color: var(--red); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: var(--white); font: 500 var(--small) / 1 var(--sans); text-align: center; padding: 0.7rem var(--gutter); }
.announce strong { color: var(--white); font-weight: 600; }
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 2rem; min-height: 4rem; }
.header__logo { flex: none; width: 7.5rem; }
.header__nav { display: none; gap: 1.75rem; margin-left: auto; }
.header__nav a { font-weight: 500; font-size: 0.95rem; text-decoration: none; position: relative; }
.header__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -0.35rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--fast) var(--ease); }
.header__nav a:hover::after, .header__nav a[aria-current='page']::after { transform: scaleX(1); }
.header__cta { margin-left: auto; min-height: 2.6rem; padding: 0 1.1rem; font-size: 0.95rem; }
@media (min-width: 56rem) {
  .header__nav { display: flex; }
  .header__cta { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero { display: grid; background: var(--white); }
.hero__photo { position: relative; overflow: hidden; background: var(--ink); min-height: 62svh; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__mark { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(1rem, 3vw, 2.5rem); }
.hero__mark img { width: min(100%, 34rem); }
.hero__seal { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); width: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 2rem + 4vw, 6rem) var(--gutter); }
.hero__title { font: 600 var(--display-xl) / 0.95 var(--sans); letter-spacing: -0.045em; margin: 0; }
.hero__title .rotor { display: block; }
.hero__title .rotor span { display: inline-block; }
.hero__title .rotor.is-out span { animation: rotor-out 360ms var(--ease) forwards; }
.hero__title .rotor.is-in span { animation: rotor-in 520ms var(--ease) both; }
@keyframes rotor-out { to { opacity: 0; transform: translateY(-0.35em); filter: blur(4px); } }
@keyframes rotor-in { from { opacity: 0; transform: translateY(0.35em); filter: blur(4px); } }
.hero__note { margin-top: 1.25rem; font-size: var(--small); color: var(--muted); }
@media (min-width: 64rem) {
  .hero { grid-template-columns: 1.05fr 1fr; height: max(40rem, calc(100svh - 8.1rem)); }
  .hero__copy { padding-block: clamp(2rem, 4vh, 4rem); }
  .hero__title { font-size: min(var(--display-xl), 10.5svh); }
  .hero__photo { height: 100%; }
  .hero__photo { min-height: 0; }
}

/* ---------- Demo cards ---------- */
.demos { display: grid; gap: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) clamp(1rem, 0.5rem + 1.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.demo { display: grid; gap: 1rem; align-content: start; }
.demo__media { position: relative; display: block; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.demo__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform var(--slow) var(--ease); }
.demo__media .demo__phone { position: absolute; right: 6%; bottom: -14%; width: 24%; aspect-ratio: 1179 / 2400; border-radius: 0.7rem; overflow: hidden; transform: translateY(12%); transition: transform var(--slow) var(--ease); }
.demo__media .demo__phone img { height: 100%; }
.demo:hover .demo__media > img { transform: scale(1.035); }
.demo:hover .demo__phone { transform: translateY(0); }
.demo__meta { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.demo__niche { font: 500 var(--label) / 1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.demo__name { font: 600 var(--title) / 1.15 var(--sans); letter-spacing: -0.02em; margin: 0.35rem 0 0; }
.demo__line { margin: 0; color: var(--muted); font-size: 0.98rem; max-width: 42ch; }
.demo__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; font-size: var(--small); }
.demo__password { color: var(--muted); }
.demo__password code { font: 500 0.85rem var(--sans); color: var(--white); background: var(--ink); padding: 0.1rem 0.4rem; }

/* ---------- Editions ---------- */
.editions { display: grid; gap: 1.25rem; }
@media (min-width: 56rem) { .editions { grid-template-columns: 1fr 1fr; } }
.edition { display: grid; grid-template-rows: auto auto 1fr auto; gap: 1.5rem; padding: clamp(1.5rem, 1rem + 2vw, 3rem); background: var(--white); border: 1px solid var(--line); }
.edition--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.edition__top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
@media (max-width: 30rem) { .edition__top { flex-direction: column; gap: 0.75rem; } }
.edition__name { font: 600 var(--title) / 1.1 var(--sans); letter-spacing: -0.02em; margin: 0; }
.edition__tag { font: 500 var(--label) / 1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.edition__price { font: 600 clamp(3.5rem, 2.5rem + 4vw, 6rem) / 0.9 var(--sans); letter-spacing: -0.05em; margin: 0; }
.edition__price small { font: 400 var(--small) / 1 var(--sans); letter-spacing: 0; color: var(--muted); margin-left: 0.5rem; }
.edition--ink .edition__price small, .edition--ink .muted { color: var(--white); }
.edition__line { margin: 0; color: var(--muted); }
.edition--ink .edition__line { color: var(--white); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.ticks li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.75rem; align-items: baseline; }
.ticks li::before { content: ''; width: 0.75rem; height: 0.4rem; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translateY(-0.15rem); }
.edition .actions { margin-top: 0; }
.edition--ink .btn--ghost { color: var(--white); border-color: var(--white); }
.edition--ink .btn--ghost:hover { background: var(--white); color: var(--ink); }

/* ---------- Walkable rooms (FRONTROW Galerie, the Varenna demo's rooms) ---------- */
.rooms { padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.rooms__viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.rooms__viewport::-webkit-scrollbar { display: none; }
.rooms__stage { position: relative; width: max(100%, 56rem); margin-inline: auto; }
@media (min-width: 64rem) { .rooms__stage { width: 100%; max-width: 120rem; } }
.vroom { position: relative; }
.vroom > img { width: 100%; height: auto; }
.vroom.is-entering > img { animation: room-in 900ms var(--ease) both; }
@keyframes room-in { from { opacity: 0; transform: scale(1.08); } }
.vroom__spots { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.vspot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.vspot__dot {
  position: relative; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
  font: 600 0.85rem/1 var(--sans); color: var(--white); cursor: pointer;
  background: rgb(23 23 23 / 0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 0.7); transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.vspot__dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.55); animation: vspot-pulse 2.4s var(--ease) infinite; }
@keyframes vspot-pulse { 0% { opacity: 0.9; transform: scale(0.85); } 100% { opacity: 0; transform: scale(1.5); } }
.vspot__dot:hover, .vspot.is-open .vspot__dot { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.vspot__dot--note { font-family: var(--serif); font-style: italic; }
.vspot__card {
  position: absolute; left: calc(100% + 0.75rem); top: 50%; transform: translateY(-50%) scale(0.96); transform-origin: left center;
  display: flex; gap: 0.85rem; width: max-content; max-width: 19rem; padding: 0.75rem; color: var(--white);
  opacity: 0; visibility: hidden; transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
  z-index: 2; background: var(--ink);
}
.vspot__card img { width: 4.5rem; height: auto; flex: none; }
.vspot.is-open .vspot__card, .spot:focus-within .vspot__card { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }
.vspot--flip .vspot__card { left: auto; right: calc(100% + 0.75rem); transform-origin: right center; }
.vspot__meta { margin: 0 0 0.2rem; font: 500 0.7rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.vspot__title { margin: 0; font: 600 1rem/1.2 var(--sans); }
.vspot__price { margin: 0.3rem 0 0.5rem; font-size: 0.9rem; color: var(--white); }
.vspot__link { font-size: 0.85rem; font-weight: 500; color: var(--white); }
.vspot__door {
  display: flex; align-items: center; gap: 0; height: 2.75rem; padding: 0; border-radius: 999px; cursor: pointer; color: var(--white);
  background: rgb(23 23 23 / 0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / 0.75);
  font: 500 0.9rem/1 var(--sans); transition: background var(--fast) var(--ease), gap var(--slow) var(--ease);
}
.vspot__arrow { width: 2.65rem; text-align: center; font-size: 1.1rem; }
.vspot__door-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width var(--slow) var(--ease), padding var(--slow) var(--ease); }
.vspot__door:hover, .vspot__door:focus-visible { background: var(--white); color: var(--ink); }
.vspot__door:hover .vspot__door-label, .vspot__door:focus-visible .vspot__door-label { max-width: 14rem; padding-right: 1.1rem; }
@media (max-width: 40rem) {
  .vspot__card, .vspot--flip .vspot__card { left: 50%; right: auto; top: calc(100% + 0.75rem); transform: translateX(-50%) scale(0.96); transform-origin: top center; max-width: min(17rem, 78vw); }
  .vspot.is-open .vspot__card, .spot:focus-within .vspot__card { transform: translateX(-50%) scale(1); }
}
.rooms__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.rooms__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rooms__tab { min-height: 2.75rem; padding: 0 1.1rem; font: 500 0.95rem/1 var(--sans); color: var(--white); background: transparent; border: 1px solid var(--white); cursor: pointer; transition: all var(--fast) var(--ease); }
.rooms__tab:hover { color: var(--white); border-color: var(--white); }
.rooms__tab[aria-selected='true'] { background: var(--white); color: var(--ink); border-color: var(--white); }
.rooms__n { font-family: var(--serif); margin-right: 0.35rem; }

/* ---------- Features: the printed folio (brand guide p.3). Cards on white:
   one red sheet, one off-black card, the rest white; each figure is drawn in its card's ink. ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.25rem); }
@media (min-width: 56rem) { .features { grid-template-columns: repeat(3, 1fr); } .feature--big { grid-column: span 2; } }
.feature {
  --card: var(--white); --card-ink: var(--ink);
  position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 24rem;
  background: var(--card); color: var(--card-ink);
  transition: transform var(--slow) var(--ease);
}
.feature:hover { transform: translateY(-4px); }
.feature--red { --card: var(--red); --card-ink: var(--ink); }
.feature--ink { --card: var(--ink); --card-ink: var(--white); }
.feature__n { position: absolute; top: 1.25rem; left: 1.5rem; font: 400 clamp(1.75rem, 1.4rem + 1vw, 2.5rem) / 1 var(--serif); letter-spacing: -0.02em; }
.feature__figure { display: grid; place-items: center; padding: 3.5rem 1.5rem 0; min-height: 13rem; }
.feature__figure > div {
  width: min(100%, 15rem);
  --hairline-plate: transparent; --hairline-hi: var(--card-ink); --hairline-edge: var(--card-ink);
  --hairline-mid: var(--card-ink); --hairline-lo: var(--card-ink);
}
.feature--big .feature__figure > div { width: min(100%, 21rem); }
.feature__body { padding: 1.25rem 1.5rem 1.6rem; }
.feature__title { font: 600 clamp(1.25rem, 1.1rem + 0.5vw, 1.6rem) / 1.15 var(--sans); letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.feature__text { margin: 0; font-size: 0.98rem; max-width: 46ch; }

/* ---------- Before / after ---------- */
.compare { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); --pos: 50%; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.compare__handle::after { content: '↔'; position: absolute; top: 50%; left: 50%; width: 3rem; height: 3rem; display: grid; place-items: center; transform: translate(-50%, -50%); background: var(--red); color: var(--white); font-size: 1.1rem; border-radius: 50%; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__tags { display: flex; justify-content: space-between; margin-top: 1rem; font: 500 var(--label) / 1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.5rem; counter-reset: step; }
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.section--ink .step { border-color: var(--white); }
.step__num { font: 400 clamp(2.5rem, 2rem + 2vw, 3.75rem) / 1 var(--serif); color: var(--red); margin: 0 0 1.25rem; }
.step__title { font: 600 1.15rem / 1.2 var(--sans); letter-spacing: -0.015em; margin: 0 0 0.5rem; }
.step__text { margin: 0; color: var(--muted); }
.section--ink .step__text { color: var(--white); }

/* ---------- Bundled ---------- */
.bundled { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.bundled div { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.bundled h3 { font: 600 1.1rem / 1.2 var(--sans); margin: 0 0 0.4rem; letter-spacing: -0.015em; }
.bundled p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 56rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 2rem; padding: 1.4rem 0; font: 500 var(--title) / 1.25 var(--sans); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; transition: transform var(--fast) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red); }
.faq p { margin: 0 0 1.5rem; max-width: 60ch; color: var(--muted); }

/* ---------- Closing folio ---------- */
.folio { background: var(--red); color: var(--white); position: relative; overflow: hidden; }
.folio__inner { display: grid; gap: 2rem; padding-block: clamp(4rem, 3rem + 5vw, 8rem); position: relative; z-index: 1; }
.folio .display { color: var(--white); }
.folio .lede { color: var(--white); }
.folio .btn { background: var(--ink); border-color: var(--ink); }
.folio .btn:hover { background: var(--red); border-color: var(--red); }
.folio .btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.folio .btn--ghost:hover { background: var(--white); color: var(--ink); }
.folio__seal { position: absolute; right: -4%; bottom: -18%; width: min(55vw, 34rem); opacity: 0.95; pointer-events: none; }

/* ---------- Theme page ---------- */
.product { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); padding-block: clamp(2rem, 1rem + 3vw, 4rem) var(--section); }
@media (min-width: 64rem) { .product { grid-template-columns: 1.35fr 1fr; align-items: start; } .buybox { position: sticky; top: 6rem; } }
.product__gallery { display: grid; gap: 1rem; }
.product__gallery img { width: 100%; background: var(--white); }
.buybox { display: grid; gap: 1.5rem; }
.buybox h1 { margin: 0; }
.buybox .edition__price { font-size: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.buybox__for h2 { font: 500 var(--label) / 1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.9rem; }
.buybox__fine { font-size: var(--small); color: var(--muted); margin: 0; }
.crumbs { font-size: var(--small); color: var(--muted); padding-top: 1.5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding-block: clamp(3.5rem, 3rem + 3vw, 6rem) 2rem; }
.footer__top { display: grid; gap: 3rem; }
@media (min-width: 56rem) { .footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__brand img { width: 11rem; }
.footer__brand p { color: var(--white); max-width: 30ch; margin: 1.25rem 0 0; }
.footer h2 { font: 500 var(--label) / 1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer a { text-decoration: none; color: var(--white); }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.25em; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--white); font-size: var(--small); color: var(--white); }

/* ---------- Reveal on scroll (only with JS and motion allowed) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(1.5rem); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* White cards on white sections: a 1px off-black edge, no tints. */
.edition:not(.edition--ink), .feature--paper { border: 1px solid var(--ink); }
