/* ==========================================================================
   Strange Forms: design system
   Palette taken from the product: ivory (sherpa reverse), near-black green
   (print ground), one oxide accent for small labels. Each product page
   supplies its own --g (ground), --i (ink on ground), --a (accent), --l (line).
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-italic-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #efebe3;
  --paper: #f7f4ee;
  --ink: #1d231f;
  --ink-2: #4a514c;
  --rule: #cfc8bb;
  --oxide: #87472a;

  --g: #232a25;
  --i: #ece7dc;
  --a: #7fb596;
  --l: rgba(236, 231, 220, .18);

  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 82rem;
  --space: clamp(4rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 380; line-height: 1.08; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--oxide); outline-offset: 3px; border-radius: 2px; }
table { border-collapse: collapse; width: 100%; }
code { font-size: .9em; }

.visually-hidden {
  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 {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--ink); color: var(--bg); padding: .7rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ── Type roles ────────────────────────────────────────────────────────── */
.eyebrow, .label {
  font: 600 .72rem/1.3 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--oxide);
  margin: 0 0 1.1rem;
}
.display {
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  font-weight: 340;
  letter-spacing: -.015em;
  line-height: 1.02;
  margin-bottom: 1.5rem;
}
.h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding: .9rem 0; border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: '→'; font-size: 1.1em; letter-spacing: 0; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(.35rem); }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 2rem; padding: 1.1rem var(--gutter);
  max-width: var(--max); margin: 0 auto;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 420 1.2rem/1 var(--serif); letter-spacing: .01em; text-decoration: none;
}
.mark { width: 1.9rem; height: 1.9rem; }
.mark--lg { width: 3rem; height: 3rem; }
.site-header ul { display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a {
  font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; padding: .6rem 0; display: inline-block; border-bottom: 1px solid transparent;
}
.site-header nav a:hover, .site-header nav a[aria-current='page'] { border-bottom-color: currentColor; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.4rem; padding: 1rem 1.7rem; margin: 0;
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; transition: background .25s, color .25s, border-color .25s;
}
.btn svg { width: 1rem; height: 1rem; flex: none; }
a.btn:hover { background: var(--oxide); border-color: var(--oxide); }
.btn--light { background: var(--i); color: var(--g); border-color: var(--i); }
a.btn--light:hover { background: transparent; color: var(--i); }
/* Not a control: styled so it cannot be mistaken for a button. */
.btn.btn--unavailable, .pdp--dark .pdp__panel .btn.btn--unavailable, .closer .btn.btn--unavailable {
  background: transparent; color: inherit; border: 1px dashed currentColor; cursor: default;
  text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .95rem;
}
.btn--missing {
  background: repeating-linear-gradient(-45deg, #fff3ef 0 8px, #fde3da 8px 16px);
  color: #9b1c00; border: 2px dashed #c0350f; flex-direction: column; gap: .35rem; cursor: not-allowed;
}
.btn--missing small { font: 400 .75rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; }

/* ── Images and placeholders ───────────────────────────────────────────── */
.placeholder {
  display: grid; place-content: center; gap: .3rem; text-align: center; width: 100%;
  border: 2px dashed #c0350f; color: #9b1c00; padding: 1rem;
  background: repeating-linear-gradient(-45deg, rgba(192, 53, 15, .05) 0 10px, rgba(192, 53, 15, .1) 10px 20px), var(--paper);
}
.placeholder span { font: 600 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.placeholder small { font-size: .85rem; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) var(--space);
  max-width: var(--max); margin: 0 auto;
  text-align: center;
  isolation: isolate;
  background: var(--bg); /* the multiply blend needs an opaque backdrop inside the isolated group */
}
/* Explicit column on every item: auto-placement would otherwise add columns beside the image. */
.hero > *, .hero__word { grid-column: 1; }
.hero__eyebrow { grid-row: 1; margin-bottom: 1rem; }
.hero__title { display: contents; }
.hero__word {
  font-weight: 320; letter-spacing: -.04em; line-height: .8;
  font-size: clamp(4.2rem, 21vw, 15.5rem);
  z-index: 0; position: relative;
  animation: word-in 1.4s var(--ease) both;
}
.hero__word--a { grid-row: 2; justify-self: start; margin-left: -.04em; }
.hero__word--b { grid-row: 4; justify-self: end; font-style: italic; animation-delay: .15s; }
.hero__stage {
  grid-row: 2 / 5; grid-column: 1; align-self: center;
  width: min(82vw, 34rem); z-index: 1;
  margin: clamp(2.6rem, 11vw, 7.5rem) 0;
  mix-blend-mode: multiply;
  animation: stage-in 1.6s var(--ease) both;
}
.hero__facts {
  grid-row: 5; list-style: none; padding: 0; margin: 1.2rem 0 0;
  font: 600 .7rem/1.9 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
.hero__facts--r { grid-row: 6; margin-top: .2rem; }
.hero__foot { grid-row: 7; max-width: 34rem; margin-top: 2.2rem; }
.hero__lede { font: italic 360 clamp(1.15rem, 2.3vw, 1.45rem)/1.45 var(--serif); color: var(--ink-2); margin-bottom: 1.4rem; }

@media (min-width: 60rem) {
  .hero { grid-template-columns: 1fr minmax(0, 34rem) 1fr; column-gap: 2rem; }
  .hero__eyebrow { grid-column: 1 / -1; }
  .hero__word { grid-column: 1 / -1; }
  .hero__stage { grid-column: 2; width: 100%; margin: 5.2rem 0; }
  .hero__facts { grid-row: 3; align-self: center; margin: 0; }
  .hero__facts--l { grid-column: 1; justify-self: start; text-align: left; }
  .hero__facts--r { grid-column: 3; justify-self: end; text-align: right; }
  .hero__foot { grid-column: 1 / -1; }
}

/* Motion only, never opacity: the hero image is the LCP element and must be
   visible from the first frame even if animations are delayed or throttled. */
@keyframes word-in { from { letter-spacing: .03em; } }
@keyframes stage-in { from { transform: translateY(2rem) scale(.96); } }

/* ── Intro ─────────────────────────────────────────────────────────────── */
.intro {
  max-width: 44rem; margin: 0 auto; padding: 0 var(--gutter) var(--space); text-align: center;
}
.intro p:not(.eyebrow) { font: 360 clamp(1.15rem, 2vw, 1.35rem)/1.6 var(--serif); }
.intro::before {
  content: ''; display: block; width: 1px; height: 4rem; margin: 0 auto 2.5rem; background: var(--rule);
}

/* ── Section heads ─────────────────────────────────────────────────────── */
.section-head { text-align: center; padding: 0 var(--gutter) clamp(2.5rem, 6vw, 5rem); }
.section-head .display { margin-bottom: .8rem; }
.section-head__count { font: 500 .8rem/1 var(--sans); letter-spacing: .3em; color: var(--ink-2); }

/* ── Feature compositions (home) ───────────────────────────────────────── */
.feature { position: relative; padding: var(--space) var(--gutter); }
.feature__num { font: 400 .8rem/1 var(--sans); letter-spacing: .3em; margin-bottom: 2rem; opacity: .8; }
.feature__name { font-size: clamp(3.2rem, 9vw, 7rem); font-weight: 320; letter-spacing: -.03em; line-height: .9; }
.feature__type { font: 600 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin: 1rem 0 1.6rem; opacity: .8; }
.feature__summary { font: italic 360 clamp(1.15rem, 2vw, 1.4rem)/1.45 var(--serif); max-width: 28rem; margin-bottom: 1.8rem; }
.feature .palette { margin-bottom: 2rem; }

/* band: full-bleed in the product's own colour, giant outline name behind */
.feature--band { background: var(--g); color: var(--i); overflow: hidden; display: grid; gap: 3rem; }
.feature--band :focus-visible { outline-color: var(--a); }
.feature__ghost {
  position: absolute; left: -.06em; bottom: -.2em; margin: 0; pointer-events: none; z-index: 0;
  font: italic 300 clamp(8rem, 30vw, 26rem)/1 var(--serif); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px var(--l);
}
.feature--band .feature__body, .feature--band .feature__media { position: relative; z-index: 1; }
.feature--band .feature__media img { width: 100%; }
@media (min-width: 60rem) {
  .feature--band {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 5rem;
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-right: 0;
  }
}

/* split: offset image left, text right */
.feature--split, .feature--centre { max-width: var(--max); margin: 0 auto; display: grid; gap: 2.5rem; }
.feature--split .feature__media { background: var(--g); padding: clamp(1rem, 4vw, 3.5rem); }
@media (min-width: 60rem) {
  .feature--split { grid-template-columns: 7fr 5fr; align-items: end; gap: 5rem; }
  .feature--split .feature__media { margin-top: -3rem; }
}

/* centre: symmetrical, Seedlip-like */
.feature--centre { justify-items: center; text-align: center; border-top: 1px solid var(--rule); }
.feature--centre .feature__media { width: min(100%, 30rem); }
.feature--centre .feature__summary { margin-inline: auto; }
.feature--centre .palette { justify-content: center; }

/* palette chips */
.palette { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 0; font: 500 .8rem/1 var(--sans); }
.palette li { display: inline-flex; align-items: center; gap: .5rem; }
.palette__chip { width: 1.1rem; height: 1.1rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .45); }

/* ── The blanket (shared spec) ─────────────────────────────────────────── */
.blanket {
  max-width: var(--max); margin: 0 auto; padding: var(--space) var(--gutter);
  display: grid; gap: 3rem; align-items: start;
}
.blanket__text > p:not(.eyebrow) { font-size: 1.125rem; max-width: 36rem; margin-bottom: 2.5rem; }
.blanket__text h3 { font-size: 1.5rem; margin: 3rem 0 1rem; }
.blanket__figure { margin: 0; background: var(--bg); }
.blanket__figure img { mix-blend-mode: multiply; }
.blanket__figure figcaption { font-size: .85rem; color: var(--ink-2); margin-top: .8rem; }
@media (min-width: 60rem) {
  .blanket { grid-template-columns: 6fr 5fr; gap: 6rem; }
  .blanket__figure { position: sticky; top: 2rem; }
}

.spec th, .spec td { text-align: left; vertical-align: top; padding: .95rem 0; border-top: 1px solid var(--rule); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--rule); }
.spec th { width: 34%; padding-right: 1.5rem; font: 600 .72rem/1.9 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }

.care { list-style: none; padding: 0; margin: 0; }
.care li { padding: .55rem 0 .55rem 1.6rem; position: relative; }
.care li::before { content: ''; position: absolute; left: 0; top: 1.15rem; width: .8rem; border-top: 1.5px dashed currentColor; }

/* ── Sizes ─────────────────────────────────────────────────────────────── */
.sizes { max-width: var(--max); margin: 0 auto; padding: var(--space) var(--gutter); border-top: 1px solid var(--rule); }
.sizes__lede { max-width: 36rem; color: var(--ink-2); margin-bottom: 3rem; }
.sizes__diagram { display: flex; align-items: flex-end; gap: clamp(.75rem, 3vw, 2.5rem); max-width: 46rem; }
.sizes__rect {
  flex: var(--w) 1 0; aspect-ratio: var(--w) / var(--h);
  border: 1.5px dashed var(--ink); display: grid; place-items: center;
  font: 500 clamp(.65rem, 1.6vw, .85rem)/1 var(--sans); letter-spacing: .08em;
  background: var(--paper);
}
.sizes__note { font-size: .82rem; color: var(--ink-2); margin: 1rem 0 2.5rem; }
.sizes__table th, .sizes__table td { text-align: left; vertical-align: top; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--rule); }
.sizes__table thead th { font: 600 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--ink); }
.sizes__table tbody th { font: 400 1.1rem/1.3 var(--serif); }
.sizes__table td:nth-child(2), .sizes__table td:nth-child(3) { white-space: nowrap; }
@media (max-width: 40rem) {
  .sizes__table thead { display: none; }
  .sizes__table tr { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  .sizes__table th, .sizes__table td { border: 0; padding: 0; }
  .sizes__table tbody th { grid-row: span 2; }
  .sizes__table td:nth-child(4) { grid-column: 1 / -1; color: var(--ink-2); font-size: .95rem; padding-top: .3rem; }
}

/* ── Info columns ──────────────────────────────────────────────────────── */
.info { max-width: var(--max); margin: 0 auto; padding: var(--space) var(--gutter); display: grid; gap: 3rem; border-top: 1px solid var(--rule); }
@media (min-width: 52rem) { .info { grid-template-columns: repeat(3, 1fr); } }

/* ── Questions ─────────────────────────────────────────────────────────── */
.questions { max-width: 52rem; margin: 0 auto; padding: var(--space) var(--gutter); }
.qa__item { border-top: 1px solid var(--rule); padding: 1.6rem 0; display: grid; gap: .6rem; }
.qa__item:last-child { border-bottom: 1px solid var(--rule); }
.qa__item h3 { font-size: 1.3rem; font-weight: 420; }
.qa__item p { color: var(--ink-2); max-width: 40rem; }
@media (min-width: 52rem) { .qa__item { grid-template-columns: 2fr 3fr; gap: 2rem; } }

/* ── Choose ────────────────────────────────────────────────────────────── */
.choose { padding: var(--space) var(--gutter); text-align: center; background: var(--paper); }
.choose__list { list-style: none; padding: 0; margin: 3rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem clamp(2rem, 6vw, 5rem); }
.choose__item { display: grid; justify-items: center; gap: .4rem; text-decoration: none; }
.choose__swatch {
  width: 8.5rem; height: 8.5rem; border-radius: 50%; overflow: hidden; background: var(--g);
  margin-bottom: 1rem; box-shadow: 0 0 0 1px var(--rule); transition: transform .4s var(--ease);
}
.choose__swatch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); }
.choose__item:hover .choose__swatch { transform: scale(1.05); }
.choose__name { font: 380 1.6rem/1 var(--serif); }
.choose__type { font: 600 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }

/* ── Product page ──────────────────────────────────────────────────────── */
.crumbs { max-width: var(--max); margin: 0 auto; padding: .5rem var(--gutter) 1.5rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin-right: .5rem; opacity: .6; }

.pdp { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) var(--space); display: grid; gap: 2rem; align-items: start; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: .75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.gallery figure { margin: 0; scroll-snap-align: start; background: #fff; }
@media (min-width: 60rem) {
  .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
  .gallery { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 1rem; }
  .gallery__main { grid-column: 1 / -1; }
  .pdp__panel { position: sticky; top: 1.5rem; }
}
.pdp__panel { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--paper); }
.pdp--dark .pdp__panel { background: var(--g); color: var(--i); }
.pdp--dark .pdp__panel .eyebrow, .pdp--dark .pdp__panel .label { color: var(--a); }
.pdp--dark .pdp__panel :focus-visible { outline-color: var(--a); }
.pdp--dark .pdp__panel .btn { background: var(--i); color: var(--g); border-color: var(--i); }
.pdp--dark .pdp__panel a.btn:hover { background: transparent; color: var(--i); }
.pdp__title { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.pdp__name { font-size: clamp(3.2rem, 7vw, 5.5rem); font-weight: 320; letter-spacing: -.03em; line-height: .9; }
.pdp__type { font: 600 .75rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.pdp__intro { font: 360 1.15rem/1.6 var(--serif); margin-bottom: 1.8rem; }
.keyfacts { margin: 0 0 1.6rem; border-top: 1px solid currentColor; }
.keyfacts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(127, 127, 127, .35); }
.keyfacts dt { font: 600 .7rem/1.8 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.keyfacts dd { margin: 0; font-size: .95rem; }
.price { font-size: .95rem; margin-bottom: 1.4rem; }
.price .label { display: block; margin-bottom: .4rem; }
.price strong { font: 400 1.6rem/1 var(--serif); }
.pdp__panel .btn { width: 100%; }
.pdp__note { font-size: .82rem; margin-top: 1rem; }

.pattern { position: relative; overflow: hidden; background: var(--g); color: var(--i); padding: var(--space) var(--gutter); }
.pattern .eyebrow { color: var(--a); }
.pattern__ghost {
  position: absolute; right: -.08em; top: 50%; transform: translateY(-50%); margin: 0; pointer-events: none;
  font: italic 300 clamp(9rem, 34vw, 30rem)/1 var(--serif); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px var(--l);
}
.pattern { display: grid; gap: 3rem; align-items: center; }
.pattern__text { position: relative; max-width: 40rem; }
.pattern__detail { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 50%; max-width: 30rem; width: 100%; justify-self: center; }
.pattern__detail img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.4); transform-origin: 38% 30%; }
@media (min-width: 60rem) {
  .pattern { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5rem;
    padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
}
.pattern__text > p:not(.eyebrow) { font: 360 clamp(1.1rem, 1.8vw, 1.3rem)/1.65 var(--serif); }
.pattern .palette { margin-top: 2.5rem; }
.pattern__colour { font-size: .95rem !important; font-family: var(--sans) !important; }

.section-split { max-width: var(--max); margin: 0 auto; padding: var(--space) var(--gutter); display: grid; gap: 2.5rem; }
.section-split p { max-width: 34rem; font-size: 1.1rem; }
@media (min-width: 60rem) { .section-split { grid-template-columns: 1fr 1fr; gap: 6rem; } }

.closer { background: var(--g); color: var(--i); text-align: center; padding: var(--space) var(--gutter); display: grid; justify-items: center; gap: .5rem; }
.closer p { opacity: .85; margin-bottom: 2rem; }
.closer :focus-visible { outline-color: var(--a); }

.others { max-width: var(--max); margin: 0 auto; padding: 3.5rem var(--gutter); }
.others ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem 3rem; }
.others a { display: inline-flex; align-items: center; gap: .8rem; font: 380 1.3rem/1.2 var(--serif); }
.others__chip { width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--g); box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .4); }

