/* Hutcha — public site
   Faithful static implementation of the approved Home.dc.html design
   (b2b-commercial-furniture/recovered/Home.dc.html). All colour, type and
   spacing values are carried over from that source unchanged; this file adds
   only the hover/focus states it declared as attributes, and responsive
   behaviour the design-canvas version did not have. */

:root {
  --ivory: #F5F1EA;
  --ivory-deep: #EAE4D8;
  --ink: #1C1A17;
  --olive: #44523F;
  --moss: #2A3327;        /* dark compliance band */
  --parchment: #EFEBE2;   /* light text on moss */
  --sage: #A8B59D;        /* kicker on moss */
  --pad-x: 48px;
}

* { box-sizing: border-box; }

/* Sticky nav is ~72-90px tall depending on breakpoint; without this every
   in-page anchor (#segments, #collections, #contact) and cross-page anchor
   (index.html#segments from other pages) lands its target flush under the
   nav, hiding the heading it just jumped to — reads as the scroll overshot. */
html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--olive); }
::selection { background: var(--olive); color: var(--ivory); }

h1, h2, h3 { margin: 0; }

/* ---------- shared ---------- */

.kicker {
  margin: 0 0 24px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--olive);
}

.kicker-light { color: var(--sage); }

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
}

.btn-dark { background: var(--ink); color: var(--ivory); border: none; }
.btn-dark:hover { background: var(--olive); color: var(--ivory); }

.btn-outline { border: 1px solid rgba(28,26,23,0.25); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

.btn-ghost-light {
  margin-top: 36px;
  padding: 15px 30px;
  border: 1px solid rgba(239,235,226,0.4);
  color: var(--parchment);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.btn-ghost-light:hover {
  border-color: var(--parchment);
  background: rgba(239,235,226,0.08);
  color: var(--parchment);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.01em;
}

.section-note {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(28,26,23,0.5);
}

/* Shared frame for live photography and remaining subpage placeholders. */
.img-slot {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(28,26,23,0.045) 0%, rgba(28,26,23,0.09) 100%),
    var(--ivory-deep);
  border: 1px solid rgba(28,26,23,0.1);
}

.img-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-slot span {
  padding: 24px;
  max-width: 320px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28,26,23,0.4);
  line-height: 1.6;
}

.img-slot .image-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: none;
  padding: 9px 12px;
  background: rgba(28,26,23,0.82);
  color: var(--ivory);
  border-radius: 2px;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-align: left;
  backdrop-filter: blur(6px);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px var(--pad-x);
  background: rgba(245,241,234,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28,26,23,0.08);
}

/* The brand is the drawn lockup (brand/logo/hutcha-lockup-horizontal.svg),
   not live text. The serif rules below still apply to the img's alt text, so a
   failed or blocked SVG falls back to the wordmark as it was set before.

   Height, not width: 22px of lockup puts the wordmark's ink at 20.9px, which is
   what 26px Instrument Serif gave here — the word keeps the size it always had
   and the mark is what's new. The lockup carries its own 0.01em tracking. */
.nav-brand {
  display: flex;
  align-items: center;
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  letter-spacing: 0.01em;
  transition: opacity 0.18s ease;
}

.nav-brand img {
  display: block;
  height: 22px;
  width: auto;
}

