/* =========================================================
   KAYS CLOTHING - styles
   Identity: editorial boutique. Signature = garment "care label"
   tags + stitched seams. Palette: mulberry plum + camel + warm paper.
   ========================================================= */

:root {
    /* Colour */
    --ink:          #211B24;   /* warm plum-black text */
    --ink-soft:     #4A3F47;
    --mulberry:     #6E2C53;   /* brand primary */
    --mulberry-dk:  #54203F;
    --mulberry-lt:  #9A4E7C;
    --camel:        #B5854A;   /* accent (text-safe) */
    --camel-bright: #C9A36A;
    --camel-soft:   #E4C99B;
    --paper:        #FAF5EF;   /* page background */
    --paper-2:      #F3E9DF;   /* alt surface */
    --blush:        #EFE0DC;   /* soft pink surface */
    --card:         #FFFFFF;
    --line:         #E3D5C8;   /* warm hairline */
    --muted:        #6A5E63;

    /* Type */
    --display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --body:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono:    'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

    /* Space + shape */
    --gutter: clamp(1.1rem, 4vw, 2rem);
    --maxw: 1180px;
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 26px;
    --shadow-sm: 0 2px 10px rgba(33,27,36,.05);
    --shadow-md: 0 14px 34px -16px rgba(33,27,36,.28);
    --shadow-lg: 0 36px 70px -30px rgba(33,27,36,.40);
    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
    font-family: var(--body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--mulberry); outline-offset: 3px; border-radius: 3px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
    position: absolute; left: 12px; top: -50px; z-index: 200;
    background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: var(--r-sm);
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.mono { font-family: var(--mono); }

/* ---------- Signature: care-label tag ---------- */
.tag {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink); background: var(--card);
    padding: .42rem .85rem .42rem .7rem;
    border: 1.5px dashed var(--camel);
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
}
.tag-hole {
    width: 9px; height: 9px; border-radius: 50%;
    border: 1.5px solid var(--camel); background: var(--paper); flex: none;
}
.tag--eyebrow { color: var(--mulberry); }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--mulberry); --fg: #fff; --bd: var(--mulberry);
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
    font-weight: 600; font-size: .96rem; letter-spacing: .005em;
    padding: .85rem 1.5rem; border-radius: 50px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s var(--ease);
    text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--primary { box-shadow: 0 10px 24px -12px var(--mulberry); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--full { width: 100%; }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.scrolled { box-shadow: 0 6px 24px -18px rgba(33,27,36,.5); background: color-mix(in srgb, var(--paper) 95%, transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark {
    display: grid; place-items: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--mulberry); color: var(--camel-soft);
    font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1;
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12);
}
.brand-word {
    font-family: var(--display); font-weight: 600; font-size: 1.32rem; line-height: .95;
    letter-spacing: .01em; color: var(--ink); display: flex; flex-direction: column;
}
.brand-word-sub {
    font-family: var(--mono); font-weight: 400; font-size: .58rem; letter-spacing: .34em;
    text-transform: uppercase; color: var(--camel); margin-top: 2px;
}

.nav-list { list-style: none; display: flex; align-items: center; gap: .35rem; padding: 0; }
.nav-link {
    display: inline-block; padding: .5rem .85rem; border-radius: 40px;
    font-weight: 500; font-size: .95rem; color: var(--ink-soft);
    transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--mulberry); background: var(--blush); }
.nav-link--cta {
    background: var(--ink); color: var(--paper); margin-left: .35rem;
}
.nav-link--cta:hover { background: var(--mulberry); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }

/* selvedge stripe (denim edge nod) */
.selvedge { height: 3px; background: repeating-linear-gradient(90deg, var(--mulberry) 0 14px, var(--camel-bright) 14px 28px); opacity: .9; }
.selvedge--top { height: 3px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem); position: relative; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 50% at 88% 18%, color-mix(in srgb, var(--blush) 70%, transparent), transparent 70%),
        radial-gradient(45% 40% at 5% 90%, color-mix(in srgb, var(--paper-2) 80%, transparent), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
/* let grid/flex children shrink instead of forcing horizontal overflow */
.hero-inner > *, .about-inner > *, .visit-grid > *, .edit-card, .review, .shot { min-width: 0; }

.hero-copy { max-width: 33rem; }
.hero-title {
    font-family: var(--display); font-weight: 400;
    font-size: clamp(2.15rem, 1.3rem + 4vw, 4.6rem); line-height: 1.03;
    letter-spacing: -.018em; color: var(--ink); margin: 1.1rem 0 0;
    font-optical-sizing: auto; overflow-wrap: break-word;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--mulberry); }
.hero-lead { margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.08rem; max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

.hero-meta { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; padding: 1.3rem 0 0; border-top: 1.5px dashed var(--line); }
.hero-meta li { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.15; }
.hero-meta span { font-size: .82rem; color: var(--muted); margin-top: .15rem; }

/* hero figure + media */
.hero-figure { position: relative; margin: 0; }
.hero-media {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    background: var(--paper-2); aspect-ratio: 4 / 5;
    rotate: 1.4deg;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }

/* image skeleton shimmer (shows until image paints / hidden if loaded) */
.img-skeleton {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(100deg, var(--paper-2) 30%, var(--blush) 50%, var(--paper-2) 70%);
    background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
/* graceful fallback when an image fails to load */
.img-missing img { opacity: 0; }
.img-missing { background:
    repeating-linear-gradient(45deg, var(--paper-2) 0 12px, var(--blush) 12px 24px); }
.img-missing::after {
    content: "Kays"; position: absolute; inset: 0; z-index: 2;
    display: grid; place-items: center; font-family: var(--display); font-style: italic;
    color: var(--mulberry-lt); font-size: 1.4rem; opacity: .6;
}

/* signature care-label on hero */
.care-label {
    position: absolute; right: -14px; bottom: 30px; z-index: 3;
    width: 138px; background: var(--card); color: var(--ink);
    border: 1.5px dashed var(--camel); border-radius: 6px;
    padding: .9rem .7rem .7rem; text-align: center;
    box-shadow: var(--shadow-md); rotate: -4deg;
    font-family: var(--mono);
}
.care-label-hole { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--camel); background: var(--paper); }
.care-label-brand { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .12em; margin-top: .55rem; color: var(--mulberry); }
.care-label-line { font-size: .58rem; letter-spacing: .12em; color: var(--ink-soft); margin-top: .25rem; }
.care-symbols { display: block; margin-top: .5rem; font-size: .72rem; letter-spacing: .18em; color: var(--camel); }

.swatch-strip { position: absolute; left: -10px; top: 26px; z-index: 3; display: flex; flex-direction: column; gap: 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); rotate: -2deg; }
.swatch-strip span { width: 26px; height: 26px; background: var(--s); }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: .8rem 0; border-block: 1px solid var(--mulberry-dk); }
.marquee-track { display: inline-flex; align-items: center; gap: 1.4rem; white-space: nowrap; will-change: transform; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--display); font-style: italic; font-size: 1.45rem; opacity: .92; }
.marquee-track .dot { color: var(--camel-bright); font-style: normal; font-size: .9rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-head { max-width: 40rem; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); line-height: 1.06; letter-spacing: -.015em; margin-top: .8rem; }
.section-desc { color: var(--muted); margin-top: .9rem; font-size: 1.05rem; }
.section-head .tag { margin-bottom: .2rem; }

/* ---------- Collections / The Edit ---------- */
.collections { background:
    linear-gradient(var(--paper-2), var(--paper-2)) ; }
.edit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.edit-card {
    position: relative; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-md); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex; flex-direction: column;
}
.edit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.edit-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.edit-media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; transition: transform .6s var(--ease); }
.edit-card:hover .edit-media img { transform: scale(1.05); }
.edit-body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.edit-tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--camel); }
.edit-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.1; }
.edit-body p { color: var(--muted); font-size: .92rem; }

.collections-note { text-align: center; margin-top: 2.2rem; color: var(--ink-soft); }
.collections-note .mono { color: var(--camel); margin-right: .3rem; }
.collections-note a { color: var(--mulberry); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--camel-soft); }

