/* =====================================================================
   MAISON AYAH — Elevated pieces for every moment · Dubai
   Quiet-luxury editorial design system
   ---------------------------------------------------------------------
   Structure:
   1.  Design tokens (colors, type, spacing, motion)
   2.  Reset & base
   3.  Typography primitives
   4.  Layout helpers
   5.  Buttons & links
   6.  Cursor
   7.  Preloader
   8.  Navigation
   9.  Hero
   10. Editorial sections
   11. Placeholders (art-directed, swappable)
   12. Collection grid
   13. Marquee
   14. Newsletter
   15. Footer
   16. Animation base states
   17. Reduced-motion & responsive
   ===================================================================== */

/* 1. DESIGN TOKENS ---------------------------------------------------- */
:root {
  /* Palette — warm, sun-bleached, quiet luxury */
  --bone:        #F2ECE0;
  --ivory:       #F7F1E6;
  --sand:        #EDE3D4;
  --sand-deep:   #E1D4C0;
  --clay:        #CDB093;
  --bronze:      #9C7A4E;
  --bronze-deep: #765A34;
  --espresso:    #211B14;
  --ink:         #14110C;
  --stone:       #5E554A;
  --line:        #DED4C4;
  --line-soft:   #E8DFD1;

  /* Semantic */
  --bg:          var(--bone);
  --fg:          var(--espresso);
  --muted:       var(--stone);
  --accent:      var(--bronze);
  --accent-ink:  var(--bronze-deep);

  /* Type — Cormorant Garamond echoes the Maison Ayah wordmark */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Newsreader", Georgia, "Times New Roman", serif;
  /* UI / labels use the display serif too — no generic sans anywhere */
  --font-sans:    "Cormorant Garamond", Georgia, "Times New Roman", serif;

  /* Product colorways */
  --cw-ivory:    #EDE6DA;
  --cw-bordeaux: #6B2434;
  --cw-marine:   #22354E;
  --cw-oxblood:  #4E1622;
  --cw-neutral:  #CFC5B6;
  --cw-navy:     #1E2A44;
  --cw-black:    #1C1A18;
  --cw-brown:    #6B4A33;
  --cw-grey:     #4A4A4C;
  --cw-gingham:  #9AA7B4;
  --cw-butter:   #F2E0A8;
  --cw-denim:    #4C6079;
  --cw-blue: #4A6B8A;
  --cw-grape:    #5B3A5B;
  --cw-tiffany:  #7FD4CC;
  --cw-tan:      #B2895E;
  --cw-white:    #F7F5F2;

  /* Fluid type scale */
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.35rem + 1.2vw, 2.4rem);
  --step-3:  clamp(2.2rem, 1.7rem + 2.4vw, 3.6rem);
  --step-4:  clamp(3rem, 2rem + 4.8vw, 6rem);
  --step-5:  clamp(3.6rem, 2rem + 8vw, 9rem);

  /* Spacing (spacious / density 3) */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 11rem;

  --maxw: 1520px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --bar-h: calc(38px + env(safe-area-inset-top, 0px));   /* + the iPhone status bar, which the dark bar now fills */

  /* Motion */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.25s;
  --dur:      0.5s;
  --dur-slow: 0.9s;

  --radius: 2px;
}

/* 2. RESET & BASE ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--espresso); color: var(--ivory); }

/* Subtle paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* 3. TYPOGRAPHY PRIMITIVES ------------------------------------------- */
.font-display { font-family: var(--font-display); }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  font-optical-sizing: auto;
}

/* Brand lockup — recreated from the Maison Ayah wordmark, scalable + any color */
.brandmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: currentColor;
}
.brandmark__name {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.24em;
  font-size: 1.5rem;
  text-transform: uppercase;
  padding-left: 0.24em; /* optical: balance tracking */
}
.brandmark--stack .brandmark__over {
  font-size: 0.52rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
}
.brandmark--stack .brandmark__rule {
  width: 46px; height: 1px; background: var(--accent);
  margin: 0.55rem 0 0.45rem;
}
.brandmark--stack .brandmark__est {
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-style: italic;
  color: var(--accent-ink);
  font-family: var(--font-display);
}
/* Nav-optimised lockup sizing */
.nav__brand.brandmark--stack { align-items: center; }
.nav .brandmark__over { font-size: 0.44rem; letter-spacing: 0.34em; margin-bottom: 0.26rem; }
.nav .brandmark__name { font-size: 1.15rem; letter-spacing: 0.22em; padding-left: 0.22em; }
.nav .brandmark__rule { width: 30px; margin: 0.3rem 0 0.24rem; }
.nav .brandmark__est { font-size: 0.42rem; letter-spacing: 0.32em; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--accent-ink);
}
.eyebrow--muted { color: var(--muted); }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--fg);
  font-weight: 350;
}

.text-muted { color: var(--muted); }
.italic { font-style: italic; }

/* Prose body copy — editorial serif (Newsreader), distinct from sans UI/labels */
.lede,
.hero__sub,
.text-muted,
.footer__tag,
.lede { font-weight: 400; }

/* Line-mask reveal wrapper */
.mask { overflow: hidden; display: block; }
.mask > * { display: block; will-change: transform; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -120%);
  z-index: 6000; background: var(--espresso); color: var(--ivory);
  padding: 0.8rem 1.4rem; font-size: var(--step--1); letter-spacing: 0.14em;
  text-transform: uppercase; border-radius: 0 0 4px 4px;
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus-visible { transform: translate(-50%, 0); outline: none; }

/* 4. LAYOUT HELPERS --------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* One rhythm across every page. The first section on an inner page keeps
   enough top padding to clear the fixed header (set further down); everything
   after it just needs spacing, which is where the old 11rem was wasted. */
.section { padding-block: clamp(1.5rem, 2.2vw, 2.4rem); position: relative; }
/* Home page — tighter vertical rhythm between sections */
/* The rail follows the hero, which already carries its own bottom padding —
   no need to stack a second full gap on top of it. */
#featured.section { padding-top: clamp(1.2rem, 1.7vw, 1.8rem); }
.stack > * + * { margin-top: var(--space-md); }
.divider { height: 1px; background: var(--line); border: 0; }

/* 5. BUTTONS & LINKS -------------------------------------------------- */
/* Buttons — a hairline frame, drawn from the same rules and dividers used
   throughout the site rather than importing a separate motif. The border is
   currentColor-adjacent, so a variant only has to set `color` and
   `border-color`. */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  /* A tight box: a fine frame close around the words, smaller than the
     original buttons. Fills espresso on hover. */
  padding: 0.62rem 1.15rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  background: none;
  color: var(--espresso);
  border: 1px solid currentColor;
  border-radius: 0;
  transition: color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out);
}
.btn:hover {
  color: var(--ivory);
  background: var(--espresso);
  border-color: var(--espresso);
}
.btn:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

/* On dark grounds — the hero image and the invitation panel */
.btn--light {
  color: var(--ivory);
  border-color: rgba(251, 248, 242, 0.5);
}
.btn--light:hover {
  color: var(--espresso);
  background: var(--ivory);
  border-color: var(--ivory);
}

.link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent-ink);
}
.arrow-link svg { transition: transform var(--dur) var(--ease-out); }
.arrow-link:hover svg { transform: translateX(6px); }

/* 6. CURSOR ----------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--bronze);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s, width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.3s;
}
.cursor--ring {
  width: 34px; height: 34px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--bronze) 50%, transparent);
  transition: opacity 0.3s, width 0.45s var(--ease-out), height 0.45s var(--ease-out), border-color 0.3s, background 0.3s;
}
.cursor.is-active { opacity: 1; }
.cursor--ring.is-hover {
  width: 54px; height: 54px;
  border-color: var(--bronze);
  background: color-mix(in srgb, var(--bronze) 7%, transparent);
}
.cursor--dot.is-hover { width: 8px; height: 8px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none !important; } }

/* 7. PRELOADER -------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--bone);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.preloader__inner { text-align: center; }
.preloader__mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 8vw, 5rem);
  letter-spacing: 0.02em;
  color: var(--espresso);
  overflow: hidden;
}
.preloader__mark span { display: inline-block; }
.preloader__logo {
  display: block;
  /* height:auto or the width/height attributes act as a presentational hint */
  width: clamp(104px, 20vw, 190px);
  height: auto;
  margin-inline: auto;
}
.preloader__bar {
  margin: 1.6rem auto 0;
  width: min(220px, 50vw);
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.preloader__bar i {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--bronze);
}
.preloader__count {
  margin-top: 1rem;
  font-size: var(--step--1);
  letter-spacing: 0.3em;
  color: var(--muted);
}
.preloader__curtain {
  position: fixed;
  inset: 0;
  z-index: 4999;
  background: var(--espresso);
  transform: translateY(100%);
}

/* 7b. PAGES (paged navigation) --------------------------------------- */
.page { display: none; }
.page.is-active { display: block; }
/* Non-home pages start below the fixed promo bar + nav so nothing is overlapped */
.page:not([data-page="home"]) > section:first-child,
.page:not([data-page="home"]) > *:first-child > section:first-child {
  padding-top: calc(var(--bar-h) + 3.5rem);
}
.nav__links a.is-current, .menu nav a.is-current { color: var(--accent-ink); }
.nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }

/* 8. NAVIGATION ------------------------------------------------------- */
.promo-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--bar-h);
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: clamp(0.6rem, 0.55rem + 0.3vw, 0.7rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.promo-msg {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 100%; padding: 0 1rem;
  white-space: nowrap;
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.promo-msg.is-active { opacity: 1; visibility: visible; }
.nav {
  position: fixed;
  top: var(--bar-h); left: 0;
  width: 100%;
  z-index: 100;
  /* Content inside the row is only ~27px; the padding sets the bar height. */
  padding-block: 0.85rem;
  /* Solid bar rather than glass over the hero: the wordmark sat over the dark
     palm fronds at 1.82:1 contrast, well under the 3:1 minimum. A background
     of its own makes the header legible over any photograph. */
  background: var(--bone);
  transition: padding var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
  border-bottom: 1px solid var(--line-soft);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--espresso);
}
/* Monogram in place of the text wordmark. Sized by height so it keys to the
   bar rather than to the viewport width. */
.nav__brand--logo { display: inline-flex; align-items: center; }
.nav__brand--logo img {
  display: block;
  /* Letters only here. The full lockup's MAISON AYAH line is 9.5% of its
     height, so in a bar this size it rendered at 3–5px — never readable,
     and it just softened the mark. The wordmark lives in the footer and the
     preloader instead, where it has the room. */
  height: clamp(26px, 2.9vw, 34px);
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  list-style: none;
}
.nav__links a {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--espresso);
}
.nav__actions { display: flex; align-items: center; gap: 1.4rem; }
/* Labels never break onto two lines; on narrower laptops the spacing and
   tracking tighten instead, so all five links and the actions still fit. */
.nav__links a, .nav__drop-toggle, .nav__signin { white-space: nowrap; }
/* Icons hold their size; the gaps give way instead when space runs short. */
.nav__actions > *, .nav__actions svg { flex-shrink: 0; }
.nav__links > ul > li { display: flex; align-items: center; }
.nav__brand { flex-shrink: 0; }
/* Small laptops and tablets: Sign in keeps its icon and drops the word. */
@media (max-width: 900px) { .nav__signin .label { display: none; } }
@media (max-width: 1180px) {
  .nav__links { gap: 1.35rem; }
  .nav__links a, .nav__drop-toggle { letter-spacing: 0.1em; }
  .nav__actions { gap: 1.1rem; }
}
.nav__cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav__cart .count {
  display: grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 100px;
  background: var(--espresso); color: var(--ivory);
  font-size: 0.66rem; letter-spacing: 0;
}
.nav.is-scrolled {
  padding-block: 0.62rem;
  border-bottom-color: var(--line);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 6px 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  height: 1.5px;
  width: 100%;
  background: var(--espresso);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bone);
  display: flex;
  flex-direction: column;
  /* Starts under the fixed header rather than centring in the viewport —
     centring left roughly a third of the screen blank above the links. */
  justify-content: flex-start;
  /* clears the header (now a slim 48px bar) with a modest gap, no more */
  padding: calc(var(--bar-h) + 4.5rem) var(--gutter) 2.2rem;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-inout);
  pointer-events: none;
}
.menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu ul { list-style: none; }
/* Rows with hairline separators — the same structure used in the footer, so
   the links read as a considered list rather than floating text. */
.menu nav > ul { display: block; }
.menu nav > ul > li { border-bottom: 1px solid var(--line-soft); }
.menu nav > ul > li:first-child { border-top: 1px solid var(--line-soft); }
.menu nav li { overflow: hidden; }
/* Primary menu links (inside <nav>) — large display */
.menu nav a {
  display: block;
  padding: 0.34rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 3.6vw, 1.45rem);
  line-height: 1.25;
  color: var(--espresso);
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out), color var(--dur) var(--ease-out);
}
.menu nav a:hover { color: var(--bronze); }
.menu.is-open nav a { transform: translateY(0); }

/* Menu foot — contact channels, pinned to the bottom of the panel */
/* Image fills whatever space the links leave, so the panel resolves as
   links at the top, photograph beneath, socials on the floor. */
.menu__media {
  flex: 1 1 auto;
  min-height: 120px;
  margin-top: 2.2rem;
  overflow: hidden;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: 0.3s;
}
.menu.is-open .menu__media { opacity: 1; transform: none; }
/* Same studio photo as the sign-in panel; keep the moodboard and rail in view. */
.menu__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; display: block; }

.menu__foot {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: 0.34s;
}
.menu.is-open .menu__foot { opacity: 1; transform: none; }
.menu__social { display: flex; align-items: center; gap: 1.15rem; margin: 0; }
.menu__social a, .menu__social-pending {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  color: var(--espresso);
  transition: color var(--dur) var(--ease-out);
}
.menu__social svg { width: 20px; height: 20px; display: block; }
.menu__social a:hover { color: var(--bronze); }
.menu__social-pending { opacity: 0.4; cursor: default; }
.menu__social a {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--dur) var(--ease-out);
}
.menu__social a:hover { color: var(--bronze); }
@media (prefers-reduced-motion: reduce) {
  .menu__foot, .menu__media { transition: none; opacity: 1; transform: none; }
}
.menu.is-open nav li:nth-child(1) a { transition-delay: 0.10s; }
.menu.is-open nav li:nth-child(2) a { transition-delay: 0.15s; }
.menu.is-open nav li:nth-child(3) a { transition-delay: 0.20s; }
.menu.is-open nav li:nth-child(4) a { transition-delay: 0.25s; }
.menu.is-open nav li:nth-child(5) a { transition-delay: 0.30s; }
.menu.is-open nav li:nth-child(6) a { transition-delay: 0.35s; }
.menu.is-open nav li:nth-child(7) a { transition-delay: 0.40s; }