.nav-brand:hover { opacity: 0.68; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Which page you're on, independent of the CTA button's own styling. */
.nav-links a[aria-current="page"]:not(.nav-cta) {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-cta {
  padding: 12px 24px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 2px;
}
.nav-links a.nav-cta:hover { background: var(--olive); color: var(--ivory); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* The transition above existed with nothing driving it — .open was never
   applied to the toggle, only to .nav-links, so the icon never animated
   into an X. site.js now sets this class alongside aria-expanded. */
.nav-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  padding: 0 0 72px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-stage {
  position: relative;
  min-height: clamp(620px, 72vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18,16,13,0.6) 0%, rgba(18,16,13,0.34) 42%, rgba(18,16,13,0.05) 72%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 780px);
  padding: 96px var(--pad-x);
}

.hero .kicker {
  margin-bottom: 28px;
  color: var(--sage);
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--parchment);
}

.hero-lede {
  margin: 36px 0 0;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(239,235,226,0.78);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stage .btn-dark {
  background: var(--parchment);
  border-color: var(--parchment);
  color: var(--ink);
}

.hero-stage .btn-dark:hover {
  background: var(--sage);
  border-color: var(--sage);
}

.hero-stage .btn-outline {
  border-color: rgba(239,235,226,0.72);
  color: var(--parchment);
}

.hero-stage .btn-outline:hover {
  background: rgba(239,235,226,0.12);
  border-color: var(--parchment);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image .img-slot { border: none; }

.hero-image img {
  object-position: center center;
}

.hero-props {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  padding: 56px var(--pad-x) 0;
}

.hero-props p {
  margin: 0;
  max-width: 260px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(28,26,23,0.65);
}

.hero-props strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}

/* ---------- segments ---------- */

.segments {
  padding: 90px var(--pad-x) 110px;
  border-top: 1px solid rgba(28,26,23,0.1);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.segment-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.segment-image { height: 380px; }

.segment-index {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--olive);
}

.segment-card h3 {
  margin: 0 0 10px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 28px;
}

.segment-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(28,26,23,0.65);
}

.segments-lede {
  margin: -16px 0 48px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(28,26,23,0.65);
}

.segments-group {
  margin: 0 0 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(28,26,23,0.14);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(28,26,23,0.5);
}

.segments-grid + .segments-group { margin-top: 84px; }

/* ---------- collections ---------- */

.collections { padding: 110px var(--pad-x); }

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.collection-image { height: 420px; }

.collection-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.collection-name {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
}

.collection-tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28,26,23,0.5);
}

.collections-foot {
  margin: 40px 0 0;
  font-size: 15px;
  color: rgba(28,26,23,0.6);
}

.collections-foot a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- for specifiers ---------- */

.specifiers {
  padding: 110px var(--pad-x);
  border-top: 1px solid rgba(28,26,23,0.1);
}

.specifiers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1240px;
  margin: 0 auto;
}

.specifiers h2 {
  margin: 0 0 24px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.specifiers-lede {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(28,26,23,0.65);
}

.specifiers-image { height: 340px; }

.specifiers-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(28,26,23,0.12);
}

.specifiers-item {
  padding: 26px 0;
  border-bottom: 1px solid rgba(28,26,23,0.12);
  display: flex;
  gap: 24px;
  align-items: baseline;
}

.specifiers-item:last-child { border-bottom: none; }

.specifiers-num {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: var(--olive);
  min-width: 36px;
}

.specifiers-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.specifiers-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(28,26,23,0.6);
}

/* ---------- portfolio band ---------- */

.portfolio {
  padding: 120px var(--pad-x);
  background: var(--ivory-deep);
  border-top: 1px solid rgba(28,26,23,0.08);
}

.portfolio-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.portfolio h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.portfolio-sub {
  margin: 30px auto 0;
  max-width: 600px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(28,26,23,0.65);
}

.portfolio .btn { margin-top: 40px; padding: 16px 34px; }

/* ---------- contact ---------- */

.contact {
  padding: 110px var(--pad-x);
  border-top: 1px solid rgba(28,26,23,0.1);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1240px;
  margin: 0 auto;
}

.contact h2 {
  margin: 0 0 24px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.contact-lede {
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(28,26,23,0.65);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: rgba(28,26,23,0.75);
}

.contact-details a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  padding: 16px 18px;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  background: #FFFFFF;
  border: 1px solid rgba(28,26,23,0.18);
  border-radius: 2px;
  color: var(--ink);
  outline: none;
  width: 100%;
}

/* appearance:none strips the native dropdown arrow, so without this the
   select is indistinguishable from a text input until clicked. */
.enquiry-form select {
  appearance: none;
  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='%231C1A17' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.enquiry-form textarea { resize: vertical; }

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(68,82,63,0.22);
}

.form-success {
  margin: 0;
  padding: 16px 18px;
  background: var(--moss);
  color: var(--parchment);
  font-size: 14.5px;
  border-radius: 2px;
}

.enquiry-form .btn {
  padding: 17px 32px;
  font-family: 'Archivo', sans-serif;
  align-self: flex-start;
}

/* ---------- footer ---------- */

