/* ==========================================================================
   SLAP — Luxury ostrich feather slap bracelets · Dubai
   Main stylesheet. Mobile-first. Breakpoints: 540 / 700 / 900 / 1200.
   Direction: "feather-light editorial". Fraunces display, Inter body, DM Mono labels;
   every product surface carries its colour as --tint (set inline by render.js).
   --------------------------------------------------------------------------
   01. Tokens & font fallbacks
   02. Reset & base (grain overlay)
   03. Typography
   04. Layout & utilities
   05. Buttons & links
   06. Header
   07. Mobile menu
   08. Hero
   09. Marquee
   10. Section heads
   10b. Scroll story (.wrap)
   11. Product grid & cards (+ promo tile)
   12. Set builder
   13. Experience
   14. Story
   15. Gallery strip
   16. FAQ & disclosures
   17. Instagram
   18. Footer
   19. Product page (+ buy bar)
   20. 404
   21. Bag drawer
   22. Checkout modal
   23. Forms
   24. Toast
   25. Scroll reveal & feather burst
   26. Touch targets
   27. Forced colours
   28. Reduced motion
   ========================================================================== */


/* ==========================================================================
   01. Tokens & font fallbacks
   ========================================================================== */

/* Metric-matched local fallbacks so the swap to the web fonts doesn't shift the layout */
@font-face {
  font-family: 'Fraunces Fallback';
  src: local('Georgia');
  size-adjust: 101%;
  ascent-override: 96%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'DM Mono Fallback';
  src: local('Courier New'), local('Courier');
  size-adjust: 98%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;

  /* Palette */
  --cream: #F7EFE6;
  --ivory: #FCF7F1;
  --sand: #EFE3D6;
  --burgundy: #6B1D35;
  --burgundy-deep: #4A1425;
  --gold: #C9A97E;
  --gold-deep: #9C7A4E;
  --ink: #1E181A;
  --ink-soft: #4A3F42;
  --muted: #74696A;
  --line: rgba(30, 24, 26, .12);
  --line-strong: rgba(30, 24, 26, .22);
  --success: #2D8B55;
  --danger: #B23A3A;
  --amber: #9C6B2A;

  /* Photo backdrops: wrist shots sit on studio cream, pedestal shots on taupe */
  --studio: #FAF0E6;
  --taupe: #8C7D73;

  /* Shape */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-card: 20px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Layout */
  --header-h: 72px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --photo-ratio: 1856 / 2304;

  /* Type */
  --font-display: 'Fraunces', 'Fraunces Fallback', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'DM Mono', 'DM Mono Fallback', ui-monospace, Menlo, Consolas, monospace;
  --soft: "SOFT" 70, "WONK" 0;
  --soft-em: "SOFT" 100, "WONK" 1;

  /* Elevation: warm, layered */
  --shadow-sm: 0 1px 2px rgba(74, 20, 37, .05), 0 8px 20px -12px rgba(74, 20, 37, .2);
  --shadow-md: 0 2px 4px rgba(74, 20, 37, .04), 0 20px 40px -22px rgba(74, 20, 37, .38);
  --shadow-lg: 0 2px 6px rgba(74, 20, 37, .05), 0 28px 56px -28px rgba(74, 20, 37, .38), 0 64px 120px -60px rgba(74, 20, 37, .3);
  --shadow-warm: 0 2px 4px rgba(74, 20, 37, .04), 0 34px 60px -30px rgba(107, 29, 53, .34);
  --ring: 0 0 0 3px rgba(107, 29, 53, .14);

  /* Static paper grain (SVG fractal noise, greyscale) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 899.98px) {
  :root { --header-h: 64px; }
}


/* ==========================================================================
   02. Reset & base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-gutter: stable;
}

html,
body {
  overflow-x: clip;
}

/* Scroll lock for the checkout modal, bag drawer and mobile menu.
   <html> carries overflow-x: clip, so body overflow is not propagated to the
   viewport; the lock has to be applied to <html> itself. */
html:has(body.modal-open),
html:has(body.cart-open),
html:has(body.menu-open) {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Paper grain over the whole page: static, decorative, never intercepts input.
   Sits under the drawer, checkout and toast so those stay clean ivory. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: .05;
  mix-blend-mode: multiply;
  pointer-events: none;
}

main { display: block; }
main:focus { outline: none; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture { display: block; }
svg { flex-shrink: 0; }
figure { margin: 0; }
dl, dd { margin: 0; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:disabled { cursor: not-allowed; }

[hidden] { display: none !important; }

::selection {
  background: var(--burgundy);
  color: var(--cream);
}

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

:focus:not(:focus-visible) { outline: none; }


/* ==========================================================================
   03. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: var(--soft);
}

h1 em,
h2 em,
h3 em,
.promo-title em {
  font-style: italic;
  color: var(--burgundy);
  font-variation-settings: var(--soft-em);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child { margin-bottom: 0; }

/* Micro-label: DM Mono, numbered ("02 · The collection"), led by a short rule */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  flex: none;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

.section-title {
  margin: 0 0 .4em;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.section-lead {
  max-width: 46ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.section-lead a {
  color: var(--burgundy);
  text-decoration: underline;
  text-decoration-color: rgba(107, 29, 53, .35);
  transition: text-decoration-color .25s;
}

.section-lead a:hover { text-decoration-color: currentColor; }

@media (min-width: 900px) {
  .section-lead { font-size: 1.0625rem; }
}

.price {
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}


/* ==========================================================================
   04. Layout & utilities
   ========================================================================== */

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

.section { padding-block: clamp(80px, 11vw, 160px); }
.section-tight { padding-block: clamp(56px, 8vw, 104px); }

/* Section surfaces: cream / sand / ivory rhythm, one dark break (experience) */
.collection,
.story,
.faq { background: var(--cream); }

.sets { background: var(--sand); }
.gallery { background: var(--ivory); }
.instagram { background: var(--cream); border-top: 1px solid var(--line); }

.page-product .section-tight { background: var(--sand); }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(calc(-100% - 24px));
  transition: transform .3s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline-offset: 2px;
}


/* ==========================================================================
   05. Buttons & links
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .14em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition:
    background-color .35s var(--ease),
    color .35s var(--ease),
    border-color .35s var(--ease),
    box-shadow .35s var(--ease),
    transform .35s var(--ease),
    translate .55s var(--spring),
    opacity .3s;
}

.btn-primary {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--cream);
}

/* Cream arrow disc that rides on the right of a primary pill */
.btn-primary::after {
  content: '';
  flex: none;
  width: 34px;
  height: 34px;
  margin-right: -20px;
  border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B1D35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  transition: transform .5s var(--ease);
}

/* Small and dense contexts keep a plain pill */
.btn-sm::after,
.product-actions .btn::after,
.buy-bar .btn::after,
.btn-primary:disabled::after {
  content: none;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(30, 24, 26, .55);
  color: var(--ink);
}

@media (hover: hover) {
  .btn-primary:hover:not(:disabled) {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    box-shadow: 0 14px 28px -16px rgba(74, 20, 37, .8);
  }

  .btn-primary:hover:not(:disabled)::after { transform: translateX(4px); }

  .btn-ghost:hover:not(:disabled) {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
  }
}

.btn-primary:active:not(:disabled) {
  background: var(--burgundy-deep);
  box-shadow: none;
}

.btn-ghost:active:not(:disabled) {
  background: var(--ink);
  color: var(--cream);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 11px;
  letter-spacing: .14em;
}

.btn-lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 12.5px;
}

.btn-lg.btn-primary::after {
  width: 40px;
  height: 40px;
  margin-right: -24px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .45;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.btn.is-loading {
  opacity: .7;
  cursor: wait;
}

.btn.is-loading::after {
  content: '';
  width: 14px;
  height: 14px;
  margin: 0;
  background: none;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Text link: faint resting rule, burgundy underline draws in from the left */
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .8em;
  padding-block: 6px;
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(var(--line), var(--line)) 0 100% / 100% 1px no-repeat;
}

.text-link::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .6s var(--ease);
}

.text-link::after {
  content: '\2192';
  font-size: 14px;
  letter-spacing: 0;
  transition: transform .5s var(--ease);
}

.text-link:hover::before,
.text-link:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.text-link:hover::after { transform: translateX(4px); }


/* ==========================================================================
   06. Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color .4s var(--ease),
    border-color .4s var(--ease),
    -webkit-backdrop-filter .4s var(--ease),
    backdrop-filter .4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 239, 230, .7);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: rgba(247, 239, 230, .97); }
}

body.menu-open .site-header {
  background: var(--cream);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  height: 100%;
}

/* Menu button: two bars that cross into an X */
.menu-btn {
  position: relative;
  justify-self: start;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  border-radius: 50%;
  color: var(--ink);
}

.menu-btn span {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 22px;
  height: 1.5px;
  margin-top: -.75px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .45s var(--ease), width .45s var(--ease);
}

.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { width: 14px; transform: translateY(4px); }

.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { width: 22px; transform: rotate(-45deg); }

/* Brand */
.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(30, 24, 26, .08);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
  font-variation-settings: var(--soft-em);
}

/* Primary nav (desktop only) */
.main-nav { display: none; }

.main-nav a {
  position: relative;
  padding-block: 10px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .3s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .5s var(--ease);
}

.main-nav a:hover { color: var(--burgundy); }

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Tools: currency, Instagram, bag, CTA */
.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.currency-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(252, 247, 241, .45);
}

.currency-btn {
  position: relative;
  min-width: 38px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

/* Extends the hit area to 44px tall without enlarging the pill */
.currency-btn::after {
  content: '';
  position: absolute;
  inset: -9px 0;
}

.currency-btn:hover { color: var(--ink); }

.currency-btn.is-active {
  background: var(--ink);
  color: var(--cream);
}

.icon-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  transition: color .25s, background-color .25s;
}

.icon-link:hover {
  background: rgba(107, 29, 53, .06);
  color: var(--burgundy);
}

/* Bag: icon button with a count pill (hidden at 0) */
.bag-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  transition: color .25s, background-color .25s, translate .55s var(--spring);
}

.bag-btn:hover,
.bag-btn[aria-expanded="true"] {
  background: rgba(107, 29, 53, .06);
  color: var(--burgundy);
}

.bag-count {
  position: absolute;
  top: 3px;
  right: 1px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--burgundy);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--cream);
  pointer-events: none;
}

/* Pieces added: the count pops (shop.js skips the class under reduced motion) */
.bag-btn.is-bumped .bag-count { animation: bag-pop .4s var(--ease); }

@keyframes bag-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.header-cta {
  display: none;
  margin-left: 6px;
}

/* The "Shop" pill joins once the bag, Instagram and currency leave room for a centred logo */
@media (min-width: 800px) {
  .header-cta { display: inline-flex; }
}

/* Phones: menu | brand | currency + bag. Instagram moves to the menu (it is linked there),
   and the bag's hit area overhangs the gutter like the menu button's, so the logo stays centred. */
