/* Altiferoce — Colpo Secco
   Bold modernist poster. Handwritten CSS.
   Palette: graphite / bone / electric-orange / steel.
   No neon, no glow, no glassmorphism. */

:root {
  --graphite: #16181d;
  --graphite-soft: #23262e;
  --bone: #f2f1ec;
  --bone-dim: #e6e4db;
  --orange: #ff5b1f;
  --orange-ink: #d94612;
  --steel: #5b6b7a;
  --steel-dim: #8a97a3;
  --line: #d7d4c9;
  --line-dark: #2e323c;

  --maxw: 1240px;
  --gutter: clamp(1.1rem, 4vw, 3rem);

  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem);
  --step-3: clamp(2.1rem, 1.5rem + 3vw, 3.6rem);
  --step-4: clamp(2.8rem, 1.6rem + 6vw, 6.2rem);
  --step-5: clamp(3.6rem, 1.8rem + 9vw, 8.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--graphite);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1rem; max-width: 62ch; }
a { color: inherit; }
img { max-width: 100%; display: block; height: auto; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--graphite);
  color: var(--bone);
  padding: 0.7rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

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

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  font-family: "Sora", sans-serif;
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange-ink);
  display: inline-block;
  margin-bottom: 1rem;
}
.eyebrow--steel { color: var(--steel); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bone);
  border-bottom: 2px solid var(--graphite);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand svg { width: 30px; height: 30px; display: block; }
.brand span { color: var(--orange-ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { border-color: var(--orange); }

.nav-cta { margin-left: 0.4rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 2px solid var(--graphite);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--graphite);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.burger span { position: relative; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 0.85rem 1.3rem;
  border: 2px solid var(--graphite);
  background: var(--graphite);
  color: var(--bone);
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--play {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--graphite);
}
.btn--play:hover { background: var(--orange-ink); border-color: var(--orange-ink); color: var(--bone); }
.btn--play svg { width: 20px; height: 20px; }

.btn--ghost {
  background: transparent;
  color: var(--graphite);
}
.btn--ghost:hover { background: var(--graphite); color: var(--bone); }

.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.86rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, var(--graphite) 58% 61%, transparent 61%);
  opacity: 0.06;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-kicker {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--step--1);
  color: var(--steel);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-kicker::before {
  content: "";
  width: 40px; height: 3px;
  background: var(--orange);
  display: inline-block;
}
.hero h1 {
  font-size: var(--step-4);
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--orange-ink);
  font-weight: 800;
}
.hero-lead {
  font-size: var(--step-1);
  max-width: 34ch;
  color: var(--graphite-soft);
  margin-bottom: 1.8rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.6rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--steel);
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-badges li { display: flex; align-items: center; gap: 0.4rem; }
.hero-badges b { color: var(--graphite); font-weight: 800; }

/* hero media: phone framed by a live equalizer (expresses the game's tempo) */
.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1.5vw, 1.1rem);
}
.eq {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: min(260px, 60vw);
  padding-bottom: 6px;
}
.eq span {
  display: block;
  width: 6px;
  height: 30%;
  background: var(--orange);
  transform-origin: bottom;
  animation: eqbeat 900ms var(--ease) infinite alternate;
}
.eq span:nth-child(1) { animation-delay: -150ms; }
.eq span:nth-child(2) { animation-delay: -600ms; height: 55%; }
.eq span:nth-child(3) { animation-delay: -300ms; height: 40%; background: var(--steel); }
.eq span:nth-child(4) { animation-delay: -800ms; height: 70%; }
.eq span:nth-child(5) { animation-delay: -450ms; height: 45%; background: var(--steel); }
.eq span:nth-child(6) { animation-delay: -200ms; height: 60%; }
.eq span:nth-child(7) { animation-delay: -700ms; height: 35%; }
@keyframes eqbeat {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1.15); }
}

