/* ============================================================
   EasilyPromote — landing page styles
   Plain CSS. Warm cream + golden-yellow accent design system.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:          #FBF8F1;
  --bg-alt:      #FFFFFF;
  --surface:     #FFFFFF;
  --ink:         #1A1712;
  --ink-soft:    #56514A;
  --muted:       #8B857A;
  --accent:      #F5B400;
  --accent-strong:#E6A200;
  --accent-soft: #FFF2CE;
  --line:        #ECE6D8;
  --line-strong: #DCD5C4;
  --dark:        #1B1815;
  --dark-soft:   #2A2621;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(26, 23, 18, .06);
  --shadow-md: 0 12px 32px rgba(26, 23, 18, .08);
  --shadow-lg: 0 24px 60px rgba(26, 23, 18, .12);

  --container: 1140px;
  --gutter: 24px;

  --font: "Rethink Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Sacramento", "Segoe Script", "Brush Script MT", cursive;

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* ---- Motion tokens (centralized) ---- */
  --card-ease: cubic-bezier(.22, .61, .36, 1);
  --card-dur: 450ms;
  --card-lift: -8px;
  --card-glow: 0 24px 60px rgba(255, 181, 0, .35);
  --card-shadow-soft: 0 14px 34px rgba(26, 23, 18, .16);
  --card-border: #F5B400;
  --sticker-dur: 300ms;
  --sticker-rotate: 10deg;
  --sticker-lift: -6px;
  --sticker-scale: 1.08;
  --btn-dur: 250ms;
  --btn-lift: -2px;
  --btn-white-hover: #FBDFB1;
}

/* ---- Local display/script font (matches the hand-drawn annotations) ---- */
@font-face {
  font-family: "Sacramento";
  src: url("../assets/Typography/Sacramento/Sacramento-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-fs: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: var(--btn-fs); font-weight: 700; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform var(--btn-dur) ease, box-shadow var(--btn-dur) ease, background-color var(--btn-dur) ease, color var(--btn-dur) ease;
  white-space: nowrap;
}
.btn-lg { --btn-fs: 17px; padding: 16px 30px; }

/* Primary — amber; hover overlays 50% #FBFBFB over the amber (kept underneath) + lift + deeper shadow */
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 6px 18px rgba(245, 180, 0, .35); }
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(var(--btn-lift));
  box-shadow: inset 0 0 0 999px rgba(251, 251, 251, .5), 0 12px 30px rgba(245, 180, 0, .5);
}

/* Secondary — white; hover → very light amber */
.btn-white { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-white:hover,
.btn-white:focus-visible { background: var(--btn-white-hover); transform: translateY(var(--btn-lift)); box-shadow: var(--shadow-md); }

/* Sign in — light pill; hover darkens slightly + soft shadow + lift */
.btn-signin { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-signin:hover,
.btn-signin:focus-visible { background: #F1ECE1; transform: translateY(var(--btn-lift)); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(26,23,18,.03); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(var(--btn-lift)); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.brand-accent { color: var(--accent-strong); }
.brand-mark {
  width: 30px; height: 30px;
  /* Real brand mark shipped in the project */
  background: url("../assets/logos/logo-mark.png") center / contain no-repeat;
  flex: none;
}
.brand-mark.sm { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 241, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.primary-nav ul { display: flex; gap: 30px; }
.primary-nav a { position: relative; font-size: 15px; font-weight: 600; color: var(--ink); }
.primary-nav a span { position: relative; display: inline-block; transition: color var(--btn-dur) ease; }
.primary-nav a span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px;
  background: var(--accent-strong); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--btn-dur) var(--ease);
}
.primary-nav a:hover span,
.primary-nav a:focus-visible span { color: var(--accent-strong); }
.primary-nav a:hover span::after,
.primary-nav a:focus-visible span::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Audience switch (For Sponsors / For Creators) — segmented pill */
.aud-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  background: var(--line); border-radius: 999px;
}
.aud-opt {
  display: inline-block; padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: -0.01em;
  transition: color .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
}
.aud-opt:hover { color: var(--ink); }
.aud-opt.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.aud-opt.is-active:hover { color: var(--ink); }
/* Full-width variant inside the mobile menu */
.mobile-nav .aud-toggle { display: flex; width: 100%; margin-bottom: 8px; }
.mobile-nav .aud-opt { flex: 1; text-align: center; padding: 10px 12px; color: var(--muted); }
.mobile-nav .aud-opt.is-active { color: var(--ink); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong);
  background: var(--surface); border-radius: 12px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav ul { display: flex; flex-direction: column; padding: 14px var(--gutter) 22px; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 6px; font-weight: 600; color: var(--ink); }
.mobile-nav .btn { width: 100%; margin-top: 6px; }

/* ---------- Section rhythm ---------- */
section { position: relative; }
.numbers, .talent, .simulator, .why, .testimonials { padding-block: clamp(64px, 8vw, 108px); }
.section-title { font-size: clamp(30px, 4.4vw, 46px); }
.section-title.center { text-align: center; }
.center { text-align: center; }
.hl { color: var(--accent-strong); }
.section-lead {
  color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 18px); max-width: 620px; margin-top: 16px;
}
.section-lead.center { margin-inline: auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700;
  color: var(--muted); margin-bottom: 14px;
}
.br-desk { display: none; }
@media (min-width: 720px) { .br-desk { display: inline; } }

