/* ============================================================
   BENNY TRADES FUTURES — homepage (bold dark / video-led layout)
   The /learn hub and legal pages still use styles.css.
   ============================================================ */

:root {
    --accent: #2e9bff;
    --accent-light: #5cb2ff;
    --accent-glow: rgba(46, 155, 255, 0.25);
    --accent-shadow: rgba(46, 155, 255, 0.4);
    --dark: #111111;
    --darker: #0a0a0a;
    --mid: #1a1a1a;
    --line: #222222;
    --gray: #888888;
    --light: #f5f5f5;
    --white: #ffffff;
    --green: #00e08a;
    --red: #ff4d5e;
    --maxw: 1180px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
section[id], [id].anchor { scroll-margin-top: 90px; }

/* ---------- TOPBAR (live status) ---------- */
.topbar { background: var(--darker); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--gray); }
.topbar-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 10px 48px;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.livebar { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 500; min-width: 0; }
.livebar-dot { width: 8px; height: 8px; border-radius: 50%; background: #555; flex-shrink: 0; }
.livebar-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.livebar-cta { display: none; color: var(--red); font-weight: 800; letter-spacing: 0.05em; white-space: nowrap; }
.livebar[data-state="live"] .livebar-dot { background: var(--red); box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.6); animation: livePulse 1.6s infinite; }
.livebar[data-state="live"] .livebar-cta { display: inline; }
.livebar[data-state="offline"] .livebar-dot { background: var(--accent); }
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.6); }
    100% { box-shadow: 0 0 0 10px rgba(255, 77, 94, 0); }
}
.topbar-right { display: flex; gap: 24px; flex-shrink: 0; }
.topbar-right a { transition: color 0.2s; }
.topbar-right a:hover { color: var(--accent); }

/* ---------- NAV ---------- */
.nav { background: rgba(17, 17, 17, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid #1e1e1e; position: sticky; top: 0; z-index: 100; }
.nav-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 20px 48px;
    display: flex; justify-content: space-between; align-items: center; gap: 32px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.04); }
.logo-mark {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px;
    background: var(--accent); color: var(--dark); font-size: 13px; font-weight: 900; letter-spacing: 0.02em;
}
.logo span.accent { color: var(--accent); font-weight: 400; }
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
    background: var(--accent); color: var(--dark); padding: 14px 26px; border-radius: 6px;
    font-weight: 800; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
    box-shadow: 0 8px 25px var(--accent-shadow); transition: all 0.3s ease;
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.nav-cta::after { content: "→"; transition: transform 0.3s ease; font-size: 16px; line-height: 1; }
.nav-cta:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 14px 35px rgba(46, 155, 255, 0.6); }
.nav-cta:hover::after { transform: translateX(4px); }

