/* ==========================================================
   Creed & Crown — storefront styles
   Type and colour follow the Creed & Crown Website Figma file
   (Montserrat, White / Eerie Black). Layout patterns follow
   Kith (product + collection) and Suitsupply (home).
   ========================================================== */

:root {
  --white: #ffffff;
  --black: #000000;
  --eerie: #262626;     /* Figma: EERIE BLACK */
  --text: #414141;      /* Figma body / footer text */
  --muted: #8a8a8a;
  --line: #e4e4e4;
  --tint: #f4f4f4;
  --photo: #a7a7a7;     /* studio backdrop grey, used while images load */

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --nav-h: 72px;
  --edge: clamp(16px, 3.7vw, 64px);   /* Figma nav inset: 64px at 1728 */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--eerie);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

.edge { padding-inline: var(--edge); }
.label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 24px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid currentColor; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-solid { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-solid:hover { background: var(--eerie); }
.btn-solid[disabled] { background: #9b9b9b; border-color: #9b9b9b; cursor: not-allowed; }
.btn-line { background: transparent; }
.btn-line:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.on-dark .btn-line { color: var(--white); }
.on-dark .btn-line:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-block { width: 100%; height: 48px; }
.text-link { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   NAV — Figma node 2120:782 "Nav bar UPDATED"
   1728 × 72 · Montserrat Regular 11px · transparent over hero
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--nav-h);
  color: var(--eerie); background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.nav-inner {
  height: 100%; padding-inline: var(--edge);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-links { display: flex; align-items: center; gap: 40px; font-size: 11px; font-weight: 400; text-transform: uppercase; }
.nav-links.right { justify-content: flex-end; }
.nav-links.primary { align-self: stretch; }

/* Mega menu — after atafo.africa: full-width white panel under the bar */
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-top { display: inline-flex; align-items: center; gap: 6px; }
.chev { width: 9px; height: 6px; transition: transform .3s var(--ease); }
.nav-item.open .chev { transform: rotate(180deg); }
.nav-item.open .nav-top::after { transform: scaleX(1); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); color: var(--eerie); box-shadow: 0 0 3px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden; transform: translateY(15px); pointer-events: none;
  transition: opacity .3s, visibility .3s, transform .3s;
  text-transform: none;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
/* Text fills the left half; the image takes the right half, flush to the top, bottom and right edges.
   A fixed height keeps every dropdown the same size. */
.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 50%; height: clamp(320px, 26vw, 400px); align-items: stretch; }
.mega-inner { grid-template-rows: minmax(0, 1fr); }   /* the panel height is fixed; content never stretches it */
.mega-inner.grouped { grid-template-columns: 21% minmax(0, 1fr) 50%; }   /* link columns start about a fifth of the way across */
.mega-groups { display: grid; grid-template-columns: max-content minmax(0, max-content); justify-content: start; gap: 0 clamp(36px, 3.5vw, 64px); min-width: 0; padding-right: 28px; }
.mega-groups .mega-links { padding-right: 0; }
.mega-title { margin: 0; padding: 48px 2vw 40px clamp(24px, 6vw, 120px); font-size: clamp(28px, 2.3vw, 40px); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; }
.mega-links { list-style: none; margin: 0; padding: 52px 2vw 24px 0; align-content: start; display: grid; gap: 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
.mega-links a { color: var(--text); }
.nav .mega-links a { white-space: normal; display: inline-block; line-height: 1.35; }
.mega-links a.strong { color: var(--eerie); font-weight: 600; }
.mega-links a::after { display: none; }
.mega-links a:hover { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }
.mega-media { overflow: hidden; background: var(--photo); display: grid; height: 100%; }
.mega-media.duo { grid-template-columns: 1fr 1fr; gap: 0; }
.mega-media { min-height: 0; }
.mega-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
/* Keep the bar readable while a panel is open over a hero */
.nav.is-clear:has(.nav-item.open) { background: rgba(0,0,0,.25); }
.nav-links a, .nav-links button { position: relative; padding: 6px 0; line-height: normal; white-space: nowrap; }
.nav-links a::after, .nav-links button:not(.cur-btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links button:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
/* Logo slot: 266 × 27 at 1728 (inset 30.56% / 42.07% / 31.94% / 42.53%), image object-fit: cover */
.nav-logo { display: block; width: clamp(170px, 15.4vw, 266px); aspect-ratio: 266 / 27; position: relative; justify-self: center; }
.nav-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: invert(1); transition: filter .35s var(--ease); }
.cur-btn { display: inline-flex; gap: 4px; align-items: center; }
.cur-btn span { opacity: .45; transition: opacity .2s; }
.cur-btn span.on { opacity: 1; }
.cart-n { font-variant-numeric: tabular-nums; }
.nav-burger, .nav-cart-sm { display: none; }

/* Transparent state over a hero */
.nav.is-clear { background: transparent; color: var(--white); border-color: transparent; }
.nav.is-clear .nav-logo img { filter: none; }
.nav.is-clear::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,.35), transparent);
}
body:not(.has-hero) main { padding-top: var(--nav-h); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--white); color: var(--eerie);
  padding: 20px var(--edge) 32px; display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .45s var(--ease);
}
.menu.open { transform: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 32px; margin-bottom: 40px; }
.menu a.big { font-size: 22px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu .menu-foot { margin-top: auto; display: grid; gap: 14px; font-size: 12px; }

/* ==========================================================
   HOME — Suitsupply / Kith campaign blocks
   ========================================================== */
.campaign { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: var(--white); background: var(--eerie); }
.campaign.short { height: 86svh; }
.campaign > img, .campaign picture img, .campaign-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-btn { min-width: 96px; }
.campaign::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); pointer-events: none; }
.campaign-copy {
  position: absolute; z-index: 2; left: var(--edge); right: var(--edge); bottom: clamp(28px, 5vw, 56px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.campaign-copy .eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; opacity: .9; }
.campaign-copy h1, .campaign-copy h2 { margin: 0; font-weight: 500; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -.01em; }
.campaign-copy p { margin: 10px 0 0; max-width: 46ch; font-size: 13px; opacity: .9; }
.campaign-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.block { padding-block: clamp(56px, 7vw, 96px); }
.block-head { text-align: center; margin-bottom: clamp(28px, 3vw, 44px); }
.block-head .label { color: var(--muted); }
.block-head h2 { margin: 6px 0 0; font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.block-foot { text-align: center; margin-top: 40px; }

/* Split tiles (Suitsupply) */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: var(--white); background: var(--photo); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5)); }
.tile-copy { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.tile-copy b { display: block; font-size: 15px; font-weight: 500; }
.tile-copy span { font-size: 12px; opacity: .85; }

/* Editorial split */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 80svh; }
.split-media { position: relative; background: var(--photo); overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 120px); }
.split-copy h2 { margin: 8px 0 18px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; line-height: 1.1; }
.split-copy p { color: var(--text); max-width: 52ch; margin: 0 0 14px; }
.split-copy .btn { align-self: flex-start; margin-top: 14px; }
.dark { background: var(--black); color: var(--white); }
.dark .split-copy p { color: rgba(255,255,255,.75); }

