/* ==========================================================================
   Helios — design system and page styles
   Two colours from the logo (ink, sand), one accent surface (deep sand),
   one typeface (Jost), square corners, 1px ink rules instead of shadows.
   Mobile first. Breakpoints: 768px (tablet), 1280px (desktop).
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colour — no pure white, no new hues */
  --base: #f4eee7;           /* page background: a pale tint of sand */
  --sand: #e8d9c9;
  --ink: #111111;
  --deep: #d6c2ab;           /* surfaces only, never text or buttons */
  --ink-65: rgba(17, 17, 17, 0.65); /* meta text, on sand only */
  --sand-70: rgba(232, 217, 201, 0.75);

  /* Type */
  --font: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --fs-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
  --fs-h1: clamp(2rem, 1.56rem + 1.8vw, 3rem);
  --fs-h2: clamp(1.5rem, 1.28rem + 0.9vw, 2rem);
  --fs-eyebrow: 11px;
  --fs-ui: 12px;
  --fs-body: 16px;
  --fs-small: 13px;

  /* Layout */
  --max: 1440px;
  --gutter: 20px;           /* side margin: 20 / 40 / 80 */
  --gap: 16px;              /* grid gutter */
  --section: 80px;          /* 72–96 mobile, 120–160 desktop */
  --header-h: 60px;
  --announce-h: 36px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 400ms;
}
@media (min-width: 768px) {
  :root { --gutter: 40px; --gap: 24px; --section: 104px; --fs-eyebrow: 12px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 80px; --section: 140px; --header-h: 72px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, fieldset { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--sand); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-ink :focus-visible, .on-ink:focus-visible { outline-color: var(--sand); }
[tabindex="-1"]:focus { outline: none; } /* programmatic focus targets (headings, main) */

.sr-only {
  position: absolute !important; 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: var(--gutter); top: 8px; z-index: 200;
  background: var(--ink); color: var(--sand); padding: 12px 20px;
  font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ---------- Typography ---------- */
.display, .h1, .h2 { font-weight: 300; text-transform: lowercase; line-height: 1.15; }
.display { font-size: var(--fs-display); letter-spacing: 0.12em; line-height: 1.05; }
.h1 { font-size: var(--fs-h1); letter-spacing: 0.1em; }
.h2 { font-size: var(--fs-h2); letter-spacing: 0.08em; line-height: 1.3; }
.h3 { font-size: 18px; font-weight: 400; letter-spacing: 0.06em; text-transform: lowercase; line-height: 1.4; }
.nocase { text-transform: none; }
.eyebrow {
  font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; line-height: 1.4;
}
.ui { font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.2; }
.meta { font-size: var(--fs-small); letter-spacing: 0.04em; color: var(--ink-65); }
.small { font-size: var(--fs-small); letter-spacing: 0.04em; }
.lede { font-size: 18px; line-height: 1.6; max-width: 34em; }
.prose p + p { margin-top: 1em; }
.prose { max-width: 36em; }
.prose a, .inline-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--stack, 16px); }
.rule { border: 0; border-top: 1px solid var(--ink); margin: 0; }
.surface-deep { background: var(--deep); }
.surface-sand { background: var(--sand); }
.surface-sand .input { background: var(--base); }
.surface-ink { background: var(--ink); color: var(--sand); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 16px 32px;
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--sand);
  font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1;
  text-decoration: none; text-align: center; white-space: nowrap;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), opacity 300ms var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--sand); }