/* ---------- BUTTONS ---------- */
.btn {
    padding: 18px 32px; border-radius: 6px; font-weight: 800; font-size: 14px;
    letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.3s var(--ease);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
}
.btn-primary { background: var(--accent); color: var(--dark); box-shadow: 0 10px 40px var(--accent-shadow); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-3px); box-shadow: 0 18px 60px rgba(46, 155, 255, 0.65); }
.btn-ghost { border: 1.5px solid #333; color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 35px var(--accent-glow); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }

/* ---------- HERO ---------- */
.hero { background: var(--dark); padding: 120px 48px 90px; text-align: center; position: relative; }
.hero-inner { max-width: var(--maxw); margin: 0 auto; }
.hero-eyebrow, .hero-word-container, .hero-sub, .hero-ctas, .hero-trust {
    opacity: 0; transform: translateY(24px);
    animation: heroIn 0.9s var(--ease) forwards;
}
.hero-eyebrow { animation-delay: 0.15s; }
.hero-word-container { animation-delay: 0.35s; }
.hero-sub { animation-delay: 0.55s; }
.hero-ctas { animation-delay: 0.75s; }
.hero-trust { animation-delay: 0.95s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 32px; }
.hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-word-container { position: relative; height: clamp(56px, 13vw, 220px); margin-bottom: 32px; }
.hero-word {
    position: absolute; inset: 0 0 auto 0; opacity: 0; animation: wordFade 12s infinite;
    font-size: clamp(40px, 11vw, 190px); font-weight: 900; letter-spacing: -0.04em; line-height: 1;
    white-space: nowrap; text-align: center;
}
.hero-word span { color: var(--accent); }
.hero-word:nth-child(1) { animation-delay: 0s; }
.hero-word:nth-child(2) { animation-delay: 3s; }
.hero-word:nth-child(3) { animation-delay: 6s; }
.hero-word:nth-child(4) { animation-delay: 9s; }
@keyframes wordFade {
    0% { opacity: 0; transform: translateY(10px); }
    4% { opacity: 1; transform: translateY(0); }
    21% { opacity: 1; transform: translateY(0); }
    25% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; }
}
.hero-sub { font-size: clamp(18px, 2vw, 24px); color: var(--gray); max-width: 760px; margin: 0 auto 48px; line-height: 1.4; }
.hero-sub .highlight { color: var(--accent); font-weight: 700; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 32px; font-size: 13px; color: #666; letter-spacing: 0.02em; }

/* ---------- VIDEO CARDS (shared) ---------- */
.video-card, .short-card {
    background: var(--mid); border-radius: 10px; overflow: hidden; position: relative; cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.video-card { aspect-ratio: 16 / 9; }
.short-card { aspect-ratio: 9 / 16; }
.video-card:hover, .short-card:hover, .video-card:focus-visible, .short-card:focus-visible {
    transform: scale(1.04); box-shadow: 0 20px 70px rgba(46, 155, 255, 0.5); z-index: 5; outline: none;
}
.vc-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The preview iframe is oversized so YouTube's title bar and logo sit outside the card */
.vc-frame {
    position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
    transform: translate(-50%, -50%) scale(1.22); border: 0; pointer-events: none;
    opacity: 0; transition: opacity 0.6s ease;
}
.short-card .vc-frame { transform: translate(-50%, -50%) scale(1.12); }
.vc-frame.ready { opacity: 1; }
.vc-shade {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.85) 100%);
}
.vc-title {
    position: absolute; left: 16px; right: 16px; bottom: 14px; font-size: 14px; font-weight: 700;
    line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    pointer-events: none; text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.vc-play {
    position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(0,0,0,0.55); display: grid; place-items: center; pointer-events: none;
    transition: background 0.3s ease, transform 0.3s ease;
}
.vc-play svg { margin-left: 2px; }
.video-card:hover .vc-play, .short-card:hover .vc-play { background: var(--accent); color: var(--dark); transform: scale(1.1); }
.vc-skeleton { background: linear-gradient(110deg, #1a1a1a 30%, #242424 50%, #1a1a1a 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; cursor: default; }
.vc-skeleton:hover { transform: none; box-shadow: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- VIDEO STRIP (latest uploads) ---------- */
.video-strip { background: var(--dark); padding: 20px 48px 120px; position: relative; }
.video-strip-inner {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 2;
}
.strip-label {
    max-width: var(--maxw); margin: 0 auto 20px; display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray);
}
.strip-label a { color: var(--accent); transition: opacity 0.2s; }
.strip-label a:hover { opacity: 0.75; }
.strip-fallback {
    grid-column: 1 / -1; padding: 48px; border: 1px dashed #333; border-radius: 10px; text-align: center; color: var(--gray);
}
.strip-fallback a { color: var(--accent); font-weight: 700; }

/* ---------- SECTIONS ---------- */
section { padding: 120px 48px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 24px; }
.section-title { font-size: clamp(40px, 6vw, 80px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 32px; }
.section-title span { color: var(--accent); }
.section-lead { color: var(--gray); font-size: 18px; line-height: 1.6; max-width: 720px; }

/* Light slab with the angled top edge */
.slab-light {
    background: var(--light); color: var(--dark);
    margin-top: -50px; padding-top: 140px;
    clip-path: polygon(0 0, 100% 70px, 100% 100%, 0 100%); position: relative;
}
.slab-light .section-title { color: var(--dark); }
.slab-light .section-title span { color: var(--dark); font-style: italic; }
.slab-light .section-eyebrow { color: var(--dark); }
.slab-light .section-lead { color: #555; }

/* ---------- PAIN + SHORTS ---------- */
.pain { text-align: center; }
.pain-title { font-size: clamp(28px, 4vw, 52px) !important; max-width: 1000px; margin-left: auto; margin-right: auto; }
.shorts-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 64px auto 56px; }
.shorts-grid .short-card { width: calc((100% - 60px) / 4); max-width: 270px; min-width: 200px; background: var(--dark); }
.pain-closer { font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 32px; }
.pain-closer span { color: var(--accent); font-style: italic; }
.pain .btn-primary { position: relative; z-index: 3; }

/* ---------- STATS ---------- */
.stats { padding: 110px 48px 80px; margin-top: -130px; position: relative; z-index: 2; pointer-events: none; }
.stats-inner { pointer-events: auto; }
.stats::before {
    content: ""; position: absolute; inset: 0; background: var(--dark); z-index: -1;
    clip-path: polygon(0 0, 100% 130px, 100% 100%, 0 100%); border-bottom: 1px solid #1e1e1e;
}
.stats-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; z-index: 1; }
.stat { text-align: center; }
.stat-number { font-size: clamp(40px, 6vw, 72px); font-weight: 900; color: var(--accent); letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px; }
.stat-label { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }

/* ---------- VIDEO FEATURE ---------- */
.video-feature { background: var(--dark); }
.video-feature-title { font-size: clamp(36px, 5vw, 64px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 48px; max-width: 900px; }
.video-feature-title em { color: var(--accent); font-style: italic; }
.video-embed { aspect-ratio: 16 / 9; background: var(--mid); border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; width: 100%; }
.video-embed img { width: 100%; height: 100%; object-fit: cover; }
.video-embed::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; transition: background 0.3s ease;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 100%);
}
.video-embed:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%); }
.play-button {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
    width: 96px; height: 96px; border-radius: 50%; background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 50px rgba(46, 155, 255, 0.5);
    transition: transform 0.4s var(--ease), box-shadow 0.3s ease;
}
.video-embed:hover .play-button { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 14px 60px rgba(46, 155, 255, 0.75); }
.play-button svg { margin-left: 4px; }
.play-button::before {
    content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--accent);
    opacity: 0; animation: playPulse 2.4s ease-out infinite;
}
@keyframes playPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.4); opacity: 0; } }