/* ---------- About ---------- */
.about-copy { max-width: 48rem; }
.about-copy .section-title { margin-top: .7rem; }
.about-lead { font-family: var(--display); font-size: clamp(1.25rem, 1.05rem + 1vw, 1.6rem); font-weight: 400; line-height: 1.3; color: var(--ink); margin-top: 1.3rem; }
.about-copy > p { color: var(--ink-soft); margin-top: 1rem; max-width: 42rem; }

.values { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.7rem 1.6rem; padding: 2.4rem 0 0; margin-top: 2.8rem; border-top: 1.5px dashed var(--line); }
.value { position: relative; padding-top: 1.1rem; }
.value-stitch { position: absolute; top: 0; left: 0; width: 46px; height: 0; border-top: 2px dashed var(--camel); }
.value h4 { font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.value p { color: var(--muted); font-size: .92rem; margin-top: .2rem; }

/* ---------- Lookbook ---------- */
.lookbook { background: var(--paper-2); }
.lookbook-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 19vw, 244px); gap: clamp(.7rem, 1.5vw, 1.1rem); }
.shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
.shot--wide { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot figcaption {
    position: absolute; left: 10px; bottom: 10px;
    font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
    background: color-mix(in srgb, var(--ink) 82%, transparent); color: var(--paper);
    padding: .3rem .6rem; border-radius: 40px; backdrop-filter: blur(4px);
}

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .8rem; }
.stars { color: var(--camel-bright); letter-spacing: .12em; font-size: .95rem; }
.review blockquote { font-family: var(--display); font-weight: 400; font-size: 1.04rem; line-height: 1.4; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: .65rem; margin-top: auto; }
.review-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mulberry); color: var(--camel-soft); font-family: var(--display); font-weight: 600; flex: none; }
.review figcaption strong { display: block; font-size: .92rem; }
.review figcaption small { color: var(--muted); font-size: .78rem; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.visit-details { list-style: none; padding: 0; display: grid; gap: 1.2rem; }
.visit-item { display: flex; gap: 1rem; align-items: flex-start; }
.visit-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--blush); color: var(--mulberry); font-size: 1.2rem; }
.visit-item strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.visit-item span, .visit-item a { color: var(--ink-soft); font-size: .95rem; }
.visit-item a { color: var(--mulberry); font-weight: 600; }
.map { margin-top: 1.6rem; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map iframe { display: block; }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); }
.contact-form h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; display: grid; gap: .4rem; }
.field label { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
    width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
    background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem .9rem;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--mulberry); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mulberry) 16%, transparent); }
