/* ==========================================================================
   Skywalk Denim — site styles
   Palette taken from the material itself: raw indigo, rinse wash, bleached
   fade, and the red line of the selvedge edge (the only accent colour).
   ========================================================================== */

/* Archivo variable font (SIL Open Font License, see assets/fonts/OFL.txt).
   Self-hosted: no request to Google, faster and KVKK-friendly. */
@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-variable.woff") format("woff");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-style: normal;
    font-display: swap;
}

:root {
    --indigo: #1b2440;        /* raw denim */
    --indigo-deep: #121933;   /* footer, overlays */
    --rinse: #34507f;         /* rinse wash, links & hover */
    --fade: #dfe5ed;          /* bleached denim, section backgrounds */
    --fade-soft: #f1f4f7;
    --paper: #ffffff;
    --ink: #141a2b;
    --ink-soft: #4a5368;
    --line: #d3d9e2;
    --selvedge: #b3302a;      /* the red ID line on selvedge denim */
    --wa: #1f8f4e;            /* WhatsApp actions, darkened for contrast */

    --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --wrap: 1320px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(56px, 8vw, 112px);
    --radius: 2px;

    --step--1: 0.875rem;
    --step-0: 1rem;
    --step-1: 1.25rem;
    --step-2: 1.6rem;
    --step-3: clamp(2rem, 3.2vw, 2.6rem);
    --step-4: clamp(2.6rem, 6vw, 4.6rem);
    --step-5: clamp(3rem, 8.5vw, 7.2rem);
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    font-variation-settings: "wdth" 100;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--rinse); text-underline-offset: 0.18em; }
a:hover { color: var(--indigo); }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
    outline: 3px solid var(--selvedge);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: 10px 16px; background: var(--paper); color: var(--indigo); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }

/* Condensed display type: the workwear-label voice of the site */
.section-title,
.page-title,
.hero__title,
.intro__title,
.wholesale-cta__title,
.product__title,
.card__title,
.collection-tile__name,
.wordmark,
.not-found__code {
    font-variation-settings: "wdth" 68;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    line-height: 0.95;
}

.section-title { font-size: var(--step-3); color: var(--indigo); }
.muted { color: var(--ink-soft); }

