/* ==========================================================================
   Little Play — layout.css
   Page composition. Written mobile-first; the desktop rules near the bottom are
   a different composition, not the same grid widened.
   ========================================================================== */

/* ================================================================== header */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--lp-t) var(--lp-ease), background-color var(--lp-t) var(--lp-ease);
}

.lp-header.is-stuck {
  border-bottom-color: var(--lp-line);
  background: rgba(250, 247, 242, 0.94);
}

.lp-header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--lp-header-h);
}

/* Brand ------------------------------------------------------------------ */

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-ink);
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 0;
}

.lp-brand:hover { text-decoration: none; }

.lp-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--lp-ink);
  color: var(--lp-bg);
  font-family: var(--lp-font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  flex: 0 0 34px;
}

.lp-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.lp-brand__name {
  font-family: var(--lp-font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.026em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-brand__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--lp-ink-faint);
  white-space: nowrap;
}

/* Nav -------------------------------------------------------------------- */

.lp-nav { display: none; }

.lp-nav__link {
  position: relative;
  padding: 8px 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-ink-soft);
  text-decoration: none;
  transition: color var(--lp-t-fast) var(--lp-ease);
}

.lp-nav__link:hover { color: var(--lp-ink); text-decoration: none; }

.lp-nav__link.is-active { color: var(--lp-ink); }

.lp-nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--lp-mint);
}

/* Header search (desktop only) ------------------------------------------- */

.lp-header__search {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 0 1 220px;
  min-width: 0;
  padding: 0 14px;
  height: 40px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-pill);
  background: var(--lp-card);
  color: var(--lp-ink-faint);
  transition: border-color var(--lp-t-fast) var(--lp-ease), box-shadow var(--lp-t-fast) var(--lp-ease);
}

.lp-header__search:focus-within {
  border-color: var(--lp-line-strong);
  box-shadow: 0 0 0 3px rgba(169, 216, 197, 0.28);
}

.lp-header__search svg { width: 16px; height: 16px; flex: 0 0 16px; }

.lp-header__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  color: var(--lp-ink);
}

.lp-header__search input:focus { outline: none; }

.lp-header__search input::placeholder { color: var(--lp-ink-faint); }

/* Actions ---------------------------------------------------------------- */

.lp-header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex: 0 0 auto;
}

.lp-header__saved { position: relative; }

.lp-header__badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--lp-r-pill);
  background: #b4485f;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.lp-header__badge[hidden] { display: none; }

/* Mobile menu button shows by default, nav/search appear from 900px. */
[data-lp-menu-toggle] { display: inline-flex; }

/* ==================================================================== hero */

/* The hero is a viewport band, not a content-height block.
   Its height is derived from the first ad's target position (42% of the
   viewport), so the advertising container's top edge lands inside the
   0.40–0.45 band on every screen — the family convention (playnova_yoo
   measures 0.395). Content is centred inside the band and scales down on
   short viewports rather than pushing the ad below the fold. */
.lp-hero {
  position: relative;
  display: grid;
  align-content: center;
  /* Fixed band: the first ad's top edge is pinned at 42% of the viewport, so
     the hero is whatever space is left above it. Content is compressed to fit
     rather than pushing the ad below the fold. */
  height: calc(var(--lp-hero-band) * 100dvh - var(--lp-header-h) - var(--lp-ad-gap));
  min-height: 0;
  max-height: 460px;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

/* A faint warm wash behind the hero, so the page opens like a printed spread
   rather than a flat white sheet. */
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 78%;
  background:
    radial-gradient(90% 120% at 82% -10%, rgba(246, 223, 160, 0.34) 0%, rgba(246, 223, 160, 0) 62%),
    radial-gradient(80% 110% at 8% 0%, rgba(169, 216, 197, 0.26) 0%, rgba(169, 216, 197, 0) 58%);
  pointer-events: none;
}

.lp-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  height: 100%;
  min-height: 0;
}

.lp-hero__copy {
  max-width: 34rem;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  padding: 6px 13px 6px 9px;
  border-radius: var(--lp-r-pill);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--lp-line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--lp-ink-soft);
  line-height: 1.2;
}

.lp-hero__eyebrow .lp-dot { background: var(--lp-accent-ink-soft); }

