:root {
    --red: #E00A02;
    --red-dark: #B00800;
    --bg: #EFEFF1;
    --card: #FFFFFF;
    --ink: #17181C;
    --muted: #5B5F6A;
    --line: #E2E3E8;
    --footer-bg: #141519;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --header-h: 76px;
    --strip-h: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--strip-h) + 16px);
}

body {
    overflow-x: clip;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--red);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.header-inner {
    max-width: 1160px;
    height: var(--header-h);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-strip {
    height: var(--strip-h);
    background: #0B0B0D;
}

.brand {
    align-self: flex-start;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.brand-logo {
    width: 180px;
    height: auto;
    margin-top: calc(-1 * var(--strip-h));
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.3));
}

.main-nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
    position: relative;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.nav-link-cta {
    background: #fff;
    color: var(--red);
    padding: 8px 20px;
    border-radius: 3px;
    margin-left: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link-cta::after { display: none; }

.nav-link-cta:hover { background: var(--ink); color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--red-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu.open { display: flex; }

.mobile-link {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:hover { background: rgba(0, 0, 0, 0.15); padding-left: 32px; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: calc(var(--header-h) + var(--strip-h) + 48px) 24px 48px;
    background: var(--bg);
}

/* Solid-to-solid blend into the Products background: never translucent */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: 180px;
    background: linear-gradient(to bottom, var(--hero-blend-top, var(--bg)), var(--page-bg, var(--bg)));
    pointer-events: none;
}

.hero-dots {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(206, 208, 214, 1) 1.5px, transparent 1.6px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent 100%);
}

/* Whole-page pin: all content below the fixed header sticks as one unit
   for 50vh of scroll (track height set in JS), then releases */
.pin-track {
    position: relative;
}

.page-pin {
    position: sticky;
    top: 0;
}

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
    .page-pin { position: static; }

    .hero { background: #fff; }

    .hero::after {
        height: 300px;
        background: linear-gradient(to bottom, #fff, var(--bg));
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.line { display: block; }

.hero-eyebrow {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.hero-tagline {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.5rem, 4.2vw, 3.6rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ink);
    margin-bottom: 20px;
}

.h1-line {
    display: block;
    white-space: nowrap;
}

.h1-anim { color: #E00803; }

.hero-copy {
    max-width: 58ch;
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 24px;
}

.placeholder-note {
    display: block;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.hero-cta {
    width: 320px;
    margin: 0 auto;
}

/* ---------- Sections ---------- */

.sections {
    max-width: 1160px;
    margin: 0 auto;
    padding: 16px 24px 96px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ---------- Where to Buy / Partners ---------- */

.fade-zone {
    background: #fff;
}

.where-section {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
    padding: 88px 24px 72px;
}

.quote-section {
    text-align: center;
    padding-bottom: 48px;
}

.rule {
    height: 1px;
    background: #DCDDE1;
    margin: 48px 0;
}

.quote-section .rule:first-child { margin-top: 0; }

.quote-copy {
    margin: 0 auto;
    max-width: 60ch;
}

.where-copy {
    margin: 0 auto;
    max-width: 60ch;
}

.partners {
    max-width: 560px;
    margin: 56px auto 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: partnersScroll 26s linear infinite;
}

.partners:hover .partners-track { animation-play-state: paused; }

.partner {
    width: 200px;
    margin-right: 32px;
}

.partner-logo {
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
}

.partner-logo img {
    max-height: 68px;
    max-width: 100%;
    width: auto;
}

.partner-band {
    background: #0B0B0D;
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    padding: 12px 8px;
}

@keyframes partnersScroll {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .partners-track { animation: none; }
}

.section-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 28px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 12px;
}

.section-copy { color: var(--muted); max-width: 72ch; }

.placeholder-tag {
    font-weight: 600;
    color: var(--red);
}

.quote-embed {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.quote-iframe {
    display: block;
    width: 100%;
    height: 1120px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}

@media (max-width: 640px) {
    .quote-iframe { height: 1250px; }
}

/* ---------- Products ---------- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.products-interstitial {
    max-width: 62ch;
    margin: 0 auto 32px;
    padding: 0 24px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}

.product-grid {
    margin-top: 32px;
}

.product-grid .product-card {
    position: sticky;
    margin-bottom: 20vh;
}

.product-grid .product-card:last-child { margin-bottom: 12vh; }

.product-card:target {
    border-color: #E00803;
    box-shadow: 0 0 0 2px #E00803, 0 -18px 40px rgba(0, 0, 0, 0.12);
}

.custom-zone {
    position: relative;
    height: 200vh;
    margin-top: 96px;
}

.custom-pin {
    position: sticky;
    top: 137px;
    height: calc(100vh - 137px - 24px);
    display: flex;
    flex-direction: column;
}

.custom-zone .product-card {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    margin-bottom: 0;
    will-change: width, margin-left;
}

.custom-zone .product-cta {
    margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
    .custom-zone { height: auto; }

    .custom-pin {
        position: static;
        height: auto;
        display: block;
    }
}

.product-grid .product-card:nth-child(1) { top: calc(var(--header-h) + var(--strip-h) + 16px); }
.product-grid .product-card:nth-child(2) { top: calc(var(--header-h) + var(--strip-h) + 30px); }
.product-grid .product-card:nth-child(3) { top: calc(var(--header-h) + var(--strip-h) + 44px); }
.product-grid .product-card:nth-child(4) { top: calc(var(--header-h) + var(--strip-h) + 58px); }
.product-grid .product-card:nth-child(5) { top: calc(var(--header-h) + var(--strip-h) + 72px); }
.product-grid .product-card:nth-child(6) { top: calc(var(--header-h) + var(--strip-h) + 86px); }
.product-grid .product-card:nth-child(7) { top: calc(var(--header-h) + var(--strip-h) + 100px); }
.product-grid .product-card:nth-child(8) { top: calc(var(--header-h) + var(--strip-h) + 114px); }
.product-grid .product-card:nth-child(9) { top: calc(var(--header-h) + var(--strip-h) + 128px); }
.product-grid .product-card:nth-child(10) { top: calc(var(--header-h) + var(--strip-h) + 142px); }
.product-grid .product-card:nth-child(11) { top: calc(var(--header-h) + var(--strip-h) + 156px); }

.product-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 44% 56%;
    grid-template-rows: auto 1fr;
    height: min(600px, calc(100vh - var(--header-h) - var(--strip-h) - 210px));
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.12);
}

.plus {
    position: absolute;
    width: 11px;
    height: 11px;
    z-index: 2;
    pointer-events: none;
}

.plus::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #C7C9CF;
}

.plus::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #C7C9CF;
}

.plus-tl { top: -6px; left: -6px; }
.plus-tr { top: -6px; right: -6px; }
.plus-bl { bottom: -6px; left: -6px; }
.plus-br { bottom: -6px; right: -6px; }

.product-top {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.product-sku {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9A9EA8;
}

.product-num {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.product-photo {
    overflow: hidden;
    border-right: 1px solid var(--line);
    background: #F4F4F6;
}

.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #B6B9C0;
    border: 1px dashed #D8DADF;
    padding: 10px 18px;
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.product-cat {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
}

.product-name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink);
}

.product-desc {
    font-size: 14px;
    color: var(--muted);
}

.product-specs {
    list-style: none;
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 12px;
    display: grid;
    gap: 5px;
}

.product-specs li {
    position: relative;
    padding-left: 16px;
}

.product-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 1px;
    background: #C7C9CF;
}

.product-meta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.product-rrp {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.03em;
    color: var(--ink);
}

.product-rrp em {
    font-style: normal;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 11px;
    color: #9A9EA8;
}

.product-moq {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9A9EA8;
    white-space: nowrap;
}

.product-cta {
    position: relative;
    display: block;
    height: 48px;
    margin-top: 16px;
    text-decoration: none;
    perspective: 400px;
    overflow: hidden;
}

.cta-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    background: #E00803;
    color: #F5F2EC;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 450ms cubic-bezier(0.65, 0, 0.35, 1);
}

.cta-label {
    left: 49px;
    right: 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cta-arrow { width: 46px; }

.cta-arrow-out {
    left: 0;
    transform-origin: left center;
}

.cta-arrow-in {
    right: 0;
    transform: rotateY(90deg);
    transform-origin: right center;
}

@media (hover: hover) {
    .product-cta:hover .cta-label,
    .product-cta:focus-visible .cta-label { transform: translateX(-49px); }

    .product-cta:hover .cta-arrow-out,
    .product-cta:focus-visible .cta-arrow-out { transform: rotateY(-90deg); }

    .product-cta:hover .cta-arrow-in,
    .product-cta:focus-visible .cta-arrow-in { transform: rotateY(0deg); }
}

@media (hover: none) {
    .product-cta:active .cta-panel { background: var(--red-dark); }
}

/* ---------- Footer ---------- */

.site-footer { background: #E00803; border-top: 4px solid #0B0B0D; }

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 64px 24px 32px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand { display: inline-block; text-decoration: none; }

.footer-logo {
    width: 168px;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

.footer-heading {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.footer-link {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-link:hover { color: #fff; }

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    margin: 48px 0 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal { display: flex; gap: 28px; }

.footer-legal-link {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-link:hover { color: #fff; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .product-grid .product-card { grid-template-columns: 40% 60%; }
}

@media (max-width: 860px) {
    .main-nav { display: none; }
    .nav-toggle { display: flex; }

    .hero { padding-bottom: 56px; }

    /* Smaller badge sits in the red bar; desktop hangs from the top strip */
    .brand { align-self: center; }
    .brand-logo { width: 104px; height: auto; margin-top: 0; }

    .section-title { font-size: 22px; }

    .product-grid .product-card {
        position: static;
        height: auto;
        margin-bottom: 32px;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        box-shadow: none;
    }

    .product-photo {
        aspect-ratio: 4 / 3;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .product-info { overflow: visible; }

    .custom-zone {
        height: auto;
        margin-top: 0;
    }

    .custom-pin {
        position: static;
        height: auto;
        display: block;
    }

    .custom-zone .product-card {
        position: static;
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        box-shadow: none;
    }

    .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }

    .footer-bottom { flex-wrap: nowrap; gap: 16px; }
    .footer-legal { gap: 16px; }
    .footer-copy,
    .footer-legal-link { white-space: nowrap; }
}

/* ---------- Phone tightening (≤640px) ---------- */

@media (max-width: 640px) {
    :root { --header-h: 64px; }

    .header-inner { padding: 0 16px; }
    .brand-logo { width: 92px; }
    .nav-toggle { width: 42px; height: 42px; }
    .mobile-link { padding: 14px 16px; }

    /* Hero */
    .hero { padding: calc(var(--header-h) + var(--strip-h) + 32px) 16px 40px; }
    .hero-tagline { font-size: clamp(24px, 7.2vw, 34px); margin-bottom: 16px; }
    .hero-copy { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
    .hero-cta { width: 100%; max-width: 320px; }

    /* Products */
    .sections { padding: 8px 16px 40px; gap: 24px; }
    .product-grid { margin-top: 16px; }
    .product-grid .product-card { margin-bottom: 16px; }
    .product-grid .product-card:last-child { margin-bottom: 0; }
    .product-top { padding: 12px 16px; }
    .product-info { padding: 18px 16px 16px; gap: 8px; }
    .product-name { font-size: 19px; }
    .product-specs { padding-top: 10px; gap: 3px; }
    .product-meta { padding-top: 10px; }
    .product-cta { height: 46px; margin-top: 12px; }
    .products-interstitial { margin: 40px auto 24px; padding: 0 8px; font-size: 15px; line-height: 1.6; }
    .plus { display: none; }

    /* Where to buy + quote */
    .where-section { padding: 56px 16px 40px; }
    .where-copy, .quote-copy { font-size: 15px; line-height: 1.6; }
    .partners { margin-top: 32px; }
    .partner { width: 160px; margin-right: 20px; }
    .partner-logo { height: 84px; padding: 14px 16px; }
    .partner-logo img { max-height: 52px; }
    .partner-band { font-size: 11px; padding: 10px 6px; }
    .rule { margin: 32px 0; }
    .quote-section { padding: 0 16px 32px; }
    .quote-section .rule { margin-left: -16px; margin-right: -16px; }
    .quote-embed { padding: 0; }

    /* Footer */
    .footer-inner { padding: 44px 16px 28px; }
    .footer-main { gap: 28px 20px; }
    .footer-logo { width: 120px; }
    .footer-heading { margin-bottom: 12px; }
    .footer-link { font-size: 14px; line-height: 1.45; margin-bottom: 10px; }
    .footer-divider { margin: 32px 0 20px; }
    .footer-bottom { gap: 8px; }
    .footer-legal { gap: 10px; }
    .footer-copy,
    .footer-legal-link { font-size: 10px; letter-spacing: 0.02em; }
}

