/* Pure Klass Cleaning — Editorial Redesign
   Aesthetic: Refined British establishment + precision engineering.
   Typography: Fraunces (display) + Source Serif 4 (body) + system sans (UI).
   Palette: burgundy / parchment / brass. */

/* ── Tokens ──────────────────────────────────────────── */
:root {
  /* Colour */
  --ink: #1a1410;
  --burgundy: #6b1a24;
  --burgundy-deep: #4a0f18;
  --parchment: #f4ede0;
  --parchment-dim: #e8dfce;
  --brass: #a8864b;
  --hairline: rgba(26, 20, 16, 0.12);
  --mist: #f9f5ec;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --fs-display-1: clamp(3.5rem, 7vw, 6.5rem);
  --fs-display-2: clamp(2.5rem, 4.5vw, 4rem);
  --fs-display-3: clamp(1.75rem, 2.5vw, 2.25rem);
  --fs-eyebrow: 0.75rem;
  --fs-body-lg: 1.1875rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Spacing (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 144px;
  --space-9: 224px;

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease-editorial: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-slow: 900ms;
  --dur-med: 500ms;
  --dur-quick: 280ms;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
/* Paper grain overlay on body */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: url('/images/grain.png') repeat;
  opacity: 0.03;
  mix-blend-mode: multiply;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
}
h1 {
  font-size: var(--fs-display-1);
  line-height: 1.05;
  font-optical-sizing: auto;
}
h2 {
  font-size: var(--fs-display-2);
  line-height: 1.12;
}
h3 {
  font-size: var(--fs-display-3);
  line-height: 1.2;
  font-weight: 500;
}
p + p { margin-top: 1.25rem; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 0.75rem;
}

.body-lg {
  font-size: var(--fs-body-lg);
  line-height: 1.65;
}

/* Body text links */
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness var(--dur-quick) var(--ease-editorial);
}
.prose a:hover {
  text-decoration-thickness: 2px;
}

/* ── Layout ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--space-8) 0;
}
.section--parchment {
  background: var(--parchment);
}
.section--dim {
  background: var(--parchment-dim);
}
.section--burgundy {
  background: var(--burgundy);
  color: var(--parchment);
}
.section--burgundy h2,
.section--burgundy h3 {
  color: var(--parchment);
}
.section--burgundy .eyebrow {
  color: var(--brass);
}
.section--ink {
  background: var(--ink);
  color: var(--parchment);
}
.section--ink h2,
.section--ink h3 {
  color: var(--parchment);
}

@media (max-width: 768px) {
  .section { padding: var(--space-6) 0; }
}

/* ── Nav ──────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--parchment);
  border-bottom: 1px solid var(--hairline);
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow var(--dur-med) var(--ease-editorial);
}
.site-nav.scrolled {
  box-shadow: 0 1px 12px rgba(26, 20, 16, 0.08);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand img {
  height: 38px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color var(--dur-quick) var(--ease-editorial);
  white-space: nowrap;
  opacity: 0.65;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width var(--dur-quick) var(--ease-editorial);
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: transparent !important;
  color: var(--brass) !important;
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid var(--brass) !important;
  font-weight: 500 !important;
  font-size: var(--fs-small) !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 1 !important;
  transition: background var(--dur-quick), color var(--dur-quick), border-color var(--dur-quick) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--burgundy) !important;
  border-color: var(--burgundy) !important;
  color: var(--parchment) !important;
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  margin: 6px 0;
  transition: all 0.3s var(--ease-editorial);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 7px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -7px); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--parchment);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-editorial);
    box-shadow: -8px 0 30px rgba(26, 20, 16, 0.1);
    z-index: 105;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    font-size: 1rem;
    padding: 0.65rem 0;
    width: 100%;
    border-bottom: 1px solid var(--hairline);
    opacity: 0.85;
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    display: block;
    width: 100%;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 20, 16, 0.4);
    z-index: 104;
  }
  .nav-overlay.visible { display: block; }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--burgundy-deep);
  color: var(--parchment);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: var(--space-8) 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(225deg, var(--burgundy-deep) 0%, rgba(74, 15, 24, 0.4) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: sepia(0.4) saturate(0.6) brightness(0.5);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero h1 {
  color: var(--parchment);
  max-width: 720px;
  margin-bottom: var(--space-4);
}
.hero h1 em {
  font-style: italic;
}
.hero p {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  font-weight: 400;
  color: rgba(244, 237, 224, 0.82);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: var(--space-5);
}
.hero .eyebrow {
  color: var(--brass);
}
.hero-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

/* ── Page Hero (inner pages) ──────────────────────────── */
.page-hero {
  background: var(--burgundy);
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--parchment);
  max-width: 700px;
  margin-bottom: 1rem;
}
.page-hero p {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  font-weight: 400;
  color: rgba(244, 237, 224, 0.78);
  line-height: 1.65;
  max-width: 600px;
}
.page-hero .eyebrow { color: var(--brass); }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--fs-small);
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--dur-quick) var(--ease-editorial);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}
.btn--primary {
  background: transparent;
  color: var(--brass);
  border-color: var(--brass);
}
.btn--primary:hover {
  background: var(--brass);
  color: var(--ink);
}
/* Primary on dark backgrounds */
.hero .btn--primary,
.section--burgundy .btn--primary,
.cta-banner .btn--primary {
  color: var(--parchment);
  border-color: var(--brass);
}
.hero .btn--primary:hover,
.section--burgundy .btn--primary:hover,
.cta-banner .btn--primary:hover {
  background: var(--brass);
  color: var(--ink);
}
.btn--text {
  background: transparent;
  border: none;
  color: var(--brass);
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
}
.btn--text::after {
  content: '\2192';
  display: inline-block;
  transition: transform var(--dur-quick) var(--ease-editorial);
}
.btn--text:hover::after {
  transform: translateX(4px);
}
/* Light button for dark backgrounds */
.btn--light {
  background: var(--parchment);
  color: var(--ink);
  border-color: var(--parchment);
}
.btn--light:hover {
  background: var(--parchment-dim);
  border-color: var(--parchment-dim);
}