.footer {
  padding: 64px var(--pad-x) 40px;
  background: var(--ink);
  color: rgba(245,241,234,0.85);
}

.footer a { color: rgba(245,241,234,0.85); }
.footer a:hover { color: var(--ivory); }
.footer a[aria-current="page"] {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

/* Same rule as .nav-brand, one size up: 24px of lockup is the 30px serif this
   footer used to set. The ivory cut is transparent, so it sits on --ink here
   without dragging a moss panel along with it. */
.footer-brand {
  margin: 0 0 12px;
  font-family: 'Instrument Serif', serif;
  font-size: 30px;
  color: var(--ivory);
}

.footer-brand img {
  display: block;
  height: 24px;
  width: auto;
}

.footer-blurb {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245,241,234,0.55);
  max-width: 340px;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-muted { font-size: 14px; }

.footer-muted { color: rgba(245,241,234,0.55); }

.footer-col-head {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.45);
}

.footer-legal {
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(245,241,234,0.14);
  font-size: 12.5px;
  color: rgba(245,241,234,0.4);
}

/* ---------- subpages (Collections / Projects / Compliance / About / Contact) ---------- */

.page-hero {
  padding: 96px var(--pad-x) 88px;
  border-bottom: 1px solid rgba(28,26,23,0.08);
}

.page-hero-inner { max-width: 1060px; }

.page-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.page-hero .kicker { margin-bottom: 24px; }

.page-hero-lede {
  margin: 30px 0 0;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(28,26,23,0.7);
}

.page-hero-dark {
  background: var(--moss);
  color: var(--parchment);
  border-bottom: none;
}

.page-hero-dark .page-hero-lede { color: rgba(239,235,226,0.72); }

.band {
  padding: 100px var(--pad-x);
  border-top: 1px solid rgba(28,26,23,0.08);
}

.band-inner { max-width: 1060px; margin: 0 auto; }

.band h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.band-plain { background: var(--ivory-deep); }

.prose {
  margin: 0;
  max-width: 680px;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(28,26,23,0.7);
}

.prose + .prose { margin-top: 22px; }

/* alternating image + copy bands (Collections) */
.band-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.band-split .band-image { height: 520px; }
.band-split .band-copy { min-width: 0; }

.band-split.flip .band-image { order: 2; }

.band-split h2 { margin-bottom: 20px; }

.band-lede {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(28,26,23,0.65);
}

.piece-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(28,26,23,0.12);
}

.piece-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(28,26,23,0.12);
  font-size: 15px;
  color: rgba(28,26,23,0.75);
}

.band-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(28,26,23,0.55);
}

/* numbered long-form lists (Compliance stack, About, Projects record) */
.stack-list {
  border-top: 1px solid rgba(28,26,23,0.12);
  max-width: 820px;
}

.stack-item {
  padding: 30px 0;
  border-bottom: 1px solid rgba(28,26,23,0.12);
  display: flex;
  gap: 28px;
  align-items: baseline;
}

.stack-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.stack-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: rgba(28,26,23,0.65);
}

.record-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  border-top: 1px solid rgba(28,26,23,0.12);
}

.record-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(28,26,23,0.12);
  display: flex;
  gap: 24px;
  align-items: baseline;
}

.record-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.record-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(28,26,23,0.6);
}

/* project card (Projects) */
.project-card {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
  margin-top: 8px;
}

.project-image { height: 420px; }

.status-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--olive);
  border: 1px solid rgba(68,82,63,0.4);
  border-radius: 2px;
}

.project-copy h2 { margin-bottom: 18px; }

.project-copy p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(28,26,23,0.65);
}

/* CTA band */
.band-cta { text-align: center; }

.band-cta h2 {
  max-width: 760px;
  margin: 0 auto 36px;
  text-wrap: balance;
}

/* contact page */
.contact-page { border-top: none; }

.contact-expect { margin-top: 48px; }

.contact-expect-head {
  display: block;
  color: rgba(28,26,23,0.45);
  margin-bottom: 4px;
}

.contact-expect .stack-item { padding: 20px 0; }