/* Hand-drawn annotations */
.doodle-note {
  font-family: var(--font-hand); font-size: 21px; font-weight: 600;
  color: var(--ink-soft); line-height: 1.05; display: inline-block;
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-inner { position: relative; }
.hero-copy {
  max-width: 640px; margin-inline: auto; text-align: center;
  position: relative; z-index: 2; padding-block: clamp(24px, 5vw, 52px);
}
.hero h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.03em; line-height: 1.06; font-weight: 800; }
.hero-sub { color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 19px); max-width: 560px; margin: 22px auto 0; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---- Hero collage / creator video cards (reusable component) ---- */
.hero-collage { position: relative; }

.hero-card {
  --w: 200px; --rot: 0deg;
  margin: 0; width: var(--w); aspect-ratio: 3 / 4;
  border: 5px solid var(--card-border); border-radius: 22px;
  /* overflow visible so the badges + withdraw card can hang past the card edge (as in the design);
     the video clips itself to the inner radius below. */
  overflow: visible;
  background: #0d0b09; box-shadow: var(--card-shadow-soft);
  transform: rotate(var(--rot)); cursor: pointer; will-change: transform;
  transition: transform var(--card-dur) var(--card-ease), box-shadow var(--card-dur) var(--card-ease);
}
.hero-card__video {
  width: 100%; height: 100%; object-fit: cover; display: block; background: #0d0b09;
  border-radius: 16px; /* matches the inner curve of the 22px / 5px border */
}
.hero-card:hover,
.hero-card:focus-within,
.hero-card.is-playing {
  transform: translateY(var(--card-lift)) rotate(0deg);
  box-shadow: var(--card-glow);
}
.hero-card:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 4px; }

/* Poster overlay: real captured frame sits above the video and fades out once
   the video is actually playing — the card reads as a photo, never a black box. */
.card-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 1; pointer-events: none; opacity: 1; transition: opacity .35s var(--ease);
}
.hero-card .card-poster { border-radius: 16px; }
.fan-card .card-poster { border-radius: 15px; }
.hero-badge, .earn-card { z-index: 3; }

/* ---- Gamified badges (recreated from the reference) ---- */
.hero-badge {
  position: absolute; left: -16px; bottom: -16px; width: 86px; height: 86px; z-index: 3;
  transform: rotate(var(--brot, -8deg)); cursor: pointer;
  transition: transform var(--sticker-dur) ease;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .22));
}
.hero-badge img { width: 100%; height: 100%; display: block; object-fit: contain; }
.hero-badge:hover,
.hero-badge:focus-visible {
  transform: rotate(var(--sticker-rotate)) translateY(var(--sticker-lift)) scale(var(--sticker-scale));
  outline: none;
}
/* Wide banner sticker (sticker 2) keeps its native ~3.75:1 ratio */
.hero-badge--wide {
  --brot: -4deg;
  width: 188px; height: auto; left: 8px; right: auto; bottom: -18px;
}
.hero-badge--wide img { height: auto; }

