/* =========================================================================
   Storefront design system
   Editorial-luxury: warm paper ground, espresso ink, a single hot accent.
   Tokens first, then layout, then components. No framework, no build step.
   ========================================================================= */

/* ------------------------------------------------------------- tokens ---- */
:root {
    color-scheme: light dark;

    /* Brand accent is injected per-install from Settings. */
    --accent: #c2410c;
    --accent-2: #7c2d12;

    --paper:      oklch(98.2% 0.008 75);
    --paper-2:    oklch(96.0% 0.012 74);
    --paper-3:    oklch(93.2% 0.016 72);
    --ink:        oklch(21% 0.018 55);
    --ink-2:      oklch(38% 0.014 55);
    --ink-3:      oklch(56% 0.012 58);
    --line:       oklch(88% 0.012 70);
    --line-2:     oklch(80% 0.014 70);
    --card:       oklch(100% 0 0);
    --ok:         oklch(58% 0.13 152);
    --warn:       oklch(72% 0.15 75);
    --bad:        oklch(56% 0.19 25);

    --shadow-1: 0 1px 2px oklch(30% 0.02 60 / .06), 0 2px 8px oklch(30% 0.02 60 / .05);
    --shadow-2: 0 2px 6px oklch(30% 0.02 60 / .07), 0 14px 34px oklch(30% 0.02 60 / .09);
    --shadow-3: 0 6px 14px oklch(30% 0.02 60 / .10), 0 32px 70px oklch(30% 0.02 60 / .16);

    --r-xs: 8px;  --r-sm: 12px; --r-md: 18px;
    --r-lg: 26px; --r-xl: 36px; --r-pill: 999px;

    --gut: clamp(1.15rem, 4vw, 3.25rem);
    --maxw: 1440px;
    --nav-h: 68px;

    --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
            "Segoe UI", Roboto, sans-serif;
    --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --t-fast: .18s var(--ease);
    --t: .34s var(--ease);
    --t-slow: .7s var(--ease-out);
}

/* Dark is reachable two ways: the visitor's system setting, and the moon button
   in the header. The three states are system (no data-theme), explicit light and
   explicit dark, so the media query is guarded with :not([data-theme="light"])
   and an explicit choice always beats the operating system. The two blocks hold
   the same values on purpose - CSS cannot share one token set across a media
   query and a plain selector - so edit them together. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper:   oklch(17.5% 0.012 60);
        --paper-2: oklch(21% 0.014 60);
        --paper-3: oklch(25% 0.016 60);
        --ink:     oklch(95% 0.008 75);
        --ink-2:   oklch(80% 0.010 75);
        --ink-3:   oklch(64% 0.012 70);
        --line:    oklch(30% 0.014 62);
        --line-2:  oklch(38% 0.016 62);
        --card:    oklch(21.5% 0.014 60);
        --shadow-1: 0 1px 2px #0006, 0 2px 8px #0004;
        --shadow-2: 0 2px 6px #0007, 0 14px 34px #0006;
        --shadow-3: 0 6px 14px #0008, 0 32px 70px #0009;
    }
}
:root[data-theme="dark"] {
    --paper:   oklch(17.5% 0.012 60);
    --paper-2: oklch(21% 0.014 60);
    --paper-3: oklch(25% 0.016 60);
    --ink:     oklch(95% 0.008 75);
    --ink-2:   oklch(80% 0.010 75);
    --ink-3:   oklch(64% 0.012 70);
    --line:    oklch(30% 0.014 62);
    --line-2:  oklch(38% 0.016 62);
    --card:    oklch(21.5% 0.014 60);
    --shadow-1: 0 1px 2px #0006, 0 2px 8px #0004;
    --shadow-2: 0 2px 6px #0007, 0 14px 34px #0006;
    --shadow-3: 0 6px 14px #0008, 0 32px 70px #0009;
}

/* Colour palettes for the header's palette button. No [data-accent] at all means
   "Brand", i.e. whatever the owner picked in Settings, which base.html writes
   into :root. These are (0,2,0) selectors so they out-specify that block
   whatever the source order. */
:root[data-accent="rose"]    { --accent: #be123c; --accent-2: #7f1d3a; }
:root[data-accent="saffron"] { --accent: #d97706; --accent-2: #92400e; }
:root[data-accent="indigo"]  { --accent: #4338ca; --accent-2: #312e81; }
:root[data-accent="emerald"] { --accent: #047857; --accent-2: #064e3b; }
:root[data-accent="ink"]     { --accent: #44403c; --accent-2: #1c1917; }

/* Palette popover, anchored under the button by theme.js. */
.accent-pop {
    position: absolute; z-index: 300; min-width: 238px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: var(--shadow-3);
    padding: .5rem; display: flex; flex-direction: column; gap: 2px;
}
.accent-pop .ah {
    font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-3); font-weight: 700; padding: .35rem .5rem .45rem;
}
.accent-opt {
    display: flex; align-items: center; gap: .6rem; width: 100%;
    padding: .5rem; border: 0; background: none; cursor: pointer;
    border-radius: var(--r-sm); color: var(--ink); font: inherit;
    font-size: .86rem; text-align: left;
}
.accent-opt:hover { background: var(--paper-2); }
.accent-opt.on { background: var(--paper-3); font-weight: 600; }
.accent-opt .sw {
    width: 20px; height: 20px; border-radius: 50%; flex: none;
    border: 1px solid oklch(50% 0 0 / .25);
}
.accent-opt .grow { flex: 1; }
.accent-opt .rec {
    font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-3); font-weight: 700;
}

/* Only one of the two glyphs shows; theme.js decides which. */
[data-theme-btn] .ic-sun { display: none; }

/* Language picker: a globe with a bare <select> sitting on top of it, so the
   control is the browser's own list on a phone and still matches the icon
   buttons beside it. */
.lang-pick {
    display: inline-flex; align-items: center; gap: .3rem;
    height: 36px; padding: 0 .5rem 0 .55rem;
    border: 1px solid var(--line); border-radius: var(--r-pill);
    color: var(--ink-2); cursor: pointer;
}
.lang-pick:hover { border-color: var(--line-2); color: var(--ink); }
.lang-pick svg { width: 17px; height: 17px; flex: none; }
.lang-pick select {
    border: 0; background: none; color: inherit; font: inherit;
    font-size: .8rem; font-weight: 600; cursor: pointer;
    padding: 0 .1rem; max-width: 7.5rem;
}
.lang-pick select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* On a phone the header has no room for the language name: at 105px wide this
   control pushed the dark-mode button off the right edge. Below 600px it
   shrinks to the globe, with the real <select> laid invisibly over it so a tap
   still opens the browser's own language list. Laptops from 1351px (where the
   menu links appear) to 1500px get the same globe: with the full name the
   links "Shop" and "Our story" broke onto two lines at 1366-1440px. */
@media (max-width: 860px), (min-width: 1351px) and (max-width: 1500px) {
    .lang-pick {
        position: relative; width: 36px; height: 36px; padding: 0;
        justify-content: center; border-radius: 50%;
    }
    .lang-pick select {
        position: absolute; inset: 0; width: 100%; height: 100%;
        max-width: none; opacity: 0; padding: 0;
    }
}

/* ---------------------------------------------------------------- base --- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(.95rem, .9rem + .2vw, 1.0125rem);
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 40;
    letter-spacing: -.022em;
    line-height: 1.06;
    margin: 0;
    text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 5.4rem); }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.5vw, 3.35rem); }
h3 { font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); }
p  { margin: 0 0 1em; text-wrap: pretty; }

.shell { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 7.5rem); }
.stack > * + * { margin-top: var(--s, 1rem); }
.muted { color: var(--ink-3); }
.center { text-align: center; }

.kicker {
    font-size: .70rem; font-weight: 700; letter-spacing: .19em;
    text-transform: uppercase; color: var(--accent);
    display: inline-flex; align-items: center; gap: .5rem;
}
.kicker::before {
    content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55;
}
.lede { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: var(--ink-2); max-width: 58ch; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* -------------------------------------------------------------- buttons -- */
.btn {
    --bg: var(--ink); --fg: var(--paper);
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .82rem 1.5rem; border-radius: var(--r-pill);
    background: var(--bg); color: var(--fg);
    font-weight: 650; font-size: .9rem; letter-spacing: -.006em;
    border: 1px solid transparent; position: relative; overflow: hidden;
    transition: transform var(--t-fast), box-shadow var(--t), filter var(--t-fast);
    white-space: nowrap;
}
.btn::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
                #fff3 0%, #fff0 62%);
    opacity: 0; transition: opacity var(--t);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.985); }
