/*
Theme Name: Gmillennial
Theme URI: https://gmillennial.com
Author: Antigravity
Author URI: https://deepmind.google
Description: Premium WooCommerce Store for Gmillennial Streetwear.
Version: 1.0.0
Text Domain: gmillennial
*/

/* ── DESIGN TOKENS ── */
:root {
    --ink: #1A1714;
    --espresso: #2C2420;
    --mocha: #3D3028;
    --bark: #6B5344;
    --tan: #A8876E;
    --sand: #D4B89A;
    --cream: #F5EFE6;
    --paper: #FAF7F3;
    --white: #FFFFFF;
    --accent: #E85D26;
    /* Burnt orange */
    --accent2: #F0C93A;
    /* Warm gold */
    --green: #4CAF7D;
    --muted: #9A8880;
    --nav-h: 60px;
    --sidebar-w: 260px;
    --font-d: 'Syne', sans-serif;
    --font-mono: 'Syne Mono', monospace;
    --font-ser: 'Lora', serif;
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-d);
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* ── CURSOR ── */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: left .12s ease, top .12s ease;
    opacity: .5;
}

@media(hover:none) {

    .cursor,
    .cursor-ring {
        display: none;
    }
}

/* ── TOP BAND ── */
.top-band {
    background: var(--ink);
    color: var(--sand);
    text-align: center;
    padding: 9px 16px;
    font-family: var(--font-mono);
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
    z-index: 101;
}

.band-inner {
    display: inline-flex;
    gap: 48px;
    animation: slideband 22s linear infinite;
    white-space: nowrap;
}

.band-inner span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.band-inner span::before {
    content: '·';
    color: var(--accent);
}

@keyframes slideband {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    height: var(--nav-h);
    background: var(--paper);
    border-bottom: 1px solid #E8E0D6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
    transition: background .3s, box-shadow .3s;
}

nav.scrolled {
    box-shadow: 0 2px 24px rgba(26, 23, 20, .07);
}

.nav-logo {
    font-family: var(--font-d);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -.01em;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.nl-g {
    color: var(--accent);
    font-style: italic;
}

.nl-ap {
    color: var(--accent2);
}

.nl-mi {
    color: var(--ink);
}

.nl-en {
    color: var(--bark);
    font-weight: 500;
}

.desktop-links {
    display: none;
    gap: 28px;
}

.desktop-links a {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bark);
    position: relative;
}

.desktop-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}

.desktop-links a:hover {
    color: var(--ink);
}

.desktop-links a:hover::after {
    transform: scaleX(1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-btn {
    color: var(--ink);
    padding: 6px;
    position: relative;
    display: flex;
    align-items: center;
}

.icon-btn:hover {
    color: var(--accent);
}

.cart-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
}

.ham {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.ham span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all .3s;
}

.ham.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.ham.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.ham.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
.mmenu {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--ink);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
}

.mmenu.open {
    opacity: 1;
    pointer-events: all;
}

.mmenu a {
    font-family: var(--font-d);
    font-weight: 800;
    font-size: clamp(2.4rem, 10vw, 4.5rem);
    letter-spacing: -.02em;
    line-height: 1.05;
    color: var(--cream);
    border-bottom: 1px solid var(--mocha);
    padding: 14px 0;
}

.mmenu a:hover {
    color: var(--accent2);
}

.mmenu a:last-of-type {
    border-bottom: none;
}

/* ── HERO ── */
.hero {
    height: calc(100svh - var(--nav-h));
    position: relative;
    overflow: hidden;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.45) saturate(.85);
    animation: hzoom 10s ease forwards;
}

@keyframes hzoom {
    from {
        transform: scale(1.07)
    }

    to {
        transform: scale(1)
    }
}

.hero-content {
    position: relative;
    padding: 0 20px 48px;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-d);
    font-weight: 800;
    font-size: clamp(3.2rem, 16vw, 9rem);
    line-height: .88;
    letter-spacing: -.03em;
    color: var(--cream);
    margin-bottom: 20px;
}

.hero-title .stroke {
    -webkit-text-stroke: 2px var(--cream);
    color: transparent;
}

.hero-title .ac {
    color: var(--accent);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 24px;
    font-family: var(--font-d);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.btn-hero:hover {
    background: var(--accent2);
    color: var(--ink);
}

/* ── SECTION BASE ── */
.section {
    padding: 64px 20px;
}

.s-label {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.s-label::after {
    content: '';
    width: 36px;
    height: 1px;
    background: #E0D5C8;
}

.s-title {
    font-family: var(--font-d);
    font-weight: 800;
    font-size: clamp(2rem, 8vw, 4.5rem);
    letter-spacing: -.02em;
    line-height: .93;
    color: var(--ink);
    margin-bottom: 6px;
}

/* ── FOOTER ── */
footer {
    background: var(--ink);
    padding: 48px 20px 28px;
    border-top: 2px solid var(--accent);
}

.footer-logo {
    font-family: var(--font-d);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--cream);
    display: flex;
    align-items: baseline;
    gap: 1px;
}

/* ── WOOCOMMERCE CUSTOM STYLES ── */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 31%;
    margin: 0 1.5% 2.992em;
    float: left;
    clear: both;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink);
    margin-bottom: 5px;
    line-height: 1.2;
    font-family: var(--font-d);
}

.woocommerce ul.products li.product .price {
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.woocommerce ul.products li.product .button {
    background: var(--ink);
    color: var(--accent2);
    border: none;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 10px 18px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: block;
    text-align: center;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--accent);
    color: var(--white);
}

/* ── MARQUEE STRIP ── */
.marquee-strip {
    background: var(--accent);
    overflow: hidden;
    padding: 10px 0;
}

.marquee-inner {
    display: flex;
    animation: marq 20s linear infinite;
    white-space: nowrap;
}

.marquee-inner span {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-right: 36px;
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--white);
}

.marquee-inner span::after {
    content: '★';
    font-size: .5rem;
    opacity: .7;
}

@keyframes marq {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ── EDITORIAL STRIP ── */
.editorial-strip {
    background: var(--ink);
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
}

.ed-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.ed-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.6) saturate(.8);
    transition: transform .6s;
}

.ed-img-wrap:hover img {
    transform: scale(1.03);
}

.ed-img-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-family: var(--font-mono);
    font-size: .58rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent2);
}

.ed-body {
    padding: 40px 20px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ed-eyebrow {
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ed-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
}

.ed-title {
    font-family: var(--font-d);
    font-weight: 800;
    font-size: clamp(2rem, 9vw, 4rem);
    letter-spacing: -.02em;
    line-height: .93;
    color: var(--cream);
    margin-bottom: 16px;
}

.ed-title em {
    color: var(--accent2);
    font-style: italic;
}

.ed-title .stroke {
    -webkit-text-stroke: 1.5px var(--cream);
    color: transparent;
}

.ed-desc {
    font-family: var(--font-ser);
    font-style: italic;
    font-size: .85rem;
    line-height: 1.8;
    color: var(--sand);
    margin-bottom: 28px;
}

.btn-ed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    background: var(--accent2);
    color: var(--ink);
    padding: 13px 24px;
    font-family: var(--font-d);
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.btn-ed:hover {
    background: var(--cream);
}

/* Desktop */
@media(min-width: 1024px) {
    nav {
        padding: 0 40px;
    }

    .desktop-links {
        display: flex;
    }

    .ham {
        display: none;
    }

    .section {
        padding: 100px 40px;
    }

    .editorial-strip {
        grid-template-columns: 1fr 1fr;
    }

    .ed-body {
        padding: 80px 100px;
    }
}