/* ---- Earnings / withdraw card overlay ---- */
.earn-card {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  width: 152px; background: #17130F; color: #fff; border-radius: 14px;
  padding: 12px 14px 14px; box-shadow: var(--shadow-md); z-index: 3;
}
.earn-row { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.earn-row + .earn-row { margin-top: 7px; }
.earn-row--muted { color: rgba(255, 255, 255, .5); font-weight: 600; font-size: 10px; letter-spacing: .02em; }
.earn-row--muted.small { font-size: 9px; margin-top: 3px; }
.earn-dot { width: 15px; height: 15px; border-radius: 50%; flex: none; }
.earn-dot--amber { background: var(--accent); }
.earn-dot--green { background: #16B57A; }
.earn-amt { font-size: 13px; font-weight: 800; }
.earn-unit { font-size: 10px; color: rgba(255, 255, 255, .6); font-weight: 700; }
.earn-btn {
  margin-top: 11px; width: 100%; background: #fff; color: #17130F; border: 0;
  border-radius: 9px; padding: 9px; font-weight: 800; font-size: 12px; cursor: pointer;
  transition: background-color var(--btn-dur) ease, transform var(--btn-dur) ease;
}
.earn-btn:hover { background: var(--btn-white-hover); transform: translateY(-1px); }

/* ---- Hand-drawn annotations ---- */
.doodle { position: absolute; display: flex; flex-direction: column; z-index: 2; pointer-events: none; }
.doodle .doodle-note { font-size: 28px; color: var(--ink); white-space: nowrap; }
.doodle-arrow { width: 46px; height: auto; }

/* Desktop composition: cards framing the headline */
@media (min-width: 980px) {
  .hero-inner { min-height: 640px; }
  .hero-collage { position: absolute; inset: 0; pointer-events: none; }
  .hero-card, .hero-badge, .earn-btn { pointer-events: auto; }

  .hero-card { position: absolute; }
  .hero-card--tl { --w: 196px; --rot: -6deg; left: 0;   top: 7%; }
  .hero-card--tr { --w: 200px; --rot:  6deg; right: 0;  top: 3%; }
  .hero-card--bl { --w: 208px; --rot:  5deg; left: 4%;  bottom: 6%; }
  .hero-card--br { --w: 226px; --rot: -6deg; right: 1%; bottom: 0; }

  .doodle--left  { left: 2%;  top: 44%; }
  .doodle--left  .doodle-note { transform: rotate(-3deg); }
  .doodle--left  .doodle-arrow { width: 40px; margin: 4px 0 0 64px; transform: rotate(6deg); }
  .doodle--right { right: 1.5%; bottom: 4%; align-items: flex-end; }
  .doodle--right .doodle-note { transform: rotate(-4deg); }
  .doodle--right .doodle-arrow { width: 62px; align-self: flex-start; margin-top: 4px; transform: rotate(-8deg) scaleX(-1); }
}

/* Tablet / mobile: stacked staggered grid, no overlap with headline */
@media (max-width: 979px) {
  .hero-collage {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 4vw, 28px); margin-top: 32px; max-width: 560px; margin-inline: auto;
  }
  .hero-card { position: relative; width: 100%; }
  .hero-card--tl { --rot: -3deg; }
  .hero-card--tr { --rot: 3deg; }
  .hero-card--bl { --rot: 3deg; }
  .hero-card--br { --rot: -3deg; }
  .doodle { display: none; }
  .earn-card { display: none; }
  .hero-badge { width: 66px; height: 66px; left: -10px; bottom: -10px; }
  .hero-badge--wide { width: 150px; height: auto; left: 6px; bottom: -12px; }
}

/* ---------- Trusted ---------- */
.trusted { border-block: 1px solid var(--line); background: var(--bg-alt); padding-block: 24px; overflow: hidden; }
.trusted-inner { display: flex; align-items: center; gap: 0; }
.trusted-label {
  flex: none; position: relative; z-index: 2; white-space: nowrap;
  font-size: 14px; font-weight: 700; color: var(--ink-soft);
  padding-right: 32px; background: var(--bg-alt);
}
/* Marquee: real brand logos slide right -> left, fading in behind the label. */
.logo-marquee {
  position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 6%, #000 90%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 6%, #000 90%, transparent 100%);
}
.logo-track {
  display: flex; align-items: center; gap: 56px; width: max-content;
  animation: logo-marquee 36s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.brand-logo {
  height: 26px; width: auto; flex: none; opacity: .7; user-select: none;
  filter: grayscale(1); transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.brand-logo:hover { opacity: 1; filter: grayscale(0); }
/* MTN's artwork only fills ~half its viewBox, so it renders small at 26px.
   Bump its height so the visible mark matches the other logos (SVG = no quality loss). */
.brand-logo--mtn { height: 50px; }
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* -50% = exactly one logo set → seamless */
}
@media (max-width: 560px) {
  .trusted-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .trusted-label { padding-right: 0; text-align: center; }
}

/* ---------- Numbers ---------- */
.numbers { background: var(--bg); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.stat-head { display: flex; flex-direction: column; gap: 6px; }
.stat-badge {
  align-self: flex-start; font-size: 13px; font-weight: 700;
  background: var(--accent-soft); color: var(--ink); padding: 6px 12px; border-radius: 999px;
}
.stat-cap { font-size: 14px; color: var(--muted); }
.stat-big { font-size: clamp(38px, 4.4vw, 54px); font-weight: 800; color: var(--accent-strong); letter-spacing: -0.03em; line-height: 1; }
.avatar-cluster { display: flex; align-items: center; }
.av {
  /* flex:0 0 <size> stops the flex row from squashing the width into an oval */
  flex: 0 0 48px; width: 48px; height: 48px; aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden; border: 3px solid var(--surface);
  margin-left: -14px; box-shadow: var(--shadow-sm); background: var(--accent-soft);
}
.av:first-child { margin-left: 0; }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-more { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: -0.02em; }
.mini-bars { width: 130px; height: 62px; }
.mini-bars rect { fill: var(--accent); }
.mini-bars rect:last-child { fill: var(--accent-strong); }

/* ---------- Proven talent ---------- */
.talent { background: var(--bg-alt); border-block: 1px solid var(--line); overflow-x: clip; }
.talent-sticker { display: inline-block; height: 44px; width: auto; vertical-align: -12px; margin-right: 8px; }
/* Doodle notes match the Why-us style: dark ink handwriting + blue arrow */
.note-talent { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin-top: 14px; }
.note-talent .doodle-note { color: var(--ink); transform: rotate(-3deg); }
.note-talent img { width: 30px; height: auto; margin-top: 6px; }
/* ---- Fan carousel (vanilla port of the card-fan-carousel) ----
   48px above (from the text) and 48px below (to the controls); js/main.js
   sizes .fan height to tightly wrap the cards so there's no dead whitespace. */
.fan {
  position: relative; margin-top: 48px;
  height: clamp(20rem, 44vw, 27rem); /* fallback before JS measures + sets an exact height */
  overflow: visible; touch-action: pan-y;
}
.fan-stage { position: absolute; inset: 0; will-change: transform; }
/* While measuring, freeze transitions so cards snap to their resting positions */
.fan--measuring .fan-card, .fan--measuring .fan-stage { transition: none !important; }
.fan-card {
  position: absolute; top: 50%; left: 50%; margin: 0;
  width: clamp(10rem, 23vw, 16rem); aspect-ratio: 3 / 4;
  border-radius: 20px; overflow: hidden; border: 5px solid var(--card-border, #F5B400);
  background: #0d0b09; box-shadow: var(--shadow-md); cursor: pointer;
  transform-origin: center center; will-change: transform, opacity;
  /* JS sets transform inline; this transition drives the fan spread + hover physics */
  transition: transform .5s var(--card-ease), opacity .45s var(--ease), box-shadow .35s var(--ease);
  /* base transform until JS runs (centered) — avoids a flash in the corner */
  transform: translate(-50%, -50%);
}
.fan-card__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; border-radius: 15px; background: #0d0b09;
}
.fan-card:hover, .fan-card:focus-visible { outline: none; box-shadow: 0 24px 60px rgba(245, 180, 0, .35); }

/* Fan pagination controls (prev / dots / next) */
.fan-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 48px; }
.fan-arrow {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--ink-soft);
  box-shadow: var(--shadow-sm); transition: color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), background .25s var(--ease);
}
.fan-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fan-arrow:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.fan-arrow:active { transform: translateY(0); opacity: .8; }
.fan-arrow:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; }
.fan-dots { display: flex; align-items: center; gap: 9px; }
.fan-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; border: none; cursor: pointer;
  background: var(--line-strong); transition: background .25s var(--ease), transform .25s var(--ease);
}
.fan-dot:hover { background: var(--muted); }
.fan-dot[aria-current="true"] { background: var(--accent-strong); transform: scale(1.35); }
.fan-dot:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }

