/* ============================================
   Jack on the Box — design system
   Colors: WHITE / YELLOW / VIOLET (per brief)
   Fonts:  Unbounded (display) + DM Sans (body)
   ============================================ */

:root {
  /* Brand colors */
  --white: #ffffff;
  --off-white: #fbfaf7;
  --cream: #fff9e6;
  --yellow: #ffd400;
  --yellow-deep: #f5b800;
  --violet: #6c3bff;
  --violet-deep: #1a0a4d;
  --violet-soft: #e7defe;
  --ink: #0d0a1f;
  --ink-soft: #2c2745;
  --muted: #6b6584;
  --line: rgba(108, 59, 255, 0.14);
  --line-strong: rgba(108, 59, 255, 0.28);

  /* Surfaces */
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);

  /* Shadows */
  --shadow-sm: 0 6px 18px rgba(26, 10, 77, 0.08);
  --shadow: 0 24px 60px rgba(26, 10, 77, 0.12);
  --shadow-lg: 0 32px 80px rgba(26, 10, 77, 0.18);
  --shadow-yellow: 0 14px 36px rgba(255, 212, 0, 0.38);
  --shadow-violet: 0 14px 36px rgba(108, 59, 255, 0.32);

  /* Geometry */
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius: 24px;
  --radius-lg: 36px;
  --container: 1240px;
  --nav-h: 86px;

  /* Motion */
  --ease: 380ms cubic-bezier(.2,.8,.2,1);
  --ease-bounce: 600ms cubic-bezier(.34,1.56,.64,1);
}

/* ============================================
   Reset / base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px); /* offset anchors below sticky nav */
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent rubber-band background flash on iOS */
  min-height: 100vh;
}

/* Modern browsers: overflow-x: clip is stricter than hidden, no scroll container side-effects */
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}

/* Lock scroll when mobile menu open */
body.nav-open { overflow: hidden; }

img, picture, video, svg {
  display: block;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea, button { font-family: inherit; }

/* Visible focus for keyboard users */
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .nav-link:focus-visible, .soc-link:focus-visible {
  outline-offset: 4px;
}

/* ============================================
   Background atmosphere
   ============================================ */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.06 0 0 0 0 0.3 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.18'/></svg>");
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 59, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 59, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 88%);
  -webkit-mask-image: radial-gradient(circle at center, black 35%, transparent 88%);
  pointer-events: none;
  z-index: -2;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  animation: orbFloat 14s ease-in-out infinite alternate;
  max-width: 60vw;
  max-height: 60vw;
}

.orb-1 {
  width: 540px; height: 540px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.55), transparent 70%);
}
.orb-2 {
  width: 460px; height: 460px;
  left: -160px; top: 45vh;
  background: radial-gradient(circle, rgba(108, 59, 255, 0.45), transparent 70%);
  animation-duration: 18s;
}
.orb-3 {
  width: 380px; height: 380px;
  right: -100px; bottom: 20vh;
  background: radial-gradient(circle, rgba(108, 59, 255, 0.3), transparent 70%);
  animation-duration: 20s;
}

@keyframes orbFloat {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(30px, 40px) scale(1.1); }
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--violet), var(--yellow));
  transition: width 90ms linear;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: "Unbounded", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

h2 { font-size: clamp(2.1rem, 5.2vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.15; }
h4 { font-size: 1.1rem; line-height: 1.25; }

em {
  font-style: italic;
  font-family: "Unbounded", sans-serif;
  background: linear-gradient(90deg, var(--violet), var(--yellow-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Prevent italic gradient text from clipping last letters / periods / descenders */
  padding: 0.05em 0.15em 0.12em 0.04em;
  margin-right: -0.05em;
}

p { color: var(--ink-soft); }

.lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.65;
}
.lead.small { font-size: 1rem; }

.section-tag, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: "Unbounded", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1rem;
}
.section-tag::before, .eyebrow::before {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--yellow));
  border-radius: 2px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f44;
  box-shadow: 0 0 0 4px rgba(244,68,68,.22);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .65; }
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: min(calc(100% - 2.2rem), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(70px, 9vw, 130px) 0;
  position: relative;
}

.section-head { margin-bottom: clamp(2.2rem, 4vw, 3.6rem); }
.section-head.center { text-align: center; max-width: 900px; margin-inline: auto; margin-bottom: clamp(2.6rem, 4.8vw, 4rem); }
.section-head.split-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1.2rem;
}

.glass {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600;
  color: var(--violet);
  transition: gap var(--ease);
}
.link-arrow:hover { gap: .7rem; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 54px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -0.01em;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.4) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 800ms ease;
  pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); }
