/* ═══════════════════════════════════════════
   DOUBLE YOU AI SYNDICATE — CHARACTER DIRECTOR
   style.css
═══════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────── */
:root {
  --black:      #080808;
  --dark:       #0f0f0f;
  --dark-mid:   #161616;
  --dark-card:  #1a1a1a;
  --dark-border:#2a2a2a;
  --orange:     #d4621a;
  --orange-lit: #e8722a;
  --orange-dim: #a04a10;
  --orange-glow:rgba(212,98,26,0.18);
  --white:      #f5f0eb;
  --white-dim:  #a09888;
  --white-faint:#4a4540;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h: 72px;
  --radius: 4px;
  --radius-lg: 8px;

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

/* ─── SKIP LINK ──────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ─── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── UTILITY ────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.section-title em {
  font-style: normal;
  color: var(--orange);
  font-family: var(--font-serif);
  font-style: italic;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--white-dim);
  max-width: 520px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 14px 28px;
  min-height: 48px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s var(--ease-out-expo), box-shadow 0.25s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-lit);
  border-color: var(--orange-lit);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,98,26,0.3), 0 16px 48px rgba(212,98,26,0.2), 0 0 80px rgba(212,98,26,0.1);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--dark-border);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn--nav {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  font-size: 11px;
  padding: 10px 20px;
}
.btn--nav:hover {
  background: var(--orange-lit);
  border-color: var(--orange-lit);
}
.btn--lg {
  font-size: 14px;
  padding: 17px 40px;
}

/* ─── REVEAL ANIMATIONS ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal--right {
  transform: translateX(32px);
}
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--dark-border);
  background: rgba(8,8,8,0.96);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__brand-top {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.nav__brand-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out-expo);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 11px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px 36px;
    gap: 0;
    border-bottom: 1px solid var(--dark-border);
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease-out-expo);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { width: 100%; }
  .nav__links .nav__link {
    display: block;
    font-size: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--dark-border);
    color: var(--white-dim);
  }
  .nav__links li:last-child .nav__link { border-bottom: none; }
  .btn--nav { display: none; }
  .nav__inner { gap: 12px; }
  .nav__brand-top { display: none; }
}
@media (max-width: 768px) {
  .nav__inner { padding: 0 20px; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  padding-top: var(--nav-h);
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(212,98,26,0.08) 0%, transparent 70%), var(--black);
  overflow: hidden;
}
.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 11vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__headline em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--orange);
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--white-dim);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 40px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__media { position: relative; }
.hero__video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 70vh;
  width: 100%;
  background: var(--dark-mid);
  box-shadow: 0 0 0 1px var(--dark-border), 0 40px 80px rgba(0,0,0,0.6);
}
.hero__video-frame::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 0 80px rgba(212,98,26,0.22);
  opacity: 0.6;
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(8,8,8,0.5) 100%);
  pointer-events: none;
}

/* ─── HERO SOUND TOGGLE ─────────────────── */
.hero__sound-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(8,8,8,0.65);
  border: 1px solid rgba(245,240,235,0.18);
  border-radius: var(--radius);
  color: rgba(245,240,235,0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
}
.hero__sound-btn:hover {
  border-color: var(--orange-dim);
  color: var(--orange);
  background: rgba(8,8,8,0.88);
}
.hero__sound-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.hero__sound-btn.is-on {
  border-color: var(--orange);
  color: var(--orange);
}
.hero__sound-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.hero__sound-icon--on { display: none; }

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
    padding: 52px 20px 60px;
  }
  .hero__sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__video-frame {
    aspect-ratio: 9 / 16;
    max-height: 60vh;
    margin: 0 auto;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .hero__inner { padding: 40px 20px 52px; gap: 28px; }
  .hero__eyebrow { margin-bottom: 14px; }
  .hero__sub { font-size: 0.95rem; margin-bottom: 32px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__ctas .btn { width: 100%; }
  .hero__video-frame { max-height: 55vh; max-width: 280px; }
}

/* ═══════════════════════════════════════════
   EDITORIAL STRIP
═══════════════════════════════════════════ */
.strip {
  overflow: hidden;
  background: var(--black);
}
.strip__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.strip__item {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  position: relative;
}
.strip__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(212,98,26,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.strip__item:hover::after { opacity: 1; }
.strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.9s var(--ease-out-expo);
  will-change: transform;
}
.strip__item:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
  .strip {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .strip::-webkit-scrollbar { display: none; }
  .strip__track {
    display: flex;
    grid-template-columns: unset;
    width: max-content;
  }
  .strip__item {
    width: 72vw;
    flex-shrink: 0;
    aspect-ratio: 3 / 4;
  }
  .strip__item img { object-position: center top; }
}

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
.features {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--dark-card);
  padding: 40px 36px;
  border: 1px solid var(--dark-border);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s var(--ease-out-expo);
}
.feature-card:hover {
  border-color: var(--orange-dim);
  background: rgba(212,98,26,0.04);
  box-shadow: 0 0 40px rgba(212,98,26,0.06) inset;
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-card--wide {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 32px;
}
.feature-card__icon {
  width: 40px;
  height: 40px;
  color: var(--orange);
  flex-shrink: 0;
  margin-bottom: 20px;
}
.feature-card--wide .feature-card__icon { margin-bottom: 0; }
.feature-card__icon svg { width: 100%; height: 100%; }
.feature-card__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card__body {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--wide { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .feature-card--wide .feature-card__icon { margin-bottom: 20px; }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .feature-card { padding: 28px 24px; }
}

/* ═══════════════════════════════════════════
   TRANSFORMATION
═══════════════════════════════════════════ */
.transform {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--black);
}
.transform__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.transform__images {
  display: flex;
  align-items: center;
  gap: 20px;
}
.transform__figure {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.transform__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  aspect-ratio: 3 / 4;
}
.transform__figure--after img {
  box-shadow: 0 0 0 1px var(--orange-dim), 0 0 40px var(--orange-glow);
  transition: box-shadow 0.5s;
}
.transform__figure--after:hover img {
  box-shadow: 0 0 0 1px var(--orange), 0 0 60px rgba(212,98,26,0.3), 0 0 120px rgba(212,98,26,0.12);
}
.transform__label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,235,0.7);
  background: rgba(8,8,8,0.6);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 2px;
}
.transform__label--after { color: var(--orange); }
.transform__arrow {
  width: 56px;
  flex-shrink: 0;
  color: var(--orange);
  opacity: 0.7;
}
.transform__body {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.75;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .transform__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .transform__copy { order: -1; }
}
@media (max-width: 560px) {
  .transform__arrow { display: none; }
  .transform__images { gap: 10px; }
  .transform__figure img { object-position: center top; }
  .transform__body { font-size: 0.9rem; }
}
@media (max-width: 400px) {
  .transform__figure img { aspect-ratio: 4 / 5; }
}

