/*
 * tushka.online — the landing page in the game's theme A1 «Изумруд и золото». Token values are copied from
 * apps/web/src/theme/tokens.css (the landing is a separate static site and does not import the game's files);
 * keep them in step when the game's palette changes. Mobile first; the desktop layout starts at 1024 px.
 */

/* ───────────── fonts (self-hosted, like apps/web/src/theme/fonts.ts) ───────────── */
@font-face{font-family:'Playfair Display SC';font-style:normal;font-display:swap;font-weight:700;src:url('/fonts/playfair-display-sc-cyrillic-700-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Playfair Display SC';font-style:normal;font-display:swap;font-weight:700;src:url('/fonts/playfair-display-sc-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Playfair Display SC';font-style:normal;font-display:swap;font-weight:900;src:url('/fonts/playfair-display-sc-cyrillic-900-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Playfair Display SC';font-style:normal;font-display:swap;font-weight:900;src:url('/fonts/playfair-display-sc-latin-900-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:500;src:url('/fonts/manrope-cyrillic-500-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:500;src:url('/fonts/manrope-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url('/fonts/manrope-cyrillic-600-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url('/fonts/manrope-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url('/fonts/manrope-cyrillic-700-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url('/fonts/manrope-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:800;src:url('/fonts/manrope-cyrillic-800-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:800;src:url('/fonts/manrope-latin-800-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* ───────────── tokens (from apps/web/src/theme/tokens.css, theme A1) ───────────── */
:root {
  --room: #0e0906;
  --room-light: rgba(255, 190, 110, 0.2);
  --room-glow: rgba(14, 90, 50, 0.35);
  --felt: #0f6a3a;
  --felt-hi: #21a35d;
  --felt-lo: #073d21;
  --gold: #e8c46e;
  --gold-hi: #ffe9a3;
  --gold-mid: #e3b24a;
  --gold-lo: #c08b25;
  --gold-edge: #7a5413;
  --gold-ink: #3b2504;
  --gold-text: #f6dc97;
  --gold-text-hi: #fff4c8;
  --gold-text-lo: #a5741c;
  --gold-line: #8a6a2c;
  --ruby: #a3141f;
  --ruby-hi: #e0434e;
  --ruby-lo: #86101a;
  --ruby-edge: #5a0a10;
  --ruby-ink: #fff3d6;
  --card-paper: #fffdf8;
  --card-paper-lo: #efe8d8;
  --card-edge: rgba(40, 28, 12, 0.28);
  --card-red: #c2121f;
  --card-black: #15151a;
  --card-back: #8e1b24;
  --card-back-lo: #560b11;
  --card-back-rim: #f5ecd6;
  --ink: #f3e7cf;
  --ink-dim: #a8957b;
  --ink-soft: #cdbba3;
  --panel: #1c140d;
  --panel-lo: #120c08;
  --panel-line: rgba(232, 196, 110, 0.22);
  --panel-line-strong: rgba(232, 196, 110, 0.45);
  --divider: rgba(232, 196, 110, 0.1);
  --font-display: 'Playfair Display SC', Georgia, serif;
  --font-body: Manrope, system-ui, sans-serif;
  --radius-s: 11px;
  --radius-m: 15px;
  --radius-l: 22px;

  --gutter: 20px;
  --max: 1120px;
}

/* ───────────── base ───────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--room);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 900px at 50% 0%, var(--room-light), transparent 70%),
    var(--room);
  background-repeat: no-repeat;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums lining-nums;
}
h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

/* ───────────── type helpers ───────────── */
h1,
h2,
h3,
.hero-pitch,
.tushka-main {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.gold-text {
  background: linear-gradient(var(--gold-text-hi), var(--gold-mid) 55%, var(--gold-text-lo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}
.h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 8.4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--gold-text);
}
.lead {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ───────────── logo (as in the game: src/art/logo.tsx) ───────────── */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: inherit;
}
.logo-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--logo-size, 60px);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  /* a little room so the gradient clip does not cut the serifs */
  padding: 0.04em 0.06em 0.06em;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}
.logo-sub {
  display: block;
  margin-top: calc(var(--logo-size, 60px) * 0.1);
  padding-left: 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--logo-size, 60px) * 0.22);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
/* The gold glint (as the game's logo): a light runs over the lettering every 8 s; off with reduced motion. */
.logo-title.gold-text {
  background-image:
    linear-gradient(100deg, transparent 44%, rgba(255, 255, 255, 0.85) 50%, transparent 56%),
    linear-gradient(var(--gold-text-hi), var(--gold-mid) 55%, var(--gold-text-lo));
  background-size:
    300% 100%,
    100% 100%;
  background-repeat: no-repeat;
  background-position:
    100% 0,
    0 0;
  animation: gold-glint-text 8s ease-in-out 1.6s infinite;
}
@keyframes gold-glint-text {
  0% {
    background-position:
      100% 0,
      0 0;
  }
  14%,
  100% {
    background-position:
      0% 0,
      0 0;
  }
}

/* ───────────── button (the game's .btn .btn-gold .btn-l) ───────────── */
.btn {
  --edge: var(--gold-edge);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  height: 62px;
  padding: 0 22px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(var(--gold-hi), var(--gold-mid) 50%, var(--gold-lo));
  color: var(--gold-ink);
  box-shadow:
    0 5px 0 var(--edge),
    0 12px 26px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(232, 180, 74, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition:
    transform 80ms ease-out,
    box-shadow 80ms ease-out,
    filter 150ms;
}
.btn:hover {
  filter: brightness(1.06);
}
.btn:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 var(--edge),
    0 5px 10px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: currentColor;
}
.cta-note {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}

/* ───────────── hero ───────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto auto;
  isolation: isolate;
}
.hero-media {
  position: relative;
  display: block;
  grid-area: 1 / 1;
  z-index: -1;
}
.hero-media img {
  width: 100%;
}
/* Dark at the top for the logo, then the room again at the bottom for the pitch and the button. */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--room) 0%, rgba(14, 9, 6, 0.55) 14%, transparent 30%),
    linear-gradient(transparent 52%, rgba(14, 9, 6, 0.7) 74%, var(--room) 96%);
}
.hero-left {
  display: contents;
}
.hero-logo {
  grid-area: 1 / 1;
  align-self: start;
  padding-top: clamp(18px, 5vw, 30px);
  --logo-size: clamp(50px, 15.5vw, 66px);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-copy {
  grid-area: 2 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(-150px, -30vw, -100px);
  padding: 0 var(--gutter) 8px;
  text-align: center;
  animation: rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-pitch {
  max-width: 21em;
  margin-bottom: 22px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.hero-pitch em {
  font-style: normal;
  color: var(--gold-text);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ───────────── sections ───────────── */
.section {
  padding: 72px 0 0;
}
.section-head {
  text-align: center;
}
.section-head .lead {
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 18px;
  color: var(--gold-line);
}
.divider::before,
.divider::after {
  content: '';
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line));
}
.divider::after {
  transform: scaleX(-1);
}
.divider svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* «Как играть» */
.steps {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 16px;
  align-items: start;
  align-content: start;
  padding: 20px 20px 20px 18px;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(36, 26, 17, 0.92), rgba(18, 12, 8, 0.92));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 233, 163, 0.06);
}
.step-num {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  color: var(--gold-ink);
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold-mid) 55%, var(--gold-lo));
  box-shadow:
    0 0 0 3px rgba(14, 9, 6, 0.9),
    0 0 0 4px var(--gold-line),
    0 6px 14px rgba(0, 0, 0, 0.5);
}
.step h3 {
  padding-top: 2px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--gold-text);
}
.step p {
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* «Ничья? ТУШКА!» */
.tushka {
  position: relative;
  margin-top: 14px;
  padding: 26px 22px 26px;
  border-radius: var(--radius-l);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(224, 67, 78, 0.35);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(163, 20, 31, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(38, 14, 12, 0.95), rgba(18, 9, 7, 0.95));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.tushka-q {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tushka-stamp {
  display: inline-block;
  margin: 12px 0 16px;
  padding: 6px 18px 8px;
  border: 3px solid var(--ruby-hi);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 11vw, 48px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--ruby-hi);
  transform: rotate(-4deg);
  box-shadow:
    inset 0 0 0 2px rgba(14, 9, 6, 0.8),
    inset 0 0 0 4px rgba(224, 67, 78, 0.45),
    0 0 30px rgba(224, 67, 78, 0.25);
  text-shadow: 0 0 18px rgba(224, 67, 78, 0.35);
}
.tushka-main {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}
.tushka-more {
  max-width: 30em;
  margin: 8px auto 0;
  font-size: 15px;
  color: var(--ink-dim);
}

/* features with the pictures */
.features {
  display: grid;
  gap: 64px;
  margin-top: 36px;
}
.feature-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--panel-line-strong);
  box-shadow:
    0 0 0 4px rgba(14, 9, 6, 0.9),
    0 0 0 5px rgba(138, 106, 44, 0.45),
    0 24px 50px rgba(0, 0, 0, 0.6);
}
.feature-media img {
  width: 100%;
}
.feature-text {
  padding: 26px 4px 0;
}
.feature-text h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--gold-text);
}
.feature-text p:not(.eyebrow) {
  margin-top: 12px;
  font-size: 16.5px;
  color: var(--ink-soft);
}
.feature-text .eyebrow + h3 {
  margin-top: 10px;
}
.feature-text p b {
  color: var(--ink);
  font-weight: 800;
}