/* ---------- Simulator ---------- */
.simulator { background: var(--bg); }
.sim-head { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.note-sim { display: flex; flex-direction: column; align-items: flex-start; max-width: 300px; }
.note-sim .doodle-note { color: var(--ink); transform: rotate(-3deg); }
.note-sim img { width: 76px; height: auto; margin: 2px 0 0 40px; }
.sim-panel {
  margin-top: 40px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-md);
}
.sim-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sim-panel-label { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.sim-reach { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: var(--accent-strong); }

.sim-slider-wrap { margin-top: 22px; }
.sim-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 999px;
  background: var(--line); outline-offset: 6px; cursor: pointer;
  background-image: linear-gradient(var(--accent), var(--accent-strong));
  background-repeat: no-repeat;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 4px solid var(--accent-strong); box-shadow: var(--shadow-md); cursor: grab;
  transition: transform .12s var(--ease);
}
.sim-slider::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
.sim-slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--accent-strong);
  box-shadow: var(--shadow-md); cursor: grab;
}
.sim-slider::-moz-range-track { height: 12px; border-radius: 999px; background: var(--line); }
.sim-slider::-moz-range-progress { height: 12px; border-radius: 999px; background: var(--accent-strong); }
.sim-ticks { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--muted); font-weight: 600; }

