:root {
    --ink: #111111;
    --paper: #eee9df;
    --paper-light: #f8f5ee;
    --acid: #d8ff3e;
    --blue: #3156ff;
    --muted: #716d64;
    --line: rgba(17, 17, 17, .22);
    --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow { max-width: 760px; }

/* =========================
   STOREFRONT NAV
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
}

.site-nav {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 24px;
}

.nav-mark {
    display: flex;
    flex-direction: column;
    width: max-content;
    line-height: 1;
}

.nav-mark span {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -.06em;
}

.nav-mark small {
    margin-top: 4px;
    font-size: .55rem;
    letter-spacing: .18em;
}

.brand-lockup {
    text-align: center;
    line-height: .82;
}

.brand-lockup span,
.brand-lockup strong {
    display: block;
}

.brand-lockup span {
    font-size: .68rem;
    letter-spacing: .32em;
    margin-left: .32em;
}

.brand-lockup strong {
    font-size: 2rem;
    letter-spacing: -.07em;
}

.main-nav {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.main-nav a {
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width .2s ease;
}

.main-nav a:hover::after { width: 100%; }

.cart-link span {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-left: 4px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-size: .62rem;
}

/* =========================
   EDITORIAL HOMEPAGE
   ========================= */

.fashion-hero {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 56% 44%;
    border-bottom: 1px solid var(--ink);
}

.hero-copy-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 82px);
    padding: 34px 28px 28px;
    border-right: 1px solid var(--ink);
}

.hero-kicker {
    display: flex;
    justify-content: space-between;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.display-title {
    margin: 0;
    font-size: clamp(5.8rem, 13vw, 13.5rem);
    line-height: .69;
    letter-spacing: -.105em;
    font-weight: 900;
}

.display-title span {
    display: block;
}

.display-title .outline-word {
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
    transform: translateX(7%);
}

.hero-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: end;
    border-top: 1px solid var(--ink);
    padding-top: 18px;
}

.hero-bottom p {
    max-width: 420px;
    margin: 0;
    font-size: .98rem;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--ink);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .13em;
    white-space: nowrap;
}

.arrow-link span { font-size: 1rem; }

.hero-visual {
    position: relative;
    min-height: calc(100vh - 82px);
    padding: 26px;
    background: var(--blue);
    overflow: hidden;
}

.visual-placeholder {
    height: 100%;
    min-height: 620px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.7);
    background:
        linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,0)),
        var(--blue);
    color: rgba(255,255,255,.92);
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 900;
    line-height: .86;
    letter-spacing: -.06em;
    text-align: center;
}

.visual-label {
    position: absolute;
    z-index: 2;
    color: white;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.top-left { top: 36px; left: 38px; }
.bottom-right { right: 38px; bottom: 36px; }

.ticker {
    overflow: hidden;
    border-bottom: 1px solid var(--ink);
    background: var(--acid);
}

.ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 0;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .16em;
    animation: ticker 24s linear infinite;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-35%); }
}

.manifesto {
    display: grid;
    grid-template-columns: 15% 55% 30%;
    min-height: 680px;
    border-bottom: 1px solid var(--ink);
}

.manifesto-index,
.manifesto-copy,
.manifesto-side {
    padding: 38px 28px;
}

.manifesto-index {
    border-right: 1px solid var(--ink);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .15em;
}

.manifesto-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--ink);
}

.manifesto-lead {
    margin: 0;
    font-size: clamp(3.3rem, 7vw, 7.2rem);
    line-height: .88;
    letter-spacing: -.07em;
    font-weight: 900;
}

.manifesto-body {
    width: min(560px, 100%);
    margin: 80px 0 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    line-height: 1.3;
}

.manifesto-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--paper-light);
}

.manifesto-side span {
    margin-bottom: 16px;
    font-size: .66rem;
    letter-spacing: .15em;
}

.manifesto-side strong {
    font-size: clamp(1.6rem, 3vw, 3.3rem);
    line-height: .95;
    letter-spacing: -.05em;
}

.drop-section {
    padding: 0 0 80px;
    background: var(--paper-light);
    border-bottom: 1px solid var(--ink);
}

.drop-heading {
    min-height: 360px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: end;
    gap: 30px;
    padding: 32px 28px;
    border-bottom: 1px solid var(--ink);
}

.drop-number {
    display: block;
    margin-bottom: 16px;
    font-size: 3rem;
    font-weight: 900;
}