/* ── Stats Row ────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--parchment);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stat-item {
  padding: var(--space-6) var(--space-4);
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--space-5);
  bottom: var(--space-5);
  width: 1px;
  background: var(--hairline);
}
.stat-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--space-2);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-caption {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--ink);
  opacity: 0.6;
  margin-top: var(--space-2);
  line-height: 1.4;
}
.stat-caption em {
  font-style: italic;
  display: block;
  color: var(--brass);
  opacity: 1;
}

@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item { padding: var(--space-5) var(--space-3); }
  .stat-item:nth-child(3)::before { display: none; }
  .stat-number { font-size: clamp(2.5rem, 10vw, 4rem); }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before {
    left: var(--space-5);
    right: var(--space-5);
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}

/* ── Trust Strip ──────────────────────────────────────── */
.trust-strip {
  background: var(--parchment-dim);
  padding: var(--space-5) 0;
  text-align: center;
}
.trust-strip .eyebrow {
  margin-bottom: var(--space-4);
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.trust-logos img,
.trust-logos svg {
  height: 36px;
  width: auto;
  max-width: 140px;
  filter: brightness(0) opacity(0.4);
  transition: opacity var(--dur-quick);
}
.trust-logos img:hover,
.trust-logos svg:hover {
  opacity: 1;
  filter: brightness(0) opacity(0.7);
}

/* ── Split Layout ─────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse {
  grid-template-columns: 7fr 5fr;
}
.split--equal {
  grid-template-columns: 1fr 1fr;
}
.split-image {
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
/* Brass corner marks on feature images */
.split-image--framed {
  position: relative;
  padding: 2px;
}
.split-image--framed::before,
.split-image--framed::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--brass);
  border-style: solid;
  z-index: 1;
}
.split-image--framed::before {
  top: 0;
  left: 0;
  border-width: 1.5px 0 0 1.5px;
}
.split-image--framed::after {
  bottom: 0;
  right: 0;
  border-width: 0 1.5px 1.5px 0;
}
.split-image--framed .corner-tr,
.split-image--framed .corner-bl {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--brass);
  border-style: solid;
  z-index: 1;
}
.split-image--framed .corner-tr {
  top: 0;
  right: 0;
  border-width: 1.5px 1.5px 0 0;
}
.split-image--framed .corner-bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 1.5px 1.5px;
}

@media (max-width: 768px) {
  .split,
  .split--reverse,
  .split--equal {
    grid-template-columns: 1fr;
  }
}

/* ── Services (asymmetric two-col) ───────────────────── */
.services-pair {
  display: grid;
  grid-template-columns: 5fr 1px 6fr;
  gap: 0 var(--space-5);
  align-items: start;
}
.services-divider {
  width: 1px;
  background: var(--hairline);
  align-self: stretch;
}
.service-block .eyebrow {
  margin-bottom: var(--space-2);
}
.service-block h3 {
  margin-bottom: var(--space-3);
}
.service-block p {
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .services-pair {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .services-divider {
    width: 100%;
    height: 1px;
  }
}

/* ── Why Us (three-col with brass anchors) ───────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.why-item {
  padding: 0 var(--space-5);
  text-align: center;
  position: relative;
}
.why-item + .why-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(244, 237, 224, 0.2);
}
.why-anchor {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--brass);
  margin-bottom: var(--space-3);
  line-height: 1;
}
.why-item p {
  color: rgba(244, 237, 224, 0.78);
  font-size: var(--fs-body);
  line-height: 1.65;
}
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .why-item + .why-item::before {
    left: var(--space-5);
    right: var(--space-5);
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .why-item { padding: var(--space-5) 0; }
}

/* ── Testimonial (pull-quote + video) ─────────────────── */
.testimonial-section {
  background: var(--parchment-dim);
  padding: var(--space-8) 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}
.testimonial-quote {
  position: relative;
}
.testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--brass);
  opacity: 0.3;
  line-height: 0.6;
  display: block;
  margin-bottom: var(--space-3);
}
.testimonial-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--fs-display-3);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.testimonial-quote cite {
  font-style: normal;
  display: block;
}
.testimonial-quote cite strong {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
}
.testimonial-quote cite span {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--ink);
  opacity: 0.6;
  display: block;
  margin-top: 0.15rem;
}
.testimonial-video {
  border: 1px solid var(--hairline);
  overflow: hidden;
  aspect-ratio: 9/16;
  max-height: 520px;
  background: var(--ink);
  position: relative;
}
.testimonial-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-video { max-height: 400px; }
}