@media (max-width: 539.98px) {
  .header-inner { gap: 4px; }
  .header-tools { gap: 2px; }
  .icon-link { display: none; }
  .bag-btn { margin-right: -10px; }
}

/* Phones: the round logo (which carries the name) stands alone, centred; the wordmark
   would otherwise run into the currency toggle */
@media (max-width: 459.98px) {
  .brand-word { display: none; }
}

@media (min-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .menu-btn { display: none; }
  .brand { justify-self: start; }

  .main-nav {
    display: flex;
    justify-self: center;
    align-items: center;
    gap: clamp(18px, 2.2vw, 36px);
  }
}

@media (min-width: 1200px) {
  .header-inner { gap: 24px; }

  .main-nav a {
    font-size: 11.5px;
    letter-spacing: .16em;
  }
}


/* ==========================================================================
   07. Mobile menu
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: none;
}

/* Animates even when .is-open is applied in the same frame as [hidden] removal */
@starting-style {
  .mobile-menu.is-open {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.015em;
  font-variation-settings: var(--soft);
  text-decoration: none;
  transition: color .3s;
}

.mobile-nav a::after {
  content: '\2192';
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gold);
  transition: transform .4s var(--ease);
}

.mobile-nav a:hover,
.mobile-nav a:active { color: var(--burgundy); }

.mobile-nav a:hover::after { transform: translateX(4px); }

.mobile-nav .mobile-nav-ig {
  margin-top: 12px;
  border-bottom: 0;
  color: var(--burgundy);
  font-size: 1.5rem;
  font-style: italic;
}

.mobile-nav .mobile-nav-ig::after { content: '\2197'; }

.mobile-menu.is-open .mobile-nav a {
  animation: menu-item-in .7s var(--ease) both;
}

.mobile-menu.is-open .mobile-nav a:nth-child(2) { animation-delay: .04s; }
.mobile-menu.is-open .mobile-nav a:nth-child(3) { animation-delay: .08s; }
.mobile-menu.is-open .mobile-nav a:nth-child(4) { animation-delay: .12s; }
.mobile-menu.is-open .mobile-nav a:nth-child(5) { animation-delay: .16s; }
.mobile-menu.is-open .mobile-nav a:nth-child(6) { animation-delay: .2s; }
.mobile-menu.is-open .mobile-nav a:nth-child(7) { animation-delay: .24s; }

@keyframes menu-item-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.mobile-menu-foot {
  margin: 0;
  color: var(--muted);
  font-variation-settings: var(--soft-em);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
}

@media (min-width: 900px) {
  .mobile-menu { display: none; }
}


/* ==========================================================================
   08. Hero (editorial campaign)
   ========================================================================== */

/* A full-bleed campaign photo (model on the right third, empty beige seamless on the left)
   with the headline over the left half and a compact floating "shop the colour" card.
   --tint follows the active colour ({{HERO_STYLE}} sets it on .hero via :has()) and is used
   only by the card's little stage. The section colour matches the photo's backdrop, so
   letterboxing never shows. */
.hero {
  --tint: var(--gold);
  --hero-beige: #CDBAAB;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: var(--header-h); /* the photo starts under the header (padding, not margin, so it can't collapse) */
  background: var(--hero-beige);
}

/* Home: the hero runs up under the transparent header */
.page-home .hero { margin-top: calc(-1 * var(--header-h)); }

.hero .container { max-width: 1400px; }

.hero-bg {
  position: relative;
  z-index: -1;
  display: block;
  aspect-ratio: 4 / 5;
  max-height: 72svh;
  width: 100%;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 84% 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  padding-block: 32px 40px;
}

/* Copy */
.hero-copy { min-width: 0; }

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(3.4rem, 9vw, 8.2rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.02em;
}

.hero-title em { display: inline-block; padding-right: .04em; }

.hero-lead {
  max-width: 40ch;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.hero .eyebrow { color: var(--burgundy); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn { flex: 1 1 auto; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
}

/* Every item carries its own dot, so a wrapped line still starts cleanly */
.hero-trust li::before {
  content: '';
  flex: none;
  width: 3px;
  height: 3px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--burgundy);
  opacity: .6;
}

/* "( Scroll )": mono label over a slowly growing hairline */
.scroll-hint {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 4px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 44px;
  background: currentColor;
  opacity: .55;
  animation: hint-line 2.6s var(--ease) infinite;
}

@keyframes hint-line {
  0% { transform: scaleY(0); transform-origin: top center; }
  50% { transform: scaleY(1); transform-origin: top center; }
  50.01% { transform: scaleY(1); transform-origin: bottom center; }
  100% { transform: scaleY(0); transform-origin: bottom center; }
}

@keyframes hint-in {
  from { opacity: 0; }
}

@keyframes hint-float {
  0%, 100% { translate: -50% 0; }
  50% { translate: -50% -6px; }
}

@media (min-width: 540px) {
  .hero-actions .btn { flex: 0 0 auto; }
}

/* The old giant watermark is carried by the photo now */
.hero-editorial .hero-watermark { display: none; }

/* Floating "shop the colour" card */
.hero-shop {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 12px;
  background: var(--ivory);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 6px rgba(74, 20, 37, .06), 0 30px 60px -30px rgba(74, 20, 37, .45);
}

.hero-stage {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 14px;
  background-color: var(--studio);
  background-color: color-mix(in oklab, var(--tint) 28%, var(--ivory));
  isolation: isolate;
  transition: background-color .8s var(--ease);
}

/* Multiply on the slide (its own stacking context): the cream studio backdrop
   dissolves into the stage colour, the hand and feathers sit on the tint */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  mix-blend-mode: multiply;
  transition: opacity .8s var(--ease), transform 1.6s var(--ease);
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.hero-slide picture,
.hero-slide img {
  width: 100%;
  height: 100%;
}

.hero-slide img {
  object-fit: cover;
  object-position: 50% 64%;
  mix-blend-mode: multiply;
}

/* Colour picker */
.hero-picker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.color-dots {
  display: flex;
  flex-wrap: wrap;
  margin-left: -9px;
}

.color-dot {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.color-dot::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--swatch, var(--sand));
  box-shadow:
    inset 0 0 0 1px rgba(30, 24, 26, .16),
    inset 0 -5px 8px -4px rgba(30, 24, 26, .14);
  outline: 1px solid transparent;
  outline-offset: 3px;
  transition: outline-color .35s var(--ease), transform .45s var(--ease);
}

@media (hover: hover) {
  .color-dot:hover::before { transform: scale(1.14); }
}

.color-dot.is-active::before {
  outline-color: var(--ink);
  transform: none;
}

.color-dot:focus-visible { outline-offset: -4px; }

.hero-picker-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 350;
  line-height: 1.25;
  font-variation-settings: var(--soft-em);
}

.hero-picker-label .dot-sep {
  color: var(--gold-deep);
  font-style: normal;
}

.hero-picker-label .price {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .1em;
}

.hero-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-shop-link::after {
  content: '\2192';
  font-size: 14px;
  letter-spacing: 0;
  transition: transform .5s var(--ease);
}

.hero-shop-link:hover::after { transform: translateX(5px); }

@media (min-width: 600px) {
  .hero-bg { aspect-ratio: 4 / 3; }
  .hero-bg img { object-position: 74% 50%; }
}

/* Desktop: the photo fills the viewport behind the copy; the card floats bottom-right */
@media (min-width: 900px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding-block: calc(var(--header-h) + 24px) 96px;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
    aspect-ratio: auto;
    max-height: none;
    height: 100%;
  }

  .hero-bg img { object-position: 70% 50%; }

  /* Lifts the left half a touch so the headline reads on the seamless */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(232, 218, 203, .55) 0%, rgba(232, 218, 203, .25) 34%, rgba(232, 218, 203, 0) 52%);
    pointer-events: none;
  }

  .hero-grid {
    display: block;
    padding-block: 0;
  }

  .hero-copy { max-width: min(46vw, 640px); }

  .hero-title { font-size: clamp(3.4rem, 7.2vw, 7.4rem); }
  .hero-lead { font-size: 1.125rem; }

  .hero-shop {
    position: absolute;
    right: max(var(--gutter), calc((100% - 1400px) / 2 + var(--gutter)));
    bottom: 32px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 256px;
  }

  .hero-stage { height: 140px; }

  .hero-picker { padding: 4px 4px 0; }

  /* Fine pointers: 7 swatches on one row of the card */
  .color-dots { margin-left: -6px; }

  .scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    display: inline-flex;
    translate: -50% 0;
  }

  /* Sits at the very bottom edge, where the reveal observer would never fire: it simply
     fades in after the headline, then floats */
  html.js .scroll-hint.reveal,
  html.js .scroll-hint.reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    animation: hint-in 1s .9s var(--ease) backwards, hint-float 4s 1.9s ease-in-out infinite;
  }
}

@media (min-width: 900px) and (pointer: fine) {
  .color-dot { width: 27px; height: 32px; }
}

/* Short laptop windows: keep the headline from crowding the actions */
@media (min-width: 900px) and (max-height: 820px) {
  .hero-title { font-size: clamp(3.4rem, 6.4vw, 6.2rem); }
  .hero-trust { margin-top: 20px; }
}


/* ==========================================================================
   09. Marquee
   ========================================================================== */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(14px, 2.4vw, 28px);
  background: var(--cream);
  border-block: 1px solid var(--line);
  color: var(--burgundy);
  user-select: none;
}

/* Track holds 8 identical units, so -50% lands on an identical frame */
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 70s linear infinite;
  will-change: transform;
}

.marquee-track > span {
  flex: none;
  padding-inline: clamp(1rem, 2.4vw, 2.4rem);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-style: italic;
  font-weight: 350;
  line-height: 1.12;
  letter-spacing: -.01em;
  white-space: nowrap;
  font-variation-settings: var(--soft-em);
}

/* Words sit at odd positions (word, dot, word, dot…): alternate filled and outlined.
   Three words per unit and four units per half keep the pattern seamless at -50%. */
.marquee-track > span:nth-child(4n+3) {
  color: transparent;
  -webkit-text-stroke: 1px var(--burgundy);
}

.marquee-track > .marquee-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: var(--gold);
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}


/* ==========================================================================
   10. Section heads
   ========================================================================== */

.section-head { margin-bottom: clamp(40px, 6vw, 80px); }

/* Desktop: editorial split, title left and lead bottom-right */
@media (min-width: 900px) {
  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: end;
    column-gap: clamp(32px, 6vw, 96px);
  }

  .section-head > * { grid-column: 1; }
  .section-head > .section-title { margin-bottom: 0; }

  .section-head > .section-lead {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    padding-bottom: .5em;
  }
}


/* ==========================================================================
   10b. Scroll story (.wrap): Tap · Wrap · Wear · Share
   The section is tall; its inner frame sticks while four steps play out.
   Where scroll-driven animations exist they drive the crossfades straight from
   scroll position; elsewhere site.js sets --p and .is-active and transitions run.
   ========================================================================== */