.btn--sand { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn--sand:hover { background: transparent; color: var(--sand); }
.btn--sand-outline { background: transparent; color: var(--sand); border-color: var(--sand); }
.btn--sand-outline:hover { background: var(--sand); color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); color: var(--sand); }
.btn .spinner { width: 14px; height: 14px; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; padding-block: 6px;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 300ms var(--ease);
}
.text-link:hover { background-size: 100% 1px; }
.text-link--quiet { text-transform: none; letter-spacing: 0.04em; font-size: 14px; font-weight: 400; }
.u-hover { text-decoration: none; }
.u-hover:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Announcement bar ---------- */
.announce {
  height: var(--announce-h); display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--sand); padding-inline: var(--gutter);
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-align: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: var(--base); color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--ink); }
.site-header--overlay:not(.is-scrolled):not(.is-open) { background: transparent; }
.hero-dark .site-header--overlay:not(.is-scrolled):not(.is-open) { color: var(--sand); }
.hero-dark .site-header--overlay:not(.is-scrolled) :focus-visible { outline-color: var(--sand); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-link { display: inline-flex; align-items: center; color: inherit; padding: 6px 0; }
.logo-link svg { height: 21px; width: auto; overflow: visible; }
@media (min-width: 1280px) { .logo-link svg { height: 26px; } }
.logo-link .logo-mark { display: none; }
@media (max-width: 359px) {
  .logo-link .logo-lockup { display: none; }
  .logo-link .logo-mark { display: block; }
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav__links { display: none; }
@media (min-width: 1024px) {
  .nav__links { display: flex; gap: 8px; margin-right: 16px; list-style: none; padding: 0; margin-block: 0; }
}
.nav__link {
  display: inline-block; padding: 10px 12px; text-decoration: none;
  font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.nav__link span { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 4px; transition: background-size 300ms var(--ease); }
.nav__link:hover span, .nav__link[aria-current="page"] span { background-size: 100% 1px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: inherit;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.bag-count {
  position: absolute; top: 6px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--sand); border-radius: 9px;
  font-size: 10px; font-weight: 500; letter-spacing: 0;
}
.hero-dark .site-header--overlay:not(.is-scrolled):not(.is-open) .bag-count { background: var(--sand); color: var(--ink); }
.bag-count:empty, .bag-count[data-count="0"] { display: none; }
.menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.search-btn--desktop { display: none; }
@media (min-width: 1024px) { .search-btn--desktop { display: inline-flex; } }

/* Home: header overlays the hero */
.has-overlay-header .hero { margin-top: calc(var(--header-h) * -1); }

/* ---------- Overlays: mobile menu, search, bag, filters ---------- */
.overlay-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(17, 17, 17, 0.35);
  opacity: 0; transition: opacity 300ms var(--ease);
}
.overlay-backdrop.is-visible { opacity: 1; }
body.is-locked { overflow: hidden; }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--base); color: var(--ink);
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease); }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.menu__links { list-style: none; padding: 32px 0 0; margin: 0; }
.menu__links a {
  display: block; padding: 10px 0; text-decoration: none;
  font-size: clamp(2.25rem, 9vw, 3rem); font-weight: 300; letter-spacing: 0.08em; text-transform: lowercase; line-height: 1.2;
}
.menu__sub { list-style: none; padding: 24px 0 0; margin: 32px 0 0; border-top: 1px solid var(--ink); display: grid; gap: 4px; }
.menu__sub a { display: inline-block; padding: 8px 0; text-decoration: none; }
.menu__foot { margin-top: auto; padding-block: 32px; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(440px, 100%); background: var(--base); border-left: 1px solid var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform 400ms var(--ease), visibility 0s linear 400ms;
}
.drawer--left { left: 0; right: auto; border-left: 0; border-right: 1px solid var(--ink); transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; transition: transform 400ms var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); height: var(--header-h); border-bottom: 1px solid var(--ink); flex-shrink: 0; }
@media (min-width: 768px) { .drawer__head, .drawer__body, .drawer__foot { padding-inline: 32px; } }
.drawer__body { flex: 1; overflow-y: auto; padding: 24px var(--gutter); }
.drawer__foot { border-top: 1px solid var(--ink); padding: 20px var(--gutter) 24px; flex-shrink: 0; }