.contact-expect .stack-item p {
  font-size: 14.5px;
  color: rgba(28,26,23,0.65);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .specifiers-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 56px; }

  .band-split { grid-template-columns: 1fr; gap: 40px; }
  .band-split .band-image { height: 380px; order: 0; }
  .project-card { grid-template-columns: 1fr; gap: 36px; }
  .project-image { height: 320px; }
  .record-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --pad-x: 24px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    background: var(--ivory);
    border-bottom: 1px solid rgba(28,26,23,0.1);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 14px 0;
    width: 100%;
  }

  .nav-links a.nav-cta {
    margin-top: 10px;
    padding: 14px 24px;
    width: auto;
  }

  .hero { padding-top: 0; }
  .hero-stage {
    min-height: 720px;
    align-items: end;
  }
  .hero-stage::after {
    background: linear-gradient(0deg, rgba(18,16,13,0.84) 0%, rgba(18,16,13,0.5) 58%, rgba(18,16,13,0.18) 100%);
  }
  .hero-copy {
    width: 100%;
    padding: 72px var(--pad-x) 56px;
  }
  .hero-image { height: 100%; min-height: 0; }
  .hero-image img { object-position: 70% center; }
  .hero-props { gap: 32px; }

  .segments-grid { grid-template-columns: 1fr; }
  .segment-image { height: 300px; }
  .segments-grid + .segments-group { margin-top: 64px; }
}

@media (max-width: 640px) {
  .collections-grid { grid-template-columns: 1fr; }
  .collection-image { height: 320px; }

  .form-row { grid-template-columns: 1fr; }
}

/* ---------- the range: listing + data sheets (products.html, datasheet.html) ---------- */

/* The [hidden] attribute is only `display: none` in the UA stylesheet, so any
   author `display` rule silently beats it — which is exactly what happened to
   the selection tray's `display: flex`. Restore it once, globally. */
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Standing notice while range-data.js has meta.placeholder === true. */
.range-notice {
  padding: 22px var(--pad-x);
  background: var(--ivory-deep);
  border-bottom: 1px solid rgba(28,26,23,0.12);
  border-left: 3px solid var(--olive);
}

.range-notice-title {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--olive);
}

.range-notice-body {
  margin: 0;
  max-width: 820px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(28,26,23,0.7);
}

.range { padding: 56px var(--pad-x) 100px; }

/* --- controls --- */

.range-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px 28px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(28,26,23,0.12);
  border-radius: 2px;
}

.range-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.range-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.range-pill span {
  display: inline-block;
  padding: 10px 20px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(28,26,23,0.6);
  border: 1px solid rgba(28,26,23,0.2);
  border-radius: 2px;
  cursor: pointer;
}

.range-pill span:hover { border-color: var(--ink); color: var(--ink); }

.range-pill input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

.range-pill input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }

.range-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.range-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 190px;
}

.range-field-grow { flex: 1 1 260px; }

.range-field label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(28,26,23,0.5);
}

.range-field input,
.range-field select {
  padding: 13px 15px;
  font-family: 'Archivo', sans-serif;
  font-size: 14.5px;
  background: #FFFFFF;
  border: 1px solid rgba(28,26,23,0.18);
  border-radius: 2px;
  color: var(--ink);
  outline: none;
  width: 100%;
}

.range-field input:focus,
.range-field select:focus { border-color: var(--olive); }

.range-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 4px;
  border-top: 1px solid rgba(28,26,23,0.1);
}

.range-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-top: 16px;
  font-size: 14px;
  color: rgba(28,26,23,0.75);
  cursor: pointer;
}

.range-check input { width: 16px; height: 16px; accent-color: var(--olive); cursor: pointer; }

.range-reset,
.range-linkish {
  margin-top: 16px;
  padding: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 13.5px;
  color: var(--olive);
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.range-linkish { margin-top: 0; }
.range-reset:hover,
.range-linkish:hover { color: var(--ink); }

.range-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 36px 0 28px;
}

.range-count {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(28,26,23,0.55);
}

.range-schedule {
  padding: 12px 22px;
  font-family: 'Archivo', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: 1px solid rgba(28,26,23,0.25);
  border-radius: 2px;
  cursor: pointer;
}

.range-schedule:hover { border-color: var(--ink); background: var(--ivory-deep); }
.range-schedule:disabled { opacity: 0.4; cursor: not-allowed; }

/* --- grid + cards --- */

