/* ==========================================================================
   Serenity Fashion House LLC — Design System
   1. Tokens          5. Hero            9.  Accordion / FAQ
   2. Reset & base    6. Sections       10.  Forms
   3. Typography      7. Cards          11.  Footer
   4. Header & nav    8. Components     12.  Utilities & motion
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand palette */
  --ink: #171C19;
  --ink-soft: #232B26;
  --forest: #1E2E27;
  --forest-deep: #16211C;
  --ivory: #F8F4EC;
  --bone: #EFE7D9;
  --sand: #E1D5C0;
  --brass: #A67C46;
  --brass-light: #C6A169;
  --sage: #8A9A8D;

  /* Text */
  --text: #2A302C;
  --text-muted: #6C736D;
  --text-invert: #F4EFE6;
  --text-invert-muted: rgba(244, 239, 230, 0.68);

  /* Surfaces */
  --surface: #FDFBF6;
  --surface-alt: var(--bone);
  --line: rgba(23, 28, 25, 0.13);
  --line-strong: rgba(23, 28, 25, 0.24);
  --line-invert: rgba(244, 239, 230, 0.18);

  /* Typography */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.75rem, 6.2vw, 5.25rem);
  --fs-h1: clamp(2.25rem, 4.6vw, 3.75rem);
  --fs-h2: clamp(1.85rem, 3.4vw, 2.85rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.6rem);
  --fs-h4: clamp(1.05rem, 1.4vw, 1.2rem);
  --fs-lead: clamp(1.06rem, 1.5vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-micro: 0.75rem;

  /* Space */
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --section-y-sm: clamp(3rem, 6vw, 5.5rem);
  --maxw: 1280px;
  --maxw-narrow: 780px;

  /* Radius & shadow */
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(23, 28, 25, 0.05), 0 6px 18px -10px rgba(23, 28, 25, 0.18);
  --shadow-md: 0 2px 4px rgba(23, 28, 25, 0.04), 0 24px 48px -28px rgba(23, 28, 25, 0.35);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

/* 2. RESET & BASE ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol { padding: 0; }

::selection {
  background: var(--brass);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--text-invert);
  padding: 0.9rem 1.4rem;
  font-size: var(--fs-small);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* 3. TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); line-height: 1.12; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: 0; }

p { text-wrap: pretty; }

.display {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.028em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.35rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--plain::before { display: none; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 60ch;
}

.prose p { margin-bottom: 1.15em; color: var(--text-muted); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--brass);
}
.prose a:hover { color: var(--brass); }

.invert h1,
.invert h2,
.invert h3,
.invert h4 { color: var(--text-invert); }
.invert,
.invert .prose p { color: var(--text-invert-muted); }
.invert .lead { color: var(--text-invert-muted); }
.invert .eyebrow { color: var(--brass-light); }

/* 4. HEADER & NAV ---------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  z-index: 2;
}
.brand__mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand__mark path,
.brand__mark circle { transition: stroke 0.4s var(--ease); }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.brand__sub {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.34rem;
  transition: color 0.4s var(--ease);
}

.nav { display: flex; align-items: center; gap: 0.35rem; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__item--current > .nav__link::after { transform: scaleX(1); }

.nav__caret {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
  transition: transform 0.3s var(--ease);
}

.nav__item { position: relative; }

.nav__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 290px;
  list-style: none;
  padding: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__menu a {
  display: block;
  padding: 0.62rem 0.8rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--text);
  transition: background 0.25s, color 0.25s;
}
.nav__menu a span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  letter-spacing: 0;
  text-transform: none;
}
.nav__menu a:hover { background: var(--bone); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Header states */
.site-header.is-solid {
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-solid .brand__sub { color: var(--text-muted); }

.site-header.on-dark:not(.is-solid) .brand__name,
.site-header.on-dark:not(.is-solid) .nav__link { color: var(--text-invert); }
.site-header.on-dark:not(.is-solid) .brand__sub { color: var(--text-invert-muted); }
.site-header.on-dark:not(.is-solid) .brand__mark path,
.site-header.on-dark:not(.is-solid) .brand__mark circle { stroke: var(--brass-light); }
.site-header.on-dark:not(.is-solid) .btn--ghost { color: var(--text-invert); border-color: var(--line-invert); }
.site-header.on-dark:not(.is-solid) .btn--ghost:hover { background: var(--text-invert); color: var(--ink); border-color: var(--text-invert); }
.site-header.on-dark:not(.is-solid) .nav-toggle span { background: var(--text-invert); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateX(-50%) translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateX(-50%) translateY(-3px) rotate(-45deg); }

/* 5. BUTTONS --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--text-invert);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--brass); border-color: var(--brass); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--brass { --btn-bg: var(--brass); --btn-fg: #fff; }
.btn--brass:hover { background: var(--forest); border-color: var(--forest); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--text-invert); }

.btn--sm { padding: 0.72rem 1.35rem; font-size: 0.75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s, border-color 0.3s, gap 0.3s var(--ease);
}
.link-arrow:hover { color: var(--brass); border-color: var(--brass); gap: 0.9rem; }
.link-arrow svg { width: 13px; height: 13px; }
.invert .link-arrow { color: var(--text-invert); border-color: var(--line-invert); }
.invert .link-arrow:hover { color: var(--brass-light); border-color: var(--brass-light); }

/* 6. LAYOUT & SECTIONS ----------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--maxw-narrow); }
.wrap--wide { max-width: 1480px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--section-y-sm); }
.section--flush-top { padding-top: 0; }
.section--dark { background: var(--forest-deep); color: var(--text-invert); }
.section--ink { background: var(--ink); color: var(--text-invert); }
.section--bone { background: var(--bone); }
.section--surface { background: var(--surface); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head > * { min-width: 0; }
.section-head p { margin-bottom: 0; }

.section-head--center {
  display: block;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.section-head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5.5rem); }
.grid--editorial { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }

/* 7. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background: var(--forest-deep);
  color: var(--text-invert);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(16, 22, 19, 0.88) 0%, rgba(16, 22, 19, 0.62) 42%, rgba(16, 22, 19, 0.18) 72%, rgba(16, 22, 19, 0.42) 100%),
    linear-gradient(180deg, rgba(16, 22, 19, 0.55) 0%, transparent 30%, transparent 65%, rgba(16, 22, 19, 0.6) 100%);
}
.hero__content { max-width: 780px; }
.hero .display { color: var(--text-invert); margin-bottom: 1.6rem; }
.hero .display em {
  font-style: italic;
  font-weight: 300;
  color: var(--brass-light);
}
.hero__text {
  font-size: var(--fs-lead);
  color: rgba(244, 239, 230, 0.82);
  max-width: 52ch;
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-invert);
  max-width: 760px;
}
.hero__meta div { min-width: 0; }
.hero__meta dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 0.3rem;
}
.hero__meta dd {
  font-size: 0.9375rem;
  color: rgba(244, 239, 230, 0.8);
  margin: 0;
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 7rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background: var(--forest-deep);
  color: var(--text-invert);
  overflow: hidden;
  isolation: isolate;
}
.page-hero--plain { background: var(--ivory); color: var(--text); padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-hero--plain .page-hero__title,
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain .page-hero__text { color: var(--text-muted); }
.page-hero--plain .breadcrumb { color: var(--text-muted); }
.page-hero--plain .breadcrumb a:hover { color: var(--brass); }

.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(16, 22, 19, 0.9) 0%, rgba(16, 22, 19, 0.7) 48%, rgba(16, 22, 19, 0.35) 100%);
}
.page-hero__title { font-size: var(--fs-h1); color: var(--text-invert); margin-bottom: 1.25rem; max-width: 18ch; }
.page-hero__title em { font-style: italic; color: var(--brass-light); }
.page-hero__text { font-size: var(--fs-lead); color: rgba(244, 239, 230, 0.8); max-width: 56ch; }
.page-hero--plain .page-hero__title { max-width: 26ch; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
  margin-bottom: 1.75rem;
}
.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: var(--brass-light); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }

/* 8. CARDS ----------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }

.card__body { padding: clamp(1.35rem, 2.2vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.card__index {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brass);
  margin-bottom: 0.85rem;
}
.card__title { font-size: 1.32rem; margin-bottom: 0.6rem; }
.card__text { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.65; margin-bottom: 1.15rem; }
.card__body .link-arrow { margin-top: auto; align-self: flex-start; font-size: 0.72rem; }

/* Collection tile — tall editorial */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--sand);
  isolation: isolate;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile--tall { aspect-ratio: 3 / 4; }
.tile--wide { aspect-ratio: 4 / 3; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(16, 22, 19, 0.72) 100%);
  transition: opacity 0.5s;
}
.tile:hover img { transform: scale(1.05); }
.tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--text-invert);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.tile__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 0.45rem;
  display: block;
}
.tile__title { font-size: 1.35rem; color: var(--text-invert); line-height: 1.15; }
.tile__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.45);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}
.tile:hover .tile__arrow { background: var(--brass); border-color: var(--brass); }
.tile__arrow svg { width: 13px; height: 13px; }