.btn:hover, .btn:focus-visible { transform: translateY(-3px); }

.btn-primary {
  background: var(--yellow);
  color: var(--violet-deep);
  box-shadow: var(--shadow-yellow);
}
.btn-primary:hover, .btn-primary:focus-visible {
  box-shadow: 0 18px 44px rgba(255,212,0,.48), 0 0 0 6px rgba(108,59,255,.08);
}

.btn-ghost {
  background: rgba(255,255,255,.7);
  color: var(--violet-deep);
  border: 1.5px solid var(--line-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--violet-deep);
  color: var(--white);
  border-color: var(--violet-deep);
}

.btn-large { min-height: 64px; font-size: 1.05rem; padding: 0 2rem; }
.btn.full { width: 100%; }

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 14px;
}

.navbar {
  width: min(calc(100% - 1.4rem), calc(var(--container) + 0.6rem));
  margin: 0 auto;
  min-height: var(--nav-h);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  position: relative; /* anchor for absolute mobile menu */
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease), padding var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,.85);
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(26,10,77,.1);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; }
.brand-name {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.brand-name em {
  font-style: italic;
  font-weight: 500;
  font-size: .82em;
  background: none;
  -webkit-text-fill-color: var(--muted);
  margin: 0 .12em;
  padding: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.nav-link {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: .96rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  transition: all var(--ease);
  position: relative;
}
.nav-link:hover, .nav-link:focus-visible {
  background: rgba(108,59,255,.08);
  color: var(--violet);
}

.nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: .8rem 1.3rem;
  border-radius: 999px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: .92rem;
  margin-left: .3rem;
  transition: all var(--ease);
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--yellow);
  color: var(--violet-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}

.nav-socials {
  display: flex; gap: .35rem;
  margin-left: .6rem;
  padding-left: .6rem;
  border-left: 1px solid var(--line);
}

.soc-link {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(108,59,255,.06);
  color: var(--violet-deep);
  transition: all var(--ease);
  flex-shrink: 0;
}
.soc-link svg { width: 18px; height: 18px; }
.soc-link:hover { transform: translateY(-2px) scale(1.08); }
.soc-link.soc-yt:hover { background: #ff0000; color: white; }
.soc-link.soc-ig:hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.soc-link.soc-tt:hover { background: #000; color: white; }
.soc-link.big { width: 52px; height: 52px; }
.soc-link.big svg { width: 22px; height: 22px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  place-items: center;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 3px auto;
  background: var(--ink);
  transition: transform var(--ease), opacity var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: clamp(60px, 9vw, 120px);
}

.hero-copy { position: relative; z-index: 2; }

.hero-title {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: clamp(3.6rem, 11vw, 9rem);
  line-height: 1;
  letter-spacing: -0.07em;
  margin: 1.2rem 0 1.4rem;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: .04em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  line-height: 1;
}
/* The middle "on the" line: size the LINE itself smaller so its line-box matches small text;
   this makes gaps above and below equal */
.hero-title .line.line-small {
  font-size: 0.55em;
  margin-block: 0.1em;
}
.hero-title .word {
  display: inline-block;
  transform: translateY(110%) rotate(8deg);
  opacity: 0;
  animation: wordReveal 1s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-title .word[data-word="1"] { animation-delay: .1s; }
.hero-title .word[data-word="2"] { animation-delay: .25s; }
.hero-title .word[data-word="3"] { animation-delay: .4s; color: var(--violet); }
.hero-title .word.italic {
  font-style: italic;
  font-weight: 600;
  font-size: 1em; /* relative to its now-small parent line */
  color: var(--yellow);
  transform-origin: left;
  /* Subtle stroke for readability of yellow on white */
  -webkit-text-stroke: 1px var(--yellow-deep);
  text-shadow: 0 2px 0 rgba(245, 184, 0, .22);
}

@keyframes wordReveal {
  to { transform: translateY(0) rotate(0); opacity: 1; }
}

.hero-tagline {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--violet);
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}

.hero-text {
  font-size: 1.06rem;
  max-width: 540px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.hero-text strong { color: var(--ink); font-weight: 700; }

.hero-actions {
  display: flex; gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.hero-mini-stats {
  display: flex;
  gap: 0;
  padding: 0;
  list-style: none;
  margin: 0;
  flex-wrap: wrap;
}
.hero-mini-stats li {
  display: flex; flex-direction: column;
  padding: 0 1.4rem;
  position: relative;
}
.hero-mini-stats li:first-child { padding-left: 0; }
.hero-mini-stats li::after {
  content: "";
  position: absolute;
  right: 0; top: 10%;
  width: 1px; height: 80%;
  background: var(--line);
}
.hero-mini-stats li:last-child::after { display: none; }
.hero-mini-stats strong {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -.03em;
  line-height: 1;
}
.hero-mini-stats span {
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .35rem;
}

/* Hero visual / photo */
.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hero-photo-wrap {
  position: relative;
  width: min(100%, 420px);
}

.hero-photo {
  border-radius: 32px;
  padding: 14px;
  background: linear-gradient(160deg, var(--yellow), var(--violet-soft) 70%);
  box-shadow: 0 40px 90px rgba(26,10,77,.25);
  position: relative;
  transform-style: preserve-3d;
  transition: transform var(--ease);
}
.hero-photo img {
  border-radius: 22px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.photo-tape {
  position: absolute;
  width: 110px; height: 28px;
  background: rgba(255,212,0,.6);
  border: 1px solid rgba(255,212,0,.4);
  backdrop-filter: blur(8px);
  rotate: -8deg;
  z-index: 5;
}
.tape-tl { top: -10px; left: 24px; rotate: -8deg; }
.tape-br { bottom: -10px; right: 24px; rotate: 6deg; }

.sticker {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  padding: .55rem 1rem;
  border-radius: 999px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: -.01em;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.sticker-1 { top: -18px; left: -28px; background: var(--yellow); color: var(--violet-deep); animation-delay: 0s; }
.sticker-2 { bottom: 24%; right: -34px; background: var(--violet-deep); color: var(--yellow); animation-delay: 1.2s; }
.sticker-3 { top: 42%; left: -38px; background: var(--white); color: var(--violet); border: 1.5px solid var(--violet); animation-delay: 2.2s; transform: rotate(-6deg); }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* Ticker */
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--yellow);
  padding: 1rem 0;
  margin-top: 0;
  position: relative;
  border-top: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
}
.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   LATEST VIDEO
   ============================================ */
.latest { padding-top: clamp(60px, 8vw, 100px); }

.video-feature {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
}

.video-frame {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(26,10,77,.22);
  background: var(--ink);
  border: 8px solid var(--white);
  outline: 2px solid var(--line-strong);
  outline-offset: -10px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.video-frame iframe,
.video-frame > img {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.video-frame > img { object-fit: cover; transition: transform 1s ease; }

.video-thumb-link:hover { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(26,10,77,.3); }
.video-thumb-link:hover > img { transform: scale(1.04); }

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, transparent 30%, transparent 60%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

.play-btn.big {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 94px; height: 94px;
  background: var(--yellow);
  color: var(--violet-deep);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.18);
  transition: transform var(--ease);
}
.play-btn.big svg { width: 38px; height: 38px; margin-left: 5px; }
.video-thumb-link:hover .play-btn.big { transform: translate(-50%, -50%) scale(1.08); }

.video-watch-label {
  position: absolute;
  bottom: 18px; right: 18px;
  font-family: "Unbounded", sans-serif;
  font-size: .85rem;
  font-weight: 700;
  padding: .45rem .85rem;
  background: rgba(0,0,0,.7);
  color: var(--white);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  letter-spacing: -.01em;
}

.video-note {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.4rem;
  justify-content: center;
  font-size: .95rem;
  color: var(--muted);
}
.video-note a { color: var(--violet); font-weight: 600; }
.live-dot {
  width: 10px; height: 10px;
  background: #ff0000;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,0,0,.2);
  animation: pulse 1.6s ease infinite;
}

/* ============================================
   JOURNEY / TIMELINE
   ============================================ */
.journey {
  background: linear-gradient(180deg, transparent 0%, rgba(108,59,255,.04) 50%, transparent 100%);
  position: relative;
}

/* Sticky year scrubber */
.year-scrub {
  position: fixed;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .8rem .6rem;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}
.year-scrub.show {
  opacity: 1;
  pointer-events: auto;
}
.ys-item {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: -.01em;
  color: var(--muted);
  padding: .35rem .55rem;
  border-radius: 999px;
  transition: all var(--ease);
}
.ys-item:hover { color: var(--violet); }
.ys-item.active {
  background: var(--violet-deep);
  color: var(--yellow);
  transform: scale(1.1);
}

/* Timeline core */
.timeline {
  position: relative;
  max-width: 1100px;
  margin-inline: auto;
  padding: 2rem 0 4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--violet) 8%,
    var(--violet) 50%,
    var(--yellow) 100%);
  transform: translateX(-50%);
  border-radius: 3px;
  z-index: 0;
}

.t-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  align-items: start;
  margin-bottom: 4.5rem;
  z-index: 1;
  scroll-margin-top: calc(var(--nav-h) + 80px);
}

/* Year badge — centered, large */
.t-year {
  position: relative;
  grid-column: 2;
  justify-self: center;
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -.04em;
  color: var(--white);
  background: var(--violet-deep);
  width: 100px; height: 100px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 5px solid var(--off-white);
  box-shadow: 0 14px 30px rgba(26,10,77,.28);
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  z-index: 4;
}

.t-step.highlight .t-year { background: var(--yellow); color: var(--violet-deep); }
.t-step.milestone .t-year { background: linear-gradient(135deg, var(--violet), var(--violet-deep)); }
.t-step.now .t-year {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  color: var(--violet-deep);
  box-shadow: 0 14px 40px rgba(255,212,0,.55), 0 0 0 8px rgba(255,212,0,.18);
}
.now-dot {
  position: absolute;
  width: 18px; height: 18px;
  background: #ff3b3b;
  border-radius: 50%;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--off-white);
  box-shadow: 0 0 0 4px rgba(255,59,59,.28), 0 4px 12px rgba(255,59,59,.35);
  animation: pulse 1.4s ease infinite;
}

/* Card */
.t-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}
.t-step.left .t-card { grid-column: 1; margin-right: .4rem; }
.t-step.right .t-card { grid-column: 3; margin-left: .4rem; }
.t-step.center .t-card { grid-column: 1 / -1; max-width: 600px; margin-inline: auto; text-align: center; }

.t-step.in-view .t-card {
  opacity: 1;
  transform: translate(0,0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

/* Desktop: cards enter from their side direction for a more cinematic feel */
@media (min-width: 901px) {
  .t-step.left .t-card { transform: translate(-50px, 30px); }
  .t-step.right .t-card { transform: translate(50px, 30px); }
  .t-step.in-view .t-card { transform: translate(0, 0); }

  /* Active step (matches currently-active year) gets subtle lift */
  .t-step.is-active .t-card {
    border-color: var(--violet);
    box-shadow: 0 24px 60px rgba(108,59,255,.18);
    transform: translateY(-3px);
  }
  .t-step.is-active .t-year {
    box-shadow: 0 14px 36px rgba(26,10,77,.32), 0 0 0 6px rgba(108,59,255,.14);
  }
}

.t-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.t-card.big {
  padding: 2.2rem;
  background: linear-gradient(160deg, var(--white) 0%, var(--cream) 100%);
  border: 2px solid var(--yellow);
}

.t-card.minimal {
  background: transparent;
  border: 2px dashed var(--line-strong);
  box-shadow: none;
}

.t-card h3 {
  margin: .5rem 0 .7rem;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  letter-spacing: -.03em;
}
.t-card h3 a { color: var(--violet); border-bottom: 2px solid currentColor; }

.t-card p { font-size: 1rem; line-height: 1.65; margin-bottom: .6rem; }
.t-card p:last-child { margin-bottom: 0; }
.t-card p.t-emph {
  font-weight: 500;
  color: var(--ink);
  padding: .8rem 1rem;
  background: rgba(108,59,255,.06);
  border-left: 3px solid var(--violet);
  border-radius: 8px;
  margin-top: .8rem;
}

.t-chip {
  display: inline-block;
  font-family: "Unbounded", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet-deep);
}
.t-chip.yellow { background: var(--yellow); color: var(--violet-deep); }
.t-chip.violet { background: var(--violet-deep); color: var(--yellow); }
.t-chip.pulse::before {
  content: ""; display: inline-block;
  width: 7px; height: 7px;
  background: #ff3b3b;
  border-radius: 50%;
  margin-right: .4rem;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(255,59,59,.3);
  animation: pulse 1.4s ease infinite;
}

.t-meta, .t-tags {
  display: flex; gap: .8rem; flex-wrap: wrap;
  margin-top: .9rem;
  font-size: .85rem;
  color: var(--muted);
}
.t-tags span {
  padding: .3rem .7rem;
  background: var(--violet-soft);
  border-radius: 999px;
  color: var(--violet-deep);
  font-weight: 600;
}

.t-list {
  list-style: none; padding: 0;
  margin: .8rem 0 0;
}
.t-list li {
  position: relative;
  padding: .4rem 0 .4rem 1.4rem;
  font-size: .98rem;
  color: var(--ink-soft);
}
.t-list li::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--violet);
  font-weight: 700;
}
.t-list a { color: var(--violet); font-weight: 600; }

