﻿/* ========================= TOKENS ========================= */
:root {
    --red: #00A800;
    --black: #0b0b0b;
    --white: #fff;
    --max: 864px;
    --footer-h: 45px;
    --band-shade: .0;
    --header-img: url("/img/jelly.webp");
}

/* ========================= BASE ========================= */
* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--white);
    font: 12px/1.5 system-ui,Arial,Helvetica,sans-serif
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

.container {
    width: min(100%,var(--max));
    margin-inline: auto;
    padding-inline: 12px
}

/* global backdrop */
.bg {
    position: fixed;
    inset: 0;
    z-index: -2
}

.scrim {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.85));
    z-index: -1
}

/* ========================= HEADER ========================= */
.site-header {
    padding: 0
}

.header-inner {
    min-height: 112px;
    text-align: center;
    background-image: var(--header-img);
    box-shadow: inset 0 6px 24px rgba(0,0,0,.35);
    border-bottom:2px solid white;
    border-top:5px solid black;
    box-shadow:0 0 35px black inset;
}

.logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.6))
}

.logo-link {
    display: inline-block
}

/* ========================= NAV (JS makes .is-fixed) ========================= */
.main-nav {
    position: relative;
    z-index: 10000;
    background: #0b0b0b;
    min-height: 48px;
    border-block: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 0 20px #000
}

    .main-nav .nav-inner {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        width: min(100%,var(--max));
        margin: 0 auto
    }

    .main-nav a {
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        letter-spacing: .4px;
        padding: 0 10px;
        transition: .15s
    }

        .main-nav a:hover {
            background: rgba(255,255,255,.07)
        }

        .main-nav a.active {
            background: rgba(255,255,255,.08);
            box-shadow: 0 0 0 2px rgba(255,255,255,.12) inset
        }

.spacer {
    flex: 1
}

.main-nav .follow-yt img {
    height: 36px;
    width: auto
}

.hamburger {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 33px;
    height: 27px;
    background: transparent;
    border: 0;
    display: none;
    cursor: pointer;
    z-index: 2
}

    .hamburger span {
        display: block;
        height: 2px;
        margin: 5px 0;
        background: #fff
    }

/* fixed state from JS sentinel */
.main-nav.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0
}

body.nav-fixed {
    padding-top: var(--nav-h,48px)
}

/* ========================= SECTION BANDS ========================= */
.section-pad {
    padding: 48px 0
}

    .section-pad .container {
        padding-inline: 12px
    }

.band-dark {
    color: #eee;
    background: #0b0b0b;
    background-image: linear-gradient(rgba(0,0,0,var(--band-shade)),rgba(0,0,0,var(--band-shade))),var(--band-img,none);
    background-repeat: no-repeat,no-repeat;
    background-size: auto,cover;
    background-position: center,center;
    box-shadow: inset 0 12px 24px rgba(0,0,0,.22), inset 0 -12px 24px rgba(0,0,0,.22);
   box-shadow: 0 0 20px black;
}

@media (min-width:901px) {
    .band-dark {
        background-attachment: scroll,fixed
    }
}

.band-light {
    color: #111;
    background: #fff;
    box-shadow: inset 0 10px 22px rgba(0,0,0,.1), inset 0 -10px 22px rgba(0,0,0,.1);
    box-shadow: 0 0 20px black;
}

/* headings */
.section-title, .section-pad h2 {
    margin: 0 0 10px;
    font-size: 1.6rem;
    letter-spacing: .4px;
    text-shadow: 0 2px 6px rgba(0,0,0,.55)
}

    .section-title::after, .section-pad h2::after {
        content: "";
        display: block;
        width: 54px;
        height: 2px;
        margin-top: 8px;
        background: var(--red)
    }

.section-pad p {
    margin: 8px 0 10px
}

.section-pad ul {
    margin: 8px 0 0 1rem
}

.section-pad li {
    margin: 4px 0
}

.section-pad a {
    color: var(--red)
}

    .section-pad a:hover {
        filter: brightness(.92)
    }

/* ========================= LATEST (video) ========================= */
.latest {
    padding: 0 0 48px
}

.section-title {
    width: min(100%,var(--max));
    margin: 20px auto 10px
}