.wrap {
  --p: 0;
  position: relative;
  height: 220vh;
  background-color: var(--cream);
  background-color: color-mix(in oklab, var(--tint, var(--gold)) 12%, var(--cream));
}

.wrap-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100vh;
  height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
}

.wrap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
}

.wrap-copy {
  position: relative;
  min-width: 0;
}

.wrap-copy .eyebrow { margin-bottom: 10px; }

.wrap-words,
.wrap-captions {
  display: grid;
}

.wrap-word,
.wrap-caption {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .9s var(--ease);
}

.wrap-word {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.035em;
  white-space: nowrap;
  font-variation-settings: var(--soft);
}

.wrap-word.is-active {
  color: var(--burgundy);
  font-style: italic;
  font-variation-settings: var(--soft-em);
}

.wrap-caption {
  max-width: 30ch;
  margin: 0;
  padding-top: 8px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.wrap-word.is-active,
.wrap-caption.is-active {
  opacity: 1;
  transform: none;
}

/* Before site.js runs (or without it): the first step is showing */
html:not(.js) .wrap-word[data-step="0"],
html:not(.js) .wrap-caption[data-step="0"] {
  opacity: 1;
  transform: none;
}

.wrap-steps {
  display: flex;
  gap: 8px;
  width: min(220px, 60%);
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.wrap-steps li {
  flex: 1 1 0;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
  transition: background-color .5s var(--ease);
}

.wrap-steps li.is-active { background: var(--burgundy); }

.wrap-stage {
  position: relative;
  justify-self: center;
  width: min(100%, calc(44svh * 1856 / 2304));
  aspect-ratio: var(--photo-ratio);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--studio);
  background-color: color-mix(in oklab, var(--tint, var(--gold)) 28%, var(--ivory));
  box-shadow: var(--shadow-warm);
  isolation: isolate;
}

.wrap-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}

.wrap-slide.is-active {
  opacity: 1;
  transform: none;
}

.wrap-slide[data-shot="wrist"] { mix-blend-mode: multiply; }
.wrap-slide[data-shot="wrist"] img { mix-blend-mode: multiply; }

.wrap-slide picture,
.wrap-slide img {
  width: 100%;
  height: 100%;
}

.wrap-slide img { object-fit: cover; }

@media (min-width: 900px) {
  .wrap { height: 320vh; }

  .wrap-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
  }

  .wrap-copy .eyebrow { margin-bottom: 24px; }
  .wrap-caption { font-size: 1.25rem; }
  .wrap-steps { margin-top: 40px; }

  .wrap-stage {
    width: min(100%, calc(70svh * 1856 / 2304));
  }
}

/* Scroll-driven version: the section's own view timeline drives each step over a quarter
   of the pinned range (contain = while the sticky frame fills the viewport). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .wrap { view-timeline: --wrap block; }

    .wrap-word,
    .wrap-caption,
    .wrap-slide {
      transition: none;
      animation-timeline: --wrap;
      animation-fill-mode: both;
      animation-timing-function: linear;
      animation-duration: auto;
    }

    .wrap-word,
    .wrap-caption { animation-name: wrap-step; }
    .wrap-slide { animation-name: wrap-slide; }

    .wrap-word[data-step="0"],
    .wrap-caption[data-step="0"] { animation-name: wrap-step-first; }
    .wrap-slide[data-step="0"] { animation-name: wrap-slide-first; }

    .wrap-word[data-step="3"],
    .wrap-caption[data-step="3"] { animation-name: wrap-step-last; }
    .wrap-slide[data-step="3"] { animation-name: wrap-slide-last; }

    [data-step="0"]:is(.wrap-word, .wrap-caption, .wrap-slide) { animation-range: contain 0% contain 25%; }
    [data-step="1"]:is(.wrap-word, .wrap-caption, .wrap-slide) { animation-range: contain 25% contain 50%; }
    [data-step="2"]:is(.wrap-word, .wrap-caption, .wrap-slide) { animation-range: contain 50% contain 75%; }
    [data-step="3"]:is(.wrap-word, .wrap-caption, .wrap-slide) { animation-range: contain 75% contain 100%; }

    /* Photos run over two quarters: in during their own, out just after the next one has
       fully arrived (the wrist shot multiplies, so nothing may remain underneath it). */
    .wrap-slide[data-step="0"] { animation-range: contain 0% contain 50%; }
    .wrap-slide[data-step="1"] { animation-range: contain 25% contain 75%; }
    .wrap-slide[data-step="2"] { animation-range: contain 50% contain 100%; }
    .wrap-slide[data-step="3"] { animation-range: contain 75% contain 100%; }
  }
}

/* Words and captions: quick in, long hold, quick out, so neighbours only overlap briefly. */
@keyframes wrap-step {
  0% { opacity: 0; transform: translateY(20px); }
  12%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-20px); }
}

@keyframes wrap-step-first {
  0%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-20px); }
}

@keyframes wrap-step-last {
  0% { opacity: 0; transform: translateY(20px); }
  12%, 100% { opacity: 1; transform: none; }
}

/* Photos are stacked in step order, so each one fades in over the previous and then stays:
   the stage never dips to the bare tint between steps. */
@keyframes wrap-slide {
  0% { opacity: 0; transform: scale(1.06); }
  8%, 58% { opacity: 1; transform: none; }
  64%, 100% { opacity: 0; transform: none; }
}

@keyframes wrap-slide-first {
  0%, 58% { opacity: 1; transform: none; }
  64%, 100% { opacity: 0; transform: none; }
}

@keyframes wrap-slide-last {
  0% { opacity: 0; transform: scale(1.06); }
  16%, 100% { opacity: 1; transform: none; }
}


/* ==========================================================================
   11. Product grid & cards
   ========================================================================== */

/* Editorial grid: the hero colour leads as a 2×2 feature, the set offer breaks the grid.
   1 column < 540, 2 columns (feature full width) < 900, 3 columns < 1200, then 4. */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