/* Video thumb */
.t-video { margin-top: 1.1rem; }
.thumb-link {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16/9;
  transition: transform var(--ease);
}
.thumb-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.thumb-link:hover img { transform: scale(1.06); }
.thumb-link:hover { transform: translateY(-3px); }

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: var(--yellow);
  color: var(--violet-deep);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  transition: transform var(--ease);
}
.play-btn svg { width: 26px; height: 26px; }
.play-btn.small { width: 44px; height: 44px; }
.play-btn.small svg { width: 18px; height: 18px; }
.thumb-link:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }

.video-label {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: "Unbounded", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .7rem;
  background: rgba(0,0,0,.75);
  color: var(--white);
  border-radius: 6px;
  backdrop-filter: blur(8px);
}
.video-label.small { font-size: .72rem; }

.t-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-top: 1rem;
}
.thumb-link.small { aspect-ratio: 16/10; }

.t-badges {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1rem;
}
.badge-pill {
  display: inline-block;
  padding: .45rem .9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}
.badge-pill.big {
  background: var(--yellow);
  border-color: var(--yellow-deep);
  color: var(--violet-deep);
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .03em;
  padding: .55rem 1.1rem;
}

/* Big stats in milestone card */
.big-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin: 1.4rem 0;
  padding: 1.2rem;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
}
.bs { text-align: center; }
.bs strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--violet);
  letter-spacing: -.03em;
}
.bs span { font-size: .8rem; color: var(--muted); }

