:root {
  --paper: #fcfaf7;
  --ink: #141110;
  --ink-soft: #4b4440;
  --line: #d9d1c9;
  --copper: #b87749;
  --umber: #4a2816;
  /* Vision board palette (Pantone Espresso, Potter's Clay, Olive Branch) */
  --espresso: #56352c;
  --clay: #9f4524;
  --olive: #6b6b44;
  --band: linear-gradient(90deg, #b87749 0%, #9a5f38 35%, #6f3d22 70%, #4a2816 100%);

  --serif-display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --serif: 'Old Standard TT', 'Georgia', serif;
  --display: 'Marcellus', 'Optima', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }

/* ---------- Masthead ---------- */
.masthead {
  position: relative;
  padding: clamp(20px, 3vw, 36px) var(--gutter) 10px;
  text-align: center;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.brand__word {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: .32em;
  margin-right: -.32em; /* optically centre tracked text */
  text-transform: uppercase;
  line-height: 1;
}
.brand__word--sm { font-size: 28px; }
.brand__sub {
  display: flex; align-items: center; gap: clamp(10px, 2vw, 22px);
  width: 100%;
}
.brand__sub i { flex: 1; height: 1px; background: var(--ink); min-width: 30px; }
.brand__sub span {
  font-family: var(--serif-display);
  font-size: clamp(13px, 2vw, 20px);
  letter-spacing: .45em;
  margin-right: -.45em;
  text-transform: uppercase;
}
.brand__tag {
  font-family: var(--sans);
  font-size: clamp(8.5px, 1vw, 10.5px);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Nav ---------- */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* left pair · mark · right pair, mark always centred */
  align-items: center;
  gap: 8px;
  max-width: 780px;
  margin: clamp(14px, 2vw, 22px) auto 0;
  perspective: 600px;
}
.nav__side { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; }
.nav__link {
  justify-self: center;
  font-size: clamp(14px, 1.5vw, 17px);
  letter-spacing: .04em;
  padding: 8px 14px;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1px; background: var(--copper);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.nav__mark { width: clamp(36px, 4vw, 46px); aspect-ratio: 1; display: block; }
.nav__mark svg { width: 100%; height: 100%; color: var(--ink); }

/* Lift for every clickable text control: rises straight up, crisp text, no shadow/blur */
.tilt-btn {
  display: inline-block;
  transition: transform .18s ease-out, box-shadow .18s ease-out, color .18s ease-out, background .18s ease-out;
}
.tilt-btn:hover {
  transform: translateY(-3px);
  color: var(--umber);
}

.bag {
  position: absolute; top: clamp(20px, 3vw, 36px); right: var(--gutter);
  background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink);
}
.bag svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.bag__count {
  position: absolute; top: 0; right: -2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--umber); color: var(--paper);
  font: 500 10px/17px var(--sans);
  transition: transform .3s var(--ease);
}
.bag.is-bumped .bag__count { transform: scale(1.35); }

/* ---------- Copper band ---------- */
.band { height: clamp(22px, 3.2vw, 34px); background: var(--band); box-shadow: inset 0 -6px 12px rgba(0,0,0,.12); }
.band--thin { height: 8px; box-shadow: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(28px, 4vw, 56px) var(--gutter) 0; text-align: center; }
.section__title {
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 32px);
  margin: 0 0 clamp(18px, 2.4vw, 28px);
}

