:root {
    --ink: #111;
    --paper: #f2f0e9;
    --acid: #c7ff00;
    --purple: #4b10ff;
    --line: #cbc9c1;
    --muted: #6d6a63
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif
}

button,
input,
textarea {
    font: inherit
}

button {
    color: inherit
}

.is-hidden {
    display: none !important
}

.site-header {
    height: 88px;
    padding: 0 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0e0e0e;
    color: #fff;
    position: relative;
    z-index: 20
}

.brand {
    color: #fff;
    text-decoration: none;
    font-size: 27px;
    font-weight: 1000;
    letter-spacing: -2px
}

.brand span {
    color: var(--acid)
}

.header-note,
.eyebrow,
.ghost-button,
.back-link,
.panel-kicker,
.section-title,
.gallery-intro {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 900
}

.ghost-button {
    border: 1px solid #4a4a4a;
    background: transparent;
    color: #fff;
    padding: 14px 18px;
    cursor: pointer
}

.onboarding {
    min-height: calc(100vh - 88px);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: var(--acid)
}

.onboarding-copy {
    padding: 8vw 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.eyebrow {
    display: block;
    margin-bottom: 25px
}

.onboarding h1,
.garment-step h2,
.catalog-hero h2,
.dialog-head h2 {
    font-size: clamp(62px, 8vw, 145px);
    line-height: .79;
    letter-spacing: -.075em;
    margin: 0;
    text-transform: uppercase
}

.onboarding h1 em,
.garment-step h2 em,
.catalog-hero h2 em,
.dialog-head h2 em {
    font-family: Georgia, serif;
    font-weight: 400;
    text-transform: none
}

.onboarding-copy p {
    max-width: 420px;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 45px
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-left: 1px solid rgba(0, 0, 0, .2)
}

.choice-card {
    min-height: 50%;
    padding: 35px;
    text-align: left;
    border: 0;
    border-right: 1px solid rgba(0, 0, 0, .2);
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: .35s
}

.choice-card:last-child {
    grid-column: 1/-1
}

.choice-card:hover,
.choice-card:focus-visible {
    background: #111;
    color: #fff
}

.choice-card span {
    font-size: 11px;
    font-weight: 900
}

.choice-card strong {
    font-size: clamp(38px, 5vw, 78px);
    letter-spacing: -.06em
}

.choice-card small {
    font-size: 11px;
    letter-spacing: 1px
}

.garment-step {
    min-height: calc(100vh - 88px);
    padding: 5vw;
    background: #151515;
    color: #fff
}

.step-head {
    position: relative
}

.back-link {
    border: 0;
    background: none;
    color: #aaa;
    cursor: pointer;
    padding: 0 0 35px
}

.garment-step h2 {
    font-size: clamp(58px, 7vw, 110px);
    margin-bottom: 60px
}

.garment-step h2 em {
    color: var(--acid)
}

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

.garment-card {
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    border: 1px solid #404040;
    background: #242424;
    color: #fff;
    text-align: left;
    padding: 0;
    cursor: pointer
}

.garment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.3);
    transition: .55s
}

.garment-card:hover img {
    transform: scale(1.045);
    filter: grayscale(0)
}

.garment-card .garment-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 28px 22px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .92));
    display: flex;
    flex-direction: column;
    gap: 7px
}

.garment-card strong {
    font-size: 22px
}

.garment-card span {
    font-size: 10px;
    letter-spacing: 1.6px;
    color: var(--acid)
}

.catalog {
    background: #111;
    color: #fff;
    min-height: 100vh
}

.catalog-hero {
    padding: 8vw 5vw 5vw;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    background: var(--acid);
    color: #111
}

.catalog-hero h2 {
    font-size: clamp(58px, 7vw, 120px)
}

.catalog-hero h2 em {
    color: var(--purple)
}

.catalog-hero p {
    width: 310px;
    line-height: 1.55;
    margin: 0 0 10px;
    font-size: 13px
}

