/* ==========================================================================
   Gold Coast Papabricks — styles
   Red & white streetwear-editorial system. Motion = transform/opacity only.
   ========================================================================== */

:root {
  /* Brand */
  --red: #e3121b;          /* 6.1:1 on white */
  --red-deep: #b00d14;
  --red-tint: #fde8e9;
  --ink: #111111;
  --paper: #ffffff;
  --off: #f4f1ec;
  --muted: #555555;        /* 7.4:1 on white */
  --line: #e4e0da;
  --fig: #ffc914;          /* minifig yellow — illustration only */

  /* Type */
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space */
  --gutter: 16px;
  --max: 1240px;
  --section: clamp(64px, 10vw, 128px);

  /* Shape */
  --radius: 6px;
  --hard: 6px 6px 0 var(--ink);
  --hard-lg: 10px 10px 0 var(--ink);

  /* Motion */
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.22, 1, .36, 1);
  --fast: 160ms;
  --med: 260ms;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.on-red :focus-visible, .bg-red :focus-visible { outline-color: var(--paper); }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.01em;
}
.display em { font-style: italic; color: var(--red); }
.on-red .display em, .bg-red .display em, .bg-ink .display em { color: inherit; -webkit-text-stroke: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .8125rem/1 var(--body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: currentColor; }
.bg-red .eyebrow, .bg-ink .eyebrow { color: var(--paper); }

.h2 { font-size: clamp(2.75rem, 8vw, 5.5rem); }
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 56ch; }
.bg-red .lede, .bg-ink .lede { color: rgba(255,255,255,.88); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bd); border-radius: var(--radius);
  font: 700 1rem/1 var(--body); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform var(--fast) var(--out), box-shadow var(--fast) var(--out), background var(--fast);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { transition: transform var(--med) var(--spring); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); transition-duration: 60ms; }
.btn--ghost { --bg: var(--paper); --fg: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--white { --bg: var(--paper); --fg: var(--red); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9375rem;
  text-decoration: none; color: inherit;
}
.link-arrow .icon { transition: transform var(--med) var(--spring); }
.link-arrow:hover .icon { transform: translateX(6px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size var(--med) var(--out); }
.link-arrow:hover span { background-size: 100% 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }

.logo {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center;
  background: var(--red); color: var(--paper);
  padding: 6px 12px 5px; margin-top: 8px; border-radius: 3px;
  text-decoration: none; line-height: 1;
  transition: transform var(--med) var(--spring);
}
.logo::before, .logo::after {
  content: ""; position: absolute; top: -7px; width: 16px; height: 8px;
  background: var(--red); border-radius: 3px 3px 0 0;
}
.logo::before { left: 12px; }
.logo::after { right: 12px; }
.logo:hover { transform: translateY(-2px) rotate(-2deg); }
.logo__top { font: 700 .625rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; }
.logo__main { font: 800 italic 1.5rem/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; }

.nav { display: none; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 8px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--med) var(--out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--red); }

.menu-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  background: none; border: 2px solid var(--ink); border-radius: var(--radius); cursor: pointer;
}
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.mobile-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--red); color: var(--paper);
  border-bottom: 2px solid var(--ink);
  padding: 8px var(--gutter) 24px;
  transform-origin: top; transform: scaleY(.9); opacity: 0; visibility: hidden;
  transition: transform var(--med) var(--spring), opacity var(--fast), visibility 0s linear var(--med);
}
.mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font: 800 italic 2rem/1 var(--display); text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.3);
}
.mobile-nav .btn { margin-top: 20px; width: 100%; }