.btn--accent { --bg: var(--accent); --fg: #fff; }
.btn--ghost {
    --bg: transparent; --fg: var(--ink); border-color: var(--line-2);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { --bg: var(--card); --fg: var(--ink); box-shadow: var(--shadow-1); }
.btn--sm { padding: .55rem 1.05rem; font-size: .82rem; }
.btn--lg { padding: 1.02rem 2rem; font-size: .97rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled {
    opacity: .45; pointer-events: none; filter: grayscale(.4);
}

.link-arrow {
    display: inline-flex; align-items: center; gap: .45rem;
    font-weight: 650; font-size: .89rem; border-bottom: 1px solid currentColor;
    padding-bottom: 2px; transition: gap var(--t-fast);
}
.link-arrow:hover { gap: .8rem; }

/* ----------------------------------------------------------- announce ---- */
/* Colourful wholesale banner. The flat brown bar read as a warning strip; this
   keeps the brand terracotta but runs it through amber and rose so it looks
   like a shopfront ribbon. Built from --accent with color-mix, so it still
   follows whatever brand colour is set in Settings. */
.announce {
    background:
        linear-gradient(90deg,
            var(--accent) 0%,
            color-mix(in oklab, var(--accent) 50%, oklch(74% 0.17 70)) 28%,
            color-mix(in oklab, var(--accent) 45%, oklch(55% 0.20 12)) 58%,
            color-mix(in oklab, var(--accent) 60%, oklch(45% 0.15 330)) 80%,
            var(--accent) 100%);
    color: #fff;
    font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
    font-weight: 600; padding: .55rem 0; overflow: hidden;
}
.announce__track {
    display: flex; gap: 3.5rem; width: max-content;
    animation: slide 34s linear infinite;
}

/* One phrase set; each phrase gets its own treatment so the eye has somewhere
   to land instead of one unbroken line of capitals. */
.announce__set { display: inline-flex; align-items: center; gap: .85rem; white-space: nowrap; }
.announce__bit { font-weight: 700; }

/* 1 = the headline claim, in a bright pill. 2 = plain. 3 = the origin, underlined. */
.announce__bit--1 {
    background: oklch(92% 0.15 95); color: oklch(32% 0.10 50);
    padding: .16rem .6rem; border-radius: var(--r-pill); letter-spacing: .1em;
}
.announce__bit--2 { color: oklch(97% 0.02 90); font-weight: 600; }
.announce__bit--3 {
    color: #fff;
    box-shadow: inset 0 -.42em 0 color-mix(in oklab, oklch(92% 0.15 95) 42%, transparent);
}
.announce__dot {
    width: 6px; height: 6px; border-radius: 50%; flex: none;
    background: oklch(92% 0.15 95);
}
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- nav ----- */
.nav {
    position: sticky; top: 0; z-index: 90;
    background: color-mix(in oklab, var(--paper) 78%, transparent);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.nav.is-stuck { border-color: var(--line); box-shadow: var(--shadow-1); }
.nav__bar {
    height: var(--nav-h); display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
}
.brand { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.brand__mark {
    width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
    box-shadow: var(--shadow-1);
}
.brand__name {
    font-family: var(--serif); font-size: 1.16rem; font-weight: 600;
    letter-spacing: -.02em; line-height: 1;
}
.brand__tag {
    display: block; font-family: var(--sans); font-size: .58rem; font-weight: 600;
    letter-spacing: .17em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px;
}

.nav__links { display: flex; gap: .3rem; margin-inline: auto; }
.nav__link {
    padding: .5rem .78rem; border-radius: var(--r-pill); font-size: .875rem;
    font-weight: 600; color: var(--ink-2); position: relative; white-space: nowrap;
    transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__link[aria-current] { color: var(--ink); background: var(--paper-3); }

.nav__tools { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.icon-btn {
    width: 41px; height: 41px; border-radius: var(--r-pill); display: grid;
    place-items: center; color: var(--ink-2); position: relative;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { background: var(--paper-3); color: var(--ink); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.7; }
.pip {
    position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px;
    padding: 0 5px; border-radius: var(--r-pill); background: var(--accent); color: #fff;
    font-size: .66rem; font-weight: 800; display: grid; place-items: center;
    border: 2px solid var(--paper);
}
.pip:empty, .pip[data-count="0"] { display: none; }

/* Owner login: an icon on its own until there is room for the word beside it. */
.nav__login {
    display: inline-flex; align-items: center; justify-content: center;
    width: auto; height: 38px; gap: .42rem; padding: 0 .9rem; margin-left: .25rem;
    border: 1px solid var(--line-2); border-radius: var(--r-pill);
}
.nav__login svg { width: 17px; height: 17px; flex: 0 0 auto; }
.nav__login span { font-size: .8rem; font-weight: 650; line-height: 1; white-space: nowrap; }
.nav__login:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
@media (max-width: 1180px) {
    .nav__login span { display: none; }
    .nav__login { width: 38px; padding: 0; }
}
/* Mega menu -------------------------------------------------------------- */
.has-mega { position: relative; }
.mega {
    position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
    width: min(92vw, 780px); background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 1.4rem;
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4rem;
    opacity: 0; visibility: hidden; translate: -50% 8px;
    transition: opacity var(--t), translate var(--t), visibility var(--t);
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
    opacity: 1; visibility: visible; translate: -50% 0;
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
.mega__item {
    padding: .6rem .7rem; border-radius: var(--r-sm); font-size: .875rem; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center;
    transition: background var(--t-fast);
}
.mega__item:hover { background: var(--paper-2); }
.mega__item span { color: var(--ink-3); font-size: .74rem; font-weight: 600; }
.mega__promo {
    border-radius: var(--r-md); padding: 1.1rem; display: flex; flex-direction: column;
    justify-content: flex-end; min-height: 190px; color: #fff; position: relative;
    overflow: hidden; background: linear-gradient(150deg, var(--accent), var(--accent-2));
    isolation: isolate;
}
.mega__promo img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
    transition: transform .8s var(--ease-out);
}
.mega__promo::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, #000000c9 8%, #00000047 52%, #0000 85%);
}
.mega__promo:hover img { transform: scale(1.06); }
.mega__promo h4 { font-size: 1.25rem; color: #fff; margin: .4rem 0 .3rem; }
.mega__promo p { font-size: .8rem; opacity: .9; margin: 0; }

/* Category and season markers in the mega menu. The category thumbnails are
   the same artwork used on the home page, so the menu previews the range. */
.mega__item { gap: .6rem; }
.mega__item > span:first-child { display: inline-flex; align-items: center; gap: .55rem;
                                 min-width: 0; }
.mega__ico { font-style: normal; font-size: .95rem; line-height: 1; width: 24px;
             text-align: center; flex: 0 0 auto; }
.mega__thumb {
    width: 26px; height: 26px; border-radius: var(--r-xs); object-fit: cover;
    flex: 0 0 auto; background: var(--paper-3); transition: transform var(--t-fast);
}
.mega__item:hover .mega__thumb { transform: scale(1.08); }

/* Mobile nav ------------------------------------------------------------- */
.burger { display: none; }
/* Above .scrim (135). Below it the panel was dimmed 45%, blurred, and every
   tap landed on the scrim instead — the menu looked broken. */
.mobile-nav {
    position: fixed; inset: 0; z-index: 150; background: var(--paper);
    padding: 1.1rem var(--gut) 2rem; overflow-y: auto;
    translate: 0 -100%; transition: translate var(--t-slow); visibility: hidden;
}
.mobile-nav.open { translate: 0 0; visibility: visible; }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center;
                    height: var(--nav-h); }
.mobile-nav a.m-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: .95rem 0; border-bottom: 1px solid var(--line);
    font-family: var(--serif); font-size: 1.45rem; font-weight: 600;
}
.mobile-nav a.m-link small { font-family: var(--sans); font-size: .72rem; color: var(--ink-3); }

/* Bottom bar (mobile) ---------------------------------------------------- */
.tabbar { display: none; }

/* ------------------------------------------------------------- search ---- */
.search-overlay {  /* also above .scrim — see .mobile-nav */
    position: fixed; inset: 0; z-index: 152; display: grid; place-items: start center;
    padding-top: 12vh; background: color-mix(in oklab, var(--ink) 42%, transparent);
    -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); opacity: 0; visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
    width: min(92vw, 680px); background: var(--card); border-radius: var(--r-lg);
    box-shadow: var(--shadow-3); overflow: hidden; translate: 0 -14px;
    transition: translate var(--t-slow);
}
.search-overlay.open .search-box { translate: 0 0; }
.search-box input {
    width: 100%; border: 0; padding: 1.35rem 1.5rem; font-size: 1.15rem;
    font-family: var(--serif); background: transparent;
}
.search-box input:focus { outline: none; }
.search-results { max-height: 58vh; overflow-y: auto; border-top: 1px solid var(--line); }
.search-results:empty { display: none; }
.sresult { display: flex; gap: .9rem; padding: .7rem 1rem; align-items: center;
           transition: background var(--t-fast); }
.sresult:hover { background: var(--paper-2); }
.sresult img { width: 54px; height: 54px; object-fit: cover; border-radius: var(--r-sm);
               background: var(--paper-3); }
.sresult b { font-size: .92rem; font-weight: 650; display: block; }
.sresult small { color: var(--ink-3); font-size: .76rem; }

/* --------------------------------------------------------------- hero ---- */
.hero { position: relative; padding-block: clamp(2.5rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem);
        overflow: hidden; }
.hero__mesh {
    position: absolute; inset: -30% -10% auto; height: 130%; z-index: -1; filter: blur(70px);
    opacity: .55; pointer-events: none;
}
.hero__mesh i {
    position: absolute; border-radius: 50%; display: block;
    animation: float 18s ease-in-out infinite alternate;
}
.hero__mesh i:nth-child(1) { width: 46vw; height: 46vw; left: -6%; top: 6%;
    background: color-mix(in oklab, var(--accent) 42%, transparent); }
.hero__mesh i:nth-child(2) { width: 38vw; height: 38vw; right: 2%; top: 0;
    background: color-mix(in oklab, var(--accent-2) 34%, transparent);
    animation-delay: -6s; }
.hero__mesh i:nth-child(3) { width: 30vw; height: 30vw; left: 42%; top: 40%;
    background: oklch(80% .10 200 / .32); animation-delay: -11s; }
@keyframes float { to { transform: translate3d(4%, -8%, 0) scale(1.12); } }

.hero__grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
}
.hero h1 { margin: .9rem 0 1.1rem; }
.hero h1 .word { display: inline-block; }
.hero__cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero__stats { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); margin-top: 2.6rem;
               flex-wrap: wrap; }
.hero__stats div strong {
    display: block; font-family: var(--serif); font-size: 1.75rem; line-height: 1;
}
.hero__stats div span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
                        color: var(--ink-3); font-weight: 600; }

.hero__art { position: relative; aspect-ratio: 1 / 1.02; }
.hero__art .frame {
    position: absolute; inset: 0; border-radius: var(--r-xl); overflow: hidden;
    box-shadow: var(--shadow-3); background: var(--paper-2);
}
.hero__art .frame img { width: 100%; height: 100%; object-fit: cover; }
/* The brand poster is 4:5 portrait; matching the box shows all of it, title and caption included. */
.hero__art--poster { aspect-ratio: 4 / 5; }
.hero__badge {
    position: absolute; background: var(--card); border-radius: var(--r-md);
    padding: .7rem .95rem; box-shadow: var(--shadow-2); display: flex; gap: .65rem;
    align-items: center; animation: bob 5.5s var(--ease) infinite alternate;
}
.hero__badge b { font-size: .84rem; display: block; line-height: 1.25; }
.hero__badge small { font-size: .7rem; color: var(--ink-3); }
.hero__badge__ico { flex: none; width: 1.55rem; display: block; line-height: 1; }
svg.hero__badge__ico { height: 1.05rem; border-radius: 3px;
                       box-shadow: 0 0 0 1px oklch(0% 0 0 / .1); }

/* Four badges ring the hero image, two a side. Each gets its own delay so
   they drift independently rather than bobbing in unison. */
.hero__badge--tl { top: 5%;    left: -6%;  }
.hero__badge--bl { bottom: 7%;  left: -4%;  animation-delay: -4.8s; }
.hero__badge--tr { top: 6%;     right: -7%; animation-delay: -1.3s; }
.hero__badge--br { bottom: 8%;  right: -5%; animation-delay: -2.6s; }
/* On the poster the corners hold its title and caption, so the badges sit on the edges instead. */
.hero__art--poster .hero__badge--tl, .hero__art--poster .hero__badge--tr { top: -5%; }
.hero__art--poster .hero__badge--bl, .hero__art--poster .hero__badge--br { bottom: -6%; }
@keyframes bob { to { transform: translateY(-12px); } }
.stars { color: var(--warn); font-size: .8rem; letter-spacing: .05em; }

/* ------------------------------------------------------------- marquee --- */
.strip {
    border-block: 1px solid var(--line); padding: 1.05rem 0; overflow: hidden;
    background: var(--paper-2);
}
.strip__track { display: flex; gap: 2.6rem; width: max-content;
                animation: slide 42s linear infinite; }
.strip__track span {
    font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 600;
    display: inline-flex; align-items: center; gap: 2.6rem; color: var(--ink-2);
}
.strip__track span::after { content: "✳"; color: var(--accent); font-size: .8em; }

/* -------------------------------------------------------- section head --- */
.head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1.5rem; margin-bottom: clamp(1.6rem, 3vw, 2.8rem); flex-wrap: wrap;
}
.head p { margin: .7rem 0 0; }

/* ---------------------------------------------------------------- grid --- */
.grid { display: grid; gap: clamp(.85rem, 1.6vw, 1.5rem); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); }
/* Home "From our feed": exactly one row of five at every width. With auto-fill it was 4, 5 or 6
   a row depending on the screen, so a post sat alone on a second row. Phones swipe the row. */