/* phone mock */
.phone {
  position: relative;
  width: min(260px, 66vw);
  aspect-ratio: 9 / 16;
  border: 3px solid var(--graphite);
  background: var(--graphite);
  padding: 8px;
  box-shadow: 14px 14px 0 var(--orange);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
/* pulsing ring: the "tap" beat of a one-touch game */
.phone-pulse {
  position: absolute;
  left: 50%; top: 50%;
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: tap 1800ms var(--ease) infinite;
}
@keyframes tap {
  0%   { transform: scale(0.4); opacity: 0.9; }
  70%  { opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ---------- generic display type ---------- */
.display {
  font-size: var(--step-3);
  max-width: 18ch;
}
.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 60ch;
}
.section-head p { color: var(--graphite-soft); }

/* tempo band divider (signature: beat track + running playhead) */
.diag {
  position: relative;
  height: clamp(56px, 7vw, 84px);
  background: var(--graphite);
  overflow: hidden;
}
.diag::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, #33373f 0 2px, transparent 2px 26px);
}
.diag::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 12px; height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 91, 31, 0.22);
  animation: playhead 6s linear infinite;
}
.diag--orange { background: var(--orange); }
.diag--orange::before { background: repeating-linear-gradient(90deg, rgba(22, 24, 29, 0.35) 0 2px, transparent 2px 26px); }
.diag--orange::after { background: var(--graphite); box-shadow: 0 0 0 4px rgba(22, 24, 29, 0.18); }

/* ---------- panels / dark section ---------- */
.panel-dark {
  background: var(--graphite);
  color: var(--bone);
}
.panel-dark .eyebrow { color: var(--orange); }
.panel-dark p { color: #cfd2d8; }
.panel-dark a { color: var(--bone); }

/* ---------- about / story ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.about-grid .lede { font-size: var(--step-1); color: var(--graphite); }
.about-meta {
  border-left: 3px solid var(--orange);
  padding-left: 1.2rem;
  display: grid;
  gap: 1.1rem;
}
.about-meta dt {
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
}
.about-meta dd { margin: 0.15rem 0 0; font-weight: 600; }

/* ---------- feature rows (com'è il gioco) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.feature-row:nth-child(even) .feature-media { order: -1; }
.feature-num {
  font-family: "Sora", sans-serif;
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1;
  color: var(--bone-dim);
  -webkit-text-stroke: 2px var(--steel);
  color: transparent;
}
.panel-dark .feature-num { -webkit-text-stroke: 2px var(--steel-dim); }
.feature-media img {
  border: 3px solid var(--graphite);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ---------- tips (broken grid, varied heights) ---------- */
.tips {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.8rem, 2vw, 1.4rem);
}
.tip {
  border: 2px solid var(--graphite);
  background: var(--bone);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tip .tip-index {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: var(--step-2);
  color: var(--orange-ink);
  line-height: 1;
}
.tip h3 { font-size: var(--step-1); }
.tip p { margin: 0; color: var(--graphite-soft); font-size: 0.98rem; }
.tip:hover { background: var(--graphite); color: var(--bone); }
.tip:hover p { color: #cfd2d8; }
.tip:hover .tip-index { color: var(--orange); }

/* asymmetric spans */
.tip--a { grid-column: span 7; }
.tip--b { grid-column: span 5; }
.tip--c { grid-column: span 5; }
.tip--d { grid-column: span 4; }
.tip--e { grid-column: span 8; }
.tip--wide { grid-column: span 6; }

.tip--accent { background: var(--orange); border-color: var(--orange); }
.tip--accent .tip-index { color: var(--graphite); }
.tip--accent:hover { background: var(--orange-ink); }
.tip--accent:hover p, .tip--accent:hover h3 { color: var(--bone); }

/* ---------- screenshots strip ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(0.8rem, 2vw, 1.4rem);
  align-items: end;
}
.shot { position: relative; }
.shot:nth-child(2) { transform: translateY(-1.5rem); }
.shot:nth-child(4) { transform: translateY(1rem); }
.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 3px solid var(--graphite);
  background: var(--graphite);
}
.shot figcaption {
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.6rem;
  color: var(--steel);
}
.shot figcaption b { color: var(--orange-ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--graphite); max-width: 800px; }
.faq-item { border-bottom: 2px solid var(--graphite); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--graphite);
  padding: 1.2rem 2.5rem 1.2rem 0;
  position: relative;
  letter-spacing: -0.01em;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--orange-ink);
  transition: transform 0.25s var(--ease);
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a > div { padding: 0 0 1.4rem; color: var(--graphite-soft); }

/* ---------- CTA strip + form ---------- */
.cta-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.cta-strip h2 { font-size: var(--step-3); }

.form-card { display: grid; gap: 0.9rem; }
.field { display: grid; gap: 0.35rem; }
.field label {
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel-dim);
}
.field input,
.field textarea {
  font-family: "Inter Tight", sans-serif;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--steel-dim);
  background: var(--graphite-soft);
  color: var(--bone);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa4b0; }