@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 24px; }
  .menu-btn, .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero { border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero__grid { display: grid; }
.hero__copy { padding: 48px 0 40px; }
.hero__title { font-size: clamp(4rem, 16vw, 9.5rem); margin: 18px 0 22px; }
.hero__title .line { display: block; }
.hero__lede { margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 28px; font-weight: 600; font-size: .9375rem; }
.stars { display: inline-flex; gap: 2px; color: var(--red); }
.stars .icon { width: 18px; height: 18px; }
.hero__proof .sep { width: 4px; height: 4px; background: var(--ink); border-radius: 50%; }
@media (max-width: 599px) { .hero__proof .sep { display: none; } }

.hero__art {
  position: relative; background: var(--red);
  margin-inline: calc(var(--gutter) * -1);
  min-height: 420px;
  display: grid; place-items: center;
  overflow: hidden;
}
.hero__art::before {
  /* stud grid texture */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.13) 0 9px, transparent 10px) 0 0 / 40px 40px;
}
.hero__word {
  position: absolute; left: -2%; bottom: -4%;
  font: 900 italic clamp(7rem, 30vw, 18rem)/.8 var(--display);
  text-transform: uppercase; color: rgba(0,0,0,.12); white-space: nowrap; pointer-events: none;
}
.fig { position: relative; width: min(56%, 260px); filter: drop-shadow(10px 12px 0 rgba(0,0,0,.25)); }
.float-brick { position: absolute; width: 72px; filter: drop-shadow(4px 5px 0 rgba(0,0,0,.25)); }
.float-brick--1 { top: 10%; left: 8%; width: 84px; }
.float-brick--2 { top: 16%; right: 9%; width: 58px; }
.float-brick--3 { bottom: 14%; left: 12%; width: 54px; }
.float-brick--4 { bottom: 22%; right: 7%; width: 76px; }

.sticker {
  position: absolute; top: 6%; right: 6%;
  display: grid; place-items: center; text-align: center;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  font: 800 italic 1.5rem/.9 var(--display); text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
  rotate: 10deg;
}
.sticker small { display: block; font: 700 .625rem/1.2 var(--body); letter-spacing: .1em; font-style: normal; margin-top: 4px; }
.sticker b { color: var(--red); font-size: 2.25rem; display: block; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; min-height: calc(100svh - 74px); max-height: 860px; }
  .hero__copy { padding: 64px 48px 64px 0; align-self: center; }
  .hero__art { margin: 0 calc((100vw - min(100vw, var(--max))) / -2 - var(--gutter)) 0 0; border-left: 2px solid var(--ink); min-height: 0; }
  .sticker { width: 140px; height: 140px; top: 8%; right: 10%; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: var(--paper);
  overflow: hidden; border-bottom: 2px solid var(--ink);
  padding: 16px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font: 800 italic clamp(1.5rem, 3vw, 2.25rem)/1 var(--display); text-transform: uppercase; white-space: nowrap;
}
.marquee__item::after { content: ""; width: 14px; height: 14px; background: var(--red); border-radius: 3px; rotate: 45deg; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.bg-off { background: var(--off); }
.bg-red { background: var(--red); color: var(--paper); }
.bg-ink { background: var(--ink); color: var(--paper); }
.border-y { border-block: 2px solid var(--ink); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head .h2 { margin-top: 4px; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--hard-lg); }
.stat { padding: 24px 18px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat__num { font: 800 italic clamp(2.75rem, 7vw, 4.75rem)/.9 var(--display); color: var(--red); display: block; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; }
.stat__sub { display: block; color: var(--muted); font-size: .875rem; margin-top: 2px; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 36px 28px; border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 2px solid var(--ink); }
  .stat:last-child { border-right: 0; }
}

.verify {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 32px; font-weight: 600;
}
.verify__badge { display: inline-flex; align-items: center; gap: 10px; }
.verify__badge .icon { color: var(--red); width: 28px; height: 28px; }

/* ---------- Category tiles (Nike-poster grid) ---------- */
.tiles { display: grid; gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 340px; padding: 28px;
  border: 2px solid var(--ink); border-radius: var(--radius);
  text-decoration: none; overflow: hidden;
  box-shadow: var(--hard);
  transition: transform var(--med) var(--spring), box-shadow var(--med) var(--spring);
}
.tile:hover { transform: translate(-4px, -4px); box-shadow: var(--hard-lg); }
.tile:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); transition-duration: 80ms; }
.tile__title { font-size: clamp(3.25rem, 9vw, 5.25rem); position: relative; z-index: 1; }
.tile__body { position: relative; z-index: 1; max-width: 34ch; font-weight: 500; }
.tile__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.tile__count { font: 700 .8125rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.tile__go {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid currentColor; transition: transform var(--med) var(--spring), background var(--fast), color var(--fast);
}
.tile:hover .tile__go { transform: rotate(-45deg) scale(1.08); }
.tile__art { position: absolute; bottom: 88px; right: 20px; width: 24%; max-width: 120px; transition: transform .5s var(--spring); pointer-events: none; }
.tile__art ~ .tile__body, .tile:has(.tile__art) .tile__body { max-width: min(34ch, 68%); }
.tile--big .tile__art { bottom: 84px; right: 4%; width: 34%; max-width: 210px; }
.tile--big .tile__body { max-width: 56%; }
.tile:hover .tile__art { transform: rotate(-8deg) scale(1.06); }

.tile--red { background: var(--red); color: var(--paper); }
.tile--red:hover .tile__go { background: var(--paper); color: var(--red); }
.tile--off { background: var(--off); }
.tile--off .tile__title { color: var(--red); }
.tile--off:hover .tile__go, .tile--white:hover .tile__go { background: var(--red); color: var(--paper); border-color: var(--red); }
.tile--ink { background: var(--ink); color: var(--paper); }
.tile--ink:hover .tile__go { background: var(--red); border-color: var(--red); }
.tile--white { background: var(--paper); }
.tile--white .tile__title { color: var(--ink); }
.tile--white .tile__title em { color: var(--red); }

@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .tile { min-height: 400px; padding: 36px; }
}
@media (min-width: 1100px) {
  .tiles { grid-template-columns: 1.3fr 1fr 1fr; }
  .tile--big { grid-row: span 2; min-height: 100%; }
  .tile--wide { grid-column: 2 / -1; min-height: 0; }
  .tile--big .tile__body { max-width: min(34ch, 60%); }
}