.field textarea { resize: vertical; }
.form-note { margin-top: .9rem; font-size: .82rem; color: var(--muted); text-align: center; }
.form-msg { padding: .85rem 1rem; border-radius: 10px; font-weight: 600; font-size: .92rem; margin-bottom: 1rem; }
.form-msg--ok { background: #E9F4EC; color: #2D6A45; border: 1px solid #9ED3AE; }
.form-msg--err { background: var(--blush); color: var(--mulberry-dk); border: 1px solid var(--mulberry-lt); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #D8CEC9; position: relative; }
.footer .selvedge--top { position: absolute; top: 0; left: 0; right: 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: clamp(2.6rem, 5vw, 4rem) 2rem; }
.brand--footer .brand-word, .brand--footer .brand-mark { color: var(--paper); }
.brand--footer .brand-mark { background: var(--mulberry); color: var(--camel-soft); }
.brand--footer .brand-word-sub { color: var(--camel-bright); }
.footer-brand p { margin-top: 1rem; max-width: 22rem; font-size: .92rem; color: #B9ADA8; }
.footer-est { margin-top: 1rem; font-size: .68rem; letter-spacing: .22em; color: var(--camel-bright); }
.footer-col h4 { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--paper); margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-col a, .footer-col li { color: #B9ADA8; font-size: .92rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--camel-bright); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; color: #8E817C; }

/* ---------- Cookie ---------- */
.cookie {
    position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 160%);
    z-index: 150; width: min(640px, calc(100% - 24px));
    background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); padding: 1rem 1.2rem;
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    transition: transform .45s var(--ease);
}
.cookie.show { transform: translate(-50%, 0); }
.cookie p { font-size: .88rem; color: var(--ink-soft); flex: 1 1 240px; }
.cookie a { color: var(--mulberry); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.2rem; background: color-mix(in srgb, var(--ink) 55%, transparent); backdrop-filter: blur(3px); }
.modal.show { display: flex; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card { position: relative; background: var(--paper); border-radius: var(--r-lg); max-width: 560px; width: 100%; max-height: 85vh; overflow: auto; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.modal-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); font-size: 1.4rem; line-height: 1; color: var(--ink); }
.modal-close:hover { background: var(--blush); color: var(--mulberry); }
.modal-card h2 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; padding-right: 2rem; }
.modal-body { margin-top: 1rem; }
.modal-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin-top: 1.3rem; }
.modal-body p, .modal-body li { color: var(--ink-soft); font-size: .95rem; margin-top: .5rem; }
.modal-body ul { padding-left: 1.2rem; }
.modal-body a { color: var(--mulberry); font-weight: 600; text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-figure { max-width: 460px; margin-inline: auto; order: -1; }
    .hero-copy { max-width: none; }
    .values { grid-template-columns: repeat(2, 1fr); }
    .lookbook-grid { grid-template-columns: repeat(2, 1fr); }
    .lookbook-grid .shot:last-child { grid-column: span 2; } /* fill the trailing row */
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .visit-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    /* Drop backdrop-filter on mobile: a backdrop-filtered ancestor becomes the
       containing block for position:fixed children, which would trap the menu
       inside the header bar instead of covering the viewport. */
    .header, .header.scrolled { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }

    /* Off-canvas drawer: a dim scrim that fades in (toggled with pointer-events,
       not visibility, to avoid transition jank) + a panel that slides from the
       right. Full-viewport scrim + overflow:hidden keeps the closed panel clipped
       off-screen. High z-index sits above the sticky header and all page content. */
    .nav {
        position: fixed; inset: 0; z-index: 200; overflow: hidden;
        background: rgba(28, 22, 30, .5);
        opacity: 0; pointer-events: none;
        transition: opacity .3s var(--ease);
    }
    .nav.open { opacity: 1; pointer-events: auto; }
    .nav-list {
        position: absolute; top: 0; right: 0; bottom: 0;
        width: min(84%, 330px); background: var(--paper);
        box-shadow: -26px 0 64px -28px rgba(33, 27, 36, .6);
        border-left: 1px solid var(--line); padding: 5.25rem 1.4rem 2rem;
        flex-direction: column; align-items: stretch; gap: .3rem;
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        transform: translateX(100%); transition: transform .35s var(--ease);
    }
    .nav.open .nav-list { transform: translateX(0); }
    .nav-link { padding: .9rem 1rem; border-radius: 12px; font-size: 1.05rem; }
    .nav-link--cta { margin-left: 0; margin-top: .5rem; text-align: center; }
    .nav-toggle { display: flex; position: relative; z-index: 210; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    body.nav-open { overflow: hidden; }

    .edit-grid { grid-template-columns: 1fr 1fr; }
    .edit-card--tall { grid-row: span 1; }
    .edit-card--tall .edit-media { aspect-ratio: 4/5; }
    .hero-meta { gap: .6rem; }
    .hero-meta strong { font-size: .92rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
    .footer-bottom { flex-direction: column; }
    .care-label { width: 116px; right: -6px; }
}

@media (max-width: 460px) {
    .edit-grid { grid-template-columns: 1fr; }
    .lookbook-grid { grid-template-columns: 1fr; }
    .shot--wide, .lookbook-grid .shot:last-child { grid-column: span 1; }
    .reviews-grid { grid-template-columns: 1fr; }
    .hero-meta { grid-template-columns: 1fr 1fr; }
    .hero-meta li:last-child { grid-column: span 2; }
    .btn { width: 100%; }
    .swatch-strip { display: none; }
}