.lp-hero__title {
  margin-top: 10px;
  /* Fluid against the band, not just the viewport: a 42% first screen is short,
     so the headline has to give up size before it can give up voice. */
  font-size: clamp(1.6rem, 3.1vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 800;
  color: var(--lp-ink-deep);
}

.lp-hero__title em {
  display: block;
  position: relative;
  font-style: normal;
  color: var(--lp-accent-ink);
  white-space: nowrap;
}

/* Hand-drawn underline under the accent line: the single decorative gesture. */
.lp-hero__title em::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 4px;
  bottom: -0.1em;
  height: 0.16em;
  border-radius: 999px;
  background: var(--lp-cream);
  transform: rotate(-0.7deg);
  z-index: -1;
}

.lp-hero__lede {
  margin-top: 10px;
  max-width: 46ch;
  font-size: clamp(13px, 1vw, 14.5px);
  line-height: 1.55;
  color: var(--lp-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.lp-hero__counts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--lp-line);
  font-size: 12px;
  color: var(--lp-ink-soft);
}

.lp-hero__count {
  font-family: var(--lp-font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lp-ink-deep);
  margin-right: 5px;
}

/* Hero artwork panel ----------------------------------------------------- */

.lp-hero__art-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  border-radius: var(--lp-r-xl);
  background: var(--lp-card);
  padding: 10px;
  box-shadow: var(--lp-shadow-2);
}

/* The lead panel is the flex child that owns the stage + title row. */
#lp-hero-lead {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

/* Hero stage — a collage of real covers.
   Catalogue covers are small square thumbnails (median ~106px), so the stage
   shows several at native size around one lead cover rather than stretching a
   single image across the plate. Nothing is upscaled past its own pixels. */
.lp-hero__art {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: var(--lp-r-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 110% at 22% 0%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0) 60%),
    var(--lp-cream-soft);
  text-decoration: none;
}

/* A large soft disc behind the cluster, so the field is not a flat swatch. */
.lp-hero__art::before {
  content: '';
  position: absolute;
  left: 12%;
  top: 50%;
  width: 78%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.lp-hero__chip {
  position: absolute;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 3px 10px rgba(51, 49, 46, 0.12), 0 12px 26px rgba(51, 49, 46, 0.1);
  transition: transform 480ms var(--lp-ease);
  z-index: 1;
}

.lp-hero__chip {
  display: grid;
  place-items: center;
  padding: 6px;
}

/* Intrinsic size, capped by the plate. A 30px thumbnail stays 30px (crisp) on
   its pastel pad instead of being blown up to fill the box; a large cover is
   scaled down to fit. Either way nothing is upscaled past its own pixels. */
.lp-hero__chipimg {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 9px;
}

/* Four small covers pinned in the corners, rotated a degree or two. */
.lp-hero__chip--0 { width: 24%; aspect-ratio: 1; left: 5%;  top: 8%;   transform: rotate(-4deg); }
.lp-hero__chip--1 { width: 21%; aspect-ratio: 1; right: 6%; top: 6%;   transform: rotate(3.5deg); }
.lp-hero__chip--2 { width: 22%; aspect-ratio: 1; left: 7%;  bottom: 9%; transform: rotate(3deg); }
.lp-hero__chip--3 { width: 19%; aspect-ratio: 1; right: 8%; bottom: 11%; transform: rotate(-3deg); }

.lp-hero__art:hover .lp-hero__chip--0 { transform: rotate(-4deg) translateY(-3px); }
.lp-hero__art:hover .lp-hero__chip--1 { transform: rotate(3.5deg) translateY(-3px); }
.lp-hero__art:hover .lp-hero__chip--2 { transform: rotate(3deg) translateY(-3px); }
.lp-hero__art:hover .lp-hero__chip--3 { transform: rotate(-3deg) translateY(-3px); }

/* The lead cover sits centred and larger, on its own white card. */
.lp-hero__leadcover {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46%;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(51, 49, 46, 0.16), 0 26px 50px rgba(51, 49, 46, 0.14);
  z-index: 2;
  transition: transform 520ms var(--lp-ease);
  display: grid;
  place-items: center;
}

.lp-hero__art:hover .lp-hero__leadcover { transform: translate(-50%, -50%) scale(1.022); }

.lp-hero__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 15px;
}

.lp-hero__artbody {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 6px 2px;
  position: relative;
}

.lp-hero__artlabel { display: none; }

.lp-hero__artbody { position: relative; }

.lp-hero__artkicker {
  display: block;
  margin-bottom: 2px;
  font-family: var(--lp-font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-ink-faint);
}