.sim-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.sim-result { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.sim-result-label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.sim-result-value { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; }

/* ---------- Why / comparison ---------- */
.why { background: var(--bg-alt); border-block: 1px solid var(--line); }
.why-head { position: relative; }
.why-culture {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: clamp(88px, 10vw, 132px); height: auto; user-select: none; pointer-events: none;
}
.why-note {
  position: absolute; right: 0; top: 50%; transform: translateY(-60%);
  width: clamp(160px, 15vw, 200px); display: flex; flex-direction: column; align-items: flex-start;
  pointer-events: none;
}
.why-note .doodle-note { color: var(--ink); font-size: clamp(17px, 1.7vw, 22px); transform: rotate(-3deg); }
.why-note img { width: 42px; height: auto; margin: 2px 0 0 28px; }
@media (max-width: 992px) {
  .why-culture, .why-note { display: none; }
}
.compare-scroll { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 20px; text-align: left; vertical-align: middle; font-size: 15px; }
.compare thead th { font-weight: 700; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.compare tbody th[scope="row"] { font-weight: 700; color: var(--ink); width: 190px; }
.compare tbody td { color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.col-us-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.compare .col-us { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.compare thead .col-us { border-radius: var(--radius) var(--radius) 0 0; border-bottom-color: transparent; }
.compare tbody tr:last-child .col-us { border-radius: 0 0 var(--radius) var(--radius); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg); overflow: hidden; }
.tst-head { position: relative; }
.tst-watermelon {
  position: absolute; right: 0; top: -26px; width: clamp(84px, 9vw, 118px); height: auto;
  transform: rotate(8deg); user-select: none; pointer-events: none;
}
.tst-sub {
  display: inline-flex; align-items: center; gap: 14px; justify-content: center;
  width: 100%; margin-top: 14px; color: var(--ink-soft); font-size: clamp(16px, 1.6vw, 19px);
}
.tst-skate { width: clamp(64px, 7vw, 92px); height: auto; flex: none; user-select: none; }

/* Two-row marquee */
.tst-marquee {
  position: relative; margin-top: 44px; display: flex; flex-direction: column; gap: 18px;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.tst-row { display: flex; gap: 18px; width: max-content; animation: tst-scroll 46s linear infinite; }
.tst-row--reverse { animation-direction: reverse; }
.tst-marquee:hover .tst-row { animation-play-state: paused; }
@keyframes tst-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tst-card {
  width: 320px; flex: none; box-sizing: border-box;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.tst-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tst-person { display: flex; align-items: center; gap: 12px; }
.tst-avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; overflow: hidden; background: var(--accent-soft); }
.tst-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tst-name { font-weight: 800; font-size: 15px; color: var(--ink); }
.tst-role { font-size: 13px; color: var(--muted); }
.tst-quote { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* ---------- CTA ---------- */
.cta-wrap { padding-block: clamp(30px, 5vw, 60px); background: var(--bg); }
.cta-card {
  background: var(--dark); color: #fff; border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); text-align: center;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,180,0,.22), transparent 70%);
  right: -80px; bottom: -120px;
}
.cta-card h2 { font-size: clamp(28px, 4vw, 46px); position: relative; }
.cta-card p { color: rgba(255,255,255,.72); max-width: 520px; margin: 18px auto 0; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: #FBF1E8; border-top: 1px solid var(--line); padding-top: 72px; overflow: hidden; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 32px; }
.footer-tag { color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 340px; margin-top: 20px; }
.footer-col h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col a { font-size: 16px; color: var(--ink-soft); transition: color .18s var(--ease); }
.footer-col a:hover { color: var(--ink); }
/* Bottom watermark = the provided "Company Name" logo, full-width and bleeding off the bottom edge */
.footer-watermark {
  display: block; width: 100%; height: auto; margin-top: 24px; margin-bottom: -1.2%;
  user-select: none; pointer-events: none;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn, .fan-card, .tst-card { transition: none !important; }
  .logo-track, .tst-row { animation: none !important; }
  /* Hero: disable rotation + lift, but keep cards playable and legible */
  .hero-card { transition: none !important; transform: none !important; }
  .hero-card:hover, .hero-card:focus-within, .hero-card.is-playing {
    transform: none !important; box-shadow: var(--card-shadow-soft);
  }
  .hero-badge { transition: none !important; }
  .hero-badge:hover, .hero-badge:focus-visible { transform: rotate(var(--brot, -8deg)) !important; }
}

/* ---------- Image placeholder fallback (until real assets are added) ---------- */
.img-missing {
  position: relative; background: linear-gradient(135deg, var(--accent-soft), #fff);
  display: grid; place-items: center; min-height: 60px; color: var(--muted);
}
.img-missing::after {
  content: attr(data-ph); font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: 4px; text-align: center;
}
.brand-logo.img-missing { min-height: 26px; min-width: 90px; border-radius: 6px; }
.av.img-missing::after, .tst-avatar.img-missing::after { content: ""; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
  .primary-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .aud-toggle { display: none; } /* moves into the mobile menu */
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tst-watermelon { width: 84px; top: -18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .stat-grid { grid-template-columns: 1fr; }
  .sim-results { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .sim-head { align-items: flex-start; }
  .note-sim, .note-talent { display: none; }
}