.category-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #111;
    border-bottom: 1px solid #333;
    padding: 0 5vw;
    display: flex;
    overflow: auto
}

.category-button {
    border: 0;
    border-right: 1px solid #333;
    background: none;
    color: #888;
    padding: 24px 28px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
    cursor: pointer
}

.category-button:first-child {
    border-left: 1px solid #333
}

.category-button.is-active {
    background: #fff;
    color: #111
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    align-items: start
}

.gallery {
    padding: 28px 3vw 80px;
    min-height: 100vh
}

.gallery-intro {
    display: flex;
    justify-content: space-between;
    color: #888;
    padding: 0 0 24px
}

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

.product-card {
    position: relative;
    border: 0;
    background: #292929;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    color: #fff
}

.product-card:nth-child(3n+1) {
    grid-row: span 2
}

.product-card img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    display: block;
    transition: .5s
}

.product-card:nth-child(3n+1) img {
    min-height: 792px
}

.product-card:hover img {
    transform: scale(1.025)
}

.product-card .product-info {
    position: absolute;
    inset: auto 0 0;
    padding: 60px 22px 22px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .88));
    display: flex;
    justify-content: space-between;
    align-items: end
}

.product-card strong {
    font-size: 20px
}

.product-card small {
    display: block;
    margin-top: 5px;
    color: #ccc;
    letter-spacing: 1px
}

.product-card .select-mark {
    width: 34px;
    height: 34px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center
}

.product-card.is-selected {
    outline: 4px solid var(--acid);
    outline-offset: -4px
}

.product-card.is-selected .select-mark {
    background: var(--acid);
    color: #111;
    border-color: var(--acid)
}

.order-panel {
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow: auto;
    background: var(--paper);
    color: #111;
    padding: 30px 28px;
    border-left: 1px solid #333
}

.panel-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acid);
    box-shadow: 0 0 0 4px #d5e896
}

.selected-preview {
    aspect-ratio: 16/10;
    background: #dedbd1;
    overflow: hidden
}

.selected-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.preview-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 1000;
    font-size: 35px;
    line-height: .9;
    color: #b0ada4
}

.selected-meta {
    padding: 14px 0 20px;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px
}

.selected-meta small {
    grid-column: 1/-1;
    font-size: 8px;
    letter-spacing: 1.8px
}

.selected-meta strong {
    font-size: 17px
}

.selected-meta span {
    font-size: 10px;
    color: var(--muted)
}

.panel-section {
    padding: 24px 0;
    border-bottom: 1px solid var(--line)
}

.section-title {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px
}

.section-title b {
    color: #79a400
}

.section-title small {
    margin-left: auto;
    color: var(--muted)
}

.helper {
    font-size: 11px;
    line-height: 1.45;
    color: var(--muted)
}

.palette {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    margin: 16px 0
}

.color-dot {
    aspect-ratio: 1;
    border: 2px solid #fff;
    outline: 1px solid #bbb;
    border-radius: 50%;
    cursor: pointer;
    position: relative
}

.color-dot.is-selected:after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    text-shadow: 0 1px 3px #000
}

.color-selection {
    font-size: 10px;
    line-height: 1.5;
    font-weight: 700;
    min-height: 30px
}

.text-button {
    border: 0;
    background: none;
    padding: 10px 0 0;
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: 900;
    text-decoration: underline;
    cursor: pointer
}

.panel-section label {
    display: block;
    font-size: 8px;
    letter-spacing: 1.1px;
    font-weight: 900;
    margin-top: 13px
}

.panel-section input,
.panel-section textarea {
    width: 100%;
    border: 1px solid #c9c6bd;
    background: #fff;
    padding: 13px;
    margin-top: 6px;
    outline: none
}

.panel-section input:focus,
.panel-section textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 2px var(--acid)
}

.field-row {
    display: grid;
    grid-template-columns: 1.5fr .75fr;
    gap: 10px
}