/* ═══════════════════════════════════════════
   AGES & ERAS
═══════════════════════════════════════════ */
.eras {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark);
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}
.eras__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.eras__item {
  position: relative;
  cursor: default;
}
.eras__img-wrap {
  overflow: hidden;
  aspect-ratio: 3 / 5;
}
.eras__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.8s var(--ease-out-expo);
}
.eras__item:hover .eras__img-wrap img { transform: scale(1.04); }
.eras__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 20px 20px;
  background: linear-gradient(to top, rgba(8,8,8,0.8) 0%, transparent 100%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  transition: transform 0.4s var(--ease-out-expo), color 0.3s;
}
.eras__item:hover .eras__caption {
  transform: translateY(-4px);
  color: var(--orange);
}

@media (max-width: 640px) {
  .eras__grid { grid-template-columns: 1fr; gap: 2px; }
  .eras__img-wrap { aspect-ratio: 3 / 4; }
  .eras__img-wrap img { object-position: center top; }
  .eras__caption { font-size: 1.25rem; padding: 36px 16px 16px; }
}

/* ═══════════════════════════════════════════
   CONSISTENCY
═══════════════════════════════════════════ */
.consistency {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--black);
  content-visibility: auto;
  contain-intrinsic-size: 0 700px;
}
.consistency__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.consistency__body {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.75;
  margin-top: 12px;
}
.consistency__images {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.consistency__figure {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.consistency__figure img {
  width: 100%;
  object-fit: cover;
  object-position: center 10%;
  aspect-ratio: 2 / 3;
  transition: transform 0.8s var(--ease-out-expo);
}
.consistency__figure:hover img { transform: scale(1.03); }
.consistency__figure--offset {
  margin-top: 40px;
}

@media (max-width: 900px) {
  .consistency__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 560px) {
  .consistency__images { flex-direction: column; gap: 20px; }
  .consistency__figure--offset { margin-top: 0; }
  .consistency__figure img { aspect-ratio: 3 / 4; object-position: center top; }
  .consistency__body { font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.how {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark);
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.how__step {
  padding: 40px 32px;
  border: 1px solid var(--dark-border);
  border-left: 2px solid transparent;
  background: var(--dark-card);
  transition: border-color 0.35s, border-left-color 0.35s, background 0.35s, transform 0.35s var(--ease-out-expo);
}
.how__step:hover {
  border-color: var(--orange-dim);
  border-left-color: var(--orange);
  background: rgba(212,98,26,0.03);
  transform: translateY(-2px);
}
.how__num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.4;
  margin-bottom: 20px;
  transition: opacity 0.3s;
}
.how__step:hover .how__num { opacity: 0.7; }
.how__step-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.how__step-text {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.65;
}

@media (max-width: 900px) { .how__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .how__steps { grid-template-columns: 1fr; }
  .how__step { padding: 28px 24px; }
  .how__num { font-size: 2.75rem; margin-bottom: 14px; }
  .how__step-title { font-size: 0.85rem; }
}

/* ═══════════════════════════════════════════
   CHARACTER GRID
═══════════════════════════════════════════ */
.char-grid {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--black);
  content-visibility: auto;
  contain-intrinsic-size: 0 900px;
}
.char-grid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.char-grid__item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
}
.char-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.8s var(--ease-out-expo), filter 0.4s;
  filter: grayscale(0%);
}
.char-grid__item:hover img {
  transform: scale(1.05);
  filter: grayscale(10%);
}
.char-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.4) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.char-grid__item:hover::after { opacity: 1; }