.field input:focus,
.field textarea:focus { border-color: var(--orange); outline: none; }
.form-note { font-size: 0.82rem; color: #aeb4bd; margin: 0; }
.field--consent { gap: 0; }
.field label.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.86rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
  color: #c4cad2;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.1rem 0 0;
  padding: 0;
  accent-color: var(--orange);
  cursor: pointer;
}
.consent a { color: var(--orange); }

/* ---------- generic content pages ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin: 2.4rem 0 0.8rem; }
.prose h3 { font-size: var(--step-1); margin: 1.8rem 0 0.6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; max-width: 62ch; }
.prose a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated {
  font-size: 0.85rem;
  color: var(--steel);
  font-family: "Sora", sans-serif;
  letter-spacing: 0.03em;
}

/* page hero (inner pages) — poster presence, tied to the home hero */
.page-hero { position: relative; padding-block: clamp(2.6rem, 6vw, 4.8rem) clamp(1.6rem, 3vw, 2.6rem); }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; }
.page-hero .eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--orange);
  display: inline-block;
}
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); margin-bottom: 0.9rem; max-width: 20ch; }
.page-hero p { font-size: var(--step-1); color: var(--graphite-soft); max-width: 52ch; }

/* ---------- steps (come-si-gioca) ---------- */
.steps { display: grid; gap: 1.2rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: baseline;
  border-top: 2px solid var(--line);
  padding-top: 1.2rem;
}
.step .step-n {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: var(--step-2);
  color: var(--orange-ink);
  line-height: 1;
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--graphite-soft); }

/* ---------- disclaimer band ---------- */
.disclaimer {
  border: 2px dashed var(--steel-dim);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--bone-dim);
}
.disclaimer p { margin: 0; font-size: 0.95rem; color: var(--graphite-soft); }
.disclaimer strong { color: var(--graphite); }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 640px;
  margin-inline: auto;
  background: var(--graphite);
  color: var(--bone);
  border: 2px solid var(--orange);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  justify-content: space-between;
  z-index: 150;
}
.cookie p { margin: 0; font-size: 0.9rem; max-width: 42ch; color: #cfd2d8; }
.cookie[hidden] { display: none; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--graphite);
  color: #cfd2d8;
  border-top: 4px solid var(--orange);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}
.site-footer .brand { color: var(--bone); }
.footer-about { font-size: 0.95rem; max-width: 40ch; }
.footer-col h3 {
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel-dim);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-col a { text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--steel-dim);
}
.footer-disclaimer {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--steel-dim);
  max-width: 90ch;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 62vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1.2rem;
}
.error-page .code {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 22vw, 13rem);
  line-height: 0.85;
  color: var(--orange);
  -webkit-text-stroke: 2px var(--graphite);
}

/* ---------- grazie ---------- */
.thanks {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1.3rem;
}
.thanks .mark {
  width: 76px; height: 76px;
  margin-inline: auto;
  border: 3px solid var(--orange);
  display: grid;
  place-content: center;
}
.thanks .mark svg { width: 40px; height: 40px; }

/* ---------- reveal (GSAP) ---------- */
.reveal, .reveal-child { opacity: 1; }
.gsap-ready .reveal,
.gsap-ready .reveal-child { opacity: 0; }

/* ---------- TEMPO SYSTEM (signature: score + playhead + beat) ---------- */