/* Ìlà mark — the double aso-oke stripe from the Un/Formal brief */
.ila { display: inline-block; width: 28px; height: 7px; border-block: 2px solid currentColor; vertical-align: middle; margin-right: 10px; }

/* Statement */
.statement { text-align: center; padding: clamp(72px, 10vw, 140px) var(--edge); }
.statement h2 { margin: 0 auto; max-width: 22ch; font-size: clamp(26px, 3vw, 44px); font-weight: 500; line-height: 1.15; }
.statement .pillars { display: flex; justify-content: center; gap: clamp(24px, 5vw, 80px); margin: 40px 0 36px; flex-wrap: wrap; }
.statement .pillars div { max-width: 220px; }
.statement .pillars b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.statement .pillars p { margin: 0; color: var(--text); font-size: 13px; }

/* Newsletter bar — Figma node 8245:1200 */
.subscribe { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 120px) var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.subscribe h2 { margin: 0; font-size: clamp(15px, 1.2vw, 18px); font-weight: 600; }
.subscribe form { display: flex; flex: 0 1 560px; min-width: min(100%, 320px); }
.subscribe input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--eerie); border-right: 0; padding: 0 16px; font-size: 12px; outline: 0; }
.subscribe .btn { height: 48px; padding: 0 32px; text-transform: none; letter-spacing: 0; font-size: 13px; }

/* ==========================================================
   PRODUCT CARDS — Figma "Product Details" (centred label / name / price)
   ========================================================== */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 26px); }
.card { display: block; }
.card-media { position: relative; aspect-ratio: 380 / 549; overflow: hidden; background: var(--photo); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card-tag { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--white); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; }
.card-info { text-align: center; padding-top: 14px; line-height: 1.5; }
.card-info .cat { font-size: 11px; color: var(--muted); }
.card-info .name { font-size: 12px; font-weight: 500; }
.card-info .price { font-size: 12px; color: var(--text); }

/* ==========================================================
   COLLECTION PAGE — Kith
   ========================================================== */
