/* ==========================================================================
   Sensory Beanbags — a Julia Hannon original
   Single stylesheet. No frameworks, no external requests.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  color-scheme: light;

  --bg:          #FBF7F0;
  --bg-alt:      #F4EDE2;
  --surface:     #FFFFFF;
  --surface-2:   #FAF5EC;

  --ink:         #23201C;
  --ink-2:       #5C5449;
  --ink-3:       #70675B;

  --brand:       #1F5F5B;
  --brand-hover: #174A47;
  --brand-ink:   #123B39;
  --brand-soft:  #E2EFED;
  --on-brand:    #FFFFFF;   /* text/icons drawn on top of --brand */
  --panel-bg:    #1F5F5B;   /* contact panel: stays dark in both themes */
  --panel-ink:   #123B39;   /* text on the panel's white buttons */

  --accent:      #B25733;
  --accent-soft: #FAE9DF;

  --line:        #E6DCCB;
  --line-strong: #D6C8B2;

  --focus:       #0B6BCB;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(35,32,28,.06), 0 2px 8px rgba(35,32,28,.05);
  --shadow:    0 2px 6px rgba(35,32,28,.06), 0 12px 28px rgba(35,32,28,.08);

  --maxw: 1120px;
  --gut:  clamp(1rem, 0.6rem + 2vw, 2.5rem);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* Dark tokens. Applied when the device is set to dark and the visitor has not
   chosen light, or when the visitor has chosen dark. The two blocks must stay
   identical; the theme switch in the header sets data-theme on <html>. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --bg:        #171614;
    --bg-alt:    #1F1D1A;
    --surface:   #211F1C;
    --surface-2: #262320;

    --ink:       #F2EDE4;
    --ink-2:     #C3BAAC;
    --ink-3:     #9A9083;

    --brand:       #6FBFB6;
    --brand-hover: #8FD3CA;
    --brand-ink:   #BFE5E0;
    --brand-soft:  #1D3A38;
    --on-brand:    #10312F;   /* brand is light in dark mode, so this must be dark */
    --panel-bg:    #17403D;
    --panel-ink:   #123B39;

    --accent:      #E8926A;
    --accent-soft: #3A2419;

    --line:        #34302B;
    --line-strong: #453F38;

    --focus:       #7FB6F5;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow:    0 2px 6px rgba(0,0,0,.35), 0 12px 28px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;

  --bg:        #171614;
  --bg-alt:    #1F1D1A;
  --surface:   #211F1C;
  --surface-2: #262320;

  --ink:       #F2EDE4;
  --ink-2:     #C3BAAC;
  --ink-3:     #9A9083;

  --brand:       #6FBFB6;
  --brand-hover: #8FD3CA;
  --brand-ink:   #BFE5E0;
  --brand-soft:  #1D3A38;
  --on-brand:    #10312F;   /* brand is light in dark mode, so this must be dark */
  --panel-bg:    #17403D;
  --panel-ink:   #123B39;

  --accent:      #E8926A;
  --accent-soft: #3A2419;

  --line:        #34302B;
  --line-strong: #453F38;

  --focus:       #7FB6F5;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow:    0 2px 6px rgba(0,0,0,.35), 0 12px 28px rgba(0,0,0,.35);
}

/* --- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.5vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); }
h4 { font-size: 1.0625rem; }

p, li { text-wrap: pretty; }
p { margin: 0 0 1rem; }

a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--brand-hover); }

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--panel-bg); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

.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;
}

/* Inline icons in flowing text size to the text.
   :where() keeps specificity at zero so component rules (.btn svg, .trust-row svg,
   .contact-list svg, .brand svg) continue to win. */
:where(p, li, td, th, h2, h3, h4, summary) svg {
  width: 1em; height: 1em; vertical-align: -0.125em;
}

/* --- Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 760px; }

section { padding-block: clamp(2.75rem, 2rem + 3.5vw, 5rem); }
section.tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }

.band { background: var(--bg-alt); }
.band--brand { background: var(--brand-soft); }

.lede {
  font-size: clamp(1.1rem, 1.03rem + .4vw, 1.3rem);
  color: var(--ink-2);
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .75rem;
}

.section-head { max-width: 62ch; margin-bottom: 2rem; }

/* --- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--ink); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.1; margin-right: auto;
}
.brand svg { width: 30px; height: 30px; flex: none; color: var(--brand); }
.brand b { display: block; font-size: 1.075rem; }
.brand span { display: block; font-size: .72rem; font-weight: 500; color: var(--ink-3); letter-spacing: .02em; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: .5rem .9rem; font: inherit; font-size: .95rem; font-weight: 600;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--brand); }
.nav-toggle svg { width: 18px; height: 18px; }

/* Below 1080px the nav is a panel that drops below the header bar when the
   Menu button opens it. From 1080px it is a row of links in the bar itself. */