/* ---------- STORY (transparency) ---------- */
.story { background: var(--darker); }
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.story-photo { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(135deg, #222 0%, #111 100%); border-radius: 12px; overflow: hidden; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.story-quote {
    position: absolute; bottom: 24px; left: 24px; right: 24px; background: rgba(0, 0, 0, 0.85);
    padding: 20px; border-left: 3px solid var(--accent); border-radius: 4px; font-size: 14px; font-style: italic; line-height: 1.5;
}
.story p { color: var(--gray); font-size: 17px; margin-bottom: 24px; line-height: 1.7; }
.story p strong { color: var(--white); }
.timeline { margin-top: 40px; border-left: 2px solid var(--line); padding-left: 24px; }
.timeline-item { margin-bottom: 18px; }
.timeline-step { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; }
.timeline-text { font-size: 15px; margin-top: 4px; }

/* ---------- PROGRAMS ---------- */
.programs { z-index: 1; }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.program-card {
    background: var(--white); padding: 40px 32px; border-radius: 8px; border: 2px solid transparent;
    display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.program-card.featured { background: var(--dark); color: var(--white); border-color: var(--accent); box-shadow: 0 0 40px var(--accent-glow); }
.program-tag {
    display: inline-block; background: var(--accent); color: var(--dark); padding: 4px 10px; border-radius: 4px;
    font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; align-self: flex-start;
}
.program-card h3 { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 8px; }
.program-price { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 24px; }
.program-card.featured .program-price { color: var(--accent); }
.program-goal { font-size: 17px; line-height: 1.5; margin-bottom: 24px; font-weight: 600; }
.program-card ul { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.program-card li { font-size: 14px; padding: 8px 0; border-bottom: 1px solid #eee; color: #555; }
.program-card.featured li { border-bottom-color: var(--line); color: #aaa; }
.program-card .btn { align-self: flex-start; }
.program-note { margin-top: 32px; font-size: 13px; color: #777; text-align: center; }

/* ---------- FRAMEWORK / SESSIONS (dark cards) ---------- */
.framework { background: var(--dark); margin-top: -70px; padding-top: 160px; clip-path: polygon(0 0, 100% 70px, 100% 100%, 0 100%); position: relative; z-index: 2; }
.sessions { background: var(--darker); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.dark-card { padding: 40px 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--mid); transition: border-color 0.3s ease, transform 0.3s var(--ease); }
.dark-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card-num { font-size: 14px; color: var(--accent); font-weight: 800; letter-spacing: 0.2em; margin-bottom: 16px; }
.dark-card h3 { font-size: 32px; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.05; }
.dark-card h3 span { color: var(--accent); }
.dark-card p { color: var(--gray); font-size: 15px; line-height: 1.6; }
.dark-card ul { list-style: none; }
.dark-card li { color: #bbb; font-size: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.dark-card li:last-child { border-bottom: 0; }
.flow-card ol { list-style: none; counter-reset: flow; }
.flow-card ol li { counter-increment: flow; display: flex; gap: 14px; align-items: center; color: var(--white); font-weight: 600; }
.flow-card ol li::before { content: counter(flow); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--dark); font-size: 12px; font-weight: 900; display: grid; place-items: center; flex-shrink: 0; }
.fit-card h3 { font-size: 26px; }
.fit-card.for li::before { content: "✓  "; color: var(--green); font-weight: 900; }
.fit-card.against li::before { content: "✕  "; color: var(--red); font-weight: 900; }
.fit-card.against:hover { border-color: var(--red); }

/* ---------- REAL CHARTS CAROUSEL ---------- */
.charts { background: var(--dark); }
.carousel { margin-top: 64px; }
.carousel-window { position: relative; border-radius: 12px; overflow: hidden; background: var(--mid); border: 1px solid var(--line); aspect-ratio: 3033 / 1360; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; margin: 0; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; background: #0b0b0b; }
.carousel-slide figcaption {
    position: absolute; left: 16px; bottom: 16px; background: rgba(0,0,0,0.8); padding: 8px 14px; border-radius: 4px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-left: 3px solid var(--accent);
}
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
    background: rgba(0,0,0,0.65); display: grid; place-items: center; transition: background 0.3s ease; z-index: 2;
}
.carousel-btn:hover { background: var(--accent); color: var(--dark); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.carousel-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: #333; transition: all 0.3s ease; }
.carousel-dots .dot.active { background: var(--accent); width: 28px; border-radius: 5px; }
.fine-print { color: #666; font-size: 13px; text-align: center; margin-top: 16px; }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 160px 48px; background: var(--darker); }
.cta-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: grayscale(0.4); transform: scale(1.1); animation: slowZoom 24s ease-in-out infinite alternate; }
@keyframes slowZoom { to { transform: scale(1.22); } }
.cta-band-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.95) 75%); }
.cta-band-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.cta-band-title { font-size: clamp(44px, 8vw, 120px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 48px; }
.cta-band-title .word { display: inline-block; opacity: 0; transform: translateY(40px); }
.cta-band.visible .cta-band-title .word { animation: cardRise 0.7s var(--ease) forwards; }
.cta-band-title .italic { color: var(--accent); font-style: italic; }
.cta-band-title .word:nth-child(1) { animation-delay: 0.05s; }
.cta-band-title .word:nth-child(2) { animation-delay: 0.15s; }
.cta-band-title .word:nth-child(4) { animation-delay: 0.3s; }
.cta-band-title .word:nth-child(5) { animation-delay: 0.4s; }
.cta-band-title .word:nth-child(6) { animation-delay: 0.5s; }
.cta-band-title .word:nth-child(7) { animation-delay: 0.6s; }
@keyframes cardRise { to { opacity: 1; transform: translateY(0); } }

/* ---------- CHANNEL (podcast-style) ---------- */
.channel { background: var(--dark); }
.channel-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.channel-art { aspect-ratio: 1; border-radius: 12px; overflow: hidden; position: relative; background: var(--mid); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.channel-art img { width: 100%; height: 100%; object-fit: cover; }
.channel-art .live-chip {
    position: absolute; top: 20px; left: 20px; background: var(--red); color: var(--white); padding: 6px 12px; border-radius: 4px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.12em; display: none;
}
.channel-art.is-live .live-chip { display: inline-block; }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.platform {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 6px;
    border: 1.5px solid #333; font-size: 14px; font-weight: 700; transition: all 0.3s var(--ease);
}
.platform:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq { background: var(--darker); }
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 26px 0; font-size: 19px; font-weight: 700; text-align: left; transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-chev { flex-shrink: 0; transition: transform 0.3s ease; color: var(--accent); }
.faq-item.active .faq-chev { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-a > p { overflow: hidden; color: var(--gray); font-size: 16px; line-height: 1.7; }
.faq-item.active .faq-a { grid-template-rows: 1fr; }
.faq-item.active .faq-a > p { padding-bottom: 26px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--darker); border-top: 1px solid #1e1e1e; padding: 120px 48px 48px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-heading { font-size: clamp(48px, 8vw, 110px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 64px; }
.footer-heading span { color: var(--accent); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-col h4 { font-size: 12px; color: var(--gray); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }
.footer-col a { font-size: 18px; font-weight: 700; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin: 40px 0; }
.footer-social a {
    width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #333; display: grid; place-items: center; transition: all 0.3s ease;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.footer-disclaimer { color: #666; font-size: 13px; line-height: 1.7; max-width: 900px; margin-bottom: 32px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: #666; font-size: 13px; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .links { display: flex; gap: 20px; }

/* ---------- VIDEO MODAL ---------- */
.video-modal {
    position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.92); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 48px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
}
.video-modal.open { opacity: 1; visibility: visible; }
.video-modal-content { position: relative; width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 30px 100px rgba(46, 155, 255, 0.25); }
.video-modal-content.vertical { max-width: min(420px, calc((100vh - 96px) * 9 / 16)); aspect-ratio: 9 / 16; }
.video-modal-content iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close {
    position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.08); font-size: 26px; line-height: 1; z-index: 2; transition: background 0.2s;
}
.video-modal-close:hover { background: var(--accent); color: var(--dark); }

/* ---------- SCROLL REVEAL ---------- */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }
/* Clip-path slabs shouldn't slide (it breaks the diagonal overlap) — fade only */
.slab-light.fade-up, .framework.fade-up, .stats.fade-up { transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
    .nav-links { display: none; }
    .story-grid, .channel-grid { grid-template-columns: 1fr; gap: 48px; }
    .story-photo { max-width: 460px; }
    .channel-art { max-width: 380px; }
    .programs-grid, .card-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
    .card-grid.two { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
    .shorts-grid .short-card { width: calc((100% - 40px) / 3); min-width: 0; }
}
@media (max-width: 760px) {
    section, .hero, .video-strip, .stats, .cta-band, .footer { padding-left: 20px; padding-right: 20px; }
    section { padding-top: 88px; padding-bottom: 88px; }
    .slab-light { padding-top: 110px; clip-path: polygon(0 0, 100% 36px, 100% 100%, 0 100%); }
    .framework { padding-top: 120px; clip-path: polygon(0 0, 100% 36px, 100% 100%, 0 100%); }
    .stats::before { clip-path: polygon(0 0, 100% 70px, 100% 100%, 0 100%); }
    .stats { margin-top: -90px; padding-top: 90px; }
    .topbar-inner, .nav-inner { padding-left: 20px; padding-right: 20px; }
    .topbar-right { display: none; }
    .nav-inner { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
    .logo { font-size: 14px; }
    .logo .full { display: none; }
    .nav-cta { padding: 12px 16px; font-size: 12px; }
    .hero { padding-top: 80px; padding-bottom: 64px; }
    .hero-ctas .btn { width: 100%; }
    .video-strip { padding-bottom: 88px; }
    .video-strip-inner { grid-template-columns: 1fr; gap: 16px; }
    .shorts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .shorts-grid .short-card { width: auto; max-width: none; }
    .program-card { padding: 32px 24px; }
    .dark-card { padding: 32px 24px; }
    .dark-card h3 { font-size: 28px; }
    .footer-cols { grid-template-columns: 1fr; }
    .video-modal { padding: 16px; }
    .carousel-btn { width: 38px; height: 38px; }
    .carousel-slide figcaption { font-size: 10px; left: 8px; bottom: 8px; padding: 5px 9px; }
    .cta-band { padding-top: 110px; padding-bottom: 110px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
    .video-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .hero-word:first-child { opacity: 1; }
    .hero-word:not(:first-child) { display: none; }
    .fade-up, .cta-band-title .word { opacity: 1; transform: none; }
}