/* ---------- Numbered features (Emerica style) ---------- */
.features { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start;
  padding: 28px 0; border-bottom: 2px solid var(--ink);
}
.feature__num { grid-row: span 2; font: 800 italic clamp(3rem, 7vw, 4.5rem)/.8 var(--display); color: var(--red); min-width: 1.6em; }
.feature__title { font: 800 italic clamp(1.75rem, 3.4vw, 2.5rem)/1 var(--display); text-transform: uppercase; }
.feature__body { color: var(--muted); max-width: 52ch; }
@media (min-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .feature { padding: 36px 0; }
}

/* ---------- Reviews ---------- */
.reviews-feature { display: grid; gap: 20px; }
.review {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 28px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); box-shadow: var(--hard);
  transition: transform var(--med) var(--spring), box-shadow var(--med) var(--spring);
}
.review:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: var(--hard-lg); }
.review blockquote { margin: 0; font: 800 italic clamp(1.75rem, 3vw, 2.375rem)/1 var(--display); text-transform: uppercase; }
.review blockquote::before { content: "\201C"; display: block; color: var(--red); font-size: 4rem; line-height: .6; margin-bottom: 6px; }
.review figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .9375rem; }
.review__who { display: flex; flex-direction: column; }
.review__who small { color: var(--muted); font-weight: 500; }
.review--red { background: var(--red); color: var(--paper); }
.review--red blockquote::before { color: var(--paper); }
.review--red .review__who small { color: rgba(255,255,255,.85); }
.review--red .stars { color: var(--paper); }
@media (min-width: 900px) { .reviews-feature { grid-template-columns: 1.2fr 1fr 1fr; } }

.chips-marquee { overflow: hidden; margin-top: 40px; display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.chips-marquee .marquee__track { animation-duration: 60s; }
.chips-marquee .marquee__track--rev { animation-direction: reverse; animation-duration: 70s; }
.chips-marquee:hover .marquee__track { animation-play-state: paused; }
.chip-review {
  display: inline-flex; align-items: center; gap: 10px; margin-right: 14px;
  padding: 12px 18px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper);
  font-weight: 600; white-space: nowrap; font-size: .9375rem;
}
.chip-review .icon { color: var(--red); width: 16px; height: 16px; }
.chip-review small { color: var(--muted); font-weight: 500; }

/* ---------- Promo split ---------- */
.promos { display: grid; gap: 20px; }
.promo {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(28px, 4vw, 48px); border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--hard);
}
.promo__title { font-size: clamp(2.75rem, 6vw, 4.25rem); }
.promo .btn { align-self: flex-start; margin-top: auto; }
.promo__art { position: absolute; right: -20px; top: -20px; width: 150px; opacity: .95; rotate: 14deg; transition: transform .6s var(--spring); }
.promo:hover .promo__art { transform: rotate(-16deg) scale(1.08); }
.promo > *:not(.promo__art) { position: relative; z-index: 1; }
@media (min-width: 900px) { .promos { grid-template-columns: 1fr 1fr; } .promo { min-height: 420px; } }