.nav { display: none; flex-basis: 100%; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; text-decoration: none; color: var(--ink-2);
  font-weight: 600; font-size: .975rem; padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand-ink); }

.nav.is-open { display: block; padding-bottom: 1rem; }
.nav.is-open .theme-switch { margin-top: 1rem; }

/* --- Theme switch ------------------------------------------------------- */
/* Light / Auto / Dark. Lives inside the nav: at the foot of the mobile menu
   with labels, and at the end of the link row on wider screens as icons only
   (each button keeps an aria-label and a title). */
.theme-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 999px; flex: none;
}
.theme-switch button {
  display: inline-flex; align-items: center; gap: .35rem;
  background: transparent; color: var(--ink-3); border: 0; border-radius: 999px;
  padding: .45rem .7rem; font: inherit; font-size: .8rem; font-weight: 600;
  line-height: 1; cursor: pointer;
}
.theme-switch button:hover { color: var(--ink); }
.theme-switch button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-ink); }
.theme-switch svg { width: 16px; height: 16px; flex: none; }
@media (min-width: 1080px) {
  .theme-switch button { padding: .45rem .55rem; }
  .theme-switch span { display: none; }
}

@media (min-width: 1080px) {
  .header-bar { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .nav { display: flex !important; align-items: center; gap: .6rem; flex-basis: auto; }
  .nav ul { display: flex; align-items: center; gap: .3rem; }
  .nav a { padding: .5rem .7rem; border: 0; border-radius: 999px; white-space: nowrap; }
  .nav a:hover { background: var(--surface); }
  .nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-ink); }
  .nav .nav-cta a {
    background: var(--brand); color: var(--on-brand); margin-left: .4rem;
  }
  .nav .nav-cta a:hover { background: var(--brand-hover); color: var(--on-brand); }
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* --- Hero --------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 1.8rem + 4vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.trust-row {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem;
  padding: 0; list-style: none;
}
.trust-row li {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem .8rem;
  font-size: .875rem; font-weight: 600; color: var(--ink-2);
}
.trust-row svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

/* --- Image placeholders ------------------------------------------------- */
/* Replace .ph blocks with real <img> tags — see CONTENT-TO-CONFIRM.md */
.ph {
  position: relative; display: grid; place-items: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 25% 15%, var(--brand-soft) 0%, transparent 60%),
    radial-gradient(110% 100% at 80% 85%, var(--accent-soft) 0%, transparent 62%),
    var(--surface-2);
  border: 1px dashed var(--line-strong);
  color: var(--ink-3);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-align: center;
  padding: 1.25rem;
}
.ph::before {
  content: "";
  position: absolute; inset: 12% 14%;
  border-radius: 46% 54% 52% 48% / 58% 46% 54% 42%;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
}
.ph span {
  position: relative; font-size: .82rem; font-weight: 600;
  letter-spacing: .02em; line-height: 1.4;
}
.ph--tall { aspect-ratio: 3 / 4; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }

/* --- Cards -------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }

.card--link { display: flex; flex-direction: column; }
.card--link .ph { margin: -1.5rem -1.5rem 1.25rem; border-radius: var(--radius) var(--radius) 0 0; border-width: 0 0 1px 0; }
.card--link .card-foot { margin-top: auto; padding-top: 1rem; }

.price {
  font-size: 1.05rem; font-weight: 700; color: var(--brand-ink);
  display: block; margin-bottom: .25rem;
}
.price small { font-weight: 500; color: var(--ink-3); font-size: .82rem; }

/* --- Feature list ------------------------------------------------------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--brand-soft);
}
/* The check glyph is masked rather than baked into the data URI, so it takes
   --brand and stays visible in both light and dark themes. */
.ticks li::after {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.15rem; height: 1.15rem;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .72rem no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .72rem no-repeat;
}

/* --- Size table --------------------------------------------------------- */
.table-scroll {
  margin-block: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; min-width: 580px; background: var(--surface); }
caption {
  text-align: left; color: var(--ink-2); font-size: .9rem;
  padding: .9rem 1rem; background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-alt); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
tbody tr:last-child td { border-bottom: 0; }
td b { color: var(--ink); }

/* Below 640px the table restacks as one card per row, so nothing important
   (the price, in particular) ends up hidden behind a sideways scroll. */