.lp-hero__arttitle {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--lp-font-display);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.016em;
  line-height: 1.22;
  /* Two lines rather than an ellipsis: the title is the point of the panel and
     "Minimalist Whack-a-Mole" should never read "Minimalist Whack-…". */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* Narrow screens: title row stacks so the Play button never crowds the name. */
@media (max-width: 430px) {
  .lp-hero__artbody {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .lp-hero__artlink { justify-content: center; }
}

.lp-hero__artlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 15px 7px 8px;
  border-radius: var(--lp-r-pill);
  background: var(--lp-ink);
  color: var(--lp-bg);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.lp-hero__artlink:hover { text-decoration: none; background: var(--lp-ink-deep); }

.lp-hero__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.18);
}

.lp-hero__play svg { width: 13px; height: 13px; }

/* ================================================================= sections */

.lp-section {
  padding-block: clamp(30px, 4.6vw, 56px);
}

.lp-section--tight { padding-block: clamp(22px, 3vw, 34px); }

.lp-section__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.lp-section__kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-ink-faint);
}

.lp-section__kicker::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--lp-line-strong);
}

.lp-section__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lp-section__title {
  font-size: clamp(1.5rem, 3.4vw, 1.95rem);
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--lp-ink-deep);
}

.lp-section__sub {
  margin-top: 7px;
  max-width: 52ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lp-ink-soft);
}

.lp-section__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lp-ink);
  text-decoration: none;
}

.lp-section__more::after {
  content: '→';
  transition: transform var(--lp-t) var(--lp-ease);
}

.lp-section__more:hover { text-decoration: none; }
.lp-section__more:hover::after { transform: translateX(3px); }

/* ============================================================== Happy Picks
   Desktop: one wide Variant A lead, then a rail of squares beneath it.
   Mobile: Variant A stacks (art above copy), squares go two-up.
   ========================================================================== */

.lp-picks { position: relative; }

.lp-picks__lead { margin-bottom: clamp(14px, 2vw, 20px); }

.lp-picks__rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
}

.lp-picks__active {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--lp-r-md);
  background: var(--lp-bg-alt);
  font-size: 13px;
  color: var(--lp-ink-soft);
}

.lp-picks__active[hidden] { display: none; }

.lp-picks__clear {
  margin-left: auto;
  padding: 4px 12px;
  border: 1px solid var(--lp-line-strong);
  border-radius: var(--lp-r-pill);
  background: transparent;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--lp-ink);
}

.lp-picks__clear:hover { background: var(--lp-card); }

/* ============================================================== moods (E) */

.lp-moods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}

/* ============================================================== new (B)
   Five cards: one feature plate and four squares. Explicit areas keep the
   block perfectly tiled at every width, while the feature's 2:1 plate gives
   this section the mixed ratios the grid is supposed to have.
   ========================================================================== */

.lp-new {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    'a a'
    'b c'
    'd e';
  gap: clamp(12px, 1.8vw, 20px);
}

.lp-new > .lp-card-b { height: 100%; }
.lp-new > .lp-card-b:nth-child(1) { grid-area: a; }
.lp-new > .lp-card-b:nth-child(2) { grid-area: b; }
.lp-new > .lp-card-b:nth-child(3) { grid-area: c; }
.lp-new > .lp-card-b:nth-child(4) { grid-area: d; }
.lp-new > .lp-card-b:nth-child(5) { grid-area: e; }

/* Feature plate: a banner crop on small screens. */
.lp-new > .lp-card-b:first-child .lp-card-b__art { aspect-ratio: 16 / 9; }
.lp-new > .lp-card-b:first-child .lp-card-b__title { font-size: 17px; }
.lp-new > .lp-card-b:first-child .lp-card-b__link { justify-content: space-between; }

/* ========================================================= popular (C) */

.lp-popular {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
}

/* ========================================================== explore (D)
   A real masonry composition: six named areas at each breakpoint, with
   different widths *and* heights. Explicit areas (rather than auto-placed
   spans) mean the grid can never leave a hole or wrap into a stray row.
   ========================================================================== */

.lp-explore {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 190px 190px 190px 170px;
  grid-template-areas:
    'a a'
    'b c'
    'd e'
    'f f';
  gap: clamp(10px, 1.5vw, 16px);
}