.feed-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 640px) {
    .feed-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
                margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
    .feed-row::-webkit-scrollbar { display: none; }
    .feed-row > * { flex: 0 0 42%; scroll-snap-align: start; }
}
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }

/* -------------------------------------------------------- product card --- */
.card {
    position: relative; container-type: inline-size;
    display: flex; flex-direction: column;
}
.card__media {
    position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md);
    overflow: hidden; background: var(--paper-2); display: block;
}
.card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .85s var(--ease-out), opacity var(--t);
}
.card__media img.alt { position: absolute; inset: 0; opacity: 0; }
/* The main photo never fades: with a second photo, that one fades in on top of it; with one photo, the card
   just zooms a little (a fading main photo left a blank box, 21 Nov 2026). */
.card:hover .card__media img.main { transform: scale(1.07); }
.card:hover .card__media img.alt  { transform: scale(1.07); opacity: 1; }
.card__flags { position: absolute; top: .6rem; left: .6rem; display: flex;
               flex-direction: column; gap: .3rem; align-items: flex-start; }
.flag {
    font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    padding: .3rem .55rem; border-radius: var(--r-xs); background: var(--ink); color: var(--paper);
}
.flag--sale { background: var(--accent); color: #fff; }
.flag--out  { background: var(--paper-3); color: var(--ink-2); }
.flag--new  { background: var(--ok); color: #fff; }

/* .card__frame is the positioning context, so the size bar rises over the
   bottom of the photo. Anchored to .card it sat on the name and price. */
.card__frame { position: relative; }
.card__quick {
    position: absolute; inset: auto .55rem .55rem; background: var(--card);
    border-radius: var(--r-sm); padding: .45rem .5rem .5rem; box-shadow: var(--shadow-2);
    translate: 0 calc(100% + .8rem); opacity: 0; pointer-events: none;
    transition: translate var(--t), opacity var(--t);
}
.card__quick-lbl {
    display: block; text-align: center; margin-bottom: .35rem;
    font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-3);
}
.card__quick-sizes { display: flex; gap: .28rem; justify-content: center; flex-wrap: wrap; }
.card:hover .card__quick, .card:focus-within .card__quick {
    translate: 0 0; opacity: 1; pointer-events: auto;
}
@media (hover: none) { .card__quick { display: none; } }
.card__quick button {
    min-width: 30px; height: 28px; padding: 0 .35rem; border-radius: var(--r-xs);
    font-size: .76rem; font-weight: 700; color: var(--ink-2);
    transition: background var(--t-fast), color var(--t-fast);
}
.card__quick button:not(:disabled) { border: 1px solid var(--line); }
.card__quick button:hover:not(:disabled) { background: var(--accent); color: #fff;
                                           border-color: var(--accent); }
.card__quick button:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.card__body { padding: .85rem .1rem 0; display: flex; flex-direction: column; gap: .2rem;
              flex: 1; }
.card__cat { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
             color: var(--ink-3); font-weight: 700; }
.card__name { font-size: .96rem; font-weight: 650; letter-spacing: -.012em; line-height: 1.35; }
.card__meta { font-size: .76rem; color: var(--ink-3); }
.card__price { display: flex; align-items: baseline; gap: .5rem; margin-top: .3rem; }
.card__price b { font-size: 1rem; font-weight: 700; }
.card__price s { color: var(--ink-3); font-size: .82rem; }
.card__price em { font-style: normal; color: var(--ok); font-size: .74rem; font-weight: 700; }

/* -------------------------------------------------------------- bento ---- */
/* A six-row track that both columns divide evenly: the big tile takes 4 rows
   and the wide one 2, while each of the four on the right takes 3. The two
   sides then finish level instead of leaving a hole under the right pair. */
.bento { display: grid; gap: clamp(.7rem, 1.4vw, 1.15rem);
         grid-template-columns: repeat(4, 1fr);
         grid-auto-rows: clamp(80px, 7vw, 96px); }
.bento a {
    position: relative; border-radius: var(--r-md); overflow: hidden;
    display: flex; align-items: flex-end; padding: 1.1rem; color: #fff;
    isolation: isolate; transition: transform var(--t);
}
.bento a::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, #000000bb 4%, #0000004d 42%, #0000 78%);
}
.bento a img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
    transition: transform .9s var(--ease-out), filter var(--t);
}
.bento a:hover { transform: translateY(-4px); }
.bento a:hover img { transform: scale(1.08); }
.bento a h3 { color: #fff; font-size: 1.22rem; }
.bento a span { font-size: .74rem; opacity: .85; display: block; margin-top: .2rem; }
.bento a:nth-child(1) { grid-column: span 2; grid-row: span 4; }
.bento a:nth-child(1) h3 { font-size: 2rem; }
.bento a:nth-child(2), .bento a:nth-child(3),
.bento a:nth-child(4), .bento a:nth-child(5) { grid-row: span 3; }
.bento a:nth-child(6) { grid-column: span 2; grid-row: span 2; }
/* Bigger tiles carry a bigger title. */
.bento a:nth-child(-n+5):not(:nth-child(1)) h3 { font-size: 1.34rem; }
.bento a:nth-child(-n+5):not(:nth-child(1)) span { font-size: .78rem; }

/* -------------------------------------------------------- season strip --- */
.seasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
           gap: clamp(.7rem, 1.5vw, 1.1rem); }