/* ---------- Big CTA ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; border-top: 2px solid var(--ink); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0 9px, transparent 10px) 0 0 / 40px 40px;
}
.cta-band .wrap { position: relative; display: grid; justify-items: center; gap: 28px; }
.cta-band__title { font-size: clamp(3.5rem, 13vw, 10rem); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { border-bottom: 2px solid var(--ink); padding-block: clamp(48px, 9vw, 112px); position: relative; overflow: hidden; }
.page-hero__title { font-size: clamp(4rem, 15vw, 10rem); margin: 18px 0 24px; }
.page-hero__bg {
  position: absolute; right: -4%; bottom: -10%; width: min(46vw, 460px); opacity: 1; pointer-events: none;
}
.page-hero .lede { position: relative; }
@media (max-width: 767px) { .page-hero__bg { display: none; } }

/* ---------- Cashback ---------- */
.ref-card {
  display: grid; gap: 20px; margin-top: 36px; max-width: 640px;
  padding: 24px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); box-shadow: var(--hard-lg);
}
.ref-card__bonus { font: 800 italic clamp(2.5rem, 7vw, 3.75rem)/.9 var(--display); text-transform: uppercase; color: var(--red); }
.ref-card__row { display: flex; flex-wrap: wrap; gap: 12px; }
.ref-card__row .btn { flex: 1 1 200px; }
.ref-card__fine { font-size: .8125rem; color: var(--muted); }

.steps { display: grid; gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px; padding-top: 64px;
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: var(--hard);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -2px; left: -2px;
  display: grid; place-items: center; width: 52px; height: 52px;
  background: var(--red); color: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius) 0 var(--radius) 0;
  font: 800 italic 1.75rem/1 var(--display);
}
.step h3 { font: 800 italic 1.75rem/1 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.tips-list { display: grid; gap: 0; border-top: 2px solid rgba(255,255,255,.35); }
.tips-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 22px 0; border-bottom: 2px solid rgba(255,255,255,.35); }
.tips-list .icon { width: 28px; height: 28px; margin-top: 2px; }
.tips-list strong { display: block; font: 800 italic 1.5rem/1.05 var(--display); text-transform: uppercase; margin-bottom: 4px; }
@media (min-width: 900px) { .tips-list { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); transition: box-shadow var(--med) var(--spring), transform var(--med) var(--spring); }
.faq details[open] { box-shadow: var(--hard); transform: translate(-2px, -2px); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 20px; cursor: pointer; list-style: none;
  font: 800 italic 1.375rem/1.1 var(--display); text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--med) var(--spring); color: var(--red); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 70ch; }

.disclosure {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; border: 2px dashed var(--ink); border-radius: var(--radius); background: var(--off);
  font-size: .9375rem; max-width: 860px; margin-top: 32px;
}
.disclosure .icon { color: var(--red); margin-top: 2px; }

/* ---------- Hacks ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; position: relative; }
.filter {
  min-height: 44px; padding: 0 20px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--paper);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .875rem; cursor: pointer;
  transition: transform var(--fast) var(--spring), background var(--fast), color var(--fast), box-shadow var(--fast);
}
.filter:hover { transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
.filter:active { transform: scale(.95); }
.filter[aria-pressed="true"] { background: var(--red); color: var(--paper); }
.filter-count { margin-top: 16px; color: var(--muted); font-weight: 600; font-size: .9375rem; }

.hacks { display: grid; gap: 20px; }
.hack {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--hard);
  transition: transform var(--med) var(--spring), box-shadow var(--med) var(--spring);
}
.hack:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-lg); }
.hack[hidden] { display: none; }
.hack__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hack__num { font: 800 italic 2.75rem/.8 var(--display); color: var(--red); }
.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border-radius: 999px; background: var(--ink); color: var(--paper);
  font: 700 .75rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
}
.tag--buying { background: var(--red); }
.tag--care { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.tag--minifigs { background: var(--fig); color: var(--ink); }
.hack h3 { font: 800 italic clamp(1.75rem, 3vw, 2.125rem)/1 var(--display); text-transform: uppercase; }
.hack p { color: var(--muted); }
.hack__pro { margin-top: auto; padding-top: 14px; border-top: 2px solid var(--line); font-size: .9375rem; font-weight: 500; }
.hack__pro b { color: var(--red); text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; margin-right: 6px; }
@media (min-width: 768px) { .hacks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hacks { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 40px; }
.footer-grid h4 { font: 700 .8125rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #bdbdbd; margin-bottom: 16px; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 600; }
.footer-grid li a:hover { color: var(--red); }
.footer-tag { margin-top: 18px; color: #cfcfcf; max-width: 36ch; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--paper); border-radius: 50%;
  transition: transform var(--med) var(--spring), background var(--fast), border-color var(--fast);
}
.socials a:hover { transform: translateY(-3px) scale(1.06); background: var(--red); border-color: var(--red); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #333; display: grid; gap: 8px; color: #a8a8a8; font-size: .8125rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; background: var(--ink); color: var(--paper);
  border: 2px solid var(--paper); border-radius: 999px; font-weight: 700;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform var(--med) var(--spring), opacity var(--fast);
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }
.toast .icon { color: var(--red); }

/* ==========================================================================
   POP ANIMATIONS
   Content is visible by default; hiding only applies once JS confirms it can
   reveal (html.js). Everything animates transform + opacity only.
   ========================================================================== */
