/* ==========================================================================
   ILHA — storefront styles
   Brand rules (Brand Guidelines, Clocked Creative Agency):
   · Four colours only: Near Black, Butter Yellow (lead), Soft Mint, Dusty Teal.
   · Headings: Alte Haas Grotesk, ALL CAPS, tight (negative) tracking — never spaced out.
   · Body: Helvetica, sentence case, 16px minimum. Labels never below ~13px (10pt).
   · Logo + flower mark: supplied files only, never retyped, recoloured, rotated or shadowed.
   · Never light colour on light background. Max three colours per application.
   ========================================================================== */

@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("../brand/alte-haas-grotesk-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ilha Helvetica";
  src: url("../brand/ilha-helvetica-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette — the only colours on this site */
  /* Every product photo is shot at 683 x 1000. Frames use the same shape so no head or hem is cropped. */
  --photo: 683 / 1000;
  --near-black: #272725;
  --butter: #fff2a3;
  --mint: #eef5ed;
  --teal: #85a3a3;
  --white: #ffffff;

  /* Functional aliases */
  --ink: var(--near-black);
  --line: rgba(39, 39, 37, 0.14);
  --line-strong: rgba(39, 39, 37, 0.32);
  --scrim: rgba(39, 39, 37, 0.55);

  --head: "Alte Haas Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Ilha Helvetica", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Brand asks for −110 tracking; scaled so small labels stay legible */
  --track-display: -0.075em;
  --track-head: -0.05em;
  --track-label: -0.02em;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 80px;
  --announce-h: 38px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pill: 999px;

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.15 0 0 0 0 0.14 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  --logo: url("../brand/wordmark-near-black.png");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--near-black); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--butter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--near-black); color: var(--butter); padding: 10px 16px; border-radius: var(--pill); font-family: var(--head); text-transform: uppercase; letter-spacing: var(--track-label); }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.h-display, .h1, .h2, .h3, .h4, .label, .eyebrow, .btn {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
}
.h-display { font-size: clamp(64px, 10.5vw, 168px); line-height: 0.84; letter-spacing: var(--track-display); }
.h1 { font-size: clamp(44px, 6.4vw, 104px); line-height: 0.88; letter-spacing: var(--track-display); }
.h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 0.9; letter-spacing: var(--track-display); }
.h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 0.95; letter-spacing: var(--track-head); }
.h4 { font-size: 18px; line-height: 1.05; letter-spacing: var(--track-head); }
.label, .eyebrow { font-size: 14px; line-height: 1.1; letter-spacing: var(--track-label); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow img { width: 18px; height: 18px; object-fit: contain; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 34em; }
.muted { opacity: 0.72; }

/* The brand's "the ORIGIN" device: small lowercase "the", word in caps */
.the { display: block; font-size: 0.42em; line-height: 1; letter-spacing: -0.04em; text-transform: lowercase; margin-bottom: 0.08em; }

/* Marker highlight in Butter Yellow behind text (on light grounds only) */
.mark {
  background: linear-gradient(var(--butter), var(--butter)) no-repeat 0 88% / 100% 42%;
  padding: 0 0.06em;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); position: relative; }
.section--tight { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.bg-butter { background: var(--butter); color: var(--near-black); }
.bg-mint { background: var(--mint); color: var(--near-black); }
.bg-teal { background: var(--teal); color: var(--near-black); }
.bg-ink { background: var(--near-black); color: var(--butter); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }
.section-head__text { display: grid; gap: 14px; max-width: 640px; }
.section-head p:not(.eyebrow) { max-width: 30em; }
.clip { overflow: hidden; }

/* Grainy film texture — brand imagery is grainy, warm, analogue */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image: var(--grain); background-size: 180px 180px;
  opacity: 0.16; mix-blend-mode: multiply;
}
.film img, .film video { filter: saturate(0.9) contrast(1.03) sepia(0.06); }

/* Decorative flower mark (supplied files only; never rotated) */
.flower { position: absolute; pointer-events: none; user-select: none; z-index: 0; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 28px; border-radius: var(--pill);
  font-size: 15px; line-height: 1; letter-spacing: var(--track-label);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--near-black); color: var(--butter); }