/* the named hands */
.combos {
  margin-top: 20px;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-m);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.combo {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'name pts' 'cards pts';
  align-items: center;
  gap: 0 12px;
  padding: 12px 16px;
}
.combo + .combo {
  border-top: 1px solid var(--divider);
}
.combo-name {
  grid-area: name;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--gold-text);
}
.combo-cards {
  grid-area: cards;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-dim);
}
.combo-pts {
  grid-area: pts;
  min-width: 52px;
  padding: 6px 10px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--gold-ink);
  background: linear-gradient(var(--gold-hi), var(--gold-mid) 55%, var(--gold-lo));
  box-shadow: 0 2px 0 var(--gold-edge);
}

/* ───────────── final call ───────────── */
.final {
  position: relative;
  margin-top: 88px;
  padding: 64px 0 56px;
  text-align: center;
  isolation: isolate;
}
.final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 50% 34%, rgba(33, 163, 93, 0.26), transparent 70%);
}
.final .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fan {
  position: relative;
  width: calc(var(--fan-card) * 2.3);
  height: calc(var(--fan-card) * 1.62);
  --fan-card: 74px;
}
.fan-card {
  position: absolute;
  top: 0;
  width: var(--fan-card);
}
.fan-back {
  left: 0;
  top: 8%;
  transform: rotate(-16deg);
}
.fan-seven {
  left: 32%;
  transform: rotate(-4deg);
}
.fan-six {
  left: 58%;
  top: 4%;
  transform: rotate(10deg);
}
.final .logo {
  --logo-size: 58px;
  margin-top: 8px;
}
.final .h2 {
  margin-top: 30px;
  font-size: clamp(26px, 7vw, 36px);
}
.final .lead {
  max-width: 26em;
  margin-bottom: 26px;
}