.range-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.range-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(28,26,23,0.12);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.range-card:hover { border-color: rgba(28,26,23,0.35); }
.range-card.is-selected { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }

.range-card-image {
  position: relative;
  height: 260px;
}

.range-card-image .img-slot { border: none; border-bottom: 1px solid rgba(28,26,23,0.1); }

.range-select {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(245,241,234,0.92);
  border: 1px solid rgba(28,26,23,0.18);
  border-radius: 2px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(28,26,23,0.7);
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.range-select input { width: 15px; height: 15px; accent-color: var(--olive); cursor: pointer; }
.range-card.is-selected .range-select { background: var(--olive); border-color: var(--olive); color: var(--parchment); }

.range-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 24px;
  flex: 1;
}

.range-card-code {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(28,26,23,0.45);
}

.range-card-code span { color: var(--olive); }

.range-card-name {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 27px;
  line-height: 1.15;
}

.range-card-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(28,26,23,0.65);
}

.range-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.range-tags li {
  padding: 5px 11px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(28,26,23,0.6);
  background: var(--ivory-deep);
  border-radius: 2px;
}

.range-specs {
  margin: 4px 0 0;
  border-top: 1px solid rgba(28,26,23,0.12);
}

.range-specs > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(28,26,23,0.1);
}

.range-specs dt {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(28,26,23,0.45);
}

.range-specs dd {
  margin: 0;
  font-size: 14px;
  text-align: right;
  color: rgba(28,26,23,0.8);
}

.range-claims {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.range-claim {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 10px;
  font-size: 11.5px;
  line-height: 1.4;
  border-radius: 2px;
  border: 1px solid transparent;
}

.range-claim-status {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.range-claim-domains { min-width: 0; }

/* Certified / specified-to / under test are three different facts and are
   never allowed to look alike. */
.range-claim.is-certified {
  background: var(--moss);
  color: var(--parchment);
  border-color: var(--moss);
}
.range-claim.is-certified .range-claim-status { color: var(--sage); }

.range-claim.is-specified {
  color: rgba(28,26,23,0.7);
  border-color: rgba(68,82,63,0.4);
}
.range-claim.is-specified .range-claim-status { color: var(--olive); }

.range-claim.is-pending {
  color: rgba(28,26,23,0.55);
  border-color: rgba(28,26,23,0.2);
  border-style: dashed;
}

.range-card-link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--olive);
}

.range-card-link:hover { color: var(--ink); }

.range-empty {
  margin: 48px 0 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(28,26,23,0.65);
}

.range-empty a { text-decoration: underline; text-underline-offset: 3px; }

/* --- selection tray --- */

.range-tray {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px var(--pad-x);
  background: var(--ink);
  color: rgba(245,241,234,0.85);
  border-top: 1px solid rgba(245,241,234,0.14);
}

.range-tray-count {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(245,241,234,0.75);
}

.range-tray-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.range-tray .range-linkish { color: rgba(245,241,234,0.6); }
.range-tray .range-linkish:hover { color: var(--ivory); }
.range-tray .btn-dark { background: var(--ivory); color: var(--ink); }
.range-tray .btn-dark:hover { background: var(--olive); color: var(--ivory); }

/* --- data sheet --- */

.sheet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px var(--pad-x);
  border-bottom: 1px solid rgba(28,26,23,0.1);
}

.sheet-back,
.sheet-nav-link {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(28,26,23,0.6);
}

.sheet-back:hover,
.sheet-nav-link:hover { color: var(--ink); }

.sheet-bar-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sheet-print { padding: 12px 24px; font-family: 'Archivo', sans-serif; border: none; }

.sheet { padding: 48px var(--pad-x) 100px; }

.sheet-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 56px 44px;
  background: #FFFFFF;
  border: 1px solid rgba(28,26,23,0.12);
  border-radius: 2px;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--ink);
}

.sheet-brand {
  margin: 0 0 4px;
  font-family: 'Instrument Serif', serif;
  font-size: 27px;
}

.sheet-kind {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--olive);
}

.sheet-head-item { text-align: right; }
.sheet-head-item .range-tags { justify-content: flex-end; margin-top: 12px; }

.sheet-code {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--olive);
}

.sheet-name {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
}