.btn--ink:hover { background: var(--teal); color: var(--near-black); }
.btn--butter { background: var(--butter); color: var(--near-black); }
.btn--butter:hover { background: var(--mint); }
.btn--line { border-color: currentColor; color: var(--near-black); }
.btn--line:hover { background: var(--near-black); color: var(--butter); border-color: var(--near-black); }
.on-dark .btn--line { color: var(--butter); }
.on-dark .btn--line:hover { background: var(--butter); color: var(--near-black); border-color: var(--butter); }
.btn--block { width: 100%; }
.btn--sm { --bh: 42px; padding: 0 20px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); text-transform: uppercase; letter-spacing: var(--track-label); font-size: 15px; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--pill); position: relative; transition: background-color .2s var(--ease); }
.icon-btn:hover { background: var(--mint); }
.icon-btn svg { width: 22px; height: 22px; }
.count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: var(--pill); background: var(--butter); color: var(--near-black);
  font: 700 12px/19px var(--head); text-align: center; letter-spacing: 0;
  box-shadow: 0 0 0 2px var(--white);
}
.count:empty, .count[data-n="0"] { display: none; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--near-black); color: var(--butter); height: var(--announce-h); position: relative; overflow: hidden; }
.announce__track { height: 100%; display: grid; place-items: center; }
.announce__msg {
  grid-area: 1 / 1; display: flex; align-items: center; gap: 10px;
  font: 700 13px/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-label);
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
  white-space: nowrap;
}
.announce__msg img { width: 14px; height: 14px; }
.announce__msg.is-on { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header__nav { display: flex; align-items: center; gap: 4px; }
.header__nav a {
  font: 700 15px/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-label);
  padding: 10px 12px;
  background: linear-gradient(var(--butter), var(--butter)) no-repeat 12px 70% / 0% 45%;
  transition: background-size .35s var(--ease);
}
.header__nav a:hover, .header__nav a[aria-current="page"] { background-size: calc(100% - 24px) 45%; }
.header__logo { display: block; justify-self: center; }
.header__logo img { width: 120px; height: auto; } /* brand minimum: 120px */
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.header__menu-btn { display: none; }

@media (max-width: 960px) {
  .header__nav { display: none; }
  .header__menu-btn { display: inline-grid; }
  .header__actions .hide-sm { display: none; }
}