@media (min-width: 540px) {
  .product-grid:not(.product-grid-compact) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid:not(.product-grid-compact) .is-feature { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .product-grid:not(.product-grid-compact) { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .product-grid:not(.product-grid-compact) .is-feature {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (min-width: 1200px) {
  .product-grid:not(.product-grid-compact) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Card: a tinted surface in the colour it sells (no border) */
.product-card {
  --surface: var(--ivory);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--ivory);
  border-radius: var(--radius-card);
  transition:
    transform .6s var(--ease),
    box-shadow .6s var(--ease);
}

@supports (background-color: color-mix(in oklab, red 50%, blue)) {
  .product-card {
    --surface: color-mix(in oklab, var(--tint, var(--sand)) 18%, var(--ivory));
    background: var(--surface);
  }
}

/* Black at 18% reads as concrete grey: give it a lighter wash */
@supports (background-color: color-mix(in oklab, red 50%, blue)) {
  .product-card[data-product="black"] { --surface: color-mix(in oklab, var(--tint) 9%, var(--ivory)); }
}

@media (hover: hover) {
  .product-card:hover {
    box-shadow: var(--shadow-warm);
    transform: translateY(-6px);
  }
}

/* Media: a swipeable row of four photos (wrist, pedestal, satin, hand), cropped to 4:5.
   A plain click opens the product (site.js reads data-href); drags and controls don't. */
.product-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}

/* Focus ring for the photo row, drawn inside the card edge */
.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  box-shadow: inset 0 0 0 3px var(--burgundy);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  opacity: 0;
  pointer-events: none;
}

.card-slider:focus-visible { outline-offset: -3px; }

@supports selector(:has(*)) {
  .card-slider:focus-visible { outline: none; }
  .product-media:has(> .card-slider:focus-visible)::after { opacity: 1; }
}

.card-slider {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: pointer;
}

.card-slider::-webkit-scrollbar { display: none; }

.card-slider.is-dragging {
  cursor: grabbing;
  -webkit-user-select: none;
  user-select: none;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* No photos yet: a single swatch, nothing to scroll */
.card-slider-static { overflow: hidden; }

.card-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden; /* keeps the hover zoom from bleeding into the neighbouring slide */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.card-slide picture,
.card-slide img {
  width: 100%;
  height: 100%;
}

.card-slide img {
  object-fit: cover;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 1.2s var(--ease), opacity .4s, filter .4s;
}

/* Wrist shots: the cream studio backdrop melts into the card's tint */
.card-slide[data-shot="wrist"] img { mix-blend-mode: multiply; }

@media (hover: hover) {
  .product-card:hover .card-slide img { transform: scale(1.035); }
}

/* Arrows: revealed on hover or keyboard focus; touch screens swipe instead */
.card-arrow {
  position: absolute;
  top: calc(50% - 19px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(252, 247, 241, .9);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition:
    opacity .35s var(--ease),
    transform .45s var(--ease),
    background-color .25s,
    color .25s;
}

.card-arrow-prev { left: 10px; }
.card-arrow-next { right: 10px; }

.card-arrow:focus-visible { outline-offset: 2px; }

@media (hover: hover) {
  .card-arrow { opacity: 0; }
  .card-arrow-prev { transform: translateX(-4px); }
  .card-arrow-next { transform: translateX(4px); }

  .product-card:hover .card-arrow,
  .product-media:focus-within .card-arrow {
    opacity: 1;
    transform: none;
  }

  .card-arrow:hover {
    background: var(--ivory);
    color: var(--burgundy);
  }
}

@media (hover: none) {
  .card-arrow { display: none; }
}

/* Dots: 6px marks, the active one stretches into a burgundy pill.
   9px of padding gives each a 24px hit area and lifts the marks 12px off the edge. */
.card-dots {
  position: absolute;
  left: 50%;
  bottom: 3px;
  z-index: 1;
  display: flex;
  transform: translateX(-50%);
}

.card-dot {
  display: block;
  padding: 9px;
  border-radius: var(--radius-pill);
}

.card-dot::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(252, 247, 241, .7);
  box-shadow: 0 0 0 .5px rgba(30, 24, 26, .1), 0 1px 3px rgba(30, 24, 26, .25);
  transition: width .45s var(--ease), background-color .3s var(--ease);
}

.card-dot.is-active::before {
  width: 18px;
  background: var(--burgundy);
}

@media (hover: hover) {
  .card-dot:not(.is-active):hover::before { background: rgba(252, 247, 241, .95); }
}

.ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-block;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: var(--burgundy);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgba(30, 24, 26, .55);
  pointer-events: none;
}

/* Photo placeholder: a colour that hasn't been photographed yet is shown as a swatch card
   in its own hue (--swatch is set inline). Used in cards, set chips and the product gallery. */
.img-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  aspect-ratio: var(--photo-ratio);
  padding: 16px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

/* Fallback without color-mix(): a white wash over the swatch gives the same top-lit gradient */
.img-placeholder,
.checkout-thumb-placeholder {
  background-color: var(--swatch, var(--sand));
  background-image:
    radial-gradient(70% 45% at 50% 46%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
}

@supports (background-color: color-mix(in srgb, red 50%, blue)) {
  .img-placeholder,
  .checkout-thumb-placeholder {
    background-image:
      radial-gradient(70% 45% at 50% 46%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0)),
      linear-gradient(160deg, color-mix(in srgb, var(--swatch, var(--sand)) 45%, #fff), var(--swatch, var(--sand)));
  }
}

/* Hairline inner frame, like the edge of a printed swatch card */
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
  pointer-events: none;
}

.img-placeholder-mark {
  margin-right: -.16em; /* balances the trailing letter-spacing */
  color: var(--burgundy);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
}

.img-placeholder-mark::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  margin: 12px auto 0;
  background: currentColor;
  opacity: .5;
}

.img-placeholder-text {
  max-width: 22ch;
  color: rgba(30, 24, 26, .55);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Inside a sized frame the placeholder takes the frame's shape */
.card-slide .img-placeholder,
.gallery-slide .img-placeholder,
.set-chip-img .img-placeholder {
  height: 100%;
  aspect-ratio: auto;
}


/* Body */
.product-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 0;
}

.product-text { min-width: 0; }

.product-name {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
}

.product-name a {
  color: inherit;
  text-decoration: none;
  transition: color .3s;
}

.product-name a:hover { color: var(--burgundy); }

.product-sub {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-blurb { display: none; }

.product-card-price {
  flex: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.25;
  font-variant-numeric: lining-nums tabular-nums;
  font-variation-settings: var(--soft);
  text-align: right;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding: 18px 22px 22px;
}

/* Sized so "Add to bag" + "Details" share one row down to a 270px card */
.product-actions .btn {
  min-height: 46px;
  padding-inline: 14px;
  font-size: 11px;
  letter-spacing: .12em;
}

.product-actions .btn-ghost { border-color: rgba(30, 24, 26, .3); }

/* Four across (from 1200px) the cards are narrower still */
@media (min-width: 1200px) {
  .product-grid:not(.product-grid-compact) .product-actions .btn {
    padding-inline: 10px;
    font-size: 10.5px;
  }
}

.product-actions .btn-primary,
.product-actions .btn-buy { flex: 1 1 auto; }

/* Feature card: the hero colour, oversized */
.product-card.is-feature .product-media { aspect-ratio: 4 / 5; }

.product-card.is-feature .product-name { font-size: clamp(2rem, 3vw, 3rem); }

.product-card.is-feature .product-blurb {
  display: block;
  max-width: 44ch;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.product-card.is-feature .product-card-price { font-size: clamp(1.4rem, 1.8vw, 1.8rem); }

@media (min-width: 540px) {
  .product-grid:not(.product-grid-compact) .is-feature .product-media { aspect-ratio: 4 / 3; }

  .product-grid:not(.product-grid-compact) .is-feature .product-actions .btn {
    flex: 0 0 auto;
    padding-inline: 26px;
  }

  .product-grid:not(.product-grid-compact) .is-feature .product-body { padding: 26px 28px 0; }
  .product-grid:not(.product-grid-compact) .is-feature .product-actions { padding: 22px 28px 28px; }
}

@media (min-width: 900px) {
  /* Two rows tall: the photo takes whatever the body leaves */
  .product-grid:not(.product-grid-compact) .is-feature .product-media {
    flex: 1 1 auto;
    min-height: 360px;
    aspect-ratio: auto;
  }

  .product-grid:not(.product-grid-compact) .is-feature .card-slider {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .product-grid:not(.product-grid-compact) .is-feature .product-actions { margin-top: 0; }
}

/* Pre-order: a soft cream wash over the photos and a clear centred label.
   The small ribbon steps aside so the card isn't labelled twice. */
.preorder-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: none;
  padding: 10px 18px;
  border: 1px solid color-mix(in oklab, var(--burgundy) 35%, transparent);
  border-radius: var(--radius-pill);
  background: rgba(252, 247, 241, .82);
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(30, 24, 26, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  translate: -50% -50%;
  pointer-events: none;
}

.product-card.is-preorder:not(.is-sold-out) .product-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(252, 247, 241, .38);
  pointer-events: none;
}

.product-card.is-preorder:not(.is-sold-out) .preorder-stamp { display: inline-block; }
.product-card.is-preorder:not(.is-sold-out) .ribbon[data-ribbon="preorder"] { display: none; }
.product-card.is-feature .preorder-stamp { font-size: 14px; padding: 12px 22px; }
.product-grid-compact .preorder-stamp { font-size: 10px; padding: 7px 12px; letter-spacing: .16em; }

.product-gallery { position: relative; }

/* The gallery scrolls on mobile, so the wash is done by letting the ivory background show through */
.product-hero.is-preorder .product-gallery-main img,
.product-hero.is-preorder .product-gallery-main .img-placeholder { opacity: .74; }

.product-hero.is-preorder .product-gallery > .preorder-stamp {
  display: inline-block;
  top: 24px;
  left: 24px;
  translate: 0 0;
  font-size: 13px;
}

/* Sold out */
.product-card.is-sold-out .product-media { background: var(--sand); }

.product-card.is-sold-out .card-slide img,
.product-card.is-sold-out .img-placeholder {
  opacity: .55;
  filter: grayscale(.65) contrast(.9);
}

.product-card.is-sold-out .btn-buy:disabled {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--muted);
  opacity: 1;
}

/* Promo tile: the set offer as an editorial break in the grid. A campaign photo sits
   underneath (picture.promo-bg), a burgundy gradient carries the cream type. */
.promo-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 420px;
  padding: clamp(22px, 2.2vw, 32px);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--burgundy-deep);
  color: var(--cream);
  text-decoration: none;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.promo-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.promo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.4s var(--ease);
}

/* Gradient + grain over the photo */
.promo-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(74, 20, 37, 0) 22%, rgba(74, 20, 37, .55) 52%, rgba(74, 20, 37, .88) 80%, rgba(74, 20, 37, .94) 100%);
}

.promo-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: .12;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.promo-tile .eyebrow {
  margin: 0;
  color: rgba(247, 239, 230, .9);
}

.promo-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.015em;
  text-wrap: balance;
  font-variation-settings: var(--soft-em);
}

.promo-tile .promo-title em { color: var(--gold); }

.promo-text {
  max-width: 30ch;
  margin: 0;
  color: rgba(247, 239, 230, .82);
  font-size: 14px;
  line-height: 1.55;
}

.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.promo-link::after {
  content: '\2192';
  font-size: 15px;
  letter-spacing: 0;
  transition: transform .5s var(--ease);
}

.promo-tile:focus-visible { outline-color: var(--burgundy); outline-offset: 3px; }

@media (hover: hover) {
  .promo-tile:hover {
    box-shadow: var(--shadow-warm);
    transform: translateY(-6px);
  }

  .promo-tile:hover .promo-bg img { transform: scale(1.04); }
  .promo-tile:hover .promo-link::after { transform: translateX(6px); }
}

/* Compact variant (product page "More colours") */
.product-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
  gap: 16px;
}

.product-grid-compact .product-card { border-radius: var(--radius); }

.product-grid-compact .ribbon {
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  font-size: 9px;
}

.product-grid-compact .card-arrow {
  top: calc(50% - 16px);
  width: 32px;
  height: 32px;
}

.product-grid-compact .card-arrow-prev { left: 8px; }
.product-grid-compact .card-arrow-next { right: 8px; }
.product-grid-compact .card-arrow svg { width: 16px; height: 16px; }

.product-grid-compact .product-body {
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 0;
}

.product-grid-compact .product-name { font-size: 1.2rem; }
.product-grid-compact .product-sub { font-size: 12px; }

.product-grid-compact .product-card-price {
  font-size: 1.1rem;
  text-align: left;
}

.product-grid-compact .product-actions {
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
}

.product-grid-compact .product-actions .btn {
  width: 100%;
  min-height: 44px;
  padding-inline: 12px;
  font-size: 11px;
  letter-spacing: .14em;
}

@media (max-width: 539.98px) {
  .product-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}


/* ==========================================================================
   12. Set builder
   ========================================================================== */

.set-builder {
  --pad: clamp(18px, 3vw, 40px);
  position: relative;
  padding: var(--pad);
  background: var(--ivory);
  border: 1px solid rgba(30, 24, 26, .06);
  border-radius: 28px;
}

/* Tiers: offer indicators (not controls) read as a two-step stepper; the offer the
   selection earns is filled. Scrolls sideways on narrow screens. */
.set-tiers {
  display: flex;
  align-items: center;
  max-width: 100%;
  padding: 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  counter-reset: tier;
}

.set-tiers::-webkit-scrollbar { display: none; }

.set-tier {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 12px;
  min-height: 52px;
  padding: 8px 20px 8px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  cursor: default;
  scroll-snap-align: start;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

/* Step number */
.set-tier::before {
  counter-increment: tier;
  content: counter(tier, decimal-leading-zero);
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  transition: border-color .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}

/* Connector between the two offers */
.set-tier + .set-tier { margin-left: 44px; }

.set-tier + .set-tier::after {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(100% + 1px);
  width: 44px;
  height: 1px;
  background: var(--line-strong);
}

.set-tier.is-active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--cream);
  box-shadow: 0 10px 22px -12px rgba(74, 20, 37, .7);
}

.set-tier.is-active::before {
  border-color: transparent;
  background: var(--cream);
  color: var(--burgundy);
}

.set-tier-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
  font-variation-settings: var(--soft);
}

.set-tier-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .35s var(--ease);
}

.set-tier.is-active .set-tier-meta { color: rgba(247, 239, 230, .8); }

/* Colour chips: each tinted in its own colour */
.set-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 14px;
  margin-block: clamp(22px, 3vw, 36px);
}

/* Wide screens: every colour on one row */
@media (min-width: 1100px) {
  .set-chips {
    display: flex;
    gap: 12px;
  }

  .set-chip { flex: 1 1 0; }
}

@media (max-width: 419.98px) {
  .set-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.set-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  padding: 8px 8px 14px;
  background: var(--ivory);
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  text-align: left;
  transition:
    box-shadow .35s var(--ease),
    transform .35s var(--ease),
    opacity .3s;
}

@supports (background-color: color-mix(in oklab, red 50%, blue)) {
  .set-chip { background: color-mix(in oklab, var(--tint, var(--sand)) 14%, var(--ivory)); }
}

@media (hover: hover) {
  .set-chip:not(:disabled):hover {
    box-shadow: 0 16px 30px -22px rgba(74, 20, 37, .6);
    transform: translateY(-3px);
  }

  .set-chip:not(:disabled):hover .set-chip-img img { transform: scale(1.05); }
}

.set-chip:not(:disabled):active { transform: scale(.98); }
.set-chip:focus-visible { outline-offset: 3px; }