/* 9. FEATURE / STAT / PROCESS ---------------------------------------------- */
.feature-list { list-style: none; display: grid; gap: 0; }
.feature-list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.invert .feature-list li { border-color: var(--line-invert); }
.feature-list__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--brass);
  padding-top: 0.15rem;
}
.feature-list h3,
.feature-list h4 { margin-bottom: 0.3rem; font-size: var(--fs-h4); line-height: 1.3; letter-spacing: 0; }
.feature-list p { font-size: var(--fs-small); color: var(--text-muted); margin: 0; line-height: 1.6; }
.invert .feature-list p { color: var(--text-invert-muted); }

.icon-card { padding: clamp(1.5rem, 2.6vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s; }
.icon-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.icon-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  margin-bottom: 1.4rem;
  color: var(--brass);
}
.icon-card__icon svg { width: 20px; height: 20px; }
.icon-card h3 { font-size: 1.18rem; margin-bottom: 0.55rem; }
.icon-card p { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.65; margin: 0; }
.icon-card--dark { background: transparent; border-color: var(--line-invert); }
.icon-card--dark h3 { color: var(--text-invert); }
.icon-card--dark p { color: var(--text-invert-muted); }
.icon-card--dark .icon-card__icon { border-color: var(--line-invert); color: var(--brass-light); }