@media (max-width: 768px) {
  .char-grid__grid { grid-template-columns: repeat(2, 1fr); }
  .char-grid__item img { object-position: center top; }
}
@media (max-width: 480px) { .char-grid__grid { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════════════════════════════
   UI PREVIEW
═══════════════════════════════════════════ */
.ui-preview {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark);
  content-visibility: auto;
  contain-intrinsic-size: 0 900px;
}
.ui-preview__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  margin-bottom: clamp(36px, 5vw, 60px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.ui-preview__frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 0 70px rgba(212,98,26,0.18);
  opacity: 0.5;
  animation: glowPulse 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.ui-preview__frame img {
  width: 100%;
  display: block;
}
.ui-preview__glow {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--dark), transparent);
  pointer-events: none;
}
.ui-preview__about {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ui-preview__about-text {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   ROCKET CTA
═══════════════════════════════════════════ */
.rocket-cta {
  position: relative;
  overflow: hidden;
}
.rocket-cta__image-wrap {
  position: relative;
  line-height: 0;
}
.rocket-cta__image {
  width: 100%;
  height: auto;
  display: block;
}
.rocket-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.55) 50%, rgba(8,8,8,0.72) 100%);
}
.rocket-cta__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
  max-width: 680px;
  margin: 0 auto;
}
.rocket-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: clamp(24px, 4vw, 36px);
}
.rocket-cta__headline em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--orange);
}
.rocket-cta__content .section-label { text-align: center; }

@media (max-width: 640px) {
  .rocket-cta__content { padding: 28px 20px; }
  .rocket-cta__content .section-label { display: none; }
  .rocket-cta__content .btn--lg {
    width: 100%;
    font-size: 13px;
    padding: 16px 20px;
  }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.footer__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.footer__product {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.footer__nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.footer__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-faint);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--white-dim); }
