/* ========================================================================
   THE SUSTAINABLE WORLD — Site stylesheet
   Editorial minimalism × Beirut heritage × streetwear discipline
   ======================================================================== */

/* ---------- Fonts ---------- */
@font-face {
    font-family: 'Helvetica Neue Black';
    src: url('../fonts/HelveticaNeue-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue Bold';
    src: url('../fonts/HelveticaNeue-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
    --linen:        #F5F1EB;
    --linen-soft:   #EDE7DD;
    --linen-deep:   #E0D8CB;
    --ink:          #0A0A0A;
    --ink-soft:     #2A2520;
    --muted:        #8A8278;
    --muted-light:  #B5AEA3;
    --sand:         #C9A77E;
    --sand-deep:    #A8855E;
    --line:         rgba(10, 10, 10, 0.08);

    --display:      'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
    --body:         'Inter', system-ui, -apple-system, sans-serif;
    --serif:        'Instrument Serif', 'Times New Roman', serif;
    /* Wordmark = self-hosted Helvetica Neue Black (Condensed). Swap to 'Helvetica Neue Bold' for non-condensed heavy. */
    --wordmark:     'Helvetica Neue Black', 'Helvetica Neue', 'HelveticaNeue', 'Helvetica', 'Arial Black', Arial, sans-serif;

    --pad-x:        clamp(16px, 4vw, 48px);
    --gap:          clamp(24px, 4vw, 56px);
    --section-y:    clamp(64px, 10vw, 140px);

    --ease:         cubic-bezier(.4, 0, .2, 1);
    --ease-out:     cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    background: var(--linen);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Type ---------- */
.eyebrow {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--muted);
}
.serif-accent {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ---------- Layout primitives ---------- */
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.container-tight {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.section { padding-block: var(--section-y); }
.section-flush { padding-block: 0; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px var(--pad-x);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
    border-bottom: 1px solid transparent;
    color: var(--linen);
}
.nav.is-scrolled,
.nav.is-light {
    background: rgba(245, 241, 235, 0.85);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom-color: var(--line);
    color: var(--ink);
}
.nav__group { display: flex; gap: 28px; align-items: center; }
.nav__group--right { justify-content: flex-end; }
.nav__link {
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: opacity .2s var(--ease);
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__wordmark {
    font-family: var(--wordmark);
    font-weight: 900;
    letter-spacing: 0;
    font-size: 16px;
    text-transform: uppercase;
    white-space: nowrap;
}
.nav__cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav__cart-count {
    font-variant-numeric: tabular-nums;
    font-size: 11px;
    min-width: 16px;
    display: inline-block;
    text-align: left;
}

/* Hamburger button — hidden on desktop */
.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav__burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__cart-mob { display: none; }

@media (max-width: 720px) {
    .nav { grid-template-columns: auto 1fr auto; padding: 14px 16px; }
    .nav__group { gap: 12px; }
    .nav__group--left { justify-content: flex-start; }
    .nav__wordmark { font-size: 13px; }
    .nav__link--desk { display: none; }
    .nav__burger { display: flex; }
    .nav__cart { font-size: 11px; letter-spacing: 0.08em; }
    .nav__cart-mob { display: inline; }
    .nav__cart-count { font-size: 11px; }
}

/* Mobile full-screen menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: var(--linen);
    color: var(--ink);
    padding: 80px var(--pad-x) 40px;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform .5s var(--ease-out);
    overflow-y: auto;
}
.mobile-menu.is-open { transform: none; }
.mobile-menu__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 26px;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
}
.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 24px;
}
.mobile-menu__link {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(28px, 8vw, 44px);
    letter-spacing: -0.015em;
    color: var(--ink);
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    text-transform: none;
    transition: color .2s var(--ease), padding .25s var(--ease);
}
.mobile-menu__link:active,
.mobile-menu__link:hover { color: var(--sand-deep); padding-left: 8px; }
.mobile-menu__foot {
    margin-top: auto;
    padding-top: 32px;
}

/* Lock body scroll when menu open */
body.no-scroll { overflow: hidden; }

/* Custom pill scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(10, 10, 10, 0.36) rgba(10, 10, 10, 0.1);
}
*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
*::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.06);
    border-radius: 999px;
}
*::-webkit-scrollbar-thumb {
    background: rgba(10, 10, 10, 0.35);
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.75);
    background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 10, 10, 0.55);
}
*::-webkit-scrollbar-corner {
    background: transparent;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    color: var(--linen);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
}
.hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero__media img,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    animation: heroZoom 12s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 60%, rgba(10,10,10,0.5) 100%);
    z-index: -1;
}
.hero__content {
    width: 100%;
    padding: 0 var(--pad-x) clamp(40px, 6vw, 80px);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
}
.hero__eyebrow {
    color: var(--linen);
    opacity: 0.75;
    margin-bottom: 16px;
}
.hero__title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(40px, 8vw, 112px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    max-width: 14ch;
}
.hero__title em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}
.hero__cta {
    align-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid rgba(245, 241, 235, 0.5);
    border-radius: 999px;
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.hero__cta:hover {
    background: var(--linen);
    color: var(--ink);
    border-color: var(--linen);
}
.hero__cta svg { width: 12px; height: 12px; }

@media (max-width: 720px) {
    .hero__content { grid-template-columns: 1fr; }
    .hero__cta { justify-self: start; margin-top: 12px; }
}

/* ---------- Section header ---------- */
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(32px, 5vw, 64px);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.section-head h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.section-head .eyebrow { margin-bottom: 8px; }
.section-head__link {
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    color: var(--ink);
}

/* ---------- Editorial featured strip ---------- */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2vw, 28px);
    margin-bottom: var(--section-y);
}
.feature-tile {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--linen-deep);
    color: var(--linen);
}
.feature-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}
.feature-tile:hover img { transform: scale(1.04); }
.feature-tile__caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.45));
}
.feature-tile h3 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(20px, 2.2vw, 28px);
    letter-spacing: -0.01em;
}
@media (max-width: 640px) {
    .feature-strip { grid-template-columns: 1fr; }
}