/* ── CTA Banner ───────────────────────────────────────── */
.cta-banner {
  background: var(--burgundy);
  color: var(--parchment);
  padding: var(--space-8) 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--parchment);
  margin-bottom: var(--space-3);
}
.cta-banner .eyebrow {
  color: var(--brass);
}
.cta-banner p {
  color: rgba(244, 237, 224, 0.78);
  max-width: 560px;
  margin: 0 auto var(--space-5);
  font-size: var(--fs-body-lg);
  line-height: 1.65;
}

/* ── Process Steps (editorial numbered sequence) ──────── */
.step-editorial {
  display: grid;
  grid-template-columns: 120px 1px 1fr;
  gap: 0 var(--space-5);
  align-items: start;
  padding: var(--space-6) 0;
}
.step-editorial + .step-editorial {
  border-top: 0;
}
.step-numeral {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 400;
  color: var(--brass);
  line-height: 0.85;
  text-align: right;
  padding-right: var(--space-4);
}
.step-divider {
  width: 1px;
  background: var(--hairline);
  align-self: stretch;
  min-height: 80px;
}
.step-body h3 {
  margin-bottom: var(--space-2);
}
.step-body p {
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.7;
}
.step-alt {
  background: var(--parchment-dim);
}
@media (max-width: 600px) {
  .step-editorial {
    grid-template-columns: 60px 1px 1fr;
    gap: 0 var(--space-3);
  }
  .step-numeral {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    padding-right: var(--space-2);
  }
}

/* ── Comparison Table ─────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-body);
  max-width: 800px;
  margin: 0 auto;
}
.comparison-table thead th {
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid var(--hairline);
}
.comparison-table thead th:nth-child(2) {
  color: var(--burgundy);
}
.comparison-table thead th:nth-child(3) {
  color: var(--ink);
  opacity: 0.5;
}
.comparison-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  font-family: var(--font-body);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .check {
  color: var(--burgundy);
  font-weight: 600;
}
.comparison-table .check::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--brass);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.comparison-table .cross {
  color: var(--ink);
  opacity: 0.4;
}
.comparison-table .cross::before {
  content: '\2014';
  color: var(--ink);
  opacity: 0.25;
  margin-right: 0.5rem;
}

/* ── Timeline (vertical editorial) ────────────────────── */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 80px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hairline);
}
.timeline-entry {
  position: relative;
  padding: var(--space-4) 0 var(--space-5);
  border-bottom: 1px solid var(--hairline);
}
.timeline-entry:last-child {
  border-bottom: none;
}
.timeline-marker {
  position: absolute;
  left: -80px;
  top: var(--space-4);
  width: 72px;
  text-align: center;
}
.timeline-disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brass);
  position: absolute;
  left: -44px;
  top: calc(var(--space-4) + 2px);
}
.timeline-disc::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--parchment);
}
.timeline-time {
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--brass);
  letter-spacing: 0.02em;
}
.timeline-entry h3 {
  margin-bottom: var(--space-1);
}
.timeline-entry p {
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .timeline { padding-left: 60px; }
  .timeline::before { left: 26px; }
  .timeline-marker { left: -60px; width: 52px; }
  .timeline-disc { left: -34px; width: 22px; height: 22px; }
  .timeline-disc::after { width: 6px; height: 6px; }
}