.search {
  position: fixed; inset: 0 0 auto 0; z-index: 90; background: var(--base); border-bottom: 1px solid var(--ink);
  max-height: 100vh; overflow-y: auto;
  transform: translateY(-100%); visibility: hidden; transition: transform 400ms var(--ease), visibility 0s linear 400ms;
}
.search.is-open { transform: none; visibility: visible; transition: transform 400ms var(--ease); }
.search__bar { display: flex; align-items: center; gap: 12px; height: calc(var(--header-h) + 24px); }
.search__input {
  flex: 1; border: 0; border-bottom: 1px solid var(--ink); background: transparent; border-radius: 0;
  padding: 10px 0; font-size: 22px; font-weight: 300; letter-spacing: 0.06em;
}
.search__input:focus { outline: none; border-bottom-width: 2px; }
.search__results { padding-block: 16px 40px; }
.search__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .search__list { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.search__item a { text-decoration: none; display: grid; gap: 8px; }

/* ---------- Bag ---------- */
.bag-line { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(17, 17, 17, 0.2); }
.bag-line:last-child { border-bottom: 0; margin-bottom: 0; }
.bag-line__img { aspect-ratio: 4 / 5; background: var(--deep); overflow: hidden; }
.bag-line__img svg, .bag-line__img img { width: 100%; height: 100%; object-fit: cover; }
.bag-line__top { display: flex; justify-content: space-between; gap: 12px; }
.bag-line__name { font-size: 15px; letter-spacing: 0.04em; text-decoration: none; }
.bag-line__actions { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); height: 36px; }
.qty button { width: 36px; height: 34px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.qty output { min-width: 28px; text-align: center; font-size: 14px; }
.remove-btn { font-size: var(--fs-small); letter-spacing: 0.04em; color: var(--ink-65); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.bag-empty { padding-block: 40px; text-align: center; display: grid; gap: 24px; justify-items: center; }
.totals { display: grid; gap: 8px; }
.totals__row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; letter-spacing: 0.04em; }
.totals__row--total { font-size: 16px; font-weight: 500; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--ink); }
.free-ship-note { font-size: var(--fs-small); letter-spacing: 0.04em; margin-bottom: 16px; }
.progress { height: 2px; background: var(--deep); margin-top: 8px; }
.progress span { display: block; height: 100%; background: var(--ink); transition: width 400ms var(--ease); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 16px);
  background: var(--ink); color: var(--sand); padding: 14px 24px;
  font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease), transform 300ms var(--ease);
  max-width: calc(100% - 40px); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--deep); }
.media > img, .media > svg { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-wide { aspect-ratio: 21 / 9; }
.caption { margin-top: 12px; }

/* ---------- Motion (fades and gentle scale), JS adds .js and .is-visible ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-media] img, .js [data-reveal-media] > svg { transform: scale(1.04); transition: transform 1200ms var(--ease); }
.js [data-reveal-media].is-visible img, .js [data-reveal-media].is-visible > svg { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal-media] img, .js [data-reveal-media] > svg { transform: none; }
}

/* ---------- Hero ---------- */
/* 21:9 banner on wide screens, never taller than the first screen, at least 560px on phones.
   Default theme is light (ink type over a sand-toned photo). Add class "hero-dark" to <body>
   for a darker photo: sand type, sand logo in the header and a dark scrim. */
.hero { position: relative; min-height: 560px; height: clamp(560px, calc(100vw * 9 / 21), calc(100svh - var(--announce-h))); color: var(--ink); background: var(--deep); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(244, 238, 231, 0.7), rgba(244, 238, 231, 0) 55%); }
@media (max-width: 767px) {
  .hero__media::after { background: linear-gradient(to top, rgba(244, 238, 231, 0.94) 0%, rgba(244, 238, 231, 0.8) 40%, rgba(244, 238, 231, 0) 70%); }
}
.hero__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(40px, 8vh, 96px); }
.hero__content .display { margin-top: 16px; }
.hero__line { margin-top: 16px; max-width: 30em; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.shop-banner .media::after, .feature-hero .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(244, 238, 231, 0.75), rgba(244, 238, 231, 0) 60%); }
@media (max-width: 767px) {
  .shop-banner .media::after, .feature-hero .media::after { background: linear-gradient(to top, rgba(244, 238, 231, 0.94) 0%, rgba(244, 238, 231, 0.8) 40%, rgba(244, 238, 231, 0) 75%); }
}