@media (max-width: 640px) {
  .table-scroll { border: 0; border-radius: 0; overflow: visible; }
  table { display: block; min-width: 0; background: transparent; }
  caption {
    display: block;                 /* a table-caption inside display:block shrink-wraps */
    background: transparent; border: 0; padding: 0 0 .9rem;
  }
  thead {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  }
  tbody, tr, td { display: block; width: 100%; }
  tr {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); margin-bottom: .9rem; overflow: hidden;
  }
  tbody tr:last-child { margin-bottom: 0; }
  td, tbody tr:last-child td { border-bottom: 0; }
  td {
    display: grid; grid-template-columns: 6.25rem 1fr;
    gap: .25rem 1rem; padding: .5rem 1rem;
  }
  td::before {
    content: attr(data-label);
    font-size: .72rem; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: var(--ink-3);
    padding-top: .12em;
  }
  td:first-child {
    display: block; background: var(--bg-alt);
    padding: .75rem 1rem; margin-bottom: .4rem;
    border-bottom: 1px solid var(--line); font-size: 1.05rem;
  }
  td:first-child::before { content: none; }
  td:last-child { padding-bottom: .85rem; }
}

/* --- Callout ------------------------------------------------------------ */
.note {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.25rem;
  margin-block: 1.5rem;
}
.note :last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }

/* --- Steps -------------------------------------------------------------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.steps li { position: relative; padding-left: 3.25rem; counter-increment: s; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 2.35rem; height: 2.35rem; border-radius: 50%;
  background: var(--brand); color: var(--on-brand);
  display: grid; place-items: center; font-weight: 700;
}
.steps h3 { margin-bottom: .2rem; }
.steps p:last-child { margin-bottom: 0; }

/* --- Quote -------------------------------------------------------------- */
blockquote.quote {
  margin: 0; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
blockquote.quote p {
  font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem);
  line-height: 1.5; color: var(--ink); font-weight: 500;
}
blockquote.quote footer { color: var(--ink-3); font-size: .95rem; font-weight: 600; }

/* A run of quotes (About page): smaller type, stacked with a gap. */
.quotes { display: grid; gap: 1rem; }
.quotes blockquote.quote p { font-size: 1.05rem; line-height: 1.55; }
.quotes blockquote.quote { padding: 1.5rem; box-shadow: none; }

/* --- Figure ------------------------------------------------------------- */
.figure { margin: 0; }
.figure figcaption { margin-top: .6rem; font-size: .875rem; color: var(--ink-3); }
.small { font-size: .875rem; color: var(--ink-3); }

/* --- FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.25rem;
  font-weight: 650; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%;
  width: .7rem; height: .7rem; margin-top: -.45rem;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.15rem; }
.faq summary:hover { background: var(--surface-2); }
.faq .faq-body { padding: 0 1.25rem 1.25rem; color: var(--ink-2); }
.faq .faq-body :last-child { margin-bottom: 0; }

/* --- Contact panel ------------------------------------------------------ */
.contact-panel {
  background: var(--panel-bg); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
}
.contact-panel h2 { color: #fff; }
.contact-panel p { color: rgba(255,255,255,.88); }
.contact-panel a.btn--ghost {
  background: transparent; border-color: rgba(255,255,255,.55); color: #fff;
}
.contact-panel a.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.contact-panel .btn--primary { background: #fff; color: var(--panel-ink); }
.contact-panel .btn--primary:hover { background: #EAF4F2; color: var(--panel-ink); }

.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.contact-list a { color: #fff; font-weight: 650; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; flex: none; margin-top: .2rem; opacity: .85; }
.contact-list small { display: block; color: rgba(255,255,255,.72); font-weight: 400; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt); border-top: 1px solid var(--line);
  padding-block: 2.5rem; margin-top: 0;
  font-size: .95rem; color: var(--ink-2);
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { color: var(--ink); margin-bottom: .75rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .875rem; color: var(--ink-3);
}


/* --- Photographs -------------------------------------------------------- */
.shot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot--wide   { aspect-ratio: 16 / 9; }
.shot--tall   { aspect-ratio: 3 / 4; }
.shot--square { aspect-ratio: 1 / 1; }

/* Cut-out product shots sit on white, so they keep a light backdrop in both
   themes rather than floating on a dark panel with a white halo. */
.shot--product { background: #f7f5f1; }
.shot--product img { object-fit: contain; }

.card--link .shot {
  margin: -1.5rem -1.5rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--line);
}

/* --- Fabric swatches ---------------------------------------------------- */
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.swatches li { text-align: center; }
.swatches img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.swatches span {
  display: block; margin-top: .5rem;
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
}

/* A tick list followed by a closing remark needs air between them. */
.ticks + p { margin-top: 1.25rem; }