/* 9. HERO ------------------------------------------------------------- */
.hero {
  position: relative;
  /* Desktop is a wide frame over a portrait photograph, so a full-height
     banner just adds empty wall above the title. Phones keep the full screen,
     where the crop is tight and the height earns itself. Height and framing
     below were set by hand in hero-tool.html. */
  /* --hh is the hero height: 85svh on desktop (raised from 67), set per phone
     below. The photo framing reads the same variable. Leah, 2026-11-13. */
  --hh: 85svh;
  min-height: var(--hh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
}
.hero .hero__media.ph {
  position: absolute;
  inset: -12% 0 -12% 0;
  z-index: 0;
  will-change: transform;
  border-radius: 0;
}
/* Hero photo framing, anchored so it holds on every screen shape
   (Leah, 2026-11-13). Phones and desktop both use the full photo (hero-b.jpg).
   A scale/translate on a cover-fitted photo crops differently as the
   window's proportions change, which cut Leah's head off. Instead the photo
   is measured against the part of the hero you can see under the bars:
     --hh    hero height (set on .hero)   --bars  promo bar + nav
     --ref   the height the framing was set against (full screen on phones,
             85svh on desktop); a shorter --hh just crops the bottom
     --V     visible height: --ref less --bars
     --z     photo height, in V
     --top   photo top, in V, from the bottom of the nav
     --fx    which point across the photo (0-1) sits at --ax across the window
   So her head sits the same distance under the nav on every screen and only
   the sides grow or shrink. .hero__media starts 12% of the hero above it
   (room for the scroll parallax), hence the 0.12 and the 1.24. The clamps
   stop any edge of the photo ever showing.
   Values set by Leah on the live page (?tune=hero, hero-live.js). */
.hero .hero__media.ph img {
  --ref: 100svh; --bars: calc(94px + env(safe-area-inset-top, 0px)); --ax: 50vw;
  --z: 1.2400; --top: -0.2891; --fx: 0.5139;   /* phone, re-set by Leah 2026-11-30 */
  --ar: 1.5006;   /* hero-b.jpg, 3600 x 2399 */
  --V: calc(var(--ref) - var(--bars));   /* fixed: a shorter hero crops the bottom, never rescales */
  --ih: max(calc(var(--z) * var(--V)), calc(100vw / var(--ar)), calc(1.24 * var(--hh)));
  position: absolute; max-width: none; object-fit: fill; transform: none;
  height: var(--ih); width: calc(var(--ih) * var(--ar));
  left: clamp(calc(100vw - var(--ih) * var(--ar)), calc(var(--ax) - var(--fx) * var(--ih) * var(--ar)), 0px);
  top: clamp(calc(1.24 * var(--hh) - var(--ih)), calc(0.12 * var(--hh) + var(--bars) + var(--top) * var(--V)), 0px);
}
@media (min-width: 900px) {
  .hero .hero__media.ph img {
    --ref: 85svh; --bars: calc(98px + env(safe-area-inset-top, 0px)); --ax: 75vw;
    --z: 2.7000; --top: -0.7014; --fx: 0.6907;   /* set by Leah in the live editor 2026-11-30 (no hero words) */
  }
}
/* Phone hero height (Leah, live editor). Under 900px wide. */
@media (max-width: 899px) { .hero { --hh: 79svh; } }
/* Phone hero words and button, placed and sized by Leah on the live page
   (?tune=hero, 2026-11-13). Offsets in vw / svh; phones only. */
@media (max-width: 899px) {
  .hero .hero__title { translate: -0.47vw -40.83svh; scale: 0.70; transform-origin: left bottom; }
  .hero .hero__sub   { translate: 12.95vw -41.65svh; scale: 0.85; transform-origin: left bottom; }
  .hero .hero__cta   { translate: 10.47vw -44.17svh; scale: 0.70; transform-origin: left bottom; }   /* moved by Leah 2026-11-17 */
}
/* Tablet hero (481-899px, e.g. an iPad upright): its own layout, set in the
   live editor (?tune=hero at Viewport > Tablet). Without it the phone layout
   stretched wide and pushed the words against the top (Leah, 2026-11-13).
   Comes after the phone rules, so it overrides them at these widths. */
@media (min-width: 481px) and (max-width: 899px) {
  .hero { --hh: 79svh; }
  .hero .hero__media.ph img { --bars: calc(97px + env(safe-area-inset-top, 0px)); --z: 1.4000; --top: -0.3138; --fx: 0.4495; }
  .hero .hero__title { translate: 3.31vw -35.98svh; scale: 1.10; transform-origin: left bottom; }
  .hero .hero__sub   { translate: 23.71vw -36.81svh; scale: 1.00; transform-origin: left bottom; }
  .hero .hero__cta   { translate: 29.88vw -37.69svh; scale: 0.80; transform-origin: left bottom; }
}
/* Desktop hero words and button, placed and sized by Leah on the live page
   (?tune=hero, 2026-11-13). Offsets in vw / svh so they hold across desktop
   screens; `translate` and `scale` leave the reveal animations' transform alone. */
@media (min-width: 900px) {
  /* Size also capped by height: the title is placed in svh but sized in vw,
     so in a wide, short window (a laptop with the browser not full height)
     the word grew taller than the room above it and its top ran under the
     nav (Leah, 2026-11-14). 22svh = the 11rem cap at an 800px-tall window,
     so taller screens are unchanged. */
  .hero .hero__title--solo { font-size: min(clamp(3.2rem, 15.5vw, 11rem), 22svh); }
  /* 2026-11-14: on a MacBook window (~1470x800) the top of "Valencia" sat
     under the nav. Photo zoomed out (above); words and button placed by Leah in the live
     editor (?tune=hero) at her MacBook window, 1470x750. */
  /* moved by Leah in the live editor 2026-11-17 */
  /* Placed at a full-screen MacBook (~880px tall). The nav is a fixed ~100px,
     so in a shorter window (a normal Chrome window, ~760px) the svh offsets
     pushed "Valencia" under it. --hdrop moves the whole group down a little
     as the window gets shorter than 880px; taller windows are unchanged. */
  .hero { --hdrop: 0px; --hk: 1; }
  /* Shorter windows (a normal Chrome window on a MacBook is ~760px): shrink the
     whole group a little about the bottom-centre of the Shop button, so the
     button stays on the wall where Leah put it and the top of "Valencia"
     clears the fixed nav. Full screen (~880px) and taller are unchanged. */
  .hero .hero__inner { scale: var(--hk); transform-origin: 38.85vw calc(196.7px - 24.17svh); }
  @media (max-height: 879px) { .hero { --hk: 0.948; } }
  @media (max-height: 859px) { .hero { --hk: 0.923; } }
  @media (max-height: 839px) { .hero { --hk: 0.899; } }
  @media (max-height: 819px) { .hero { --hk: 0.874; } }
  @media (max-height: 799px) { .hero { --hk: 0.848; } }
  @media (max-height: 779px) { .hero { --hk: 0.823; } }
  @media (max-height: 759px) { .hero { --hk: 0.797; } }
  @media (max-height: 739px) { .hero { --hk: 0.770; } }
  @media (max-height: 719px) { .hero { --hk: 0.744; } }
  @media (max-height: 699px) { .hero { --hk: 0.717; } }
  @media (max-height: 679px) { .hero { --hk: 0.690; } }
  @media (max-height: 659px) { .hero { --hk: 0.662; } }
  @media (max-height: 639px) { .hero { --hk: 0.634; } }
  @media (max-height: 619px) { .hero { --hk: 0.606; } }
  .hero .hero__title { translate: 14.35vw calc(-31.52svh + var(--hdrop)); scale: 1.15; transform-origin: left bottom; }
  .hero .hero__sub   { translate: 32.59vw calc(-32.69svh + var(--hdrop)); scale: 1.50; transform-origin: left bottom; }
  .hero .hero__cta   { translate: 34.50vw calc(-31.45svh + var(--hdrop)); scale: 1.20; transform-origin: left bottom; }
}
.feature__media { overflow: hidden; border-radius: var(--radius); }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  /* Tuned for the bright hero photograph: the top stays clear so the dark
     wordmark reads against the pale sky, and the foot stays heavy so the
     ivory title and CTA hold over the light stone. */
  /* Light now (Leah, 2026-11-13): the words sit on the tan wall in espresso,
     so the photo no longer needs darkening; it was dulling the red and the
     zebra. Only a faint shade at the very foot, under the button. */
  background: linear-gradient(180deg,
    rgba(20,17,12,0) 0%,
    rgba(20,17,12,0) 60%,
    rgba(20,17,12,0.22) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { color: var(--ivory); opacity: 0.9; margin-bottom: 1.4rem; }
.hero__title {
  font-family: var(--font-display);
  color: var(--espresso);   /* dark words on the wall (Leah, 2026-11-13) */
  font-weight: 500;
  font-size: var(--step-5);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-shadow: none;
}
/* line-height 0.9 makes the line box shorter than the glyphs, so the mask's
   overflow:hidden clipped descenders such as g and y. Give the line room
   below the baseline, then pull the box back so spacing is unchanged. */
.hero__title .mask { padding-bottom: 0.16em; margin-bottom: -0.16em; }

/* Single-word hero. The italic stays — it is the one flourish the display
   face gets — but in ivory rather than the usual bronze: bronze sits close
   in hue to a warm backdrop and the type stops separating from the photo.
   A short word also has width to spare, so it is set larger than the
   multi-word title, which is capped by its own length. */
.hero__title--solo {
  font-size: clamp(3.2rem, 15.5vw, 11rem);
  letter-spacing: -0.03em;
}
.hero__title.hero__title--solo em { color: var(--espresso); }

/* the subtitle already separates title from button, so the CTA does not
   need its full standalone gap */
.hero__sub + .hero__cta { margin-top: clamp(1rem, 1.6vw, 1.3rem); }

.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--bronze);
  /* no glow: on the tan wall it showed as a grey smudge round the word */
  text-shadow: none;
}
.hero__meta {
  margin-top: 2.2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero__sub {
  color: var(--espresso);
  max-width: 34ch;
  /* A tracked label, not a sentence — it sits as a tagline under the name. */
  font-family: var(--font-sans);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: 0.92;
  font-weight: 500;
  text-shadow: none;
}
/* Hero CTA — the shared frame, sized up for the campaign image */
.hero__cta {
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  padding: clamp(0.95rem, 1.6vw, 1.2rem) clamp(1.9rem, 4vw, 3rem);
}
/* A bordered button cannot align with the text above it: its border sits on
   the gutter while its label sits 48px inside. The hero reads as three lines
   of text, so the label has to set the left edge — hence a rule under the
   words rather than a box around them. */
.hero__cta--link {
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(247, 241, 230, 0.45);
  background: none;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
  text-shadow: 0 1px 20px rgba(20, 17, 12, 0.55);
  transition: border-color var(--dur) var(--ease-out);
}
.hero__cta--link:hover { border-bottom-color: var(--ivory); }
/* Boxed hero CTA: same tight frame as .btn. Filled espresso with ivory type,
   matching the dark words; it goes see-through (espresso outline and type) on
   hover and while pressed (Leah, 2026-11-13). */
.hero__cta--box {
  display: inline-flex;
  /* Sits close under "The Swim Edit" rather than floating apart from it. */
  margin-top: clamp(1rem, 1.6vw, 1.3rem);
  padding: 0.62rem 1.15rem;
  border: 1px solid var(--espresso);
  background: var(--espresso);   /* espresso on every screen size (Leah, 2026-11-13) */
  color: var(--ivory);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.hero__cta--box:hover,
.hero__cta--box:active,
.hero__cta--box:focus-visible {
  background: transparent; color: var(--espresso);
}


.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ivory);
  font-size: var(--step--1);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero__scroll i {
  width: 1px; height: 42px;
  background: var(--ivory);
  transform-origin: top;
  animation: scrollLine 2.2s var(--ease-inout) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  40%  { transform: scaleY(1); transform-origin: top; }
  60%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 10. EDITORIAL SECTIONS --------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.feature + .feature { margin-top: var(--space-2xl); }
.feature--reverse .feature__text { order: 2; }
.feature__text { max-width: 44ch; }
/* Vertical rhythm for the multi-paragraph feature copy (Signature section) */
.feature__text > p { margin-top: 1.35rem; line-height: 1.65; }
.feature__title + p { margin-top: 0; }
p.feature__includes {
  margin-top: 2rem;
  font-size: var(--step--1);
  letter-spacing: 0.05em;
  color: var(--stone);
}
.feature__shop { margin-top: 2.5rem; }

/* Signature — editorial section head, spans the card grid */
/* Page headers (Shipping & Returns, Help) — one centred stack, matching the
   shop's edit headers: eyebrow between two rules, title on one line, then a
   short caption. Replaces the split left/right layout. */
.sig-head {
  max-width: 760px;
  margin: 0 auto var(--space-lg);
  padding-top: clamp(1.5rem, 3vw, 2.6rem);
  text-align: center;
}
.sig-head__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  font-size: var(--step--1);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.1rem;
}
.sig-head__eyebrow span {
  display: block;
  width: clamp(2rem, 6vw, 3.5rem);
  height: 1px;
  background: color-mix(in srgb, var(--bronze) 45%, transparent);
}
.sig-head__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 1.6rem + 2.5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.sig-head__title em {
  font-style: italic;
  color: var(--bronze);
}
.sig-head__sub {
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--stone) 88%, transparent);
  font-size: var(--step--1);
  line-height: 1.7;
  letter-spacing: 0.015em;
  margin: 1rem auto 0;
}
.sig-head__sub em { font-style: italic; }

/* Signature (Collection) — three colourway cards in one row */
/* Close the gap between the Signature and Shop All sections */
#shop-all.section { padding-top: 0; }


.feature__index {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--accent);
  font-style: italic;
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-2);
  line-height: 1.05;
  margin-block: 1rem 1.4rem;
  letter-spacing: -0.01em;
}
.feature__price {
  margin-top: 1.6rem;
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
}
.feature__price .cur { font-size: var(--step--1); letter-spacing: 0.1em; color: var(--muted); font-family: var(--font-sans); text-transform: uppercase; }


.grid-craft {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 960px;
}
.craft-card svg { margin-bottom: 0.2rem; }

/* 11. PLACEHOLDERS (art-directed, swappable) -------------------------
   Each .ph is a self-contained editorial image stand-in. To replace:
   drop an <img> inside the .ph and it will cover the frame. Details
   in README.md. Palettes vary via data-tone.
   -------------------------------------------------------------------- */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-radius: var(--radius);
  isolation: isolate;
}
.ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 3;
}
.ph::before { /* soft gradient scene */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 78% 12%, rgba(255,255,255,0.42), transparent 48%),
    radial-gradient(90% 70% at 20% 105%, rgba(33,27,20,0.24), transparent 55%),
    var(--ph-grad, linear-gradient(150deg, #E7D8C2 0%, #D8C3A6 48%, #C7AE8C 100%));
  z-index: 1;
}
.ph::after { /* fine grain */
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* label */
/* abstract editorial marks drawn via box-shadow-free pseudo scene */
.ph__scene { position: absolute; inset: 0; z-index: 1; }

/* Tone variants */
.ph[data-tone="sand"]   { --ph-grad: linear-gradient(150deg,#EBDCC6 0%,#D9C4A6 52%,#C4A985 100%); }
.ph[data-tone="blush"]  { --ph-grad: linear-gradient(150deg,#EFDCCF 0%,#DFBFB0 52%,#C9A08C 100%); }
.ph[data-tone="olive"]  { --ph-grad: linear-gradient(150deg,#DDD8C4 0%,#BFC0A0 52%,#9DA07C 100%); }
.ph[data-tone="sky"]    { --ph-grad: linear-gradient(150deg,#D8E1E1 0%,#B9C9CC 52%,#96AEB2 100%); }
.ph[data-tone="terra"]  { --ph-grad: linear-gradient(150deg,#EBD3BF 0%,#D3A886 52%,#B8825E 100%); }
.ph[data-tone="stone"]  { --ph-grad: linear-gradient(150deg,#E4DED4 0%,#CDC4B5 52%,#ADA394 100%); }
.ph[data-tone="dusk"]   { --ph-grad: linear-gradient(160deg,#C9B69E 0%,#9E8468 45%,#5E4B3A 100%); }
/* Richer golden-hour scenes for full-bleed placeholders (darker so ivory text pops) */
.ph[data-tone="hero"]   { --ph-grad: linear-gradient(165deg,#C79A64 0%,#A9713F 38%,#6E4327 68%,#33231A 100%); }
.ph[data-tone="dusk"]   { --ph-grad: linear-gradient(165deg,#B98F63 0%,#8A5E3C 40%,#4E3626 72%,#241811 100%); }
/* Colorway-tinted scenes for The Ayah */
.ph[data-tone="cw-ivory"]    { --ph-grad: linear-gradient(158deg,#FBF7F0 0%,#EDE4D5 46%,#D9CDBA 100%); }
.ph[data-tone="cw-white"]    { --ph-grad: linear-gradient(158deg,#FFFFFF 0%,#F4F1EC 46%,#E3DED6 100%); }
.ph[data-tone="cw-bordeaux"] { --ph-grad: linear-gradient(158deg,#D9BBB0 0%,#9E5563 44%,#5E1E2C 100%); }
.ph[data-tone="cw-neutral"]  { --ph-grad: linear-gradient(158deg,#EDE7DC 0%,#D5CBBB 46%,#B6AB99 100%); }
.ph[data-tone="cw-oxblood"]  { --ph-grad: linear-gradient(158deg,#C9A89E 0%,#7E3A42 44%,#431520 100%); }
.ph[data-tone="cw-marine"]   { --ph-grad: linear-gradient(158deg,#AFC0C9 0%,#4A6B82 44%,#1B3245 100%); }

/* Colorway swatch + pieces */
.swatches { display: flex; align-items: center; gap: 0.7rem; }
.swatch {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(33,27,20,0.15);
  box-shadow: inset 0 0 0 2px var(--ivory);
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out);
}
.swatch:hover { transform: scale(1.15); }
/* Linked colourways on the product page: one dot per colour of the style,
   the current one ringed. Sits above Size and follows the same field rhythm. */
.pdp__colours[hidden] { display: none; }
.pdp__cw-name {
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: color-mix(in srgb, var(--stone) 82%, transparent);
}
.pdp__cw-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.7rem; }
.pdp__cw-dot {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--espresso) 18%, transparent);
  padding: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px var(--bone);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pdp__cw-dot:hover { transform: translateY(-1px); }
.pdp__cw-dot.is-current {
  box-shadow: inset 0 0 0 2px var(--bone), 0 0 0 1px var(--espresso);
  cursor: default;
}
.pdp__cw-dot:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .pdp__cw-dot { transition: none; }
  .pdp__cw-dot:hover { transform: none; }
}
.swatch--tbc      { background: var(--cw-neutral); }
.swatch--ivory    { background: var(--cw-ivory); }
.swatch--white    { background: var(--cw-white); }
.swatch--bordeaux { background: var(--cw-bordeaux); }
.swatch--marine   { background: var(--cw-marine); }
.swatch--oxblood  { background: var(--cw-oxblood); }
.swatch--navy     { background: var(--cw-navy); }
.swatch--black    { background: var(--cw-black); }
.swatch--brown    { background: var(--cw-brown); }
.swatch--grey     { background: var(--cw-grey); }
.swatch--butter   { background: var(--cw-butter); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.10); }
.swatch--denim    { background: var(--cw-denim); }
.swatch--blue { background: var(--cw-blue); }
.swatch--grape    { background: var(--cw-grape); }
.swatch--tiffany  { background: var(--cw-tiffany); }
.swatch--tan      { background: var(--cw-tan); }
/* Gingham is a woven check, not a flat colour, so the swatch draws the weave. */
.pdp__cw-dot.swatch--gingham,
.shop-card .swatch--gingham,
.swatch--gingham {
  background-color: var(--cw-ivory);
  background-image:
    repeating-linear-gradient(90deg, rgba(30,42,68,0.62) 0, rgba(30,42,68,0.62) 5px, rgba(0,0,0,0) 5px, rgba(0,0,0,0) 10px),
    repeating-linear-gradient(0deg,  rgba(30,42,68,0.62) 0, rgba(30,42,68,0.62) 5px, rgba(0,0,0,0) 5px, rgba(0,0,0,0) 10px);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.14);
}
.swatch-label { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.pieces { display: grid; gap: 0.9rem; margin-top: 1.8rem; }
.piece {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}
.piece:last-child { border-bottom: 0; }
.piece__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; }
.piece__price { font-size: var(--step-0); letter-spacing: 0.04em; white-space: nowrap; }
.piece__price .cur { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.1em; }

/* Colorway chip on feature index */
.cw-chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.cw-chip i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* aspect ratios */
.ph--portrait { aspect-ratio: 3 / 4; }
.ph--tall     { aspect-ratio: 2 / 3; }
.ph--land     { aspect-ratio: 4 / 3; }
.ph--full     { position: absolute; inset: 0; height: 100%; }

.ph__media { will-change: transform; }

/* 12. COLLECTION GRID ------------------------------------------------- */
.grid-collection {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem) clamp(1rem, 1.6vw, 1.6rem);
}
.product { position: relative; }
.product__frame { position: relative; overflow: hidden; }
.product__frame .ph { transition: transform 1.1s var(--ease-out); }
.product:hover .ph { transform: scale(1.045); }
.product__wish {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 4;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ivory) 78%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 0; cursor: pointer;
  opacity: 0; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), background var(--dur);
}
.product:hover .product__wish { opacity: 1; transform: translateY(0); }
.product__wish:hover { background: var(--ivory); }
.product__quick {
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; z-index: 4;
  padding: 0.85rem;
  text-align: center;
  background: color-mix(in srgb, var(--ivory) 84%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  border-radius: 2px;
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.product:hover .product__quick { opacity: 1; transform: translateY(0); }
.product__meta {
  margin-top: 1.1rem;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.product__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; line-height: 1.1; }
.product__cat { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.08em; margin-top: 0.25rem; }
.product__price { font-family: var(--font-display); font-size: var(--step-0); white-space: nowrap; }

/* 13. MARQUEE --------------------------------------------------------- */

/* 14. NEWSLETTER ------------------------------------------------------ */

/* 14b. DRAWERS (account + bag) --------------------------------------- */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,17,12,0.42);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.drawer-scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; z-index: 310;
  height: 100svh; width: min(440px, 100%);
  background: var(--bone);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-inout);
  box-shadow: -30px 0 60px rgba(20,17,12,0.12);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem var(--space-md);
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1; }
.drawer__close {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--espresso);
  transition: background var(--dur), transform var(--dur) var(--ease-out);
}
.drawer__close:hover { background: var(--sand); transform: rotate(90deg); }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--space-md); }
.drawer__foot { padding: var(--space-md); border-top: 1px solid var(--line); }

/* Auth (sign in / create account) */
.auth-tabs { display: flex; gap: 1.8rem; margin-bottom: var(--space-md); border-bottom: 1px solid var(--line); }
.auth-tab {
  background: none; border: 0; cursor: pointer; padding: 0 0 0.9rem;
  font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  color: var(--muted); position: relative; font-family: var(--font-sans);
}
.auth-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--espresso); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.auth-tab.is-active { color: var(--espresso); }
.auth-tab.is-active::after { transform: scaleX(1); }
.auth-panel { display: none; }
.auth-panel.is-active { display: block; animation: fadeUp 0.5s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px);} to { opacity:1; transform:none; } }

.field { margin-bottom: 1.2rem; }
.field label {
  display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 0.5rem; font-family: var(--font-sans);
}
.field input {
  width: 100%; padding: 0.9rem 1rem;
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: 2px; color: var(--espresso); font-size: var(--step-0); font-family: var(--font-sans);
  transition: border-color var(--dur);
}
.field input:focus { outline: none; border-color: var(--espresso); }
.field input:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 1px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.auth-forgot { font-size: var(--step--1); color: var(--accent-ink); }
.auth-submit { width: 100%; justify-content: center; }
.auth-note {
  margin-top: 1.4rem; font-size: var(--step--1); color: var(--muted); text-align: center; line-height: 1.5;
}
.auth-msg { margin-top: 1.2rem; font-size: var(--step--1); color: var(--accent-ink); text-align: center; min-height: 1.2em; }

/* Bag / cart */
.piece__right { display: inline-flex; align-items: center; gap: 1.1rem; }
.piece__add {
  background: none; border: 0; cursor: pointer; font-family: var(--font-sans);
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--accent-ink); padding: 0.35rem 0; position: relative;
}
.piece__add::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease-out);
}
.piece__add:hover::after { transform: scaleX(1); transform-origin: left; }
.piece__add.added { color: var(--muted); }

.bag-empty { color: var(--muted); text-align: center; padding: var(--space-lg) 0; font-family: var(--font-body); }
.bag-empty a { color: var(--accent-ink); }
/* Empty cart / wishlist: a photograph across the top of the panel (as on the
   account panel) so the drawer never opens onto a bare page. */
.bag-empty { padding-top: 0; }
.bag-empty__img { display: block; width: calc(100% + var(--space-md) * 2); max-width: none; margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) 1.8rem; aspect-ratio: 4 / 5; object-fit: cover; }   /* Leah's three-panel Valencia, shown whole (2026-11-13) */
.bag-item { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-soft); }
.bag-item__thumb {
  width: 62px; height: 78px; flex: none; border-radius: 2px; overflow: hidden;
}
.bag-item__thumb img, .wish-item__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wish-item__thumb { overflow: hidden; }
.bag-item__info { flex: 1; display: flex; flex-direction: column; }
.bag-item__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.15; }
.bag-item__cw { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.bag-item__pre { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); margin-top: 0.25rem; }
.bag-item__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bag-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; }
.bag-qty button {
  width: 30px; height: 30px; background: none; border: 0; cursor: pointer; color: var(--espresso);
  font-size: 1rem; display: grid; place-items: center;
}
.bag-qty button:hover { color: var(--accent-ink); }
.bag-qty span { min-width: 22px; text-align: center; font-size: var(--step--1); }
.bag-item__price { font-family: var(--font-display); font-size: var(--step-1); }
.bag-remove { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: var(--step--1); letter-spacing: 0.04em; text-decoration: underline; text-underline-offset: 3px; }
.bag-remove:hover { color: var(--espresso); }

.bag-subtotal { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.4rem; }
.bag-subtotal .lbl { font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.bag-subtotal .val { font-family: var(--font-display); font-size: var(--step-2); }
.bag-ship { font-size: var(--step--1); color: var(--muted); margin-bottom: 1.2rem; font-family: var(--font-body); }
.bag-checkout { width: 100%; justify-content: center; }
.bag-checkout[disabled] { opacity: 0.4; pointer-events: none; }

/* Nav sign-in link */
.nav__signin {
  font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.nav__cart { background: none; border: 0; cursor: pointer; }

@media (max-width: 760px) {
  .nav__signin .label { display: none; }

  /* Three-part bar: menu left, wordmark centred, cart right. Four controls
     were previously bunched into 157px on the right, which buried the menu
     button among the icons. Equal 1fr side columns keep the wordmark centred. */
  .nav__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
  }
  .nav__toggle { display: flex; justify-self: start; }
  .nav__brand { justify-self: center; white-space: nowrap; }
  .nav__actions { justify-self: end; }
  /* Sign in moves into the overlay menu, where there is room for a label */
  .nav__signin { display: none; }

  /* The wordmark plus the icon row is wider than a phone, and flex was
     resolving that overflow by squashing the icons to about a third of their
     width (7px wide at 375px). Pin every control at its intrinsic size and
     let the row's gaps and the wordmark absorb the difference instead. */
  .nav__row { gap: 1rem; }
  .nav__actions { gap: 1.05rem; }
  .nav__actions > *,
  .nav__actions svg,
  .nav__actions .count,
  .nav__toggle { flex-shrink: 0; }
  .nav__actions svg { width: 21px; height: 21px; stroke-width: 1.2; }
  .nav__toggle { width: 26px; }
  .nav__brand { font-size: 1.35rem; min-width: 0; }
}
@media (max-width: 400px) {
  .nav__brand { font-size: 1.15rem; }
  .nav__actions { gap: 0.85rem; }
}

/* 14e. ACCESSORIES — Complete the Look ------------------------------- */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
}
.acc-card__media { overflow: hidden; border-radius: var(--radius); margin-bottom: 1.3rem; }
.acc-card__media .ph { transition: transform 1.1s var(--ease-out); }
.acc-card:hover .acc-card__media .ph { transform: scale(1.045); }
.acc-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.acc-card__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.1; }
.acc-card__price { font-family: var(--font-display); font-size: var(--step-1); white-space: nowrap; }
.acc-card__price .cur { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.1em; font-family: var(--font-sans); text-transform: uppercase; }
.acc-card__tones { display: flex; gap: 0.6rem; margin: 1.1rem 0 1.5rem; }
.acc-card__tones .swatch.is-active { box-shadow: inset 0 0 0 2px var(--ivory), 0 0 0 1.5px var(--espresso); }
.acc-card__add { width: 100%; justify-content: center; }
@media (max-width: 820px) {
  .acc-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 30rem; }
}

/* In-cart cross-sell */
.cross-sell:empty { display: none; }
.cross-title {
  font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; font-family: var(--font-sans);
  margin: 1.4rem 0 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.cross-item { display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem 0; }
.cross-item__thumb { width: 46px; height: 56px; flex: none; border-radius: 2px; overflow: hidden; }
.cross-item__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cross-item__info { flex: 1; display: flex; flex-direction: column; }
.cross-item__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.1; }
.cross-item__cw { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }
.cross-add {
  background: none; border: 1px solid var(--line); border-radius: 100px;
  padding: 0.45rem 1rem; font-family: var(--font-sans);
  font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--espresso); cursor: pointer; white-space: nowrap;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.cross-add:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }

/* Accessories grouped by colourway */
.acc-group { margin-top: var(--space-lg); }
.acc-group:first-of-type { margin-top: 0; }
.acc-group__title {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 500;
  margin-bottom: 1.6rem;
}
.acc-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(33,27,20,0.18); }
.acc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2vw, 2rem); }
@media (max-width: 640px) { .acc-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .acc-row { grid-template-columns: 1fr; } }

/* 14f. SHOP ALL ------------------------------------------------------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 2.2vw, 2.2rem);
}
.shop-card__media { overflow: hidden; border-radius: var(--radius); margin-bottom: 0.9rem; }
/* Per-card framing. Some lead shots are full-length with a lot of room
   around the subject, which leaves the thumbnail looking empty next to the
   tighter ones. A small scale closes that gap without re-cropping the file. */
 
/* The t-shirt dress lead shot sits high in its frame; showing more of the
   top of the photograph drops the subject down and opens a gap above. */
/* Card thumbnails are pre-cropped to 3:4 with the head at a fixed 7.5% from
   the top (see the card build), so they need no per-product nudging and the
   whole grid lines up. */
.shop-card__media .ph { transition: transform 1.1s var(--ease-out); }
.shop-card:hover .shop-card__media .ph { transform: scale(1.045); }
.shop-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; }
/* Card text: style name, then what it is, then price. The name is a short
   identifier now, so it sits just above the description rather than above it
   in scale. */
.shop-card__name {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.shop-card__desc {
  margin-top: 0.22rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  line-height: 1.4;
  color: var(--muted);
  text-wrap: pretty;
}
.shop-card__price {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--espresso);
}
.shop-card__price .cur { font-size: 0.72em; letter-spacing: 0.12em; color: var(--muted); }

.shop-card__price { font-family: var(--font-display); font-size: var(--step-0); white-space: nowrap; }
.shop-card__price .cur { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.1em; font-family: var(--font-sans); text-transform: uppercase; }
.shop-card__tones { display: flex; gap: 0.5rem; margin: 0.9rem 0 1.2rem; }
.shop-card__tones .swatch.is-active { box-shadow: inset 0 0 0 2px var(--ivory), 0 0 0 1.5px var(--espresso); }
.shop-card__add { width: 100%; justify-content: center; --pad-y: 0.85rem; }
@media (max-width: 1024px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }
/* Two up on phones: a single column made each card enormous and pushed the
   rest of the collection far below the fold. */
@media (max-width: 440px)  { .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0.85rem; } }

/* 14d. STYLING GALLERY (The Edit) ------------------------------------ */


/* 14c. SIZING / FIT --------------------------------------------------- */
.size-list {
  border-top: 1px solid var(--line);
  margin-bottom: var(--space-lg);
}
.size-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.size-item__name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1;
}
.size-item__opts { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.size-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--ivory);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  color: var(--espresso);
  white-space: nowrap;
  transition: border-color var(--dur), background var(--dur);
}
.size-chip:hover { border-color: var(--espresso); background: var(--sand); }