.set-chip-img {
  display: block;
  aspect-ratio: 1 / 1;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 11px;
  background: var(--taupe);
}

.set-chip-img picture,
.set-chip-img img {
  width: 100%;
  height: 100%;
}

.set-chip-img img {
  object-fit: cover;
  object-position: 50% 42%;
  transition: transform .8s var(--ease), filter .3s;
}

.set-chip-name {
  display: block;
  padding-inline: 4px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.15;
  font-variation-settings: var(--soft);
}

.set-chip-price {
  display: block;
  margin-top: 2px;
  padding-inline: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
}

/* "Pre-order" / "Sold out" under the price */
.set-chip-note {
  display: block;
  margin-top: 4px;
  padding-inline: 4px;
  color: var(--gold-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Small swatch card in a chip */
.set-chip-img .img-placeholder {
  gap: 8px;
  padding: 10px;
}

.set-chip-img .img-placeholder::before {
  inset: 6px;
  border-radius: 7px;
}

.set-chip-img .img-placeholder-mark { font-size: 1.2rem; }

.set-chip-img .img-placeholder-mark::after {
  width: 18px;
  margin-top: 8px;
}

.set-chip-img .img-placeholder-text {
  font-size: 8.5px;
  letter-spacing: .14em;
}

/* Selection badge: empty ring at rest, filled burgundy check when pressed */
.set-chip-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(252, 247, 241, .9);
  box-shadow: inset 0 0 0 1px rgba(30, 24, 26, .2);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .45s var(--spring);
}

.set-chip-check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 11px;
  border: solid var(--cream);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -62%) rotate(45deg) scale(0);
  transition: transform .35s var(--ease);
}

.set-chip[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--burgundy), 0 16px 30px -20px rgba(107, 29, 53, .6);
}

.set-chip[aria-pressed="true"] .set-chip-check {
  background: var(--burgundy);
  box-shadow: 0 0 0 2px var(--ivory);
  transform: scale(1.08);
}

.set-chip[aria-pressed="true"] .set-chip-check::after {
  transform: translate(-50%, -62%) rotate(45deg) scale(1);
}

/* Sold out */
.set-chip:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.set-chip:disabled .set-chip-img img { filter: grayscale(.8); }

.set-chip:disabled .set-chip-name {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.set-chip:disabled .set-chip-check { display: none; }

/* Summary: sticky bottom bar on mobile, inline row from 700px */
.set-summary {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "text price"
    "action action";
  align-items: center;
  gap: 12px 16px;
  margin: 0 calc(-1 * var(--pad)) calc(-1 * var(--pad));
  padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom));
  background: var(--sand);
  border-top: 1px solid var(--line);
  border-radius: 0 0 28px 28px;
}

.set-summary-text {
  grid-area: text;
  min-width: 0;
}

.set-summary-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  font-variation-settings: var(--soft);
}

.set-summary-items {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.set-summary-price {
  grid-area: price;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.set-price-was {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.2;
  text-decoration: line-through;
}

.set-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.set-save {
  margin: 0;
  color: var(--success);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.set-summary > .btn {
  grid-area: action;
  width: 100%;
}

@media (min-width: 700px) {
  .set-summary {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "text price action";
    gap: 32px;
    margin: 0;
    padding: 28px 0 0;
    background: none;
    border-radius: 0;
  }

  .set-summary-title { font-size: 1.5rem; }

  .set-summary-items {
    overflow: visible;
    white-space: normal;
  }

  .set-price { font-size: 2.2rem; }
  .set-summary > .btn { width: auto; }
}


/* ==========================================================================
   13. Experience (the dark theatrical break)
   ========================================================================== */

/* Rises over the end of the sets section on large rounded shoulders */
.experience {
  --exp-r: clamp(28px, 6vw, 88px);
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--exp-r));
  background-color: var(--burgundy-deep);
  background-image: radial-gradient(60% 50% at 88% 0%, rgba(201, 169, 126, .16), rgba(201, 169, 126, 0));
  border-radius: var(--exp-r) var(--exp-r) 0 0;
  color: var(--cream);
}

.experience ::selection {
  background: var(--gold);
  color: var(--burgundy-deep);
}

.experience :focus-visible { outline-color: var(--gold); }

.experience .eyebrow { color: var(--gold); }

.experience .section-title { color: var(--cream); }
.experience .section-title em { color: var(--gold); }

.experience-grid {
  display: grid;
  align-items: center;
  gap: 48px;
}

.experience-media {
  position: relative;
  isolation: isolate;
}

/* Soft gold hairline inside the frame */
.experience-media::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 169, 126, .55);
  border-radius: 20px;
  pointer-events: none;
}

.experience-media img {
  width: 100%;
  aspect-ratio: 800 / 1029;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}

.experience-copy { min-width: 0; }

.experience-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(247, 239, 230, .16);
}

.experience-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding-block: 26px;
  border-bottom: 1px solid rgba(247, 239, 230, .16);
}

.experience-list .num {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  line-height: .9;
  font-variant-numeric: lining-nums;
  font-variation-settings: var(--soft);
}

.experience-list h3 {
  margin: 4px 0 8px;
  color: var(--cream);
  font-size: 1.6rem;
  font-weight: 350;
  line-height: 1.15;
}

.experience-list p {
  margin: 0;
  color: rgba(247, 239, 230, .7);
  font-size: 15px;
}

@media (min-width: 900px) {
  .experience-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 112px);
  }
}


/* ==========================================================================
   14. Story
   ========================================================================== */

.story-grid {
  display: grid;
  align-items: center;
  gap: 56px;
}

.story-copy { min-width: 0; }
.story-copy .section-title { margin-bottom: 28px; }

.story-copy > p:not(.eyebrow) {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

/* First paragraph as a lede */
.story-copy > .section-title + p {
  max-width: 34ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.45vw, 1.4rem);
  font-weight: 350;
  line-height: 1.5;
  font-variation-settings: var(--soft);
}

.story-copy .text-link { margin-top: 16px; }

/* Mobile: two images side by side, no overlap */
.story-media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.story-img {
  overflow: hidden;
  border-radius: 22px;
  background: var(--sand);
}

.story-img img {
  width: 100%;
  aspect-ratio: var(--photo-ratio);
  object-fit: cover;
}

/* Editorial portrait (square source) cropped to 4:5, face and bracelet in frame */
.story-img-a {
  background: #4A1A22;
}

.story-img-a img {
  aspect-ratio: 4 / 5;
  object-position: 50% 30%;
}

.story-img-b { margin-top: 48px; }

/* Caption under the pair, like a magazine credit */
.story-media::after {
  content: 'Fig. 05 \2014  Hand-finished in Dubai';
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Desktop: large portrait with a smaller tilted print overlapping bottom-right.
   Uses the individual `rotate` property so the reveal transform can't override it. */
@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(56px, 8vw, 128px);
  }


  .story-media {
    display: block;
    padding-bottom: 20%;
  }

  .story-img-a { width: 74%; }

  .story-img-b {
    position: absolute;
    right: -2%;
    bottom: -2%;
    width: 38%;
    margin: 0;
    border: 10px solid var(--cream);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    rotate: 3deg;
  }

  .story-media::after {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 50%;
  }
}


/* ==========================================================================
   15. Gallery strip
   ========================================================================== */

.gallery .section-head { margin-bottom: clamp(32px, 4vw, 56px); }

.strip {
  /* Align the first card with the container edge on wide screens */
  --strip-pad: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  display: flex;
  gap: 18px;
  padding-block: 8px 12px;
  padding-inline: var(--strip-pad);
  scroll-padding-inline: var(--strip-pad);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.strip::-webkit-scrollbar { display: none; }
.strip:focus-visible { outline-offset: -4px; }

.strip.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.strip.is-dragging a { pointer-events: none; }

/* Each colour is a tinted panel with the photo inset */
.strip-item {
  flex: 0 0 clamp(260px, 30vw, 420px);
  margin: 0;
  padding: 12px 12px 18px;
  border-radius: var(--radius-lg);
  background: var(--sand);
  scroll-snap-align: start;
}

@supports (background-color: color-mix(in oklab, red 50%, blue)) {
  .strip-item { background: color-mix(in oklab, var(--tint, var(--sand)) 35%, var(--ivory)); }
}

.strip-item a {
  display: block;
  aspect-ratio: var(--photo-ratio);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  -webkit-user-drag: none;
}

.strip-item a:focus-visible { outline-offset: 2px; }

.strip-item picture,
.strip-item img {
  width: 100%;
  height: 100%;
}

.strip-item img {
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform 1s var(--ease);
}

@media (hover: hover) {
  .strip-item a:hover img { transform: scale(1.04); }
}

.strip-item figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-inline: 6px;
}

.strip-num {
  order: 2;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
}

.strip-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.015em;
  font-variation-settings: var(--soft-em);
}

/* Scroll progress under the strip (site.js sets --strip-p from 0 to 1) */
.gallery::after {
  content: '';
  display: block;
  width: calc(min(100%, var(--container)) - 2 * var(--gutter));
  height: 2px;
  margin: clamp(24px, 3vw, 36px) auto 0;
  border-radius: 2px;
  background:
    linear-gradient(var(--burgundy), var(--burgundy)) 0 0 / calc(8% + var(--strip-p, 0) * 92%) 100% no-repeat,
    var(--line);
}


/* ==========================================================================
   16. FAQ & disclosures (shared marker for FAQ and product details)
   ========================================================================== */

.faq-grid {
  display: grid;
  gap: 40px;
}

.faq-list { border-top: 1px solid var(--line); }

.faq-item,
.product-details {
  border-bottom: 1px solid var(--line);
}

.faq-item > summary,
.product-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding-block: 24px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-item > summary::-webkit-details-marker,
.product-details > summary::-webkit-details-marker { display: none; }

.faq-item > summary::marker,
.product-details > summary::marker { content: ''; }

/* Plus marker: two 1px lines in a hairline circle; the vertical collapses into a minus */
.faq-item > summary::after,
.product-details > summary::after {
  content: '';
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 12px no-repeat;
  transition:
    transform .45s var(--ease),
    background-size .45s var(--ease),
    background-color .3s,
    border-color .3s,
    color .3s;
}

.faq-item[open] > summary::after,
.product-details[open] > summary::after {
  border-color: var(--burgundy);
  color: var(--burgundy);
  background-size: 12px 1px, 1px 0;
  transform: rotate(180deg);
}

@media (hover: hover) {
  .faq-item > summary:hover::after,
  .product-details > summary:hover::after {
    background-color: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--cream);
  }

  .faq-item > summary:hover h3,
  .product-details > summary:hover { color: var(--burgundy); }
}

.faq-item h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
  transition: color .3s;
}

.faq-answer {
  max-width: 62ch;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-answer p { margin: 0; }

/* Smooth open/close where supported */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }

  .faq-item::details-content,
  .product-details::details-content {
    height: 0;
    overflow: clip;
    transition: height .45s var(--ease), content-visibility .45s allow-discrete;
  }

  .faq-item[open]::details-content,
  .product-details[open]::details-content {
    height: auto;
  }
}