/* cards drawn as in the game (src/art/cards.tsx) */
.cardart {
  display: block;
  height: auto;
  aspect-ratio: 200 / 280;
  overflow: visible;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
}
.cardface .cf-edge {
  stroke: var(--card-edge);
  stroke-width: 1.5;
}
.cardface.red {
  color: var(--card-red);
}
.cardface.black {
  color: var(--card-black);
}
.cardface .cf-ink {
  fill: currentColor;
}
.cf-idx {
  font-family: var(--font-display);
  font-weight: 900;
  font-variant-numeric: lining-nums;
}
.cardface .cf-joker-wash {
  opacity: 0.16;
}
.cardface .cf-star {
  stroke: var(--gold-edge);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.cardback .cb-rim {
  fill: var(--card-back-rim);
}
.cardback .cb-lattice path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  stroke-opacity: 0.32;
}
.cardback .cb-lattice .cb-dot {
  fill: var(--gold);
  fill-opacity: 0.45;
}
.final-glow {
  position: absolute;
  left: 50%;
  top: -10px;
  width: 300px;
  height: 200px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(33, 163, 93, 0.4), transparent 70%);
  z-index: -1;
}

/* ───────────── footer ───────────── */
.footer {
  padding: 28px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--divider);
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-dim);
}
.footer-legal {
  max-width: 34em;
  margin: 0 auto;
  line-height: 1.55;
}
.footer-copy {
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-line);
}

/* ───────────── tablets ───────────── */
@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 22px 26px;
    text-align: left;
  }
  .step-num {
    grid-row: auto;
  }
  .hero-copy {
    margin-top: -200px;
  }
}

/* tablets in portrait: the pictures stay a comfortable size instead of filling the whole width */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .features {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ───────────── desktop: the wide hero with the heroine on the right ───────────── */
@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: min(100vh, 56.25vw, 1000px);
    align-items: center;
  }
  .hero-media {
    position: absolute;
    inset: 0;
  }
  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 30%;
  }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(14, 9, 6, 0.75) 0%, rgba(14, 9, 6, 0.35) 38%, transparent 55%),
      linear-gradient(transparent 70%, rgba(14, 9, 6, 0.6) 88%, var(--room) 100%);
  }
  .hero-left {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px var(--gutter) 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
  .hero-logo {
    padding-top: 0;
    --logo-size: clamp(72px, 7vw, 104px);
  }
  .hero-copy {
    margin-top: 34px;
    padding: 0;
  }
  .hero-pitch {
    font-size: 21px;
    margin-bottom: 30px;
  }
  .section {
    padding-top: 104px;
  }
  .features {
    gap: 96px;
    margin-top: 56px;
  }
  .feature {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 64px;
  }
  .feature:nth-child(even) .feature-media {
    order: 2;
  }
  .feature-text {
    padding: 0;
  }
  .feature-text p:not(.eyebrow) {
    font-size: 17.5px;
  }
  .step p {
    font-size: 16px;
  }
  .final {
    margin-top: 120px;
    padding: 84px 0 80px;
  }
  .fan {
    --fan-card: 88px;
  }
  .final .logo {
    --logo-size: 72px;
  }
}

/* ───────────── motion off ───────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