.yt-card {
    width: min(100%,var(--max));
    margin-inline: auto;
    overflow: hidden;
    background: rgba(0,0,0,.65);
    border: 1px solid rgba(255,255,255,1);
    box-shadow: 0 15px 45px rgba(0,0,0,.5), 0 0 0 2px rgba(255,255,255,.03) inset;
    background-image: linear-gradient(90deg,rgb(33,33,33) 0%,transparent 59%),repeating-linear-gradient(45deg,rgba(168,168,168,.1) 0 1px,transparent 1px 13px),repeating-linear-gradient(135deg,rgba(168,168,168,.1) 0 1px,transparent 1px 13px),linear-gradient(90deg,rgb(33,33,33),rgb(33,33,33));
}

.thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #111;
    overflow: hidden
}

    .thumb img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translate(-50%,-50%) scale(.75);
        transform-origin: center;
        filter: contrast(1.03) saturate(1.05) brightness(.95);
        z-index: 1;
        border: 2px solid #fff;
        box-shadow: 0 0 40px #fff;
    }

    .thumb::after {
        content: "";
        position: absolute;
        inset: 8px;
        box-shadow: 0 0 0 2px rgba(255,255,255,.08) inset;
        pointer-events: none;
        z-index: 2
    }

    .thumb::before {
        content: "";
        position: absolute;
        right: 10px;
        bottom: 10px;
        width: 46px;
        height: 32px;
        background: url('/img/ytfulllogo.png') center/contain no-repeat;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,.6));
        pointer-events: none;
        z-index: 3;
    }

    .thumb .play {
        position: absolute;
        left: 15px;
        bottom: 15px;
        z-index: 4
    }

.corner-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    padding: 5px 8px;
    letter-spacing: .4px
}

.play {
    width: 52px;
    height: 52px;
    border: 0;
    background: rgba(0,0,0,.35);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,.5);
}

    .play:hover {
        background: rgba(0,0,0,.55)
    }

    .play svg {
        width: 36px;
        height: 36px
    }

.meta {
    padding: 12px 14px 16px
}

.video-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    letter-spacing: .3px
}

.video-desc {
    margin: 0;
    color: #eaeaea;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    padding: 9px 10px
}

/* ========================= CONTACT ========================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 21px
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.contact-card, .contact-info-lite, .contact-form-wrap {
    background: rgba(0,0,0,.72);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
    padding: 16px
}

.contact-card__inner {
    padding: 16px;
    box-shadow: 0 0 0 2px rgba(255,255,255,.18) inset;
    background: linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02))
}

.contact-brand {
    font-size: 2rem;
    margin: 0 0 10px;
    letter-spacing: .8px;
    font-weight: 900;
    text-transform: uppercase
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px
}

    .contact-list li {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 8px 0
    }

    .contact-list a {
        color: #fff;
        text-decoration: none
    }

        .contact-list a:hover {
            color: var(--red)
        }

.ci {
    width: 16px;
    height: 16px;
    display: inline-block;
    background: rgba(255,255,255,.9)
}

.ci-loc {
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z"/></svg>') center/16px 16px no-repeat
}

.ci-mail {
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm-1.4 4.25-6.2 4.13a1 1 0 0 1-1.1 0L5.1 8.25A1 1 0 0 1 6.2 6.7l5.8 3.86L18 6.7a1 1 0 1 1 1.1 1.55Z"/></svg>') center/16px 16px no-repeat
}

.social-row {
    display: flex;
    gap: 9px
}

.soc {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: var(--red);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 8px 20px rgba(0,0,0,.35)
}

    .soc:hover {
        filter: brightness(1.1)
    }

.contact-head {
    margin: 0 0 10px;
    font-size: 1.05rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-weight: 800
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

    .contact-form .field {
        display: flex;
        flex-direction: column
    }

    .contact-form .field-full {
        grid-column: 1/-1
    }

    .contact-form label {
        font-weight: 700;
        margin-bottom: 4px
    }

    .contact-form input, .contact-form textarea {
        width: 100%;
        padding: 9px 10px;
        border: 1px solid rgba(255,255,255,.12);
        background: #0f0f0f;
        color: #fff;
        box-shadow: 0 1px 0 rgba(255,255,255,.06) inset;
    }

    .contact-form textarea {
        resize: vertical
    }

        .contact-form input:focus, .contact-form textarea:focus {
            outline: none;
            border-color: var(--red);
            box-shadow: 0 0 0 2px rgba(0,168,0,.35)
        }

.btn-primary {
    grid-column: 1/-1;
    justify-self: start;
    background: var(--red);
    color: #fff;
    border: 0;
    padding: 8px 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

    .btn-primary:hover {
        filter: brightness(1.08)
    }

/* ========================= ABOUT / TEAM ========================= */
.about .eyebrow {
    margin: 0 0 4px;
    font-weight: 800;
    letter-spacing: .3px;
    color: #111
}