.season {
    border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem;
    background: var(--card); transition: transform var(--t), border-color var(--t),
                box-shadow var(--t); position: relative; overflow: hidden;
}
.season:hover { transform: translateY(-4px); border-color: var(--accent);
                box-shadow: var(--shadow-2); }
.season__icon { font-size: 1.75rem; line-height: 1; margin-bottom: .7rem; display: block; }
.season h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: .2rem; }
.season p { font-size: .82rem; color: var(--ink-3); margin: 0; }

/* --------------------------------------------------------------- shop ---- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.2rem, 3vw, 2.6rem);
               align-items: start; }
.filters {
    position: sticky; top: calc(var(--nav-h) + 1rem); max-height: calc(100vh - var(--nav-h) - 2rem);
    overflow-y: auto; padding-right: .5rem; scrollbar-width: thin;
}
.fgroup { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.fgroup > summary {
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
    font-size: .74rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase;
    list-style: none; color: var(--ink-2);
}
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary::after { content: "+"; font-size: 1.1rem; color: var(--ink-3);
                           transition: rotate var(--t); }
.fgroup[open] > summary::after { rotate: 45deg; }
.fgroup__body { padding-top: .85rem; display: flex; flex-wrap: wrap; gap: .35rem; }

.chip {
    display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .72rem;
    border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: .8rem;
    font-weight: 600; color: var(--ink-2); background: var(--card);
    transition: all var(--t-fast); cursor: pointer;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* Latest page: Ladies / Men switch (two chips). */