/* ---------- Product grid ---------- */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px) clamp(16px, 2vw, 24px);
}
@media (max-width: 1080px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .products { grid-template-columns: 1fr; gap: 40px 0; } }

.product-card {
    display: flex;
    flex-direction: column;
    color: var(--ink);
}
.product-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--linen-soft);
    overflow: hidden;
    margin-bottom: 14px;
}
.product-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8%;
    transition: opacity .55s var(--ease);
}
.product-card__img--hover {
    opacity: 0;
}
.product-card:hover .product-card__img--main  { opacity: 0; }
.product-card:hover .product-card__img--hover { opacity: 1; }

.product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--linen);
    z-index: 1;
}
.product-card__badge--sand { background: var(--sand); color: var(--ink); }
.product-card__badge--muted { background: var(--linen); color: var(--ink); border: 1px solid var(--line); }

.product-card__quick {
    position: absolute;
    inset: auto 14px 14px 14px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    pointer-events: none;
}
.product-card:hover .product-card__quick { opacity: 1; transform: none; pointer-events: auto; }
.product-card__size {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.12em;
    background: rgba(245, 241, 235, 0.92);
    color: var(--ink);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s var(--ease), color .2s var(--ease);
}
.product-card__size:hover { background: var(--ink); color: var(--linen); }
.product-card__size[disabled] { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.product-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.product-card__name {
    font-family: var(--display);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
}
.product-card__price {
    font-family: var(--display);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}
.product-card__price--strike {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 12px;
    margin-left: 6px;
}

/* ---------- Filter bar (shop) ---------- */
.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: clamp(32px, 4vw, 56px);
}
.filter {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--linen); border-color: var(--ink); }