/* ---------- Mobile menu ---------- */
.overlay { position: fixed; inset: 0; background: var(--scrim); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.menu {
  position: fixed; inset: 0 auto 0 0; width: min(420px, 88vw); z-index: 100;
  background: var(--butter); color: var(--near-black);
  transform: translateX(-100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; overflow: hidden;
}
.menu.is-open { transform: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.menu__top img { width: 120px; }
.menu__links { padding: 24px 24px 0; display: grid; gap: 6px; position: relative; z-index: 1; }
.menu__links a { font: 700 44px/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-display); padding: 6px 0; }
.menu__sub { padding: 28px 24px; display: grid; gap: 12px; position: relative; z-index: 1; }
.menu__sub a { font-size: 17px; }
.menu .flower { width: 300px; right: -90px; bottom: -80px; }

/* ---------- Drawers (cart, size guide) ---------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(460px, 100vw); z-index: 100;
  background: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; display: grid; gap: 14px; background: var(--white); }

.ship-meter { background: var(--mint); padding: 16px 24px; display: grid; gap: 10px; font-size: 16px; }
.ship-meter__bar { height: 6px; background: var(--white); border-radius: var(--pill); overflow: hidden; }
.ship-meter__fill { height: 100%; background: var(--teal); border-radius: var(--pill); width: 0; transition: width .6s var(--ease); }

.line-item { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-item__img { aspect-ratio: var(--photo); background: var(--mint); overflow: hidden; }
.line-item__img img { width: 100%; height: 100%; object-fit: cover; }
.line-item__top { display: flex; justify-content: space-between; gap: 12px; }
.line-item__meta { font-size: 16px; margin-top: 4px; }
.line-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.line-item__remove { font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--pill); height: 40px; }
.qty button { width: 38px; height: 100%; display: grid; place-items: center; border-radius: var(--pill); }
.qty button:hover { background: var(--mint); }
.qty button svg { width: 14px; height: 14px; }
.qty output { min-width: 26px; text-align: center; font-family: var(--head); font-size: 16px; }

.subtotal { display: flex; align-items: baseline; justify-content: space-between; }
.subtotal strong { font: 700 24px/1 var(--head); letter-spacing: var(--track-head); }
.small-note { font-size: 16px; opacity: .72; }
.subtotal--sm { font-size: 16px; }
.subtotal--off span:last-child { color: var(--near-black); font-weight: 700; }
.line-item__top s { font-weight: 400; opacity: .55; margin-right: 4px; }
.bag-code { display: flex; gap: 8px; }
.bag-code .field { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 18px; font-size: 16px; text-transform: uppercase; }
.bag-code .field::placeholder { text-transform: none; }
.bag-code .btn { flex: none; }
.bag-codes { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 0; padding: 0; list-style: none; }
.bag-codes__item { display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border: 1.5px dashed currentColor; border-radius: var(--pill); font: 700 14px/1 var(--head); letter-spacing: .02em; }
.bag-codes__item small { font: 400 13px/1 var(--body, inherit); opacity: .7; letter-spacing: 0; }
.bag-codes__item.is-waiting { opacity: .7; }
.bag-codes__item button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.bag-codes__item button:hover { background: rgba(0,0,0,.07); }
.bag-codes__item svg { width: 16px; height: 16px; }
.bag-code__msg { margin: -6px 0 0; font-size: 15px; min-height: 0; }
.bag-code__msg:empty { display: none; }
.bag-code__msg.is-bad { color: #b3261e; }

.empty { text-align: center; padding: 56px 8px; display: grid; justify-items: center; gap: 16px; }
.empty img { width: 64px; }

/* ---------- Search ---------- */
.search {
  position: fixed; inset: 0 0 auto 0; z-index: 100; background: var(--white);
  transform: translateY(-104%); transition: transform .45s var(--ease);
  max-height: 90vh; overflow-y: auto; padding-bottom: 32px;
}
.search.is-open { transform: none; }
.search__bar { display: flex; align-items: center; gap: 12px; height: 88px; border-bottom: 1.5px solid var(--near-black); }
.search__bar svg { width: 26px; height: 26px; flex: none; }
.search__bar input { flex: 1; border: 0; outline: none; background: transparent; font: 700 clamp(26px, 3.4vw, 44px)/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-head); min-width: 0; }
.search__bar input::placeholder { color: var(--near-black); opacity: .35; }
.search__hint { padding: 24px 0 12px; }
.search__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.mini-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 8px; transition: background-color .2s var(--ease); }
.mini-card:hover { background: var(--mint); }
.mini-card img { width: 64px; aspect-ratio: var(--photo); object-fit: cover; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border-radius: var(--pill); border: 1.5px solid var(--line-strong);
  font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-label);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  background: var(--white);
}
.chip:hover { border-color: var(--near-black); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--near-black); border-color: var(--near-black); color: var(--butter); }
.chip sup { font-size: 11px; opacity: .8; }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(12px, 1.6vw, 24px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.card__media { position: relative; aspect-ratio: var(--photo); overflow: hidden; background: var(--mint); }
.card__media > a { position: absolute; inset: 0; display: block; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.card__media .alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media .alt { opacity: 1; }
  .card:hover .card__media img { transform: scale(1.035); }
}
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 3; pointer-events: none; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--pill); font: 700 13px/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-label); background: var(--butter); color: var(--near-black); }
.badge--ink { background: var(--near-black); color: var(--butter); }
.badge--mint { background: var(--mint); color: var(--near-black); }
.card__wish { position: absolute; top: 8px; right: 8px; z-index: 3; width: 40px; height: 40px; border-radius: var(--pill); background: var(--white); display: grid; place-items: center; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.card__wish:hover { transform: scale(1.06); }
.card__wish svg { width: 19px; height: 19px; }
.card__wish[aria-pressed="true"] { background: var(--butter); }
.card__wish[aria-pressed="true"] svg path { fill: var(--near-black); }

.card__quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; background: var(--white); border-radius: 14px; padding: 12px; display: grid; gap: 10px; transform: translateY(calc(100% + 14px)); transition: transform .4s var(--ease); }
.card__quick .label { display: flex; justify-content: space-between; }
.card__quick-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.card__quick-sizes button { flex: 1; min-width: 40px; height: 38px; border-radius: var(--pill); border: 1.5px solid var(--line-strong); font: 700 14px/1 var(--head); transition: all .2s var(--ease); }
.card__quick-sizes button:hover { background: var(--near-black); color: var(--butter); border-color: var(--near-black); }
.card__quick-sizes button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; background: none; color: inherit; border-color: var(--line-strong); }
.line-item.is-pending .line-item__top strong { opacity: .55; }
@media (hover: hover) and (min-width: 721px) {
  .card:hover .card__quick, .card:focus-within .card__quick { transform: none; }
}
@media (hover: none), (max-width: 720px) { .card__quick { display: none; } }