.lp-explore > .lp-card-d { min-height: 0; }
.lp-explore > .lp-card-d:nth-child(1) { grid-area: a; }
.lp-explore > .lp-card-d:nth-child(2) { grid-area: b; }
.lp-explore > .lp-card-d:nth-child(3) { grid-area: c; }
.lp-explore > .lp-card-d:nth-child(4) { grid-area: d; }
.lp-explore > .lp-card-d:nth-child(5) { grid-area: e; }
.lp-explore > .lp-card-d:nth-child(6) { grid-area: f; }

/* ================================================== category strip (E) */

.lp-cat-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  border-radius: var(--lp-r-lg);
  overflow: hidden;
  background: var(--lp-line);
}

.lp-cat-strip__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--lp-card);
  color: var(--lp-ink);
  text-decoration: none;
  transition: background-color var(--lp-t-fast) var(--lp-ease);
}

.lp-cat-strip__item:hover { background: var(--lp-card-sunk); text-decoration: none; }

.lp-cat-strip__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--lp-mint-soft);
  color: var(--lp-accent-ink);
  flex: 0 0 32px;
}

.lp-cat-strip__glyph svg { width: 17px; height: 17px; }

.lp-cat-strip__name {
  font-family: var(--lp-font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  /* Labels wrap rather than truncating — "Differences" clipped to
     "Differenc…" reads like a bug, not an abbreviation. */
  min-width: 0;
  overflow-wrap: anywhere;
}

.lp-cat-strip__count {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--lp-ink-faint);
  letter-spacing: 0.04em;
}

/* Two-up from 380px so the strip reads as a directory, not a long list.
   Thirteen collections leaves one cell over: the last entry spans the row
   instead of leaving a hole. */
@media (min-width: 380px) {
  .lp-cat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-cat-strip__item:last-child { grid-column: 1 / -1; }
}

/* ===================================================================== SEO */

.lp-seo {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(38px, 5vw, 68px);
  border-top: 1px solid var(--lp-line);
}

.lp-seo__title {
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  letter-spacing: -0.026em;
  margin-bottom: 14px;
}

.lp-seo__h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.012em;
}

.lp-seo__body p {
  margin-bottom: 13px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--lp-ink-soft);
  max-width: 68ch;
}

.lp-seo__body p strong { color: var(--lp-ink); font-weight: 600; }

.lp-seo__cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  border-radius: var(--lp-r-md);
  overflow: hidden;
  background: var(--lp-line);
  align-self: start;
}

.lp-seo__cats li { background: var(--lp-card); }

.lp-seo__cats a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  color: var(--lp-ink);
  text-decoration: none;
  font-size: 13px;
}

.lp-seo__cats a:hover { background: var(--lp-card-sunk); text-decoration: none; }

.lp-seo__cats strong { font-weight: 600; }

.lp-seo__cats span {
  font-size: 11px;
  color: var(--lp-ink-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ================================================================== footer */

.lp-footer {
  margin-top: clamp(20px, 3vw, 36px);
  padding-top: clamp(34px, 4.4vw, 56px);
  padding-bottom: 26px;
  background: var(--lp-bg-alt);
  border-top: 1px solid var(--lp-line);
}

.lp-footer__top {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  padding-bottom: clamp(26px, 3.6vw, 42px);
}

.lp-footer__brand { max-width: 30ch; }

.lp-footer__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lp-font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.028em;
}

.lp-footer__blurb {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--lp-ink-soft);
}

.lp-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}

.lp-footer__col-title {
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-ink-faint);
}

.lp-footer__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }

.lp-footer__list a {
  display: inline-block;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--lp-ink-soft);
  text-decoration: none;
}

.lp-footer__list a:hover { color: var(--lp-ink); text-decoration: underline; }

.lp-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--lp-line);
  font-size: 11.5px;
  color: var(--lp-ink-faint);
}

.lp-footer__bottom p { max-width: 70ch; }

.lp-footer__mode {
  font-variant-numeric: tabular-nums;
}

/* ============================================================== catalogue */

.lp-cat-hero {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(18px, 2.4vw, 28px);
}

.lp-cat-hero__title {
  font-size: clamp(2.1rem, 6vw, 3rem);
  letter-spacing: -0.034em;
  line-height: 1.04;
}

.lp-cat-hero__lede {
  margin-top: 14px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.66;
  color: var(--lp-ink-soft);
}

.lp-cat-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--lp-ink-soft);
}

.lp-cat-hero__stat b {
  font-family: var(--lp-font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--lp-ink-deep);
  margin-right: 5px;
}

