:root {
    --ink: #173424;
    --deep: #10271a;
    --leaf: #3f8f4e;
    --lime: #a8d84e;
    --sun: #f5c84c;
    --sky: #76c9df;
    --paper: #f6f8ef;
    --white: #fff;
    --muted: #667065;
    --line: #d8dfcf;
    --gutter: clamp(20px, 5vw, 76px);
    --width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gutter);
    color: var(--white);
    transition: background 180ms ease, color 180ms ease;
}
.site-header.scrolled,
.site-header.nav-open {
    border-bottom: 1px solid rgba(23, 52, 36, .12);
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    font-weight: 850;
    text-transform: uppercase;
}
.brand-mark {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: .8rem;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: .83rem;
    font-weight: 750;
}
.site-nav a { border-bottom: 1px solid transparent; }
.site-nav a:hover { border-color: currentColor; }
.site-nav .nav-youtube {
    padding: 10px 16px;
    border: 1px solid currentColor;
    border-radius: 4px;
}
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: inherit;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

.hero {
    position: relative;
    display: flex;
    min-height: min(780px, 94vh);
    align-items: flex-end;
    overflow: hidden;
    color: var(--white);
}
.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-image {
    object-fit: cover;
    object-position: center;
}
.hero-shade {
    background: linear-gradient(90deg, rgba(9, 34, 19, .92) 0%, rgba(9, 34, 19, .58) 40%, rgba(9, 34, 19, .05) 72%);
}
.hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, 82vw);
    padding: 150px var(--gutter) 102px;
}
.eyebrow {
    margin: 0 0 18px;
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
}
.hero h1 {
    margin: 0;
    font-size: clamp(4rem, 10vw, 8.6rem);
    font-weight: 850;
    line-height: .9;
}
.hero-copy {
    max-width: 580px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}
