/* Headstart Essentials: tokens from Headstart-Brand-Guidelines.pdf (2026) */
:root {
  --navy: #1d2b45;
  --navy-deep: #16223a;
  --cream: #f5efe3;
  --paper: #faf7f0;
  --linen: #e6dccb;
  --mustard: #c9973a; /* navy grounds only: H, rules, short labels */
  --forest: #3f5a46;  /* small labels on light grounds */
  --ink: var(--navy);
  --ink-soft: #4b566b;
  --rule: rgba(29, 43, 69, 0.16);
  --rule-light: rgba(245, 239, 227, 0.2);

  --sans: "Rubik", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 4px;

  /* One type scale for the whole page */
  --fs-label: 0.75rem;
  --fs-caption: 0.875rem;
  --fs-small: 0.95rem;
  --fs-lead: clamp(1.1rem, 1.4vw, 1.25rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

figure { margin: 0; }

a { color: inherit; }

p { margin: 0 0 1em; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.375rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }

ol, ul { margin: 0; padding: 0; list-style: none; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section) 0; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */

.label {
  margin: 0 0 1.1rem;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
}

.tagline {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head .label { margin-bottom: 1rem; }

.section-intro {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  max-width: 34ch;
}

.txt-link {
  display: inline-flex;
  gap: 0.5em;
  margin-top: clamp(32px, 4vw, 48px);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.txt-link span { transition: transform 0.25s var(--ease); }
.txt-link:hover span { transform: translateX(3px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  font: 500 1rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }

.btn-small { min-height: 40px; padding: 0 18px; font-size: var(--fs-small); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 240, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-compact { border-bottom-color: var(--rule); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 80px;
  transition: min-height 0.25s var(--ease);
}

.is-compact .nav { min-height: 64px; }

.brand { flex: none; display: block; }
.brand img { width: 168px; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  white-space: nowrap;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  background: linear-gradient(var(--navy), var(--navy)) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.25s var(--ease);
}
.nav-links a:hover { background-size: 100% 1.5px; }

.nav-cta { flex: none; }

/* ---------- Hero ---------- */

.hero { padding: 0; }

/* Copy sits on the page grid; the photo bleeds to the right edge of the screen */
.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(var(--gutter), 1fr)
    minmax(0, calc(var(--wrap) * 0.52))
    minmax(0, calc(var(--wrap) * 0.48))
    minmax(0, 1fr);
  min-height: min(calc(100vh - 330px), 640px);
  min-height: min(calc(100svh - 330px), 640px);
}

.hero-copy {
  grid-column: 2;
  align-self: center;
  padding: clamp(40px, 4.5vw, 64px) clamp(32px, 5vw, 80px) clamp(40px, 4.5vw, 64px) 0;
}

.hero-copy h1 { max-width: 12ch; }
.hero-copy h1 span { display: block; }
.hero-copy h1 span + span { margin-top: 0.12em; }
.hero-copy .tagline { margin-top: 1.5rem; }

.lede {
  margin: 1.25rem 0 0;
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
}

.lede strong {
  display: block;
  margin-bottom: 0.35em;
  color: var(--ink);
  font-weight: 700;
}

.hero-media {
  grid-column: 3 / -1;
  min-height: 520px;
  overflow: hidden;
  background: var(--linen);
}

.hero-media img,
.story-fig img,
.edit-item figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media { position: relative; }
.hero-media img { position: absolute; inset: 0; object-position: 50% 25%; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(32px, 3.5vw, 48px) 0 0;
  border-top: 1px solid var(--navy);
}

.stats > div {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px 0;
}

.stats > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}

.stats dt {
  order: 1;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
}

.stats dd {
  order: 0;
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.stats .stats-note {
  order: 2;
  margin: 6px 0 0;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: normal;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

/* ---------- Story ---------- */

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
}

.story-head {
  grid-column: 1 / -1;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.story-head h2 { max-width: 16ch; }

.story-body {
  grid-column: 1 / 6;
  align-self: start;
  position: sticky;
  top: 112px;
  color: var(--ink-soft);
  max-width: 46ch;
}

.story-body .story-intro {
  color: var(--ink);
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.45;
}

.signoff {
  margin: 2.25rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.signoff-line {
  color: var(--ink);
  font-size: clamp(1.2rem, 1.6vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.signoff-name {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
}

.story-media {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 24px;
  align-content: start;
}

.story-fig {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--linen);
}

.story-fig-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.story-fig-main img { object-position: 60% 30%; }

.story-fig-side {
  grid-column: 4 / -1;
  grid-row: 2 / 4;
  aspect-ratio: 4 / 5;
}

.story-caption {
  grid-column: 1 / 4;
  grid-row: 2;
  align-self: start;
  margin: 8px 0 0;
  font-size: var(--fs-caption);
  color: var(--ink-soft);
}

.story-caption .label { display: block; margin-bottom: 0.6rem; }

/* ---------- Quality ---------- */

.quality { background: var(--paper); }
.edit { background: var(--cream); }

.proofs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(32px, 4vw, 64px);
}

.proof {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  border-top: 1px solid var(--navy);
}

.proof h3 { margin-bottom: 12px; }
.proof p { margin: 0; color: var(--ink-soft); max-width: 36ch; }
.proof .txt-link { margin-top: auto; padding-top: 24px; align-self: flex-start; }

.sub-label { margin: clamp(72px, 9vw, 120px) 0 clamp(24px, 3vw, 40px); }

.fixes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px clamp(24px, 3vw, 40px);
}

.fix {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  border-top: 1px solid var(--navy);
}

.num {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--forest);
  margin-bottom: 1rem;
}

.fix h3 { margin-bottom: 1rem; }

.quote {
  margin: 0;
  padding: 2px 0 2px 18px;
  border-left: 2px solid var(--forest);
}

.quote p { margin: 0 0 6px; font-size: 1rem; line-height: 1.5; }

.quote footer {
  font-size: var(--fs-caption);
  color: var(--ink-soft);
}

.fabrics { margin-top: clamp(72px, 9vw, 120px); }

.fabric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.fabric figure { margin-bottom: 18px; }

.fabric figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.fabric h3 { margin-bottom: 4px; }

.fabric p { margin: 0; color: var(--ink-soft); max-width: 40ch; }

/* ---------- The edit ---------- */

.edit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}


.edit-item figure {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--linen);
  margin-bottom: 18px;
}


.edit-item h3 { margin-bottom: 6px; }

.edit-item { display: flex; flex-direction: column; }
.edit-item p { margin: 0 0 12px; font-size: var(--fs-small); color: var(--ink-soft); }

.edit-item .pack-note {
  margin: -4px 0 12px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
}

.rating {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  width: 100%;
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.rating:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.rating-stars { color: var(--forest); }

.range-note {
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.range-note a,
.contact-direct a {
  color: var(--ink);
  font-weight: 500;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}

.contact-direct {
  margin: 1.5rem 0 0;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

/* ---------- Manufacturing ---------- */

.made { background: var(--navy); color: var(--cream); }

.made-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: end;
}

.made-mark { width: 32px; margin-bottom: 2rem; }

.made .label { color: rgba(245, 239, 227, 0.7); }

.made-copy h2 { margin-bottom: 1.5rem; }

.made-copy p:not(.label) { color: rgba(245, 239, 227, 0.82); max-width: 46ch; }

.made-facts { margin: 0; border-top: 1px solid var(--rule-light); }

.made-facts div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-light);
}

.made-facts dt {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mustard);
  padding-top: 3px;
}

.made-facts dd { margin: 0; }

/* ---------- Wholesale ---------- */

.wholesale { background: var(--cream); }

.wholesale-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.wholesale-copy h2 { margin-bottom: 1.5rem; }
.wholesale-copy > p:not(.label) { color: var(--ink-soft); max-width: 44ch; }

.wholesale-list { counter-reset: w; border-top: 1px solid var(--navy); }

.wholesale-list li {
  counter-increment: w;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.wholesale-list li::before {
  content: counter(w, decimal-leading-zero);
  grid-row: 1 / 3;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--forest);
  padding-top: 4px;
}

.wholesale-list h3 { margin-bottom: 6px; }
.wholesale-list p { margin: 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(72px, 9vw, 120px) 0 32px;
}

.footer-statement { padding-bottom: clamp(56px, 7vw, 88px); }

.footer-big {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 20ch;
  text-wrap: balance;
}

.footer-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}

.footer-logo { width: 168px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}

.footer-nav a,
.footer-contact a {
  text-decoration: none;
  color: rgba(245, 239, 227, 0.82);
  font-size: var(--fs-small);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 0.25em; }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-style: normal;
  font-size: var(--fs-small);
  color: rgba(245, 239, 227, 0.65);
}