.lp-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
  padding-bottom: clamp(30px, 4vw, 52px);
}

.lp-cat-popular {
  list-style: none;
  padding-bottom: clamp(24px, 3.4vw, 40px);
}

/* Category grid view ----------------------------------------------------- */

.lp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--lp-ink-faint);
}

.lp-breadcrumb a { color: var(--lp-ink-soft); }
.lp-breadcrumb span[aria-hidden] { opacity: 0.6; }

.lp-cat-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 20px;
}

.lp-cat-head__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
}

.lp-cat-head__title {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  letter-spacing: -0.032em;
}

.lp-cat-head__count {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-ink-faint);
}

.lp-cat-head__note {
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--lp-ink-soft);
}

.lp-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px;
  margin-inline: calc(var(--lp-gutter) * -1);
  padding-inline: var(--lp-gutter);
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.lp-chips::-webkit-scrollbar { display: none; }
.lp-chips .lp-chip { scroll-snap-align: start; }

.lp-cat-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
  padding-bottom: 8px;
}

.lp-cat-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 0 clamp(34px, 4.4vw, 56px);
}

.lp-sentinel {
  height: 1px;
  width: 100%;
}

.lp-sentinel[hidden] { display: none; }

/* ================================================================= detail */

.lp-detail {
  padding-top: clamp(18px, 2.4vw, 28px);
  padding-bottom: clamp(34px, 4.6vw, 60px);
}

.lp-detail__grid {
  display: grid;
  gap: clamp(22px, 3.2vw, 40px);
  align-items: start;
}

.lp-detail__art {
  position: relative;
  border-radius: var(--lp-r-xl);
  overflow: hidden;
  background: var(--lp-cream-soft);
  box-shadow: var(--lp-shadow-2);
  aspect-ratio: 4 / 3;
}

.lp-detail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-detail__artscrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 22, 19, 0.52) 0%, rgba(24, 22, 19, 0) 44%);
  pointer-events: none;
}

.lp-detail__playbtn {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: var(--lp-r-pill);
  background: rgba(250, 247, 242, 0.95);
  color: var(--lp-ink-deep);
  font-family: var(--lp-font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(24, 22, 19, 0.22);
  transition: transform var(--lp-t) var(--lp-ease), background-color var(--lp-t) var(--lp-ease);
}

.lp-detail__playbtn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  background: #fff;
}

.lp-detail__playicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lp-ink);
  color: var(--lp-bg);
}

.lp-detail__playicon svg { width: 13px; height: 13px; }

.lp-detail__copy { min-width: 0; }

.lp-detail__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-ink-soft);
}

.lp-detail__cat a { color: inherit; }

.lp-detail__title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 5.2vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.034em;
  overflow-wrap: anywhere;
}

.lp-detail__lede {
  margin-top: 12px;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.66;
  color: var(--lp-ink-soft);
}

.lp-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.lp-detail__actions .lp-btn--quiet {
  min-height: 46px;
  padding: 12px 20px;
  font-size: 14px;
}

.lp-detail__sections { margin-top: clamp(26px, 3.6vw, 42px); }

.lp-detail__section {
  padding-block: clamp(20px, 2.8vw, 30px);
  border-top: 1px solid var(--lp-line);
}

.lp-detail__h2 {
  font-size: 1.15rem;
  letter-spacing: -0.018em;
  margin-bottom: 12px;
  font-weight: 800;
}

.lp-detail__p {
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--lp-ink-soft);
}

.lp-detail__p:last-child { margin-bottom: 0; }

.lp-steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.lp-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.lp-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lp-mint-soft);
  color: var(--lp-accent-ink);
  font-family: var(--lp-font-display);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  flex: 0 0 28px;
}

.lp-step__t {
  font-size: 14px;
  line-height: 1.66;
  color: var(--lp-ink-soft);
  padding-top: 3px;
}

.lp-faq {
  padding: 14px 16px;
  border-radius: var(--lp-r-md);
  background: var(--lp-card);
  box-shadow: var(--lp-shadow-1);
  margin-bottom: 10px;
}

.lp-faq__q {
  font-family: var(--lp-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-ink-deep);
  margin-bottom: 6px;
}

.lp-faq__a { font-size: 13.5px; line-height: 1.65; color: var(--lp-ink-soft); }