.latest-switch { display: flex; gap: .5rem; flex-wrap: wrap; }
.latest-switch .chip { padding-inline: 1.1rem; }
.chip small { font-size: .68rem; opacity: .6; font-weight: 600; }
.chip--sq { border-radius: var(--r-xs); min-width: 42px; justify-content: center;
            padding: .42rem .4rem; }
.chip--dead { opacity: .38; pointer-events: none; text-decoration: line-through; }

.toolbar {
    display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
    padding-bottom: 1.1rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
.toolbar select {
    border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: .45rem 2rem .45rem .85rem;
    font-size: .82rem; font-weight: 600; background: var(--card); appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .7rem center;
}
.applied { display: flex; gap: .35rem; flex-wrap: wrap; }
.applied .chip { background: var(--paper-3); border-color: transparent; }

.pager { display: flex; gap: .35rem; justify-content: center; margin-top: 3rem;
         flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 .6rem;
    border-radius: var(--r-sm); font-size: .85rem; font-weight: 650;
    border: 1px solid var(--line);
}
.pager .on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.empty { text-align: center; padding: 5rem 1rem; }
.empty__icon { font-size: 3rem; margin-bottom: 1rem; }

/* -------------------------------------------------------- product page --- */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem);
       align-items: start; }
.gallery { display: grid; grid-template-columns: 78px 1fr; gap: .8rem; }
.gallery__thumbs { display: flex; flex-direction: column; gap: .5rem; }
.gallery__thumbs button {
    border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent;
    aspect-ratio: 1; background: var(--paper-2); transition: border-color var(--t-fast);
}
.gallery__thumbs button.on { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main {
    border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2);
    aspect-ratio: 4 / 3; position: relative; cursor: zoom-in;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover;
                     transition: transform .5s var(--ease-out); }
/* A click zooms in where the cursor is. */
.gallery__main.zoom img { object-fit: cover; transform: scale(1.9);
                          transform-origin: var(--ox, 50%) var(--oy, 50%); }

/* Hover preview on product cards (mouse only): the whole photo in a pop-up beside the card. */
.peek {
    position: fixed; z-index: 120; pointer-events: none; width: min(380px, 34vw);
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-3); padding: .6rem; opacity: 0; transform: translateY(6px) scale(.98);
    transition: opacity .18s ease, transform .18s ease;
}
.peek.on { opacity: 1; transform: none; }
.peek img { display: block; width: 100%; max-height: 64vh; object-fit: contain;
            border-radius: var(--r-sm); background: var(--paper-2); }
.peek b { display: block; font-size: .85rem; font-weight: 650; margin: .5rem .2rem .1rem; }
@media (prefers-reduced-motion: reduce) { .peek { transition: none; transform: none; } }

.buy { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.buy h1 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); margin: .5rem 0 .6rem; }
.price-row { display: flex; align-items: baseline; gap: .75rem; margin: 1rem 0 1.3rem; }
.price-row b { font-size: 1.85rem; font-family: var(--serif); font-weight: 600; }
.price-row s { color: var(--ink-3); }
.price-row em { font-style: normal; background: color-mix(in oklab, var(--ok) 16%, transparent);
                color: var(--ok); font-size: .76rem; font-weight: 750; padding: .2rem .5rem;
                border-radius: var(--r-xs); }

.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: .7rem; margin: 1.4rem 0; }
.spec div { background: var(--paper-2); border-radius: var(--r-sm); padding: .7rem .8rem; }
.spec dt { font-size: .64rem; letter-spacing: .13em; text-transform: uppercase;
           color: var(--ink-3); font-weight: 700; }
.spec dd { margin: .15rem 0 0; font-size: .88rem; font-weight: 600; }

.sizes { display: flex; gap: .4rem; flex-wrap: wrap; margin: .6rem 0 1.2rem; }
.size-btn {
    min-width: 52px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
    font-weight: 650; font-size: .9rem; display: grid; place-items: center;
    transition: all var(--t-fast); position: relative; background: var(--card);
}
.size-btn:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); }
.size-btn.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-btn:disabled { opacity: .35; cursor: not-allowed; }
.size-btn:disabled::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top right, transparent 47%, var(--line-2) 47%,
                var(--line-2) 53%, transparent 53%);
}
.size-btn small { position: absolute; bottom: -2px; font-size: .55rem; color: var(--warn);
                  font-weight: 800; }
/* Wholesale: sizes are listed, not picked. */
.size-btn--show { cursor: default; }
.size-btn--show:hover { transform: none; border-color: var(--line-2); }
.size-btn--out { opacity: .35; }
.size-btn--out::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top right, transparent 47%, var(--line-2) 47%,
                var(--line-2) 53%, transparent 53%);
}

.acc { border-top: 1px solid var(--line); }
.acc summary {
    padding: 1rem 0; cursor: pointer; font-weight: 650; font-size: .93rem;
    display: flex; justify-content: space-between; align-items: center; list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--ink-3); font-size: 1.2rem;
                      transition: rotate var(--t); }
.acc[open] summary::after { rotate: 45deg; }
.acc__body { padding-bottom: 1.1rem; color: var(--ink-2); font-size: .9rem; }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
         gap: .6rem; margin-top: 1.3rem; }
.trust div { display: flex; gap: .55rem; align-items: flex-start; font-size: .78rem;
             color: var(--ink-2); }
.trust svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--accent); margin-top: 1px; }