/* Process steps */
.process { list-style: none; counter-reset: step; display: grid; gap: 0; }
.process li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--brass);
  padding-top: 0.3rem;
  letter-spacing: 0.04em;
}
.process__body { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); align-items: start; }
.process h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.process p { color: var(--text-muted); font-size: var(--fs-small); line-height: 1.7; margin: 0; }

/* Pull quote */
.pullquote {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}
.pullquote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.9vw, 2.3rem);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 1.6rem;
}
.pullquote blockquote em { font-style: italic; color: var(--brass); }
.invert .pullquote blockquote { color: var(--text-invert); }
.pullquote cite {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Marquee strip */
.strip {
  border-block: 1px solid var(--line);
  padding-block: 1.15rem;
  overflow: hidden;
  background: var(--bone);
}
.strip__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: drift 48s linear infinite;
}
.strip__track span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}
.strip__track span::after { content: "◆"; color: var(--brass); font-size: 0.5rem; }
@keyframes drift { to { transform: translateX(-50%); } }

/* Image + text editorial block */
.editorial-figure { position: relative; }
.editorial-figure img { width: 100%; border-radius: var(--r-md); }
.editorial-figure--offset::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  z-index: -1;
}
.figure-caption {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* Split banner CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--forest-deep);
  color: var(--text-invert);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
}
.cta-band img.cta-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.55;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 22, 19, 0.94) 0%, rgba(16, 22, 19, 0.75) 55%, rgba(16, 22, 19, 0.45) 100%);
}
.cta-band h2 { color: var(--text-invert); max-width: 20ch; margin-bottom: 1rem; }
.cta-band p { color: rgba(244, 239, 230, 0.8); max-width: 50ch; margin-bottom: 2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* 10. ACCORDION / FAQ ------------------------------------------------------ */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.3s;
}
.accordion__trigger:hover { color: var(--brass); }
.accordion__icon {
  position: relative;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 0.35rem;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--brass);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.accordion__icon::before { inset: 7px 0 auto 0; height: 1px; }
.accordion__icon::after { inset: 0 auto 0 7px; width: 1px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: scaleY(0); opacity: 0; }
.accordion__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.45s var(--ease);
}
.accordion__panel > div {
  padding: 0 3rem 1.6rem 0;
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.72;
  max-width: 70ch;
}
.accordion__panel p + p { margin-top: 0.9em; }