.coll-head { padding: clamp(36px, 5vw, 64px) var(--edge) 28px; text-align: center; }
.coll-head h1 { margin: 0; font-size: clamp(20px, 2vw, 28px); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.coll-head p { margin: 12px auto 0; max-width: 64ch; color: var(--text); }
/* Collection banner (e.g. Formal): full-width photo with the title over it */
.coll-head.has-img { position: relative; height: min(78svh, 760px); min-height: 420px; padding: 0; overflow: hidden; background: var(--eerie); color: var(--white); text-align: left; }
.coll-head.has-img .coll-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
/* Images with separate desktop / phone framing (set --pos and --pos-m inline) */
.campaign > img.pos-img { object-position: var(--pos, 50% 50%); }
@media (max-width: 700px) {
  .coll-head.has-img .coll-img, .campaign > img.pos-img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
}
.coll-head.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55)); }
.coll-head.has-img .coll-copy { position: absolute; z-index: 1; left: var(--edge); right: var(--edge); bottom: clamp(28px, 5vw, 56px); }
.coll-head.has-img h1 { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -.01em; text-transform: none; }
.coll-head.has-img p { margin: 10px 0 0; color: rgba(255,255,255,.88); max-width: 52ch; }
.coll-bar {
  position: sticky; top: var(--nav-h); z-index: 20; background: var(--white);
  border-block: 1px solid var(--line); padding: 0 var(--edge);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; flex-wrap: wrap;
}
.chips { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.chips::-webkit-scrollbar { display: none; }
.chips button { padding: 16px 0; border-bottom: 1px solid transparent; white-space: nowrap; color: var(--muted); }
.chips button[aria-pressed="true"] { color: var(--eerie); border-color: var(--eerie); }
.coll-bar select { border: 0; background: none; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.coll-grid { padding: 32px var(--edge) 96px; }
.coll-count { font-size: 11px; color: var(--muted); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .06em; }

/* ==========================================================
   PRODUCT PAGE — Kith layout, Figma content
   ========================================================== */
.crumbs { padding: 16px var(--edge); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--eerie); }
.pdp { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(320px, 440px); gap: 0 clamp(16px, 2.4vw, 40px); padding: 24px var(--edge) 80px; }
.thumbs { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: grid; gap: 10px; }
.thumbs button { aspect-ratio: 3 / 4; overflow: hidden; background: var(--photo); opacity: .55; transition: opacity .2s; border: 1px solid transparent; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: var(--eerie); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.shots { display: grid; gap: 10px; }
.shots figure { margin: 0; background: var(--photo); aspect-ratio: 4 / 5; overflow: hidden; scroll-margin-top: calc(var(--nav-h) + 24px); }
.shots img { width: 100%; height: 100%; object-fit: cover; }
.dots { display: none; }

.buy { min-width: 0; position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; padding-top: 8px; }
.buy .coll { font-size: 11px; color: var(--muted); }
.buy h1 { margin: 6px 0 8px; font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }
.buy .price { font-size: 14px; margin-bottom: 18px; }
.buy .intro { color: var(--text); margin: 0 0 20px; }
.opt { border-top: 1px solid var(--line); padding: 16px 0; }
.opt-head { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.opt-head .val { color: var(--muted); text-transform: none; letter-spacing: 0; }
.opt-head button { text-decoration: underline; text-underline-offset: 3px; text-transform: none; letter-spacing: 0; color: var(--muted); }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sizes button { height: 40px; border: 1px solid var(--line); font-size: 12px; transition: border-color .2s, background .2s, color .2s; }
.sizes button:hover { border-color: var(--eerie); }
.sizes button[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.sizes button:disabled { color: #c4c4c4; background: linear-gradient(to top right, transparent calc(50% - .5px), #d8d8d8 50%, transparent calc(50% + .5px)); cursor: not-allowed; }
.sizes .custom { letter-spacing: .06em; font-size: 11px; }
.sizes.fabrics { grid-template-columns: repeat(2, 1fr); }

/* Colour swatches — Figma node 8243:1187 "Color Options":
   a 40px white ring (drop shadow) around a 32px colour disc; striped fabrics show white pinstripes. */
.colours { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { --size: 30px; position: relative; display: inline-block; width: var(--size); height: var(--size); border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.22); flex: none; }
.swatch::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch.stripe::after { background-image: repeating-linear-gradient(90deg, transparent 0 4px, rgba(255,255,255,.9) 4px 5px); background-color: var(--sw); }
.swatch-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid transparent; transition: border-color .2s; }
.swatch-btn:hover { border-color: var(--line); }
.swatch-btn[aria-checked="true"] { border-color: var(--eerie); }
.card-swatches { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.card-swatches .swatch { --size: 14px; box-shadow: 0 0 2px rgba(0,0,0,.3); }
.size-note { margin-top: 10px; font-size: 11px; }
.size-err { color: #b3261e; font-size: 11px; min-height: 16px; margin-top: 8px; }
.buy-actions { display: grid; gap: 8px; margin-top: 4px; }
.assist { font-size: 11px; color: var(--text); margin: 14px 0 6px; }
.assist a { white-space: nowrap; }
.limit { font-size: 11px; color: var(--muted); margin-bottom: 18px; }

.tabs { border-top: 1px solid var(--line); margin-top: 18px; }
.tab-list { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.tab-list button { padding: 14px 0; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tab-list button[aria-selected="true"] { color: var(--eerie); border-color: var(--eerie); }
.tab-panel { padding: 16px 0; color: var(--text); font-size: 12px; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { margin: 0 0 6px; font-size: 12px; font-weight: 600; color: var(--eerie); }
.tab-panel p { margin: 0 0 12px; }
.tab-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }
.tab-panel dt { color: var(--muted); }
.tab-panel dd { margin: 0; }

.look { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 16px; }
.look h2 { margin: 0 0 12px; font-size: 13px; font-weight: 600; }
.look-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 8px 0; }
.look-item .img { aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; }
.look-item img { width: 100%; height: 100%; object-fit: cover; }
.look-item b { display: block; font-size: 12px; font-weight: 500; }
.look-item span { font-size: 12px; color: var(--muted); }

.related { padding: 56px var(--edge) 96px; border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 28px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ==========================================================
   CART — Figma node 2120:408 "BAG POP-UP" (481 wide)
   ========================================================== */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.scrim.open { opacity: 1; pointer-events: auto; }
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(481px, 100%);
  background: var(--white); display: flex; flex-direction: column; padding: 32px 40px;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.bag.open { transform: none; }
.bag-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.bag-head h2 { margin: 0; font-size: 15px; font-weight: 400; text-transform: uppercase; }
.bag-head button { width: 24px; height: 24px; display: grid; place-items: center; }
.bag-body { flex: 1; overflow-y: auto; margin-inline: -4px; padding-inline: 4px; }
.bag-line { display: grid; grid-template-columns: 81px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag-line .img { aspect-ratio: 81 / 99; background: var(--photo); overflow: hidden; }
.bag-line img { width: 100%; height: 100%; object-fit: cover; }
.bag-line b { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.bag-line .meta { font-size: 11px; color: var(--text); margin-top: 4px; }
.bag-line .price { font-size: 11px; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 28px; margin-top: 10px; }
.qty button { width: 28px; height: 100%; }
.qty span { min-width: 22px; text-align: center; font-size: 11px; }
.rm { display: block; margin-top: 10px; font-size: 10px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; margin-left: auto; }
.bag-empty { padding: 40px 0; color: var(--text); }
.bag-assist { font-size: 12px; color: var(--eerie); margin: 22px 0; }
.bag-foot { display: grid; gap: 14px; padding-top: 16px; }
.bag-total { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.bag-foot .btn { height: 35px; font-size: 14px; font-weight: 700; letter-spacing: 0; }

/* Modal + toast */
.modal { position: fixed; z-index: 95; left: 50%; top: 50%; width: min(620px, calc(100% - 32px)); max-height: 86vh; overflow: auto; background: var(--white); padding: 32px; transform: translate(-50%, -46%); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
.modal.open { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.modal h2 { margin: 0; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modal table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 16px; }
.modal th, .modal td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.modal th { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 16px); opacity: 0; background: var(--black); color: var(--white); padding: 12px 20px; font-size: 12px; transition: all .35s var(--ease); max-width: calc(100% - 32px); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   FOOTER — Figma node 3014:1359
   ========================================================== */
.footer { padding: 86px var(--edge) 34px; color: var(--text); font-size: 11px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 15.7% 15.8% 25.5%; gap: 0; }
.socials { display: flex; gap: 28px; align-items: center; align-self: start; }
.socials img { width: 18px; height: 18px; }
.footer h3 { margin: 0 0 18px; font-size: 11px; font-weight: 500; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer a:hover { color: var(--black); }
.foot-sub p { margin: 0 0 14px; line-height: 1.55; }
.foot-sub form { display: grid; gap: 10px; max-width: 280px; }
.foot-sub input { height: 24px; background: rgba(219,218,218,.34); border: 1px solid var(--text); font-size: 10px; padding: 0 8px; outline: 0; }
.foot-sub button { height: 24px; width: 136px; background: var(--black); color: var(--white); font-size: 11px; font-weight: 500; }
.foot-sub .ok { color: #408b35; font-size: 10px; }
.copyright { text-align: right; font-size: 10px; margin-top: 110px; }

/* ==========================================================
   UN/FORMAL + ABOUT
   ========================================================== */
.soon-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.soon-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.phon { font-style: italic; color: var(--muted); }
.waitlist { display: flex; max-width: 460px; margin-top: 20px; }
.waitlist input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid currentColor; border-right: 0; background: transparent; outline: 0; font-size: 12px; }
.dark .waitlist input::placeholder { color: rgba(255,255,255,.55); }
.waitlist .btn, .split-copy .waitlist .btn { height: 48px; margin-top: 0; align-self: stretch; flex: none; }
.dark .waitlist .btn { background: var(--white); color: var(--black); border-color: var(--white); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.tier { border-top: 1px solid var(--eerie); padding-top: 18px; }
.tier .label { color: var(--muted); }
.tier h3 { margin: 6px 0 10px; font-size: 18px; font-weight: 500; }
.tier p { margin: 0 0 10px; color: var(--text); }
.tier ul { margin: 0; padding-left: 16px; color: var(--text); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.two-col h2 { margin: 6px 0 0; font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; line-height: 1.15; }
.two-col p { color: var(--text); margin: 0 0 14px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .pdp { grid-template-columns: 56px minmax(0, 1fr) 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 56px; }
  .nav-links { display: none; }
  .nav-burger, .nav-cart-sm { display: flex; align-items: center; font-size: 11px; text-transform: uppercase; }
  .nav-cart-sm { justify-self: end; }
  .nav-burger svg { width: 22px; height: 22px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .tiles.three { grid-template-columns: 1fr; }
  .tiles.three .tile { aspect-ratio: 4 / 3; }
  .split, .two-col { grid-template-columns: 1fr; }
  .split-media { min-height: 70svh; }
  .tiers { grid-template-columns: 1fr; }

  .pdp { grid-template-columns: minmax(0, 1fr); padding: 0 0 56px; }
  .thumbs { display: none; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots figure { flex: 0 0 100%; scroll-snap-align: start; }
  .dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
  .dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
  .dots span.on { background: var(--eerie); }
  .buy { position: static; padding: 20px var(--edge) 0; }
  .campaign-copy { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { text-align: left; margin-top: 48px; }
  .subscribe { flex-direction: column; align-items: stretch; }
  .subscribe .btn { padding: 0 18px; }
  .bag { padding: 24px 20px; }
  .campaign-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; animation: none !important; } }

/* ---------- Comfort Plissé ---------- */
.pron { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; }
.pron span { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; }
.pron img { width: clamp(150px, 14vw, 220px); height: auto; margin-top: 4px; }
.pron-inline { font-weight: 400; opacity: .75; font-size: .6em; vertical-align: middle; }
.cp-intro { max-width: 62ch; margin: 0 auto 14px; font-size: clamp(14px, 1.1vw, 16px); color: var(--text); }

/* ---------- Made-to-measure: measurement session picker ---------- */
.req { color: #b3261e; }
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.formats button, .times button { height: 40px; border: 1px solid var(--line); font-size: 12px; transition: border-color .2s, background .2s, color .2s; }
.formats button:hover, .times button:hover, .day-strip button:hover { border-color: var(--eerie); }
.formats button[aria-checked="true"], .times button[aria-checked="true"], .day-strip button[aria-checked="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.day-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 58px; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.day-strip button { scroll-snap-align: start; display: grid; justify-items: center; gap: 1px; padding: 8px 0; border: 1px solid var(--line); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; transition: border-color .2s, background .2s, color .2s; }
.day-strip b { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.times { grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.times[hidden] { display: none; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-cards { display: grid; gap: 0; border-top: 1px solid var(--eerie); }
.contact-card { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-card .label { color: var(--muted); padding-top: 2px; }
.contact-card a { font-size: 15px; }
.contact-card p { margin: 4px 0 0; color: var(--text); font-size: 12px; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select, .field textarea { border: 1px solid var(--line); background: var(--white); padding: 12px 14px; font-size: 13px; outline: 0; border-radius: 0; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--eerie); }
.field textarea { min-height: 150px; resize: vertical; font-family: inherit; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } .contact-card { grid-template-columns: 1fr; gap: 4px; } }

/* Wide banners (e.g. The Essentials Lookbook): on desktop show the whole 3:1 photo
   and place the copy in the empty space on the left. Phones keep the cropped framing. */
@media (min-width: 901px) {
  .campaign.is-wide { height: auto; min-height: 0; aspect-ratio: 2000 / 667; }
  /* Every shop banner (All, New In, Formal, Evening, Lounge) shares the wide 3:1 height */
  .coll-head.has-img { height: auto; min-height: 0; aspect-ratio: 2000 / 667; }
  .campaign.is-wide > img.pos-img, .coll-head.is-wide .coll-img { object-position: 50% 50%; }
  .campaign.is-wide::after, .coll-head.is-wide::after { background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 45%); }
  .campaign.is-wide .campaign-copy, .coll-head.is-wide .coll-copy {
    top: 50%; bottom: auto; right: auto; transform: translateY(-50%);
    width: 30%; flex-direction: column; align-items: flex-start; gap: 24px;
  }
  .coll-head.is-wide p { max-width: none; }
}

/* Homepage Evening Edit: a centred row of the evening pieces */
.grid.evening-row { grid-template-columns: repeat(3, minmax(0, 380px)); justify-content: center; }
@media (max-width: 900px) { .grid.evening-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Checkout ---------- */
.checkout { padding-bottom: 96px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.co-step { border-top: 1px solid var(--line); padding: 22px 0 8px; display: grid; gap: 14px; }
.co-step[hidden] { display: none; }
.co-step h2 { margin: 0 0 4px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
.co-step h2 span { width: 22px; height: 22px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; font-size: 11px; letter-spacing: 0; }
.co-rates { display: grid; gap: 8px; }
.co-rate { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "r n p" "r e p"; gap: 2px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s; }
.co-rate:hover { border-color: var(--eerie); }
.co-rate:has(input:checked) { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.co-rate input { grid-area: r; accent-color: var(--black); }
.co-rate-name { grid-area: n; font-size: 13px; font-weight: 500; }
.co-rate-name em { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; background: var(--tint); padding: 2px 6px; margin-left: 6px; }
.co-rate-eta { grid-area: e; font-size: 11px; color: var(--muted); }
.co-rate-price { grid-area: p; font-size: 13px; font-weight: 600; }
.co-note { font-size: 12px; margin: 4px 0 0; }
.co-pay { margin-top: 18px; height: 52px; font-size: 12px; }
.co-secure { font-size: 11px; margin: 10px 0 0; }
.co-summary { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--tint); padding: 24px; }
.co-summary h2 { margin: 0 0 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.co-line.no-img { grid-template-columns: 1fr auto; }
.co-line .img { position: relative; aspect-ratio: 3 / 4; background: var(--photo); }
.co-line .img img { width: 100%; height: 100%; object-fit: cover; }
.co-line .img span { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--eerie); color: var(--white); font-size: 10px; display: grid; place-items: center; }
.co-line b { display: block; font-weight: 500; }
.co-line small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.co-totals { display: grid; gap: 8px; padding-top: 14px; font-size: 13px; }
.co-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.co-totals .big { font-size: 16px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.co-empty { padding: 40px 0 80px; text-align: center; color: var(--text); }
.co-confirm { max-width: 680px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 0; }
.co-confirm h1 { margin: 8px 0 14px; font-size: clamp(26px, 3vw, 40px); font-weight: 500; }
.co-confirm p { color: var(--text); }
@media (max-width: 900px) { .co-grid { grid-template-columns: minmax(0, 1fr); } .co-summary { position: static; order: -1; } }

/* Shop subcategories (Formal → Business / Evening) */
.subchips { flex-basis: 100%; order: 3; gap: 8px; padding: 0 0 12px; }
.subchips[hidden] { display: none; }
.subchips button { padding: 6px 14px; border: 1px solid var(--line); border-radius: 16px; font-size: 10px; color: var(--text); }
.subchips button[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.mega-links li.sub { padding-left: 14px; margin-top: -10px; }
.mega-links li.sub a { font-size: 12px; }

/* ---------- Journal ---------- */
.journal-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.journal-head h1 { font-size: clamp(30px, 3.4vw, 52px); text-transform: none; letter-spacing: -.01em; margin-top: 6px; }
.journal-head p { margin-bottom: 24px; }
.journal-list { padding-bottom: 96px; }
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 420px)); justify-content: center; gap: clamp(20px, 3vw, 44px); }
.journal-card { display: block; }
.journal-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); margin-bottom: 16px; }
.journal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.journal-card:hover .journal-img img { transform: scale(1.03); }
.journal-meta { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.journal-card h3 { margin: 8px 0 8px; font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; line-height: 1.3; }
.journal-card p { margin: 0 0 12px; color: var(--text); font-size: 13px; }
.journal-card .text-link { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.post-head { max-width: 760px; margin: 0 auto; padding-block: clamp(40px, 6vw, 80px) 28px; text-align: center; }
.post-head h1 { margin: 16px 0 14px; font-size: clamp(28px, 3.4vw, 48px); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
.post-sub { margin: 0 auto 18px; max-width: 56ch; font-size: clamp(15px, 1.2vw, 18px); color: var(--text); }
.post-body { max-width: 720px; margin: 0 auto; font-size: 16px; line-height: 1.8; color: var(--eerie); box-sizing: content-box; }
.post-body p { margin: 0 0 1.3em; }
.post-body h2, .post-body h3, .post-body h4 { margin: 2em 0 .7em; font-weight: 600; line-height: 1.3; }
.post-body h2 { font-size: 24px; } .post-body h3 { font-size: 20px; } .post-body h4 { font-size: 17px; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.post-body li { margin-bottom: .5em; }
.post-body blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 2px solid var(--eerie); font-size: 18px; }
.post-body figure { margin: 2em 0; }
.post-body img { display: block; width: 100%; height: auto; }
.post-body figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.post-cta { max-width: 720px; margin: 48px auto 72px; box-sizing: content-box; }
.post-cta > * { box-sizing: border-box; }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--tint); padding: 28px; }
.post-cta b { font-size: 15px; } .post-cta p { margin: 4px 0 0; color: var(--text); font-size: 13px; }
.post-cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.journal-more { border-top: 1px solid var(--line); padding-block: 56px 96px; }
.journal-more h2 { margin: 0 0 28px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 900px) { .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; } }
@media (max-width: 560px) { .journal-grid { grid-template-columns: 1fr; } .post-body { font-size: 15px; } .post-cta { padding: 20px; } }

/* ---------- Gift card ---------- */
/* The card photo sits on a matching light-grey ground, shown whole at every width */
.gift-hero { background: #efedec; height: clamp(260px, 40vw, 580px); overflow: hidden; }
.gift-hero img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gift-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 5vw, 72px) 96px; align-items: start; }
.gift-form h1 { margin: 6px 0 10px; font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.01em; }
.gift-intro { color: var(--text); margin: 0 0 8px; max-width: 56ch; }
.gift-step { border: 0; border-top: 1px solid var(--line); margin: 18px 0 0; padding: 20px 0 4px; display: grid; gap: 14px; min-width: 0; }
.gift-step legend { padding: 0 0 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; float: left; width: 100%; }
.gift-amounts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; clear: both; }
.gift-amounts button { height: 52px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.gift-amounts button:hover { border-color: var(--eerie); }
.gift-amounts button[aria-checked="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.gift-custom[hidden] { display: none; }
.gift-custom small, .gift-step .field small { font-size: 11px; }
.gift-form .btn-block { margin-top: 18px; height: 52px; }
.gift-note { font-size: 12px; margin: 12px 0 0; }
.gift-how { background: var(--tint); padding: 28px; position: sticky; top: calc(var(--nav-h) + 24px); }
.gift-how h2 { margin: 0 0 14px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.gift-how ol { margin: 0 0 16px; padding-left: 18px; display: grid; gap: 12px; color: var(--text); font-size: 13px; }
.gift-how b { color: var(--eerie); font-weight: 600; }
.gift-how p { margin: 0; font-size: 12px; }
@media (max-width: 900px) { .gift-wrap { grid-template-columns: minmax(0, 1fr); } .gift-how { position: static; } }
@media (max-width: 560px) { .gift-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gift-amounts button[data-amount="custom"] { grid-column: span 2; } }

/* Gift card: send date, terms, balance checker */
.gift-amounts.gift-when { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gift-step [data-when-date][hidden] { display: none; }
.gift-how h2 + ul, .gift-how h2 + form { margin-top: 0; }
.gift-how h2:not(:first-child) { margin-top: 22px; }
.gift-terms { margin: 0 0 4px; padding-left: 18px; display: grid; gap: 6px; color: var(--text); font-size: 12px; }
.gift-balance { display: flex; gap: 6px; }
.gift-balance input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line); background: var(--white); padding: 0 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; outline: 0; }
.gift-balance input:focus { border-color: var(--eerie); }
.gift-balance .btn { height: 40px; padding: 0 16px; }
.gift-balance-out { min-height: 18px; margin: 8px 0 14px !important; font-size: 12px !important; color: var(--eerie); }
.gift-balance-out.err, .co-gift-msg.err { color: #b3261e; }

/* Checkout: gift card code */
.co-gift { margin: 14px 0 0; display: grid; gap: 6px; }
.co-gift[hidden] { display: none; }
.co-gift label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.co-gift-row { display: flex; gap: 6px; }
.co-gift-row input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line); background: var(--white); padding: 0 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; outline: 0; }
.co-gift-row input:focus { border-color: var(--eerie); }
.co-gift-row .btn { height: 40px; padding: 0 16px; background: var(--white); }
.co-gift-msg { margin: 0; min-height: 16px; font-size: 11px; color: var(--text); }
.co-gift-line[hidden] { display: none !important; }
.co-gift-line small { color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.co-gift-line .text-link { font-size: 10px; color: var(--muted); margin-left: 4px; }

/* ---------- Policy pages ---------- */
.legal { padding-bottom: 96px; }
.legal-head { max-width: 760px; padding-block: clamp(48px, 6vw, 88px) clamp(28px, 3vw, 44px); }
.legal-head h1 { margin: 6px 0 6px; font-size: clamp(30px, 3.4vw, 50px); font-weight: 500; letter-spacing: -.01em; }
.legal-head p { margin: 0; }
.legal-intro { margin-top: 18px !important; font-size: 15px; color: var(--text); max-width: 62ch; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); align-items: start; border-top: 1px solid var(--line); padding-top: 36px; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.legal-toc ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 12px; }
.legal-toc a { color: var(--muted); transition: color .2s; }
.legal-toc a:hover, .legal-toc a[aria-current="true"] { color: var(--eerie); }
.legal-toc a[aria-current="true"] { font-weight: 600; }
.legal-body { font-size: 14px; line-height: 1.75; color: var(--eerie); }
.legal-body h2 { margin: 36px 0 10px; font-size: 16px; font-weight: 600; scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 12px; color: var(--text); }
.legal-body ul { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; color: var(--text); }
.legal-body b { color: var(--eerie); font-weight: 600; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 20px; } }
.guide-how { margin: 0; padding-left: 18px; font-size: 12px; line-height: 1.6; }

/* ---------- Book an appointment ---------- */
.book-grid { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.book-types { display: grid; gap: 8px; }
.book-type { display: grid; gap: 6px; text-align: left; padding: 16px 18px; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.book-type:hover { border-color: var(--eerie); }
.book-type[aria-checked="true"] { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.book-type-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.book-type-head span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.book-type-text { font-size: 12px; color: var(--text); line-height: 1.5; }
.book-note { font-size: 12px; color: var(--text); margin: 18px 0 0; padding: 14px 16px; background: var(--tint); }
.book-alt { font-size: 11px; color: var(--muted); margin: 18px 0 0; }
.book-alt a { color: var(--text); }
.book-cal { min-height: 560px; border: 1px solid var(--line); }
.book-frame { width: 100%; min-height: 560px; overflow: auto; }
.book-soon { display: grid; place-content: center; justify-items: center; gap: 4px; min-height: 560px; padding: 32px; text-align: center; }
.book-soon b { font-size: 15px; font-weight: 500; }
.book-soon p { margin: 0 0 16px; color: var(--text); max-width: 40ch; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } .book-cal, .book-frame, .book-soon { min-height: 460px; } }

/* ---------- Careers ---------- */
.roles { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--eerie); }
.role { border-bottom: 1px solid var(--line); }
.role summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 20px 0; cursor: pointer; list-style: none; }
.role summary::-webkit-details-marker { display: none; }
.role summary b { font-size: 15px; font-weight: 500; }
.role summary span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.role-body { padding: 0 0 24px; color: var(--text); }
.role-body p { margin: 0 0 12px; max-width: 64ch; }
.role-body ul { margin: 0 0 18px; padding-left: 18px; }
.roles-none { padding: 28px 0; text-align: center; color: var(--text); }
.roles-none p { margin: 0 auto 8px; max-width: 56ch; }
.roles-none b { font-weight: 500; color: var(--black); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field input[type="file"] { padding: 10px 12px; font-size: 12px; }
.apply-done { padding: 28px; background: var(--tint); }
.apply-done b { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.apply-done p { margin: 0; color: var(--text); }
.book-cal:has(.book-frame) { border: 0; }
.contact-grid > *, .field { min-width: 0; } .field select { width: 100%; text-overflow: ellipsis; }

/* ---------- Home measurement visit ---------- */
.formats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.formats button { height: auto; min-height: 40px; padding: 6px 8px; line-height: 1.25; }
.home-note { margin: -2px 0 12px; color: var(--text); }
.co-check { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; }
.co-check input { width: 16px; height: 16px; accent-color: var(--black); }
.co-visit-fields { display: grid; gap: 14px; }
.co-visit-fields[hidden], [data-co-visit][hidden] { display: none; }

/* ---------- Journal: Substack sign-up ---------- */
.journal-sub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.journal-sub h2 { margin: 6px 0 10px; font-size: clamp(20px, 2vw, 28px); font-weight: 500; }
.journal-sub p { margin: 0; color: var(--text); max-width: 46ch; }
.journal-sub-frame { width: 100%; height: 320px; border: 1px solid var(--line); background: var(--white); }
@media (max-width: 800px) { .journal-sub { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Search ---------- */
.search { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 59; background: rgba(0,0,0,.35); }
.search[hidden] { display: none; }
.search-bar, .search-results { background: var(--white); padding-inline: var(--edge); }
.search-bar { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); padding-block: 18px; }
.search-bar svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 18px; background: none; color: var(--black); }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-bar button { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.search-results { max-height: calc(100svh - var(--nav-h) - 64px); overflow: auto; padding-block: 20px 32px; }
.search-hint { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-hint .label { margin-right: 6px; }
.search-hint button { border: 1px solid var(--line); padding: 7px 12px; font-size: 12px; transition: border-color .2s; }
.search-hint button:hover { border-color: var(--eerie); }
.search-group + .search-group { margin-top: 24px; }
.search-group > .label { display: block; margin-bottom: 12px; }
.search-prods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1200px) { .search-prods { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.search-prod { display: grid; gap: 8px; }
.search-prod img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--photo); }
.search-prod b { display: block; font-size: 12px; font-weight: 500; }
.search-prod small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.search-pages { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.search-pages a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.search-pages a:hover { text-decoration-color: currentColor; }
.search-none { margin: 0; color: var(--text); }
body.search-open { overflow: hidden; }
.menu button.big { display: block; width: 100%; text-align: left; font-size: 22px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .search-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } .search-bar input { font-size: 16px; } }

/* ---------- Wishlist ---------- */
.wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--eerie); transition: transform .2s, background .2s; }
.wish:hover { transform: scale(1.08); background: var(--white); }
.wish svg { width: 17px; height: 17px; }
.wish svg path, .wish-wide svg path { fill: none; }
.wish[aria-pressed="true"] svg path, .wish-wide[aria-pressed="true"] svg path { fill: currentColor; }
.wish[aria-pressed="true"] { color: #a1281e; }
.wish-wide { display: flex; align-items: center; justify-content: center; gap: 8px; }
.wish-wide svg { width: 15px; height: 15px; }
.wish-wide[aria-pressed="true"] svg { color: #a1281e; }

/* ---------- Account ---------- */
.acct { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.acct-signin { max-width: 420px; margin: 0 auto; padding-block: clamp(20px, 4vw, 48px); }
.acct-signin h1, .acct-head h1 { margin: 0 0 8px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; }
.acct-signin > p { margin: 0 0 24px; color: var(--text); }
.acct-code { font: 600 24px/1 Menlo, Consolas, monospace !important; letter-spacing: .4em; text-align: center; }
.acct-alt { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 20px; }
.acct-head p { margin: 0; color: var(--text); font-size: 13px; }
.acct-head .text-link { font-size: 12px; }
.acct-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.acct-tabs button { padding: 14px 0; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.acct-tabs button[aria-selected="true"] { color: var(--black); border-color: var(--black); }
.acct-panel { padding-top: 24px; max-width: 900px; }
.acct-empty { color: var(--text); margin: 8px 0; }
.acct-note { color: var(--text); font-size: 12px; margin: 20px 0 0; }
.acct-order { border-bottom: 1px solid var(--line); }
.acct-order:first-child { border-top: 1px solid var(--line); }
.acct-order summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; padding: 16px 0; cursor: pointer; font-size: 13px; }
.acct-order summary span { color: var(--text); }
.acct-order-body { padding: 0 0 18px; display: grid; gap: 10px; font-size: 13px; }
.acct-line { display: flex; justify-content: space-between; gap: 16px; }
.acct-line small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.acct-line.big { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 600; }
.acct-appt { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.acct-appt-date { display: grid; place-content: center; text-align: center; background: var(--tint); aspect-ratio: 1; }
.acct-appt-date b { font-size: 22px; font-weight: 500; line-height: 1; }
.acct-appt-date span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.acct-appt > div:last-child span { display: block; color: var(--text); font-size: 12px; margin-top: 3px; }
.acct-card { display: grid; gap: 6px; padding: 18px 20px; background: var(--tint); margin-bottom: 10px; font-size: 13px; }
.acct-card code { font: 600 18px/1.2 Menlo, Consolas, monospace; letter-spacing: .08em; }
.acct-card .text-link { justify-self: start; font-size: 12px; }
.acct-card.used { opacity: .55; }
.acct-details { max-width: 620px; }
.acct-details .btn { justify-self: start; }
.acct-danger { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.acct-danger p { margin: 4px 0 8px; color: var(--text); }
.acct-danger .text-link { color: #a1281e; }
.acct-wish { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .acct-wish { grid-template-columns: repeat(2, minmax(0, 1fr)); } .acct-order summary { grid-template-columns: 1fr auto; } .acct-order summary span:nth-of-type(1) { display: none; } }

/* ---------- FAQs ---------- */
.faq-search { max-width: 440px; margin: 24px auto 0; }
.faq-search input { width: 100%; border: 1px solid var(--line); padding: 13px 16px; font: inherit; font-size: 13px; outline: 0; background: var(--white); }
.faq-search input:focus { border-color: var(--eerie); }
.faq-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: clamp(56px, 7vw, 96px); }
.faq-nav { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.faq-nav a { color: var(--text); }
.faq-nav a:hover { color: var(--black); }
.faq-list { max-width: 820px; }
.faq-group { scroll-margin-top: calc(var(--nav-h) + 24px); }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group[hidden], .faq-item[hidden] { display: none; }
.faq-group h2 { margin: 0 0 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-size: 14px; font-weight: 500; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 400; font-size: 18px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 18px; color: var(--text); font-size: 13px; max-width: 68ch; }
.faq-a p { margin: 0; }
.faq-none { color: var(--text); }
@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-nav { position: static; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .faq-nav a { white-space: nowrap; border: 1px solid var(--line); padding: 8px 12px; font-size: 11px; }
}

/* ---------- Product gallery: each photo fits the window ---------- */
@media (min-width: 901px) {
  .shots figure {
    --fit-h: calc(100svh - var(--nav-h) - 48px);
    width: min(100%, calc(var(--fit-h) * 0.8));   /* 4:5 photo no taller than the window */
    margin-inline: auto;
  }
}
@media (max-width: 900px) {
  /* Tablets and phones: the swipe gallery never runs past the screen */
  .shots figure { aspect-ratio: auto; height: min(125vw, calc(100svh - var(--nav-h) - 72px)); }
  .shots img { object-position: 50% 20%; }
}

/* ---------- Collections page ---------- */
.coll-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px); padding-bottom: clamp(56px, 7vw, 96px); }
.coll-tile { display: grid; gap: 18px; color: inherit; }
.coll-tile-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--photo); }
.coll-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.coll-tile:hover .coll-tile-img img { transform: scale(1.03); }
.coll-tile-tag { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--black); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; }
.coll-tile-copy h2 { margin: 0 0 8px; font-size: clamp(20px, 2vw, 26px); font-weight: 500; }
.coll-tile-copy p { margin: 0 0 10px; color: var(--text); max-width: 52ch; }
.coll-tile-meta { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.coll-tile-copy .text-link { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 1101px) { .coll-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .coll-tiles { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1400px) { .nav .mega-links { gap: 14px; padding-top: 44px; } }
@media (max-width: 1000px) { .nav .mega-groups .mega-links { gap: 11px; } }

/* Plain-HTML product details (built pages), replaced by the full product view once the script runs */
.pdp-static-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 24px 0 64px; }
.pdp-static-body img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--photo); }
.pdp-static-body h1 { margin: 6px 0 10px; font-size: 22px; font-weight: 500; }
.pdp-static-body p { color: var(--text); }
@media (max-width: 700px) { .pdp-static-body { grid-template-columns: 1fr; } }

/* ---------- Home: client collage linking to Instagram ---------- */
.ig-wall { position: relative; display: block; overflow: hidden; background: var(--photo); }
.ig-wall > img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .4s; }
.ig-wall:hover > img { transform: scale(1.015); filter: brightness(.92); }
.ig-wall-tag { position: absolute; left: 50%; bottom: clamp(16px, 3vw, 32px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--white); color: var(--black); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.ig-wall-tag img { width: 16px; height: 16px; }