.hero-dark .hero, .hero-dark .shop-banner, .hero-dark .feature-hero { color: var(--sand); background: var(--ink); }
.hero-dark .shop-banner .media::after, .hero-dark .feature-hero .media::after { background: linear-gradient(to top, rgba(17, 17, 17, 0.55), rgba(17, 17, 17, 0) 60%); }
.hero-dark .hero__media::after { background: linear-gradient(to top, rgba(17, 17, 17, 0.55), rgba(17, 17, 17, 0) 55%), linear-gradient(to bottom, rgba(17, 17, 17, 0.35), rgba(17, 17, 17, 0) 25%); }
.hero-dark .hero .btn { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.hero-dark .hero .btn:hover { background: transparent; color: var(--sand); }
.hero-dark .hero :focus-visible { outline-color: var(--sand); }

/* ---------- Home sections ---------- */
.statement { max-width: 28em; margin-inline: auto; text-align: center; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.section-head__intro { max-width: 32em; margin-top: 12px; }
@media (min-width: 1280px) { .section-head { margin-bottom: 56px; } }

.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.product-row > * { scroll-snap-align: start; }
@media (min-width: 768px) { .product-row { grid-auto-columns: 40%; } }
@media (min-width: 1024px) { .product-row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.after-row { margin-top: 48px; text-align: center; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 768px) { .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); } }
@media (min-width: 768px) {
  .split__media { grid-column: 1 / span 6; }
  .split__copy { grid-column: 7 / span 6; }
}
@media (min-width: 1280px) {
  .split__media { grid-column: 1 / span 7; }
  .split__copy { grid-column: 9 / span 4; }
}
.split__copy > * + * { margin-top: 20px; }
@media (min-width: 768px) { .split .split__copy--wide { grid-column: 1 / span 7; } }
@media (min-width: 1280px) { .split .split__copy--wide { grid-column: 1 / span 6; } }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; border-top: 1px solid var(--ink); }

.categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (min-width: 1024px) { .categories { grid-template-columns: repeat(4, 1fr); } }
.cat-tile { position: relative; display: block; text-decoration: none; color: var(--sand); }
.cat-tile .media { aspect-ratio: 2 / 3; }
.cat-tile .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 17, 17, 0.5), rgba(17, 17, 17, 0) 50%); }
.cat-tile__label { position: absolute; left: 20px; bottom: 18px; z-index: 1; font-size: clamp(20px, 2vw, 26px); font-weight: 300; letter-spacing: 0.08em; text-transform: lowercase; }
.cat-tile .media img { transition: transform 700ms var(--ease); }
.cat-tile:hover .media img { transform: scale(1.03); }

.lookbook { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .lookbook { grid-template-columns: 1fr 1fr; } }
.lookbook .media { aspect-ratio: 4 / 5; }
.lookbook__caption { margin-top: 24px; text-align: center; }

.pillars { display: grid; gap: 40px; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: var(--gap); } }
.pillar { border-top: 1px solid var(--ink); padding-top: 24px; }
.pillar__num { display: block; margin-bottom: 16px; }
.pillar p { margin-top: 12px; max-width: 26em; }

.closing { text-align: center; }
.closing .display { margin-bottom: 40px; }

.newsletter { max-width: 640px; margin-inline: auto; text-align: center; }
.newsletter p { margin-top: 12px; }
.newsletter .inline-form { margin-top: 32px; }