/* ── Video Grid ───────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  max-width: 900px;
  margin: 0 auto;
}
.video-cell {
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: var(--ink);
}
.video-cell video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video-label {
  padding: var(--space-2) var(--space-3);
  background: var(--parchment);
  border-top: 1px solid var(--hairline);
}
.video-label .eyebrow {
  margin-bottom: 0;
  font-size: 0.65rem;
}
.video-label span {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--ink);
}
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ── Cards ────────────────────────────────────────────── */
.card {
  background: var(--parchment);
  border: 1px solid var(--hairline);
  padding: var(--space-5);
  transition: border-color var(--dur-quick) var(--ease-editorial);
}
.card:hover {
  border-color: rgba(26, 20, 16, 0.25);
}
.card h3 { margin-bottom: var(--space-2); }
.card p {
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.7;
}
/* Cards on dark backgrounds */
.section--burgundy .card {
  background: rgba(244, 237, 224, 0.06);
  border-color: rgba(244, 237, 224, 0.12);
}
.section--burgundy .card h3 { color: var(--parchment); }
.section--burgundy .card p { color: var(--parchment); opacity: 0.7; }

/* ── Grid helpers ─────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Contact Form ─────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-4);
}
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  border: none;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
  transition: border-color var(--dur-quick), box-shadow var(--dur-quick);
  line-height: 1.5;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 0 var(--brass);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink);
  opacity: 0.3;
}

/* ── Blog / Resource Cards ────────────────────────────── */
.resource-card {
  background: var(--parchment);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: border-color var(--dur-quick) var(--ease-editorial);
  text-decoration: none;
  display: block;
  color: var(--ink);
}
.resource-card:hover {
  border-color: rgba(26, 20, 16, 0.25);
}
.resource-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--parchment-dim);
}
.resource-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-editorial);
}
.resource-card:hover .resource-card-img img {
  transform: scale(1.03);
}
.resource-card-body {
  padding: var(--space-4);
}
.resource-card-body .eyebrow { margin-bottom: var(--space-1); }
.resource-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}
.resource-card-body p {
  font-size: var(--fs-small);
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.65;
}
.resource-card-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--ink);
  opacity: 0.4;
  margin-top: var(--space-2);
}

/* ── Article body (blog posts) ────────────────────────── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-6) var(--gutter);
}
.article-body h2 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.article-body h3 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}
.article-body p {
  margin-bottom: 1.25rem;
}
.article-body ul,
.article-body ol {
  margin: 1rem 0 1.25rem 1.5rem;
  list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}
.article-body strong { font-weight: 600; }

/* ── FAQ sections ─────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: var(--space-4) 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}
.faq-item p {
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(244, 237, 224, 0.6);
  padding: var(--space-7) var(--gutter) var(--space-5);
  font-size: var(--fs-small);
  line-height: 1.7;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-6);
  position: relative;
}
/* Hairline dividers between footer columns */
.footer-col {
  position: relative;
}
.footer-col::before {
  content: '';
  position: absolute;
  left: calc(var(--space-6) * -0.5);
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(244, 237, 224, 0.08);
}
.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: var(--space-3);
}
.footer-desc {
  margin-bottom: var(--space-4);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(244, 237, 224, 0.5);
}
.footer-company {
  font-size: 0.78rem;
  color: rgba(244, 237, 224, 0.3);
  font-weight: 400;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-ui);
  color: var(--brass);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}
.footer-links li { margin-bottom: var(--space-2); }
.footer-links a {
  color: rgba(244, 237, 224, 0.5);
  text-decoration: none;
  font-weight: 400;
  transition: color var(--dur-quick);
}
.footer-links a:hover { color: var(--parchment); }
.footer-bottom {
  max-width: var(--max-w);
  margin: var(--space-6) auto 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(244, 237, 224, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(244, 237, 224, 0.3);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a {
  color: rgba(244, 237, 224, 0.35);
  text-decoration: none;
}
.footer-bottom a:hover { color: rgba(244, 237, 224, 0.7); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.footer-contact-item a {
  color: rgba(244, 237, 224, 0.5);
  text-decoration: none;
  transition: color var(--dur-quick);
}
.footer-contact-item a:hover {
  color: var(--parchment);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col::before { display: none; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Breadcrumb ───────────────────────────────────────── */
.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--ink);
  opacity: 0.4;
  padding: var(--space-3) 0;
}
.breadcrumb a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity var(--dur-quick);
}
.breadcrumb a:hover { opacity: 1; }
.breadcrumb .sep { margin: 0 0.4rem; }

/* ── Scroll-triggered reveals ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-editorial),
              transform var(--dur-slow) var(--ease-editorial);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children when parent has data-stagger */
[data-stagger] > .reveal:nth-child(1) { transition-delay: 0ms; }
[data-stagger] > .reveal:nth-child(2) { transition-delay: 80ms; }
[data-stagger] > .reveal:nth-child(3) { transition-delay: 160ms; }
[data-stagger] > .reveal:nth-child(4) { transition-delay: 240ms; }
[data-stagger] > .reveal:nth-child(5) { transition-delay: 320ms; }
[data-stagger] > .reveal:nth-child(6) { transition-delay: 400ms; }

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

/* ── Focus states ─────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* ── Utilities ────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mt-4 { margin-top: var(--space-5); }
.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;
}