.sheet-collection {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: rgba(28,26,23,0.55);
}

.sheet-placeholder {
  margin: 28px 0 0;
  padding: 16px 18px;
  background: var(--ivory-deep);
  border-left: 3px solid var(--olive);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(28,26,23,0.7);
}

.sheet-columns {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 44px;
  margin-top: 36px;
}

.sheet-visual .img-slot { height: 340px; }

.sheet-description {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(28,26,23,0.72);
}

.sheet-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sheet-table caption {
  padding-bottom: 10px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(28,26,23,0.45);
  text-align: left;
}

.sheet-table th,
.sheet-table td {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(28,26,23,0.12);
  vertical-align: top;
}

.sheet-table tbody th {
  width: 42%;
  padding-right: 16px;
  font-weight: 500;
  color: rgba(28,26,23,0.55);
}

.sheet-table td { color: var(--ink); }

.sheet-table-wide thead th {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(28,26,23,0.45);
  border-bottom: 1px solid rgba(28,26,23,0.25);
}

.sheet-table-wide tbody th {
  width: 26%;
  color: var(--ink);
  font-weight: 600;
}

.sheet-table-wide td { padding-right: 16px; }
.sheet-table-wide td:last-child { padding-right: 0; }

/* Status column sized so the chip never wraps mid-label. */
.sheet-table-wide th:nth-child(3),
.sheet-table-wide td:nth-child(3) { width: 16%; }

.sheet-evidence {
  font-size: 13px;
  color: rgba(28,26,23,0.6);
}

.sheet-section {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(28,26,23,0.12);
}

.sheet-section-head {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--olive);
}

.sheet-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px 44px;
}

.sheet-block h2 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--olive);
}

.sheet-block div,
.sheet-block p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(28,26,23,0.72);
}

.sheet-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(28,26,23,0.72);
}

.sheet-note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(28,26,23,0.6);
}

.sheet-note a { text-decoration: underline; text-underline-offset: 3px; }

.sheet-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.sheet-foot p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(28,26,23,0.7);
}

.sheet-foot a { text-decoration: underline; text-underline-offset: 3px; }

.sheet-foot-meta {
  margin-top: 12px !important;
  font-size: 11.5px !important;
  letter-spacing: 0.06em;
  color: rgba(28,26,23,0.45) !important;
}

.sheet-missing { text-align: left; }
.sheet-missing a { text-decoration: underline; text-underline-offset: 3px; }

/* --- range responsive --- */

@media (max-width: 900px) {
  .sheet-columns { grid-template-columns: 1fr; gap: 30px; }
  .sheet-page { padding: 36px 26px 32px; }
  .sheet-head { gap: 24px; }
  .sheet-head-item { text-align: left; }
  .sheet-head-item .range-tags { justify-content: flex-start; }
  .range-controls { padding: 22px 20px; }
  .range-summary { margin-top: 28px; }
}

@media (max-width: 640px) {
  .range-grid { grid-template-columns: 1fr; }
  .range-field { min-width: 100%; }
  .range-tray { flex-direction: column; align-items: flex-start; gap: 14px; }
  .range-tray-actions { width: 100%; justify-content: space-between; }
  .sheet-table-wide,
  .sheet-table-wide tbody,
  .sheet-table-wide tr,
  .sheet-table-wide td,
  .sheet-table-wide th { display: block; width: auto; }
  .sheet-table-wide thead { display: none; }
  .sheet-table-wide tr { padding: 14px 0; border-bottom: 1px solid rgba(28,26,23,0.12); }
  .sheet-table-wide th,
  .sheet-table-wide td { padding: 3px 0; border: none; }
}

/* --- print: the data sheet is the artefact --- */