@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    align-items: start;
    gap: clamp(48px, 7vw, 112px);
  }

  .faq-grid .section-head {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: block;
    margin-bottom: 0;
  }

  .faq-grid .section-head > .section-title { margin-bottom: .45em; }
}


/* ==========================================================================
   17. Instagram
   ========================================================================== */

.instagram-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.instagram .eyebrow { justify-content: center; }

.instagram .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

.instagram-handle {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0 0 24px;
  color: var(--burgundy);
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-decoration: none;
  overflow-wrap: anywhere;
  font-variation-settings: var(--soft-em);
}

.instagram-handle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: .02em;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .8s var(--ease);
}

.instagram-handle:hover::after,
.instagram-handle:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.instagram .section-lead { margin-inline: auto; }


/* ==========================================================================
   18. Footer (mega-footer: columns, then the wordmark bleeding off the bottom)
   ========================================================================== */

.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: clamp(64px, 9vw, 120px);
  background: var(--burgundy-deep);
  color: var(--cream);
}

.site-footer ::selection {
  background: var(--gold);
  color: var(--burgundy-deep);
}

.site-footer :focus-visible { outline-color: var(--gold); }

.footer-grid { order: 1; }
.footer-bottom { order: 2; }
.footer-top { order: 3; }

.footer-top {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: clamp(28px, 4vw, 48px);
}

.footer-meta { order: -1; }

.footer-meta {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
}

#footerClock { font-variant-numeric: tabular-nums; }

.footer-wordmark {
  margin: clamp(8px, 2vw, 24px) 0 -.03em -.05em;
  color: rgba(247, 239, 230, .1);
  font-family: var(--font-display);
  font-size: clamp(6rem, 40vw, 22rem);
  font-weight: 300;
  line-height: .85;
  letter-spacing: -.045em;
  white-space: nowrap;
  user-select: none;
  font-variation-settings: var(--soft-em);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(201, 169, 126, .45);
}

.footer-tagline {
  margin: 0 0 12px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.15;
  font-variation-settings: var(--soft-em);
}

.footer-blurb {
  max-width: 34ch;
  margin: 0;
  color: rgba(247, 239, 230, .7);
  font-size: 14px;
  line-height: 1.65;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(247, 239, 230, .8);
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .25s;
}

.footer-col a:hover { color: var(--cream); }

.footer-address {
  margin: 8px 0 0;
  color: rgba(247, 239, 230, .6);
  font-size: 14px;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 24px 0;
  color: rgba(247, 239, 230, .6);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

/* Hairline aligned with the content edge rather than the padding box */
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(255, 255, 255, .12);
}

.footer-bottom p { margin: 0; }

.footer-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 540px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 48px;
  }

  .footer-brand { grid-column: auto; }
}


/* ==========================================================================
   19. Product page
   ========================================================================== */

/* Breadcrumb */
.breadcrumb { padding-top: 24px; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumb li + li::before {
  content: '/';
  margin-inline: 10px;
  color: rgba(122, 111, 107, .55);
}

.breadcrumb a {
  display: inline-block;
  padding-block: 8px;
  color: inherit;
  text-decoration: none;
  transition: color .25s;
}

.breadcrumb a:hover { color: var(--burgundy); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* Layout */
.product-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 28px;
  padding-block: clamp(16px, 3vw, 32px) clamp(40px, 7vw, 88px);
}

/* A soft wash of the colour runs full-bleed from under the header and fades out */
.product-hero::before {
  content: '';
  position: absolute;
  top: calc(-1 * (var(--header-h) + 72px));
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: min(90%, 1000px);
  background: linear-gradient(180deg, rgba(201, 169, 126, .18), rgba(201, 169, 126, 0));
  background: linear-gradient(180deg, color-mix(in oklab, var(--tint, var(--gold)) 22%, var(--cream)), color-mix(in oklab, var(--tint, var(--gold)) 0%, var(--cream)));
  translate: -50% 0;
  pointer-events: none;
}

.breadcrumb { position: relative; z-index: 1; }

/* Gallery: horizontal scroll-snap on mobile, single active slide on desktop */
.product-gallery { min-width: 0; }

.product-gallery-main {
  position: relative;
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  background: var(--studio);
  background: color-mix(in oklab, var(--tint, var(--gold)) 22%, var(--ivory));
  isolation: isolate;
}

.product-gallery-main::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  aspect-ratio: var(--photo-ratio);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.gallery-slide picture,
.gallery-slide img {
  width: 100%;
  height: 100%;
}

.gallery-slide img { object-fit: cover; }

/* Wrist shot: the studio cream melts into the tinted panel */
.gallery-slide[data-shot="wrist"] { mix-blend-mode: multiply; }
.gallery-slide[data-shot="wrist"] img { mix-blend-mode: multiply; }

.product-gallery-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 72px;
  aspect-ratio: var(--photo-ratio);
  padding: 2px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  opacity: .65;
  transition: border-color .3s var(--ease), opacity .3s var(--ease);
}

.gallery-thumb picture,
.gallery-thumb img {
  width: 100%;
  height: 100%;
}

.gallery-thumb img {
  border-radius: 6px;
  object-fit: cover;
}

.gallery-thumb:hover { opacity: 1; }

.gallery-thumb.is-active {
  border-color: var(--burgundy);
  opacity: 1;
}

/* Colour without photos: one swatch slide, no thumbnails.
   (The thumbs container keeps template whitespace, so :empty alone won't match.) */
.product-gallery-thumbs:empty,
.product-hero.is-no-photos .product-gallery-thumbs { display: none; }

.product-hero.is-no-photos .product-gallery-main {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.gallery-slide .img-placeholder { gap: 16px; }
.gallery-slide .img-placeholder::before { inset: 18px; border-radius: 18px; }
.gallery-slide .img-placeholder-mark { font-size: clamp(2.2rem, 4vw, 3rem); }

.gallery-slide .img-placeholder-mark::after {
  width: 40px;
  margin-top: 16px;
}

.gallery-slide .img-placeholder-text { font-size: 12px; }

/* Info column */
.product-info { min-width: 0; }

.product-title {
  margin: 0 0 20px;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.025em;
}

.product-title-sub {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product-price {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  font-variant-numeric: lining-nums tabular-nums;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--success);
  font-size: 13px;
  font-weight: 500;
}

.product-stock:empty { display: none; }

.product-stock::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}

.product-stock.is-low { color: var(--amber); }

.product-stock.is-low::before {
  background: var(--gold);
  animation: stock-pulse 2.2s ease-in-out infinite;
}

.product-stock.is-out { color: var(--danger); }

/* Pre-order: gold dot; the longer line may wrap, so the dot sits on the first line */
.product-stock.is-preorder {
  align-items: flex-start;
  color: var(--amber);
  line-height: 1.5;
}

.product-stock.is-preorder::before {
  margin-top: calc(.75em - 3.5px);
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 126, .25);
}

@keyframes stock-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(201, 169, 126, .25); }
  50% { box-shadow: 0 0 0 6px rgba(201, 169, 126, 0); }
}

.product-desc {
  max-width: 52ch;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

/* Quantity + buy */
.product-buy {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.product-buy .btn-lg {
  flex: 1 1 auto;
  min-width: 0;
}

/* Perks */
.product-perks {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 20px 0;
  list-style: none;
  border-block: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.product-perks li {
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
}

.product-perks li::before {
  content: '';
  position: absolute;
  top: .42em;
  left: 3px;
  width: 10px;
  height: 5px;
  border-bottom: 1.5px solid var(--burgundy);
  border-left: 1.5px solid var(--burgundy);
  transform: rotate(-45deg);
}

/* Specs */
.product-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 0 0 28px;
}

.product-specs dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product-specs dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Details disclosures (marker shared with FAQ, section 16) */
.product-specs + .product-details { border-top: 1px solid var(--line); }

.product-details > summary {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
  transition: color .3s;
}

.product-details > p {
  max-width: 60ch;
  margin: 0;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

@media (min-width: 900px) {
  .breadcrumb { padding-top: 24px; }

  .product-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
  }

  .product-gallery-main {
    display: block;
    aspect-ratio: var(--photo-ratio);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  .gallery-slide {
    display: none;
    height: 100%;
  }

  .gallery-slide.is-active {
    display: block;
    animation: gallery-fade .6s var(--ease) both;
  }

  .product-gallery-thumbs { justify-content: flex-start; }

  .product-info {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding-top: 8px;
  }
}

@keyframes gallery-fade {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: none; }
}

/* Sticky buy bar (phones only): site.js reveals it once the main button scrolls away */
.buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--ivory);
  border-top: 1px solid var(--line);
  box-shadow: 0 -18px 40px -24px rgba(74, 20, 37, .35);
  transform: translateY(105%);
  transition: transform .5s var(--ease);
}

.buy-bar.is-visible { transform: none; }

.buy-bar-text { min-width: 0; }

.buy-bar-name {
  margin: 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variation-settings: var(--soft);
}

.buy-bar-price {
  display: block;
  margin: 2px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.buy-bar .btn {
  flex: none;
  min-height: 48px;
  padding-inline: 24px;
}

/* The toast clears the bar while it is up */
body:has(.buy-bar.is-visible) .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }

@media (min-width: 900px) {
  .buy-bar { display: none; }
}


/* ==========================================================================
   20. 404
   ========================================================================== */

.not-found { padding-block: 0; }

.not-found-inner {
  max-width: 560px;
  padding-block: 20vh;
  text-align: center;
}

.not-found-inner .section-lead { margin-inline: auto; }
.not-found-inner .eyebrow { justify-content: center; }

.not-found .hero-actions {
  justify-content: center;
  margin-top: 32px;
}


/* ==========================================================================
   21. Bag drawer
   ========================================================================== */

/* Same shell as the checkout modal (section 22): bottom sheet on phones, right-hand sheet
   from 700px. The lines scroll; the head and the totals stay put. */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 24, 26, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .45s var(--ease);
}

.drawer.is-open .drawer-backdrop { opacity: 1; }

.drawer-panel {
  --drawer-pad: 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 92vh;
  max-height: 92svh;
  overflow: hidden;
  background: var(--ivory);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(30, 24, 26, .35);
  transform: translateY(100%);
  transition: transform .55s var(--ease);
}

.drawer-panel:focus { outline: none; }

/* Grab handle */
.drawer-panel::before {
  content: '';
  flex: none;
  display: block;
  width: 40px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 4px;
  background: var(--line-strong);
}

.drawer.is-open .drawer-panel { transform: none; }

@media (min-width: 700px) {
  .drawer {
    align-items: stretch;
    justify-content: flex-end;
  }

  .drawer-panel {
    --drawer-pad: 28px;
    width: min(440px, 100%);
    height: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: -30px 0 80px -30px rgba(30, 24, 26, .4);
    transform: translateX(100%);
  }

  .drawer-panel::before { display: none; }
}