.lp-detail__missing {
  padding: clamp(40px, 8vw, 90px) 0;
  text-align: center;
}

.lp-detail__missing h1 { margin-bottom: 12px; }

.lp-related { padding-block: clamp(28px, 4vw, 44px); }

.lp-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
}

/* ==================================================================== play */

.lp-play {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #1c1a17;
}

.lp-play__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px var(--lp-gutter);
  background: #1c1a17;
  color: #f6f2ea;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-play__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  color: #f6f2ea;
  text-decoration: none;
  transition: background-color var(--lp-t-fast) var(--lp-ease);
}

.lp-play__back:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }

.lp-play__back svg { width: 20px; height: 20px; }

.lp-play__title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--lp-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.012em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-play__meta { display: none; gap: 8px; }

.lp-play__meta .lp-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f6f2ea;
}

.lp-play__stage {
  flex: 1 1 auto;
  display: flex;
  padding: 10px;
}

.lp-play__frame {
  width: 100%;
  height: calc(100dvh - 70px);
  border-radius: var(--lp-r-md);
  background: #000;
}

/* ========================================================= static pages */

.lp-prose {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.lp-prose__kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-ink-faint);
  margin-bottom: 12px;
}

.lp-prose h1 {
  font-size: clamp(2rem, 5.4vw, 2.9rem);
  letter-spacing: -0.034em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.lp-prose h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  letter-spacing: -0.02em;
  margin-top: 34px;
  margin-bottom: 10px;
}

.lp-prose h3 {
  font-size: 1rem;
  margin-top: 22px;
  margin-bottom: 8px;
}

.lp-prose p {
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--lp-ink-soft);
  max-width: 72ch;
}

.lp-prose ul, .lp-prose ol {
  margin: 0 0 16px 0;
  padding-left: 20px;
  max-width: 72ch;
}

.lp-prose li {
  margin-bottom: 7px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--lp-ink-soft);
}

.lp-prose strong { color: var(--lp-ink); font-weight: 600; }

.lp-prose__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--lp-ink-faint);
}

.lp-prose__card {
  margin: 22px 0;
  padding: 20px;
  border-radius: var(--lp-r-lg);
  background: var(--lp-card);
  box-shadow: var(--lp-shadow-1);
}

.lp-prose__card h2 { margin-top: 0; }

.lp-contact-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.lp-contact-list li { margin: 0; }

.lp-contact-list dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-ink-faint);
}

.lp-contact-list dd {
  margin: 3px 0 0;
  font-size: 14.5px;
  color: var(--lp-ink);
}

/* ---- Short first screen -------------------------------------------------
   The first ad's top edge is pinned at 42% of the viewport, so on stacked
   viewports the hero has no room for a cover panel beside the copy. The brief
   asks for a full-width, text-led hero on mobile anyway, so the cover panel is
   hidden there and the picks section immediately below carries the artwork. */

@media (max-width: 899px) {
  .lp-hero__art-wrap { display: none; }

  .lp-hero__grid { grid-template-columns: minmax(0, 1fr); }

  .lp-hero__copy { max-width: none; }

  .lp-hero__lede { -webkit-line-clamp: 2; }
}

/* On a short desktop window the counts row is the first thing to go: it is
   supporting detail, and the hero title, lede and CTA must survive. */
@media (min-width: 900px) and (max-height: 880px) {
  .lp-hero__counts { display: none; }
  .lp-hero__actions { margin-top: 10px; }
  .lp-hero__lede { margin-top: 8px; }
}

@media (min-width: 900px) and (max-height: 760px) {
  .lp-hero__lede { -webkit-line-clamp: 2; }
  .lp-hero__title { font-size: clamp(1.5rem, 2.2vw, 2rem); }
}

/* Narrow phones: the hero is a ~40% band, so it keeps only what earns its
   height — headline, one line of lede, and a single primary action. The
   secondary CTA moves to the mood section, which is where it leads anyway. */
@media (max-width: 400px) {
  .lp-hero__eyebrow { display: none; }
  .lp-hero__lede { -webkit-line-clamp: 2; }
  .lp-hero__counts { display: none; }
  .lp-hero__actions { flex-wrap: nowrap; }
  .lp-hero__actions .lp-btn--secondary { display: none; }
  .lp-hero__actions .lp-btn--primary { flex: 1 1 auto; }
}

/* Short phones (SE-class, 667px tall): drop the lede too so the headline and
   CTA stay whole inside the band. */