.fit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  border-top: 1px solid var(--line);
  padding-top: var(--space-lg);
}
.fit-card__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.size-help {
  margin-top: var(--space-lg);
  font-size: var(--step-0);
  color: var(--muted);
  max-width: 52ch;
}

@media (max-width: 860px) {
  .fit-cards { grid-template-columns: 1fr; gap: 1.8rem; }
  .size-item__name { font-size: var(--step-1); }
}

/* 14g. SIZE SELECT ---------------------------------------------------- */
.size-select { display: flex; align-items: center; gap: 0.7rem 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.size-select__label { font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.size-pill {
  background: var(--ivory); border: 1px solid var(--line); border-radius: 100px;
  padding: 0.55rem 1.1rem; font-family: var(--font-sans);
  font-size: 0.72rem; letter-spacing: 0.06em; color: var(--espresso); cursor: pointer;
  transition: border-color var(--dur), background var(--dur), color var(--dur);
}
.size-pill:hover { border-color: var(--espresso); }
.size-pill.is-active { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.size-pill--sm { padding: 0.42rem 0.75rem; font-size: 0.6rem; letter-spacing: 0.04em; }
.shop-card__sizes { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; align-items: center; min-height: 30px; }
.size-one { font-size: var(--step--1); letter-spacing: 0.08em; color: var(--muted); }

/* 14h. PRODUCT PAGE (PDP overlay) ------------------------------------- */
.pdp {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bone);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.pdp.is-open { opacity: 1; visibility: visible; }
.pdp__close {
  position: fixed; top: 1.4rem; right: clamp(1.25rem, 4vw, 4.5rem); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bone) 70%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center; cursor: pointer; color: var(--espresso);
  transition: background var(--dur), transform var(--dur) var(--ease-out);
}
.pdp__close:hover { background: var(--sand); transform: rotate(90deg); }
.pdp__inner {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.pdp__media { position: relative; overflow: hidden; background: var(--sand); }
.pdp__media .ph { position: absolute; inset: 0; height: 100%; }
/* ---- Product album -------------------------------------------------- */
/* Native scroll-snap does the swiping: no library, and it keeps working with
   JS disabled or still loading. */
.pdp__frames {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pdp__frames::-webkit-scrollbar { display: none; }
.pdp__frames:focus-visible { outline: 2px solid var(--bronze); outline-offset: -4px; }
.pdp__frame {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
}
.pdp__frame .ph { position: absolute; inset: 0; height: 100%; border-radius: 0; }
/* Placeholder caption: names the shot still to be taken. */
.pdp__shot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--espresso) 42%, transparent);
  white-space: nowrap;
}
/* Album controls: two hairline chevrons, no chrome. They sit over the image,
   so they carry a soft shadow rather than a box. */
.pdp__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--espresso);
  cursor: pointer;
  opacity: 0.72;
  filter: drop-shadow(0 1px 2px rgba(251, 248, 242, 0.75));
  transition: opacity 0.2s ease, transform 0.2s ease;
}
/* Desktop: the photo is taller than a laptop window, so its vertical middle
   fell below the fold (Inez: fully off screen at 1470x750). Centre the arrows
   in the part of the photo you can see, and give them the same cream circle
   as the site's other album arrows so they read on dark photos (Leah, 2026-11-15). */
/* The cream circle is on every screen size; Leah asked for it on phones too (2026-11-16). */
.pdp__nav {
  background: color-mix(in srgb, var(--bone) 82%, transparent);
  border-radius: 50%;
  opacity: 0.92;
  filter: none;
  box-shadow: 0 1px 4px rgba(33, 27, 20, 0.12);
}
@media (min-width: 900px) {
  .pdp__nav { top: min(50%, calc(50svh - 100px)); }
}
/* Desktop: the whole photo fits the window, with no scrolling to see it
   (Leah, 2026-11-16: on a MacBook the photo was 1434px tall in a 650px
   window). The photo column is exactly the visible height at 2:3 and stays
   put while the details scroll beside it. */
@media (min-width: 901px) {
  .pdp__inner {
    grid-template-columns: auto minmax(0, 46rem);
    justify-content: center;
    align-items: start;
  }
  .pdp__media {
    position: sticky; top: 0;
    height: calc(100svh - var(--pdp-top, 0px));
    aspect-ratio: 2 / 3;
    width: auto;
  }
  .pdp__nav { top: 50%; }
}
/* Phones: the same rule, the whole photo fits the visible screen. Full width
   when it already fits; on a shorter screen (Safari's bars showing) it shrinks
   to the visible height and centres, never cropping (Leah, 2026-11-16). */
@media (max-width: 900px) {
  /* Leave ~5.5rem of the first screen for the product name, so it shows right
     under the photo and people can tell there is more below (Leah, 2026-11-16). */
  .pdp__media {
    width: min(100%, calc((100svh - var(--pdp-top, 0px) - 5.5rem) * 2 / 3));
    justify-self: center;
  }
  .pdp .pdp__panel { padding-top: 0.9rem; }
  .pdp .pdp__panel .pdp__name { margin-top: 0.35rem; }
}
.pdp__nav svg { width: 1.3rem; height: 1.3rem; display: block; }
.pdp__nav--prev { left: clamp(0.35rem, 1.4vw, 1rem); }
.pdp__nav--next { right: clamp(0.35rem, 1.4vw, 1rem); }
.pdp__nav:hover { opacity: 1; }
.pdp__nav--prev:hover { transform: translateY(-50%) translateX(-2px); }
.pdp__nav--next:hover { transform: translateY(-50%) translateX(2px); }
.pdp__nav:disabled { opacity: 0.18; cursor: default; }
.pdp__nav:disabled:hover { transform: translateY(-50%); }
.pdp__nav[hidden] { display: none; }
.pdp__nav:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .pdp__nav { transition: none; }
  .pdp__nav:hover { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .pdp__frames { scroll-behavior: auto; }
}

/* =====================================================================
   BAG TOAST
   Sits clear of the header on desktop, thumb-height on a phone. Fades and
   lifts away on its own after a few seconds.
   ===================================================================== */
.toast {
  position: fixed;
  /* Above every overlay: the product page is 400, the VIP modal 320 and the
     drawers 310. At 400 it tied with the PDP and lost on DOM order, so an add
     made from a product page confirmed behind the product page. */
  z-index: 500;
  top: calc(var(--bar-h) + 4.4rem);
  right: clamp(0.9rem, 2.4vw, 2rem);
  width: min(25rem, calc(100vw - 2rem));
  display: flex;
  align-items: center;
  gap: 0.85rem;
  /* Extra right padding: the close button is absolutely positioned there and
     was sitting on top of "View bag". */
  padding: 0.8rem 1.6rem 0.8rem 0.9rem;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(33, 27, 20, 0.13);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}
.toast.is-open { opacity: 1; transform: translateY(0); }
.toast[hidden] { display: none; }
.toast__thumb {
  flex: 0 0 auto;
  width: 2.6rem;
  aspect-ratio: 3 / 4;
  border-radius: 1px;
}
.toast__body { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; flex: 1 1 auto; overflow: hidden; }
.toast__head {
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  /* One line always (two lines of "ADDED TO BAG" reads as an error), but
     clipped rather than allowed to run across the button beside it. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast__name {
  font-family: var(--font-display);
  font-size: var(--step-0);
  line-height: 1.2;
  color: var(--espresso);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.toast__meta {
  font-family: var(--font-body);
  font-size: var(--step--2);
  color: color-mix(in srgb, var(--stone) 82%, transparent);
}
.toast__view {
  flex: 0 0 auto;
  align-self: center;
  padding: 0.5rem 0.62rem;
  letter-spacing: 0.1em;
  border: 1px solid color-mix(in srgb, var(--espresso) 26%, transparent);
  background: none;
  border-radius: 1px;
  font-family: var(--font-display);
  font-size: var(--step--2);
  text-transform: uppercase;
  color: var(--espresso);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.toast__view:hover { background: var(--sand); border-color: var(--espresso); }
.toast__close {
  position: absolute;
  top: 0.3rem;
  right: 0.35rem;
  padding: 0.25rem;
  border: 0;
  background: none;
  color: color-mix(in srgb, var(--stone) 70%, transparent);
  cursor: pointer;
  line-height: 0;
}
.toast__close:hover { color: var(--espresso); }
.toast__view:focus-visible,
.toast__close:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
/* On a phone it sits at the bottom: within thumb reach and clear of the
   header, the bag icon and the VIP tab. */
@media (max-width: 700px) {
  .toast {
    top: auto;
    bottom: clamp(0.9rem, 3vw, 1.4rem);
    left: 50%;
    right: auto;
    width: calc(100vw - 1.8rem);
    gap: 0.7rem;
    padding: 0.75rem 1.4rem 0.75rem 0.8rem;
    transform: translate(-50%, 10px);
  }
  .toast.is-open { transform: translate(-50%, 0); }
  /* Buy back width for the product name on a narrow screen. */
  .toast__thumb { width: 2.15rem; }
  .toast__view { padding: 0.45rem 0.55rem; letter-spacing: 0.1em; }
  .toast__close { top: 0.2rem; right: 0.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.01s linear; transform: none; }
  .toast.is-open { transform: none; }
  @media (max-width: 700px) {
    .toast, .toast.is-open { transform: translateX(-50%); }
  }
}

/* Add-to-bag confirmation: the button reports the add, since the bag drawer
   no longer opens over the pairings below. */
.pdp__add.is-added { background: var(--bronze); border-color: var(--bronze); color: var(--bone); }
@media (prefers-reduced-motion: no-preference) {
  .pdp__add { transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
}

.pdp__panel {
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: safe center;
  padding: clamp(3rem, 6vw, 7rem) clamp(1.5rem, 5vw, 5.5rem);
  max-width: 660px;
}
.pdp__name {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--step-3); line-height: 1.02; letter-spacing: -0.01em;
  margin: 0.9rem 0 0.3rem;
}
.pdp__cw {
  font-family: var(--font-body); font-style: italic;
  font-size: var(--step-1); color: var(--accent-ink); margin-bottom: 0.6rem;
}
.pdp__price { font-family: var(--font-display); font-size: var(--step-2); }
.pdp__price .cur { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.1em; font-family: var(--font-sans); text-transform: uppercase; }
.pdp__desc { margin-top: 1.4rem; color: var(--muted); max-width: none; }
.pdp__field { margin-top: 2.2rem; width: 100%; }
.pdp__label { display: block; font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 0.9rem; }
.pdp__tones { display: flex; gap: 0.8rem; align-items: center; }
.pdp__tones .swatch { width: 26px; height: 26px; }
.pdp__tones .swatch.is-active { box-shadow: inset 0 0 0 2px var(--ivory), 0 0 0 1.5px var(--espresso); }
.pdp__add { margin-top: 2.6rem; width: 100%; max-width: 360px; justify-content: center; }
.pdp__note { margin-top: 1.1rem; font-size: var(--step--1); color: var(--muted); letter-spacing: 0.04em; }

/* Pre-order and back-in-stock.
   The size pills never change: availability is said here, under the main
   button, so no size is ever greyed out, faded or struck through. */
.pdp__preorder {
  margin-top: 0.85rem;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.pdp__notify { margin-top: 1.15rem; max-width: 360px; }
.pdp__notify-text {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.pdp__notify-row { display: flex; gap: 0.5rem; align-items: stretch; }
.pdp__notify-input {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: var(--step--1);
  padding: 0.72rem 0.85rem;
  color: var(--espresso);
  background: transparent;
  border: 1px solid rgba(20,17,12,0.22);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.pdp__notify-input::placeholder { color: var(--muted); opacity: 1; }
.pdp__notify-input:focus-visible { outline: 2px solid var(--espresso); outline-offset: 1px; }
.pdp__notify-btn {
  flex: 0 0 auto;
  font: inherit;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.72rem 1.15rem;
  cursor: pointer;
  color: var(--bone);
  background: var(--espresso);
  border: 1px solid var(--espresso);
}
.pdp__notify-btn:disabled { opacity: 0.55; cursor: default; }
.pdp__notify-msg {
  margin-top: 0.6rem;
  font-size: var(--step--1);
  line-height: 1.45;
  color: var(--muted);
  min-height: 1.1em;
}
.pdp__notify.is-done .pdp__notify-row,
.pdp__notify.is-done .pdp__notify-text { display: none; }
.pdp__notify.is-done .pdp__notify-msg { color: var(--espresso); margin-top: 0; }

/* "Style with" cross-sell */
.pdp__style {
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid color-mix(in srgb, var(--espresso) 14%, transparent);
  width: 100%;
}
.pdp__style-list { display: flex; flex-direction: column; gap: 0.55rem; }
.pdp-style-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0;
}
.pdp-style-item + .pdp-style-item { border-top: 1px solid color-mix(in srgb, var(--espresso) 8%, transparent); }
.pdp-style-item__ph {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  border-radius: 3px;
}
.pdp-style-item__info { display: flex; flex-direction: column; gap: 0.1rem; flex: 1 1 auto; min-width: 0; }
.pdp-style-item__name {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  color: var(--espresso);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.pdp-style-item__cw {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pdp-style-item__price {
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  color: var(--muted);
  white-space: nowrap;
}
.pdp-style-item__price .cur { font-size: 0.7em; letter-spacing: 0.1em; }
.pdp-style-item__add {
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1.05rem;
  border: 1px solid color-mix(in srgb, var(--espresso) 28%, transparent);
  background: transparent;
  color: var(--espresso);
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.pdp-style-item__add:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.pdp-style-item__add.added { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }

/* Refined size options */
.pdp__sizes { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.size-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem;
  padding: 0.9rem 1.3rem; min-width: 168px;
  border: 1px solid var(--line); border-radius: 3px; background: var(--ivory);
  cursor: pointer; text-align: left;
  transition: border-color var(--dur), background var(--dur);
}
.size-opt:hover { border-color: var(--stone); }
.size-opt.is-active { border-color: var(--espresso); background: var(--sand); }
.size-opt__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1; }
.size-opt__desc { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.size-opt--one { min-width: 0; cursor: default; }
.size-opt--one:hover { border-color: var(--line); }

@media (max-width: 900px) {
  .pdp__inner { grid-template-columns: 1fr; }
  /* The album was locked to 46svh — near square on a phone — so a 2:3
     product photograph lost a third of its height to the cover crop and the
     head went with it. Matching the frame to the photographs shows them whole. */
  .pdp__media { min-height: 0; aspect-ratio: 2 / 3; }
  .pdp__panel { padding-block: clamp(2.5rem, 8vw, 4rem); }
}

/* Product listing cards become click-through (no inline price/controls) */
.shop-card, .acc-card { cursor: pointer; }
.shop-card__view {
  display: inline-block; margin-top: 0.9rem;
  font-family: var(--font-sans); font-size: var(--step--1);
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--accent-ink);
}
.shop-card__cw {
  display: block; margin-top: 0.3rem;
  font-family: var(--font-sans); font-size: 0.66rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

/* 14j. CAMPAIGN ALBUM (carousel) -------------------------------------- */

/* 14i. HELP & CONTACT (FAQ) ------------------------------------------- */
.help-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; color: var(--espresso);
  transition: color var(--dur);
}
.faq__q:hover { color: var(--accent-ink); }
.faq__icon { position: relative; width: 15px; height: 15px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent-ink); transition: transform 0.4s var(--ease-out); }
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-inout); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 1.5rem; max-width: 62ch; }
.help-contact { background: var(--ivory); border: 1px solid var(--line); border-radius: 3px; padding: clamp(1.6rem, 3vw, 2.4rem); }
.help-contact__title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; margin-bottom: 0.4rem; }
.help-link { display: flex; flex-direction: column; gap: 0.15rem; padding: 1.1rem 0; border-top: 1px solid var(--line-soft); }
.help-link:first-of-type { margin-top: 1.4rem; }
.help-link span:first-child { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.help-link span:last-child { font-family: var(--font-display); font-size: var(--step-1); color: var(--espresso); transition: color var(--dur); }
.help-link:hover span:last-child { color: var(--accent-ink); }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; } }