.card__info { display: grid; gap: 6px; }
.card__title { font: 700 18px/1.05 var(--head); text-transform: uppercase; letter-spacing: var(--track-head); }
.card__title a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 16px; }
.price strong { font: 700 17px/1 var(--head); letter-spacing: var(--track-label); }
.price s { opacity: .6; }
.swatches { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.swatch {
  width: 24px; height: 24px; border-radius: 50%;
  background-size: 260%; background-position: 50% 42%; background-color: var(--mint);
  box-shadow: inset 0 0 0 1px rgba(39,39,37,.12); position: relative;
}
.swatch::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .2s var(--ease); }
.swatch[aria-pressed="true"]::after, .swatch:hover::after { border-color: var(--near-black); }
.swatches__more { font-size: 14px; opacity: .72; }

.card.is-sold .card__media img { filter: grayscale(.35); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(calc(100svh - var(--header-h) - var(--announce-h)), 900px); }
.hero__panel { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero__panel > *:not(.flower) { position: relative; z-index: 1; }
.hero__title { font-size: clamp(64px, 7.7vw, 136px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__panel .flower { width: clamp(180px, 19vw, 290px); right: -11%; top: -12%; }
.hero__panel .flower--sm { width: 40px; right: auto; top: auto; left: var(--gutter); bottom: 32px; }
.hero__media { display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; }
.hero__media figure { position: relative; overflow: hidden; min-height: 100%; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: drift 18s ease-in-out infinite alternate; }
.hero__media figure:nth-child(2) img { animation-delay: -9s; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translateY(-1.5%); } }
.tag {
  position: absolute; z-index: 3; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px;
  border-radius: var(--pill); background: var(--butter); color: var(--near-black);
  font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-label);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.tag span.dot { width: 28px; height: 28px; border-radius: 50%; background: var(--near-black); color: var(--butter); display: grid; place-items: center; }
.tag span.dot svg { width: 14px; height: 14px; }
.tag:hover { transform: translateY(-3px); background: var(--white); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; height: min(56svh, 520px); }
  .hero__media figure:nth-child(2) { display: none; }
  .hero__media { grid-template-columns: 1fr; }
  .hero__panel { padding-top: 44px; padding-bottom: 64px; }
  .hero__panel .flower { width: 190px; right: -64px; top: auto; bottom: -64px; }
  .hero__panel .flower--sm { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--near-black); color: var(--butter); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee__group span { font: 700 clamp(22px, 2.4vw, 34px)/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-head); white-space: nowrap; }
.marquee__group img { width: 26px; height: 26px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Mood tiles ---------- */
.moods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.mood { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.mood__img { aspect-ratio: 3 / 3.7; overflow: hidden; position: relative; }
.mood__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.2s var(--ease); }
.mood:hover .mood__img img { transform: scale(1.05); }
.mood__label { padding: 22px 22px 24px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; min-height: 140px; }
.mood__label .h3 { grid-column: 1; }
.mood__label p { grid-column: 1; font-size: 16px; }
.mood__go { grid-column: 2; grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; transition: background-color .3s var(--ease), color .3s var(--ease); }
.mood__go svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.mood:hover .mood__go svg { transform: translateX(3px); }
.mood--butter .mood__label { background: var(--butter); }
.mood--teal .mood__label { background: var(--teal); }
.mood--ink .mood__label { background: var(--near-black); color: var(--butter); }
.mood--butter:hover .mood__go, .mood--teal:hover .mood__go { background: var(--near-black); color: var(--butter); border-color: var(--near-black); }
.mood--ink:hover .mood__go { background: var(--butter); color: var(--near-black); }
@media (max-width: 860px) {
  .moods { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .moods::-webkit-scrollbar { display: none; }
  .mood { scroll-snap-align: start; }
}

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--white); border-radius: var(--pill); }
.tabs .chip { border-color: transparent; }
.tabs .chip:not([aria-selected="true"]):hover { background: var(--mint); }
.tabs .chip[aria-selected="true"] { background: var(--near-black); color: var(--butter); }
.center-cta { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 64px); }