.footer-legal {
  margin: 24px 0 0;
  font-size: var(--fs-caption);
  color: rgba(245, 239, 227, 0.55);
}

.site-footer :focus-visible,
.made :focus-visible { outline-color: var(--cream); }

/* ---------- Placeholders (search data-placeholder; remove as real content arrives) ---------- */

.ph {
  display: inline-block;
  padding: 0 0.45em;
  border: 1px dashed rgba(29, 43, 69, 0.4);
  border-radius: 2px;
  background: var(--linen);
  color: var(--ink-soft);
  font-size: 0.9em;
  line-height: 1.5;
}

.made .ph { background: transparent; border-color: rgba(245, 239, 227, 0.45); color: rgba(245, 239, 227, 0.75); }

.ph-box {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 16px;
  border: 1.5px dashed rgba(245, 239, 227, 0.4);
  border-radius: var(--radius);
  font-size: var(--fs-caption);
  text-align: center;
  color: rgba(245, 239, 227, 0.7);
}

.ph-box.ph-box-light { border-color: rgba(29, 43, 69, 0.35); color: var(--ink-soft); background: var(--linen); }

/* ---------- Product palette (garment colours, not brand UI colours) ---------- */

.palette { margin-top: clamp(56px, 7vw, 96px); }

.palette-list {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 16px;
}