@media (max-width: 400px) and (max-height: 700px) {
  .lp-hero__lede { display: none; }
  .lp-hero__title { font-size: clamp(1.45rem, 6.6vw, 1.8rem); }
}

/* ================================================================ desktop */

@media (min-width: 720px) {
  .lp-header__inner { gap: 22px; }

  .lp-hero__title { font-size: clamp(1.7rem, 3vw, 2.5rem); }

  .lp-new {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      'a a b'
      'c d e';
  }

  .lp-moods { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .lp-explore {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 220px 220px 200px;
    grid-template-areas:
      'a a b'
      'a a c'
      'd e f';
  }

  .lp-popular { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }

  .lp-cat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-cat-strip__item:last-child { grid-column: 1 / -1; }

  .lp-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .lp-cat-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .lp-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .lp-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }

  .lp-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .lp-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .lp-play__meta { display: flex; }
  .lp-play__frame { height: calc(100dvh - 76px); }
}

@media (min-width: 900px) {
  :root { --lp-header-h: 76px; }

  [data-lp-menu-toggle] { display: none; }

  .lp-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: clamp(10px, 2.4vw, 30px);
  }

  .lp-header__search { display: flex; margin-left: auto; }

  .lp-header__actions { margin-left: 0; }

  /* Hero: asymmetric two-column, copy left, artwork right. */
  .lp-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(34px, 5vw, 72px);
  }

  .lp-hero__copy { max-width: none; }

  .lp-hero__art { aspect-ratio: 1 / 1.06; }

  .lp-hero__artlabel { bottom: 96px; }

  /* Happy Picks: wide lead + four squares in one rail. */
  .lp-picks__rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Variant A becomes the editorial two-column composition here. */
  .lp-card-a {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 300px;
  }

  .lp-card-a__art { min-height: 260px; }

  /* Mood quartet across the page. */
  .lp-moods { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .lp-explore {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 200px 200px 186px;
    grid-template-areas:
      'a a b c'
      'a a b d'
      'e e f d';
  }

  .lp-cat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-cat-strip__item:last-child { grid-column: 1 / -1; }

  .lp-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .lp-cat-games { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .lp-related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .lp-seo { grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr); }

  .lp-seo__cats { grid-template-columns: minmax(0, 1fr); }

  /* Art takes the smaller share: the notes column holds the headings, the
     actions and a 300×250 slot, and needs the measure. */
  .lp-detail__grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: clamp(28px, 3.6vw, 56px);
    align-items: start;
  }

  .lp-detail__art {
    aspect-ratio: 4 / 5;
    position: sticky;
    top: 96px;
    align-self: start;
  }

  .lp-section__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }

  .lp-section__head > div { max-width: 62ch; }
}

@media (min-width: 1180px) {
  .lp-new {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      'a a b c'
      'a a d e';
  }

  /* The feature card fills both rows, so its artwork becomes the plate rather
     than a fixed crop — no dead space under the text. The link stretches to the
     full card height for the same reason. */
  .lp-new > .lp-card-b:first-child { grid-row: span 2; }
  .lp-new > .lp-card-b:first-child .lp-card-b__link { flex: 1 1 auto; }
  .lp-new > .lp-card-b:first-child .lp-card-b__art { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
  .lp-new > .lp-card-b:first-child .lp-card-b__title { font-size: 20px; }

  .lp-hero__title { font-size: clamp(2rem, 2.5vw, 2.7rem); }

  /* Lead card keeps a true 2:1-ish proportion once there is room. */
  .lp-card-a { min-height: 372px; }

  .lp-cat-games { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .lp-explore { grid-template-rows: 230px 230px 210px; }
}

@media (min-width: 1280px) {
  .lp-cat-games { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ======================================================= narrow / portrait */

@media (max-width: 400px) {
  .lp-brand__tag { display: none; }

  .lp-hero__title { font-size: clamp(1.55rem, 7.4vw, 2rem); }

  .lp-hero__actions .lp-btn { flex: 1 1 auto; }

  .lp-picks__rail { gap: 10px; }

  .lp-card-b { padding: 6px 6px 10px; }

  .lp-card-b__title { font-size: 13.5px; }

  .lp-card-b__text { padding: 0 3px; }

  .lp-save--sm { width: 27px; height: 27px; }

  .lp-mood { min-height: 190px; padding: 18px; }

  .lp-mood__name { font-size: 23px; }
}