/* ---------- Origin band ---------- */
.origin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.origin__media { position: relative; }
.origin__media figure { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.origin__media figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.origin__media .flower { width: clamp(120px, 14vw, 200px); right: -9%; top: -8%; z-index: 3; }
.origin__text { display: grid; gap: 22px; max-width: 560px; }
.origin__text p { font-size: 18px; }
.origin__sign { font: 700 clamp(22px, 2.2vw, 30px)/1.05 var(--head); text-transform: uppercase; letter-spacing: var(--track-head); }
@media (max-width: 860px) { .origin { grid-template-columns: 1fr; } .origin__media .flower { right: -4%; } }

/* ---------- Lookbook ---------- */
.look { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(10px, 1.4vw, 20px); }
.look a { position: relative; overflow: hidden; display: block; background: var(--mint); }
.look a:first-child { grid-row: span 2; }
.look img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); aspect-ratio: 4 / 5; }
.look a:first-child img { aspect-ratio: auto; position: absolute; inset: 0; }
.look a:hover img { transform: scale(1.04); }
.look .tag { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .3s; }
.look a:hover .tag, .look a:focus-visible .tag { opacity: 1; transform: none; }
@media (hover: none) { .look .tag { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .look { grid-template-columns: 1fr 1fr; }
  .look a:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 4.6; }
  .look .tag { left: 10px; bottom: 10px; font-size: 13px; padding: 8px 8px 8px 12px; }
  .look .tag .dot { display: none !important; }
}

/* ---------- Promises ---------- */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise { padding: 32px 24px; display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--line); }
.promise:first-child { border-left: 0; }
.promise__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--butter); display: grid; place-items: center; margin-bottom: 6px; }
.promise__icon svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .promises { grid-template-columns: 1fr 1fr; }
  .promise:nth-child(3) { border-left: 0; }
  .promise:nth-child(n+3) { border-top: 1px solid var(--line); }
  .promise { padding: 24px 16px; }
}

/* ---------- Newsletter ---------- */
.letters { position: relative; overflow: hidden; }
.letters__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 80px; align-items: end; }
.letters form { display: flex; gap: 10px; flex-wrap: wrap; }
.field { flex: 1 1 240px; min-height: 56px; border-radius: var(--pill); border: 1.5px solid var(--near-black); background: var(--white); padding: 0 24px; font-size: 17px; outline: none; }
.field:focus { box-shadow: 0 0 0 3px var(--near-black); }
.letters .flower--a { width: 260px; right: -96px; bottom: -132px; }
.letters .flower--b { width: 110px; left: 46%; bottom: -40px; }
.letters .flower--c { width: 46px; right: 9%; top: 36px; }
.form-msg { width: 100%; font-size: 16px; min-height: 1.5em; }
@media (max-width: 860px) {
  .letters__inner { grid-template-columns: 1fr; }
  .letters .flower--a { width: 180px; right: -70px; bottom: -90px; }
  .letters .flower--b { display: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--near-black); color: var(--mint); padding-top: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; position: relative; z-index: 1; }