.palette-list li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--fs-caption);
  font-weight: 500;
}

.chip {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(29, 43, 69, 0.12);
}

.palette-fine {
  margin: 16px 0 0;
  font-size: var(--fs-caption);
  color: var(--ink-soft);
}


/* ---------- Compliance and retail readiness ---------- */

.comply { background: var(--cream); }

.comply-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px clamp(24px, 3vw, 40px);
}

.comply-group {
  padding-top: 24px;
  border-top: 1px solid var(--navy);
}

.comply-group h3 { margin-bottom: 1rem; }

.comply-group p { margin: 0; color: var(--ink-soft); }

/* ---------- Factory photos ---------- */

.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin-top: clamp(56px, 8vw, 104px);
}

.factory-grid figcaption {
  margin-top: 12px;
  font-size: var(--fs-caption);
  color: rgba(245, 239, 227, 0.7);
}

.contact-person {
  margin: 1.5rem 0 0;
  font-weight: 500;
}

/* ---------- Scroll reveal (only when JS + motion allowed) ---------- */

.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-on [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .story-body { grid-column: 1 / 7; }
  .story-media { grid-column: 8 / -1; }
  .story-fig-side { grid-column: 1 / -1; grid-row: auto; }
  .story-caption { grid-column: 1 / -1; grid-row: auto; }
  .edit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fixes,
  .comply-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div,
  .stats > div + div { padding: 24px 24px 24px 0; border-left: 0; }
  .stats > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Compact two-row header: logo and button on top, scrolling links below */
@media (max-width: 1100px) {
  .nav { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-top: 14px; }
  .is-compact .nav { min-height: 0; }
  .brand img { width: 148px; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 24px;
    padding: 10px 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
    padding-right: 32px;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 12px 0; }
  html { scroll-padding-top: 112px; }
}

@media (max-width: 400px) {
  .brand img { width: 124px; }
  .nav { gap: 0 10px; }
  .nav-cta { padding: 0 12px; font-size: 0.85rem; }
}

@media (max-width: 860px) {
  .footer-nav a,
  .footer-contact a { display: inline-block; padding: 10px 0; }
  .rating { min-height: 44px; align-items: center; }

  .section-head,
  .made-grid,
  .wholesale-grid { grid-template-columns: 1fr; }

  .hero-copy h1 { max-width: 14ch; }
  .hero-grid {
    grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
    min-height: 0;
  }
  .hero-copy { padding: 32px 0 40px; }
  .hero-media { grid-column: 1 / -1; min-height: 0; aspect-ratio: 5 / 4; }

  .story-body,
  .story-media { grid-column: 1 / -1; }
  .story-body { position: static; }
  .story-body { max-width: 40ch; }
  .story-media { margin-top: 56px; }
  .story-fig-side { grid-column: 3 / -1; grid-row: 2 / 4; }
  .story-caption { grid-column: 1 / 3; grid-row: 2; }

  .proofs,
  .fabric-grid,
  .comply-grid { grid-template-columns: 1fr; }
  .palette-list { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 20px; }


  .footer-row { grid-template-columns: 1fr; justify-items: start; }
  .footer-nav { justify-content: flex-start; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }

  .factory-grid { grid-template-columns: 1fr 1fr; }
  .palette-list { column-gap: 10px; }
  .palette-list li { font-size: 0.78rem; gap: 8px; }
  .factory-grid figure:first-child { grid-column: 1 / -1; }

  .stats > div,
  .stats > div + div { padding: 20px 12px 20px 0; }
  .stats > div:nth-child(even) { padding-left: 16px; }
  .stats dd { font-size: 1.4rem; white-space: normal; }

  .cta-row .btn { flex: 1 1 100%; }
  .fixes { grid-template-columns: 1fr; }
  .nav-cta { min-height: 44px; padding: 0 14px; }

  .story-fig-side { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1; }
  .story-caption { grid-column: 1 / -1; grid-row: auto; }
  .story-media { grid-template-columns: 1fr; }
  .story-fig-main, .story-fig-side, .story-caption { grid-column: 1; }


  .edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 36px; }
  .edit-item h3 { font-size: 1.05rem; }
  .edit-item p { font-size: 0.88rem; }


  .made-facts div { grid-template-columns: 1fr; gap: 4px; }


  .wholesale-list li { grid-template-columns: 36px minmax(0, 1fr); }
}

@media print {
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
  .site-header { position: static; }
}