.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 34px;
    flex-wrap: wrap;
}
.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: .82rem;
    font-weight: 800;
}
.button-primary { background: var(--sun); color: #342d0f; }
.button-secondary { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.hero-scroll {
    position: absolute;
    right: var(--gutter);
    bottom: 40px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
}
.scroll-line { width: 44px; height: 1px; background: currentColor; }

.section {
    width: min(100%, calc(var(--width) + (var(--gutter) * 2)));
    margin: 0 auto;
    padding: 104px var(--gutter);
}
.section-heading,
.collection-heading {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 50px;
    align-items: end;
}
.section h2,
.channel-cta h2 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.7rem);
    font-weight: 750;
    line-height: 1;
}
.video-section .eyebrow,
.about .eyebrow { color: var(--leaf); }
.text-link {
    justify-self: end;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: .82rem;
    font-weight: 800;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 18px;
    margin-top: 58px;
}
.video-card-featured { grid-column: 1 / -1; }
.video-thumbnail {
    position: relative;
    display: block;
    min-height: 290px;
    overflow: hidden;
    border-radius: 6px;
}
.video-card-featured .video-thumbnail { min-height: 470px; }
.thumbnail-garden {
    background:
        radial-gradient(circle at 20% 60%, #f2cc4f 0 6%, transparent 6.5%),
        radial-gradient(circle at 70% 52%, #9fcf48 0 9%, transparent 9.5%),
        linear-gradient(#7ec8dc 0 48%, #65a64d 48%);
}
.thumbnail-collection {
    background:
        linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,.75) 8% 9%, transparent 9% 31%, rgba(255,255,255,.75) 31% 32%, transparent 32% 54%, rgba(255,255,255,.75) 54% 55%, transparent 55% 77%, rgba(255,255,255,.75) 77% 78%, transparent 78%),
        linear-gradient(#d6ab6a, #8b6438);
}
.thumbnail-studio {
    background:
        linear-gradient(120deg, transparent 0 38%, #f2c84b 38% 43%, transparent 43%),
        linear-gradient(20deg, #23442d, #6ca153);
}
.episode-label {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    border-radius: 3px;
    background: rgba(16, 39, 26, .88);
    color: var(--white);
    font-size: .68rem;
    font-weight: 850;
    text-transform: uppercase;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: rgba(16, 39, 26, .62);
    color: var(--white);
    transform: translate(-50%, -50%);
    transition: transform 160ms ease, background 160ms ease;
}
.video-thumbnail:hover .play-button {
    background: var(--sun);
    color: var(--deep);
    transform: translate(-50%, -50%) scale(1.08);
}
.video-copy { padding-top: 18px; }
.video-copy p,
.collection-grid p {
    margin: 0;
    color: var(--leaf);
    font-size: .7rem;
    font-weight: 850;
    text-transform: uppercase;
}
.video-copy h3 {
    margin: 6px 0;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
}
.video-copy > span,
.collection-grid > article > span {
    color: var(--muted);
    font-size: .88rem;
}

.collection-band {
    background: var(--deep);
    color: var(--white);
}
.collection-heading > p {
    margin: 0;
    color: rgba(255,255,255,.6);
}
.collection-heading .eyebrow { color: var(--lime); }
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 58px 0 36px;
    background: rgba(255,255,255,.12);
}
.collection-grid article {
    padding-bottom: 26px;
    background: var(--deep);
}
.collection-art {
    position: relative;
    height: 300px;
    margin-bottom: 20px;
    overflow: hidden;
}
.art-plants { background: #b8d66d; }
.art-zombies { background: #6b9b83; }
.art-rare { display: grid; place-items: center; background: #e1b54c; }
.plush-shape {
    position: absolute;
    display: block;
    border: 8px solid rgba(16,39,26,.16);
}
.flower {
    left: 14%;
    bottom: 12%;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--sun);
}
.sprout {
    right: 12%;
    top: 18%;
    width: 100px;
    height: 150px;
    border-radius: 50% 50% 36% 36%;
    background: #6dad4f;
}
.zombie-a,
.zombie-b {
    bottom: 8%;
    width: 115px;
    height: 180px;
    border-radius: 46% 46% 28% 28%;
    background: #799783;
}
.zombie-a { left: 15%; }
.zombie-b { right: 13%; height: 145px; background: #adc0ae; }
.rare-star { color: #5d4818; font-size: 7rem; }
.collection-grid h3 {
    margin: 5px 0;
    font-size: 1.35rem;
}
.button-dark { border-color: rgba(255,255,255,.55); color: var(--white); }

.about {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: 70px;
    align-items: start;
}
.about-copy > p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
}
.creator-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 48px;
    border-top: 1px solid var(--line);
}
.creator-stats div { padding: 22px 12px 0 0; }
.creator-stats strong,
.creator-stats span { display: block; }
.creator-stats strong { font-size: 1.8rem; }
.creator-stats span { color: var(--muted); font-size: .75rem; }
.upload-board {
    padding: 28px;
    border: 2px solid var(--ink);
    border-radius: 6px;
    background: var(--sun);
}
.upload-board p {
    margin: 0 0 40px;
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
}
.upload-board strong,
.upload-board > span { display: block; }
.upload-board strong { font-size: 1.55rem; line-height: 1.15; }
.upload-board > span { margin: 14px 0 34px; color: #60521f; }
.upload-board a { font-size: .8rem; font-weight: 850; }

.channel-cta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    padding: 100px var(--gutter);
    background: var(--sky);
}
.channel-cta > div { max-width: 870px; }
.channel-cta p:not(.eyebrow) { max-width: 650px; margin: 22px 0 0; color: #285366; }
.button-light { flex: 0 0 auto; border-color: var(--ink); }

.site-footer {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 30px;
    align-items: center;
    padding: 34px var(--gutter);
    background: var(--deep);
    color: rgba(255,255,255,.62);
    font-size: .72rem;
}
.brand-footer { color: var(--white); }

/* WordPress integration */
.site-nav .menu-item { list-style: none; }
body.admin-bar .site-header { top: 32px; }
body:not(.home) .site-header {
    border-bottom: 1px solid rgba(23, 52, 36, .12);
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
}
body:not(.home) main.section { padding-top: 140px; }

@media (max-width: 860px) {
    .site-header { min-height: 66px; }
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        display: none;
        align-items: stretch;
        padding: 14px var(--gutter) 22px;
        background: var(--white);
        color: var(--ink);
        flex-direction: column;
        gap: 0;
    }
    .site-header.nav-open .site-nav { display: flex; }
    .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .site-nav .nav-youtube { margin-top: 10px; text-align: center; }
    .hero-content { width: 100%; }
    .hero-shade { background: linear-gradient(90deg, rgba(9,34,19,.9), rgba(9,34,19,.34)); }
    .section-heading,
    .collection-heading,
    .about {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .text-link { justify-self: start; }
    .collection-grid { grid-template-columns: 1fr; }
    .collection-art { height: 260px; }
    .channel-cta { align-items: start; flex-direction: column; }
    .site-footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 620px) {
    .hero { min-height: 720px; }
    .hero h1 { font-size: clamp(3.4rem, 18vw, 5.4rem); }
    .hero-content { padding-bottom: 90px; }
    .hero-scroll { display: none; }
    .section { padding-top: 76px; padding-bottom: 76px; }
    .video-grid { grid-template-columns: 1fr; }
    .video-card-featured { grid-column: auto; }
    .video-thumbnail,
    .video-card-featured .video-thumbnail { min-height: 280px; }
    .creator-stats { grid-template-columns: 1fr; }
    .creator-stats div { padding-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