/* The old pill-button filter component lived here; the shop filter row is
   now .shop-filter / .shop-filter__* further down. */
.shop-card.is-hidden { display: none; }

/* 14i2. CONTACT (legacy cards) ---------------------------------------- */
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.contact-method {
  display: flex; flex-direction: column; gap: 0.7rem; min-height: 200px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line); border-radius: 3px; background: var(--ivory);
  transition: border-color var(--dur), transform var(--dur) var(--ease-out);
}
.contact-method:hover { border-color: var(--espresso); transform: translateY(-3px); }
.contact-method__label { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.contact-method__value { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1.1; word-break: break-word; }
.contact-method__go { margin-top: auto; font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
@media (max-width: 760px) { .contact-methods { grid-template-columns: 1fr; } .contact-method { min-height: 0; } }

/* 14l. POSTCARDS FROM PARADISE (influencer grid) --------------------- */

/* 14k. LEGAL PAGES ---------------------------------------------------- */
.wrap--narrow { max-width: 820px; }
.legal__title { font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; line-height: 1; margin-top: 1rem; letter-spacing: -0.01em; }
.legal__meta { color: var(--muted); margin-top: 1rem; font-family: var(--font-body); font-style: italic; }
.legal { margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.legal h3 { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; margin: 1.8rem 0 0.5rem; }
.legal h3:first-child { margin-top: 0; }
.legal p { color: var(--muted); margin-bottom: 0.8rem; font-size: var(--step--1); line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 1.2rem; margin: 0 0 0.8rem; color: var(--muted); font-size: var(--step--1); line-height: 1.7; }
.legal li { margin-bottom: 0.45rem; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--espresso); font-weight: 600; }
.legal a { color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--bronze) 60%, transparent); }
.legal a:hover { color: var(--bronze); }

/* 14m. WISHLIST + SEARCH --------------------------------------------- */
.nav__icon { background: none; border: 0; cursor: pointer; color: var(--espresso); display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.1rem; position: relative; transition: color var(--dur); }
.nav__icon:hover { color: var(--accent-ink); }
.nav__wish .count { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 100px; background: var(--accent); color: var(--ivory); font-size: 0.6rem; letter-spacing: 0; }

.shop-card { position: relative; display: flex; flex-direction: column; }
/* pushes the price to the card foot so a row of prices lines up even when
   descriptions wrap to different numbers of lines */
.shop-card__price { margin-top: auto; padding-top: 0.6rem; }
.wish-btn {
  position: absolute; top: 0.7rem; right: 0.85rem; z-index: 5;
  background: none; border: 0; cursor: pointer; padding: 0.25rem;
  display: grid; place-items: center; color: var(--ivory);
  opacity: 0; transform: translateY(-5px);
  transition: opacity var(--dur), transform var(--dur) var(--ease-out), color var(--dur);
  filter: drop-shadow(0 1px 5px rgba(20,17,12,0.45));
}
.shop-card:hover .wish-btn, .wish-btn.is-active { opacity: 1; transform: none; }
.wish-btn svg { width: 22px; height: 22px; }
.wish-btn:hover { color: #ffffff; }
/* Wishlisted: the heart fills with zebra (#zebra-fill in index.html), with a
   fine espresso outline so the shape stays crisp (Leah, 2026-11-13). */
.wish-btn.is-active { color: var(--espresso); }
.wish-btn.is-active svg { fill: var(--espresso); stroke: var(--espresso); }   /* solid black (Leah: the zebra stripes looked strange) */
@media (hover: none) { .wish-btn { opacity: 1; transform: none; } }

.wish-item { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-soft); }
.wish-item__thumb { width: 60px; height: 76px; flex: none; border-radius: 2px; }
.wish-item__info { flex: 1; display: flex; flex-direction: column; }
.wish-item__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.1; }
.wish-item__cw { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }
.wish-item__foot { margin-top: auto; display: flex; gap: 1.2rem; }
.wish-item__foot button { background: none; border: 0; cursor: pointer; font-size: var(--step--1); letter-spacing: 0.04em; text-decoration: underline; text-underline-offset: 3px; }
.wish-item__view { color: var(--accent-ink); }
.wish-item__remove { color: var(--muted); }


/* 15. FOOTER ---------------------------------------------------------- */
/* Tightened: the footer was carrying 72px of top padding and another 61px
   of padding + margin under the wordmark before the columns began. */
/* Top padding matches the space under the wordmark so the mark sits evenly
   between the footer's top rule and its own divider (was 36px above / 19 below). */
.footer { padding-top: clamp(1.1rem, 2vw, 1.6rem); padding-bottom: clamp(1.8rem, 3vw, 2.4rem); border-top: 1px solid var(--line); }
.footer__brandrow {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--space-md); flex-wrap: wrap;
  padding-bottom: var(--space-lg); margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--line);
}
.footer__brand { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.4rem); font-weight: 500; line-height: 1; letter-spacing: 0.01em; }
.footer__tag { margin-top: 0.9rem; max-width: 34ch; color: var(--muted); }
.footer__join { --pad-y: 0.95rem; --pad-x: 2rem; }
.footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 640px;
  margin-inline: auto;
}
.footer__col h4 { margin-bottom: 1.3rem; }
/* The heading is a button so it can collapse on phones. On desktop it is
   styled to read as a plain heading and does nothing. */
.footer__toggle {
  width: 100%;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0; border: 0; background: none;
  font-family: var(--font-sans);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  text-align: left;
}
.footer__chev { display: none; }
.footer__col ul { list-style: none; display: grid; gap: 0.8rem; }
.footer__col a {
  font-family: var(--font-sans); font-size: var(--step--1);
  letter-spacing: 0.02em; color: var(--espresso);
  transition: color var(--dur);
}
.footer__col a:hover { color: var(--accent-ink); }
.footer__bottom {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  padding-top: clamp(1.1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--line);
  /* Centred stack, in line with the centred logo, icons and menus above. */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.7rem;
  font-family: var(--font-sans); font-size: var(--step--1);
  color: var(--muted); letter-spacing: 0.06em;
}
.footer__legal { display: flex; justify-content: center; gap: 1.6rem; flex-wrap: wrap; }
.footer__legal a { color: var(--muted); transition: color var(--dur); }
.footer__legal a:hover { color: var(--espresso); }

/* 16. ANIMATION BASE STATES -----------------------------------------
   Initial hidden states are set by GSAP (gsap.set in main.js) so units
   match the animated properties exactly — no CSS/GSAP conflict, no FOUC.
   With no JS / no GSAP, nothing is hidden (progressive enhancement).
   The .gsap-ready hook remains only for the reduced-motion safety net.
   -------------------------------------------------------------------- */

/* 17. REDUCED MOTION & RESPONSIVE ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero__scroll i { animation: none; }
  .gsap-ready .reveal,
  .gsap-ready .reveal-up,
  .gsap-ready .mask > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

@media (max-width: 1024px) {
  .grid-collection { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.2rem; }
}
@media (max-width: 900px) {
  .grid-craft { grid-template-columns: 1fr; gap: 2.5rem; max-width: 46ch; }
}

@media (max-width: 760px) {
  :root { --space-2xl: 6.5rem; --space-xl: 4.5rem; }
  .nav__links, .nav__cart span.label { display: none; }
  .nav__toggle { display: flex; }
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature--reverse .feature__text { order: 0; }
  .feature__media { order: -1; }
  .product__quick, .product__wish { opacity: 1; transform: none; } /* touch: always show */
  .hero { align-items: flex-end; }
}

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

/* =====================================================================
   EDITORIAL ELEVATION PASS — texture, colour blocking, type moments
   ===================================================================== */

/* Film grain — the whole site reads as printed matter, not a flat page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 7000;
  mix-blend-mode: multiply;
}

/* Hero — couture info strip on a hairline */
/* Tight to the title: at 2.4rem the tagline floated free of the name and
   pushed the CTA toward the fold on short screens. */
.hero__sub { margin-top: clamp(0.5rem, 1vw, 0.9rem); }
.hero__strip {
  margin-top: 2.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(251, 248, 242, 0.28);
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  flex-wrap: wrap;
}
.hero__strip span {
  color: var(--ivory);
  opacity: 0.85;
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero__strip .hero__scroll { margin-left: auto; }

/* Manifesto — espresso editorial band (colour blocking) */

/* Marquee — italic serif ribbon, alternating solid / outline */

/* Footer — oversized house wordmark */
.footer__logo {
  display: block;
  /* height:auto or the width/height attributes win as a presentational hint */
  width: clamp(96px, 12vw, 150px);
  height: auto;
  /* The lockup carries its own breathing room in print; on the page it was
     landing hard against the rule above and the social row below. */
  margin: clamp(0.9rem, 2vw, 1.4rem) auto clamp(1.8rem, 4.5vw, 3.2rem);
}
.footer__mark {
  font-family: var(--font-display);
  font-weight: 500;
  /* Was clamp(1.9rem, 3.6vw, 2.9rem) — the 1.9rem floor made it 78% of a
     phone screen. Smaller floor and ceiling so it reads as a mark, not a banner. */
  font-size: clamp(1.1rem, 3vw, 1.9rem);
  line-height: 1;
  letter-spacing: 0.32em;
  /* Optical centring for the tracked wordmark. Measured from the real glyph
     edges rather than the line box: 0.32em overshoots right, 0.16em (half the
     tracking) undershoots left because the M and h carry side bearings. */
  text-indent: 0.24em;
  text-transform: uppercase;
  text-align: center;
  color: var(--espresso);
  padding-bottom: clamp(1.1rem, 2vw, 1.6rem);
  margin-bottom: clamp(1.2rem, 2.2vw, 1.8rem);
  border-bottom: 1px solid var(--line);
}

/* Shop cards — hairline frames so the grid reads considered, not bare */
.shop-card__media .ph,

@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
}

/* Lookbook — editorial campaign page */
.lb-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.lb-note { margin: 0; }
.lb-note .ph {
  aspect-ratio: 3 / 4;
  border: 1px solid color-mix(in srgb, var(--espresso) 10%, transparent);
}
.lb-note:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.lb-note figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-top: 0.9rem;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lb-note figcaption span { color: var(--bronze); }
.lb-credits {
  text-align: center;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  font-size: var(--step--1);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 760px) {
  .lb-notes { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .lb-note:nth-child(2) { margin-top: 0; }
}

/* Home — The Ayah Collection cards (image links) */

/* Hero strip — collection lead label */
.hero__strip .hero__strip-lead {
  color: var(--bronze);
  padding-right: clamp(0.6rem, 2vw, 1.6rem);
  border-right: 1px solid rgba(251, 248, 242, 0.28);
}


/* Shop All — reset filtered view */

/* Letter sizes (XS–L) — compact square chips */
.size-opt--letter {
  min-width: 3rem;
  justify-content: center;
  padding: 0.85rem 1rem;
}
.size-opt--letter .size-opt__name { letter-spacing: 0.08em; }

/* Size guide modal */
.pdp__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.pdp__sizeguide {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid color-mix(in srgb, var(--espresso) 30%, transparent);
  padding: 0 0 0.15rem;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.pdp__sizeguide:hover { color: var(--bronze); border-color: var(--bronze); }

.sizeguide {
  position: fixed; inset: 0; z-index: 600;
  display: grid; place-items: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.sizeguide.is-open { opacity: 1; visibility: visible; }
.sizeguide__scrim {
  position: absolute; inset: 0;
  background: rgba(20, 17, 12, 0.45);
}
.sizeguide__panel {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 640px;
  width: 100%;
  max-height: calc(100svh - 3rem);
  overflow-y: auto;
  transform: translateY(10px);
  transition: transform 0.35s var(--ease-out);
}
.sizeguide.is-open .sizeguide__panel { transform: none; }
.sizeguide__close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: 0; cursor: pointer;
  color: var(--espresso);
  padding: 0.5rem;
}
.sizeguide__close:hover { color: var(--bronze); }
.sizeguide__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-2);
  margin-top: 0.9rem;
}
.sizeguide__table {
  width: 100%;
  margin-top: 1.6rem;
  border-collapse: collapse;
  font-size: var(--step--1);
}
.sizeguide__table th {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: left;
  padding: 0 0.6rem 0.7rem 0;
}
.sizeguide__table td {
  font-family: var(--font-body);
  color: var(--espresso);
  padding: 0.7rem 0.6rem 0.7rem 0;
  border-top: 1px solid color-mix(in srgb, var(--espresso) 10%, transparent);
}
.sizeguide__table td:first-child {
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  font-weight: 600;
}
.sizeguide__note {
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.6;
}

/* Shipping pricing table */
.ship-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.4rem;
}
.ship-table td {
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--stone);
  padding: 0.65rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--espresso) 10%, transparent);
}
.ship-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  color: var(--espresso);
}

/* Shipping & Returns — editorial service page */
.ship { max-width: 1020px; margin-inline: auto; }
.ship-chapter {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: clamp(3.2rem, 6vw, 5rem) 0 clamp(1.6rem, 3vw, 2.4rem);
  font-size: var(--step--1);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze);
}
.ship-chapter span {
  display: block;
  height: 1px;
  flex: 1 1 auto;
  background: color-mix(in srgb, var(--bronze) 40%, transparent);
}
.tariff__row {
  display: grid;
  grid-template-columns: minmax(0, 230px) 1fr auto;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent);
}
.tariff__row:last-child { border-bottom: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent); }
.tariff__name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
}
.tariff__desc {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--step--1);
  color: var(--muted);
}
.tariff__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  color: var(--espresso);
  white-space: nowrap;
}
.ship-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem clamp(1.6rem, 4vw, 3rem);
  padding: 1.1rem 0;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
  border-block: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent);
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--espresso);
}
.ship-facts span { display: inline-flex; align-items: center; gap: clamp(1.6rem, 4vw, 3rem); }
.ship-facts span + span::before {
  content: "";
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--bronze);
}
.ship-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4.5rem);
}
.ship-grid--delivery { margin-top: clamp(2rem, 4vw, 3rem); }
.ship-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.ship-block p {
  font-family: var(--font-body);
  font-size: var(--step--1);
  line-height: 1.7;
  color: var(--muted);
}
.ship-block p + p { margin-top: 0.85rem; }
@media (max-width: 820px) {
  .ship-grid { grid-template-columns: 1fr; }
  .tariff__row { grid-template-columns: 1fr auto; }
  .tariff__desc { grid-column: 1 / -1; order: 3; }
}