.js .pop { opacity: 0; transform: translateY(28px) scale(.9); }
.js .pop.is-in { animation: pop .62s var(--spring) both; animation-delay: var(--d, 0ms); }
.js .pop.is-done { opacity: 1; transform: none; animation: none; }

.js .pop--left { transform: translateX(-36px) scale(.94); }
.js .pop--left.is-in { animation-name: pop-left; }
.js .pop--spin { transform: scale(.4) rotate(-40deg); }
.js .pop--spin.is-in { animation-name: pop-spin; animation-duration: .8s; }
.js .pop--drop { transform: translateY(-80px) scale(.6); }
.js .pop--drop.is-in { animation-name: pop-drop; animation-duration: .75s; }

@keyframes pop {
  0%   { opacity: 0; transform: translateY(28px) scale(.9); }
  55%  { opacity: 1; transform: translateY(-6px) scale(1.035); }
  100% { opacity: 1; transform: none; }
}
@keyframes pop-left {
  0%   { opacity: 0; transform: translateX(-36px) scale(.94); }
  60%  { opacity: 1; transform: translateX(6px) scale(1.01); }
  100% { opacity: 1; transform: none; }
}
@keyframes pop-spin {
  0%   { opacity: 0; transform: scale(.4) rotate(-40deg); }
  60%  { opacity: 1; transform: scale(1.12) rotate(6deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes pop-drop {
  0%   { opacity: 0; transform: translateY(-80px) scale(.6); }
  55%  { opacity: 1; transform: translateY(8px) scale(1.06, .94); }
  75%  { transform: translateY(-4px) scale(.98, 1.02); }
  100% { opacity: 1; transform: none; }
}

/* Idle bob for hero bricks (inner element so it never fights the pop) */
.bob { animation: bob 5s ease-in-out infinite; animation-delay: var(--b, 0s); }
@keyframes bob { 50% { transform: translateY(-12px) rotate(4deg); } }

/* Headline letter-line pop */
.js .hero__title .line { display: block; overflow: hidden; padding-right: .08em; }
.js .hero__title .line > span { display: inline-block; transform: translateY(105%); }
.js .hero__title.is-in .line > span { animation: line-up .7s var(--spring) both; animation-delay: var(--d, 0ms); }
@keyframes line-up { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .pop, .js .pop.is-in, .js .hero__title .line > span { opacity: 1 !important; transform: none !important; animation: none !important; }
  .bob, .marquee__track { animation: none !important; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}

/* ---------- About: timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding: 0 0 0 36px; margin: 0; list-style: none; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 4px; background: var(--ink); border-radius: 2px; }
.tl {
  position: relative; padding: 28px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--hard);
  transition: transform var(--med) var(--spring), box-shadow var(--med) var(--spring);
}
.tl:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-lg); }
.tl::before {
  /* stud marker on the line */
  content: ""; position: absolute; left: -38px; top: 30px; width: 22px; height: 22px;
  background: var(--red); border: 3px solid var(--ink); border-radius: 50%;
}
.tl__when { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 .75rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.tl__title { margin: 14px 0 10px; font: 800 italic clamp(2rem, 4.5vw, 3rem)/.95 var(--display); text-transform: uppercase; }
.tl p { color: var(--muted); font-size: 1.0625rem; max-width: 64ch; }
.tl--now { background: var(--red); color: var(--paper); }
.tl--now p { color: rgba(255,255,255,.9); }
.tl--now .tl__when { background: var(--paper); color: var(--red); }
.tl--now::before { background: var(--paper); }
@media (min-width: 768px) {
  .timeline { padding-left: 56px; gap: 36px; }
  .timeline::before { left: 16px; }
  .tl { padding: 36px 40px; }
  .tl::before { left: -52px; }
}

.quote-band { position: relative; overflow: hidden; border-block: 2px solid var(--ink); }
.quote-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,255,255,.12) 0 9px, transparent 10px) 0 0 / 40px 40px; }
.quote-band figure { position: relative; margin: 0; max-width: 1100px; }
.quote-band__text { margin: 0; font-size: clamp(2.75rem, 8.5vw, 7rem); line-height: .9; }
.quote-band__cap { margin-top: 28px; font-weight: 600; font-size: clamp(1.0625rem, 1.8vw, 1.375rem); }

/* ---------- Instagram ---------- */
.insta__head-side { display: grid; gap: 20px; }
.insta__controls { display: flex; align-items: center; gap: 10px; }
.insta__controls .btn { margin-right: auto; }
.insta__nav {
  display: grid; place-items: center; width: 48px; height: 48px; cursor: pointer;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 50%;
  transition: transform var(--fast) var(--spring), background var(--fast), color var(--fast);
}
.insta__nav:hover { background: var(--red); color: var(--paper); transform: scale(1.08); }
.insta__nav:active { transform: scale(.92); }
.insta-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 12px 20px 4px; margin: -4px -12px 0 -4px; scrollbar-width: thin; scrollbar-color: var(--red) transparent;
}
.insta-card {
  scroll-snap-align: start; overflow: hidden;
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: var(--hard);
}
.insta-card iframe { display: block; width: 100%; height: 560px; border: 0; background: var(--off); }
@media (prefers-reduced-motion: reduce) { .insta-row { scroll-behavior: auto; } }