.about-title {
    margin: 0 0 20px;
    text-align: center;
    font-size: clamp(1.5rem,4vw + .75rem,3.2rem);
    font-weight: 900;
    letter-spacing: .8px;
    line-height: 1.05;
    text-transform: uppercase;
    color: #111;
    position: relative;
}

    .about-title::after {
        content: "";
        display: block;
        width: 120px;
        height: 4px;
        margin: 10px auto 0;
        background: var(--red);
        box-shadow: 0 0 0 6px rgba(0,0,0,.04) inset,0 2px 8px rgba(0,0,0,.25)
    }

.about-hero {
    display: grid;
    grid-template-columns: minmax(165px,285px) 1fr;
    gap: 21px;
    align-items: center;
    margin: 20px 0 26px
}

.about-logo {
    aspect-ratio: 1/1;
    display: grid;
    place-items: center
}

    .about-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain
    }

.about-copy .about-kicker {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: .4px;
    color: #111
}

.about-copy p {
    color: #222
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.team-card {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 12px;
    background: #fff;
    color: #111;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
    padding: 12px
}

.team-photo {
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset;
    overflow: hidden;
    display: grid;
    place-items: center
}

    .team-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.team-name {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .5px
}

.team-bio {
    margin: 0;
    color: #333
}

/* ========================= TESTIMONIALS ========================= */
.testi-grid {
    display: grid;
    gap: 15px;
    grid-auto-flow: dense;
    grid-template-columns: 1fr
}

@media (min-width:900px) {
    .testi-grid {
        grid-template-columns: repeat(3,minmax(195px,1fr))
    }
}

.testi {
    min-height: var(--testi-h,150px);
    display: none;
    opacity: 0;
    transform: translateY(6px);
    background: #0f0f0f;
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
    padding: 9px;
}

    .testi.show {
        display: block;
        animation: testiFade 2s ease forwards
    }

    .testi p {
        margin: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: var(--testi-lines,6);
        overflow: hidden
    }

@keyframes testiFade {
    to {
        opacity: 1;
        transform: none
    }
}

.testi-head {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    margin-bottom: 8px
}

    .testi-head img {
        width: 21px;
        height: 21px;
        display: block
    }

.testi .handle {
    text-transform: uppercase
}

@media (prefers-reduced-motion:reduce) {
    .testi {
        transition: none;
        animation: none !important
    }
}

/* ========================= FOOTER + BACK TO TOP ========================= */
main {
    padding-bottom: calc(var(--footer-h) + 14px)
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    min-height: var(--footer-h);
    background: rgba(0,0,0,.92);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.08)
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 7px 12px
}

.site-footer .brand {
    white-space: nowrap
}

.to-top {
    margin-left: auto;
    width: 26px;
    height: 26px;
    border: 0;
    cursor: pointer;
    background: var(--red);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s,visibility 1s;
}

    .to-top.show {
        opacity: 1;
        visibility: visible
    }

/* ========================= RESPONSIVE ========================= */
@media (max-width:900px) {
    .logo {
        height: 90px
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .about-hero {
        grid-template-columns: 1fr
    }

    .team-grid {
        grid-template-columns: 1fr
    }

    .team-card {
        grid-template-columns: 105px 1fr
    }
}

@media (max-width:768px) {
    .hamburger {
        display: block
    }

    .main-nav .nav-inner {
        display: none
    }

    .main-nav.open .nav-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0b0b0b;
        border-top: 1px solid rgba(255,255,255,.08);
        z-index: 3;
    }

        .main-nav.open .nav-inner a {
            padding: 12px 12px;
            border-top: 1px solid rgba(255,255,255,.06)
        }

    .main-nav .follow-yt img {
        height: 33px
    }
    /* page dimmer behind menu */
    .main-nav.open::after {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: var(--nav-h,48px);
        background: rgba(0,0,0,.55);
        backdrop-filter: blur(2px);
        z-index: 2;
    }
}