/* ---------- Forms ---------- */
.inline-form { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .inline-form { flex-direction: row; align-items: flex-start; } .inline-form .field { flex: 1; } }
/* align-content: start keeps label and box fixed when a neighbouring field grows (e.g. shows an error) */
.field { display: grid; gap: 8px; text-align: left; align-content: start; }
.field label, .field .label { font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; }
.field .optional { color: var(--ink-65); letter-spacing: 0.1em; text-transform: none; font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--sand); border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  font-size: 16px; letter-spacing: 0.02em; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-65); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.textarea { min-height: 168px; resize: vertical; line-height: 1.6; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.25'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { box-shadow: inset 0 -1px 0 var(--ink); } /* thicker rule without changing size */
/* Each error keeps one line of space reserved, so showing an error never shifts the
   layout (a shift between mouse-down and mouse-up would make the click miss the button). */
.field-error { font-size: var(--fs-small); letter-spacing: 0.04em; line-height: 1.5; min-height: 1.5em; margin-top: -2px; color: var(--ink); display: flex; gap: 8px; align-items: baseline; }
.field-error:not(:empty)::before { content: "—"; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; letter-spacing: 0.02em; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.form-grid { display: grid; gap: 20px; }
.form-grid--2 { display: grid; gap: 20px 24px; align-items: start; }
@media (min-width: 560px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-status { font-size: 14px; letter-spacing: 0.02em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.on-ink .input { background: transparent; color: var(--sand); border-bottom-color: var(--sand); }
.on-ink .input::placeholder { color: var(--sand-70); }
.on-ink .field-error, .on-ink .form-status { color: var(--sand); }
.success-msg { padding-block: 24px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--ink); background: var(--sand); color: var(--ink); padding-top: clamp(64px, 8vw, 112px); }
.footer-grid { display: grid; gap: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); } }
.footer-brand { display: grid; gap: 24px; justify-items: start; }
.footer-brand svg { width: 64px; height: auto; overflow: visible; }
@media (min-width: 768px) {
  .footer-brand { grid-column: 1 / span 12; }
  .footer-cols { grid-column: 1 / span 12; }
  .footer-news { grid-column: 1 / span 12; }
}
@media (min-width: 1024px) {
  .footer-brand { grid-column: 1 / span 2; }
  .footer-cols { grid-column: 3 / span 6; }
  .footer-news { grid-column: 9 / span 4; }
}
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px var(--gap); }
@media (min-width: 560px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-col h2 { margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-col a { text-decoration: none; font-size: 14px; letter-spacing: 0.04em; display: inline-block; padding-block: 3px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-news p { margin-top: 8px; }
.footer-news .inline-form { margin-top: 20px; }
.footer-news .input { background: var(--base); }
.socials { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 24px; list-style: none; padding: 0; }
.socials a, .socials span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: inherit; }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.footer-bottom { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--ink); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--fs-small); letter-spacing: 0.04em; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Product card ---------- */
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: var(--deep); overflow: hidden; }
.card__media a { display: block; width: 100%; height: 100%; }
.card__img, .card__img-alt { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__img > svg, .card__img > img, .card__img-alt > img, .card__img-alt > svg { width: 100%; height: 100%; object-fit: cover; }
.card__img-alt { opacity: 0; transition: opacity 400ms var(--ease); }
@media (hover: hover) and (min-width: 1024px) {
  .card:hover .card__img-alt, .card:focus-within .card__img-alt { opacity: 1; }
}
.card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; pointer-events: none; background: var(--base); color: var(--ink); padding: 5px 8px 4px; line-height: 1.2; }
.card__body { padding-top: 14px; display: grid; gap: 4px; }
.card__name { font-size: 15px; letter-spacing: 0.04em; text-decoration: none; justify-self: start; }
.card__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__colour { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.swatches { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0; }
.swatch {
  width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}
.swatch span { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.25); }
.swatch[aria-pressed="true"] span, .swatch[aria-checked="true"] span, .swatch.is-selected span { box-shadow: 0 0 0 2px var(--base), 0 0 0 3px var(--ink); }
.price { font-size: var(--fs-small); letter-spacing: 0.04em; color: var(--ink-65); display: flex; gap: 8px; align-items: baseline; }
.price ins { text-decoration: none; color: var(--ink); }
.price del { color: var(--ink-65); }
.quick-add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: var(--base); border-top: 1px solid var(--ink); padding: 12px;
  transform: translateY(101%); transition: transform 400ms var(--ease);
  display: none;
}
@media (hover: hover) and (min-width: 1024px) {
  .quick-add { display: block; }
  .card:hover .quick-add, .card:focus-within .quick-add { transform: none; }
}
.quick-add__label { display: block; text-align: center; margin-bottom: 8px; font-size: 10px; }
.quick-add__sizes { display: flex; justify-content: center; gap: 4px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.size-chip {
  min-width: 40px; height: 36px; padding: 0 8px; border: 1px solid transparent;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}
.size-chip:hover:not([disabled]) { border-color: var(--ink); }
.size-chip[disabled] { color: var(--ink-65); text-decoration: line-through; cursor: not-allowed; }
.card--soldout .card__media > a { opacity: 0.6; }
.notify-link { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: none; }
@media (hover: hover) and (min-width: 1024px) {
  .notify-link { display: block; transform: translateY(101%); transition: transform 400ms var(--ease); }
  .card:hover .notify-link, .card:focus-within .notify-link { transform: none; }
  .notify-link .btn { width: 100%; }
}

/* ---------- Shop page ---------- */
/* Shop banner and About opening follow the homepage hero: light image, ink type, soft light fade.
   Add class "hero-dark" to <body> for darker photos (sand type over a dark fade). */
.shop-banner { position: relative; height: 40vh; min-height: 280px; max-height: 480px; color: var(--ink); overflow: hidden; background: var(--deep); }
.shop-banner .media { position: absolute; inset: 0; }
.shop-banner__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 40px; }
.shop-banner__content p { margin-top: 12px; max-width: 32em; }
.shop-title { padding-block: 56px 32px; }
.shop-title p { margin-top: 12px; color: var(--ink-65); max-width: 32em; }