.future-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}
.future-card {
  padding: 1.2rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}
.future-card.highlighted {
  background: var(--violet-deep);
  color: var(--white);
  border: 0;
}
.future-card.highlighted p { color: rgba(255,255,255,.78); }
.future-card.highlighted strong { color: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 1.05rem; }
.future-when {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: .4rem;
}
.future-card.highlighted .future-when { color: var(--yellow); }
.future-card strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: .4rem;
}
.future-card p { font-size: .9rem; margin: 0; }
.future-card a { color: inherit; border-bottom: 1px solid; }

.t-step.future .t-year.future-year {
  background: transparent;
  border: 3px dashed var(--violet);
  color: var(--violet);
  box-shadow: none;
  font-size: 1.4rem;
}

/* ============================================
   WHY JACK / SODELUJ Z MANO
   ============================================ */
.why {
  background: linear-gradient(180deg, transparent 0%, var(--violet-deep) 12%, var(--violet-deep) 88%, transparent 100%);
  color: var(--white);
  position: relative;
}
.why::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,212,0,.14), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(108,59,255,.4), transparent 40%);
  pointer-events: none;
}
.why .container { position: relative; z-index: 1; }
.why h2, .why h3, .why h4 { color: var(--white); }
.why .lead { color: rgba(255,255,255,.78); }
.why .section-tag { color: var(--yellow); }
.why .section-tag::before { background: linear-gradient(90deg, var(--yellow), var(--white)); }
.why em {
  background: linear-gradient(90deg, var(--yellow), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  backdrop-filter: blur(20px);
}
.stat-block {
  display: flex; flex-direction: column;
  text-align: center;
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-block:last-child { border-right: 0; }
.stat-block strong {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--white);
}
.stat-block span {
  margin-top: .5rem;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  letter-spacing: -.01em;
}
.bar {
  height: 4px;
  margin-top: 1rem;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  border-radius: 4px;
  width: 0;
  transition: width 1.6s cubic-bezier(.2,.8,.2,1);
}
.stat-block.in-view .bar::after { width: var(--w, 70%); }
.bar.yt { --w: 92%; }
.bar.yt::after { background: linear-gradient(90deg, #ff0000, var(--yellow)); }
.bar.ig { --w: 68%; }
.bar.ig::after { background: linear-gradient(90deg, #e6683c, #dc2743, #bc1888); }
.bar.tt { --w: 78%; }
.bar.tt::after { background: linear-gradient(90deg, #25f4ee, #fe2c55); }
.bar.all { --w: 100%; }
.bar.all::after { background: linear-gradient(90deg, var(--yellow), var(--white)); }

/* Channel grid */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 5rem;
}
.channel-card {
  padding: 1.8rem;
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  transition: transform var(--ease), background var(--ease);
}
.channel-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.ch-head {
  display: flex; align-items: center;
  gap: .7rem;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ch-yt { color: #ff5252; }
.ch-ig { color: #ff7eb6; }
.ch-tt { color: #25f4ee; }
.channel-card h3 { margin-bottom: .5rem; font-size: 1.4rem; }
.channel-card > p {
  color: rgba(255,255,255,.7);
  font-size: .96rem;
  margin-bottom: 1.2rem;
  flex-grow: 0;
}
.ch-stats {
  list-style: none; padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  flex-grow: 1;
}
.ch-stats li {
  padding: .7rem .8rem;
  background: rgba(0,0,0,.18);
  border-radius: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.ch-stats strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  color: var(--yellow);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .1rem;
}
.channel-card .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.channel-card .btn-ghost:hover {
  background: var(--yellow);
  color: var(--violet-deep);
  border-color: var(--yellow);
}

/* Top videos */
.top-videos { margin-bottom: 5rem; }
.tv-head { text-align: center; margin-bottom: 2rem; }
.tv-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.tv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.tv-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  transition: transform var(--ease);
}
.tv-card:hover { transform: translateY(-6px); }
.tv-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink);
}
.tv-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tv-card:hover .tv-thumb img { transform: scale(1.06); }
.tv-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  background: var(--yellow);
  color: var(--violet-deep);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform var(--ease);
}
.tv-play svg { width: 24px; height: 24px; }
.tv-card:hover .tv-play { transform: translate(-50%, -50%) scale(1.12); }
.tv-rank {
  position: absolute;
  top: 12px; left: 12px;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: .82rem;
  background: var(--white);
  color: var(--violet-deep);
  padding: .3rem .65rem;
  border-radius: 999px;
}
.tv-card h4 {
  padding: 1.1rem 1.2rem .3rem;
  font-size: 1.05rem;
  color: var(--white);
}
.tv-meta {
  display: block;
  padding: 0 1.2rem 1.2rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* Value props */
.value-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 5rem;
}
.vp {
  padding: 1.6rem 1.4rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  position: relative;
  backdrop-filter: blur(16px);
  transition: transform var(--ease), background var(--ease);
}
.vp:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.vp-num {
  font-family: "Unbounded", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: .8rem;
  display: block;
}
.vp h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.vp p {
  color: rgba(255,255,255,.7);
  font-size: .92rem;
  line-height: 1.6;
}

/* Brand marquee */
.brands { padding-top: 1rem; }
.brands-head { text-align: center; margin-bottom: 2rem; }
.brands-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.brand-marquee {
  overflow: hidden;
  margin: 0 -1rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.bm-track {
  display: flex;
  gap: 1.2rem;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  width: max-content;
}
.brand-marquee.reverse .bm-track { animation-direction: reverse; animation-duration: 45s; }

.bm-item {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  padding: .8rem 1.6rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255,255,255,.04);
  transition: all var(--ease);
}
.bm-item:hover { background: var(--yellow); color: var(--violet-deep); border-color: var(--yellow); }
.bm-item.highlight { background: var(--violet); color: var(--white); border-color: var(--violet); }
.bm-item.next {
  background: var(--yellow);
  color: var(--violet-deep);
  border-color: var(--yellow);
  font-style: italic;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.brands-footer {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
}
.brands-footer strong { color: var(--yellow); }

/* ============================================
   CONTACT
   ============================================ */
.contact { padding-bottom: clamp(80px, 10vw, 140px); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-copy h2 { margin-bottom: 1rem; }
.contact-copy p { font-size: 1.06rem; margin-bottom: 1.8rem; max-width: 480px; line-height: 1.65; }

.contact-info {
  list-style: none; padding: 0;
  margin: 0 0 2rem;
}
.contact-info li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.ci-label {
  font-family: "Unbounded", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-info a {
  font-weight: 600;
  color: var(--violet);
  font-size: 1.02rem;
  transition: color var(--ease);
}
.contact-info a:hover { color: var(--violet-deep); }

.contact-socials {
  display: flex; gap: .6rem;
}

.contact-form {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  gap: 1.1rem;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.cf-field { display: flex; flex-direction: column; gap: .4rem; }
.cf-field > span {
  font-family: "Unbounded", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--violet-deep);
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  padding: .95rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--off-white);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
  font-family: inherit;
  outline: none;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--violet);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(108,59,255,.12);
}
.cf-field textarea { resize: vertical; min-height: 120px; }

.cf-note {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 0;
  line-height: 1.55;
}

.cf-success {
  display: none;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, #b7f5b7, #d4f5d4);
  border: 1.5px solid #5cb85c;
  border-radius: 14px;
  color: #1f5e1f;
  font-size: .95rem;
}
.cf-success.show { display: block; animation: slideIn .5s ease; }
.cf-success strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  margin-bottom: .2rem;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 3rem 0 2.5rem;
  background: var(--ink);
  color: rgba(255,255,255,.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.08); padding: 6px; }
.footer-brand strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: .15rem;
}
.footer-brand a { display: block; color: var(--yellow); font-size: .9rem; }

.footer-nav {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--yellow); }

.footer-socials { display: flex; gap: .5rem; }
.footer-socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: .78rem;
  color: var(--white);
  transition: all var(--ease);
}
.footer-socials a:hover { background: var(--yellow); color: var(--violet-deep); transform: translateY(-3px); }

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 1rem;
  line-height: 1.7;
}
.footer-copy .made-by a { color: rgba(255,255,255,.7); border-bottom: 1px dotted; }
.footer-copy .made-by a:hover { color: var(--yellow); }

/* ============================================
   Reveals
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: transform, opacity;
}
.reveal-left { transform: translateX(-38px); }
.reveal-right { transform: translateX(38px); }
.reveal-up { transform: translateY(38px); }
.reveal.in-view { opacity: 1; transform: translate(0,0); }

.tilt-card { transform-style: preserve-3d; transition: transform 240ms ease; }

/* ============================================
   Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .t-card { opacity: 1; transform: none; }
  .hero-title .word { opacity: 1; transform: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Year scrubber: desktop = vertical right side, mobile = horizontal sticky pill bar */
@media (max-width: 1180px) {
  .year-scrub {
    position: sticky;
    top: calc(var(--nav-h) + 26px);
    right: auto;
    transform: none;
    flex-direction: row;
    align-items: center;
    gap: .3rem;
    padding: .5rem .65rem;
    margin: 0 auto 2rem;
    width: max-content;
    max-width: calc(100% - 1rem);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    z-index: 30;
  }
  .year-scrub::-webkit-scrollbar { display: none; }
  .year-scrub::before,
  .year-scrub::after {
    content: "";
    position: sticky;
    top: 0;
    width: 18px;
    height: 100%;
    flex-shrink: 0;
    pointer-events: none;
  }
  .year-scrub::before { left: 0; background: linear-gradient(90deg, var(--glass-strong), transparent); margin-right: -18px; }
  .year-scrub::after { right: 0; background: linear-gradient(-90deg, var(--glass-strong), transparent); margin-left: -18px; }
  .ys-item {
    flex-shrink: 0;
    font-size: .78rem;
    padding: .45rem .7rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { min-height: auto; max-width: 420px; margin-inline: auto; }
  .hero-copy { text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-mini-stats { justify-content: center; }

  .channel-grid { grid-template-columns: 1fr; }
  .tv-grid { grid-template-columns: 1fr 1fr; }
  .value-props { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .stat-block { border-right: 0; }
  .stat-block:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .stat-block:last-child { border-right: 0; }

  .contact-grid { grid-template-columns: 1fr; }

  /* Section padding shrinks */
  .section { padding: clamp(56px, 8vw, 100px) 0; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 22px);
    left: 0; right: 0;
    flex-direction: column;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
    align-items: stretch;
    gap: .25rem;
    max-height: calc(100vh - var(--nav-h) - 50px);
    overflow-y: auto;
  }
  .nav-open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link, .nav-cta {
    text-align: center;
    padding-block: .9rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: .3rem;
  }
  .nav-socials {
    margin: .5rem 0 0;
    padding: .8rem 0 .2rem;
    border-left: 0;
    border-top: 1px solid var(--line);
    justify-content: center;
    gap: .6rem;
  }

  /* Timeline → SCROLL-FOCUSED on phone:
     each step takes one screen, only the one in viewport-center is fully visible,
     others fade out with distance. JS sets --focus per step on scroll. */
  .timeline { padding: 0 0 2rem; }
  .timeline::before { display: none; }
  .t-step {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 1.3rem;
    min-height: 82vh;
    margin-bottom: 0;
    padding: 1.5rem 0;
    text-align: left;
    /* OPACITY based on scroll distance — JS updates --focus value */
    opacity: var(--focus, 0);
    transition: opacity 0.15s linear;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
    scroll-margin-top: calc(var(--nav-h) + 110px);
  }
  /* Ensure cards are always visible (parent opacity handles show/hide on mobile) */
  .t-step .t-card { opacity: 1; transform: none; }

  .t-year {
    width: 100px; height: 100px;
    font-size: 1.4rem;
    border-width: 4px;
    align-self: center;
    margin: 0 auto;
    position: relative;
    top: auto;
  }
  .t-step.now .t-year {
    box-shadow: 0 12px 30px rgba(255,212,0,.5), 0 0 0 6px rgba(255,212,0,.18);
  }
  .now-dot { width: 18px; height: 18px; top: -6px; border-width: 3px; }

  .t-step.left .t-card,
  .t-step.right .t-card,
  .t-step.center .t-card {
    margin: 0;
    max-width: 100%;
    text-align: left;
  }
  .t-card { padding: 1.3rem; }
  .t-card.big { padding: 1.5rem; }

  .big-stats { grid-template-columns: 1fr 1fr; gap: .6rem; padding: 1rem; }
  .bs strong { font-size: 1.35rem; }
  .future-row { grid-template-columns: 1fr; }

  .t-step.future .t-year.future-year { font-size: 1.1rem; }

  /* Soft proximity snap to help land on each step */
  html { scroll-snap-type: y proximity; }

  /* Brand marquee — slightly smaller on tablet */
  .bm-item { font-size: 1rem; padding: .65rem 1.2rem; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }

  .container { width: min(calc(100% - 1.6rem), var(--container)); }

  .navbar { padding: 8px 14px; gap: .6rem; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: .92rem; }
  .brand-name em { display: none; }

  .nav-toggle { width: 42px; height: 42px; }

  .hero { padding-top: 16px; }
  .hero-grid { gap: 2rem; padding-bottom: 60px; }
  .hero-visual { padding: 0; max-width: 360px; }
  .hero-photo-wrap { width: min(100%, 340px); }
  .hero-photo { padding: 10px; border-radius: 26px; }
  .hero-photo img { border-radius: 18px; }

  .hero-actions { flex-direction: column; align-items: stretch; gap: .65rem; }
  .btn { width: 100%; }
  .btn-large { min-height: 58px; }

  .hero-mini-stats {
    justify-content: center;
    gap: 0;
  }
  .hero-mini-stats li { padding: 0 1rem; }
  .hero-mini-stats strong { font-size: 1.4rem; }
  .hero-mini-stats span { font-size: .72rem; letter-spacing: .08em; }

  /* Stickers — keep INSIDE frame on phones (no negative offsets) */
  .sticker { font-size: .7rem; padding: .35rem .75rem; }
  .sticker-1 { top: -8px; left: 4px; }
  .sticker-2 { right: 4px; bottom: 22%; }
  .sticker-3 { left: 4px; top: 38%; }

  .photo-tape { width: 80px; height: 22px; }
  .tape-tl { left: 16px; }
  .tape-br { right: 16px; }

  .tv-grid, .value-props, .cf-row {
    grid-template-columns: 1fr;
  }
  .stats-band {
    grid-template-columns: 1fr;
    padding: 1.25rem 1rem;
    gap: 1.2rem;
  }
  .stat-block, .stat-block:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 1.2rem;
  }
  .stat-block:last-child { border-bottom: 0; padding-bottom: 0; }

  .big-stats { grid-template-columns: 1fr 1fr; padding: .8rem; gap: .5rem; }
  .bs strong { font-size: 1.2rem; }
  .bs span { font-size: .72rem; }

  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.4rem; }
  .footer-brand { flex-direction: column; }

  .t-video-grid { grid-template-columns: 1fr; }

  .video-frame { border-width: 4px; outline-offset: -6px; border-radius: 20px; }

  /* Timeline — small phones, year centered & prominent (focus-based fading) */
  .t-step { gap: 1.1rem; padding: 1.2rem 0; min-height: 78vh; }
  .t-year { width: 86px; height: 86px; font-size: 1.25rem; border-width: 3.5px; }
  .now-dot { width: 16px; height: 16px; top: -5px; }
  .t-card { padding: 1.15rem; border-radius: 18px; }
  .t-card h3 { font-size: 1.1rem; }
  .t-card p, .t-list li { font-size: .94rem; }

  /* Contact form mobile padding */
  .contact-form { padding: 1.2rem; border-radius: 22px; }
  .cf-field input, .cf-field select, .cf-field textarea {
    padding: .85rem .95rem;
    font-size: 16px; /* prevent iOS zoom */
  }
  .contact-info li {
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
  }

  /* Section heads */
  .section-head.split-head { gap: .8rem; }

  /* Brand marquee on phone */
  .bm-item { font-size: .92rem; padding: .55rem 1rem; }
  .bm-track { gap: .8rem; }

  /* Ticker compact */
  .ticker { padding: .7rem 0; }
  .ticker-track { gap: 2rem; }
  .ticker-track span { font-size: .88rem; }
}

@media (max-width: 420px) {
  .hero-title { font-size: clamp(2.6rem, 14vw, 3.8rem); }
  .sticker-3 { display: none; } /* third sticker too cramped */
  .brand-name { font-size: .85rem; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* iOS safe area for footer */
@supports (padding: max(0px)) {
  .site-footer {
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }
}