/* ---------- Image frames + placeholders ---------- */
.frame {
  position: relative; display: block; overflow: hidden;
  background: var(--ph, #3a2418);
  transform: translateY(var(--lift, 0)) scale(var(--s, 1));
  transition: transform .3s ease-out, box-shadow .3s ease-out;
  box-shadow: 0 10px 24px -14px rgba(30,16,8,.45);
  will-change: transform;
}
.frame:hover { --lift: -8px; box-shadow: 0 34px 60px -24px rgba(30,16,8,.55); z-index: 2; }
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .2s, transform .8s var(--ease);
}
.frame img.is-loaded { opacity: 1; }   /* shown once complete, so a half-downloaded photo is never seen blurry */
/* A card photo shown whole: same card size, photo uncropped, its own wall colour carried out to the edges */
.frame--whole:has(img.is-loaded) { background: var(--backdrop) center / 100% 100% no-repeat, var(--ph, #3a2418); }
.frame--whole img { object-fit: contain; }
/* Real photos are never scaled or tinted on hover (ground rule: shown exactly as shot, crisp) */
.frame__shine {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(circle at 50% 15%, rgba(255,240,225,.32), transparent 55%);
  opacity: 0; transition: opacity .4s;
  mix-blend-mode: soft-light;
}
.frame:not(:has(img.is-loaded)):hover .frame__shine { opacity: 1; }   /* placeholders only */

/* Background tone behind a photo for the split second before it arrives (no "coming soon" label: every photo is real) */
.frame::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 38% 30% at 50% 38%, rgba(255,255,255,.10), transparent 70%),
    radial-gradient(ellipse 70% 55% at 50% 30%, var(--ph-hi, rgba(150,80,40,.55)), transparent 70%),
    var(--ph, #3a2418);
}
.frame::after {
  content: none; text-align: center;
  position: absolute; left: 0; right: 0; bottom: 14px;
  font: 400 10px var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.frame:has(img.is-loaded)::after, .frame:has(img.is-loaded)::before { display: none; }
.frame img { position: relative; z-index: 1; }
.frame__link { position: absolute; inset: 0; z-index: 3; }

/* Live photo clip + badge */
.frame video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.frame.is-live video { opacity: 1; }
.frame:hover video { transform: scale(1.06); }
.live-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 8px 4px 5px; border-radius: 999px;
  background: rgba(20,14,10,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font: 500 9px var(--sans); letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; translate: 0 -4px; transition: opacity .35s, translate .35s var(--ease);
  pointer-events: none;
}
.live-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.live-badge__ring { stroke-dasharray: 1.6 2.2; transform-origin: 12px 12px; }
.frame:hover .live-badge, .frame.is-live .live-badge { opacity: 1; translate: 0 0; }
.frame.is-live .live-badge__ring { animation: live-spin 6s linear infinite; }
@keyframes live-spin { to { transform: rotate(360deg); } }

[data-ph="chocolate"] { --ph: #2a1810; --ph-hi: rgba(120,62,34,.7); }
[data-ph="rust"]      { --ph: #4a2414; --ph-hi: rgba(170,82,44,.75); }
[data-ph="cocoa"]     { --ph: #6d4730; --ph-hi: rgba(180,128,92,.7); }
[data-ph="ember"]     { --ph: #b9a99a; --ph-hi: rgba(226,94,40,.85); }
[data-ph="onyx"]      { --ph: linear-gradient(90deg, #1b1715 50%, #e9e1d8 50%); --ph-hi: rgba(120,100,90,.25); }
[data-ph="paisley"], [data-ph="paisley-2"] {
  --ph: #5c1c1e; --ph-hi: rgba(140,48,44,.6);
}
[data-ph="paisley"]::before, [data-ph="paisley-2"]::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(196,160,96,.35) 0 6px, transparent 7px) 0 0 / 46px 46px,
    radial-gradient(circle at 70% 70%, rgba(196,160,96,.25) 0 10px, transparent 11px) 0 0 / 62px 62px,
    linear-gradient(135deg, #6b2224, #3e1214);
}
[data-ph="paisley-2"]::before { background-position: 20px 10px, 30px 0, 0 0; }
[data-ph="ivory"] { --ph: #efe9e1; --ph-hi: rgba(255,255,255,.8); }
[data-ph="ivory"]::after, [data-ph="ember"]::after { color: rgba(40,24,16,.5); }
[data-ph="onyx"]::after { color: rgba(140,128,120,.9); }
.frame:hover::after { opacity: 0; }
.frame::after { transition: opacity .3s; z-index: 0; }

/* ---------- Landing header ----------
   Warm fade in the home page header only (sampled from the couple's reference): deep warm
   brown behind the logo and menu, easing down to the hero's backdrop colour at the header's
   bottom edge. It never touches the photo. */
/* The hero fills the rest of the screen below the header, so the photo ends at the bottom of
   the screen. --mh (the header's height) is kept up to date by script.js; +1px for the hero's
   -1px overlap and 1px past the bottom of the screen, so no sliver of the next section shows. Never smaller than 320px on very short screens. */
:root { --hero-fit: max(calc(100svh - var(--mh, 28svh) + 2px), 320px); }   /* +1px overlap at the top, +1px safety past the bottom edge */
.masthead--landing { padding-top: clamp(14px, 2vw, 24px); }
.masthead--landing .nav { margin-top: clamp(8px, 1.2vw, 14px); }
.masthead--landing .nav__link { padding-top: 6px; padding-bottom: 6px; }
.masthead--landing {
  --fade: clamp(77px, 14svh, 147px);   /* room for the fade below the menu (same blend, 70% of its first height) */
  padding-bottom: var(--fade);
  /* the fade starts just above the menu tabs (script.js measures it), so it meshes in slowly */
  --fade-len: calc(var(--fade) + clamp(48px, 6vw, 64px));
  /* Below the menu, the fade is drawn as images made from the photo itself
     (assets/images/fade/, built by tools/make-fade.py): every column eases from the warm
     brown into the exact colour at the top of the photo straight below it, and beside the
     photo into the exact top colour of the side bands. The images are dithered, so the dark
     end of the fade has no 8-bit banding lines. Nothing is drawn on the photo. */
  --pw: min(100%, var(--hero-fit) * 7494 / 5205);   /* = the photo's on-screen width */
  background:
    url("assets/images/fade/fade-photo.png?v=69") center bottom / var(--pw) var(--fade-len) no-repeat,
    url("assets/images/fade/fade-left.png?v=69")  left bottom  / 50% var(--fade-len) no-repeat,
    url("assets/images/fade/fade-right.png?v=69") right bottom / 50% var(--fade-len) no-repeat,
    /* shown only until the images load */
    linear-gradient(180deg, #6d4133 0.0%, #6d4133 3.1%, #6c4033 6.2%, #6b4032 9.4%, #6a3f31 12.5%, #683e30 15.6%, #663c2f 18.8%, #633b2e 21.9%, #60392d 25.0%, #5d372b 28.1%, #5a3529 31.2%, #573327 34.4%, #533025 37.5%, #4f2e24 40.6%, #4b2b21 43.8%, #472920 46.9%, #43261d 50.0%, #40241c 53.1%, #3c211a 56.2%, #381f18 59.4%, #351d16 62.5%, #311a14 65.6%, #2e1812 68.8%, #2b1611 71.9%, #29150f 75.0%, #26130e 78.1%, #24120d 81.2%, #22110c 84.4%, #21100b 87.5%, #1f0f0b 90.6%, #1f0e0a 93.8%, #1e0e0a 96.9%, #1e0e0a 100.0%) bottom / 100% var(--fade-len) no-repeat,
    linear-gradient(180deg, #7a4a3a 0%, #734536 calc((100% - var(--fade-len)) / 2), #6d4133 calc(100% - var(--fade-len)));   /* meets the fade exactly; the middle stop stays above the fade start or the browser pushes the end stop down, leaving a step (v=68) */
}
.masthead--landing .brand__tag { color: #1a0f0c; }

/* ---------- Hero ----------
   Her whole photo, uncropped, from right under the nav to the Fall Collection.
   The band is capped at 72% of the screen height so it sits in proportion with the
   sections below; the full photo (7494 x 5205) fits inside it, nothing cut off.
   The photo itself is shown exactly as edited: no filters, overlays or masks.
   On screens wider than the photo, each side band is a smooth vertical gradient of the
   photo's own edge colour, measured row by row from its outermost columns (64 steps,
   smoothed so no texture turns into stripes), so the sides meet her photo with no box. */
.hero {
  --hero-h: min(calc(100vw * 5205 / 7494), var(--hero-fit));
  --side: calc((100% - var(--hero-h) * 7494 / 5205) / 2 + 24px);   /* band width, tucked under the photo */
  position: relative; overflow: hidden;
  height: var(--hero-h);
  background: #180b09;
  /* Overlap the header by 1px: the header ends on a fractional pixel (e.g. 300.5px), and the
     half-covered row let the cream page show through as a thin light line above her photo. */
  margin-top: -1px;
}
.hero::before,
.hero::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: var(--side);
  pointer-events: none;
}
/* Each band is an image made from the photo's own edge (tools/make-bands.py): right at the photo
   it is the photo's exact edge colour row by row, easing outward into a smooth, dithered version
   of the background, so there are no gradient steps or lines. */
.hero::before { left: 0;  background: url("assets/images/fade/band-left.png")  0 0 / 100% 100% no-repeat; }
.hero::after  { right: 0; background: url("assets/images/fade/band-right.png") 0 0 / 100% 100% no-repeat; }
.hero__photo {
  position: relative; z-index: 1;
  display: block;
  height: 100%; width: auto; max-width: 100%;
  aspect-ratio: 7494 / 5205;
  margin: 0 auto;
  object-fit: contain;
}
/* v=69 (2026-10-25): the couple wanted the lighter brown around her to sit at the top, not
   light > dark > light. The header's fade now ends on that lighter brown, and this layer lifts the
   photo's dark top strip up to the same colour, easing out by about 60% of the photo's height
   (assets/images/fade/lift.png, built by tools/make-lift.py). It can only LIGHTEN, and it is
   masked through her full-resolution outline (the glow work's background-mask.png, padded 32px),
   so she, her hijab and the light on them keep their original pixels at any zoom. The sides are
   covered by solid masks overlapping the photo by 1px, and the top 3px are solid, so there are
   no hairlines. This replaces the old 5% dark shade (.hero__top). */
.hero__lift {
  --w: min(100%, var(--hero-h) * 7494 / 5205);   /* the photo's width */
  position: absolute; z-index: 2; inset: 0;
  pointer-events: none;
  background: url("assets/images/fade/lift.png?v=69") 0 0 / 100% 100% no-repeat;
  mix-blend-mode: lighten;
  -webkit-mask:
    url("assets/images/glow/background-mask.png") 50% calc(0px - var(--hero-h) * 32 / 5205) / calc(var(--w) * 7558 / 7494) calc(var(--hero-h) * 5269 / 5205) no-repeat,
    linear-gradient(#000, #000) 0 0 / 100% 3px no-repeat,
    linear-gradient(#000, #000) 0 0 / calc(50% - var(--w) / 2 + 1px) 100% no-repeat,
    linear-gradient(#000, #000) 100% 0 / calc(50% - var(--w) / 2 + 1px) 100% no-repeat;
          mask:
    url("assets/images/glow/background-mask.png") 50% calc(0px - var(--hero-h) * 32 / 5205) / calc(var(--w) * 7558 / 7494) calc(var(--hero-h) * 5269 / 5205) no-repeat,
    linear-gradient(#000, #000) 0 0 / 100% 3px no-repeat,
    linear-gradient(#000, #000) 0 0 / calc(50% - var(--w) / 2 + 1px) 100% no-repeat,
    linear-gradient(#000, #000) 100% 0 / calc(50% - var(--w) / 2 + 1px) 100% no-repeat;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Products ---------- */
.products {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 3vw, 36px);
  max-width: 820px; margin: 0 auto;
}
.product { display: flex; flex-direction: column; align-items: center; perspective: 900px; }
.product .frame { width: 100%; aspect-ratio: 3 / 4.4; }
.product__add {
  position: absolute; left: 50%; bottom: 14px; z-index: 3;
  transform: translate(-50%, 16px) translateZ(40px);
  opacity: 0;
  padding: 10px 18px; border: 0; border-radius: 999px; cursor: pointer; z-index: 4;
  background: rgba(252,250,247,.92); color: var(--ink);
  font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.4);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.frame:hover .product__add, .product__add:focus-visible { opacity: 1; transform: translate(-50%, 0) translateZ(40px); }
.product__add:hover { background: var(--umber); color: var(--paper); }
.product__add.is-added { background: var(--olive); color: #fff; }
.product__meta { margin-top: 18px; line-height: 1.15; }
.product__name { font-size: clamp(17px, 2vw, 22px); display: block; }
.product__colour { font: 400 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); display: block; margin: 4px 0 2px; }
.product__price { font-size: clamp(17px, 2vw, 22px); }

.cta {
  margin-top: clamp(24px, 3vw, 36px);
  padding: 13px 30px;
  border: 1px solid var(--ink);
  font: 500 12px var(--sans); letter-spacing: .28em; text-transform: uppercase;
}
.cta:hover { background: var(--ink); color: var(--paper); text-shadow: none; box-shadow: 0 6px 0 var(--copper), 0 18px 26px -10px rgba(74,40,22,.5); }

/* ---------- Shop page (all hijabs) ---------- */
.shop { padding-bottom: clamp(48px, 6vw, 88px); }
.crumbs {
  display: flex; justify-content: center; gap: 10px;
  font: 400 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: clamp(14px, 2vw, 22px);
}
.crumbs a:hover { color: var(--ink); }
.shop__title { margin-bottom: 6px; }
.shop__count {
  font: 400 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 clamp(22px, 3vw, 36px);
}
/* Flex instead of grid so a part-filled last row sits centred */
.shop .products { --g: clamp(14px, 3vw, 36px); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 4vw, 52px) var(--g); }
.shop .products .product { width: calc((100% - 2 * var(--g)) / 3); }
@media (max-width: 640px) {
  .shop .products .product, .shop .products .product:last-child:nth-child(odd) { width: calc((100% - var(--g)) / 2); }
}

/* ---------- Inspo ---------- */
.inspo { padding-left: 0; padding-right: 0; }
.inspo__strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 900px; margin: 0 auto;
  perspective: 1200px;
}
.inspo__strip .frame { aspect-ratio: 3 / 4.2; box-shadow: none; }
/* Two mood boards side by side, each shown whole (1080x1808 once the Pinterest label band is trimmed off) */
.inspo__strip--two { grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2.4vw, 28px); max-width: 860px; padding: 0 16px; }
.inspo__strip--two .frame { aspect-ratio: 1080 / 1808; }

/* ---------- The Vision Behind Spectrum ---------- */
.vision {
  display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  align-items: center;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--paper);
}
/* Two photos stacked, each shown whole at its own shape (no cropping) */
/* Smaller than the column, so they no longer run the section's full height; still on the left */
/* Full column width, but only as tall as the text beside them (with cream above and below):
   each photo is cropped top and bottom by the page, never in the file, keeping their faces in view */
.vision__photos { display: flex; flex-direction: column; align-self: stretch; margin-block: clamp(24px, 3vw, 48px); }
.vision__photo { display: block; box-shadow: none; flex: 1 1 0; min-height: 220px; }
.vision__photo img { position: absolute; inset: 0; }
.vision__photo:nth-child(1) img { object-position: 50% 28%; }
.vision__photo:nth-child(2) img { object-position: 50% 32%; }
.vision__text { padding: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 72px); text-align: center; }
.vision__title {
  font: 400 clamp(30px, 3.6vw, 46px)/1.15 var(--display);
  margin: 0 0 clamp(18px, 2.4vw, 30px);
}
.vision__copy p {
  font: 400 clamp(15px, 1.35vw, 17.5px)/1.65 var(--sans);
  color: var(--ink);
  margin: 0 0 1.1em;
}
.vision__mark { width: 52px; height: 52px; color: var(--ink); display: block; margin: 22px auto 0; }

/* ---------- Let's Connect ---------- */
.connect {
  display: grid; grid-template-columns: 1fr; justify-items: center;   /* one centred column on every screen */
  align-items: center;
  background: var(--paper);
}
.connect__text { padding: clamp(36px, 5vw, 72px) clamp(20px, 6vw, 88px); text-align: center; }
.connect__eyebrow {
  font: 400 13px var(--sans); letter-spacing: .5em; text-transform: uppercase;
  margin: 0 0 clamp(20px, 3vw, 40px); padding-left: .5em;   /* evens out the trailing letter-spacing */
}
.connect__handle { font: 400 clamp(26px, 3vw, 38px) var(--display); margin: 0 0 clamp(18px, 2.5vw, 30px); }
.connect__handle a { background: linear-gradient(var(--clay), var(--clay)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.connect__handle a:hover { background-size: 100% 1px; color: var(--clay); }
.connect__copy { font: 400 clamp(15px, 1.35vw, 17.5px)/1.7 var(--sans); max-width: 380px; margin: 0 auto clamp(28px, 4vw, 52px); }
.connect__mail { font: 400 clamp(15px, 1.35vw, 17.5px) var(--sans); letter-spacing: .02em; margin: clamp(26px, 3.5vw, 40px) 0 0; }
.connect__mail a { background: linear-gradient(var(--clay), var(--clay)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.connect__mail a:hover { background-size: 100% 1px; color: var(--clay); }
.socials { display: flex; justify-content: center; gap: clamp(36px, 6vw, 80px); perspective: 500px; }
.social { width: 56px; height: 56px; display: block; transition: transform .2s ease-out, filter .2s ease-out; }
.social svg { width: 100%; height: 100%; display: block; }
.social:hover { transform: translateY(-6px); filter: drop-shadow(0 12px 14px rgba(40,20,10,.35)); }

/* ---------- Footer ---------- */
.footer {
  display: grid; gap: 28px; justify-items: center; text-align: center;
  padding: 56px var(--gutter) 34px;
  color: #f3e9df;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, #6a4236, transparent 70%), var(--espresso);
}
.footer .brand__tag, .footer .footer__legal { color: rgba(243,233,223,.72); }
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.signup { width: min(440px, 100%); font-family: var(--sans); }
.signup label { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px; }
.signup__row { display: flex; border-bottom: 1px solid rgba(243,233,223,.6); }
.signup input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 4px; font: 400 15px var(--sans); color: #f3e9df; }
.signup input::placeholder { color: rgba(243,233,223,.55); }
.signup input:focus { outline: none; }
.signup button { border: 0; background: none; cursor: pointer; font: 500 12px var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 10px 6px; color: #f3e9df; }
.signup button:hover { color: #fff; }
.signup__thanks { display: none; margin: 10px 0 0; font-size: 13px; color: #e6c9a8; }
.signup.is-done .signup__thanks { display: block; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 16px; }
.footer__links a:hover { color: #e6b48a; }
.footer__legal { margin: 0; font: 400 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Fall picks: each card flips over to reveal its photo ----------
   Uses the separate `rotate` property, so the hover lift (transform) is untouched.
   No fill-forwards: once the flip ends the photo sits flat with no rotation at all. */
.frame__back {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  display: grid; place-items: center;
  background: radial-gradient(120% 85% at 50% 42%, #5c3421, #3b1f12 70%);
  color: #b87749; opacity: 0;
}
.frame__back::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(214,160,112,.38); }
.frame__back svg { width: 30%; aspect-ratio: 1182 / 1195; transform: scaleX(-1); }
.is-flip .product { perspective: 1300px; }
/* Face-down until the card has scrolled into view and its photo has loaded */
.is-flip:not(.is-ready) .frame, .is-flip .product:not(.is-in) .frame { rotate: y 180deg; }
.is-flip:not(.is-ready) .frame__back, .is-flip .product:not(.is-in) .frame__back { opacity: 1; }
.is-flip.is-ready .product.is-in .frame { animation: card-flip 1.15s var(--d, 0s) backwards; }
.is-flip.is-ready .product.is-in .frame__back { animation: card-back 1.15s var(--d, 0s) backwards; }
@keyframes card-flip {
  0%   { rotate: y 180deg; scale: 1;    animation-timing-function: cubic-bezier(.55, 0, .9, .55); }
  50%  { rotate: y 90deg;  scale: 1.04; animation-timing-function: cubic-bezier(.1, .45, .3, 1); }
  100% { rotate: y 0deg;   scale: 1; }
}
@keyframes card-back { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; translate: 0 22px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .masthead { padding-top: 46px; }
  .brand__word { font-size: 7.6vw; letter-spacing: .2em; margin-right: -.2em; }
  .brand__sub span { letter-spacing: .32em; margin-right: -.32em; }
  .brand__tag { letter-spacing: .2em; }
  .bag { top: 10px; right: 10px; }
  /* Phones keep the desktop order on one line: Shop · About Us · mark · Look Books · Contact */
  /* Phones: equal gaps between every item, the pairs hug the centred mark, so a long
     label like "Look Books" can't crowd the logo while "Shop" drifts to the edge */
  .nav { --g: clamp(10px, 4.2vw, 22px); gap: var(--g); padding: 0 4px; }
  .nav__side { display: flex; gap: var(--g); }
  .nav__side--l { justify-content: flex-end; }
  .nav__side--r { justify-content: flex-start; }
  .nav__mark { width: clamp(26px, 7.5vw, 34px); }
  .nav__link { font-size: clamp(11.5px, 3.7vw, 15px); letter-spacing: .02em; padding: 6px 2px; white-space: nowrap; }
  .nav__link::after { left: 2px; right: 2px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .products .product:last-child:nth-child(odd) { grid-column: 1 / -1; width: 50%; justify-self: center; }
  .inspo__strip { grid-template-columns: 1fr 1fr 1fr; }
  .inspo__strip--two { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .vision { grid-template-columns: 1fr; }
  .vision__photos { margin-block: 0; }
  .vision__photo { flex: none; min-height: 0; }
  .vision__photo img { position: static; }
  .vision__photo:nth-child(1) { aspect-ratio: 3597 / 2978; }
  .vision__photo:nth-child(2) { aspect-ratio: 5613 / 5025; }
}

@media (hover: none) {
  .live-badge { opacity: 1; translate: 0 0; }
  .product__add { opacity: 1; transform: translate(-50%, 0); }
  .product .frame::after { bottom: auto; top: 14px; }
}
@media (max-width: 640px) {
  .frame::after { font-size: 8px; letter-spacing: .22em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
  .is-flip .product .frame { rotate: none !important; animation: none !important; }
  .frame__back { display: none; }
}

/* ---------- Product viewer ---------- */
.frame__link { border: 0; padding: 0; background: none; cursor: zoom-in; }
html.is-locked { overflow: hidden; }

.pview {
  width: min(1120px, 94vw); height: min(820px, 90vh);
  max-width: none; max-height: none;
  margin: auto; padding: 0; border: 0;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(20,10,5,.6);
  overflow: hidden;
}
.pview[open] {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  animation: pview-in .5s var(--ease);
}
.pview::backdrop { background: rgba(30,18,12,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade-in .4s ease; }
@keyframes pview-in { from { opacity: 0; transform: perspective(1200px) translateY(24px) rotateX(6deg) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }

/* Stage + sliding track */
.pview__stage { position: relative; overflow: hidden; background: #1c1310; touch-action: pan-y; }
.pview__track {
  display: flex; height: 100%;
  transform: translateX(calc(var(--i, 0) * -100%));
  transition: transform .6s var(--ease);
}
.pview__slide { flex: 0 0 100%; height: 100%; margin: 0; box-shadow: none; transform: none; }
.pview__slide:hover { --s: 1; box-shadow: none; }
.pview__slide img { user-select: none; -webkit-user-drag: none; object-fit: contain; }   /* the whole photo, never cropped */
.pview__slide:has(img.is-loaded) { background: #d4bfb8; }   /* the studio wall's tone (measured from the photos), beside a full photo */
.pview__slide:hover img { transform: none; }
.pview__slide::after { content: none; }
/* Until the sharp copy arrives, the slide shows the small copy the thumbnails already loaded (never an empty frame);
   the sharp photo then fades in on top of it, exactly aligned */
.pview__slide { background: var(--thumb) center / contain no-repeat, #d4bfb8; }
.pview__slide::before { display: none; }

.pview__arrow {
  position: absolute; top: 50%; z-index: 5;
  width: 52px; height: 52px; margin-top: -26px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(252,250,247,.9); color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
  transition: transform .18s ease-out, background .18s, color .18s, box-shadow .18s ease-out;
}
.pview__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pview__arrow--prev { left: 18px; }
.pview__arrow--next { right: 18px; }
.pview__arrow:hover { background: var(--umber); color: var(--paper); box-shadow: 0 16px 30px -10px rgba(74,40,22,.7); }
.pview__arrow:hover { transform: translateY(-3px); }
.pview__arrow:active { transform: scale(.94); }
.pview.is-single .pview__arrow { display: none; }

.pview__count {
  position: absolute; left: 50%; bottom: 16px; z-index: 5; margin: 0; translate: -50% 0;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(20,14,10,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font: 500 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}

/* Info panel */
.pview__info {
  position: relative; overflow-y: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(28px, 4vw, 56px) clamp(22px, 3.5vw, 48px);
  text-align: center;
}
.pview__close {
  position: absolute; top: 14px; right: 14px;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer;
  transition: transform .5s var(--ease), background .25s;
}
.pview__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.pview__close:hover { background: #efe7df; transform: rotate(90deg); }
.pview__mark { width: 30px; height: 30px; color: var(--copper); margin-bottom: 14px; }
.pview__name { font: 400 clamp(28px, 3vw, 40px)/1.1 var(--display); margin: 0; }
.pview__colour { font: 400 12px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin: 10px 0 14px; }
.pview__price { font-size: 24px; margin: 0 0 16px; }
.pview__desc { font: 400 15px/1.65 var(--sans); color: var(--ink-soft); max-width: 340px; margin: 0 0 24px; }

.pview__thumbs { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 58px)); gap: 10px; margin-bottom: 28px; perspective: 600px; }
.pview__thumb {
  aspect-ratio: 3 / 4; padding: 0; border: 0; cursor: pointer;
  outline: 1px solid transparent; outline-offset: 3px;
  opacity: .55; transition: opacity .3s, outline-color .3s, transform .4s var(--ease);
}
.pview__thumb::after { display: none; }
.pview__thumb:hover { opacity: 1; --s: 1.08; }
.pview__thumb[aria-selected="true"] { opacity: 1; outline-color: var(--umber); }

.pview__add {
  padding: 15px 44px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper);
  font: 500 12px var(--sans); letter-spacing: .28em; text-transform: uppercase;
}
.pview__add:hover { background: var(--umber); color: var(--paper); text-shadow: none; box-shadow: 0 6px 0 var(--copper), 0 18px 26px -10px rgba(74,40,22,.5); }
.pview__add.is-added { background: var(--olive); }

@media (max-width: 760px) {
  .pview { width: 100vw; height: 100dvh; }
  .pview[open] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 62%) auto; }
  .pview__info { justify-content: flex-start; padding: 20px 16px 28px; }
  .pview__mark { display: none; }
  .pview__close { position: fixed; top: 12px; right: 12px; z-index: 10; background: rgba(252,250,247,.9); }
  .pview__arrow { width: 42px; height: 42px; margin-top: -21px; }
  .pview__arrow--prev { left: 10px; }
  .pview__arrow--next { right: 10px; }
  .pview__desc { margin-bottom: 16px; }
  .pview__thumbs { margin-bottom: 18px; }
}

/* ---------- Landing intro: the logo blossoms ---------- */
.intro { display: none; }
html.js .intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--paper);
  cursor: pointer;
}
html.js:has(.intro) { overflow: hidden; }                 /* no scrolling during the intro */
html.js:has(.intro) .nav__mark svg { opacity: 0; }        /* the nav logo appears when the intro lands */
.intro__logo { width: min(52vmin, 380px); height: auto; overflow: visible; color: var(--ink); fill: currentColor; }

/* 1. Stem grows upward (a mask slides up from below) */
.intro__stem-mask { transform: translateY(380px); animation: stem-grow .8s cubic-bezier(.5, 0, .3, 1) .15s forwards; }
@keyframes stem-grow { to { transform: translateY(0); } }

/* 2. Petals unfold from the heart, bottom first, alternating sides */
.intro__petal {
  transform-box: view-box;
  transform-origin: 596px 735px;
  opacity: 0;
  transform: rotate(var(--r)) scale(.1);
  animation: petal-open .85s cubic-bezier(.2, .8, .25, 1.15) calc(.7s + var(--i) * .13s) forwards;
}
@keyframes petal-open {
  0%   { opacity: 0; transform: rotate(var(--r)) scale(.1); }
  35%  { opacity: 1; }
  100% { opacity: 1; transform: rotate(0deg) scale(1); }
}

/* 3. Whole flower takes one soft breath once fully open */
.intro__logo { animation: bloom-breath .7s ease-in-out 2.55s; transform-origin: 50.4% 61.5%; }
@keyframes bloom-breath { 50% { transform: scale(1.04); } }

/* Safety net: never let the intro linger if scripts fail */
html.js .intro { animation: intro-failsafe .4s ease 9s forwards; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  html.js .intro { display: none; }
  html.js:has(.intro) { overflow: auto; }
  html.js:has(.intro) .nav__mark svg { opacity: 1; }
}

/* ---------- Bag panel (slides in from the right) ---------- */
.bagpanel {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(420px, 100vw); height: 100dvh; max-height: none; max-width: none;
  padding: 0; border: 0;
  background: var(--paper); color: var(--ink);
  box-shadow: -30px 0 80px -30px rgba(20,10,5,.45);
}
.bagpanel[open] { display: flex; flex-direction: column; animation: bag-in .45s var(--ease); }
.bagpanel::backdrop { background: rgba(30,18,12,.45); animation: fade-in .3s ease; }
@keyframes bag-in { from { transform: translateX(40px); opacity: 0; } }
.bagpanel__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 14px; border-bottom: 1px solid var(--line); }
.bagpanel__title { margin: 0; font: 400 26px/1.1 var(--display); }
.bagpanel__close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.bagpanel__close:hover { background: #efe7df; }
.bagpanel__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.bagpanel__body { flex: 1; overflow-y: auto; padding: 6px 24px; }
.bagpanel__empty { margin: 48px 0; text-align: center; font-size: 17px; line-height: 1.8; color: var(--ink-soft); }
.bagpanel__browse { font: 500 12px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--copper); }
.bagpanel__list { list-style: none; margin: 0; padding: 0; }
.bagline { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bagline__photo { width: 76px; aspect-ratio: 2 / 3; box-shadow: none; }
.bagline__photo::after { content: none; }
.bagline__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bagline__name { font-size: 18px; }
.bagline__colour { font: 400 10.5px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.bagline__end { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.bagline__price { font-size: 17px; }
.bagline__remove { border: 0; background: none; padding: 0; cursor: pointer; font: 400 12px var(--sans); color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.bagline__remove:hover { color: var(--clay); }
.qty { display: inline-flex; align-items: center; margin-top: 10px; border: 1px solid var(--line); width: max-content; }
.qty__btn { width: 34px; height: 32px; border: 0; background: none; cursor: pointer; font: 400 18px/1 var(--sans); color: var(--ink); }
.qty__btn:hover:not(:disabled) { background: #efe7df; }
.qty__btn:disabled { color: var(--line); cursor: default; }
.qty__n { min-width: 28px; text-align: center; font: 500 14px var(--sans); }
.bagpanel__foot { padding: 16px 24px max(22px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.bagpanel__foot:empty { display: none; }
.bagpanel__ship { margin: 0 0 8px; font: 400 13px var(--sans); color: var(--ink-soft); }
.bagpanel__ship strong { color: var(--ink); font-weight: 500; }
.bagpanel__bar { display: block; height: 3px; background: var(--line); margin-bottom: 16px; position: relative; overflow: hidden; }
.bagpanel__bar::after { content: ''; position: absolute; inset: 0; background: var(--copper); transform-origin: left; transform: scaleX(var(--p)); transition: transform .5s var(--ease); }
.bagpanel__sub { display: flex; justify-content: space-between; margin: 0; font-size: 20px; }
.bagpanel__note { margin: 4px 0 16px; font: 400 12px var(--sans); color: var(--ink-soft); }
.bagpanel__checkout, .pay__btn {
  display: block; width: 100%; padding: 16px 20px; text-align: center; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper);
  font: 500 12px var(--sans); letter-spacing: .3em; text-transform: uppercase;
}
.bagpanel__checkout:hover, .pay__btn:hover { background: var(--umber); color: var(--paper); }

/* ---------- Checkout + order pages ---------- */
.paybody { background: var(--paper); }
.payhead { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); }
.payhead__brand { display: inline-flex; align-items: center; gap: 12px; }
.payhead__mark { width: 30px; height: 30px; color: var(--ink); }
.payhead__brand .brand__word { font-size: 24px; }
.payhead__secure { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 400 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.payhead__secure svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 56px); max-width: 1180px; margin: 0 auto; padding: clamp(20px, 4vw, 48px) var(--gutter) 64px; align-items: start; }
.pay__summary { position: sticky; top: 24px; background: var(--paper); padding: clamp(20px, 3vw, 32px); }
.pay__summary-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.pay__title { margin: 0; font: 400 clamp(26px, 3vw, 34px)/1.1 var(--display); }
.pay__edit { font: 400 12px var(--sans); letter-spacing: .1em; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.pay__edit:hover { color: var(--ink); }
.pay__lines { list-style: none; margin: 0; padding: 0; }
.payline { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.payline__photo { width: 64px; aspect-ratio: 2 / 3; box-shadow: none; overflow: visible; }
.payline__photo::after { content: none; }
.payline__photo img { position: relative; z-index: 1; }
.payline__qty { position: absolute; z-index: 2; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--umber); color: var(--paper); font: 500 11px/22px var(--sans); text-align: center; }
.payline__info { display: flex; flex-direction: column; gap: 3px; }
.payline__name { font-size: 18px; }
.payline__colour { font: 400 10.5px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.payline__price { font-size: 17px; }
.pay__totals { margin: 16px 0 0; }
.pay__totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.pay__totals dt, .pay__totals dd { margin: 0; font-size: 16px; }
.pay__totals .pay__total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.pay__totals .pay__total dt, .pay__totals .pay__total dd { font-size: 22px; }
.pay__totals .pay__hint dt { font: 400 12px var(--sans); color: var(--ink-soft); }
.pay__assure { margin: 18px 0 0; font: 400 12px/1.6 var(--sans); color: var(--ink-soft); }
.pay__form { min-height: 520px; background: #fff; padding: clamp(8px, 2vw, 20px); box-shadow: 0 20px 60px -40px rgba(30,16,8,.4); }
.pay__loading { margin: 60px 0; text-align: center; font: 400 13px var(--sans); letter-spacing: .14em; color: var(--ink-soft); }
.pay__msg { max-width: 420px; margin: 60px auto; text-align: center; font-size: 17px; line-height: 1.6; }
.pay__msg .pay__btn { margin-top: 22px; }
.pay__msg.is-error strong { color: var(--clay); font-weight: 400; }
.pay.is-empty .pay__summary { display: none; }
.pay.is-empty { grid-template-columns: minmax(0, 560px); justify-content: center; }

.order { max-width: 560px; margin: 0 auto; padding: clamp(36px, 7vw, 80px) var(--gutter) 80px; text-align: center; }
.order__mark { width: 44px; height: 44px; color: var(--copper); }
.order__eyebrow { margin: 18px 0 6px; font: 500 11px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--copper); }
.order__title { margin: 0 0 14px; font: 400 clamp(34px, 5vw, 48px)/1.1 var(--display); }
.order__copy { margin: 0 0 28px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.order__copy strong { color: var(--ink); font-weight: 400; }
.order__lines { list-style: none; margin: 0 0 32px; padding: 18px 24px; background: var(--paper); text-align: left; }
.order__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 17px; }
.order__lines .order__total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 21px; }

@media (max-width: 820px) {
  .pay { grid-template-columns: 1fr; }
  .pay__summary { position: static; }
  .payhead__secure { letter-spacing: .14em; }
}
.bagline__photo:hover, .payline__photo:hover { --lift: 0; box-shadow: none; }   /* small thumbnails: no lift */

/* ---------- Policies page (shipping, returns, privacy, terms, contact) ---------- */
.policy { max-width: 720px; margin: 0 auto; padding: clamp(36px, 7vw, 80px) var(--gutter) 80px; }
.policy > .order__mark, .policy > .order__eyebrow, .policy > .order__title { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.policy__toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 6px 0 10px; font: 400 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.policy__toc a { padding: 6px 0; border-bottom: 1px solid transparent; }
.policy__toc a:hover { border-color: var(--copper); color: var(--umber); }
.policy__updated { margin: 0 0 8px; text-align: center; font: 400 12px var(--sans); color: var(--ink-soft); }
.policy section { margin-top: 28px; padding: clamp(22px, 4vw, 34px); background: var(--paper); scroll-margin-top: 20px; }
.policy h2 { margin: 0 0 12px; font: 400 clamp(26px, 3.6vw, 32px)/1.15 var(--display); }
.policy h3 { margin: 20px 0 6px; font: 500 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
.policy p, .policy li { font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.policy p { margin: 0 0 10px; }
.policy ul, .policy ol { margin: 0 0 10px; padding-left: 1.2em; }
.policy li { margin: 0 0 8px; }
.policy strong { color: var(--ink); font-weight: 700; }
.policy section a { color: var(--umber); text-decoration: underline; text-underline-offset: 3px; }
.policy__back { display: block; width: fit-content; margin: 40px auto 0; padding: 15px 34px; background: var(--ink); color: var(--paper); font: 500 11px var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.pay__policy { margin: 10px 0 0; font: 400 12px/1.6 var(--sans); color: var(--ink-soft); }
.pay__policy a { text-decoration: underline; text-underline-offset: 3px; }

/* Mood board and vision photos are just for looking: not links, not draggable or selectable, and they stay still on hover */
.inspo__strip .frame, .vision__photo { cursor: default; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.inspo__strip img, .vision__photo img { -webkit-user-drag: none; pointer-events: none; }
.inspo__strip .frame:hover, .vision__photo:hover { --lift: 0px; box-shadow: none; z-index: auto; }

/* ---------- Sold out (stock from /api/stock) ---------- */
.product__soldout {
  position: absolute; top: 14px; left: 50%; translate: -50% 0; z-index: 3; pointer-events: none;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(20,17,16,.82); color: var(--paper);
  font: 500 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
}
.product.is-sold-out .frame img { filter: grayscale(.35) opacity(.72); }   /* display only: the photo file is untouched */
.product.is-sold-out .product__price { text-decoration: line-through; color: var(--ink-soft); }
.product__add.is-sold-out, .pview__add.is-sold-out, .product__add:disabled, .pview__add:disabled {
  background: #d9d1c9; color: var(--ink-soft); cursor: not-allowed; box-shadow: none; text-shadow: none;
}
.product__add.is-sold-out:hover, .pview__add.is-sold-out:hover { background: #d9d1c9; color: var(--ink-soft); }
.bagline__stock { display: block; margin: 4px 0 2px; font: 500 11px var(--sans); letter-spacing: .06em; color: var(--clay); }
.bagline.is-short .bagline__photo img { filter: grayscale(.35) opacity(.72); }
.bagpanel__checkout.is-blocked, .bagpanel__checkout.is-blocked:hover { background: #d9d1c9; color: var(--ink-soft); cursor: not-allowed; }
.pay__soldout { margin: 10px 0 0; padding-left: 1.2em; text-align: left; display: inline-block; }
.pay__soldout li { margin: 4px 0; }