/* ---------- Product detail page ---------- */
.pdp {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}
.pdp__gallery { display: grid; gap: 12px; }
.pdp__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: var(--linen-soft);
}
.pdp__info { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.pdp__title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.pdp__price {
    font-family: var(--display);
    font-size: 18px;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.pdp__price del { color: var(--muted); margin-left: 8px; font-size: 15px; }
.pdp__desc { color: var(--ink-soft); max-width: 56ch; }

.size-picker { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.size-picker__label { display: flex; justify-content: space-between; }
.size-picker__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.size-pill {
    padding: 12px 0;
    border: 1px solid var(--line);
    border-radius: 0;
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-align: center;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.size-pill:not([disabled]):hover { border-color: var(--ink); }
.size-pill.is-active { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.size-pill[disabled] { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.btn-add {
    margin-top: 8px;
    width: 100%;
    padding: 18px 0;
    background: var(--ink);
    color: var(--linen);
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background .25s var(--ease), opacity .25s var(--ease);
}
.btn-add:hover { background: var(--ink-soft); }
.btn-add[disabled] { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 880px) {
    .pdp { grid-template-columns: 1fr; }
    .pdp__info { position: static; }
}

/* ---------- Cart drawer ---------- */
.drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(440px, 100vw);
    background: var(--linen);
    z-index: 200;
    transform: translateX(100%);
    transition: transform .45s var(--ease-out);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.06);
}
.drawer.is-open { transform: none; }
.drawer__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--pad-x);
    border-bottom: 1px solid var(--line);
}
.drawer__title {
    font-family: var(--display);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}
.drawer__close { font-size: 18px; line-height: 1; padding: 4px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px var(--pad-x); }
.drawer__foot {
    padding: 20px var(--pad-x);
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.drawer__row { display: flex; justify-content: space-between; }

.backdrop {
    position: fixed; inset: 0;
    background: rgba(10,10,10,0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
    z-index: 150;
}
.backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Cart item ---------- */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item img {
    width: 80px;
    aspect-ratio: 4/5;
    object-fit: contain;
    background: var(--linen-soft);
}
.cart-item__name { font-family: var(--display); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.cart-item__meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.cart-item__price { font-family: var(--display); font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-item__remove {
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Forms / auth ---------- */
.auth-wrap {
    max-width: 420px;
    margin: 0 auto;
    padding: 140px var(--pad-x) var(--section-y);
}
.auth-wrap h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 36px;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    color: var(--ink);
}
.auth-wrap p.sub { color: var(--muted); margin-bottom: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.field input {
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    font-size: 15px;
    color: var(--ink);
    transition: border-color .2s var(--ease);
}
.field input:focus { outline: none; border-bottom-color: var(--ink); }
.error-banner {
    background: #2A1818;
    color: #F5E0E0;
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 20px;
}
.auth-foot { margin-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ---------- Footer ---------- */
.footer {
    background: var(--ink);
    color: var(--linen);
    padding: clamp(48px, 8vw, 96px) var(--pad-x) 32px;
    margin-top: var(--section-y);
}
.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(24px, 4vw, 64px);
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(245, 241, 235, 0.12);
}
.footer__brand {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(32px, 5vw, 56px);
    letter-spacing: -0.01em;
    line-height: 1;
    max-width: 18ch;
}
.footer__brand em { font-family: var(--serif); font-style: italic; }
.footer__col h4 {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-light);
    margin-bottom: 18px;
    font-weight: 500;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a { opacity: 0.85; transition: opacity .2s var(--ease); }
.footer__col a:hover { opacity: 1; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-light);
    flex-wrap: wrap;
    gap: 12px;
}
@media (max-width: 720px) {
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Empty / utility ---------- */
.empty-state {
    padding: 120px var(--pad-x);
    text-align: center;
    color: var(--muted);
}
.empty-state h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(24px, 3vw, 36px);
    color: var(--ink);
    margin-bottom: 12px;
}

/* ---------- Account ---------- */
.account-wrap { padding: 140px var(--pad-x) var(--section-y); max-width: 1100px; margin: 0 auto; }
.account-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 48px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.account-head h1 { font-family: var(--display); font-weight: 500; font-size: 36px; color: var(--ink); }
.orders-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.orders-table th { text-align: left; font-family: var(--display); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.orders-table td { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.status-pill { padding: 4px 10px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px; background: var(--linen-soft); color: var(--ink-soft); }
.status-pill--delivered { background: rgba(34, 139, 34, 0.12); color: #2A6A2A; }
.status-pill--cancelled { background: rgba(180, 60, 60, 0.12); color: #8A2A2A; }

/* ---------- About ---------- */
.about-hero {
    padding: 200px var(--pad-x) 80px;
    max-width: 1100px;
    margin: 0 auto;
}
.about-hero h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 32px;
    max-width: 14ch;
}
.about-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.about-prose { max-width: 56ch; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.about-prose p + p { margin-top: 1em; }

/* ========================================================================
   ADMIN
   ======================================================================== */
.admin-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
    padding-top: 72px;
}
.admin-side {
    background: var(--ink);
    color: var(--linen);
    padding: 32px 24px;
    position: sticky;
    top: 72px;
    align-self: start;
    height: calc(100vh - 72px);
}
.admin-side__brand { margin-bottom: 40px; }
.admin-side__brand .eyebrow { color: var(--muted-light); display: block; margin-bottom: 6px; }
.admin-side__brand strong {
    font-family: var(--wordmark);
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0;
    display: block;
}
.admin-side__nav { display: flex; flex-direction: column; gap: 4px; }
.admin-side__link {
    padding: 10px 12px;
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-light);
    border-left: 2px solid transparent;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.admin-side__link:hover { color: var(--linen); }
.admin-side__link.is-active {
    color: var(--linen);
    background: rgba(245,241,235,0.06);
    border-left-color: var(--sand);
}

.admin-main { padding: 32px clamp(24px, 4vw, 48px) 80px; background: var(--linen); }

.admin-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
    gap: 24px;
}
.admin-head h1 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3vw, 40px); color: var(--ink); letter-spacing: -0.015em; }

.flash {
    background: rgba(201, 167, 126, 0.18);
    border-left: 3px solid var(--sand);
    color: var(--ink-soft);
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 24px;
}

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.stat {
    background: #fff;
    border: 1px solid var(--line);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stat__label { font-family: var(--display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.stat__value { font-family: var(--display); font-size: 32px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__meta { font-size: 12px; color: var(--muted); }

/* Two-column admin grid */
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 20px;
}
.admin-card h3 {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 500;
}
.admin-card__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.admin-card__head h2 { font-family: var(--display); font-size: 16px; color: var(--ink); font-weight: 500; }

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 13px; }
.admin-table th { text-align: left; font-family: var(--display); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 500; background: var(--linen-soft); }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.cell-strong { font-family: var(--display); font-weight: 500; color: var(--ink); }
.cell-muted { color: var(--muted); font-size: 11px; margin-top: 2px; }

.thumb { width: 48px; height: 60px; object-fit: contain; background: var(--linen-soft); }
.thumb--lg { width: 100%; aspect-ratio: 4/5; height: auto; margin-bottom: 8px; }
.thumb--empty { background: var(--linen-soft); }

.link-action {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    margin-left: 14px;
    background: none;
    cursor: pointer;
}
.link-action--danger { color: #8A2A2A; }

.dot { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--muted-light); margin-right: 6px; vertical-align: middle; }
.dot--green { background: #6FA86F; }

.btn-add--sm { width: auto; padding: 12px 22px; font-size: 11px; letter-spacing: 0.14em; display: inline-block; text-align: center; }

/* Admin form */
.admin-form { padding-bottom: 80px; }
.admin-form__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.admin-form__main, .admin-form__side { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.admin-form .field label { font-family: var(--display); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.admin-form .field input,
.admin-form .field select,
.admin-form .field textarea {
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
    color: var(--ink);
    font-family: var(--body);
    transition: border-color .2s var(--ease);
    border-radius: 0;
}
.admin-form .field input:focus,
.admin-form .field select:focus,
.admin-form .field textarea:focus { outline: none; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.field-row .field { margin-bottom: 0; }
.field-inline { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; margin-bottom: 8px; }
.field-inline label { font-family: var(--display); font-size: 11px; letter-spacing: 0.1em; color: var(--ink); }
.field-inline input { padding: 8px 10px; border: 1px solid var(--line); font-size: 13px; }

.admin-form__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
    gap: 16px;
}

/* Inventory grid */
.inv-table th, .inv-table td { padding: 10px 12px; }
.inv-th { text-align: center !important; width: 64px; }
.inv-input {
    width: 56px;
    padding: 8px;
    border: 1px solid var(--line);
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    background: #fff;
    color: var(--ink);
}
.inv-input:focus { outline: none; border-color: var(--ink); }
.inv-input.is-zero { background: #FBEDEC; color: #8A2A2A; }
.inv-input.is-low { background: #FCF4E6; color: #8A5A1F; }
.inv-total { text-align: center; font-family: var(--display); font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

@media (max-width: 980px) {
    .admin-wrap { grid-template-columns: 1fr; }
    .admin-side { position: static; height: auto; padding: 20px; }
    .admin-side__nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .admin-form__grid, .admin-grid, .stat-grid, .field-row { grid-template-columns: 1fr; }
}

/* ── Announcement bar (marquee) ───────────────────────────── */
:root{ --annc-h: 38px; }
.annc-bar{
  position:fixed; top:0; left:0; right:0; z-index:120;
  height:var(--annc-h); display:flex; align-items:center;
  background:#b5532f; color:#f7f1ea;
  overflow:hidden; white-space:nowrap;
  font-family:var(--display,sans-serif); font-size:11px; letter-spacing:.18em; text-transform:uppercase;
}
.annc-track{display:inline-flex;width:max-content;animation:annc-scroll 40s linear infinite;}
.annc-bar:hover .annc-track{animation-play-state:paused;}
.annc-group{display:inline-flex;align-items:center;}
.annc-item{line-height:var(--annc-h);}
.annc-item a{color:inherit;text-decoration:none;border-bottom:1px solid transparent;}
.annc-item a:hover{border-bottom-color:currentColor;}
.annc-sep{padding:0 22px;opacity:.45;font-size:9px;}
@keyframes annc-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.annc-track{animation:none}}
/* Push the fixed nav below the bar when present. */
body.has-annc .nav{ top: var(--annc-h); }

/* Refund disclosure on the account page */
.refund-disc summary::-webkit-details-marker{display:none}
.refund-disc summary::marker{content:""}

/* ── Hero Slider ─────────────────────────────────────────────── */
/* The slider wraps all slides; the .hero flex + min-height still applies. */
.hero-slider{ display:flex; flex-direction:column; }
.hero__slide{
  position:absolute; inset:0;
  display:flex; align-items:flex-end;
  opacity:0; pointer-events:none;
  transition:opacity .9s ease;
}
/* First slide keeps the hero's natural height via position:relative */
.hero__slide:first-child{ position:relative; min-height:inherit; }
.hero__slide.is-active{ opacity:1; pointer-events:auto; z-index:1; }

/* Prev / next arrow buttons */
.hero-slider__btn{
  position:absolute; top:50%; transform:translateY(-50%);
  z-index:10; background:rgba(0,0,0,.28); border:0;
  color:#fff; cursor:pointer; border-radius:50%;
  width:46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  backdrop-filter:blur(4px); transition:background .2s;
}
.hero-slider__btn:hover{ background:rgba(0,0,0,.52); }
.hero-slider__btn--prev{ left:20px; }
.hero-slider__btn--next{ right:20px; }

/* Dot indicators */
.hero-slider__dots{
  position:absolute; bottom:22px; left:50%; transform:translateX(-50%);
  z-index:10; display:flex; gap:8px;
}
.hero-slider__dot{
  width:8px; height:8px; border-radius:50%; border:0;
  background:rgba(255,255,255,.45); cursor:pointer;
  transition:background .25s, transform .25s;
}
.hero-slider__dot.is-active{
  background:#fff; transform:scale(1.3);
}