.text-link {
    display: inline-block; font-weight: 600; color: var(--indigo); text-decoration: underline;
    text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
.text-link:hover { color: var(--selvedge); }

.prose p + p, .prose p + h2, .prose h2 + p { margin-top: 1em; }
.prose h2 { font-size: var(--step-1); font-weight: 700; color: var(--indigo); margin-top: 1.6em; }
.prose { max-width: 68ch; }

/* ---------- The selvedge edge ---------- */
/* White woven band with the red identification line through its middle. */
.selvedge {
    height: 9px;
    background:
        linear-gradient(to bottom,
            transparent 0, transparent 3px,
            var(--selvedge) 3px, var(--selvedge) 6px,
            transparent 6px),
        repeating-linear-gradient(90deg, #ffffff 0 3px, #eef1f5 3px 4px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.selvedge--dark {
    background:
        linear-gradient(to bottom,
            transparent 0, transparent 3px,
            var(--selvedge) 3px, var(--selvedge) 6px,
            transparent 6px),
        repeating-linear-gradient(90deg, #e9edf2 0 3px, #d6dce5 3px 4px);
    border-color: var(--indigo-deep);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
    min-height: 48px; padding: 0.7em 1.4em;
    border: 2px solid transparent; border-radius: var(--radius);
    font-weight: 700; font-size: var(--step-0); line-height: 1.2; text-decoration: none;
    font-variation-settings: "wdth" 88;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { width: 1.2em; height: 1.2em; flex: none; }
.btn--block { width: 100%; }
.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { background: var(--rinse); color: #fff; }
.btn--light { background: #fff; color: var(--indigo); }
.btn--light:hover { background: var(--fade); color: var(--indigo); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17733e; color: #fff; }
.btn--outline { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--outline:hover { background: var(--indigo); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--indigo); }

.icon { width: 24px; height: 24px; }

.icon-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border: 1.5px solid var(--indigo); border-radius: 50%;
    background: transparent; color: var(--indigo);
}
.icon-btn:hover { background: var(--indigo); color: #fff; }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--indigo); }
.icon-btn--light { border-color: rgba(255,255,255,.75); color: #fff; }
.icon-btn--light:hover { background: #fff; color: var(--indigo); }

/* ---------- Top bar & header ---------- */

.topbar { background: var(--indigo-deep); color: #d9dfea; font-size: var(--step--1); }
.topbar__inner { display: flex; justify-content: center; gap: 0.75em; padding-block: 8px; flex-wrap: wrap; text-align: center; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.logo { display: inline-flex; color: var(--indigo); text-decoration: none; flex: none; }
.logo:hover { color: var(--indigo); }
.logo img { height: 52px; width: auto; }
.site-footer .logo img { height: 60px; }
.logo--light { color: #fff; }
.logo--light:hover { color: #fff; }

.wordmark { display: inline-flex; align-items: baseline; gap: 0.3em; }
.wordmark__main { font-size: 1.85rem; font-variation-settings: "wdth" 62; font-weight: 900; letter-spacing: 0.02em; }
.wordmark__sub {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.32em;
    font-variation-settings: "wdth" 125; padding-left: 0.4em; border-left: 3px solid var(--selvedge);
}

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.main-nav__list a {
    display: block; padding-block: 8px; color: var(--ink); text-decoration: none;
    font-weight: 600; font-size: 0.95rem; white-space: nowrap; border-bottom: 2px solid transparent;
}
.main-nav__list a:hover { color: var(--rinse); }
.main-nav__list a.is-active { border-bottom-color: var(--selvedge); color: var(--indigo); }
.main-nav__mobile-extra { display: none; }

.site-header__tools { display: flex; align-items: center; gap: 12px; }

.lang { display: flex; border: 1.5px solid var(--indigo); border-radius: var(--radius); overflow: hidden; }
.lang a {
    padding: 6px 10px; font-size: 0.8rem; font-weight: 700; color: var(--indigo); text-decoration: none;
    font-variation-settings: "wdth" 110; letter-spacing: 0.06em;
}
.lang a[aria-current="true"] { background: var(--indigo); color: #fff; }
.lang a:not([aria-current]):hover { background: var(--fade); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: var(--indigo); content: "";
    transition: transform .2s, top .2s, opacity .2s;
}
.menu-toggle__bars { top: 21px; }
.menu-toggle__bars::before { left: 0; top: -8px; }
.menu-toggle__bars::after { left: 0; top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1160px) {
    .menu-toggle { display: inline-block; }
    .site-header__tools { margin-left: auto; }
    .main-nav {
        position: fixed; inset: var(--header-h, 120px) 0 0 0; z-index: 49;
        background: var(--paper); padding: 24px var(--gutter) 40px; overflow-y: auto;
        display: none; margin: 0; border-top: 1px solid var(--line);
    }
    .main-nav.is-open { display: block; }
    .main-nav__list { flex-direction: column; gap: 0; }
    .main-nav__list a {
        padding-block: 16px; border-bottom: 1px solid var(--line);
        font-size: var(--step-2); font-variation-settings: "wdth" 70; font-weight: 800; text-transform: uppercase;
    }
    .main-nav__list a.is-active { border-bottom-color: var(--line); color: var(--selvedge); }
    .main-nav__mobile-extra { display: block; margin-top: 28px; }
    body.nav-open { overflow: hidden; }
}

/* ---------- Hero ----------
   Split composition: a raw-indigo "label" panel with the headline on the left,
   the campaign photo on the right, and a strip of new-season styles that
   overlaps the bottom edge. Every slide is its own two-column grid; slides
   stack in one grid cell and cross-fade. */

.hero {
    position: relative; background: var(--indigo); color: #fff; overflow: hidden; isolation: isolate;
    /* text block sits in the middle of the indigo half (left column = 1 / 2.08 of the width) */
    --hero-text-left: max(var(--gutter), calc((100vw / 2.08 - 34rem) / 2));
}
/* faint twill texture on the indigo panel */
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 7px);
}
.hero__slides { display: grid; }
.hero__slide {
    grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    min-height: clamp(600px, calc(100vh - 124px), 820px); min-height: clamp(600px, calc(100svh - 124px), 820px); visibility: hidden; opacity: 0;
    transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero__slide.is-active { visibility: visible; opacity: 1; transition: opacity .9s ease, visibility 0s; }

.hero__media { position: relative; overflow: hidden; order: 2; background: var(--indigo-deep); }
.hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 62% 35%; }
/* selvedge seam where photo meets the indigo panel */
.hero__media::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; width: 9px;
    background: linear-gradient(90deg, transparent 0 3px, var(--selvedge) 3px 6px, transparent 6px),
                repeating-linear-gradient(0deg, #fff 0 3px, #e8ecf2 3px 4px);
}
.hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(18,25,51,.55) 0%, rgba(18,25,51,0) 38%);
}

.hero__content {
    position: relative; z-index: 1; order: 1; display: flex; flex-direction: column; justify-content: center;
    padding: 72px clamp(24px, 4vw, 48px) 150px var(--hero-text-left);
}
.hero__kicker {
    display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
    font-size: var(--step--1); font-weight: 600; color: #b9c4d8; letter-spacing: .02em;
}
.hero__kicker::before { content: ""; width: 38px; height: 0; border-top: 3px dashed var(--selvedge); }
.hero__title { font-size: clamp(3rem, 5.4vw, 5.8rem); max-width: 12ch; text-wrap: balance; }
.hero__text { margin-top: 24px; max-width: 40ch; font-size: var(--step-1); line-height: 1.5; color: #d5dce8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__nav {
    position: absolute; z-index: 3; bottom: 64px; display: flex; align-items: center; gap: 22px;
    left: var(--hero-text-left);
}
.hero__count { font-variation-settings: "wdth" 70; font-weight: 800; font-size: 1.1rem; color: #b9c4d8; min-width: 4.5em; }
.hero__count b { color: #fff; font-size: 1.6rem; }
.hero__dots { display: flex; gap: 6px; }
.hero__dot { width: 40px; height: 44px; border: 0; padding: 0; background: transparent; position: relative; }
.hero__dot::before {
    content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; transform: translateY(-50%);
    background: rgba(255,255,255,.3);
}
.hero__dot::after {
    content: ""; position: absolute; left: 4px; top: 50%; height: 3px; width: 0; transform: translateY(-50%);
    background: var(--selvedge);
}
.hero__dot[aria-current="true"]::after { width: calc(100% - 8px); transition: width 6.5s linear; }
.hero__arrows { display: flex; gap: 10px; }

/* New-season strip overlapping the photo */
.hero__featured {
    position: absolute; z-index: 4; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: 0;
    width: min(620px, 48vw); background: var(--paper); color: var(--ink);
    box-shadow: 0 -20px 50px -25px rgba(0,0,0,.45);
}
.hero__featured-head {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding: 14px 18px 0; font-size: var(--step--1); font-weight: 700; color: var(--ink-soft);
}
.hero__featured-head a { color: var(--indigo); font-weight: 700; }
.hero__featured-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 12px 18px 18px; list-style: none; margin: 0; }
.mini {
    display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 6px 10px 6px 0;
    text-decoration: none; color: var(--ink);
}
.mini + .mini, .hero__featured-list li + li .mini { border-left: 1px solid var(--line); padding-left: 12px; }
.mini__img { display: block; width: 56px; height: 84px; overflow: hidden; background: var(--fade); }
.mini__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; transform: scale(1.7); transform-origin: 50% 72%; transition: transform .5s ease; }
.mini:hover .mini__img img { transform: scale(1.85); }
.mini__name { display: block; font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase; font-size: 1.15rem; line-height: 1; color: var(--indigo); }
.mini__meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .8rem; color: var(--ink-soft); }
.mini:hover .mini__name { color: var(--selvedge); }

/* ---------- Intro ---------- */

.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__title { font-size: var(--step-4); color: var(--indigo); }
.intro__text { font-size: var(--step-1); line-height: 1.55; max-width: 46ch; }
.intro__body > * + * { margin-top: 32px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--indigo); }
.facts__item { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 0 0; }
.facts dd { order: -1; }
.facts__item + .facts__item { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dd {
    font-size: var(--step-3); font-weight: 800; color: var(--indigo); line-height: 1;
    font-variation-settings: "wdth" 68;
}
.facts dt { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.35; }

/* ---------- Product rails & cards ---------- */

.rail { padding-block: clamp(48px, 6vw, 88px); }
.rail + .rail { padding-top: 0; }
.rail__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.rail__controls { display: flex; align-items: center; gap: 10px; }
.rail__controls .text-link { margin-right: 10px; }
.rail__frame { overflow: hidden; }
.rail__track {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; }
@media (max-width: 1080px) {
    .rail__frame { max-width: none; padding-inline: 0; overflow: visible; }
    .rail__track {
        grid-auto-columns: calc((100vw - 2 * var(--gutter) - 2 * 16px) / 2.6); gap: 16px;
        padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    }
}
@media (max-width: 600px)  { .rail__track { grid-auto-columns: 72vw; } }

.card { position: relative; }
.card__media { display: block; position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--fade); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
@media (hover: hover) { .card:hover .card__alt { opacity: 1; } }
.card__body { padding-top: 14px; }
.card__title { font-size: var(--step-2); }
.card__title a { color: var(--indigo); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card__title a:hover { color: var(--selvedge); }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 3px solid var(--selvedge); outline-offset: 4px; }
.card__meta { margin-top: 6px; font-size: var(--step--1); color: var(--ink-soft); display: flex; gap: 10px; }
.card__sizes { color: var(--ink); font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } }

/* ---------- Wholesale CTA band ---------- */

.wholesale-cta { background: var(--indigo); color: #e3e8f0; }
.wholesale-cta__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding-block: clamp(40px, 5vw, 64px); flex-wrap: wrap;
}
.wholesale-cta__title { font-size: var(--step-3); color: #fff; max-width: 28ch; margin-bottom: 10px; }
.wholesale-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Collections ---------- */

.collections .section-title { margin-bottom: 28px; }
.collections__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.collection-tile {
    position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; color: #fff; text-decoration: none;
    background: var(--indigo);
}
.collection-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collection-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,25,51,.85), rgba(18,25,51,0) 60%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .collection-tile:hover img { transform: scale(1.04); } }
.collection-tile__label { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; }
.collection-tile__name { display: block; font-size: var(--step-4); }
.collection-tile__desc { display: block; margin-top: 8px; max-width: 44ch; color: #dfe5ed; font-size: var(--step--1); }
.collection-tile:hover { color: #fff; }

/* ---------- Facility / split section ---------- */

.facility { display: grid; grid-template-columns: 1fr 1fr; background: var(--fade); }
.facility__media { min-height: 420px; position: relative; }
.facility__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facility__body {
    padding: clamp(40px, 6vw, 96px) var(--gutter); max-width: 640px;
    display: flex; flex-direction: column; gap: 20px; align-items: flex-start; justify-content: center;
}
.facility--flip .facility__media { order: 2; }
/* keep the text column on the same edge as the rest of the page */
@media (min-width: 961px) {
    .facility__body { max-width: none; padding-left: clamp(40px, 5vw, 88px); padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
    .facility--flip .facility__body { padding-right: clamp(40px, 5vw, 88px); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
}
.facility__location { font-weight: 700; color: var(--indigo); }
.brands { width: 100%; border-top: 1px solid #b9c3d2; padding-top: 18px; }
.brands__label { font-size: var(--step--1); color: var(--ink-soft); }
.brands__list { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 8px; }
.brands__list li {
    font-size: var(--step-1); font-weight: 700; color: var(--indigo);
    font-variation-settings: "wdth" 80;
}

.values { display: grid; gap: 22px; width: 100%; }
.values div { border-left: 3px solid var(--selvedge); padding-left: 16px; }
.values dt { font-weight: 800; font-size: var(--step-1); color: var(--indigo); font-variation-settings: "wdth" 80; }
.values dd { color: var(--ink-soft); }

/* ---------- Page header & breadcrumbs ---------- */

.page-header { background: var(--fade); padding-block: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.page-title { font-size: var(--step-4); color: var(--indigo); max-width: 18ch; }
.page-lead { margin-top: 20px; max-width: 60ch; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 22px; list-style: none; font-size: var(--step--1); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: #8a94a8; }
.crumbs a { color: var(--ink-soft); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs--product ol { margin: 24px 0; }

.result-count { color: var(--ink-soft); margin-bottom: 24px; font-size: var(--step--1); }
.empty { padding: 40px 0; max-width: 52ch; }
.catalog-download { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 32px; }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }

/* ---------- Product page ---------- */

.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery { display: grid; gap: 12px; }
.gallery__main { background: var(--fade); aspect-ratio: 2 / 3; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.gallery__thumb { padding: 0; border: 2px solid transparent; background: var(--fade); aspect-ratio: 2 / 3; overflow: hidden; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current="true"] { border-color: var(--selvedge); }

.product__info { position: sticky; top: 110px; display: grid; gap: 26px; }
.product__category a { color: var(--ink-soft); font-size: var(--step--1); }
.product__title { font-size: var(--step-5); color: var(--indigo); margin-top: -12px; }
.product__price { font-weight: 600; color: var(--ink-soft); }
.product__label { font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.product__actions { display: grid; gap: 10px; }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes li {
    min-width: 52px; padding: 10px 12px; text-align: center; border: 1.5px solid var(--indigo);
    font-weight: 700; color: var(--indigo); font-variation-settings: "wdth" 85;
}

.specs { display: grid; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-soft); }
.specs dd { font-weight: 600; }

/* ---------- Private label steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; counter-reset: step; }
.steps__item { counter-increment: step; border-top: 2px solid var(--indigo); padding-top: 18px; }
.steps__item::before {
    content: counter(step); display: block; font-size: var(--step-4); font-weight: 900; line-height: 1;
    color: var(--selvedge); font-variation-settings: "wdth" 62; margin-bottom: 12px;
}
.steps__title { font-size: var(--step-1); color: var(--indigo); margin-bottom: 8px; }
.steps p { color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 96px); }
.about__lead {
    font-size: var(--step-2); line-height: 1.3; font-weight: 600; color: var(--indigo);
    font-variation-settings: "wdth" 85;
}

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__info { display: grid; gap: 28px; }
.contact__block { border-top: 2px solid var(--indigo); padding-top: 14px; }
.contact__label { font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.contact__block a { color: var(--ink); font-weight: 600; }
.contact__buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.contact__buttons .btn { color: #fff; }
.contact__buttons .btn--outline { color: var(--indigo); }
.contact__buttons .btn--outline:hover { color: #fff; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Forms ---------- */

.form-section { background: var(--fade-soft); }
.form-block__title { font-size: var(--step-2); font-weight: 800; color: var(--indigo); font-variation-settings: "wdth" 75; }
.form-block__text { margin-top: 8px; color: var(--ink-soft); }
.form-block .notice, .form-grid { margin-top: 24px; }
.form-block--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 32px clamp(40px, 7vw, 112px); align-items: start; }
.form-block--split .form-block__intro { position: sticky; top: 110px; }
.form-block--split .form-block__main > :first-child { margin-top: 0; }
.form-block__contact { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.form-block__contact li { display: grid; gap: 2px; }
.form-block__contact li + li { border-top: 1px solid #c9d1dd; padding-top: 14px; }
.form-block__contact span { font-size: var(--step--1); color: var(--ink-soft); }
.form-block__contact a:not(.btn) { font-weight: 700; color: var(--indigo); }
.form-block__contact .btn { justify-self: start; }
@media (max-width: 960px) {
    .form-block--split { grid-template-columns: 1fr; }
    .form-block--split .form-block__intro { position: static; }
    .form-block__contact { display: none; }
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field__optional { font-weight: 400; color: var(--ink-soft); margin-left: 6px; font-size: var(--step--1); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea,
.newsletter input {
    width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink);
    background: var(--paper); border: 1.5px solid #9aa5b8; border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible, .newsletter input:focus-visible { outline-offset: 0; border-color: var(--indigo); }
.has-error input, .has-error textarea, [aria-invalid="true"] { border-color: var(--selvedge) !important; }
.field-error { color: var(--selvedge); font-size: var(--step--1); font-weight: 600; }

.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 4px 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--indigo); }
.field--check label { font-weight: 400; font-size: var(--step--1); line-height: 1.5; }
.field--check .field-error { grid-column: 2; }
.form-actions { margin-top: 6px; }

.notice { padding: 14px 16px; border-left: 4px solid; font-weight: 600; }
.notice--ok { background: #e6f3ec; border-color: var(--wa); color: #14532d; }
.notice--error { background: #f8e7e6; border-color: var(--selvedge); color: #7a1f1a; }

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--indigo-deep); color: #c3cbda; margin-top: 0; }
.site-footer a { color: #e6eaf1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.newsletter { background: var(--indigo); }
.newsletter__inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
    padding-block: clamp(36px, 5vw, 56px);
}
.newsletter__title { font-size: var(--step-2); color: #fff; font-weight: 800; font-variation-settings: "wdth" 75; }
.newsletter__row { display: flex; gap: 10px; }
.newsletter__row .btn { white-space: nowrap; }
.newsletter input { border-color: transparent; }
.newsletter .field-error { color: #ffb4ae; margin-top: 8px; }
.newsletter .notice--ok { background: rgba(255,255,255,.1); color: #fff; }

.site-footer__grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px;
    padding-block: clamp(48px, 6vw, 80px) 40px;
}
.site-footer__brand p { margin-top: 12px; font-size: var(--step--1); }
.site-footer__heading { font-size: var(--step--1); font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul:not(.social) li + li { margin-top: 8px; }
.site-footer address { font-size: 0.95rem; line-height: 1.6; }
.site-footer address strong { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
}
.social a:hover { background: #fff; color: var(--indigo); }
.social .icon { width: 20px; height: 20px; }
.site-footer__bottom { font-size: var(--step--1); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; }
.site-footer__bottom p { margin: 0; }
.site-footer__credit { opacity: .75; }
.site-footer__credit a { color: inherit; text-decoration: none; }
.site-footer__credit a:hover, .site-footer__credit a:focus-visible { text-decoration: underline; opacity: 1; }

/* ---------- Floating WhatsApp ---------- */

.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 40;
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(18,25,51,.3);
}
.wa-float:hover { color: #fff; background: #17733e; }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- 404 ---------- */

.not-found { text-align: left; }
.not-found__code { font-size: clamp(6rem, 18vw, 12rem); color: var(--fade); line-height: .8; margin-bottom: 12px; }
.not-found__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Responsive layout changes ---------- */

@media (max-width: 960px) {
    .hero__slide { grid-template-columns: 1fr; grid-template-rows: 56vh auto; min-height: 0; }
    .hero__media { order: 0; }
    .hero__media::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 9px;
        background: linear-gradient(0deg, transparent 0 3px, var(--selvedge) 3px 6px, transparent 6px),
                    repeating-linear-gradient(90deg, #fff 0 3px, #e8ecf2 3px 4px); }
    .hero__content { padding: 34px var(--gutter) 28px; }
    .hero__nav { position: relative; bottom: auto; left: auto; padding: 0 var(--gutter) 26px; gap: 14px; }
    .hero__count { min-width: 0; }
    .hero__featured { position: relative; right: auto; width: auto; margin: 0; box-shadow: none; border-top: 3px solid var(--selvedge); }
    .hero__featured-list { overflow-x: auto; grid-template-columns: repeat(3, minmax(190px, 1fr)); }
    .intro__grid, .about, .contact, .product, .newsletter__inner { grid-template-columns: 1fr; }
    .facility { grid-template-columns: 1fr; }
    .facility--flip .facility__media { order: 0; }
    .facility__media { min-height: 0; aspect-ratio: 4 / 3; }
    .product__info { position: static; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .hero__actions .btn { flex: 1 1 100%; }
    .collections__grid { grid-template-columns: 1fr; }
    .collection-tile__label { left: 18px; right: 18px; bottom: 18px; }
    .facts { grid-template-columns: 1fr; }
    .facts__item + .facts__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .facts__item { flex-direction: row; align-items: baseline; gap: 14px; padding: 14px 0; }
    .facts dd { min-width: 3.2em; }
    .rail__controls .icon-btn { display: none; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .newsletter__row { flex-direction: column; }
    .topbar span { display: none; }
    .wordmark__main { font-size: 1.6rem; }
    .logo img { height: 44px; }
    .lang a { padding: 6px 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
    .topbar, .site-header, .site-footer, .wa-float, .hero__nav, .rail__controls { display: none !important; }
}

/* ==========================================================================
   Video band
   ========================================================================== */

.video-band { padding-block: clamp(56px, 7vw, 104px); background: var(--fade-soft); }
.video-band--dark { background: var(--indigo-deep); color: #c9d1df; }
.video-band__title { margin-bottom: 28px; }
.video-band--dark .video-band__title { color: #fff; }
.video-band__frame {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.video-band__frame iframe, .video-band__poster {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
}
.video-band__frame iframe { opacity: 0; transition: opacity .8s ease; }
.video-band__frame.is-playing iframe { opacity: 1; }
.video-band__play {
    position: absolute; left: 50%; top: 50%; z-index: 2; width: 84px; height: 84px; margin: -42px 0 0 -42px;
    border: 2px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(18,25,51,.55);
    color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px);
    transition: transform .25s ease, background-color .25s ease;
}
.video-band__play svg { width: 34px; height: 34px; margin-left: 4px; }
.video-band__play:hover { transform: scale(1.08); background: var(--selvedge); border-color: var(--selvedge); }
.video-band__frame.is-playing .video-band__play { opacity: 0; pointer-events: none; }
.video-band__caption { margin-top: 14px; font-size: var(--step--1); }
.video-band--dark .video-band__caption { color: #9fabc0; }

/* ==========================================================================
   Marquee band
   ========================================================================== */

.marquee {
    background: var(--indigo); color: #fff; overflow: hidden; white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,.08); border-bottom: 3px solid var(--selvedge);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee__group li {
    padding: 18px 0; font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 800; text-transform: uppercase;
    font-variation-settings: "wdth" 68; letter-spacing: .02em; display: flex; align-items: center;
}
/* a stitch between statements */
.marquee__group li::after {
    content: ""; display: inline-block; width: 34px; height: 0; margin: 0 28px;
    border-top: 3px dashed var(--selvedge);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Motion (only when JavaScript runs and the visitor allows motion)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
    /* Hero: slow zoom on the active photo, text rises in on each slide */
    .hero__slide.is-active img { animation: kenburns 9s ease-out both; }
    @keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

    .js .hero__slide .hero__title,
    .js .hero__slide .hero__text,
    .js .hero__slide .hero__actions { opacity: 0; transform: translateY(40px); }
    .js .hero__slide.is-active .hero__title { animation: rise .9s cubic-bezier(.2,.7,.2,1) .15s both; }
    .js .hero__slide.is-active .hero__text { animation: rise .9s cubic-bezier(.2,.7,.2,1) .35s both; }
    .js .hero__slide.is-active .hero__actions { animation: rise .9s cubic-bezier(.2,.7,.2,1) .5s both; }
    @keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

    /* Scroll reveal */
    .js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0s); }
    .js .reveal.is-visible { opacity: 1; transform: none; }
    .js .reveal--zoom { transform: scale(.94); }
    .js .reveal--zoom.is-visible { transform: none; }

    /* Section titles: the selvedge line draws in under the heading */
    .section-title { position: relative; }
    .section-title::after {
        content: ""; display: block; width: 0; height: 4px; margin-top: 14px; background: var(--selvedge);
        transition: width 1s cubic-bezier(.2,.7,.2,1) .25s;
    }
    .section-title.is-visible::after, html:not(.js) .section-title::after { width: 64px; }

    /* Cards and tiles */
    .card__media img:first-child { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
    .card:hover .card__media img:first-child { transform: scale(1.05); }
    .collection-tile__label { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
    .collection-tile:hover .collection-tile__label { transform: translateY(-8px); }

    /* Buttons: a light sweep on hover */
    .btn { position: relative; overflow: hidden; }
    .btn::after {
        content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
        background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
        transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
    }
    .btn:hover::after { left: 120%; }

    /* Parallax photo in split sections */
    .facility__media { overflow: hidden; }
    .facility__media img { transform: translateY(var(--parallax, 0px)) scale(1.12); will-change: transform; }
}

/* Header gets compact with a shadow after scrolling */
.site-header { transition: box-shadow .3s ease; }
.site-header__inner { transition: min-height .3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(18,25,51,.45); }
.site-header.is-scrolled .site-header__inner { min-height: 64px; }
.site-header .logo img { transition: height .3s ease; }
.site-header.is-scrolled .logo img { height: 44px; }

/* Scroll progress line in the selvedge red */
.scroll-progress {
    position: fixed; top: 0; left: 0; z-index: 60; height: 3px; width: 100%;
    background: var(--selvedge); transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; }
}

/* Colour swatch */
.swatch { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.swatch__dot {
    width: 12px; height: 12px; border-radius: 50%; background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 2px #fff, 0 0 0 3px var(--line); flex: none;
}

/* ==========================================================================
   Product cards (refined)
   ========================================================================== */

.card__media::after { /* soft floor under studio shots */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
    background: linear-gradient(0deg, rgba(27,36,64,.10), transparent); pointer-events: none;
}
.card__badge {
    position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 9px;
    background: var(--paper); color: var(--indigo); font-size: .72rem; font-weight: 700;
    border-left: 3px solid var(--selvedge); box-shadow: 0 4px 14px -6px rgba(18,25,51,.35);
}
.card__view {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; padding: 11px;
    background: var(--indigo); color: #fff; text-align: center; font-weight: 700; font-size: .9rem;
    font-variation-settings: "wdth" 88; opacity: 0; transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
}
@media (hover: hover) { .card:hover .card__view { opacity: 1; transform: none; } }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card__row .swatch { font-size: .78rem; color: var(--ink-soft); }
.card__meta { flex-wrap: wrap; gap: 4px 0; }
.card__meta > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 8px 3px; border-radius: 50%; background: #9aa5b8; vertical-align: middle; }

/* Filters */
.grid-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.grid-toolbar .result-count { margin: 0; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.grid-toolbar .filters { margin: 0; }
.filters-wrap { display: grid; gap: 10px; margin-bottom: 24px; }
.grid-toolbar .filters-wrap { margin: 0; order: -1; flex: 1 1 100%; }
.filters__label { font-size: var(--step--1); color: var(--ink-soft); margin-right: 4px; min-width: 4.5em; font-weight: 600; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
    border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
    font-size: .9rem; font-weight: 600; color: var(--ink); transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--indigo); }
.chip.is-active { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.chip.is-active .swatch__dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.2), 0 0 0 2px var(--indigo), 0 0 0 3px #fff; }
.chip__count { font-size: .75rem; opacity: .65; font-weight: 700; }
.card.is-filtered-out { display: none; }
.card.is-filtered-in { animation: cardin .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.filters__empty { padding: 24px 0; color: var(--ink-soft); }
@media (max-width: 640px) {
    .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
    .filters::-webkit-scrollbar { display: none; }
    .chip { flex: none; }
    .filters__label { min-width: 0; white-space: nowrap; }
    .filters > * { flex-shrink: 0; }
}

/* ==========================================================================
   Product page (refined)
   ========================================================================== */

.gallery__main { position: relative; cursor: zoom-in; }
.gallery__main img { transition: transform .25s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__main.is-zooming img:not([hidden]) { transform: scale(2.1); }
.gallery__hint, .gallery__index {
    position: absolute; z-index: 2; bottom: 14px; padding: 6px 10px; font-size: .75rem; font-weight: 600;
    background: rgba(255,255,255,.92); color: var(--indigo); pointer-events: none; transition: opacity .25s;
}
.gallery__hint { left: 14px; }
.gallery__index { right: 14px; font-variation-settings: "wdth" 80; }
.gallery__index b { font-size: .9rem; }
.gallery__main.is-zooming .gallery__hint, .gallery__main.is-zooming .gallery__index { opacity: 0; }
@media (hover: none) { .gallery__hint { display: none; } .gallery__main { cursor: default; } }
.gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
.gallery__thumb { opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery__thumb:hover, .gallery__thumb[aria-current="true"] { opacity: 1; }

.product__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: -8px; }
.product__tags .swatch { font-weight: 700; color: var(--indigo); margin-right: 4px; }
.tag { padding: 5px 10px; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-soft); background: var(--fade-soft); }

/* Size run: one column per size, a stacked block per piece */
.run__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.run__total { font-size: var(--step--1); font-weight: 700; color: var(--indigo); }
.run { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; align-items: end; margin: 6px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); }
.run__col { display: grid; justify-items: center; gap: 6px; }
.run__qty { font-size: .72rem; font-weight: 700; color: var(--ink-soft); }
.run__bar { display: flex; flex-direction: column-reverse; gap: 3px; width: 100%; max-width: 56px; }
.run__bar i { display: block; height: 22px; background: var(--indigo); }
.run__bar i:last-child { background: var(--rinse); }
.run__bar i:first-child { background: var(--indigo); box-shadow: inset 0 -3px 0 var(--selvedge); }
.run__size {
    width: 100%; max-width: 56px; padding: 8px 0; text-align: center; border: 1.5px solid var(--indigo);
    font-weight: 800; color: var(--indigo); font-variation-settings: "wdth" 85;
}
@media (prefers-reduced-motion: no-preference) {
    .js .run__bar i { transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
    .js .run.is-visible .run__bar i { transform: none; }
    .js .run.is-visible .run__col:nth-child(2) i { transition-delay: .06s; }
    .js .run.is-visible .run__col:nth-child(3) i { transition-delay: .12s; }
    .js .run.is-visible .run__col:nth-child(4) i { transition-delay: .18s; }
    .js .run.is-visible .run__col:nth-child(5) i { transition-delay: .24s; }
    .js .run.is-visible .run__col:nth-child(6) i { transition-delay: .30s; }
}

/* Sticky quote bar on phones and tablets */
.sticky-cta { display: none; }
@media (max-width: 960px) {
    .sticky-cta {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid;
        grid-template-columns: 1fr auto auto; gap: 8px; align-items: center;
        padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper);
        border-top: 3px solid var(--selvedge); box-shadow: 0 -10px 30px -12px rgba(18,25,51,.35);
        transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
    }
    .sticky-cta.is-shown { transform: none; }
    .sticky-cta__name { min-width: 0; display: grid; gap: 2px; font-size: .8rem; color: var(--ink-soft); }
    .sticky-cta__name strong { font-size: 1.15rem; color: var(--indigo); font-variation-settings: "wdth" 70; text-transform: uppercase; line-height: 1; }
    .sticky-cta .btn { min-height: 44px; padding: .6em 1em; }
    .sticky-cta .btn--wa { padding-inline: .8em; }
    body:has(.sticky-cta.is-shown) .wa-float { opacity: 0; pointer-events: none; }
}
@media (max-width: 960px) {
    .gallery__thumbs {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62px;
        overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
    }
    .gallery__thumbs::-webkit-scrollbar { display: none; }
}

/* ==========================================================================
   Lookbook (editorial grid)
   ========================================================================== */

.lookbook__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 36px; }
.lookbook__lead { color: var(--ink-soft); max-width: 46ch; justify-self: end; }
.lookbook__grid {
    display: grid; gap: 14px; grid-template-columns: repeat(12, 1fr);
    grid-template-rows: clamp(220px, 24vw, 340px) clamp(220px, 24vw, 340px);
}
.lb { position: relative; overflow: hidden; display: block; background: var(--indigo); color: #fff; text-decoration: none; }
.lb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.lb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,25,51,.75), rgba(18,25,51,0) 45%); }
.lb--tall { grid-column: 1 / 5; grid-row: 1 / 3; }
.lb--tall img { object-position: 50% 30%; }
.lb--wide { grid-column: 5 / 13; grid-row: 1; }
.lb--wide img { object-position: 50% 30%; }
.lb--a { grid-column: 5 / 9; grid-row: 2; }
.lb--a img { object-position: 50% 45%; }
.lb--b { grid-column: 9 / 11; grid-row: 2; }
.lb--c { grid-column: 11 / 13; grid-row: 2; }
.lb--b img, .lb--c img { object-position: 50% 62%; }
.lb__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 2px; font-size: .85rem; color: #dfe5ed; }
.lb__cap strong { font-size: 1.5rem; color: #fff; text-transform: uppercase; font-variation-settings: "wdth" 68; line-height: 1; }
.lb:hover { color: #fff; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .lb:hover img { transform: scale(1.06); }
    .lb__cap { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
    .lb:hover .lb__cap { transform: translateY(-6px); }
}
@media (max-width: 900px) {
    .lookbook__head { grid-template-columns: 1fr; }
    .lookbook__lead { justify-self: start; }
    .lookbook__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 240px; }
    .lb--tall { grid-column: 1; grid-row: span 2; }
    .lb--wide { grid-column: 2; grid-row: span 1; }
    .lb--a { grid-column: 2; grid-row: span 1; }
    .lb--b, .lb--c { grid-column: auto; grid-row: span 1; }
}

/* ==========================================================================
   How wholesale ordering works
   ========================================================================== */

.howto { position: relative; background: var(--indigo); color: #c9d1df; padding-block: clamp(56px, 7vw, 100px); overflow: hidden; isolation: isolate; }
.howto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 7px); }
.howto__title { color: #fff; max-width: 18ch; }
.howto__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 44px 0 40px; padding: 0; list-style: none; counter-reset: hs; }
.howto__step { position: relative; counter-increment: hs; padding-top: 70px; }
.howto__step::before {
    content: counter(hs, decimal-leading-zero); position: absolute; top: 0; left: 0;
    font-size: 3.4rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
    font-variation-settings: "wdth" 62;
}
/* the stitch line that runs between steps */
.howto__step::after { content: ""; position: absolute; top: 28px; left: 84px; right: -20px; border-top: 3px dashed var(--selvedge); }
.howto__step:last-child::after { display: none; }
.howto__name { color: #fff; font-size: var(--step-1); margin-bottom: 8px; font-variation-settings: "wdth" 85; }
.howto__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.howto__note { font-size: var(--step--1); color: #9fabc0; margin-left: 8px; }
@media (max-width: 900px) {
    .howto__steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .howto__step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
    .howto__steps { grid-template-columns: 1fr; }
    .howto__step { padding: 0 0 0 76px; min-height: 56px; }
    .howto__step::before { font-size: 2.8rem; }
    .howto__step::after { top: 60px; bottom: -30px; left: 26px; right: auto; border-top: 0; border-left: 3px dashed var(--selvedge); }
    .howto__note { margin-left: 0; }
}

.product__title--long { font-size: var(--step-4); }

/* ---------- Campaign gallery + full-screen viewer ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery__item { display: block; padding: 0; border: 0; background: var(--fade); cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.04); }
.gallery__item:focus-visible { outline: 3px solid var(--selvedge); outline-offset: 3px; }
@media (max-width: 760px) { .gallery__grid { grid-template-columns: 1fr; gap: 10px; } }
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 14, 28, .94); }
.viewer::backdrop { background: rgba(10, 14, 28, .6); }
.viewer[open] { display: grid; place-items: center; }
.viewer__img { max-width: min(94vw, 1600px); max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.viewer__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(0,0,0,.35); color: #fff; font-size: 20px; cursor: pointer; }
.viewer__btn:hover { background: rgba(255,255,255,.15); }
.viewer__btn svg { width: 22px; height: 22px; }
.viewer__close { top: 18px; right: 18px; }
.viewer__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.viewer__next { right: 18px; top: 50%; transform: translateY(-50%); }
.viewer__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #cfd6e4; font-weight: 700; letter-spacing: .08em; font-size: .9rem; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
    position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto;
    display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 18px 20px;
    background: var(--paper); color: var(--ink); border-top: 4px solid var(--selvedge);
    box-shadow: 0 20px 60px -15px rgba(15, 20, 40, .45);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { flex: 1 1 320px; font-size: var(--step--1); line-height: 1.5; }
.cookie-banner__text strong { display: block; margin-bottom: 4px; font-size: 1rem; color: var(--indigo); }
.cookie-banner__text p { margin: 0; color: var(--ink-soft); }
.cookie-banner__text a { color: var(--indigo); font-weight: 600; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions .btn { min-height: 44px; padding-inline: 18px; }
@media (max-width: 600px) { .cookie-banner__actions { width: 100%; } .cookie-banner__actions .btn { flex: 1 1 0; } }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