.footer__copy {
  width: 100%;
  font-size: 11px;
  color: var(--white-faint);
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .footer__nav { margin-left: 0; flex-wrap: wrap; gap: 16px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════
   GUIDES
═══════════════════════════════════════════ */
.guides {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--black);
}
.guides__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.guides__step {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.35s, background 0.35s;
  position: relative;
  overflow: hidden;
}
.guides__step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s var(--ease-out-expo);
}
.guides__step:hover {
  border-color: var(--orange-dim);
  background: rgba(212,98,26,0.04);
}
.guides__step:hover::before { transform: scaleX(1); }
.guides__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.35;
  flex-shrink: 0;
  width: 44px;
  transition: opacity 0.3s;
}
.guides__step:hover .guides__num { opacity: 0.7; }
.guides__step-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.guides__step-text {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.65;
}

.guides__tools {
  border-top: 1px solid var(--dark-border);
  padding-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.guides__tools-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  flex-shrink: 0;
}
.guides__tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.guides__tools-list li {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 6px 14px;
  border-radius: 2px;
  transition: border-color 0.25s, color 0.25s;
}
.guides__tools-list li:hover {
  border-color: var(--orange-dim);
  color: var(--white);
}

@media (max-width: 640px) {
  .guides__steps { grid-template-columns: 1fr; }
  .guides__step { padding: 24px 20px; gap: 14px; }
  .guides__num { font-size: 1.75rem; width: 36px; }
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark);
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__lead {
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 20px;
}
.about__body {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.8;
}
.about__goals {
  padding: 40px;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
  position: relative;
}
.about__goals::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.about__goals-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}
.about__goals-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about__goals-list li {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: 0.04em;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-border);
  transition: color 0.25s, padding-left 0.35s var(--ease-out-expo);
  cursor: default;
}
.about__goals-list li:last-child { border-bottom: none; }
.about__goals-list li:hover {
  color: var(--orange);
  padding-left: 10px;
}

@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__goals { padding: 28px; }
}
@media (max-width: 560px) {
  .about__goals { padding: 24px 20px; }
  .about__lead { font-size: 1rem; }
}

/* ─── MOBILE FINE-TUNING (≤ 480px) ─────── */
@media (max-width: 480px) {
  :root { --nav-h: 64px; }

  .section-label { font-size: 10px; letter-spacing: 0.14em; }

  /* sections: slightly tighter vertical rhythm */
  .features,
  .transform,
  .eras,
  .consistency,
  .how,
  .guides,
  .char-grid,
  .ui-preview,
  .about { padding: 64px 0; }

  /* about copy: tighten line length */
  .ui-preview__about-text { font-size: 0.9rem; line-height: 1.75; }

  /* footer: smaller gap */
  .footer { padding: 32px 0; }
  .footer__nav { gap: 12px; }
  .footer__link { font-size: 10px; }
}

/* ═══════════════════════════════════════════
   WHOP CHECKOUT MODAL
═══════════════════════════════════════════ */
.whop-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.whop-modal[hidden] { display: none; }

.whop-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.whop-modal__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  height: min(700px, 90vh);
  background: var(--dark-mid);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.75), 0 0 0 1px rgba(212,98,26,0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.whop-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--dark-border);
  flex-shrink: 0;
  background: var(--dark-card);
}

.whop-modal__title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.whop-modal__close {
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  color: var(--white-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  padding: 0;
  flex-shrink: 0;
}
.whop-modal__close:hover {
  border-color: var(--orange-dim);
  color: var(--white);
  background: rgba(212,98,26,0.06);
}
.whop-modal__close:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.whop-modal__body {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.whop-modal__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@media (max-width: 560px) {
  .whop-modal {
    padding: 0;
    align-items: flex-end;
  }
  .whop-modal__container {
    max-width: 100%;
    width: 100%;
    height: min(640px, 92vh);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}