.whatsapp-button,
.primary-button {
    width: 100%;
    border: 0;
    background: #111;
    color: #fff;
    padding: 18px;
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer
}

.whatsapp-button b {
    color: var(--acid)
}

.privacy-note {
    text-align: center;
    color: #777;
    font-size: 8px;
    line-height: 1.4
}

.empty-state {
    padding: 14vh 5vw;
    text-align: center;
    background: #1c1c1c
}

.empty-state span {
    color: var(--acid);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 900
}

.empty-state h3 {
    font-size: 50px;
    line-height: .95;
    letter-spacing: -2px
}

.empty-state p {
    color: #aaa
}

.empty-state .primary-button {
    max-width: 330px;
    margin: 25px auto
}

.swatch-dialog {
    width: min(1100px, 92vw);
    max-height: 90vh;
    border: 0;
    padding: 0;
    background: #111;
    color: #fff
}

.swatch-dialog::backdrop {
    background: rgba(0, 0, 0, .85)
}

.dialog-close {
    position: sticky;
    top: 18px;
    float: right;
    margin: 18px 18px 0 0;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 1px solid #555;
    background: #111;
    color: #fff;
    border-radius: 50%;
    font-size: 27px;
    cursor: pointer
}

.dialog-head {
    padding: 55px
}

.dialog-head h2 {
    font-size: clamp(45px, 6vw, 82px)
}

.dialog-head h2 em {
    color: var(--acid)
}

.dialog-head p {
    color: #aaa
}

.swatch-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #444
}

.swatch-gallery figure {
    margin: 0;
    background: #1e1e1e
}

.swatch-gallery img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block
}

.swatch-gallery figcaption {
    padding: 16px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 900
}

.toast {
    position: fixed;
    z-index: 99;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 30px);
    background: var(--acid);
    color: #111;
    padding: 13px 20px;
    font-size: 11px;
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transition: .3s
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0)
}

@media(max-width:1050px) {
    .catalog-layout {
        grid-template-columns: 1fr
    }

    .order-panel {
        position: relative;
        max-height: none
    }

    .garment-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .catalog-hero {
        align-items: start;
        flex-direction: column;
        gap: 40px
    }

    .catalog-hero p {
        width: min(100%, 500px)
    }
}

@media(max-width:700px) {
    .site-header {
        height: 70px;
        padding: 0 20px
    }

    .header-note {
        display: none
    }

    .ghost-button {
        font-size: 8px;
        padding: 11px
    }

    .onboarding {
        display: block
    }

    .onboarding-copy {
        padding: 70px 24px
    }

    .level-grid {
        border-top: 1px solid rgba(0, 0, 0, .2);
        border-left: 0
    }

    .choice-card {
        min-height: 220px;
        padding: 22px
    }

    .choice-card strong {
        font-size: 30px
    }

    .garment-step {
        padding: 45px 18px
    }

    .garment-grid {
        grid-template-columns: 1fr 1fr
    }

    .garment-card strong {
        font-size: 16px
    }

    .garment-card .garment-overlay {
        padding: 18px 14px
    }

    .catalog-hero {
        padding: 65px 22px 45px
    }

    .category-nav {
        padding: 0
    }

    .category-button {
        padding: 20px 16px
    }

    .gallery {
        padding: 18px 12px 50px
    }

    .product-grid {
        grid-template-columns: 1fr
    }

    .product-card:nth-child(3n+1) {
        grid-row: auto
    }

    .product-card img,
    .product-card:nth-child(3n+1) img {
        min-height: 520px
    }

    .order-panel {
        padding: 28px 20px
    }

    .palette {
        grid-template-columns: repeat(7, 1fr)
    }

    .swatch-gallery {
        grid-template-columns: 1fr
    }

    .dialog-head {
        padding: 55px 25px 30px
    }

    .swatch-gallery img {
        height: 300px
    }
}