/* --------------------------------------------------------------- cart ---- */
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(92vw, 430px); z-index: 140;
    background: var(--paper); box-shadow: var(--shadow-3); display: flex;
    flex-direction: column; translate: 100% 0; transition: translate var(--t-slow);
    visibility: hidden;
}
.drawer.open { translate: 0 0; visibility: visible; }
.scrim {
    position: fixed; inset: 0; z-index: 135; background: color-mix(in oklab, var(--ink) 45%, transparent);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
}
.scrim.open { opacity: 1; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center;
                padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.1rem 1.3rem; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.2rem 1.3rem;
                background: var(--card); }

.cart-line { display: grid; grid-template-columns: 74px 1fr auto; gap: .85rem;
             padding: .85rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 74px; height: 82px; object-fit: cover; border-radius: var(--r-sm);
                 background: var(--paper-2); }
.cart-line b { font-size: .88rem; font-weight: 650; display: block; line-height: 1.35; }
.cart-line small { color: var(--ink-3); font-size: .76rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2);
       border-radius: var(--r-pill); margin-top: .45rem; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; font-size: 1rem;
              color: var(--ink-2); }
.qty span { min-width: 26px; text-align: center; font-size: .84rem; font-weight: 700; }

.totals { display: grid; gap: .4rem; margin-bottom: 1rem; font-size: .88rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.1rem; font-weight: 750; padding-top: .5rem;
                 border-top: 1px solid var(--line); }
.freebar { height: 5px; border-radius: var(--r-pill); background: var(--paper-3);
           overflow: hidden; margin: .3rem 0 .8rem; }
.freebar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent),
             var(--accent-2)); transition: width var(--t-slow); }

/* -------------------------------------------------------------- forms ---- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em;
               text-transform: uppercase; color: var(--ink-3); margin-bottom: .38rem; }
.field input, .field textarea, .field select {
    width: 100%; padding: .8rem .95rem; border: 1px solid var(--line-2);
    border-radius: var(--r-sm); background: var(--card);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.hint { font-size: .76rem; color: var(--ink-3); margin-top: .3rem; }

.radio-cards { display: grid; gap: .55rem; }
.radio-cards label {
    display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem;
    border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.radio-cards label:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.radio-cards b { font-size: .88rem; display: block; }
.radio-cards small { color: var(--ink-3); font-size: .78rem; }

/* -------------------------------------------------------------- panel ---- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
         padding: clamp(1.2rem, 2.5vw, 2rem); }
.panel--flush { padding: 0; overflow: hidden; }
/* Text beside a row of product cards (home: monsoon). Phones stack it: side by side, the cards
   were 37px wide at 360px and their names spilled 16px past the screen. */
.panel--split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 760px) { .panel--split { grid-template-columns: 1fr; gap: 1.4rem; } }

.note { border-radius: var(--r-md); padding: 1rem 1.15rem; font-size: .87rem;
        border: 1px solid var(--line); background: var(--paper-2); }
.note--ok { border-color: color-mix(in oklab, var(--ok) 40%, transparent);
            background: color-mix(in oklab, var(--ok) 8%, transparent); }
.note--warn { border-color: color-mix(in oklab, var(--warn) 45%, transparent);
              background: color-mix(in oklab, var(--warn) 10%, transparent); }
.note--bad { border-color: color-mix(in oklab, var(--bad) 40%, transparent);
             background: color-mix(in oklab, var(--bad) 8%, transparent); }

/* ------------------------------------------------------------- tables ---- */
.table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.table th {
    text-align: left; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-3); font-weight: 750; padding: .7rem .8rem;
    border-bottom: 1px solid var(--line);
}
.table td { padding: .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: var(--paper-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; }

.badge {
    display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .55rem;
    border-radius: var(--r-pill); font-size: .7rem; font-weight: 700;
    background: var(--paper-3); color: var(--ink-2);
}
.badge--new { background: color-mix(in oklab, var(--accent) 15%, transparent); color: var(--accent); }
.badge--confirmed { background: color-mix(in oklab, oklch(65% .13 250) 18%, transparent);
                    color: oklch(52% .15 250); }
.badge--packed { background: color-mix(in oklab, var(--warn) 20%, transparent);
                 color: oklch(48% .12 75); }
.badge--shipped { background: color-mix(in oklab, oklch(70% .12 200) 20%, transparent);
                  color: oklch(45% .12 200); }
.badge--delivered { background: color-mix(in oklab, var(--ok) 16%, transparent); color: var(--ok); }
.badge--cancelled { background: color-mix(in oklab, var(--bad) 13%, transparent); color: var(--bad); }

/* ------------------------------------------------------------- social ---- */
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
        gap: clamp(.8rem, 1.6vw, 1.3rem); }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
        overflow: hidden; display: flex; flex-direction: column; }
.post__img { aspect-ratio: 1; background: var(--paper-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: .95rem 1.05rem; flex: 1; display: flex; flex-direction: column; }
.post__net { display: flex; align-items: center; gap: .4rem; font-size: .7rem;
             font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
             color: var(--ink-3); margin-bottom: .5rem; }
.post__caption { font-size: .88rem; margin-bottom: .7rem; }
.comment { border-top: 1px solid var(--line); padding-top: .65rem; margin-top: .65rem;
           font-size: .82rem; }
.comment b { font-weight: 700; }
.comment .reply {
    margin-top: .45rem; padding-left: .75rem; border-left: 2px solid var(--accent);
    color: var(--ink-2); font-size: .8rem;
}

/* -------------------------------------------------------------- about ---- */
.owner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 4rem);
         align-items: center; }
.owner__photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5;
                background: var(--paper-2); box-shadow: var(--shadow-3); position: relative; }
.owner__photo img { width: 100%; height: 100%; object-fit: cover; }
.owner__photo .initials {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--serif); font-size: 6rem; color: #fff;
    background: linear-gradient(150deg, var(--accent), var(--accent-2));
}
blockquote.quote {
    font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
    line-height: 1.28; margin: 0; padding-left: 1.4rem;
    border-left: 3px solid var(--accent); font-style: italic;
}
.timeline { border-left: 2px solid var(--line); padding-left: 1.6rem; }
.timeline li { list-style: none; padding-bottom: 1.6rem; position: relative; }
.timeline li::before {
    content: ""; position: absolute; left: calc(-1.6rem - 6px); top: .4rem;
    width: 11px; height: 11px; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 0 4px var(--paper);
}
.timeline b { display: block; font-family: var(--serif); font-size: 1.05rem; }

/* ------------------------------------------------------------- footer ---- */
.footer { background: var(--ink); color: color-mix(in oklab, var(--paper) 84%, transparent);
          padding-block: clamp(3rem, 6vw, 5rem) 2rem; margin-top: clamp(3rem, 7vw, 7rem); }
.footer h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .15em;
             text-transform: uppercase; color: color-mix(in oklab, var(--paper) 55%, transparent);
             margin-bottom: .9rem; font-weight: 750; }
.footer a { display: block; padding: .22rem 0; font-size: .87rem; transition: color var(--t-fast),
            translate var(--t-fast); }