/* ---------- Promo bar ---------- */
.promo-bar { background: var(--ink); color: var(--paper); border-bottom: 2px solid var(--ink); }
.promo-bar[hidden] { display: none; }
.promo-bar__link {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px;
  min-height: 44px; padding: 8px var(--gutter); text-align: center; text-decoration: none;
  font-size: .875rem; font-weight: 500;
}
.promo-bar__link > .icon { color: var(--fig); width: 18px; height: 18px; animation: zap 2.4s ease-in-out infinite; }
.promo-bar__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; color: #ff6b70; }
.promo-bar__cta .icon { width: 16px; height: 16px; transition: transform var(--med) var(--spring); }
.promo-bar__link:hover .promo-bar__cta .icon { transform: translateX(4px); }
@keyframes zap { 0%, 80%, 100% { transform: none; } 85% { transform: scale(1.3) rotate(-12deg); } 90% { transform: scale(.9) rotate(8deg); } }

.nav a.nav__deal { color: var(--red); }
.nav a.nav__deal::before {
  content: ""; position: absolute; top: 8px; right: -6px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); animation: ping 1.8s var(--out) infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(227,18,27,.55); } 100% { box-shadow: 0 0 0 10px rgba(227,18,27,0); } }

/* ---------- Deals ---------- */
.countdown { margin-top: 8px; }
.countdown__label { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; margin-bottom: 10px; }
.countdown__grid { display: flex; gap: 10px; flex-wrap: wrap; }
.countdown__unit {
  display: grid; justify-items: center; min-width: 72px; padding: 12px 10px 10px;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink);
}
.countdown__unit b { font: 800 italic 2.5rem/.9 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.countdown__unit small { font: 700 .6875rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.countdown__unit b.tick { animation: tick .35s var(--spring); }
@keyframes tick { 0% { transform: scale(.7); opacity: .4; } 100% { transform: none; opacity: 1; } }

@media (min-width: 768px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step strong { color: var(--ink); }
.disclosure--warn { background: var(--red-tint); border-color: var(--red); border-style: solid; }

.why-deal { display: grid; gap: 28px; }
@media (min-width: 900px) { .why-deal { grid-template-columns: 1fr 1fr; align-items: end; gap: 56px; } }

.facts { display: grid; gap: 16px; }
.fact {
  display: grid; gap: 4px; padding: 24px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--hard);
  transition: transform var(--med) var(--spring), box-shadow var(--med) var(--spring);
}
.fact:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-lg); }
.fact .icon { width: 32px; height: 32px; color: var(--red); margin-bottom: 8px; }
.fact b { font: 800 italic 2rem/1 var(--display); text-transform: uppercase; }
.fact span { color: var(--muted); }
@media (min-width: 600px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .promo-bar__link > .icon, .nav a.nav__deal::before, .countdown__unit b.tick { animation: none !important; }
}
.promo-bar__short { display: none; }
@media (max-width: 699px) {
  .promo-bar__long { display: none; }
  .promo-bar__short { display: inline; }
  .promo-bar__link { flex-wrap: nowrap; gap: 8px; font-size: .8125rem; }
  .promo-bar__cta { font-size: .75rem; white-space: nowrap; }
}