/* 11. FORMS ---------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.field label .req { color: var(--brass); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236C736D' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 11px; padding-right: 2.5rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(166, 124, 70, 0.12);
}
.field input::placeholder,
.field textarea::placeholder { color: #9AA09A; }
.field--full { grid-column: 1 / -1; }
.field__hint { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.field__error { font-size: 0.78rem; color: #A6402F; display: none; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #A6402F; }
.field.has-error .field__error { display: block; }

.form__consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }
.form__consent input { width: 16px; height: 16px; margin-top: 0.22rem; accent-color: var(--brass); flex-shrink: 0; }

.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 0.5rem; }
.form__note { font-size: 0.78rem; color: var(--text-muted); }

.form-status {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  line-height: 1.6;
  border: 1px solid;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(138, 154, 141, 0.14); border-color: var(--sage); color: #3C4A40; }
.form-status--err { background: rgba(166, 64, 47, 0.07); border-color: rgba(166, 64, 47, 0.4); color: #8E3828; }

/* Contact info list */
.contact-list { list-style: none; display: grid; gap: 1.6rem; }
.contact-list li { display: grid; grid-template-columns: 20px 1fr; gap: 1rem; align-items: start; }
.contact-list svg { width: 18px; height: 18px; color: var(--brass); margin-top: 0.2rem; }
.contact-list dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-list dd { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--text); }
.contact-list dd a { border-bottom: 1px solid var(--line-strong); transition: color 0.3s, border-color 0.3s; }
.contact-list dd a:hover { color: var(--brass); border-color: var(--brass); }

/* 12. FOOTER --------------------------------------------------------------- */
.site-footer {
  background: var(--forest-deep);
  color: var(--text-invert);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-invert);
}
.footer-brand .brand__name { color: var(--text-invert); font-size: 1.5rem; }
.footer-brand .brand__sub { color: var(--text-invert-muted); }
.footer-brand .brand__mark path,
.footer-brand .brand__mark circle { stroke: var(--brass-light); }
.footer-brand p {
  margin-top: 1.4rem;
  font-size: var(--fs-small);
  color: var(--text-invert-muted);
  max-width: 34ch;
  line-height: 1.7;
}
.footer-col h4,
.footer-col .footer-col__head {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 1.3rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: grid; gap: 0.7rem; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-invert-muted);
  transition: color 0.3s, padding-left 0.3s var(--ease);
}
.footer-col a:hover { color: var(--text-invert); padding-left: 4px; }
.footer-col address { font-style: normal; font-size: 0.9rem; color: var(--text-invert-muted); line-height: 1.75; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem 2rem;
  font-size: 0.75rem;
  color: rgba(244, 239, 230, 0.5);
  letter-spacing: 0.02em;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-bottom a { transition: color 0.3s; }
.footer-bottom a:hover { color: var(--text-invert); }

.legal-note {
  font-size: 0.75rem;
  color: rgba(244, 239, 230, 0.45);
  line-height: 1.7;
  max-width: 70ch;
  padding-bottom: 1.5rem;
}

/* 13. UTILITIES & MOTION --------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.75rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.75rem; }
.mb-4 { margin-bottom: 2.5rem; }
.measure { max-width: 62ch; }
.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;
}
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.09s; }
[data-reveal][data-delay="2"] { transition-delay: 0.18s; }
[data-reveal][data-delay="3"] { transition-delay: 0.27s; }
[data-reveal][data-delay="4"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .strip__track { animation: none; }
}

/* ==========================================================================
   14. PAGE COMPONENTS
   ========================================================================== */

/* Tick list */
.tick-list { list-style: none; display: grid; gap: 0.72rem; }
.tick-list li {
  position: relative;
  padding-left: 1.85rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 5px;
  border-left: 1.4px solid var(--brass);
  border-bottom: 1.4px solid var(--brass);
  transform: rotate(-45deg);
}
.tick-list--invert li { color: var(--text-invert-muted); }
.tick-list--invert li::before { border-color: var(--brass-light); }

/* Cross list (refusals) */
.cross-list { list-style: none; display: grid; gap: 0.72rem; }
.cross-list li {
  position: relative;
  padding-left: 1.85rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
}
.cross-list li::before,
.cross-list li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 1.3px;
  background: #A6402F;
}
.cross-list li::before { transform: rotate(45deg); }
.cross-list li::after { transform: rotate(-45deg); }