/* Help & Contact — concierge cards + refined FAQ */
.page[data-page="help"] .wrap > .sig-head,
.page[data-page="help"] .concierge,
.page[data-page="help"] .ship-chapter,
.help-faq { max-width: 1020px; margin-inline: auto; }
.concierge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.concierge-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: clamp(1.4rem, 2.5vw, 2rem) 0 clamp(1.2rem, 2vw, 1.6rem);
  border-top: 1px solid color-mix(in srgb, var(--espresso) 30%, transparent);
  color: inherit;
  transition: border-color var(--dur) var(--ease-out);
}
.concierge-card:hover { border-top-color: var(--bronze); }
.concierge-card__label {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}
.concierge-card__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
  color: var(--espresso);
  transition: color var(--dur) var(--ease-out);
  overflow-wrap: anywhere;
}
.concierge-card:hover .concierge-card__value { color: var(--bronze); }
.concierge-card__note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--step--1);
  color: var(--muted);
}
.help-faq .faq { border-top: 0; }
.help-faq .faq__q span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}
.help-faq .faq__q { padding-block: 1.4rem; }
.help-faq .faq__a p { max-width: none; padding-right: clamp(2rem, 6vw, 5rem); }
@media (max-width: 820px) {
  .concierge { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* Cleaner nav — no count badges on wishlist / bag */
.nav__wish .count,
.nav__cart .count { display: none; }


.ship-block a {
  color: var(--espresso);
  border-bottom: 1px solid color-mix(in srgb, var(--espresso) 35%, transparent);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.ship-block a:hover { color: var(--bronze); border-color: var(--bronze); }


/* MOBILE FIXES — these must stay last in the file */
@media (max-width: 620px) {
  /* hero strip: collection name on its own line, tones beneath */
  .hero__strip { gap: 0.8rem 1.3rem; }
  .hero__strip .hero__strip-lead {
    flex-basis: 100%;
    border-right: 0;
    padding-right: 0;
  }
}

/* PDP — tighter rhythm so "Style with" is visible without scrolling */
.pdp__field { margin-top: 1.7rem; }
.pdp__add { margin-top: 1.9rem; }
.pdp__note { margin-top: 0.9rem; }
.pdp__notify, .pdp__preorder { max-width: none; }
.pdp__notify-row { flex-wrap: wrap; }
.pdp__notify-input { flex: 1 1 100%; }
.pdp__notify-btn { flex: 1 1 100%; }
.pdp__style { margin-top: 1.6rem; padding-top: 1.4rem; }
.pdp-style-item { padding: 0.4rem 0; }
.pdp-style-item__ph { width: 40px; height: 40px; }

/* PDP — add-to-bag row with wishlist heart */
.pdp__actions {
  display: flex;
  align-items: stretch;
  gap: 0.7rem;
  margin-top: 1.9rem;
  width: 100%;
  max-width: 360px;
}
.pdp__actions .pdp__add { margin-top: 0; flex: 1 1 auto; }
.pdp__wish-btn {
  flex: 0 0 auto;
  width: 54px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid color-mix(in srgb, var(--espresso) 30%, transparent);
  border-radius: 2px;
  color: var(--espresso);
  cursor: pointer;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.pdp__wish-btn:hover { color: var(--bronze); border-color: var(--bronze); }
.pdp__wish-btn.is-active { color: var(--espresso); border-color: var(--espresso); }
.pdp__wish-btn.is-active svg { fill: var(--espresso); stroke: var(--espresso); }   /* solid black (Leah: the zebra stripes looked strange) */

/* Bag line — move to wishlist alongside remove */
.bag-item__actions { display: flex; gap: 1.1rem; align-items: baseline; }
.bag-save {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid color-mix(in srgb, var(--espresso) 25%, transparent);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.bag-save:hover { color: var(--bronze); border-color: var(--bronze); }

/* PDP — sarong styling link */

/* Style-with rows are viewable, not just addable */
.pdp-style-item[data-view], .cross-item[data-view] { cursor: pointer; }
.pdp-style-item[data-view]:hover .pdp-style-item__name,
.cross-item[data-view]:hover .cross-item__name { color: var(--bronze); }


/* Mobile hero title — sized to fill the column over two lines. Held to one
   line it maxed out at ~8.6vw, which left a thin line running edge to edge
   and reading lighter than the CTA beneath it. */
@media (max-width: 620px) {
  .hero__title { font-size: clamp(2.4rem, 12.4vw, 3.6rem); line-height: 1.0; letter-spacing: -0.015em; }
  /* one short word has far more room than a three-word title, so it is not
     held to the same cap — at 12.4vw "Temptress" filled under half the column */
  .hero__title--solo { font-size: clamp(4rem, 24vw, 7rem); letter-spacing: -0.03em; }
}

/* Base element resets (previously provided by the removed Tailwind preflight) */
ul, ol { list-style: none; margin: 0; padding: 0; }
button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: inherit; }
img, svg, video { display: inline-block; max-width: 100%; vertical-align: middle; }
fieldset { border: 0; margin: 0; padding: 0; }

/* =====================================================================
   ARABIC / RTL
   ===================================================================== */
.nav__lang {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  color: var(--espresso);
  padding: 0.35rem 0.5rem;
  transition: color var(--dur) var(--ease-out);
}
.nav__lang:hover { color: var(--bronze); }
.hero ~ * .nav__lang { color: inherit; }
.menu__lang {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--stone);
  padding: 0;
  margin-top: 0.9rem;
}
html[lang="ar"] {
  --font-display: 'Amiri', 'Cormorant Garamond', serif;
  --font-sans: 'Amiri', 'Cormorant Garamond', serif;
  --font-body: 'Amiri', 'Newsreader', serif;
}
html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] .hero__title { font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.45; }
html[lang="ar"] .sig-head__title,
[dir="rtl"] .sig-head,
[dir="rtl"] .ship-block,
[dir="rtl"] .concierge-card,
[dir="rtl"] .footer__col,
[dir="rtl"] .pdp__panel,
[dir="rtl"] .faq__q,
[dir="rtl"] .bag-item__info,
[dir="rtl"] .wish-item__info,
[dir="rtl"] .cross-item__info,
[dir="rtl"] .pdp-style-item__info { text-align: right; }
[dir="rtl"] .hero__strip-lead {
  border-right: 0;
  border-left: 1px solid rgba(251, 248, 242, 0.28);
  padding-right: 0;
  padding-left: clamp(0.6rem, 2vw, 1.6rem);
}
[dir="rtl"] .hero__strip .hero__scroll { margin-left: 0; margin-right: auto; }
[dir="rtl"] .ship-table td:last-child { text-align: left; }
[dir="rtl"] .tariff__price { text-align: left; }

/* Hero video — sits over the poster image, hidden for reduced-motion */
.hero__vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 4;
}
@media (prefers-reduced-motion: reduce) { .hero__vid { display: none; } }

/* Focus: no ring on mouse/tap (Safari's default box), ring for keyboard only */
button:focus, a:focus { outline: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

/* Account drawer — real Shopify handoff */
.acct-lead {
  font-family: var(--font-body);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}
.acct-media { margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) 1.6rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
/* The sign-in photograph (studio rail and moodboard) is tall and the panel
   is 4:3, so only a horizontal band of it survives. Sit that band at the
   middle: it keeps the whole moodboard and the bags on the rail. */
.acct-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; display: block; }
.acct-title { font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); line-height: 1.05; margin-bottom: 0.6rem; }
.acct-title em { font-style: italic; color: var(--bronze); }
.acct-btn { width: 100%; justify-content: center; }
/* Sign in buttons (account panel + mobile menu) are always filled in the
   espresso hover colour, so the main action stands out; hover deepens to bronze. */
.acct-btn, .menu__signin { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.acct-btn:hover, .menu__signin:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); color: var(--ivory); }
.acct-alt {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
}
.acct-alt:hover { color: var(--bronze); }
.acct-note {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent);
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.65;
}

/* Join the House — real signup handoff */

/* =====================================================================
   VIP INVITATION — edge tab + centred modal
   The tab persists so the invitation can always be reopened; the modal
   itself shows once per visitor (dismissal is remembered in localStorage).
   ===================================================================== */
.viptab {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 290;
  transform: translateY(-50%);
  padding: 1.4rem 0.62rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 0 2px 26px rgba(20, 17, 12, 0.1);
  transition: color var(--dur) var(--ease-out),
              padding var(--dur) var(--ease-out),
              opacity var(--dur) var(--ease-out);
}
.viptab:hover { color: var(--bronze); padding-left: 0.95rem; }

/* Fades back while the page is moving so it stops competing with content,
   and returns as soon as scrolling settles or the tab is hovered/focused. */
.viptab.is-dim { opacity: 0.28; }
.viptab.is-dim:hover, .viptab.is-dim:focus-visible { opacity: 1; }
.viptab:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.viptab.is-gone { display: none; }
/* The tab sits above the page (z-index 290) but the overlay menu is 90, so it
   painted over the open menu and clipped the links. Hide it while open. */
.nav.menu-open ~ .viptab { opacity: 0; visibility: hidden; pointer-events: none; }

.vip {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.vip.is-open { opacity: 1; visibility: visible; }
.vip__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 12, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.vip__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(880px, 100%);
  max-height: min(88svh, 640px);
  overflow: hidden;
  background: var(--bone);
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(20, 17, 12, 0.3);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.6s var(--ease-out);
}
.vip.is-open .vip__panel { transform: none; }
.vip__panel::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
}

.vip__media { position: relative; overflow: hidden; background: var(--sand); }
.vip__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease-out);
}
.vip.is-open .vip__media img { transform: scale(1); }


.vip__body {
  padding: clamp(2rem, 4vw, 3.2rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.vip__eyebrow {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: var(--step--1);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze);
  white-space: nowrap;
}
.vip__eyebrow span {
  display: block; height: 1px; flex: 1 1 auto;
  background: color-mix(in srgb, var(--bronze) 40%, transparent);
}
.vip__title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-top: 1rem;
}
.vip__title em { font-style: italic; font-weight: 500; color: var(--bronze); }
.vip__lead { color: var(--muted); margin-top: 0.9rem; line-height: 1.7; font-style: italic; }

.vip__perks { list-style: none; margin: 1.7rem 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.vip__perks li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--step-0);
  line-height: 1.4;
}
.vip__num {
  flex: 0 0 auto;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
}

.vip__form { margin-top: 1.8rem; }
.vip__label {
  display: block;
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.vip__input {
  width: 100%;
  padding: 0.95rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--fg);
  transition: border-color var(--dur) var(--ease-out);
}
.vip__input::placeholder { color: color-mix(in srgb, var(--stone) 55%, transparent); }
.vip__input:focus { outline: 0; border-color: var(--bronze); }
.vip__input[aria-invalid="true"] { border-color: var(--cw-bordeaux); }
/* Spans the same measure as the email field above it, so the button's edges
   line up with the field rather than floating mid-column. */
.vip__submit { margin-top: 1.9rem; width: 100%; }
.vip__msg { min-height: 0; margin-top: 0.7rem; font-size: var(--step--1); color: var(--bronze-deep); }
/* Fine print sits under the button as part of the action, not stranded at
   the panel foot — so no seating rule, just close quiet spacing. */
.vip__note {
  margin-top: 1.05rem;
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.7;
  text-wrap: pretty;
}

.vip__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--espresso);
  cursor: pointer;
  transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.vip__close:hover { color: var(--bronze); transform: rotate(90deg); }
.vip__close:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* The edge tab steps aside while the invitation is open, so it never shows
   through behind the panel. */
body:has(.vip.is-open) .viptab { opacity: 0; visibility: hidden; pointer-events: none; }

@media (max-width: 760px) {
  /* Phones: a sheet that rises from the bottom edge, photograph on top,
     form within thumb reach. Replaces the centred card, which lost its
     photograph at this width and floated as a bare box over the hero. */
  .vip { place-items: end stretch; padding: 0; }
  .vip__scrim { background: rgba(20, 17, 12, 0.62); }
  .vip__panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    max-height: 92svh;
    border-radius: 0;
    box-shadow: 0 -18px 60px rgba(20, 17, 12, 0.35);
    transform: translateY(100%);
    transition: transform 0.55s var(--ease-out);
  }
  .vip__media { display: block; height: clamp(150px, 27svh, 230px); }
  .vip__media img { object-position: 50% 40%; }
  .vip__body {
    justify-content: flex-start;
    padding: 1.6rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  }
  .vip__title { font-size: clamp(2.1rem, 9.5vw, 2.6rem); margin-top: 0; }
  .vip__lead { margin-top: 0.55rem; font-size: 0.98rem; line-height: 1.55; }
  .vip__form { margin-top: 1.3rem; }
  .vip__label { margin-bottom: 0.25rem; }
  /* 16px stops iOS zooming the page when the field is tapped. */
  .vip__input { font-size: 16px; padding: 0.8rem 0; }
  .vip__submit { margin-top: 1.3rem; min-height: 46px; }
  .vip__note { margin-top: 0.8rem; text-align: center; }
  .vip__close {
    top: 0.85rem; right: 0.85rem;
    width: 40px; height: 40px;
    background: color-mix(in srgb, var(--ivory) 88%, transparent);
    box-shadow: 0 2px 12px rgba(20, 17, 12, 0.18);
  }
  /* Kept on phones too, at a reduced size so it intrudes as little as
     possible over the grid edge. */
  .viptab { padding: 1rem 0.45rem; letter-spacing: 0.14em; font-size: 0.66rem; }
}
@media (prefers-reduced-motion: reduce) {
  .vip__panel { transition: none; transform: none; }
  .vip__media img { transition: none; transform: none; }
  .vip__close:hover { transform: none; }
}

/* =====================================================================
   EDIT HEADER — page title above the shop grid
   ===================================================================== */
.edit-head { padding-bottom: clamp(1.4rem, 2.5vw, 2.4rem); }
/* Zebra-framed heading cards: the title and the text under it, on the shop
   views and the Help / Shipping pages (Leah, 2026-11-13). 8px of the same
   sofa zebra as the film's mount. build.sh copies
   assets/images/zebra-mount-2.jpg (named here on purpose). */
.edit-head__inner,
.sig-head {
  width: fit-content; max-width: min(760px, 100%); margin-inline: auto;
  margin-top: clamp(1.5rem, 3vw, 2.6rem);
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.4rem, 4vw, 3.2rem) !important;
  border: 8px solid transparent;
  background:
    linear-gradient(var(--bone), var(--bone)) padding-box,
    var(--espresso) url(../images/zebra-mount-2.jpg) center / cover border-box;
}
.edit-head__sub, .sig-head__sub { margin-bottom: 0; }
/* --bar-h counts only the nav row, but the sticky header also carries the
   announcement bar, so the shared section:first-child offset leaves the
   title flush against it. The gap goes on the inner wrapper because that
   first-child rule outranks .edit-head and would override it here. */
.edit-head__inner { text-align: center; padding-top: clamp(1.5rem, 3vw, 2.6rem); }
.edit-head__title {
  font-family: var(--font-display);
  font-weight: 500;
  /* Deliberately below --step-4: these sit above a product grid, so the grid
     should lead and the title should introduce it, not dominate the screen. */
  font-size: clamp(2.1rem, 1.6rem + 2.5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.edit-head__title em { font-style: italic; font-weight: 500; color: var(--bronze); }
/* Swimwear / Accessories / Sale are categories, not named collections. Same
   face, one step down from --step-4, so a named collection stays the largest
   title on the page and the hierarchy reads correctly. */
.edit-head__title.is-general {
  font-size: clamp(1.7rem, 1.35rem + 1.7vw, 2.6rem);
  letter-spacing: -0.012em;
}
/* Sits under a very large display title, so it reads as a caption rather
   than a paragraph — small, quiet, on a narrow measure. */
.edit-head__sub {
  max-width: 72ch;
  margin: 1.3rem auto 0;
  font-family: var(--font-body);
  font-size: var(--step--1);
  line-height: 1.7;
  letter-spacing: 0.015em;
  color: color-mix(in srgb, var(--stone) 88%, transparent);
  text-wrap: balance;
}
@media (max-width: 560px) {
  /* Mobile: use the full measure and tighten the leading so a 4-line
     paragraph reads as one compact block rather than a tall stack. */
  .edit-head__sub {
    max-width: 100%;
    margin-top: 0.85rem;
    line-height: 1.5;
    letter-spacing: 0.005em;
  }
}

/* =====================================================================
   NAV DROPDOWN — Collections
   ===================================================================== */
.nav__drop { position: relative; display: flex; align-items: center; }
.nav__drop-toggle {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  /* Same box as the plain links (line height and the 2px underline gap), so
     dropdown labels sit on the same line as New In and Accessories. */
  line-height: inherit;
  padding: 0 0 2px;
  color: var(--espresso);
}
.nav__drop-menu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 208px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 46px rgba(20, 17, 12, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              visibility var(--dur-fast);
}
.nav__drop-menu li { display: block; }
.nav__drop-menu a {
  display: block;
  padding: 0.68rem 1.4rem;
  white-space: nowrap;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav__drop-menu a:hover { color: var(--bronze); background: var(--sand); }
/* Open on hover for pointers, on focus for keyboards, and on click for touch */
.nav__drop:hover .nav__drop-menu,
.nav__drop:focus-within .nav__drop-menu,
.nav__drop-toggle[aria-expanded="true"] + .nav__drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mobile overlay: the edit sits nested under its heading, always visible */
/* Collections heads its own group — it needs air above it so it stops
   reading as part of the link before it. */
.menu__drop { padding-top: 0.5rem; }
.menu__drop-label {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
}
.menu__drop-menu a { font-size: clamp(0.95rem, 3.1vw, 1.2rem); }
.menu__drop-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .nav__drop-menu { transition: opacity var(--dur-fast); transform: translateX(-50%); }
  .nav__drop:hover .nav__drop-menu,
  .nav__drop:focus-within .nav__drop-menu,
  .nav__drop-toggle[aria-expanded="true"] + .nav__drop-menu { transform: translateX(-50%); }
}


/* =====================================================================
   HOME RAIL — featured pieces under the hero, on a rotating cycle
   Cards carry .shop-card so they inherit the card styling, the wishlist
   button, the price sync and the click-to-open-product wiring.
   ===================================================================== */
.rail { --per: 4; --rail-gap: clamp(1.4rem, 2.2vw, 2.2rem); }

.rail__viewport { overflow: hidden; }
.rail__track {
  display: flex;
  gap: var(--rail-gap);
  transition: transform 0.9s var(--ease-inout);   /* normal speed again: it only moves on a click now */
  will-change: transform;
}
.rail__item {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--rail-gap)) / var(--per));
  min-width: 0;
}

/* Arrows (shared .album__nav look) sit over the photos, centred on them. */
#featured .wrap { position: relative; }
.rail__nav { top: 38%; }
.rail__nav[hidden] { display: none; }
.rail__dot {
  width: 7px; height: 7px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.rail__dot.is-active { background: var(--bronze); transform: scale(1.35); }
.rail__dot:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

@media (max-width: 1024px) { .rail { --per: 3; } }
@media (max-width: 760px)  { .rail { --per: 2; } }
@media (max-width: 440px)  { .rail { --per: 1; } }
@media (prefers-reduced-motion: reduce) { .rail__track { transition: none; } }


/* =====================================================================
   ALBUM — one photograph per slide, under the rail
   ===================================================================== */
.album__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.album__viewport:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
/* Native scroll-snap rather than a transformed track: a transform cannot be
   swiped, which left this dead to touch on a phone. */
.album__track {
  --album-per: 2;
  --album-gap: clamp(0.6rem, 1.4vw, 1.1rem);
  display: flex;
  gap: var(--album-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* No scroll-behavior: smooth here. With scroll-snap-type: mandatory it
     cancels programmatic scrolls outright — snap re-targeting kills the
     animation and the track lands back where it started, so the arrows and
     the timer silently did nothing. Smoothness is passed per call from JS. */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.album__track::-webkit-scrollbar { display: none; }
.album__slide {
  flex: 0 0 calc((100% - (var(--album-per) - 1) * var(--album-gap)) / var(--album-per));
  margin: 0; scroll-snap-align: start;
}
.album__slide img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* These sit over real photographs whose tone is unknown, and a bone chevron
   on pale stone was invisible — the album read as one static image. A soft
   disc guarantees contrast on any picture without adding a hard button. */
.album__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bone) 82%, transparent);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 6px rgba(33, 27, 20, 0.16);
  color: var(--espresso);
  cursor: pointer;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.album__nav:hover { background: var(--bone); }
.album__nav svg { width: 1.35rem; height: 1.35rem; display: block; }
.album__nav--prev { left: clamp(0.4rem, 1.6vw, 1.1rem); }
.album__nav--next { right: clamp(0.4rem, 1.6vw, 1.1rem); }
.album__nav:hover { opacity: 1; }
.album__nav--prev:hover { transform: translateY(-50%) translateX(-2px); }
.album__nav--next:hover { transform: translateY(-50%) translateX(2px); }
.album__nav:disabled { opacity: 0.28; cursor: default; }
.album__nav:disabled:hover { transform: translateY(-50%); }
.album__nav:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .album__nav { transition: none; }
  .album__nav:hover { transform: translateY(-50%); }
}