/* score voice: monospaced numerals, like an arcade scoreboard */
.score {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* tempo track: a beat line with a running playhead, used as divider */
.tempo-track {
  position: relative;
  height: 3px;
  background:
    repeating-linear-gradient(90deg,
      var(--line-dark) 0 2px, transparent 2px 26px);
}
.tempo-track .playhead {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px; height: 12px;
  margin-top: -6px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 91, 31, 0.22);
  animation: playhead 6s linear infinite;
}
@keyframes playhead {
  from { left: 0; }
  to   { left: 100%; }
}

/* stat band: dark, three big scoreboard numbers under the hero */
.statband {
  background: var(--graphite);
  color: var(--bone);
}
.statband .tempo-track { background: repeating-linear-gradient(90deg, #33373f 0 2px, transparent 2px 26px); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(2.2rem, 5vw, 3.4rem);
}
.stat { border-left: 3px solid var(--orange); padding-left: clamp(0.9rem, 2vw, 1.4rem); }
.stat-num {
  margin: 0 0 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 0.9;
}
.stat-num .score {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  color: var(--bone);
}
.stat-num i {
  font-style: normal;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--orange);
}
.stat-label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--steel-dim);
  max-width: 22ch;
}

/* reviews: editorial list with a score rail (distinct layout family) */
.reviews {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--graphite);
}
.review {
  display: grid;
  grid-template-columns: clamp(64px, 12vw, 96px) auto 1fr;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding-block: clamp(1.4rem, 3vw, 2rem);
  border-bottom: 2px solid var(--graphite);
  align-items: start;
}
/* app icon (Google Play) */
.review-shot {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid var(--graphite);
  border-radius: 14px;
  background: var(--bone);
}
.review:hover .review-shot { border-color: var(--orange); }
.review-score { text-align: center; min-width: 88px; }
.review-score .score {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  line-height: 1;
  color: var(--orange-ink);
}
.review-score small {
  font-family: "Sora", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
  display: block;
  margin-top: 0.4rem;
}
.review-body h3 { font-size: var(--step-1); }
.review-body h3 span {
  color: var(--steel);
  font-weight: 600;
  font-size: 0.62em;
  letter-spacing: 0;
}
.review-body p { color: var(--graphite-soft); margin: 0.5rem 0 0; }
.review-tag { font-size: 0.92rem; }
.review-tag b { font-family: "Sora", sans-serif; color: var(--graphite); font-weight: 700; }
.review:hover .review-score .score { color: var(--orange); }

/* kinetic marquee: the core loop of the game, in motion (used once) */
.marquee {
  overflow: hidden;
  border-block: 2px solid var(--graphite);
  background: var(--orange);
  padding-block: 0.7rem;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--graphite);
  padding-inline: 1rem;
  white-space: nowrap;
}
.marquee-track span b { color: var(--bone); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .about-grid,
  .feature-row,
  .cta-strip { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tips { grid-template-columns: repeat(6, 1fr); }
  .tip--a, .tip--b, .tip--c, .tip--d, .tip--e, .tip--wide { grid-column: span 6; }
  .tip--b, .tip--c { grid-column: span 3; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bone);
    border-bottom: 2px solid var(--graphite);
    padding: 0.5rem var(--gutter) 1.4rem;
    transform: translateY(-120%);
    transition: transform 0.3s var(--ease);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
  }
  .nav-links[data-open="true"] { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:hover { border-color: var(--line); color: var(--orange-ink); }
  .nav-cta { margin: 0.8rem 0 0; }
  .burger { display: inline-flex; }
  .shot:nth-child(2), .shot:nth-child(4) { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 0.4rem; }
  .stat-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .eq { display: none; }
  .review {
    grid-template-columns: clamp(56px, 20vw, 80px) 1fr;
    column-gap: 1rem;
    row-gap: 0.9rem;
  }
  .review-body { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .gsap-ready .reveal { opacity: 1 !important; transform: none !important; }
  /* tempo motifs collapse to a calm static state */
  .eq span { animation: none; transform: scaleY(0.7); }
  .phone-pulse { animation: none; opacity: 0; }
  .tempo-track .playhead { animation: none; left: 38%; }
  .diag::after { animation: none; left: 38%; }
  .marquee-track { animation: none; transform: none; }
}