.footer a:hover { color: #fff; translate: 3px 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
                  margin-top: 3rem; padding-top: 1.5rem; font-size: .78rem;
                  border-top: 1px solid #ffffff1f; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a {
    width: 38px; height: 38px; border-radius: var(--r-pill); display: grid; place-items: center;
    background: #ffffff14; transition: background var(--t-fast), transform var(--t-fast);
}
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: .4rem; margin-top: 1rem; }
.newsletter input {
    flex: 1; background: #ffffff14; border: 1px solid #ffffff26; border-radius: var(--r-pill);
    padding: .7rem 1rem; color: #fff; font-size: .85rem;
}
.newsletter input::placeholder { color: #ffffff7a; }

/* --------------------------------------------------------------- chat ---- */
.chat-fab {
    position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 100;
    width: 56px; height: 56px; border-radius: var(--r-pill);
    background: var(--ink); color: var(--paper); display: grid; place-items: center;
    box-shadow: var(--shadow-3); transition: transform var(--t), background var(--t);
}
.chat-fab:hover { transform: scale(1.07) rotate(-6deg); background: var(--accent); color: #fff; }
.chat-fab svg { width: 24px; height: 24px; }
.chat-panel {
    position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 145;
    width: min(92vw, 372px); max-height: min(76vh, 620px); background: var(--card);
    border-radius: var(--r-lg); box-shadow: var(--shadow-3); display: flex;
    flex-direction: column; overflow: hidden; transform-origin: bottom right;
    scale: .9; opacity: 0; visibility: hidden;
    transition: scale var(--t-slow), opacity var(--t), visibility var(--t);
}
.chat-panel.open { scale: 1; opacity: 1; visibility: visible; }
.chat-head { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
             padding: 1rem 1.15rem; display: flex; justify-content: space-between;
             align-items: center; }
.chat-head b { font-size: .96rem; }
.chat-head small { opacity: .85; font-size: .75rem; display: block; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column;
             gap: .55rem; background: var(--paper-2); min-height: 190px; }
.bubble { max-width: 82%; padding: .6rem .85rem; border-radius: var(--r-md); font-size: .86rem;
          line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.bubble--them { background: var(--card); border: 1px solid var(--line);
                border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble--me { background: var(--ink); color: var(--paper); border-bottom-right-radius: 5px;
              align-self: flex-end; }
.bubble time { display: block; font-size: .64rem; opacity: .55; margin-top: .25rem; }
.chat-foot { padding: .7rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.chat-foot input, .chat-foot textarea {
    width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-sm);
    padding: .6rem .8rem; font-size: .87rem; background: var(--paper);
}
.chat-foot textarea { min-height: 62px; resize: none; }

/* -------------------------------------------------------------- toast ---- */
.toasts { position: fixed; left: 50%; bottom: 1.4rem; translate: -50% 0; z-index: 200;
          display: grid; gap: .5rem; width: min(92vw, 420px); }
.toast {
    background: var(--ink); color: var(--paper); padding: .8rem 1.1rem;
    border-radius: var(--r-pill); font-size: .87rem; font-weight: 600;
    box-shadow: var(--shadow-3); display: flex; align-items: center; gap: .6rem;
    animation: pop .4s var(--ease-out) both;
}
.toast--bad { background: var(--bad); color: #fff; }
@keyframes pop { from { translate: 0 18px; opacity: 0; scale: .96; } }

/* ------------------------------------------------------------- reveal ---- */
.reveal { opacity: 0; translate: 0 22px; transition: opacity .75s var(--ease-out),
          translate .75s var(--ease-out); }
.reveal.in { opacity: 1; translate: 0 0; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* Progressive enhancement: browsers with scroll-driven animation get it for free. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .scroll-in {
            animation: rise linear both;
            animation-timeline: view();
            animation-range: entry 8% cover 26%;
        }
        @keyframes rise { from { opacity: 0; translate: 0 26px; } }
    }
}

::selection { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------- responsive --- */
/* The full link row only fits from about 1350px since the header got its language, palette and
   dark-mode buttons (21 Nov 2026); below that it pushed the icons up to 129px past the right edge
   (small laptops, tablets in landscape), so the menu button takes over there. */
@media (max-width: 1350px) {
    .nav__links { display: none; }
    .burger { display: grid; }
}
@media (max-width: 1080px) {
    .hero__grid { grid-template-columns: 1fr; }
    /* Everything inside .hero__art is absolutely positioned, so the box has
       no in-flow content. `margin-inline:auto` disables the grid item's
       stretch, which then collapsed it to 0x0 and took the hero image with
       it. Centre with justify-self and give it a real width instead. */
    .hero__art { width: min(100%, 520px); justify-self: center; aspect-ratio: 1/.9; }
    .hero__art--poster { aspect-ratio: 4 / 5; }
    .hero__art--poster .hero__badge--br { bottom: -10%; }
    .hero__badge--tl { left: 2%; } .hero__badge--br { right: 2%; }
    .hero__badge--tr, .hero__badge--bl { display: none; }
    .pdp { grid-template-columns: 1fr; }
    .buy { position: static; }
    .owner { grid-template-columns: 1fr; }
    .owner__photo { max-width: 380px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
    .bento a { min-height: 200px; }
    .bento a:nth-child(1) { grid-column: span 2; grid-row: span 1; min-height: 300px; }
    .bento a:nth-child(2), .bento a:nth-child(3),
    .bento a:nth-child(4), .bento a:nth-child(5) { grid-row: span 1; }
    .bento a:nth-child(6) { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 900px) {
    .nav__links { display: none; }
    .burger { display: grid; }
    .shop-layout { grid-template-columns: 1fr; }
    .filters {
        position: fixed; inset: 0; z-index: 140; background: var(--paper); max-height: none;
        padding: 1.2rem var(--gut) 6rem; overflow-y: auto; translate: 0 100%;
        transition: translate var(--t-slow); visibility: hidden;
    }
    .filters.open { translate: 0 0; visibility: visible; }
    .filters__close { display: flex !important; }
    .gallery { grid-template-columns: 1fr; }
    .gallery__thumbs { flex-direction: row; overflow-x: auto; order: 2; }
    .gallery__thumbs button { flex: 0 0 68px; }
}

@media (max-width: 640px) {
    :root { --nav-h: 60px; }
    body { padding-bottom: 68px; }
    /* minmax(0, 1fr): plain 1fr cannot shrink below its widest label, which made the bar 376px
       wide on a 360px phone and let the whole page scroll sideways. */
    .tabbar {
        display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed;
        left: 0; right: 0; bottom: 0; z-index: 95; background: var(--card);
        border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
    }
    .tabbar a {
        display: grid; place-items: center; gap: 2px; padding: .55rem 0; font-size: .62rem;
        font-weight: 650; color: var(--ink-3); position: relative; min-width: 0;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .tabbar a svg { width: 20px; height: 20px; }
    .tabbar a[aria-current] { color: var(--accent); }
    .chat-fab { bottom: 82px; }
    .chat-panel { bottom: 82px; }
    .toasts { bottom: 82px; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .field--row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .brand__tag { display: none; }
    .hero__badge { display: none; }
    .card__quick { display: none; }

    /* Keep the header on one line: the bag and menu must never be clipped. */
    .nav__bar { gap: .5rem; }
    .brand { min-width: 0; }
    .brand__name { font-size: 1.02rem; white-space: nowrap; overflow: hidden;
                   text-overflow: ellipsis; display: block; }
    .brand img, .brand__mark { width: 30px; height: 30px; }
    .icon-btn { width: 36px; height: 36px; }
    .nav__tools { gap: .1rem; }
    .nav__tools > a.icon-btn { display: none; }  /* order tracking lives in the menu */
    .snap { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory;
            margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
            scrollbar-width: none; }
    .snap::-webkit-scrollbar { display: none; }
    .snap > * { flex: 0 0 70%; scroll-snap-align: start; }
}

/* 1351-1500px laptops: eight menu links (Men added 21 Nov 2026) ran 32px past the edge at 1366px
   with the standard padding, so the links sit a little closer together there. */
@media (min-width: 1351px) and (max-width: 1500px) { .nav__link { padding-inline: .58rem; } }
/* Nine links (Latest added 21 Nov 2026) still ran up to 47px past the edge at 1351-1501px, so the
   small tagline under the shop name steps aside on laptops; wider screens keep it. */
@media (min-width: 1351px) and (max-width: 1600px) { .brand__tag { display: none; } }

/* 641-760px (large phones sideways, small tablets): with the tagline under the name the header
   was 85px wider than the screen. Phones already hide it below 640px. */
@media (max-width: 760px) { .brand__tag { display: none; } }

/* 360-389px phones: the brand and five 36px buttons were up to 41px wider than the bar, so the page
   scrolled sideways. The colour palette steps aside there (search, language, dark mode and the
   menu stay), and the shop name may shrink a little instead of pushing the menu off screen. */
@media (max-width: 389px) {
    [data-accent-btn] { display: none; }
    .brand { flex: 0 1 auto; }
    .brand__name { font-size: .95rem; }
}

@media print {
    .nav, .footer, .chat-fab, .tabbar, .announce, .drawer, .scrim { display: none !important; }
}

/* Multi-select filter chips. */
.chip__tick { font-size: .7rem; line-height: 1; }
.fgroup__n {
    display: inline-grid; place-items: center; min-width: 17px; height: 17px;
    padding: 0 4px; margin-left: .4rem; border-radius: var(--r-pill);
    background: var(--accent); color: #fff; font-size: .62rem; font-weight: 800;
}
.chip--clear { border-style: dashed; color: var(--ink-3); }

/* Contact hero -------------------------------------------------------------
   The heading only fills the left half, so the right carries a short card of
   what people ask before they type. The column ratio and gap deliberately
   match .contact-grid below, so this card lines up with the aside under it. */
.contact-head {
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}
.factcard {
    border: 1px solid var(--line);
    border-radius: calc(var(--r) + 4px);
    padding: .45rem 1.1rem;
    background:
        radial-gradient(130% 100% at 100% 0,
            color-mix(in oklch, var(--accent) 6%, transparent), transparent 60%),
        var(--card);
    box-shadow: 0 20px 46px -34px oklch(20% 0.05 45 / .5);
}
.fact {
    --tint: var(--accent);
    display: flex;
    gap: .95rem;
    align-items: center;
    padding: .95rem .4rem;
    border-radius: var(--r-sm);
    transition: background .18s ease;
}
.fact + .fact { border-top: 1px solid color-mix(in oklch, var(--line) 65%, transparent); }
.fact:hover { background: color-mix(in oklch, var(--tint) 5%, transparent); }

/* The badge is a <span> inside .fact, so `.fact span` (0,1,1) used to beat
   `.fact__ico` (0,1,0) and forced display:block and grey text on it. The
   description rules are scoped to .fact__txt now so they cannot reach it. */
.fact__ico {
    flex: none;
    width: 2.7rem; height: 2.7rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 13px;
    color: var(--tint);
    background: color-mix(in oklch, var(--tint) 13%, var(--card));
    box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--tint) 26%, transparent);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.fact__ico svg { display: block; width: 1.35rem; height: 1.35rem; }
.fact:hover .fact__ico {
    transform: translateY(-2px);
    background: color-mix(in oklch, var(--tint) 20%, var(--card));
    box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--tint) 40%, transparent),
                0 8px 18px -10px color-mix(in oklch, var(--tint) 55%, transparent);
}

.fact__txt { min-width: 0; }
.fact__txt b {
    display: block;
    font-family: var(--serif);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.25;
    margin-bottom: .1rem;
}
.fact__txt p {
    margin: 0;
    font-size: .845rem;
    line-height: 1.45;
    color: var(--ink-2);
}

@media (max-width: 900px) {
    .contact-head { grid-template-columns: 1fr; }
    .factcard { margin-top: .4rem; }
}

/* Numbered steps ("what happens after you send it") ------------------------ */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 1.05rem 2.6rem;
}
.steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 1.75rem; height: 1.75rem;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: .8rem; font-weight: 700;
    color: var(--accent);
    background: color-mix(in oklch, var(--accent) 12%, transparent);
}
/* The rail joins one step to the next, so it stops at the last one. */
.steps li:not(:last-child)::after {
    content: ""; position: absolute; left: .84rem; top: 2rem; bottom: .35rem;
    width: 1px; background: var(--line);
}
.steps li:last-child { padding-bottom: 0; }
.steps b { display: block; font-size: .93rem; margin-bottom: .15rem; }
.steps span { display: block; font-size: .85rem; line-height: 1.55; color: var(--ink-3); }

/* Quick links as chips ----------------------------------------------------- */
.linkchips { display: flex; flex-wrap: wrap; gap: .45rem; }
.linkchips a {
    padding: .42rem .8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .84rem;
    color: var(--ink-2);
    transition: border-color .15s, color .15s, background .15s;
}
.linkchips a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in oklch, var(--accent) 7%, transparent);
}

/* Full-width browse strip that closes the contact page --------------------- */
.browsestrip {
    display: flex; flex-wrap: wrap; gap: 1rem 2rem;
    align-items: center; justify-content: space-between;
    margin-top: 1rem;
}

/* Links inside a step read as links, not as body copy. */
.steps a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.steps a:hover { color: var(--accent-2); }

/* Owner login sits at the foot of the mobile menu, set apart from the shop
   links since it is not a customer destination. */
.m-link--login { border-bottom: 0; margin-top: .6rem; color: var(--accent); }
.m-link--login span { display: inline-flex; align-items: center; gap: .55rem; }
.m-link--login svg { width: 1.3rem; height: 1.3rem; }

/* ------------------------------------------------------- picture fit --- */
/* 21 Nov 2026 (Mohsin: the photo fills its whole box, edge to edge, so it looks real; the shoes must
   stay in view). Product boxes are 4:3, the shape of the catalogue photos, so a photo fills its box with
   nothing cut. Where a box has another shape (home tiles, an upload of any shape), site.js finds where
   the shoes sit in the photo and slides the photo so the shoes stay in the middle of the box. */
[data-fit] > img { object-fit: cover; }