/* Photo minifig (cut-out PNG) */
.fig img { width: 100%; height: auto; }
.page-hero__bg, .tile__art, .promo__art { height: auto; }
.page-hero__bg { right: 4%; bottom: 0; top: auto; width: auto; height: min(88%, 620px); max-width: none; }
.tile--big .tile__art { width: 24%; max-width: 150px; }
@media (min-width: 1100px) { .tile--big .tile__art { width: 30%; max-width: 170px; } }
@media (max-width: 899px) { .fig { width: min(44%, 210px); } }

/* ---------- Legal / prose pages ---------- */
.page-hero--compact .page-hero__title { font-size: clamp(3.5rem, 11vw, 7rem); }
.prose { max-width: 760px; font-size: 1.0625rem; }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink);
  font: 800 italic clamp(1.75rem, 3.5vw, 2.25rem)/1 var(--display); text-transform: uppercase;
}
.prose ul { padding-left: 0; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; background: var(--red); border-radius: 2px; }
.prose a { color: var(--red); font-weight: 600; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-deep); }
.prose__updated { margin-top: 48px !important; color: var(--muted); font-weight: 600; font-size: .9375rem; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--paper); }

/* ---------- Blog ---------- */
.posts { display: grid; gap: 20px; }
.posts:empty { display: none; }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post[hidden] { display: none; }
.post__link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; text-decoration: none;
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: var(--hard);
  transition: transform var(--med) var(--spring), box-shadow var(--med) var(--spring);
}
.post__link:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-lg); }
.post__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 2px solid var(--ink); transition: transform .5s var(--out); }
.post__link:hover .post__img { transform: scale(1.04); }
.post__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.post__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--muted); font-weight: 600; }
.post__title { font: 800 italic clamp(1.75rem, 3vw, 2.125rem)/1 var(--display); text-transform: uppercase; }
.post__excerpt { color: var(--muted); }
.post__body .link-arrow { margin-top: auto; color: var(--red); }

.blog-empty {
  position: relative; overflow: hidden; display: grid; gap: 18px; justify-items: start;
  padding: clamp(28px, 5vw, 56px); max-width: 860px;
  border: 2px dashed var(--ink); border-radius: var(--radius); background: var(--paper);
}
.blog-empty[hidden] { display: none; }
.blog-empty h2 { font-size: clamp(2.75rem, 7vw, 4.5rem); }
.blog-empty__brick { position: absolute; right: -16px; top: -14px; width: 120px; color: var(--red); rotate: 14deg; }
.blog-empty .hero__ctas { margin-top: 6px; }
.filters[hidden], .filter-count[hidden] { display: none; }

/* Coming-soon post previews */
.post--soon .post__link { border-style: dashed; box-shadow: none; background: var(--paper); cursor: default; }
.post--soon .post__link:hover { transform: none; box-shadow: none; }
.post__soon {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3;
  background: var(--red) radial-gradient(circle, rgba(255,255,255,.14) 0 9px, transparent 10px) 0 0 / 36px 36px;
  border-bottom: 2px dashed var(--ink);
}
.post__soon span {
  padding: 10px 18px; background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink);
  font: 800 italic 1.75rem/1 var(--display); text-transform: uppercase; rotate: -6deg;
  transition: rotate var(--med) var(--spring), transform var(--med) var(--spring);
}
.post--soon:hover .post__soon span { rotate: 3deg; transform: scale(1.06); }
.post--soon .post__meta > span:last-child { color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.posts-none { padding: 28px; border: 2px dashed var(--ink); border-radius: var(--radius); background: var(--paper); font-size: 1.125rem; }
.posts-none[hidden] { display: none; }
.posts-none strong { color: var(--red); }