/* Compliance card */
.compliance-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--brass);
  border-radius: var(--r-md);
}
.compliance-card h3 { font-size: 1.15rem; }
.compliance-card p { font-size: var(--fs-small); color: var(--text-muted); }
.compliance-card__note {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem !important;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Fact table (company record) */
.fact-table dl { margin: 0; border-top: 1px solid var(--line); }
.fact-table dl > div {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.fact-table dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fact-table dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.55;
}
.fact-table dd a { border-bottom: 1px solid var(--line-strong); }
.fact-table dd a:hover { color: var(--brass); border-color: var(--brass); }

/* Specification / comparison tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 560px;
}
.spec-table thead th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  padding: 0 1rem 0.9rem 0;
  border-bottom: 1px solid var(--line-strong);
  vertical-align: bottom;
}
.spec-table tbody td {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  line-height: 1.55;
  vertical-align: top;
}
.spec-table tbody td:first-child {
  color: var(--text);
  font-weight: 500;
  width: 26%;
}
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table--compare tbody td:first-child { width: 22%; }
.table-note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 70ch;
  line-height: 1.65;
}
.table-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Note block */
.note-block {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--bone);
  border-radius: var(--r-md);
  border: 1px solid rgba(23, 28, 25, 0.06);
}
.note-block h3 { font-size: 1.05rem; }
.note-block p { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.68; margin: 0; }
.note-block p + p { margin-top: 0.8rem; }
.note-block a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brass); }
.note-block .link-arrow { text-decoration: none; }

/* Contact form card */
.form-card {
  padding: clamp(1.6rem, 3.4vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.form-intro {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}
.form-intro .req { color: var(--brass); }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Legal pages */
.legal-meta {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.legal-toc { position: sticky; top: calc(var(--header-h) + 2rem); }
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  transition: color 0.25s, padding-left 0.25s var(--ease);
}
.legal-toc a:hover { color: var(--brass); padding-left: 3px; }
.legal-body { max-width: 72ch; }
.legal-body h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin: 2.75rem 0 0.9rem;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin: 1.8rem 0 0.6rem; }
.legal-body p { color: var(--text-muted); margin-bottom: 1em; }
.legal-body ul { margin: 0 0 1.1em; padding-left: 1.15rem; display: grid; gap: 0.45rem; }
.legal-body li { color: var(--text-muted); font-size: var(--fs-small); line-height: 1.65; }
.legal-body strong { color: var(--text); font-weight: 600; }

/* FAQ layout */
.faq-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.anchor-list { list-style: none; display: grid; gap: 0.15rem; margin-top: 1rem; }
.anchor-list a {
  display: block;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s, padding-left 0.25s var(--ease);
}
.anchor-list a:hover { color: var(--brass); padding-left: 4px; }
.faq-group { margin-bottom: 3.5rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.faq-group:last-child { margin-bottom: 0; }
.faq-group__title {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-strong);
}

/* Error page */
.error-hero { padding-bottom: clamp(1rem, 2vw, 2rem); }
.error-hero .eyebrow { color: var(--brass); }

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .nav__link { padding-inline: 0.6rem; font-size: 0.78rem; }
  .header-actions .btn { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1.5rem var(--gutter) 3rem;
    background: var(--ivory);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
    z-index: 90;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link {
    padding: 1.05rem 0;
    font-size: 1rem;
    letter-spacing: 0.04em;
    justify-content: space-between;
    width: 100%;
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--brass); }

  .nav__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 0.75rem;
    min-width: 0;
    background: transparent;
    display: none;
  }
  .nav__item.is-open .nav__menu { display: block; }
  .nav__item.is-open .nav__caret { transform: rotate(225deg) translateY(-2px); }
  .nav__menu a { padding: 0.6rem 0 0.6rem 1rem; font-size: 0.9rem; }
  .nav__menu a:hover { background: transparent; color: var(--brass); }

  .header-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .header-actions .btn { display: inline-flex; width: 100%; }

  body.nav-open .site-header {
    background: var(--ivory);
    border-bottom-color: var(--line);
  }
  body.nav-open .site-header .brand__name { color: var(--ink); }
  body.nav-open .site-header .brand__mark path,
  body.nav-open .site-header .brand__mark circle { stroke: var(--brass); }
  body.nav-open .nav-toggle span { background: var(--ink); }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-aside { position: static; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
  .grid--2,
  .grid--3,
  .grid--split,
  .grid--editorial { grid-template-columns: 1fr; }
  .grid--split { gap: 2.5rem; }
  .grid--editorial { gap: 2.5rem; }

  .editorial-figure--offset::before { display: none; }

  .process__body { grid-template-columns: 1fr; gap: 0.6rem; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 5rem); padding-bottom: 4rem; }
  .hero__media img { object-position: 66% 40%; }
  .hero__meta { gap: 1.75rem 2.25rem; }

  .page-hero { padding-top: calc(var(--header-h) + 4rem); padding-bottom: 3.5rem; }

  .pullquote blockquote { font-size: 1.35rem; }

  .fact-table dl > div { grid-template-columns: 1fr; gap: 0.2rem; }

  .cta-band { padding: 2.25rem 1.6rem; }
}