/* Head */
.drawer-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--drawer-pad) 14px;
}

.drawer-title {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.drawer-count {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  vertical-align: middle;
}

.drawer-head .modal-close {
  position: static;
  flex: none;
}

@media (min-width: 700px) {
  .drawer-head { padding-block: 22px 18px; }
}

/* Set-discount nudge */
.cart-offer {
  flex: none;
  padding: 0 var(--drawer-pad) 16px;
}

.cart-offer-text {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.cart-offer-bar {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--sand);
}

.cart-offer-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--burgundy);
  transition: width .6s var(--ease), background-color .4s var(--ease);
}

.cart-offer.is-complete .cart-offer-fill { background: var(--success); }

/* Lines */
.cart-lines {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0 var(--drawer-pad);
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--line);
}

.cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-line:last-child { border-bottom: 0; }

.cart-line-thumb {
  width: 64px;
  height: 80px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--taupe);
}

.cart-line-thumb > img,
.cart-line-thumb > .checkout-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line-info { min-width: 0; }

.cart-line-name {
  display: inline-block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  transition: color .25s;
}

.cart-line-name:hover { color: var(--burgundy); }

.cart-line-sub {
  margin: 2px 0 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.cart-line-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.cart-line-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: right;
}

/* Quantity stepper: 36px buttons in a pill, each with a 44px hit area */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--ivory);
}

.qty-stepper button {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  transition: background-color .25s, color .25s;
}

.qty-stepper button::after {
  content: '';
  position: absolute;
  inset: -4px;
}

.qty-stepper button:focus-visible { outline-offset: 0; }
.qty-stepper button:disabled { color: rgba(30, 24, 26, .25); }

@media (hover: hover) {
  .qty-stepper button:not(:disabled):hover {
    background: var(--sand);
    color: var(--burgundy);
  }
}

.qty-value {
  min-width: 24px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cart-line-remove {
  padding-block: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: rgba(122, 111, 107, .45);
  text-underline-offset: .25em;
  transition: color .25s;
}

.cart-line-remove:hover { color: var(--burgundy); }

/* Empty bag */
.cart-empty {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 28px 56px;
  text-align: center;
}

.cart-empty-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.15;
}

.cart-empty-text {
  max-width: 30ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Foot: totals and checkout, pinned under the lines */
.drawer-foot {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto; /* stays at the bottom when the whole sheet scrolls (short screens) */
  padding: 14px var(--drawer-pad) calc(12px + env(safe-area-inset-bottom));
  background: var(--ivory);
  border-top: 1px solid var(--line);
}

@media (min-width: 700px) {
  .drawer-foot {
    gap: 12px;
    padding-block: 20px 22px;
  }
}

/* Row typography is shared with .checkout-totals (section 22) */
.cart-totals { margin: 0; }

.cart-totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 4px;
  font-size: 14px;
}

.cart-totals .is-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* Pre-order in the bag */
.cart-note {
  margin: 0;
  padding: 10px 14px;
  background: rgba(201, 169, 126, .16);
  border: 1px solid rgba(201, 169, 126, .4);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.cart-ship-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.cart-continue {
  align-self: center;
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-transform: uppercase;
  text-underline-offset: .35em;
  transition: color .25s, text-decoration-color .25s;
}

.cart-continue:hover {
  color: var(--burgundy);
  text-decoration-color: currentColor;
}

/* Short screens (iPhone SE, landscape phones, short laptop windows): a pinned foot would leave
   room for barely one line, so the whole sheet scrolls instead of the lines alone */
@media (max-height: 699.98px) {
  .drawer-panel {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .cart-lines {
    flex: none;
    overflow: visible;
  }
}


/* ==========================================================================
   22. Checkout modal
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 24, 26, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .45s var(--ease);
}

.modal.is-open .modal-backdrop { opacity: 1; }

/* Mobile: bottom sheet */
.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 92vh;
  max-height: 92svh;
  padding: 28px 20px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--ivory);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(30, 24, 26, .35);
  transform: translateY(100%);
  transition: transform .55s var(--ease);
}

.modal-panel:focus { outline: none; }

/* Grab handle */
.modal-panel::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin: -14px auto 18px;
  border-radius: 4px;
  background: var(--line-strong);
}

.modal.is-open .modal-panel { transform: none; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  transition: background-color .25s, border-color .25s, transform .45s var(--ease);
}

@media (hover: hover) {
  .modal-close:hover {
    background: var(--sand);
    border-color: var(--line-strong);
    transform: rotate(90deg);
  }
}

/* Desktop: right-hand sheet */
@media (min-width: 700px) {
  .modal {
    align-items: stretch;
    justify-content: flex-end;
  }

  .modal-panel {
    width: min(520px, 100%);
    height: 100%;
    max-height: none;
    padding: 32px;
    border-radius: 0;
    box-shadow: -30px 0 80px -30px rgba(30, 24, 26, .4);
    transform: translateX(100%);
  }

  .modal-panel::before { display: none; }

  .modal-close {
    top: 22px;
    right: 22px;
  }
}

/* Head + order summary */
.checkout-head .eyebrow {
  margin-bottom: 10px;
  padding-right: 52px;
}

.checkout-title {
  margin: 0 52px 20px 0;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 300;
  line-height: 1.08;
}

.checkout-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkout-thumb {
  display: flex;
  min-width: 56px;
  height: 70px;
}

.checkout-thumb:empty {
  width: 56px;
  border-radius: 10px;
  background: var(--sand);
}

.checkout-thumb > img,
.checkout-thumb > picture {
  flex: 0 0 56px;
  width: 56px;
  height: 70px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--taupe);
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--cream), 0 4px 10px -6px rgba(30, 24, 26, .45);
}

.checkout-thumb > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Colour without photos: a swatch tile (gradient shared with .img-placeholder, section 11) */
.checkout-thumb > .checkout-thumb-placeholder {
  display: block;
  flex: 0 0 56px;
  width: 56px;
  height: 70px;
  border-radius: 10px;
  box-shadow: 0 0 0 2px var(--cream), 0 4px 10px -6px rgba(30, 24, 26, .45);
}

/* Several colours: fan the thumbnails with a slight overlap */
.checkout-thumb > * + * { margin-left: -40px; }

.checkout-summary-text { min-width: 0; }

.checkout-item {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
}

.checkout-item-sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.checkout-item-sub:empty { display: none; }

.checkout-item-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

/* "Edit bag": back to the drawer, right-aligned under the summary */
.checkout-edit {
  display: block;
  margin: 6px 0 0 auto;
  padding: 6px 2px;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .06em;
  text-decoration: underline;
  text-decoration-color: rgba(107, 29, 53, .35);
  text-underline-offset: .25em;
  transition: text-decoration-color .25s;
}

.checkout-edit:hover { text-decoration-color: currentColor; }

/* Form body */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.checkout-totals {
  margin: 4px 0 0;
  border-top: 1px solid var(--line);
}

.checkout-totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.checkout-totals dt,
.cart-totals dt { color: var(--muted); }

.checkout-totals dd,
.cart-totals dd {
  margin: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.checkout-totals .is-discount dd,
.cart-totals .is-discount dd { color: var(--success); }

.checkout-totals .is-total {
  padding-top: 16px;
  border-bottom: 0;
}

.checkout-totals .is-total dt,
.checkout-totals .is-total dd,
.cart-totals .is-total dt,
.cart-totals .is-total dd {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  font-variant-numeric: lining-nums tabular-nums;
}

.checkout-form .btn-block { margin-top: 4px; }

.checkout-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}


/* ==========================================================================
   23. Forms
   ========================================================================== */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background-color: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 16px; /* 16px keeps iOS from zooming on focus */
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}

.field textarea {
  min-height: 84px;
  resize: vertical;
}

.field select,
.qty-select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%231E181A' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
  cursor: pointer;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(30, 24, 26, .38); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: var(--ring);
}

.field ::placeholder {
  color: rgba(122, 111, 107, .7);
  opacity: 1;
}

.field input:user-invalid,
.field textarea:user-invalid,
.field select:user-invalid { border-color: var(--danger); }

.field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--ivory) inset;
  -webkit-text-fill-color: var(--ink);
}

.field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px var(--ivory) inset, var(--ring);
}

/* Two fields side by side; a hidden field (e.g. quantity for sets) lets its sibling fill the row */
.field-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 460px) {
  .field-row { flex-direction: row; }
  .field-row > .field { flex: 1 1 0; }
  .field-row > .field:first-child { flex-grow: 1.3; } /* room for "United Arab Emirates" / long emails */
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  background: rgba(178, 58, 58, .08);
  border: 1px solid rgba(178, 58, 58, .22);
  border-radius: var(--radius-sm);
  color: var(--danger);
  font-size: 13px;
  line-height: 1.5;
}

/* Product page quantity select */
.qty-select {
  flex: 0 0 84px;
  width: 84px;
  height: 56px;
  min-height: 56px;
  padding-left: 22px;
  padding-right: 34px;
  background-color: var(--ivory);
  background-position: right 16px center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s, box-shadow .25s;
}

.qty-select:hover { border-color: rgba(30, 24, 26, .38); }

.qty-select:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: var(--ring);
}


/* ==========================================================================
   24. Toast
   ========================================================================== */

.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 120;
  width: max-content;
  max-width: min(480px, calc(100% - 32px));
  margin-inline: auto;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 18px 40px -16px rgba(30, 24, 26, .55);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   25. Scroll reveal & feather burst (only when JS is running)
   ========================================================================== */

/* Masked slide-up: the element rises 24px while a clip opens from the top edge down.
   The animation uses fill "backwards" so once it ends no clip-path or transform is left
   behind to crop shadows, focus rings or sticky children. site.js staggers siblings with
   animation-delay. */
/* (No clip-path in the waiting state: IntersectionObserver would then see zero visible
   area and never fire. The clip lives only in the animation's first keyframe.) */
html.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

html.js .reveal.is-visible {
  animation: reveal-up .9s var(--ease) backwards;
}

html.js .section-head.reveal.is-visible,
html.js .hero-title.reveal.is-visible {
  animation-duration: 1.2s;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(24px);
  }
  40% { opacity: 1; }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

/* Add-to-bag flourish: small feathers (an ellipse with a darker spine) burst from the
   button. site.js creates, animates (Web Animations: transform + opacity) and removes them. */
.feather {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 10px;
  height: 18px;
  margin: -9px 0 0 -5px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: var(--c, var(--gold));
  /* A hairline edge and soft drop keep pale colours (white, baby pink) visible on ivory */
  box-shadow: inset 0 0 0 1px rgba(30, 24, 26, .14), 0 2px 5px -1px rgba(74, 20, 37, .28);
  pointer-events: none;
  will-change: transform, opacity;
}

