:root {
    --ink: #111214;
    --paper: #f7f3ea;
    --paper-2: #fffaf0;
    --red: #f03328;
    --cyan: #18c4d6;
    --lime: #b8e843;
    --gold: #d7a531;
    --muted: #67625a;
    --line: rgba(17, 18, 20, 0.14);
    --shadow: 0 24px 80px rgba(17, 18, 20, 0.18);
}

* {
    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;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 82px;
    padding: 16px clamp(18px, 4vw, 54px);
    background: rgba(247, 243, 234, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.brand-mark span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--ink);
    color: var(--lime);
    font-size: 13px;
}

nav {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 3vw, 34px);
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.header-cta,
.button,
button {
    border: 0;
    background: var(--ink);
    color: var(--paper-2);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    text-transform: uppercase;
}

.header-cta {
    padding: 13px 18px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
    align-items: stretch;
    min-height: calc(100vh - 82px);
    padding: clamp(28px, 5vw, 70px);
    gap: clamp(22px, 4vw, 58px);
}

.hero-copy {
    min-width: 0;
    align-self: center;
    max-width: 830px;
    position: relative;
    z-index: 4;
}

.kicker {
    margin: 0 0 14px;
    color: var(--red);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(46px, 5.2vw, 80px);
    line-height: 0.94;
    letter-spacing: 0;
    text-transform: uppercase;
    max-width: 100%;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(34px, 5vw, 78px);
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.hero-body {
    max-width: 720px;
    color: #393632;
    font-size: clamp(19px, 2vw, 27px);
    line-height: 1.28;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 22px;
}

.button.primary {
    background: var(--red);
}

.button.ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 2px var(--ink);
}

.hero-media {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: 100%;
    max-width: 800px;
    min-height: 540px;
    overflow: hidden;
    background: var(--ink);
    box-shadow: var(--shadow);
}

.hero-editorial {
    isolation: isolate;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(240, 51, 40, 0.58), transparent 34%),
        linear-gradient(315deg, rgba(24, 196, 214, 0.42), transparent 38%);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
}

.hero-media .hero-primary-image,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 28%;
}

.hero-primary-image {
    position: absolute;
    inset: 0;
    filter: saturate(1.08) contrast(1.04);
}

.hero-editorial::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(17, 18, 20, 0.02), rgba(17, 18, 20, 0.48)),
        linear-gradient(90deg, rgba(17, 18, 20, 0.42), transparent 48%);
    pointer-events: none;
}

.hero-signal {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-signal span {
    padding: 10px 12px;
    background: rgba(255, 250, 240, 0.9);
    color: var(--ink);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}


.hero-placeholder {
    display: grid;
    align-content: center;
    min-height: 100%;
    padding: 40px;
    background:
        linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.16) 50%, transparent 51%) 0 0 / 28px 100%,
        radial-gradient(circle at 70% 25%, var(--cyan), transparent 28%),
        linear-gradient(160deg, #141414, #2a1a16 48%, #101015);
    color: var(--paper-2);
}

.hero-placeholder span {
    font-weight: 950;
    color: var(--lime);
}

.hero-placeholder strong {
    font-size: clamp(80px, 14vw, 210px);
    line-height: 0.85;
}

.hero-placeholder small {
    color: var(--paper);
    font-size: 24px;
    font-weight: 900;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-block: 1px solid var(--line);
}

.stats-band article {
    min-height: 150px;
    padding: 28px clamp(18px, 3vw, 42px);
    border-right: 1px solid var(--line);
    background: var(--paper-2);
}

.stats-band strong {
    display: block;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 0.9;
}

.stats-band span {
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
}