.notfound { max-width: 40rem; margin: 0 auto; padding: var(--space) var(--gutter); text-align: center; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: var(--bg);
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) 2rem;
  display: grid; gap: 2.5rem;
}
.site-footer .label { color: #c9a48c; }
.site-footer :focus-visible { outline-color: #c9a48c; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer p { font-size: .92rem; max-width: 24rem; opacity: .85; }
.site-footer__name { font: 400 1.6rem/1 var(--serif) !important; opacity: 1 !important; margin: 1rem 0 .4rem; }
.site-footer__legal { grid-column: 1 / -1; border-top: 1px solid rgba(239, 235, 227, .18); padding-top: 1.5rem; font-size: .8rem !important; }
@media (min-width: 52rem) {
  .site-footer { grid-template-columns: 2fr 1.5fr 1.5fr; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
}

/* ── Dev-only markers (never present in production output) ─────────────── */
.dev-flag {
  display: inline-block; background: #fde3da; color: #9b1c00; border: 1px dashed #c0350f;
  font: 500 .78rem/1.4 var(--sans); padding: .15rem .45rem; margin: .3rem 0;
}
.dev-issues { margin-top: 1.5rem; padding: 1rem 1.2rem; background: #fff3ef; color: #6d1500; border: 1px dashed #c0350f; font-size: .82rem; text-align: left; }
.dev-issues ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.devbar {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50; max-width: min(26rem, calc(100vw - 2rem));
  background: #fff3ef; color: #6d1500; border: 2px solid #c0350f; font-size: .8rem; box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
}
.devbar summary { cursor: pointer; padding: .6rem .9rem; font-weight: 600; letter-spacing: .08em; }
.devbar ul { max-height: 50vh; overflow: auto; margin: 0; padding: 0 1rem 0 2rem; }
.devbar p { padding: .6rem .9rem; margin: 0; }

/* ── Scroll reveal (only below-the-fold elements; see site.js) ─────────── */
.reveal.is-pending { opacity: 0; transform: translateY(1.75rem); }
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}

@media print {
  .site-header nav, .devbar, .choose, .others { display: none; }
  .pattern, .closer, .feature--band, .pdp--dark .pdp__panel { background: none; color: #000; }
}