@media (max-width: 640px) {
  .album__track { --album-per: 1; }
}
@media (prefers-reduced-motion: reduce) { .album__track { transition: none; } }


/* =====================================================================
   AS SEEN ON — the collection worn, under the album
   ===================================================================== */
#seen-on.section { padding-bottom: clamp(1.1rem, 1.8vw, 1.8rem); }
.seen-on__head { margin-bottom: clamp(0.9rem, 1.6vw, 1.4rem); }
.seen-on__viewport { position: relative; }
/* Native scroll-snap rather than a transformed track, for the same reason the
   album uses it: a transform cannot be swiped, which leaves it dead to touch.
   The arrows and the keyboard drive the same scroll. */
.seen-on__track {
  --seen-gap: clamp(0.6rem, 1.4vw, 1.1rem);
  --seen-per: 4;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--seen-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.seen-on__track::-webkit-scrollbar { display: none; }
.seen-on__track:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.seen-on__item {
  flex: 0 0 calc((100% - (var(--seen-per) - 1) * var(--seen-gap)) / var(--seen-per));
  scroll-snap-align: start;
}
.seen-on__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.seen-on__img {
  width: 100%;
  /* height:auto is load-bearing: the width/height attributes on the <img>
     are a presentational hint of height:1200px, and aspect-ratio is ignored
     unless height is auto. Without it each photo renders 1200px tall. */
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.seen-on__figure:hover .seen-on__img { transform: scale(1.03); }

@media (max-width: 900px) { .seen-on__track { --seen-per: 3; } }
@media (max-width: 640px) { .seen-on__track { --seen-per: 2; } }
@media (prefers-reduced-motion: reduce) {
  .seen-on__img { transition: none; }
  .seen-on__figure:hover .seen-on__img { transform: none; }
}


/* Footer sections collapse into centred rows at every width — the same
   treatment on desktop as on a phone. */
.footer__col { border-top: 1px solid var(--line-soft); }
.footer__col:last-child { border-bottom: 1px solid var(--line-soft); }
.footer__col h4 { margin-bottom: 0; }
.footer__toggle {
  justify-content: center;
  padding: 1.1rem 0;
  cursor: pointer;
  position: relative;
}
.footer__chev {
  display: block;
  width: 8px; height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}
.footer__toggle[aria-expanded="false"] + ul,
.footer__col ul[hidden] { display: none; }
.footer__toggle[aria-expanded="true"] .footer__chev { transform: translateY(2px) rotate(225deg); }
.footer__col ul { justify-items: center; padding-bottom: 1.2rem; gap: 0.9rem; }


/* Social row — centred under the wordmark */
.footer__social {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 2.4rem);
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  color: var(--espresso);
  transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.footer__social svg { width: 21px; height: 21px; display: block; }
.footer__social a:hover { color: var(--bronze); transform: translateY(-2px); }
/* Facebook has no URL yet — shown, but not a link and not focusable */
.footer__social-pending {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  color: var(--espresso);
  opacity: 0.4;
  cursor: default;
}
.footer__social-pending svg { width: 21px; height: 21px; display: block; }
.footer__social a:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 50%; }


/* Sign in inside the overlay menu */
.menu__signin { margin-top: 1.4rem; align-self: stretch; width: 100%; justify-content: center; flex-shrink: 0; }


/* Empty state for a shop view with nothing in it yet */
/* =====================================================================
   EMPTY CATEGORY PANEL  (Sale, Occasion)
   Image left, sign-up right — the same split as the VIP modal, so an empty
   category reads as a deliberate page rather than a gap.
   ===================================================================== */
.shop-void {
  /* A photograph on its own, so an empty category still looks composed
     rather than leaving a bare corner of the page. */
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  /* Sits directly under the section sub-line, so it needs almost no lead-in.
     (No border here: --rule was never a token, so that rule never rendered.) */
  margin-top: 0;
  padding-top: clamp(0.4rem, 1.2vw, 0.9rem);
}
.shop-void[hidden] { display: none; }
/* Sale: the VIP sign-up box in place of the photograph. */
.shop-void.is-vip .shop-void__media,
.shop-void:not(.is-vip) .shop-void__vip { display: none; }
/* The same two-part panel as the Become a VIP popup: photo + sign-up. */
.shop-void__vip {
  display: grid; grid-template-columns: 1fr 1fr;
  width: 100%; max-width: 880px; margin: 0 auto;
  /* 6px zebra border, the same sofa zebra as the film's mount (Leah, 2026-11-13).
     build.sh copies assets/images/zebra-mount-2.jpg (named here on purpose). */
  border: 6px solid transparent;
  background:
    linear-gradient(var(--bone), var(--bone)) padding-box,
    var(--espresso) url(../images/zebra-mount-2.jpg) center / cover border-box;
  border-radius: 2px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(20, 17, 12, 0.14);
  text-align: left;
}
.shop-void__vip-media { position: relative; overflow: hidden; background: var(--sand); min-height: 100%; }
.shop-void__vip-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .shop-void__vip { grid-template-columns: 1fr; }
  .shop-void__vip-media { height: clamp(150px, 27svh, 230px); min-height: 0; }
  .shop-void__vip-media img { object-position: 50% 40%; }
}
.shop-void__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--sand);
}
.shop-void__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .shop-void__media { aspect-ratio: 4 / 5; } }
/* Complete the Look: a 4:5 portrait (three Valencia panels), shown whole
   rather than cut to the 16:7 strip. */
.shop-void.is-portrait .shop-void__media { aspect-ratio: 4 / 5; width: 100%; max-width: 560px; margin-inline: auto; }
@media (max-width: 700px) {
  .shop-void { grid-template-columns: 1fr; gap: 1.4rem; }
}
.shop-empty {
  grid-column: 1 / -1;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--step-0);
  color: var(--muted);
}

/* =====================================================================
   PRODUCT REVIEWS
   ===================================================================== */
.pdp__reviews { align-self: stretch; width: 100%; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); }
.reviews { margin-top: 1rem; }
.reviews__empty {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--step--1);
  line-height: 1.7;
  color: var(--muted);
}
.reviews__empty a { color: var(--bronze); border-bottom: 1px solid color-mix(in srgb, var(--bronze) 40%, transparent); }
.reviews__empty a:hover { border-bottom-color: var(--bronze); }

.stars { display: inline-flex; gap: 2px; }
.star { width: 13px; height: 13px; fill: color-mix(in srgb, var(--stone) 28%, transparent); }
.star.is-on { fill: var(--bronze); }

.reviews__summary { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.reviews__avg { font-family: var(--font-display); font-size: var(--step-0); }
.reviews__count { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.06em; }

.review + .review { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); }
.review__head { display: flex; align-items: center; gap: 0.7rem; }
.review__date { font-size: var(--step--1); color: var(--muted); }
.review__body { margin-top: 0.5rem; font-family: var(--font-body); line-height: 1.7; }
.review__name {
  margin-top: 0.4rem;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Product details — quiet hairline-separated lines under the description */
.pdp__details { margin-top: 1.4rem; }
.pdp__details-list { list-style: none; margin: 0; padding: 0; }
.pdp__details-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.62rem 0;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-body);
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--muted);
}
.pdp__details-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.pdp__details-label {
  flex: 0 0 auto;
  min-width: 8.5em;
  font-family: var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
}

/* Product sections — collapsible, beneath Add to bag.
   .pdp__panel is a flex column with align-items: flex-start, so children
   shrink to their content width unless told to stretch. */
.pdp__acc { margin-top: 1.6rem; align-self: stretch; width: 100%; }
.pdp-acc__item { border-top: 1px solid var(--line-soft); }
.pdp-acc__item:last-child { border-bottom: 1px solid var(--line-soft); }
.pdp-acc__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  transition: color var(--dur) var(--ease-out);
}
.pdp-acc__toggle:hover { color: var(--bronze); }
.pdp-acc__chev {
  flex: 0 0 auto;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}
.pdp-acc__toggle[aria-expanded="true"] .pdp-acc__chev { transform: translateY(2px) rotate(225deg); }
.pdp-acc__body { padding-bottom: 1rem; }
.pdp-acc__body p {
  font-family: var(--font-body);
  font-size: var(--step--1);
  line-height: 1.7;
  color: var(--muted);
}
.pdp-acc__body p + p { margin-top: 1.1rem; }
.pdp-acc__body strong { color: var(--espresso); font-weight: 600; }

/* =====================================================================
   CURRENCY + LANGUAGE — compact header control
   ===================================================================== */
.pref { position: relative; display: flex; align-items: center; }
.pref__toggle {
  display: inline-flex; align-items: center; gap: 0.28rem;
  padding: 0.3rem 0.1rem;
  border: 0; background: none; cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--espresso);
  transition: color var(--dur) var(--ease-out);
}
.pref__toggle:hover { color: var(--bronze); }
.pref__sep { opacity: 0.4; }

.pref__menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  right: 0;
  z-index: 120;
  min-width: 208px;
  padding: 0.9rem 1rem 1rem;
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 46px rgba(20, 17, 12, 0.12);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              visibility var(--dur-fast);
}
.pref__toggle[aria-expanded="true"] + .pref__menu { opacity: 1; visibility: visible; transform: none; }

.pref__label {
  font-family: var(--font-sans);
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.pref__label + .pref__row { margin-bottom: 0.9rem; }
.pref__row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pref__opt {
  padding: 0.34rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  color: var(--espresso);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.pref__opt:hover { color: var(--bronze); border-color: color-mix(in srgb, var(--bronze) 50%, transparent); }
.pref__opt.is-active { border-color: var(--bronze); color: var(--bronze); }
.pref__opt[disabled] { opacity: 0.35; pointer-events: none; }
.pref__note {
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 760px) { .pref { display: none; } }
.pref__opt.is-pending { border-style: dashed; }
.pref__pending { margin: -0.4rem 0 0.9rem; }

/* Sign-up confirmation — replaces the form so it cannot be missed */
.vip__done { text-align: center; padding: 1.4rem 0 0.4rem; }
.vip__done-mark {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 1.1rem;
  border: 1px solid color-mix(in srgb, var(--bronze) 45%, transparent);
  border-radius: 50%;
  color: var(--bronze);
  animation: vipMark 0.5s var(--ease-out) both;
}
.vip__done-mark svg { width: 24px; height: 24px; }
@keyframes vipMark {
  from { opacity: 0; transform: scale(0.82); }
  to   { opacity: 1; transform: none; }
}
.vip__done-title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.15;
  color: var(--espresso);
}
.vip__done-note {
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) { .vip__done-mark { animation: none; } }

/* Size guide: keep figures on one line; long headings may wrap */
.sizeguide__table td { white-space: nowrap; }
.sizeguide__table th { vertical-align: bottom; }
@media (max-width: 560px) { .sizeguide__table th { letter-spacing: 0.06em; font-size: 0.62rem; } .sizeguide__table th, .sizeguide__table td { padding-right: 0.45rem; } }

/* =====================================================================
   SHOP FILTER BAR
   One word on show. The controls live in a panel that opens beneath it, so
   the grid is never fronted by a row of chips or form fields.
   ===================================================================== */
.shop-filter {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin: 0 0 1.4rem; padding-bottom: 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--espresso) 10%, transparent);
}
.shop-filter__toggle {
  display: inline-flex; align-items: baseline; gap: 0.55rem;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--espresso);
}
/* The sign is drawn rather than typed so the bar of the minus lines up with
   the bar of the plus and nothing shifts when the panel opens. */
.shop-filter__sign { position: relative; width: 8px; height: 8px; display: inline-block; }
.shop-filter__sign::before,
.shop-filter__sign::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: currentColor; opacity: 0.55;
}
.shop-filter__sign::before { width: 8px; height: 1px; }
.shop-filter__sign::after  { width: 1px; height: 8px; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.shop-filter__toggle[aria-expanded="true"] .shop-filter__sign::after { transform: scaleY(0); }
.shop-filter__count {
  margin: 0; font-family: var(--font-body); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--espresso) 35%, transparent);
}
.shop-filter__panel {
  display: flex; flex-wrap: wrap; gap: 2.2rem 4rem;
  margin: 0 0 2.4rem; padding-bottom: 1.8rem;
  border-bottom: 1px solid color-mix(in srgb, var(--espresso) 10%, transparent);
}
.shop-filter__panel[hidden] { display: none; }
.shop-filter__group { min-width: 0; }
.shop-filter__legend {
  margin: 0 0 0.9rem; font-family: var(--font-body); font-size: 0.64rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: color-mix(in srgb, var(--espresso) 40%, transparent);
}
.shop-filter__list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.shop-filter__opt {
  position: relative; background: none; border: 0; padding: 0 0 0.3rem; cursor: pointer;
  font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--espresso) 55%, transparent);
  transition: color 0.2s ease;
}
.shop-filter__opt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--espresso); transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.shop-filter__opt:hover { color: var(--espresso); }
.shop-filter__opt.is-on { color: var(--espresso); }
.shop-filter__opt.is-on::after { transform: scaleX(1); }
.shop-filter__opt:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
/* Colour options carry their swatch, so the name is never the only cue. */
.shop-filter__list--tones .shop-filter__opt { display: inline-flex; align-items: center; gap: 0.5rem; }
.shop-filter__dot {
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--espresso) 20%, transparent);
  flex: none;
}
.shop-filter__clear {
  align-self: flex-end; margin-inline-start: auto;
  background: none; border: 0; padding: 0 0 0.3rem; cursor: pointer;
  font-family: var(--font-body); font-size: 0.68rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: color-mix(in srgb, var(--espresso) 45%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--espresso) 25%, transparent);
}
.shop-filter__clear:hover { color: var(--espresso); }
.shop-filter__clear[hidden] { display: none; }
@media (max-width: 560px) {
  .shop-filter__panel { gap: 1.6rem 2rem; }
  .shop-filter__clear { margin-inline-start: 0; align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-filter__opt, .shop-filter__opt::after, .shop-filter__sign::after { transition: none; }
}

/* --- Filter on phones: a sheet that rises over the page, not an inline panel --- */
.shop-filter__scrim { display: none; }
.shop-filter__sheet-head { display: none; }
.shop-filter__done { display: none; }
@media (max-width: 560px) {
  .shop-filter__scrim {
    display: block; position: fixed; inset: 0; z-index: 400;
    background: color-mix(in srgb, var(--espresso) 38%, transparent);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    animation: shopFilterFade 0.25s ease both;
  }
  .shop-filter__scrim[hidden] { display: none; }
  .shop-filter__panel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 401;
    display: block; margin: 0; padding: 1.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    max-height: 82vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: var(--bone);
    border: 0; border-radius: 18px 18px 0 0;
    box-shadow: 0 -18px 50px rgba(20,17,12,0.22);
    animation: shopFilterRise 0.34s cubic-bezier(0.22,1,0.36,1) both;
  }
  .shop-filter__sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    margin: 0 0 1.5rem; padding-bottom: 0.9rem;
    border-bottom: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent);
  }
  .shop-filter__sheet-title {
    font-family: var(--font-body); font-size: 0.72rem;
    letter-spacing: 0.22em; text-transform: uppercase; color: var(--espresso);
  }
  .shop-filter__sheet-close {
    background: none; border: 0; padding: 0.3rem; margin: -0.3rem -0.3rem -0.3rem 0;
    color: var(--espresso); cursor: pointer; line-height: 0;
  }
  .shop-filter__group { margin-bottom: 1.6rem; }
  .shop-filter__list { gap: 0.85rem 1.5rem; }
  .shop-filter__opt { font-size: 0.86rem; padding-bottom: 0.35rem; }
  .shop-filter__dot { width: 13px; height: 13px; }
  .shop-filter__clear {
    margin: 0 0 0.9rem; align-self: flex-start;
    font-size: 0.66rem;
  }
  .shop-filter__done {
    display: block; width: 100%; margin-top: 0.4rem;
    padding: 0.95rem 1rem; border: 0; border-radius: 2px; cursor: pointer;
    background: var(--espresso); color: var(--bone);
    font-family: var(--font-body); font-size: 0.72rem;
    letter-spacing: 0.22em; text-transform: uppercase;
  }
}
@keyframes shopFilterRise { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes shopFilterFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .shop-filter__panel, .shop-filter__scrim { animation: none; }
}

/* =====================================================================
   FILMSTRIP — campaign film on the home page, in place of the old album
   Muted and looping, so it reads as motion rather than as a video player.
   The source is a 640px square, so on wide screens it sits in a column
   beside copy rather than being stretched across the page.
   ===================================================================== */
.filmstrip__inner { display: grid; gap: 2.4rem; }
.filmstrip__frame { margin: 0; }
.filmstrip__video,
.filmstrip__frame img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;   /* long, like desktop (was square on phones; Leah, 2026-11-13) */
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--espresso) 8%, transparent);
}
/* Campaign still: desktop only. It fills the column beside the film so the
   section reads as a pair rather than one square adrift in the page. */
.filmstrip__still { display: none; margin: 0; }
/* Zebra mount round the film and the still (Leah, 2026-11-13): 8px. The patch
   is cut at full size from the sofa in the Valencia shoot camera original
   (DSC01536), clear of its seams, so it stays sharp.
   build.sh copies images it finds as assets/images/zebra-mount-2.jpg, so keep
   that path written here: the url() below is relative to this file. */
.filmstrip__frame,
.filmstrip__still {
  padding: 8px;   /* 8px, matching the heading frames (was 6) */
  background: var(--espresso) url(../images/zebra-mount-2.jpg) center / cover no-repeat;
}
.filmstrip__copy { display: flex; flex-direction: column; align-items: flex-start; }
.filmstrip__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  line-height: 1.08; letter-spacing: -0.015em;
  margin: 0.7rem 0 1.1rem; color: var(--espresso);
}
.filmstrip__title em { font-style: italic; color: var(--bronze); }
.filmstrip__text {
  margin: 0 0 1.8rem; max-width: 42ch;
  font-family: var(--font-body); color: var(--muted); line-height: 1.75;
}
/* The film sits straight onto the product slider: no link between them since
   2026-11-13 (Leah), so the two read as one Valencia block. */
.filmstrip.section { padding-bottom: 0.5rem; }
.filmstrip.section + .rail.section { padding-top: 0.6rem; }
@media (min-width: 900px) { .filmstrip.section { padding-bottom: 0.4rem; } }
/* Phones: the film runs nearly edge to edge, 8px from each side instead of the
   page gutter, so it is bigger with only a slim margin (Leah, 2026-11-13). */
@media (max-width: 899px) { .filmstrip .wrap { padding-inline: 8px; } }
/* As Seen On: the wearer's handle on each photo, small, bottom right (Leah, 2026-11-13). */
.seen-on__figure { position: relative; }
.seen-on__handle {
  position: absolute; right: 0.4rem; bottom: 0.4rem; z-index: 2;   /* small, bottom right (Leah) */
  font-family: var(--font-sans); font-size: 8px; letter-spacing: 0.05em;
  color: var(--ivory); background: rgba(20, 17, 12, 0.5);
  padding: 0.15em 0.45em; border-radius: 2px;
  pointer-events: none;
}
/* Home page: even, tight gaps between every block (Leah, 2026-11-13: "not as
   many white gaps"). About 16px on phones and 30px on desktop, content to
   content, matching the film and the product slider above. */