/* === Latest Videos row (sides smaller, middle larger) === */
#videos .contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.3fr .9fr;
    gap: 14px;
    align-items: center
}

    #videos .contact-grid figure {
        margin: 0
    }

    #videos .contact-grid img {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        background: #0f0f0f;
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 12px 28px rgba(0,0,0,.35);
        transition: transform .12s ease;
    }

        #videos .contact-grid img:hover {
            transform: translateY(-2px)
        }

@media (max-width:900px) {
    #videos .contact-grid {
        grid-template-columns: .8fr 1.2fr .8fr;
        gap: 10px
    }
}

@media (max-width:768px) {
    #videos .contact-grid {
        grid-template-columns: .75fr 1fr .75fr;
        gap: 8px
    }
}

@media (max-width:480px) {
    #videos .contact-grid {
        grid-template-columns: .7fr .95fr .7fr;
        gap: 6px
    }
}

/* Watch on YouTube button */
#btn-primary_threevids {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .4px;
    border: 0;
    border-radius: 9999px;
    box-shadow: 0 10px 24px rgba(0,0,0,.35),0 0 0 1px rgba(255,255,255,.08) inset;
    transition: transform .12s ease, filter .15s ease, box-shadow .15s ease;
}

    #btn-primary_threevids::before {
        content: "";
        width: 18px;
        height: 18px;
        background: no-repeat 50% 50%/contain;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M23 7.2a4 4 0 0 0-2.8-2.8C18.2 4 12 4 12 4s-6.2 0-8.2.4A4 4 0 0 0 1 7.2C.6 9.2.6 12 .6 12s0 2.8.4 4.8a4 4 0 0 0 2.8 2.8C6 20 12 20 12 20s6.2 0 8.2-.4a4 4 0 0 0 2.8-2.8c.4-2 .4-4.8.4-4.8s0-2.8-.4-4.8ZM9.8 15.5v-7l6 3.5-6 3.5Z"/></svg>');
    }

    #btn-primary_threevids:hover {
        filter: brightness(1.08);
        transform: translateY(-1px)
    }

    #btn-primary_threevids:active {
        transform: translateY(0);
        filter: brightness(.98)
    }

    #btn-primary_threevids:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(0,168,0,.35),0 10px 24px rgba(0,0,0,.35)
    }

@media (max-width:600px) {
    #btn-primary_threevids {
        padding: 10px 14px
    }
}

/* About logo scroll-spin support */
#about_logo {
    transform: rotate(var(--spin,0deg));
    transform-origin: 50% 50%;
    will-change: transform
}



/* Mobile: nav is always fixed at top */
@media (max-width:768px) {
    .main-nav {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        /* respect iOS notch */
        padding-top: env(safe-area-inset-top, 0);
    }
    /* Always offset the page so content isn't hidden behind the bar */
    body {
        padding-top: var(--nav-h, 48px);
    }

    /* Hide the IO sentinel (not needed on mobile when always fixed) */
    #nav-sentinel {
        display: none !important;
    }

    /* Overlay stays below the fixed bar when menu is open */
    .main-nav.open::after {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: var(--nav-h, 48px); /* start below the bar */
        background: rgba(0,0,0,.55);
        backdrop-filter: blur(2px);
        z-index: 2; /* under dropdown menu */
    }
}




:root {
    --nav-h: 48px;
}
/* fallback */

@media (max-width:768px) {
    .main-nav {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        padding-top: env(safe-area-inset-top, 0);
        transform: translateZ(0); /* prevent jitter on iOS */
    }

    body {
        padding-top: var(--nav-h,48px);
    }

    #nav-sentinel {
        display: none !important;
    }

    .main-nav.is-fixed {
        position: fixed;
    }
    /* neutralize toggles */
}