.feather::after {
  content: '';
  position: absolute;
  top: 2px;
  bottom: 1px;
  left: 50%;
  width: 1px;
  margin-left: -.5px;
  border-radius: 1px;
  background: rgba(30, 24, 26, .35);
}

@supports (background-color: color-mix(in oklab, red 50%, blue)) {
  .feather::after { background: color-mix(in oklab, var(--c, var(--gold)) 55%, var(--ink)); }
}


/* ==========================================================================
   26. Touch targets
   ========================================================================== */

@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .currency-btn { min-width: 44px; }
  .main-nav a { padding-block: 12px; }
  .footer-col a { min-height: 44px; }
  .breadcrumb a { padding-block: 12px; }
  .text-link { min-height: 44px; }
  .promo-link { min-height: 44px; }
  .cart-line-remove { min-height: 44px; }
  .cart-continue { min-height: 44px; }
  .checkout-edit { min-height: 44px; }

  .product-name a {
    display: inline-block;
    margin-block: -9px;
    padding-block: 9px;
  }
}


/* ==========================================================================
   27. Forced colours (Windows high contrast)
   ========================================================================== */

@media (forced-colors: active) {
  .color-dot::before,
  .marquee-track > .marquee-dot { forced-color-adjust: none; }

  .marquee-track > span:nth-child(4n+3) { color: CanvasText; }

  .card-dot::before {
    forced-color-adjust: none;
    background: CanvasText;
    box-shadow: none;
  }

  .card-dot.is-active::before { background: Highlight; }

  .bag-count { outline: 1px solid CanvasText; }

  .cart-offer-fill {
    forced-color-adjust: none;
    background: Highlight;
  }

  .color-dot.is-active::before,
  .set-chip[aria-pressed="true"],
  .set-tier.is-active,
  .currency-btn.is-active,
  .gallery-thumb.is-active { outline: 2px solid Highlight; }

  body::after,
  .feather { display: none; }
}


/* ==========================================================================
   28. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  html.js .reveal,
  html.js .reveal:not(.is-visible) {
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none;
  }

  .marquee-track { animation: none !important; }
  .hero-slide { transform: none; }
  .scroll-hint::after { animation: none !important; transform: none; }

  /* Scroll story: no pinning. The four steps sit in a 2×2 grid, each with its photo,
     word and caption (the wrappers dissolve with display: contents). */
  .wrap {
    height: auto;
    padding-block: clamp(64px, 9vw, 120px);
  }

  .wrap-sticky {
    position: static;
    display: block;
    height: auto;
    padding-top: 0;
    overflow: visible;
  }

  .wrap-grid {
    max-width: 960px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 10px clamp(14px, 3vw, 40px);
  }

  .wrap-copy,
  .wrap-words,
  .wrap-captions,
  .wrap-stage { display: contents; }

  .wrap-copy > .eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 16px;
  }

  .wrap-steps { display: none; }

  .wrap-slide {
    position: relative;
    inset: auto;
    aspect-ratio: var(--photo-ratio);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--studio);
    background: color-mix(in oklab, var(--tint, var(--gold)) 28%, var(--ivory));
    opacity: 1;
    transform: none;
    isolation: isolate;
  }

  .wrap-word,
  .wrap-caption {
    opacity: 1;
    transform: none;
  }

  .wrap-word {
    margin-top: 12px;
    color: var(--burgundy);
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    font-style: italic;
    font-variation-settings: var(--soft-em);
  }

  .wrap-caption {
    margin-bottom: 28px;
    font-size: 1rem;
  }

  [data-step="0"]:is(.wrap-slide, .wrap-word, .wrap-caption),
  [data-step="2"]:is(.wrap-slide, .wrap-word, .wrap-caption) { grid-column: 1; }

  [data-step="1"]:is(.wrap-slide, .wrap-word, .wrap-caption),
  [data-step="3"]:is(.wrap-slide, .wrap-word, .wrap-caption) { grid-column: 2; }

  [data-step="0"].wrap-slide, [data-step="1"].wrap-slide { grid-row: 2; }
  [data-step="0"].wrap-word, [data-step="1"].wrap-word { grid-row: 3; }
  [data-step="0"].wrap-caption, [data-step="1"].wrap-caption { grid-row: 4; }
  [data-step="2"].wrap-slide, [data-step="3"].wrap-slide { grid-row: 5; }
  [data-step="2"].wrap-word, [data-step="3"].wrap-word { grid-row: 6; }
  [data-step="2"].wrap-caption, [data-step="3"].wrap-caption { grid-row: 7; }
}


/* ---------- Virtual try-on entry points ---------- */
/* Three ways into /try-on/: a ghost button under the product buy row, a marked nav item,
   and a burgundy card on the home page that bridges the collection (cream) and sets (sand). */

/* Product page: the secondary action, full width under quantity + buy */
.btn-tryon {
  display: flex;
  width: 100%;
  margin-bottom: 28px;
}

/* Sits 12px under the buy row, matching the row's own gap */
.product-buy + .btn-tryon { margin-top: -16px; }

.btn-tryon svg {
  flex: none;
  margin-left: -4px;
}

/* Nav: a small gold dot marks the one item that opens the camera.
   It rides on the label span so the mobile row keeps its label-left / arrow-right split. */
.nav-tryon > span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 126, .22);
  vertical-align: middle;
  transform: translateY(-1px);
  transition: box-shadow .4s var(--ease);
}

.nav-tryon:hover > span::before,
.nav-tryon:focus-visible > span::before { box-shadow: 0 0 0 5px rgba(201, 169, 126, .2); }

/* Mobile: the big labels share a left edge, so the dot trails the label instead */
.mobile-nav .nav-tryon > span {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: .32em;
}

.mobile-nav .nav-tryon > span::before {
  width: 8px;
  height: 8px;
  margin: 0;
  box-shadow: 0 0 0 4px rgba(201, 169, 126, .2);
  transform: translateY(-.12em);
}

/* 900–1099px: five nav items need the room, so the round logo (which carries the name)
   stands alone as it does on phones, and the nav tightens a touch */
@media (min-width: 900px) and (max-width: 1099.98px) {
  .brand-word { display: none; }
  .main-nav { gap: clamp(14px, 1.6vw, 36px); }
}

/* Home band: no surface of its own; the card straddles the cream/sand seam and the
   neighbouring sections' padding gives it room above and below */
.tryon-band {
  padding-block: 0;
  background: linear-gradient(180deg, var(--cream) 50%, var(--sand) 50%);
}

.tryon-card {
  --pad: 10px;
  --r: var(--radius-lg);
  position: relative;
  display: grid;
  padding: var(--pad);
  background-color: var(--burgundy-deep);
  background-image: radial-gradient(70% 60% at 100% 0%, rgba(201, 169, 126, .18), rgba(201, 169, 126, 0));
  border-radius: var(--r);
  box-shadow: var(--shadow-warm);
  color: var(--cream);
}

.tryon-card ::selection {
  background: var(--gold);
  color: var(--burgundy-deep);
}

.tryon-card :focus-visible { outline-color: var(--gold); }

/* Photo: a landscape crop on the feather cuff on phones, a tall panel beside the copy above 700px */
.tryon-media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: calc(var(--r) - var(--pad));
  background: var(--studio);
}

.tryon-media picture,
.tryon-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tryon-media img {
  object-fit: cover;
  object-position: 50% 70%;
}

/* Viewfinder corners, so the photo reads as a camera frame */
.tryon-media::after {
  --c: rgba(107, 29, 53, .7);
  --l: 22px;
  --w: 1.5px;
  content: '';
  position: absolute;
  inset: 14px;
  z-index: 1;
  background:
    linear-gradient(var(--c) 0 0) left top / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c) 0 0) left top / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c) 0 0) right top / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c) 0 0) right top / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c) 0 0) left bottom / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c) 0 0) left bottom / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c) 0 0) right bottom / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c) 0 0) right bottom / var(--w) var(--l) no-repeat;
  pointer-events: none;
}

.tryon-live {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 9px;
  border-radius: var(--radius-pill);
  background: rgba(252, 247, 241, .85);
  color: var(--burgundy-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tryon-live::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107, 29, 53, .16);
}

.tryon-copy {
  min-width: 0;
  padding: 28px 14px 18px;
}

.tryon-copy .eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
}

.tryon-copy .section-title {
  margin-bottom: .45em;
  color: var(--cream);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.02;
}

.tryon-copy .section-title em { color: var(--gold); }

.tryon-copy .section-lead { color: rgba(247, 239, 230, .74); }

.tryon-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.tryon-actions .btn { flex: 1 1 auto; }

.tryon-fineprint {
  margin: 0;
  color: rgba(247, 239, 230, .62);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .06em;
}

/* Primary pill inverted for the dark card: cream pill, burgundy arrow disc */
.tryon-band .btn-primary {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--burgundy-deep);
}

.tryon-band .btn-primary::after {
  background-color: var(--burgundy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F7EFE6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

@media (hover: hover) {
  .tryon-band .btn-primary:hover:not(:disabled) {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .6);
  }
}

.tryon-band .btn-primary:active:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
}

@media (min-width: 700px) {
  .tryon-card {
    --pad: 14px;
    --r: var(--radius-xl);
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(28px, 5vw, 80px);
  }

  .tryon-media {
    aspect-ratio: auto;
    min-height: clamp(300px, 34vw, 440px);
  }

  .tryon-media img { object-position: 50% 24%; }

  .tryon-copy {
    align-self: center;
    padding: 32px clamp(20px, 5vw, 72px) 32px 0;
  }

  .tryon-actions .btn { flex: 0 0 auto; }
}

@media (forced-colors: active) {
  .nav-tryon > span::before {
    forced-color-adjust: none;
    background: CanvasText;
    box-shadow: none;
  }

  .tryon-card { border: 1px solid CanvasText; }
  .tryon-live::before { forced-color-adjust: none; background: CanvasText; }
}


/* ---------- Campaign band: three friends, full-bleed ---------- */
.campaign {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  background: #E9DCCB;
  color: var(--ink);
}

.campaign-bg {
  display: block;
  width: 100%;
}

.campaign-bg img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 62% 30%;
}

.campaign-inner {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 56px;
}

.campaign-copy { max-width: 520px; }
.campaign-copy .section-title { margin-bottom: 14px; }
.campaign-copy p:not(.eyebrow) { margin-bottom: 24px; max-width: 42ch; }

@media (min-width: 900px) {
  .campaign {
    display: grid;
    min-height: min(84vh, 760px);
  }

  .campaign-bg,
  .campaign-inner {
    grid-area: 1 / 1;
  }

  .campaign-bg img {
    height: 100%;
    aspect-ratio: auto;
    object-position: 68% 30%;
  }

  .campaign-inner {
    display: flex;
    align-items: flex-end;
    padding-top: 80px;
    padding-bottom: clamp(48px, 7vw, 96px);
  }

  .campaign-copy {
    padding: 32px 36px;
    border-radius: 24px;
    background: color-mix(in srgb, var(--cream) 86%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
  }
}