#featured.section { padding-bottom: 1rem; }
#coming-soon.section { padding-top: 0; padding-bottom: 0; }
#seen-on.section { padding-top: 1rem; }
@media (min-width: 900px) {
  #featured.section { padding-bottom: 1.9rem; }
  #seen-on.section { padding-top: 1.9rem; }
}
.filmstrip__cta {
  font-family: var(--font-body); font-size: var(--step--1);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--espresso);
}
@media (min-width: 900px) {
  .filmstrip__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4.5rem; align-items: center;
  }
  .filmstrip__inner { gap: 1.6rem; align-items: stretch; }
  .filmstrip__frame { max-width: none; width: 100%; }
  .filmstrip__still { display: block; }
  /* Both columns share one height, so the pair sits on a single baseline
     whatever the two aspect ratios are. */
  .filmstrip__frame .filmstrip__video,
  .filmstrip__still img {
    width: 100%; height: 100%; min-height: 0;
    aspect-ratio: auto; object-fit: cover;
    border-radius: var(--radius);
  }
  .filmstrip__inner > * { min-height: 0; }
  /* A 4:5 row rather than a landscape one: the still is a 3:4 portrait
     (the martini napkin), trimmed evenly top and bottom. */
  .filmstrip__frame, .filmstrip__still { aspect-ratio: 4 / 5; height: auto; }
  .filmstrip__still img { object-position: center center; }
  .filmstrip__frame .filmstrip__video { object-position: center center; }
}
@media (prefers-reduced-motion: reduce) {
  .filmstrip__video { animation: none; }
}

/* Coming soon (home page, under the product slider), linking to the Clothing
   view (Leah, 2026-11-13).
   Phones: her Wardrobe poster. The headline and quote are part of the image;
   the button is pinned on it in poster units (%, cqw), so it stays where she
   put it on every phone. --bx/--by/--bs are set in her live editor (?tune=soon).
   Desktop: the Amara photo (her own 4:5 crop) with the words beside it. */
.soon__inner { display: block; color: inherit; text-decoration: none; }
.soon__poster {
  position: relative; margin: 0 auto;
  overflow: hidden; border-radius: var(--radius);
  container-type: inline-size;
}
.soon__poster img { display: block; width: 100%; height: auto; aspect-ratio: 1333 / 2000; }
.soon__poster-btn {
  --bx: 71.65%; --by: 30.12%; --bs: 0.75;   /* Leah, ?tune=soon */
  position: absolute; left: var(--bx); top: var(--by);
  transform: translateX(-50%); scale: var(--bs); transform-origin: center top;
  white-space: nowrap;
  background: var(--espresso); color: var(--bone);
  padding: 0.95em 1.7em;
  font-family: var(--font-sans); font-size: max(10px, 2.3cqw);
  letter-spacing: 0.24em; text-transform: uppercase;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.soon__inner:hover .soon__poster-btn { background: var(--bone); color: var(--espresso); }
.soon__media, .soon__copy { display: none; }
.soon__media { margin: 0; overflow: hidden; border-radius: var(--radius); }
.soon__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.soon__cta { border-bottom: 1px solid currentColor; padding-bottom: 0.25rem; }
@media (min-width: 900px) {
  .soon__poster { display: none; }
  .soon__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; align-items: center; }
  .soon__media { display: block; width: 100%; max-width: 520px; justify-self: end; }
  /* Zebra square framing an espresso card (Leah, 2026-11-13). The zebra is
     the same sharp sofa patch as the film's mount; the card keeps the white
     lettering off the stripes. Lettering matches her Wardrobe poster. */
  .soon__copy {
    display: flex; width: 100%; max-width: 520px; aspect-ratio: 1 / 1;
    padding: 26px; container-type: inline-size;
    background: var(--espresso) url(../images/zebra-mount-2.jpg) center / cover no-repeat;
  }
  .soon__card {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4.5cqw; padding: 7cqw; text-align: center;
    background: var(--espresso); color: #fff;
  }
  .soon__head {
    margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 400;
    font-size: 9.6cqw; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase;
  }
  .soon__launch {
    margin: -1.5cqw 0 0; font-family: "Montserrat", Arial, sans-serif; font-weight: 700;
    font-size: 3.6cqw; letter-spacing: 0.04em; text-transform: uppercase;
  }
  .soon__quote {
    margin: 0; max-width: 34ch; font-family: "Playfair Display", Georgia, serif; font-style: italic;
    font-size: 3.9cqw; line-height: 1.45;
  }
  .soon__card-btn {
    margin-top: 1.5cqw; padding: 1em 1.8em;
    background: var(--ivory); color: var(--espresso);
    font-family: var(--font-sans); font-size: max(11px, 2.6cqw);
    letter-spacing: 0.24em; text-transform: uppercase;
    transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  }
  .soon__inner:hover .soon__card-btn { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; }
}

/* =====================================================================
   HOME PAGE — vertical rhythm on phones
   .section's padding-block bottoms out at 2rem, so every join between two
   sections cost 64px. On a 812px screen that reads as a hole rather than
   breathing room, so the floor comes down and the hero stops stacking its
   own bottom padding on top of the next section's top.
   ===================================================================== */
@media (max-width: 640px) {
  .section { padding-block: 1.15rem; }
  #featured.section { padding-top: 0.5rem; }
  .filmstrip.section { padding-top: 1rem; padding-bottom: 0.5rem; }
  .seen-on.section { padding-top: 1rem; }
  .hero { padding-bottom: 1.6rem; }
}


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

/* Product cards: the price in bronze and bold (Leah, 2026-11-13). */
.shop-card__price { color: var(--bronze); font-weight: 600; }

/* Wishlist empty image: Leah in the yellow halter (2026-11-13). 2:3 photo in a 4:5 frame, kept to the top so her head stays in. */
/* Leah crops it herself with ?tune=wish (wish-live.js): --wx/--wy pick the
   point of the photo that stays centred, --wz zooms in about it. */
.bag-empty__frame {
  display: block; flex: none; overflow: hidden; aspect-ratio: 4 / 5;
  width: calc(100% + var(--space-md) * 2);
  margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) 0;
}
.bag-empty__frame .bag-empty__img { width: 100%; height: 100%; margin: 0; }
#wish-frame { --wx: 60.73%; --wy: 7.57%; --wz: 1.20; }   /* Leah's crop, 2026-11-13 */
#bag-frame { --wx: 36.82%; --wy: 50.82%; --wz: 1.05; }   /* cart: leopard halter photo, Leah crops with ?tune=cart */
.bag-empty__img--crop {
  object-position: var(--wx) var(--wy);
  transform: scale(var(--wz)); transform-origin: var(--wx) var(--wy);
}

/* Cart + wishlist: poster-style title and a zebra-framed empty card (Leah, 2026-11-13).
   Same lettering as the Wardrobe poster; border as the heading frames (assets/images/zebra-mount-2.jpg). */
.drawer__title--poster { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }   /* site serif, not Montserrat (Leah) */
.drawer__title--poster #bag-title-count, .drawer__title--poster #wish-title-count { letter-spacing: 0.1em; font-weight: 500; }
.empty-card {
  display: block; margin: 0 auto; max-width: 310px; padding: 1.7rem 1.3rem;
  border: 8px solid transparent;
  background: linear-gradient(var(--espresso), var(--espresso)) padding-box,
              var(--espresso) url(../images/zebra-mount-2.jpg) center / cover border-box;
}
.empty-card__big { display: block; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.95rem; line-height: 1.15; color: var(--ivory); margin: 0 0 0.6rem; }
.empty-card__small { display: block; font-family: var(--font-body); font-size: 0.95rem; line-height: 1.5; color: rgba(247, 241, 230, 0.78); margin: 0 0 1.4rem; }
a.empty-card__btn, a.empty-card__btn:visited {
  display: inline-block; background: var(--ivory); color: var(--espresso);
  font: 600 0.7rem/1 var(--font-sans); letter-spacing: 0.24em; text-transform: uppercase;
  padding: 1rem 1.6rem; text-decoration: none; transition: background-color .2s, color .2s;
}
a.empty-card__btn:hover, a.empty-card__btn:focus-visible { background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1px var(--ivory); }

/* Empty cart / wishlist: the zebra card runs edge to edge under the photo and
   fills the drawer to the bottom, so there is no white gap (Leah, 2026-11-13). */
.drawer__body:has(> .bag-empty:not([style*="none"])) { display: flex; flex-direction: column; padding-bottom: 0; }
.drawer__body > .bag-empty:not([style*="none"]) { flex: 1 0 auto; display: flex; flex-direction: column; padding-bottom: 0; }
.drawer__body > .bag-empty .bag-empty__img { flex: none; margin-bottom: 0; }
.drawer__body > .bag-empty .empty-card {
  flex: 1 0 auto; max-width: none;
  /* 16px of bone around the card, 12px under the photo (Leah, 2026-11-13) */
  margin: 0.75rem calc(1rem - var(--space-md)) 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.6rem 2rem 1.8rem;
}

/* Phone menu: the studio photo in an 8px zebra mount, like the film (Leah, 2026-11-13). */
.menu__media {
  border: 8px solid transparent; border-radius: 0;
  background: var(--espresso) url(../images/zebra-mount-2.jpg) center / cover border-box;
}

/* Home page gaps tightened again (Leah, 2026-11-13): 8px between every block on
   phones, 16px on desktop (were 16px / 30px). Each gap is split across the two
   sections that meet, so the numbers below are halves. */
#album.section    { padding-top: 0.5rem;  padding-bottom: 0.25rem; }
#featured.section { padding-top: 0.25rem; padding-bottom: 0.5rem; }
#coming-soon.section { padding-top: 0; padding-bottom: 0; }
#seen-on.section  { padding-top: 0.5rem;  padding-bottom: 0.5rem; }
@media (min-width: 900px) {
  #album.section    { padding-top: 1rem;  padding-bottom: 0.5rem; }
  #featured.section { padding-top: 0.5rem; padding-bottom: 1rem; }
  #seen-on.section  { padding-top: 1rem;  padding-bottom: 1rem; }
}
/* The photo gives up height so the inset card always fits with its 16px gap;
   it never grows past its 4:5 shape, and on tall phones the card takes the rest. */
.drawer__body > .bag-empty > .bag-empty__img,
.drawer__body > .bag-empty > .bag-empty__frame {
  flex: 1 1 0; min-height: 220px; height: auto; aspect-ratio: auto;
  max-height: calc(min(440px, 100vw) * 1.25);
}
.drawer__body > .bag-empty .empty-card { padding-block: 1.3rem 1.4rem; flex: 0.001 0 auto; }   /* natural height; only grows once the photo is at full 4:5 */

/* Desktop heading cards hug the words: about 20px above/below, 32px at the
   sides (was 38px / 51px) (Leah, 2026-11-13). */
@media (min-width: 900px) {
  .edit-head__inner,
  .sig-head { padding: 1.25rem 2rem !important; }
  .edit-head__title, .sig-head__title { margin-bottom: 0.4rem; }
}

/* Phone menu photo: Leah in the Camilla top (2026-11-13), cropped with
   ?tune=menu (wish-live.js): --wx/--wy the point kept in view, --wz zoom. */
#menu-frame { --wx: 50.26%; --wy: 39.20%; --wz: 1.05; }   /* Leah's crop */
.menu__media img.menu__img--crop {
  object-position: var(--wx) var(--wy);
  transform: scale(var(--wz)); transform-origin: var(--wx) var(--wy);
}

/* Phone menu: Clothing is a tap-to-open group (Leah, 2026-11-13). The button
   matches the other menu links, with a + that turns to a minus when open. */
.menu__acc-toggle {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 0.34rem 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.05rem, 3.6vw, 1.45rem); line-height: 1.25;
  color: var(--espresso);
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out), color var(--dur) var(--ease-out);
}
.menu.is-open .menu__acc-toggle { transform: translateY(0); transition-delay: 0.20s; }
.menu.is-open #menu-collections, .menu.is-open .menu__acc:last-child .menu__acc-toggle { transition-delay: 0.40s; }
.menu__acc-toggle:hover, .menu__acc-toggle[aria-expanded="true"] { color: var(--bronze); }
.menu__acc-icon { position: relative; width: 12px; height: 12px; flex: none; margin-right: 2px; }
.menu__acc-icon::before, .menu__acc-icon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor;
  transition: transform 0.3s var(--ease-out);
}
.menu__acc-icon::after { transform: rotate(90deg); }
.menu__acc-toggle[aria-expanded="true"] .menu__acc-icon::after { transform: rotate(0deg); }
.menu__acc-list { list-style: none; margin: 0; padding: 0 0 0.5rem 1rem; display: flex; flex-direction: column; gap: 0.1rem; }
.menu__acc-list[hidden] { display: none; }
.menu nav .menu__acc-list a { font-size: clamp(0.95rem, 3.1vw, 1.2rem); padding: 0.2rem 0; transform: none; }
.menu nav .menu__acc-list li { border: 0; }

/* Phone heading cards: a little less space above and below the words,
   about 16px (was 22px); sides unchanged (Leah, 2026-11-13). */
@media (max-width: 899px) {
  .edit-head__inner,
  .sig-head { padding: 1rem 1.4rem !important; }
}

/* Small product photos (cart, wishlist, Style with, Added to bag): show the
   shop-card photo from the top so heads aren't cut off (Leah, 2026-11-13). */
.toast__thumb { overflow: hidden; }
.pdp-style-item__ph { height: 58px; overflow: hidden; }
@media (max-width: 760px) { .pdp-style-item__ph { width: 40px; height: 50px; } }
.toast__thumb img, .pdp-style-item__ph img,
.bag-item__thumb img, .wish-item__thumb img, .cross-item__thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%;
}

/* Product page sits under the header instead of covering it (Leah,
   2026-11-13): the bar and the logo stay, so there is always a way back.
   Drawers and their scrim lift above the product page while it is open. */
.pdp { top: var(--pdp-top, 0px); }
body.pdp-open .promo-bar { z-index: 405; }
body.pdp-open .nav { z-index: 406; border-bottom-color: transparent; }   /* no line between the header and the photo */
body.pdp-open .drawer-scrim { z-index: 410; }
body.pdp-open .drawer { z-index: 420; }
.pdp__close { top: calc(var(--pdp-top, 0px) + 0.9rem); }

/* Loading screen covers the whole phone screen, including the strip behind
   Safari's bottom toolbar (Leah, 2026-11-13: a gap showed the page below).
   100lvh is the tallest the screen gets; the extra keeps rounding gaps shut. */
/* (Loading screen sizing: see the iPhone notes further down.) */

/* Safari: a photo at height:100% inside a frame that is itself sized by flex
   can come out 0px tall. Pin it to the frame's edges instead, which every
   browser draws the same (Leah, 2026-11-13: wishlist photo not visible). */
.bag-empty__frame { position: relative; }
.bag-empty__frame > .bag-empty__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

/* Cart / wishlist / account panels on phones: follow the visible screen as
   Safari's toolbar comes and goes (dvh), and carry the panel colour and the
   dark backdrop on past the bottom edge, so the strip behind the toolbar never
   shows the page (Leah, 2026-11-13). */
.drawer { height: 100svh; height: 100dvh; }
.drawer::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%;
  height: 40vh; background: var(--bone); pointer-events: none;
}
.drawer-scrim { bottom: -40vh; }

/* Phone menu: background covers the full screen height, including the strip
   behind Safari's toolbar, while the links, photo and socials stay inside the
   part you can see (the extra bottom padding is exactly the toolbar's height). */
.menu {
  inset: 0 0 auto 0;
  height: 100vh; height: 100lvh;
  padding-bottom: 2.2rem;
  padding-bottom: calc(2.2rem + (100lvh - 100dvh));
}

/* Newer iPhone Safari draws the page under its see-through bottom toolbar,
   where no overlay can reach. So while the loading screen or the phone menu
   is up, the page behind is hidden and that strip shows plain cream. */
html { background: var(--bone); }
html.is-loading main, html.is-loading .footer, html.is-loading .viptab,
html.is-loading .nav, html.is-loading .promo-bar,
html.menu-cover main, html.menu-cover .footer, html.menu-cover .viptab { visibility: hidden; }

/* iPhone (viewport-fit=cover): the page now reaches under the clock / Dynamic
   Island. The dark announcement bar fills that strip, so nothing scrolls
   visibly behind it (Leah, 2026-11-13); its words sit below the clock.
   Panels that start at the very top get the same allowance, and bottom
   buttons clear the home bar. env() is 0 on computers, so nothing moves there. */
.promo-bar { padding-top: env(safe-area-inset-top, 0px); }
.drawer { padding-top: env(safe-area-inset-top, 0px); }
.drawer__foot { padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px)); }

/* ---- iPhone fixes from Leah's phone screenshots (2026-11-13) ---- */
/* 1. The strip between Safari's clock bar and our dark bar: a dark overhang
      hangs up off the bar, so the page never shows through above it. */
.promo-bar::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%;
  height: 60vh; background: var(--espresso); pointer-events: none;
}
/* 2. The loading screen reaches well past both edges (it stopped short of the
      bottom toolbar); its content stays centred on the screen. */
.preloader, .preloader__curtain { inset: 0; height: auto; }   /* pinned exactly to the screen edges: Safari only carries a layer's colour into its see-through bars when it is anchored at top 0 and bottom 0 */
/* 3. Product pages: hide the page behind, like the menu, so the strip under
      Safari's bottom toolbar shows cream rather than the shop grid. */
body.pdp-open main, body.pdp-open .footer, body.pdp-open .viptab { visibility: hidden; }
/* 4. No coloured placeholder cards: the old red (Valencia/Raffia Bordeaux) and
      blue (Marine) tints flashed for a second before the photo loaded. Every
      product placeholder is now plain sand. */