@media (max-width: 620px) {
  :root { --fs-body: 1rem; }

  .grid--4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.25rem; }
  .form__row { grid-template-columns: 1fr; }
  .legal-toc ol { grid-template-columns: 1fr; }

  .hero__actions .btn,
  .cta-band__actions .btn { width: 100%; }
  .hero__actions,
  .cta-band__actions { flex-direction: column; align-items: stretch; }

  .feature-list li { grid-template-columns: 1.9rem 1fr; gap: 0.75rem; }
  .process li { gap: 0.9rem; }
  .accordion__panel > div { padding-right: 1.5rem; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer-bottom nav { gap: 1rem; }

  .brand__name { font-size: 1.1rem; }
  .brand__sub { font-size: 0.5rem; letter-spacing: 0.24em; }

  .card__body { padding: 1.25rem; }
  .tile__title { font-size: 1.15rem; }
}

/* ==========================================================================
   16. DARK SECTION CONTEXT
   Sections with a dark ground need the same inverted type treatment as
   .invert blocks; these rules keep headings, leads and rules legible.
   ========================================================================== */
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 {
  color: var(--text-invert);
}
.section--dark .lead, .section--ink .lead,
.section--dark .prose p, .section--ink .prose p {
  color: var(--text-invert-muted);
}
.section--dark .eyebrow, .section--ink .eyebrow { color: var(--brass-light); }
.section--dark .eyebrow::before, .section--ink .eyebrow::before { background: var(--brass-light); }
.section--dark .process li, .section--ink .process li { border-color: var(--line-invert); }
.section--dark .process p, .section--ink .process p { color: var(--text-invert-muted); }
.section--dark .process li::before, .section--ink .process li::before { color: var(--brass-light); }
.section--dark .accordion, .section--ink .accordion { border-color: var(--line-invert); }
.section--dark .accordion__item, .section--ink .accordion__item { border-color: var(--line-invert); }
.section--dark .accordion__trigger, .section--ink .accordion__trigger { color: var(--text-invert); }
.section--dark .accordion__panel > div, .section--ink .accordion__panel > div { color: var(--text-invert-muted); }
.section--dark .accordion__panel a, .section--ink .accordion__panel a { color: var(--brass-light); }
.section--dark .icon-card p, .section--ink .icon-card p { color: var(--text-invert-muted); }
.section--dark .icon-card h3, .section--ink .icon-card h3 { color: var(--text-invert); }
.section--dark .compliance-card, .section--ink .compliance-card {
  background: rgba(244, 239, 230, 0.04);
  border-color: var(--line-invert);
  border-left-color: var(--brass-light);
}
.section--dark .compliance-card h3, .section--ink .compliance-card h3 { color: var(--text-invert); }
.section--dark .compliance-card p, .section--ink .compliance-card p { color: var(--text-invert-muted); }
.section--dark .compliance-card__note, .section--ink .compliance-card__note { border-color: var(--line-invert); }
.section--dark .note-block, .section--ink .note-block { background: rgba(244, 239, 230, 0.05); border-color: var(--line-invert); }
.section--dark .spec-table thead th, .section--ink .spec-table thead th { border-color: var(--line-invert); }
.section--dark .spec-table tbody td, .section--ink .spec-table tbody td { border-color: var(--line-invert); color: var(--text-invert-muted); }
.section--dark .spec-table tbody td:first-child, .section--ink .spec-table tbody td:first-child { color: var(--text-invert); }

/* Hero: primary action needs contrast against the photographic ground */
.hero .btn:not(.btn--ghost) { --btn-bg: var(--brass); --btn-fg: #fff; }
.hero .btn:not(.btn--ghost):hover { --btn-bg: var(--text-invert); --btn-fg: var(--ink); border-color: var(--text-invert); }
.hero .btn--ghost { color: var(--text-invert); border-color: rgba(244, 239, 230, 0.42); }
.hero .btn--ghost:hover { background: var(--text-invert); border-color: var(--text-invert); color: var(--ink); }

/* Header controls need guaranteed contrast over photography */
.site-header.on-dark:not(.is-solid) .nav-toggle {
  background: rgba(16, 22, 19, 0.34);
  border-color: rgba(244, 239, 230, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Compact heading used in sticky sidebars */
.aside-title { font-size: 1.1rem; line-height: 1.3; }