.section,
.split-section,
.partnership-section,
.gallery-section,
.contact-section {
    padding: clamp(64px, 9vw, 130px) clamp(18px, 5vw, 72px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading > * {
    min-width: 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.video-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    padding: 12px;
}

.video-frame {
    aspect-ratio: 16 / 10;
    margin-bottom: 18px;
    overflow: hidden;
    background: var(--ink);
}

.video-frame iframe,
.video-frame video,
.video-empty {
    width: 100%;
    height: 100%;
}

.video-empty,
.image-empty {
    display: grid;
    place-items: center;
    min-height: 180px;
    background:
        linear-gradient(135deg, rgba(240, 51, 40, 0.75), transparent),
        var(--ink);
    color: var(--paper);
    font-weight: 950;
    text-transform: uppercase;
}

.video-card p,
.interest-grid p,
.partnership-copy p,
.split-section p,
.contact-section p {
    color: #4b4740;
    line-height: 1.55;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
    gap: clamp(26px, 6vw, 86px);
    background: var(--ink);
    color: var(--paper);
}

.split-section p {
    color: #ddd2c0;
    font-size: clamp(18px, 2vw, 26px);
}

.partnership-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
    gap: clamp(24px, 5vw, 72px);
    background: var(--lime);
}

.sponsor-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sponsor-list li {
    padding: 18px 20px;
    background: rgba(255, 250, 240, 0.68);
    border: 1px solid rgba(17, 18, 20, 0.18);
    font-weight: 850;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.interest-grid article {
    min-height: 235px;
    padding: 24px;
    background: var(--paper-2);
    border: 1px solid var(--line);
}

.gallery-section {
    background: #e7efe9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
    gap: 14px;
}

.gallery-grid figure {
    display: grid;
    place-items: center;
    margin: 0;
    overflow: hidden;
    background: var(--ink);
}

.gallery-grid img {
    aspect-ratio: 4 / 5;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

.store-section {
    padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
    background: #ffffff;
    color: var(--ink);
}

.store-header {
    display: grid;
    align-items: start;
    justify-content: stretch;
    max-width: 1180px;
    margin: 0 auto 28px;
    gap: 12px;
}

.store-header > p {
    max-width: 720px;
    margin: 0;
    color: #4b4740;
    line-height: 1.55;
    font-size: clamp(17px, 2vw, 22px);
}

.store-section .kicker {
    color: var(--red);
}

.shopify-store {
    display: grid;
    justify-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(17, 18, 20, 0.12);
}

.shopify-store > * {
    max-width: 100%;
}

.store-empty {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 34px 18px;
    text-align: center;
}

.store-empty p {
    margin: 0;
    color: var(--muted);
}

.code-textarea {
    min-height: 190px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    text-transform: none;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) auto;
    align-items: center;
    gap: 24px;
    background: var(--red);
    color: var(--paper-2);
}

.contact-section .kicker,
.contact-section p {
    color: var(--paper-2);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    min-height: 62px;
    padding: 0 24px;
    background: var(--paper-2);
    color: var(--ink);
    font-weight: 950;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 28px clamp(18px, 5vw, 72px);
    background: var(--ink);
    color: var(--paper);
}

.admin-screen,
.admin-body {
    min-height: 100vh;
    background: #ece7dd;
}

.auth-card {
    width: min(460px, calc(100% - 32px));
    margin: 8vh auto;
    padding: 28px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: var(--ink);
    color: var(--paper);
}

.admin-layout {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 18px;
    padding: 18px;
}

.media-panel,
.admin-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    padding: 18px;
}

.media-panel {
    align-self: start;
    position: sticky;
    top: 75px;
    max-height: calc(100vh - 92px);
    overflow: auto;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.editor {
    align-content: start;
}

.admin-form label {
    display: grid;
    gap: 7px;
    color: #3c3832;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.field-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fffdf8;
    color: var(--ink);
    font: inherit;
    padding: 12px;
}

textarea {
    min-height: 92px;
    resize: vertical;
}

button,
.save-button {
    min-height: 48px;
    padding: 0 18px;
    white-space: normal;
}

.secondary-button {
    justify-self: start;
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 2px var(--ink);
}

.admin-grid.two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.repeat-block {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 14px;
    background: rgba(17, 18, 20, 0.04);
    border: 1px solid var(--line);
}

.asset-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.asset-list article {
    display: grid;
    gap: 8px;
    padding: 10px;
    background: #fffdf8;
    border: 1px solid var(--line);
}

.asset-list img,
.asset-list video {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center center;
    background: var(--ink);
}

.current-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.current-media > div {
    display: grid;
    gap: 10px;
    min-height: 170px;
    padding: 12px;
    background: rgba(17, 18, 20, 0.04);
    border: 1px solid var(--line);
}

.current-media strong {
    font-size: 13px;
    text-transform: uppercase;
}

.current-media span,
.empty-admin-state {
    display: grid;
    place-items: center;
    min-height: 120px;
    color: var(--muted);
    background: #fffdf8;
    border: 1px dashed var(--line);
    text-align: center;
}

.current-media img,
.current-media video {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center center;
    background: var(--ink);
}

.gallery-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.gallery-admin-item {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 10px;
    background: #fffdf8;
    border: 1px solid var(--line);
}

.gallery-admin-item input {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--red);
}

.gallery-admin-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    background: var(--ink);
}

.gallery-admin-item span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-admin-row {
    grid-template-columns: 180px 1fr;
    align-items: start;
}

.product-admin-preview {
    display: grid;
    grid-row: span 4;
    place-items: center;
    min-height: 180px;
    background: #fffdf8;
    border: 1px solid var(--line);
}

.product-admin-row > input[type="hidden"] {
    display: none;
}

.product-admin-preview img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
}

.product-admin-preview span {
    padding: 14px;
    color: var(--muted);
    text-align: center;
}