.footer__brand { display: grid; gap: 20px; align-content: start; max-width: 340px; }
.footer__brand img { width: 150px; }
.footer__brand p { font-size: 17px; }
.footer h4 { color: var(--butter); margin-bottom: 16px; }
.footer li { margin: 8px 0; }
.footer li a { font-size: 16px; opacity: .9; }
.footer li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(238,245,237,.35); display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s; }
.footer__social a:hover { background: var(--butter); color: var(--near-black); border-color: var(--butter); }
.footer__social svg { width: 18px; height: 18px; }
.footer__big { position: relative; z-index: 1; margin-top: clamp(48px, 7vw, 96px); }
.footer__big img { width: 100%; height: auto; opacity: 1; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; margin-top: 28px; border-top: 1px solid rgba(238,245,237,.18); font-size: 14px; position: relative; z-index: 1; }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__pay span { border: 1px solid rgba(238,245,237,.3); border-radius: 6px; padding: 4px 8px; font: 700 12px/1.2 var(--head); text-transform: uppercase; letter-spacing: 0; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 68px; }
  /* Phones: the tab bar carries navigation, so the tall wordmark header scrolls away */
  .header { position: relative; }
  .toolbar { top: 0; }
  .buy { position: static; }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--white); border-top: 1px solid var(--line); height: 68px; padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a, .tabbar button { display: grid; justify-items: center; align-content: center; gap: 4px; font: 700 12px/1 var(--head); text-transform: uppercase; letter-spacing: 0; position: relative; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar .count { top: 6px; right: calc(50% - 22px); }
  .tabbar [aria-current="page"] { color: var(--near-black); }
  .tabbar [aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; background: var(--near-black); border-radius: 0 0 4px 4px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 24px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .45s var(--ease), opacity .3s var(--ease), visibility .45s;
  background: var(--near-black); color: var(--butter); border-radius: var(--pill); padding: 8px 8px 8px 20px;
  display: flex; align-items: center; gap: 16px;
  font: 700 15px/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-label); max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.toast .btn { --bh: 38px; padding: 0 16px; font-size: 13px; }
@media (max-width: 720px) { .toast { bottom: 84px; } }

/* ---------- Page hero (shop/origin) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); }
.page-hero__inner { position: relative; z-index: 1; display: grid; gap: 18px; }
.crumbs { display: flex; gap: 8px; font-size: 15px; flex-wrap: wrap; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero .flower { width: clamp(200px, 24vw, 360px); right: -60px; bottom: -120px; }

/* ---------- Shop toolbar ---------- */
.toolbar { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.toolbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.toolbar__group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toolbar__group .label { margin-right: 4px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; min-height: 42px; border-radius: var(--pill); border: 1.5px solid var(--line-strong); padding: 0 42px 0 18px; background: var(--white); font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-label); cursor: pointer; }
.select svg { position: absolute; right: 16px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); pointer-events: none; }
.result-count { font-size: 16px; }
.size-chip { min-width: 46px; justify-content: center; padding: 0 12px; }
@media (max-width: 720px) {
  .toolbar__inner { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .toolbar__inner::-webkit-scrollbar { display: none; }
  .toolbar__group { flex-wrap: nowrap; }
  .toolbar .result-count, .toolbar .hide-sm { display: none; }
}

.quote-tile { grid-column: span 2; background: var(--teal); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; min-height: 100%; }
.quote-tile .h2 { position: relative; z-index: 1; font-size: clamp(30px, 3.2vw, 52px); }
.quote-tile .flower { width: 220px; right: -60px; bottom: -60px; }
.quote-tile .link-arrow { position: relative; z-index: 1; align-self: flex-start; }
@media (max-width: 720px) { .quote-tile { min-height: 300px; } }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: start; padding-top: 20px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery__item { position: relative; aspect-ratio: var(--photo); overflow: hidden; background: var(--mint); cursor: zoom-in; }
.gallery__item > img, .gallery__item > video { width: 100%; height: 100%; object-fit: cover; }
.gallery__item .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.gallery__count { display: none; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .pdp > * { min-width: 0; }
  .gallery-wrap { margin: 0 calc(var(--gutter) * -1); position: relative; }
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item { scroll-snap-align: start; }
  .gallery__count { display: block; position: absolute; right: 14px; bottom: 14px; z-index: 3; background: var(--white); border-radius: var(--pill); padding: 6px 12px; font: 700 13px/1 var(--head); }
}
.buy { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 26px; padding-bottom: 24px; }
.buy__head { display: grid; gap: 14px; }
.buy__title { font-size: clamp(40px, 4.4vw, 68px); }
.buy__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 17px; }
.buy__price strong { font: 700 30px/1 var(--head); letter-spacing: var(--track-head); }
.buy__price s { opacity: .6; }
.opt { display: grid; gap: 12px; }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.opt__head .label span { font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 16px; }
.opt__swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.opt__swatches .swatch { width: 44px; height: 44px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes button { min-width: 64px; height: 50px; border-radius: var(--pill); border: 1.5px solid var(--line-strong); font: 700 16px/1 var(--head); transition: all .2s var(--ease); }
.sizes button:hover { border-color: var(--near-black); }
.sizes button[aria-pressed="true"] { background: var(--near-black); color: var(--butter); border-color: var(--near-black); }
.sizes button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.sizes.is-shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.size-msg { font-size: 16px; min-height: 1.5em; }
.buy__actions { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
@media (max-width: 420px) {
  .buy__actions { gap: 8px; }
  .buy__actions .btn { padding: 0 14px; }
  .buy__actions .btn svg { display: none; }
  .buy__actions .qty button { width: 36px; }
}
.buy__actions .qty { height: 52px; }
.buy__actions .qty button { width: 44px; }
.wish-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.wish-btn:hover { border-color: var(--near-black); }
.wish-btn[aria-pressed="true"] { background: var(--butter); border-color: var(--butter); }
.wish-btn[aria-pressed="true"] svg path { fill: var(--near-black); }
.wish-btn svg { width: 20px; height: 20px; }
.ship-note { display: flex; align-items: center; gap: 12px; background: var(--mint); padding: 14px 18px; border-radius: 14px; font-size: 16px; }
.ship-note svg { width: 22px; height: 22px; flex: none; }

.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.acc details[open] summary svg { transform: rotate(45deg); }
.acc__body { padding: 0 0 22px; display: grid; gap: 10px; font-size: 16px; }
.acc__body ul { display: grid; gap: 8px; }
.acc__body li { display: flex; gap: 10px; }
.acc__body li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--teal); }