@media print {
  .no-print,
  .nav,
  .footer,
  .range-tray { display: none !important; }

  @page { size: A4 portrait; margin: 14mm; }

  html, body { background: #FFFFFF; }

  .sheet { padding: 0; }

  .sheet-page {
    max-width: none;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
  }

  .sheet-head,
  .sheet-section,
  .sheet-block,
  .sheet-foot,
  .sheet-table tr { break-inside: avoid; }

  .sheet-section { margin-top: 26px; padding-top: 22px; }
  .sheet-columns { gap: 28px; margin-top: 24px; }
  .sheet-visual .img-slot { height: 220px; }

  .sheet-page a { color: inherit; text-decoration: none; }

  /* Certified must stay unmistakable on a mono office printer. */
  .range-claim { border: 1px solid rgba(28,26,23,0.45) !important; }
  .range-claim.is-certified {
    background: var(--moss) !important;
    color: #FFFFFF !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .range-claim.is-pending { border-style: dashed !important; }
}

.band-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.range-tray .range-linkish { white-space: nowrap; }

/* ---------- projects page: multiple in-flight cards + delivered grid ---------- */

/* Two stacked project-cards in one band need air between them; the card's own
   margin-top: 8px only spaces it from the kicker above. */
.project-card + .project-card { margin-top: 88px; }

/* Alternating image side. Mirrors the 7fr/5fr split so the copy column keeps
   the same measure whichever side it sits on. */
.project-card.is-reversed { grid-template-columns: 5fr 7fr; }
.project-card.is-reversed .project-image { order: 2; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 40px;
  margin-top: 48px;
}

.project-tile {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-tile-image { height: 300px; }

/* Both of these sit inside .project-tile and are <p>, so they must out-specify
   the .project-tile p body-copy rule below — hence the compound selector. */
.project-tile .project-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.5;
  color: var(--olive);
}

.project-tile h3 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.project-tile p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(28,26,23,0.65);
}

/* margin-top: auto pins the scope line to the bottom of every tile, so the
   rules line up across a row whose descriptions differ in length. */
.project-tile .project-scope {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(28,26,23,0.14);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(28,26,23,0.6);
}

.project-tile .project-scope strong {
  display: block;
  margin-bottom: 5px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(28,26,23,0.45);
}

@media (max-width: 1080px) {
  /* .project-card collapses to one column here, so the reversed variant has to
     drop back to image-first or the copy would lead on a narrow screen. */
  .project-card.is-reversed { grid-template-columns: 1fr; }
  .project-card.is-reversed .project-image { order: 0; }
  .project-card + .project-card { margin-top: 64px; }
}

@media (max-width: 900px) {
  .project-grid { gap: 48px 28px; }
  .project-tile-image { height: 240px; }
  .project-tile h3 { font-size: 24px; }
}

@media (max-width: 640px) {
  .project-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .project-tile-image { height: 280px; }
  .project-tile .project-scope { margin-top: 4px; }
}

/* ---------- the range: sub-category pills ---------- */

/* Second level of the taxonomy, shown only once a collection is picked. Set
   apart from the collection pills by a rule and lighter, smaller chips, so the
   two rows never read as one long list of equal-weight filters. */
.range-subcategories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(28,26,23,0.1);
}

.range-subpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(28,26,23,0.65);
  background: transparent;
  border: 1px solid rgba(28,26,23,0.18);
  border-radius: 999px;
  cursor: pointer;
}

.range-subpill:hover { border-color: var(--ink); color: var(--ink); }
.range-subpill:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }

.range-subpill.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--ivory);
}

/* A sub-category with no published SKU is still a thing Hutcha supplies, so it
   stays clickable and legible — dimmed, not disabled. Its count reads
   "to order" rather than "0"; see toOrderMessage() in products.js. */
.range-subpill.is-empty { color: rgba(28,26,23,0.4); border-style: dashed; }
.range-subpill.is-empty:hover { color: rgba(28,26,23,0.7); border-color: rgba(28,26,23,0.45); }

.range-subpill-count {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(28,26,23,0.08);
  color: rgba(28,26,23,0.55);
}

.range-subpill.is-active .range-subpill-count {
  background: rgba(245,241,234,0.22);
  color: var(--ivory);
}

.range-to-order { border-left: 2px solid var(--olive); padding-left: 18px; }
.range-to-order strong { color: var(--ink); font-weight: 600; }

@media (max-width: 640px) {
  .range-subcategories { gap: 6px; }
  .range-subpill { padding: 7px 11px; font-size: 11px; }
}

/* The section note is deliberately low-contrast; a link inside it must still
   read as a link without breaking that, so it inherits the muted colour and
   earns its affordance from the underline. */
.section-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-note a:hover { color: var(--olive); }