.catbar { position: sticky; top: var(--header-h); z-index: 40; background: var(--base); border-bottom: 1px solid var(--ink); }
.catbar__list { display: flex; gap: 8px; overflow-x: auto; list-style: none; margin: 0; padding: 0; scrollbar-width: none; }
.catbar__list::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .catbar__list { gap: 24px; } }
.catbar a { display: block; padding: 18px 8px; white-space: nowrap; text-decoration: none; font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.catbar a span { padding-bottom: 4px; border-bottom: 1px solid transparent; transition: border-color 300ms var(--ease); }
.catbar a:hover span { border-bottom-color: rgba(17, 17, 17, 0.4); }
.catbar a[aria-current="page"] span { border-bottom-color: var(--ink); }
.catbar__sep { color: var(--ink-65); align-self: center; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.toolbar__right { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; justify-content: flex-end; }
.sort { display: inline-flex; align-items: center; gap: 8px; }
.sort select { border: 0; background: transparent; padding: 10px 24px 10px 4px; font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.25'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; border-radius: 0; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.filter-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gap); }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px var(--gap); } }
.editorial-break { grid-column: 1 / -1; }
.editorial-break .media { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .editorial-break .media { aspect-ratio: 21 / 9; } }
.load-more { margin-top: 64px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.empty-state { padding-block: 80px; text-align: center; display: grid; gap: 20px; justify-items: center; }

.filter-group { padding-block: 24px; border-bottom: 1px solid rgba(17, 17, 17, 0.2); }
.filter-group:first-child { padding-top: 0; }
.filter-group legend { margin-bottom: 16px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { position: relative; }
.toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle span { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; border: 1px solid rgba(17, 17, 17, 0.35); font-size: 13px; letter-spacing: 0.08em; }
.toggle input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--sand); }
.toggle input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.toggle .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.25); }
.toggle input:checked + span .dot { box-shadow: 0 0 0 1px var(--sand); }
.drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 32px; padding-top: 24px; }
@media (min-width: 1024px) { .pdp { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 40px; } }
.pdp__gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.pdp__gallery::-webkit-scrollbar { display: none; }
.pdp__gallery > * { scroll-snap-align: start; }
@media (min-width: 768px) { .pdp__gallery { grid-auto-columns: 60%; } }
@media (min-width: 1024px) {
  .pdp__gallery { grid-column: 1 / span 7; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: var(--gap); }
  .pdp__info { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.pdp__gallery .media { aspect-ratio: 4 / 5; }
.breadcrumb { font-size: var(--fs-small); letter-spacing: 0.04em; color: var(--ink-65); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.pdp__info > * + * { margin-top: 24px; }
.pdp__title { margin-top: 12px !important; }
.pdp__price { font-size: 16px; color: var(--ink); }
.pdp__price .price { font-size: 16px; color: var(--ink); }
.option-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sizes--one { grid-template-columns: 1fr; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.size-opt span { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid rgba(17, 17, 17, 0.35); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; transition: border-color 200ms var(--ease); }
.size-opt input:hover + span { border-color: var(--ink); }
.size-opt input:checked + span { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.size-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.size-opt input:disabled + span { color: var(--ink-65); text-decoration: line-through; border-style: dashed; cursor: not-allowed; }
.size-opt input:disabled { cursor: not-allowed; }
.pdp__swatches { display: flex; gap: 6px; }
.pdp__swatches .swatch { width: 40px; height: 40px; }
.pdp__swatches .swatch span { width: 24px; height: 24px; }
.accordion { border-top: 1px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--ink); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; font-weight: 300; letter-spacing: 0; }
.accordion details[open] summary::after { content: "–"; }
.accordion .accordion__body { padding-bottom: 20px; font-size: 15px; }
.accordion .accordion__body > * + * { margin-top: 12px; }
.notify-box { background: var(--deep); padding: 24px; }
.notify-box > * + * { margin-top: 12px; }
.notify-box .input { background: var(--base); }

/* ---------- About ---------- */
.feature-hero { position: relative; height: min(88svh, 900px); min-height: 480px; color: var(--ink); overflow: hidden; background: var(--deep); }
.feature-hero .media { position: absolute; inset: 0; }
.feature-hero__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(40px, 8vh, 96px); }
.feature-hero__content .display { margin-top: 16px; }
.pillar-feature { display: grid; gap: 32px; align-items: center; padding-block: 48px; border-top: 1px solid var(--ink); }
.pillar-feature:last-child { border-bottom: 1px solid var(--ink); }
@media (min-width: 768px) {
  .pillar-feature { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: 64px; }
  .pillar-feature__num { grid-column: 1 / span 1; align-self: start; }
  .pillar-feature__copy { grid-column: 2 / span 5; }
  .pillar-feature__media { grid-column: 8 / span 5; }
}
.pillar-feature__copy > * + * { margin-top: 16px; }
.pillar-feature .media { aspect-ratio: 4 / 3; }
.properties { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px var(--gap); margin-top: 48px; }
@media (min-width: 1024px) { .properties { grid-template-columns: repeat(4, 1fr); } }
.property { border-top: 1px solid var(--ink); padding-top: 20px; }
.property p { margin-top: 8px; font-size: 15px; }
.release { display: grid; gap: 32px; }
@media (min-width: 768px) { .release { grid-template-columns: repeat(3, 1fr); gap: var(--gap); } }
.release__step { padding-top: 20px; border-top: 1px solid var(--ink); }
.release__step p { margin-top: 8px; }
.signoff { text-align: center; display: grid; justify-items: center; gap: 48px; }
.signoff svg { width: 120px; height: auto; overflow: visible; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; padding-top: 48px; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gap); row-gap: 48px; padding-top: 72px; }
  .contact__intro { grid-column: 1 / span 4; grid-row: 1; }
  .contact__info { grid-column: 1 / span 4; grid-row: 2; }
  .contact__form { grid-column: 6 / span 7; grid-row: 1 / span 2; }
}
.contact__info > * + * { margin-top: 32px; }
.contact__info { padding-top: 8px; }
@media (max-width: 1023px) {
  .contact__form { order: 1; }
  .contact__info { order: 2; border-top: 1px solid var(--ink); padding-top: 40px; }
}
.info-list { display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
.info-list dt, .info-list .eyebrow { margin-bottom: 6px; }
.social-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.social-list a, .social-list span.social-item { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; text-decoration: none; }
.social-list a:hover .handle { text-decoration: underline; text-underline-offset: 3px; }
.social-list svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 0; }

/* ---------- Checkout ---------- */
.checkout { display: grid; gap: 48px; padding-block: 40px var(--section); }
.checkout__summary { order: -1; }
@media (min-width: 1024px) {
  .checkout__summary { order: 0; }
  .checkout { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 56px; }
  .checkout__form { grid-column: 1 / span 7; }
  .checkout__summary { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
.checkout__form > * + * { margin-top: 40px; }
.checkout__form fieldset > legend { margin-bottom: 20px; }
.summary { background: var(--deep); padding: 28px 24px; }
.summary > * + * { margin-top: 24px; }
.summary-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; font-size: 14px; letter-spacing: 0.02em; }
.summary-line + .summary-line { margin-top: 16px; }
.summary-line .thumb { aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; position: relative; }
.summary-line .thumb svg, .summary-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.summary-line .qty-badge { position: absolute; top: 4px; right: 4px; background: var(--ink); color: var(--sand); font-size: 10px; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.discount-form { display: flex; gap: 8px; }
.discount-form .input { background: var(--base); text-transform: uppercase; letter-spacing: 0.12em; }
.discount-form .btn { padding-inline: 20px; min-height: 52px; }
.discount-applied { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--ink); font-size: 13px; letter-spacing: 0.06em; }
.pay-note { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 12px; }
.ship-option { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--ink); font-size: 14px; }
.ship-option input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.notice { border: 1px solid var(--ink); padding: 16px 18px; font-size: 14px; letter-spacing: 0.02em; }

/* ---------- Plain content pages (help, legal, order) ---------- */
.page-head { padding-top: clamp(48px, 7vw, 96px); padding-bottom: 32px; }
.page-head p { margin-top: 16px; max-width: 36em; }
.doc { display: grid; gap: 56px; padding-bottom: var(--section); }
@media (min-width: 1024px) {
  .doc { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .doc__nav { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .doc__body { grid-column: 5 / span 7; }
  .doc__body--solo { grid-column: 1 / span 8; }
}
.doc__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.doc__nav a { text-decoration: none; display: inline-block; padding: 6px 0; }
.doc__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.doc__body section + section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--ink); }
.doc__body h2 { margin-bottom: 20px; }
.doc__body h3 { margin: 28px 0 8px; }
.doc__body p + p, .doc__body ul + p, .doc__body p + ul { margin-top: 12px; }
.doc__body ul { padding-left: 20px; }
.doc__body li + li { margin-top: 6px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; letter-spacing: 0.04em; margin-top: 16px; }
.size-table th, .size-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid rgba(17, 17, 17, 0.25); }
.size-table th { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; border-bottom-color: var(--ink); }
.table-wrap { overflow-x: auto; }
.faq details { border-bottom: 1px solid rgba(17, 17, 17, 0.25); }
.faq summary { cursor: pointer; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; }

.centered-message { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.centered-message > div { display: grid; gap: 24px; justify-items: center; max-width: 36em; }