.size-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.size-table th, .size-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.size-table th { font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-label); background: var(--mint); }

.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.promise-grid div { background: var(--mint); padding: 18px; border-radius: 14px; display: grid; gap: 6px; font-size: 16px; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: var(--white); border-top: 1px solid var(--line); padding: 10px 16px; display: none; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy__info { flex: 1; min-width: 0; }
.sticky-buy__info .card__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px; }
@media (max-width: 720px) { .sticky-buy { display: flex; bottom: 68px; } }

.lightbox { position: fixed; inset: 0; z-index: 130; background: var(--white); display: none; }
.lightbox.is-open { display: block; }
.lightbox__scroll { height: 100%; overflow-y: auto; display: grid; justify-items: center; gap: 10px; padding: 70px 0 40px; }
.lightbox__scroll img { width: min(1100px, 100%); height: auto; }
.lightbox .icon-btn { position: fixed; top: 14px; right: 14px; background: var(--butter); z-index: 2; }

/* ---------- Origin page ---------- */
.story-hero { position: relative; min-height: min(86svh, 820px); display: grid; align-items: end; color: var(--butter); overflow: hidden; }
.story-hero > figure { position: absolute; inset: 0; }
.story-hero > figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (min-width: 861px) {
  .story-hero { background: var(--near-black); }
  .story-hero > figure { inset: 0 var(--gutter) 0 auto; height: 100%; aspect-ratio: var(--photo); border-radius: 0 0 var(--arch) var(--arch); overflow: hidden; }
  .story-hero > figure::before { display: none; }
  .story-hero__inner { align-self: center; }
}
.story-hero > figure::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(39,39,37,0) 35%, rgba(39,39,37,.72) 100%); }
.story-hero__inner { position: relative; z-index: 3; padding-bottom: clamp(40px, 6vw, 80px); display: grid; gap: 18px; }
.story-hero .h-display { color: var(--butter); }
.story-hero .lede { color: var(--mint); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.pillar { padding: clamp(28px, 3vw, 44px); display: grid; gap: 16px; align-content: start; min-height: 320px; position: relative; overflow: hidden; }
.pillar p { font-size: 17px; position: relative; z-index: 1; }
.pillar .h3 { position: relative; z-index: 1; }
.pillar .flower { width: 150px; right: -40px; bottom: -40px; }
.pillar--butter { background: var(--butter); }
.pillar--mint { background: var(--mint); }
.pillar--teal { background: var(--teal); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split figure { aspect-ratio: var(--photo); overflow: hidden; width: min(100%, 500px); justify-self: center; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split__text { display: grid; gap: 20px; max-width: 560px; }
.split__text p { font-size: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev figure { order: -1; } }
.big-quote { text-align: center; display: grid; justify-items: center; gap: 28px; }
.big-quote .h1 { max-width: 15ch; }
.big-quote img { width: 56px; }
.voice-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Help page (shipping, returns, size guide, FAQs, custom, contact, policies) ---------- */
.help { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 112px); background: var(--mint); }
.help .wrap { max-width: 880px; }
.help__nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 40px; }
.help__nav a { padding: 10px 16px; border-radius: var(--pill); box-shadow: inset 0 0 0 1.5px var(--line-strong); font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: var(--track-label); }
.help__nav a:hover { box-shadow: inset 0 0 0 1.5px var(--near-black); }
.help__nav a[aria-current="page"] { background: var(--near-black); color: var(--butter); box-shadow: none; }
.help__doc { display: grid; gap: 16px; font-size: 17px; line-height: 1.6; }
.help__doc[hidden] { display: none; }
.help__doc h3 { margin-top: 16px; }
.help__doc ul, .help__doc ol { padding-left: 1.2em; display: grid; gap: 6px; }
.help__doc ul { list-style: disc; }
.help__doc ol { list-style: decimal; }
.help__doc a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.help__table { display: grid; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.help__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.help__row--head { border-top: 0; background: var(--near-black); color: var(--butter); font: 700 13px/1.2 var(--head); text-transform: uppercase; }
.help details { background: var(--white); border-radius: 14px; padding: 16px 20px; }
.help summary { cursor: pointer; font-weight: 700; }
.help details p { margin-top: 8px; }
.help__contact { list-style: none !important; padding: 0 !important; }
.help__contact li { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.help__contact .label { min-width: 110px; }
.help__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; padding: 24px; border-radius: 20px; background: var(--white); }
.help__full { grid-column: 1 / -1; }
.help__field { display: grid; gap: 6px; font-size: 15px; }
.help__field input, .help__field textarea { width: 100%; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; background: var(--white); }
.help__field input:focus, .help__field textarea:focus { outline: none; border-color: var(--near-black); box-shadow: 0 0 0 3px var(--butter); }
.help__policy { display: grid; gap: 12px; }
.help__body { display: grid; gap: 16px; }
.help__body h3, .help__body h4 { margin-top: 16px; }
.help__body .table-scroll { border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.table-scroll { overflow-x: auto; }
.size-guide { display: grid; gap: 22px; align-content: start; }
.size-guide h3 { font: 700 18px/1.2 var(--head); text-transform: uppercase; }
.buy__line { display: grid; gap: 10px; }
.buy__line ul, .buy__line ol { padding-left: 1.2em; list-style: disc; display: grid; gap: 4px; }
/* Shown only when Shopify could not be reached */
.shop-offline { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: center; margin: 16px auto; padding: 14px 20px; max-width: 640px; border-radius: 16px; background: var(--butter); text-align: center; }
.help__policy h1, .help__policy h2, .help__policy h3 { font: 700 20px/1.2 var(--head); text-transform: uppercase; margin-top: 12px; }
@media (max-width: 640px) {
  .help__form { grid-template-columns: 1fr; padding: 18px; }
  .help__row { font-size: 14px; padding: 12px 14px; }
}