.ph[data-tone^="cw-"] { --ph-grad: linear-gradient(158deg, #EFE9DF 0%, #E6DDCF 100%); }
/* 5. Menu photo keeps one shape on every phone (the shape Leah cropped it in),
      so her crop never cuts her head off on a wider, shorter screen. */
#menu-frame { flex: none; aspect-ratio: 335 / 262; min-height: 0; }
/* 6. Help page: less space between the contact cards and the FAQ. */
#contact .ship-chapter { margin-top: 1.5rem; margin-bottom: 0.6rem; }

/* Home slider: plain product cards (photo, name, price) like the shop page.
   The Polaroid frame was removed 26 Nov 2026 (Leah: "I don't really like this
   Polaroid thing anymore"). */

/* Phones and tablets: no full-screen grain layers. They sat above everything
   (z-index 7000, even over the loading screen), and iPhone Safari colours its
   see-through top and bottom bars from the top-most full-screen layer, so it
   showed the page through them instead of our dark bar / loading screen
   (Leah, 2026-11-13). At 3.5-5% the grain is invisible on a phone anyway. */
@media (hover: none), (pointer: coarse) {
  body::before, body::after { display: none; }
}

/* While loading, the page is fully transparent as well as hidden: the reveal
   animations set visibility on some elements themselves, so opacity on the
   containers is the one thing they can't override. */
html.is-loading main, html.is-loading .footer, html.is-loading .viptab,
html.is-loading .nav, html.is-loading .promo-bar { opacity: 0 !important; }

/* =====================================================================
   PRODUCT PAGE — trust row under Add to bag / Pre-order (2026-11-17)
   Four quiet facts in the PDP's own label style (small caps, muted), with
   hairline icons. Lives below the button, so the photo + name on a phone's
   first screen and the sticky photo on desktop are untouched.
   ===================================================================== */
.pdp__trust {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: auto auto;   /* desktop: each fact on one line */
  justify-content: start;
  gap: 0.65rem 2rem;
}
.pdp__trust li {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--muted);
}
.pdp__trust svg {
  flex: 0 0 auto; width: 17px; height: 17px;
  fill: none; stroke: var(--espresso); stroke-width: 1.1;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 900px) {
  .pdp__trust { grid-template-columns: 1fr 1fr; gap: 0.7rem 0.9rem; }
  .pdp__trust li { letter-spacing: 0.1em; align-items: flex-start; }
  .pdp__trust svg { margin-top: -0.1rem; }
}

/* =====================================================================
   AD VISITOR SIGN-UP CARD (2026-11-17)
   A small card, never a full-screen layer or scrim (iPhone Safari bars).
   Above the product page (400) and its header (406), below the drawers
   (420 on a product page), the toast (500) and the size guide (600).
   ===================================================================== */
.adpop {
  position: fixed;
  z-index: 415;
  left: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  width: min(23rem, calc(100vw - 2rem));
  padding: 1.6rem 1.5rem 1.3rem;
  background: var(--ivory);
  color: var(--espresso);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 18px 50px rgba(20, 17, 12, 0.18);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.adpop[hidden] { display: none; }
.adpop.is-in { opacity: 1; transform: none; }
.adpop__close {
  position: absolute; top: 0.45rem; right: 0.45rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; background: none; cursor: pointer;
  color: var(--espresso); border-radius: 50%;
  transition: background var(--dur);
}
.adpop__close:hover { background: var(--sand); }
.adpop__close:focus-visible { outline: 2px solid var(--bronze); outline-offset: -2px; }
.adpop__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.75rem);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.01em;
  padding-right: 2rem;
}
.adpop__title em { font-style: italic; color: var(--bronze); }
.adpop__lead { margin-top: 0.5rem; color: var(--muted); font-style: italic; line-height: 1.5; font-size: var(--step-0); }
.adpop__form { display: flex; gap: 0.5rem; margin-top: 1rem; }
.adpop__input {
  flex: 1 1 auto; min-width: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--espresso) 30%, transparent);
  border-radius: 2px;
  background: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;              /* 16px stops iPhone zooming the page on focus */
  color: var(--fg);
}
.adpop__input::placeholder { color: var(--muted); opacity: 1; }
.adpop__input:focus-visible { outline: 2px solid var(--espresso); outline-offset: 1px; }
.adpop__btn {
  flex: 0 0 auto;
  padding: 0 1rem;
  border: 1px solid var(--espresso);
  border-radius: 2px;
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur), color var(--dur);
}
.adpop__btn:hover { background: var(--bronze); border-color: var(--bronze); }
.adpop__btn:disabled { opacity: 0.55; cursor: default; }
.adpop__note { margin-top: 0.65rem; font-size: 0.72rem; color: var(--muted); line-height: 1.5; }
.adpop__msg { font-size: var(--step--1); color: var(--bronze-deep); margin-top: 0.35rem; }
.adpop__msg:empty { display: none; }
.adpop__done { padding: 0.2rem 0 0.3rem; }
.adpop__done .adpop__title { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 1.9rem); }
@media (max-width: 560px) {
  /* Phones: a card along the bottom edge, inset from the sides, clear of the
     home bar. Not edge-to-edge, so Safari's bottom bar keeps the page colour. */
  .adpop {
    left: 0.75rem; right: 0.75rem; width: auto;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    padding: 1.25rem 1.1rem 1rem;
  }
  .adpop__lead { font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .adpop { transition: opacity 0.2s linear; transform: none; }
}

/* ---- Black Friday 2026 (drawn by main.js only while BLACK_FRIDAY_ON) ----
   Every rule below hangs off a class or element main.js only adds while the
   sale is on (promo-bar--bf, hero--bf, pdp__deal, bfcard, shop-card__bf,
   price-was, bag-deal), so with the switch off none of it applies. */
.price-was { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--muted); font-weight: 400; margin-right: 0.15em; }
.price-now { color: var(--bf-red, #790512); }

/* Announcement bar: oxblood, a touch bigger. The strip above it (iPhone)
   follows, so Safari's top bar tints oxblood too. */
.promo-bar.promo-bar--bf { background: #790512; /* sampled from the Valencia swimsuit in the hero photo (Leah, 19 Nov) */ font-size: clamp(0.66rem, 0.6rem + 0.32vw, 0.78rem); font-weight: 600; }
.promo-bar.promo-bar--bf::before { background: #790512; }
/* Struck regular prices read lighter wherever they sit on a colour. */
.promo-bar--bf .price-was, .hero--bf .price-was { color: inherit; opacity: 0.6; margin-right: 0.3em; }
/* Banner: a diagonal slash instead of a line through the middle, so the small
   capitals of the old price stay readable (Leah, 19 Nov). */
.promo-bar--bf .price-was { text-decoration: none; opacity: 0.8; position: relative; display: inline-block; padding: 0 0.1em; }
.promo-bar--bf .price-was::after { content: ""; position: absolute; left: -0.05em; right: -0.05em; top: 50%; border-top: 1px solid currentColor; transform: rotate(-14deg); pointer-events: none; }
.pdp__deal .price-was { margin-right: 0.25em; }

/* Product page: boxed panel near Add to bag. */
.pdp__deal {
  max-width: none; width: 100%; box-sizing: border-box; align-self: stretch;
  margin-top: 0.9rem;
  padding: 0.75rem 0.95rem 0.8rem;
  border: 1px solid var(--bf-red, #790512);
  border-left-width: 3px;
  background: rgba(121, 5, 18, 0.06);
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink);
}
.pdp__deal-tag {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bf-red, #790512);
}
.pdp__deal-text { font-weight: 500; }
.pdp__deal[hidden], .bag-deal[hidden] { display: none; }

.shop-card__bf {
  position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2; pointer-events: none;
  padding: 0.3rem 0.55rem 0.28rem;
  background: var(--bf-red, #790512); color: var(--ivory);
  font-family: var(--font-sans); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
}
.bag-deal { font-size: var(--step--1); font-weight: 500; margin: 0 0 0.35rem; font-family: var(--font-body); color: var(--bf-red, #790512); }

/* Homepage hero: same photo and type as "Valencia", the offer's words.
   Placed as one centred group, sized from --bfV, the visible height the
   photo is framed against, so it keeps its place on the wall (below the
   nav, left of her hair, above the sofa) on every screen shape. */
.hero.hero--bf .hero__title, .hero.hero--bf .hero__sub, .hero.hero--bf .hero__cta { translate: none; scale: none; }
.hero.hero--bf .hero__inner {
  position: absolute; z-index: 2; margin: 0; padding: 0; width: auto; max-width: none; scale: none;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero.hero--bf .hero__title--solo { font-size: var(--bf-f); line-height: 0.9; white-space: nowrap; }
.hero.hero--bf .hero__sub { max-width: none; white-space: nowrap; font-size: var(--bf-s); letter-spacing: 0.2em; line-height: 1.55; margin-top: var(--bf-g1); }
.hero.hero--bf .hero__cta { margin-top: var(--bf-g2); font-size: var(--bf-b); padding: 0.75em 1.4em; letter-spacing: 0.26em; }
@media (min-width: 900px) {
  .hero.hero--bf {
    --bfV: calc(85svh - 98px);
    --bf-f: min(8vw, calc(var(--bfV) * 0.22)); --bf-s: calc(var(--bfV) * 0.025); --bf-b: min(1.25vw, calc(var(--bfV) * 0.03));
    --bf-g1: calc(var(--bfV) * 0.035); --bf-g2: calc(var(--bfV) * 0.045);
  }
  .hero.hero--bf .hero__inner { top: calc(98px + var(--bfV) * 0.075); right: calc(25vw + var(--bfV) * 0.42); left: auto; }
}
@media (max-width: 899px) {
  .hero.hero--bf {
    --bfV: calc(100svh - 94px);
    --bf-f: min(15.5vw, calc(var(--bfV) * 0.08)); --bf-s: min(2.15vw, calc(var(--bfV) * 0.0112)); --bf-b: min(3.2vw, calc(var(--bfV) * 0.017));
    --bf-g1: calc(var(--bfV) * 0.013); --bf-g2: calc(var(--bfV) * 0.013);
  }
  .hero.hero--bf .hero__inner { top: calc(94px + env(safe-area-inset-top, 0px) + var(--bfV) * 0.02); left: 4vw; right: auto; }
  .hero.hero--bf .bf-sp { display: block; height: 0; overflow: hidden; }
  .hero.hero--bf .bf-l { display: block; }
  .hero.hero--bf .bf-dot { display: none; }
  .hero.hero--bf .hero__sub { letter-spacing: 0.16em; }
}

/* Deal card on Raffia / Valencia product pages. Above the product page
   (400), under the bag toast (500). Floats clear of every screen edge. */
.bfcard {
  position: fixed; z-index: 480;
  right: clamp(0.9rem, 2.4vw, 2rem); bottom: clamp(0.9rem, 2.4vw, 2rem);
  width: min(23.5rem, calc(100vw - 2rem));
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 0.95rem 2.2rem 1rem 0.95rem;
  background: var(--bone); color: var(--ink);
  border: 1px solid var(--bf-red, #790512); border-top-width: 3px;
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(33, 27, 20, 0.2);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}
.bfcard.is-open { opacity: 1; transform: none; }
.bfcard[hidden] { display: none; }
.bfcard__thumb { flex: 0 0 4.6rem; width: 4.6rem; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; }
.bfcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bfcard__body { min-width: 0; }
.bfcard__tag { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bf-red, #790512); }
.bfcard__title { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.2; }
.bfcard__price { color: var(--bf-red, #790512); white-space: nowrap; }
.bfcard__was { color: var(--muted); font-size: 0.85em; white-space: nowrap; }
.bfcard__detail { margin-top: 0.3rem; font-size: 0.86rem; line-height: 1.4; }
.bfcard__small { margin-top: 0.2rem; font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bfcard__btns { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.7rem; }
.bfcard__btn {
  padding: 0.55rem 0.85rem; cursor: pointer;
  border: 1px solid var(--espresso); background: transparent; color: var(--espresso);
  font-family: var(--font-sans); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.bfcard__btn.is-primary { background: var(--espresso); color: var(--ivory); }
.bfcard__close { position: absolute; top: 0.55rem; right: 0.55rem; padding: 0.35rem; border: 0; background: none; color: var(--ink); cursor: pointer; }
@media (max-width: 700px) {
  .bfcard {
    left: 50%; right: auto; width: calc(100vw - 1.8rem);
    bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 14px);
  }
  .bfcard.is-open { transform: translate(-50%, 0); }
  .bfcard { padding: 0.8rem 1.9rem 0.85rem 0.8rem; gap: 0.7rem; }
  .bfcard__thumb { flex-basis: 3.3rem; width: 3.3rem; }
  .bfcard__title { font-size: 1.05rem; }
  .bfcard__detail { font-size: 0.8rem; }
  .bfcard__btns { flex-wrap: nowrap; gap: 0.35rem; margin-top: 0.6rem; }
  .bfcard__btn { padding: 0.5rem 0.55rem; letter-spacing: 0.12em; font-size: 0.62rem; white-space: nowrap; }
}

/* Black Friday hero — positions placed by hand by Leah (19 Nov 2026) with the
   drag tool. Title and button sit independently; centre points are % of the
   hero box, sizes are a share of the hero height (--hh). Laptop placed on a
   1280x800 window, phone on 375x816. Overrides the computed layout above. */
.hero.hero--bf .hero__inner { position: absolute; inset: 0; top: 0; left: 0; right: 0; bottom: 0; display: block; width: auto; }
.hero.hero--bf .hero__title, .hero.hero--bf .hero__cta { position: absolute; margin: 0; translate: -50% -50%; white-space: nowrap; }
.hero.hero--bf .hero__title { left: 37.09%; top: 28.14%; font-size: calc(var(--hh) * 0.2288); }
.hero.hero--bf .hero__cta { left: 40.59%; top: 46.48%; font-size: calc(var(--hh) * 0.03378); }
@media (max-width: 899px) {
  .hero.hero--bf .hero__inner { top: 0; left: 0; }
  .hero.hero--bf .hero__title { left: 32.14%; top: 31.92%; font-size: calc(var(--hh) * 0.1403); }
  /* Phone button: Leah's size, but never under ~44px tall so it is easy to tap. */
  .hero.hero--bf .hero__cta { left: 70.02%; top: 91.02%; font-size: max(11px, calc(var(--hh) * 0.01793)); padding: 1.35em 1.8em; line-height: 1.2; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
}
/* Phone photo framing for the Black Friday hero, set by Leah with the drag tool (19 Nov). Phones only. */
@media (max-width: 480px) { .hero.hero--bf .hero__media.ph img { --z: 1.4000; --top: -0.3132; --fx: 0.4910; } }
/* Black Friday red = the Valencia swimsuit, used on every BF element (Leah, 19 Nov). */
:root { --bf-red: #790512; }
/* Black Friday hero button: white with black text (Leah, 19 Nov). */
.hero.hero--bf .hero__cta { background: #FBF8F3; border: 1px solid #1d1a17; color: #1d1a17; }
.hero.hero--bf .hero__cta:hover { background: #1d1a17; color: #FBF8F3; }
/* Laptop/desktop Black Friday hero: photo framing set by Leah with the drag tool, and a black button (19 Nov). */
@media (min-width: 900px) {
  .hero.hero--bf .hero__media.ph img { --z: 3.0600; --top: -0.7925; --fx: 0.5667; }
  .hero.hero--bf .hero__cta { background: #1d1a17; border-color: #1d1a17; color: #FBF8F3; }
  .hero.hero--bf .hero__cta:hover { background: #FBF8F3; color: #1d1a17; }
}

/* Tamara split-payment line under the product price (22 Nov 2026) */
.pdp__split{margin:-4px 0 14px;font-size:.82rem;letter-spacing:.01em;color:var(--muted,#7a6b64)}
.pdp__split strong{font-weight:600;color:inherit}

/* Black Friday set price under the card price (22 Nov 2026) */
.shop-card__deal{margin:.25rem 0 0;font-size:.78rem;letter-spacing:.02em;color:#790512;line-height:1.35}
.shop-card__deal s{color:var(--muted);margin-right:.2em}

/* Black Friday hero title font (26 Nov 2026): Leah's 19 Nov layout and
   position, just "Black Friday" + the button, set in Playfair Display capitals.
   Sizes are scaled so the title takes the same width as before. */
.hero.hero--bf .hero__title,
.hero.hero--bf .hero__title em {
  font-family: "Playfair Display", Georgia, serif; font-style: normal; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em; font-variation-settings: normal;
}
.hero.hero--bf .hero__title { font-size: calc(var(--hh) * 0.1306); line-height: 0.95; text-align: center; }
@media (max-width: 899px) {
  .hero.hero--bf .hero__title { font-size: calc(var(--hh) * 0.0835); }
}
/* Fancy italic line under the title (Leah, 26 Nov): "has arrived".
   Playfair italic, same family as the title, big enough to read as part of the lockup. */
.hero.hero--bf.hero--bf-tag .hero__sub {
  position: absolute; margin: 0; translate: -50% 0; white-space: nowrap; max-width: none;
  font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.06em; line-height: 1; color: #1d1a17; text-align: center;
  left: 37.09%; top: 34.6%; font-size: calc(var(--hh) * 0.05);
}
@media (min-width: 900px) {
  .hero.hero--bf.hero--bf-tag .hero__title { top: 26%; }
  .hero.hero--bf.hero--bf-tag .hero__cta { top: 46.6%; font-size: calc(var(--hh) * 0.022); padding: 0.85em 1.9em; line-height: 1.2; }
}
@media (max-width: 899px) {
  .hero.hero--bf.hero--bf-tag .hero__sub { left: 32.14%; top: 42.2%; font-size: calc(var(--hh) * 0.032); }
}
/* "officially" shows on desktop only; phone stays "HAS ARRIVED" (Leah, 26 Nov). */
@media (max-width: 899px) { .hero.hero--bf .hero__sub .bf-off { display: none; } }

/* =====================================================================
   WRITE A REVIEW (26 Nov 2026) — customer review form on the product page.
   Same quiet language as the Notify me form: hairline inputs, espresso button.
   ===================================================================== */
.rv-open {
  margin-top: 1.1rem; padding: 0; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--espresso); border-bottom: 1px solid color-mix(in srgb, var(--espresso) 45%, transparent);
  padding-bottom: 2px;
}
.rv-open:hover { border-bottom-color: var(--espresso); }
.rv-form { margin-top: 1.2rem; display: grid; gap: 1rem; max-width: 460px; }
.rv-form[hidden] { display: none; }
.rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-field { display: grid; gap: 0.4rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.rv-label { font-size: var(--step--1); letter-spacing: 0.08em; color: var(--muted); padding: 0; }
.rv-label em { font-style: italic; letter-spacing: 0; }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.rv-input {
  width: 100%; min-width: 0; font: inherit; font-size: 16px; /* 16px stops iPhone zooming in */
  padding: 0.7rem 0.8rem; color: var(--espresso); background: transparent;
  border: 1px solid rgba(20,17,12,0.22); border-radius: 0; -webkit-appearance: none; appearance: none;
}
textarea.rv-input { resize: vertical; line-height: 1.55; }
select.rv-input {
  background-image: linear-gradient(45deg, transparent 50%, var(--espresso) 50%), linear-gradient(135deg, var(--espresso) 50%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 2rem;
}
.rv-input::placeholder { color: var(--muted); opacity: 1; }
.rv-input:focus-visible { outline: 2px solid var(--espresso); outline-offset: 1px; }
/* stars: radios in reverse order so CSS can light every star up to the chosen one */
.rv-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-stars label {
  width: 30px; height: 30px; cursor: pointer;
  background: color-mix(in srgb, var(--stone) 28%, transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.4l2.5 5.4 5.9.7-4.4 4 1.2 5.8L12 16.4 6.8 19.3 8 13.5 3.6 9.5l5.9-.7Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.4l2.5 5.4 5.9.7-4.4 4 1.2 5.8L12 16.4 6.8 19.3 8 13.5 3.6 9.5l5.9-.7Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.rv-stars input:checked ~ label,
.rv-stars label:hover, .rv-stars label:hover ~ label { background: var(--bronze); }
.rv-stars input:focus-visible + label { outline: 2px solid var(--espresso); outline-offset: 2px; }
.rv-photo input { font-size: var(--step--1); color: var(--muted); }
.rv-submit { justify-self: start; }
.rv-msg { font-size: var(--step--1); line-height: 1.45; color: var(--muted); min-height: 1.1em; margin: 0; }
.rv-form.is-done > *:not(.rv-msg) { display: none; }
.rv-form.is-done .rv-msg { color: var(--espresso); }
.review__photo { display: block; margin-top: 0.7rem; width: 120px; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 420px) { .rv-row { grid-template-columns: 1fr; } }
/* Reviews link under the price (Leah, 26 Nov): jumps to the reviews further down. */
.pdp__rv-link {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.55rem 0 0.9rem; align-self: flex-start;
  font-size: var(--step--1); letter-spacing: 0.06em; color: var(--muted); text-decoration: none;
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--muted) 45%, transparent); padding: 0 0 1px;
  background: none; font-family: inherit; cursor: pointer;
}
.pdp__rv-link:hover { color: var(--espresso); border-bottom-color: var(--espresso); }
.pdp__rv-link .stars { margin-right: 0.1rem; }

/* Set / deal box straight under the price on the product page (Leah, 30 Nov). */
.pdp__price + .pdp__deal { margin: 0.55rem 0 1.1rem; }

/* "As seen on" framing per photo, set in seen-tool.html (Leah, 30 Nov):
   style="--z:1.3; object-position:40% 30%; --o:40% 30%" on the <img>. */
.seen-on__img { transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%); }
.seen-on__figure:hover .seen-on__img { transform: scale(calc(var(--z, 1) * 1.03)); }
@media (prefers-reduced-motion: reduce) { .seen-on__figure:hover .seen-on__img { transform: scale(var(--z, 1)); } }

/* "On its way" box under the price for stock in transit (Leah, 30 Nov). */
.pdp__preorder.pdp__transit {
  max-width: none; width: 100%; box-sizing: border-box; align-self: stretch; display: block;
  margin: 0.55rem 0 1.1rem; padding: 0.75rem 0.95rem 0.8rem;
  border: 1px solid var(--ink, #201C18); border-left-width: 3px;
  background: rgba(32, 28, 24, 0.04);
  font-size: var(--step--1); line-height: 1.5; color: var(--ink, #201C18);
}
.pdp__transit .pdp__deal-tag { display: block; margin-bottom: 0.2rem; font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink, #201C18); }
.pdp__transit .pdp__deal-text { font-weight: 500; }
.pdp__preorder.pdp__transit[hidden] { display: none; }