.remove-row {
    align-items: center;
    grid-template-columns: auto 1fr;
    justify-content: start;
    text-transform: none;
}

.remove-row input {
    width: 18px;
    height: 18px;
}

code {
    white-space: normal;
    word-break: break-word;
    color: var(--red);
    font-size: 12px;
}

.notice {
    padding: 12px;
    font-weight: 850;
}

.notice.success {
    background: rgba(184, 232, 67, 0.3);
}

.notice.error {
    background: rgba(240, 51, 40, 0.18);
}

@media (max-width: 980px) {
    .site-header,
    .hero,
    .split-section,
    .partnership-section,
    .contact-section,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .site-header nav {
        order: 3;
        justify-content: start;
        overflow-x: auto;
    }

    .section-heading {
        display: grid;
        align-items: start;
        justify-content: stretch;
    }

    .store-header > p {
        max-width: none;
    }

    .hero {
        min-height: auto;
        padding: 30px clamp(16px, 5vw, 40px) 44px;
        gap: 24px;
    }

    .hero h1 {
        font-size: clamp(34px, 8vw, 56px);
        line-height: 1;
    }

    .hero-media {
        min-height: 0;
        aspect-ratio: 4 / 5;
    }

    .hero-primary-image {
        position: static;
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .hero-media .hero-primary-image,
    .hero-media video,
    .hero-placeholder {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .hero-media .hero-primary-image,
    .hero-media video {
        object-position: 55% 12%;
    }

    .hero-placeholder {
        min-height: 0;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-body {
        max-width: 100%;
    }

    .stats-band,
    .video-grid,
    .interest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-panel {
        position: static;
        max-height: none;
    }
}

@media (max-width: 640px) {
    .site-header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        min-height: auto;
        gap: 12px;
        width: 100%;
        padding: 14px 16px;
        overflow: hidden;
    }

    .brand-mark {
        max-width: calc(100% - 72px);
        font-size: 18px;
        line-height: 1;
    }

    .brand-mark span {
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
    }

    .header-cta {
        order: 2;
        margin-left: 0;
        padding: 12px 14px;
        font-size: 13px;
    }

    .site-header nav {
        order: 3;
        width: 100%;
        max-width: 100%;
        justify-content: start;
        gap: 18px;
        padding: 6px 0 2px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .site-header nav a {
        flex: 0 0 auto;
    }

    .section,
    .split-section,
    .partnership-section,
    .gallery-section,
    .store-section,
    .contact-section {
        padding: 42px 16px;
    }

    .store-header {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 10px;
    }

    .store-header > div,
    .store-header > p {
        width: 100%;
        max-width: none;
    }

    .store-header h2 {
        margin-bottom: 0;
    }

    .hero {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 32px 16px 42px;
    }

    .hero-copy {
        display: grid;
        gap: 14px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 22px;
        overflow: hidden;
    }

    .hero h1 {
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
        font-size: clamp(24px, 6.2vw, 29px);
        line-height: 1.1;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    h2 {
        font-size: clamp(30px, 10vw, 44px);
        line-height: 1;
    }

    .hero-body {
        margin: 0;
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 4px;
    }

    .hero-actions .button {
        justify-content: center;
        width: 100%;
    }

    .hero-media {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        padding: 12px;
        aspect-ratio: auto;
        background: var(--paper-2);
        border: 1px solid var(--line);
        box-shadow: 0 12px 34px rgba(17, 18, 20, 0.1);
    }

    .hero-media::before,
    .hero-media::after {
        display: none;
    }

    .hero-media .hero-primary-image,
    .hero-media video,
    .hero-placeholder {
        width: 100%;
        aspect-ratio: 3 / 4;
    }

    .hero-media .hero-primary-image,
    .hero-media video {
        height: auto;
        object-fit: contain;
        object-position: center top;
        background: var(--ink);
    }

    .hero-primary-image {
        position: static;
    }

    .hero-placeholder {
        padding: 24px;
    }

    .hero-placeholder strong {
        font-size: clamp(64px, 22vw, 110px);
    }

    .hero-signal {
        position: static;
        padding-top: 10px;
    }

    .hero-signal span {
        background: var(--ink);
        color: var(--paper-2);
        padding: 8px 10px;
        font-size: 11px;
    }

    .stats-band,
    .video-grid,
    .interest-grid,
    .gallery-grid,
    .admin-grid.two,
    .current-media {
        grid-template-columns: 1fr;
    }

    .stats-band article,
    .interest-grid article {
        min-height: 0;
    }

    .video-card {
        padding: 10px;
    }

    .shopify-store,
    .gallery-grid {
        max-width: 100%;
    }

    .contact-link {
        justify-content: center;
        width: 100%;
    }

    footer {
        flex-direction: column;
    }
}