.drop-heading p {
    margin: 0;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.drop-heading h2 {
    margin: 0;
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: .78;
    letter-spacing: -.085em;
}

.drop-heading .arrow-link {
    justify-self: end;
}

.lookbook-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    grid-template-areas:
        "a b"
        "a c";
    gap: 1px;
    background: var(--ink);
    border-bottom: 1px solid var(--ink);
}

.lookbook-item {
    background: var(--paper-light);
}

.item-a { grid-area: a; }
.item-b { grid-area: b; }
.item-c { grid-area: c; }

.lookbook-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
    background:
        linear-gradient(45deg, transparent 49.8%, rgba(17,17,17,.2) 50%, transparent 50.2%),
        linear-gradient(-45deg, transparent 49.8%, rgba(17,17,17,.2) 50%, transparent 50.2%),
        #d9d2c5;
}

.item-a .lookbook-placeholder { min-height: 840px; background-color: #c9c1b4; }
.item-b .lookbook-placeholder { background-color: #d7ff58; }
.item-c .lookbook-placeholder { background-color: #afc0ff; }

.lookbook-placeholder span {
    font-size: clamp(5rem, 12vw, 11rem);
    font-weight: 900;
    letter-spacing: -.08em;
    opacity: .14;
}

.lookbook-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px 18px;
    border-top: 1px solid var(--ink);
}

.lookbook-meta span {
    font-size: .6rem;
    letter-spacing: .15em;
}

.lookbook-meta strong {
    font-size: .75rem;
    letter-spacing: .08em;
}

.closing-statement {
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px 28px 28px;
    background: var(--ink);
    color: var(--paper-light);
}

.closing-statement p {
    margin: 0;
    font-size: .68rem;
    letter-spacing: .18em;
}

.closing-statement h2 {
    align-self: center;
    margin: auto 0;
    font-size: clamp(5rem, 12vw, 12rem);
    line-height: .74;
    letter-spacing: -.09em;
    text-align: center;
}

.closing-statement a {
    align-self: flex-end;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .14em;
}

/* =========================
   SHARED STORE PAGES
   ========================= */

.eyebrow {
    font-size: .68rem;
    letter-spacing: .16em;
    font-weight: 900;
    color: var(--muted);
}

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

.page-hero {
    padding: 70px 28px 24px;
    border-bottom: 1px solid var(--ink);
}

.page-hero .container { width: 100%; }

.page-hero h1 {
    margin: 0;
    font-size: clamp(4.5rem, 10vw, 10rem);
    line-height: .8;
    letter-spacing: -.085em;
}

.section { padding: 70px 28px; }
.section .container { width: 100%; }

.section-soft { background: var(--paper-light); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--ink);
    border: 1px solid var(--ink);
}

.product-card {
    display: block;
    background: var(--paper-light);
}

.product-card h2,
.product-card h3,
.product-card p {
    margin-left: 14px;
    margin-right: 14px;
}

.product-card h2,
.product-card h3 {
    margin-top: 14px;
    margin-bottom: 4px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.product-card p {
    margin-bottom: 16px;
    color: var(--muted);
}

.product-image-placeholder {
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #d7d0c4;
    border-bottom: 1px solid var(--ink);
    color: var(--muted);
}

.product-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 0;
    border: 1px solid var(--ink);
}

.product-detail > * {
    padding: 28px;
}

.product-detail .hero-placeholder {
    min-height: 650px;
    display: grid;
    place-items: center;
    background: #d7d0c4;
    border-right: 1px solid var(--ink);
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.button-dark {
    background: var(--ink);
    color: var(--white);
}

.button-light { background: transparent; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.full-width { width: 100%; }

.notice,
.empty-state,
.admin-panel {
    padding: 24px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--paper-light);
}

.notice-error { border-color: #a12e2e; }
.empty-state { text-align: center; padding: 80px 24px; }

.product-form,
.stack-form {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.product-form label,
.stack-form label { font-weight: 800; }

input,
select {
    width: 100%;
    min-height: 48px;
    margin-top: 7px;
    padding: 0 12px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--paper-light);
}

.price { font-size: 1.4rem; font-weight: 900; }

.cart-list { border-top: 1px solid var(--ink); }

.cart-row,
.cart-total {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--ink);
}

.cart-row p { margin: 5px 0 0; color: var(--muted); }
.cart-row-actions { text-align: right; }
.text-button { border: 0; background: none; text-decoration: underline; cursor: pointer; padding: 6px 0; }
.cart-total { font-size: 1.2rem; margin-bottom: 20px; }

.site-footer {
    margin-top: 0;
    border-top: 1px solid var(--ink);
    background: var(--paper);
}

.footer-wrap {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* =========================
   ADMIN
   Keep admin intentionally utilitarian.
   ========================= */

.admin-body {
    background: #f5f5f3;
    font-family: Arial, Helvetica, sans-serif;
}

.admin-header {
    min-height: 68px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #181818;
    color: white;
}

.admin-header .brand { font-weight: 800; }

.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 68px);
}

.admin-sidebar {
    padding: 24px 14px;
    border-right: 1px solid #ded8cf;
    background: white;
}

.admin-sidebar a {
    display: block;
    padding: 11px 14px;
    margin-bottom: 5px;
    border-radius: 8px;
}

.admin-sidebar a.active,
.admin-sidebar a:hover { background: #f1eee8; }

.admin-main { padding: 42px; }

.admin-main > h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.admin-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 26px;
}

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

.stat-card {
    padding: 22px;
    background: white;
    border: 1px solid #ded8cf;
}

.stat-card span { color: #6f6f6f; display: block; }
.stat-card strong { display: block; font-size: 2.2rem; margin-top: 8px; }

.admin-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #f1eee8;
    padding: 24px;
}

.admin-login-card {
    width: min(440px, 100%);
    padding: 36px;
    background: white;
    border: 1px solid #181818;
}

.admin-login-card h1 {
    font-size: 2.4rem;
    line-height: 1;
}

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 12px; border-bottom: 1px solid #ded8cf; text-align: left; vertical-align: top; }
th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #6f6f6f; }

@media (max-width: 900px) {
    .fashion-hero {
        grid-template-columns: 1fr;
    }

    .hero-copy-block,
    .hero-visual {
        min-height: auto;
    }

    .hero-copy-block {
        padding: 28px 20px 22px;
        border-right: 0;
        border-bottom: 1px solid var(--ink);
    }

    .display-title {
        margin: 80px 0;
        font-size: clamp(5rem, 25vw, 9rem);
    }

    .hero-visual { min-height: 70vh; }
    .visual-placeholder { min-height: calc(70vh - 52px); }

    .manifesto {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .manifesto-index,
    .manifesto-copy {
        border-right: 0;
        border-bottom: 1px solid var(--ink);
    }

    .manifesto-copy { min-height: 560px; }

    .drop-heading {
        grid-template-columns: 1fr;
        min-height: auto;
        align-items: start;
    }

    .drop-heading .arrow-link { justify-self: start; }

    .lookbook-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "a" "b" "c";
    }

    .item-a .lookbook-placeholder,
    .lookbook-placeholder { min-height: 70vh; }

    .product-grid { grid-template-columns: 1fr 1fr; }
    .product-detail { grid-template-columns: 1fr; }
    .product-detail .hero-placeholder { border-right: 0; border-bottom: 1px solid var(--ink); }

    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar {
        display: flex;
        overflow-x: auto;
        gap: 4px;
        border-right: 0;
        border-bottom: 1px solid #ded8cf;
    }
    .admin-sidebar a { white-space: nowrap; }
    .admin-main { padding: 26px 20px; }
}

@media (max-width: 620px) {
    .site-nav {
        grid-template-columns: auto 1fr auto;
        min-height: 68px;
        padding: 0 14px;
    }

    .nav-mark small { display: none; }

    .brand-lockup span { font-size: .52rem; }
    .brand-lockup strong { font-size: 1.35rem; }

    .main-nav { gap: 12px; font-size: .6rem; }
    .main-nav a:nth-child(2) { display: none; }

    .hero-bottom {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .display-title { margin: 58px 0; }

    .manifesto-index,
    .manifesto-copy,
    .manifesto-side {
        padding: 28px 20px;
    }

    .manifesto-copy { min-height: 500px; }
    .manifesto-body { font-size: 1.2rem; }

    .drop-heading { padding: 28px 20px; }
    .drop-heading h2 { font-size: clamp(3.7rem, 19vw, 6rem); }

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

    .closing-statement { min-height: 65vh; padding: 28px 20px 22px; }
    .closing-statement h2 { font-size: clamp(4rem, 21vw, 7rem); }
}
