/* ============================================================
   CBS — Complete Building Solution
   Design tokens
   ------------------------------------------------------------
   Colours: --accent (gold) is sampled directly from the
   official CBS logo file. Neutrals are warm off-blacks/whites
   built around it, not the generic template palette.
   Fonts: Space Grotesk (headings) + Inter (body) are a
   PLACEHOLDER pairing — swap in section "1. FONTS" below the
   moment CBS's own type spec is confirmed.
   ============================================================ */

:root {
  /* --- Brand accent, sampled from /images/cbs-logo.png --- */
  --accent: #f5bf17;        /* gold — logo, buttons on dark, links on dark */
  --accent-ink: #7a5c08;    /* darkened gold — text/links on LIGHT bg only (4.5:1+) */
  --accent-ink-hover: #5f4706;

  /* --- Light surface (default page background) --- */
  --bg: #fafaf8;
  --surface: #fdfcf9;
  --surface-alt: #f2efe6;
  --fg: #1c1b17;
  --muted: #6b6a62;
  --border: #e4e1d6;
  --border-strong: #8f8a78;

  /* --- Dark surface (header, hero, footer, contrast bands) --- */
  --bg-dark: #16150f;
  --surface-dark: #201f17;
  --fg-on-dark: #f2f0e6;
  --muted-on-dark: #b6b3a6;
  --border-on-dark: #37352a;

  /* --- Semantic --- */
  --success: #2f7d4f;
  --warn: #b45309;
  --danger: #b3261e;

  /* --- Type scale (1.25 ratio) --- */
  --step-caption: 0.8rem;
  --step-small: 0.9rem;
  --step-body: 1rem;
  --step-h3: 1.25rem;
  --step-h2: 1.75rem;
  --step-h1: 2.5rem;
  --step-display: 3.25rem;

  /* --- Spacing (8pt baseline) --- */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4.5rem;
  --sp-8: 6.5rem;

  --radius: 3px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --max-w: 1200px;
}

/* 1. FONTS — placeholder pairing, pending CBS's own type spec */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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; }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--step-body);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); }
p { margin: 0 0 var(--sp-3); max-width: 65ch; }
.on-dark p, .on-dark li { color: var(--muted-on-dark); }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-ink-hover); }
.on-dark a { color: var(--accent); }
.on-dark a:hover { color: #ffd35c; }

ul, ol { padding-left: 1.2em; }

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

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible { outline-color: var(--fg-on-dark); }

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--step-caption);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 var(--sp-2);
}
.on-dark .eyebrow { color: var(--accent); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

section { padding: var(--sp-7) 0; }
section.tight { padding: var(--sp-6) 0; }
.on-dark { background: var(--bg-dark); color: var(--fg-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--fg-on-dark); }
.on-surface-alt { background: var(--surface-alt); }

.section-head { max-width: 640px; margin-bottom: var(--sp-6); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: var(--step-small);
  letter-spacing: 0.01em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 90ms var(--ease), background 90ms var(--ease), border-color 90ms var(--ease), box-shadow 90ms var(--ease);
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #16150f;
  border-color: var(--accent);
}
.btn-primary:hover { background: #ffd35c; border-color: #ffd35c; color: #16150f; }

.btn-secondary {
  background: transparent;
  color: var(--fg-on-dark);
  border-color: var(--border-on-dark);
}
.btn-secondary:hover { border-color: var(--fg-on-dark); }

.on-light .btn-secondary,
.btn-secondary.on-light {
  color: var(--fg);
  border-color: var(--border-strong);
}
.on-light .btn-secondary:hover,
.btn-secondary.on-light:hover { border-color: var(--fg); background: var(--surface-alt); }

.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.cta-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-on-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) var(--sp-4);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: var(--sp-4);
}
.brand { display: flex; align-items: center; gap: var(--sp-2); text-decoration: none; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-word { display: none; }

.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--sp-5); }
.main-nav a {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: var(--step-small);
  font-weight: 500;
  padding: var(--sp-1) 0;
  border-bottom: 2px solid transparent;
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--fg-on-dark); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

.header-cta { display: none; }

.nav-toggle {
  background: transparent;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-on-dark);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-on-dark);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: var(--sp-3) var(--sp-4) var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-1); }
.mobile-nav a {
  color: var(--fg-on-dark);
  text-decoration: none;
  display: block;
  padding: var(--sp-2) 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border-on-dark);
}
.mobile-nav .header-cta-mobile { margin-top: var(--sp-3); }

@media (min-width: 880px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .brand-word { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--fg-on-dark); font-size: 1.05rem; letter-spacing: -0.01em; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: var(--sp-8) 0 var(--sp-7);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, var(--step-display)); max-width: 15ch; }
.hero .lede { font-size: 1.15rem; color: var(--muted-on-dark); max-width: 46ch; }
.hero-mark {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  opacity: 0.06;
  pointer-events: none;
}
.hero-mark-label {
  display: none;
  position: absolute;
  top: 50%;
  right: 9%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  opacity: 0.4;
  pointer-events: none;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .hero-mark-label { display: block; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.page-banner {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: var(--sp-7) 0 var(--sp-6);
}
.page-banner h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); max-width: 20ch; }
.page-banner .lede { color: var(--muted-on-dark); max-width: 55ch; font-size: 1.05rem; }
.breadcrumb { font-size: var(--step-small); color: var(--muted-on-dark); margin-bottom: var(--sp-3); }
.breadcrumb a { color: var(--muted-on-dark); }
.breadcrumb a:hover { color: var(--fg-on-dark); }

/* ============================================================
   Stat strip
   ============================================================ */
.stat-strip {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) 0;
}
@media (min-width: 700px) {
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
}
.stat-item { text-align: left; }
.stat-item .num { font-family: 'Space Grotesk', sans-serif; font-size: 2.25rem; font-weight: 600; color: var(--fg); letter-spacing: -0.02em; display: block; }
.stat-item .label { color: var(--muted); font-size: var(--step-small); }

/* ============================================================
   Feature grid (benefits) — no colored-left-border tiles;
   separated by spacing, icon + heading + copy.
   ============================================================ */
.feature-grid {
  display: grid;
  gap: var(--sp-6) var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .feature-grid.cols-5 { grid-template-columns: repeat(3, 1fr); } }

.feature {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.feature .icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-ink);
  margin-bottom: var(--sp-1);
}
.on-dark .feature .icon { color: var(--accent); }
.feature h3 { font-size: 1.1rem; margin-bottom: var(--sp-1); }
.feature p { color: var(--muted); font-size: var(--step-small); margin: 0; }
.on-dark .feature p { color: var(--muted-on-dark); }

/* ============================================================
   Process / stepper (real sequence — numbering is meaningful)
   ============================================================ */
.process-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
  max-width: 800px;
}
.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--border-on-dark);
}
.process-item:last-child { border-bottom: 1px solid var(--border-on-dark); }
/* NOTE: this counter must live on the first grid ITEM, not on
   .process-item itself. .process-item is the grid container, and a
   generated ::before on a grid container becomes an extra implicit
   grid item — with only 2 columns defined, that pushed the real
   content div onto a second implicit row squeezed into the 56px
   column (the bug: cramped headings + a big empty gap to the right).
   Targeting the first child div keeps the counter's pseudo-element
   safely inside that grid item instead of competing for a slot. */
.process-item > div:first-child::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}
.process-item h3 { font-size: 1.05rem; margin-bottom: 0.25em; color: var(--fg-on-dark); }
.process-item p { margin: 0; color: var(--muted-on-dark); font-size: var(--step-small); }

/* ============================================================
   Cards: services, projects
   ============================================================ */
.card-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 700px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.service-card.featured {
  border-color: var(--accent-ink);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
}
.service-card .tag {
  align-self: flex-start;
  font-size: var(--step-caption);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 0.2em 0.65em;
  border-radius: 999px;
  margin-bottom: var(--sp-1);
}
.service-card h3 { font-size: 1.15rem; }
.service-card p { color: var(--muted); font-size: var(--step-small); margin: 0; }

/* Project case-study cards */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-photo {
  aspect-ratio: 16/9;
  background:
    repeating-linear-gradient(135deg, var(--surface-alt), var(--surface-alt) 10px, var(--border) 10px, var(--border) 11px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  position: relative;
}
.project-photo .placeholder-label {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-1) var(--sp-3);
  border-radius: 999px;
  font-size: var(--step-caption);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
/* Home page "Our Valued Clients" cards: same placeholder treatment as
   .project-photo, but square (client photo) rather than 16/9 — kept
   as its own class so the Projects page's photo/video cards are
   completely unaffected. */
.client-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--surface-alt), var(--surface-alt) 10px, var(--border) 10px, var(--border) 11px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

/* Home page "Our Valued Clients" — compact showcase grid, scoped to
   this section only. Fits more, smaller profiles per row than the
   general-purpose .card-grid used elsewhere on the site. */
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
@media (min-width: 640px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .client-grid { grid-template-columns: repeat(5, 1fr); }
}
.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.client-card-name {
  padding: var(--sp-2) var(--sp-2) var(--sp-3);
  text-align: center;
}
.client-card-name h3 {
  font-size: 0.92rem;
  line-height: 1.25;
  margin: 0 0 0.15em;
}
.client-card-name p {
  font-size: var(--step-caption);
  color: var(--muted);
  margin: 0;
  line-height: 1.3;
}
.client-card .placeholder-label {
  font-size: 0.68rem;
  padding: 0.3em 0.7em;
}
/* Project cards with real video media (e.g. Riya Gardens): the video
   fills the same 16/9 frame used by the photo-pending placeholder on
   the other cards, so card sizing stays identical across the grid. */
.project-photo-video { background: #0e0d09; }
.project-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Cinematic-autoplay project videos: gentle hover-zoom, scoped so
   normal project cards (with visible controls) are untouched. Targets
   any card containing a cinematic video via :has() — not just one
   hardcoded card — since any project can be marked "cinematic
   autoplay" in the admin panel. #riya-gardens-card is kept too as a
   harmless fallback for the static fallback markup / older browsers
   without :has() support. */
#riya-gardens-card .project-video,
.project-card:has(video[data-cinematic="1"]) .project-video {
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
#riya-gardens-card:hover .project-video,
.project-card:has(video[data-cinematic="1"]):hover .project-video {
  transform: scale(1.015);
}
.project-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.project-type { font-size: var(--step-caption); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }

/* ============================================================
   Video testimonial placeholders (designed empty state)
   ============================================================ */
.video-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .video-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.video-card {
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-dark);
}
.video-frame {
  aspect-ratio: 16/10;
  background: #0e0d09;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  color: var(--muted-on-dark);
}
.video-meta { padding: var(--sp-4); }
.video-meta h3 { font-size: 1rem; color: var(--fg-on-dark); margin-bottom: 0.25em; }
.video-meta p { color: var(--muted-on-dark); font-size: var(--step-small); margin: 0; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-4) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex-shrink: 0; transition: transform 200ms var(--ease); color: var(--accent-ink); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item p { padding-bottom: var(--sp-4); color: var(--muted); margin: 0; max-width: 68ch; }

/* ============================================================
   Origin story / About
   ============================================================ */
.story-block { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .story-block { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.pullquote {
  border-left: 3px solid var(--accent);
  padding-left: var(--sp-4);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.empty-note {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: var(--sp-4);
  background: var(--surface-alt);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.empty-note .icon { color: var(--muted); flex-shrink: 0; margin-top: 0.15em; }
.empty-note h3 { font-size: 1rem; margin-bottom: 0.25em; }
.empty-note p { font-size: var(--step-small); color: var(--muted); margin: 0; }

/* ============================================================
   Closing CTA band
   ============================================================ */
.cta-band {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: var(--sp-7) 0;
  text-align: center;
}
.cta-band h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band .lede { max-width: 46ch; margin-left: auto; margin-right: auto; color: var(--muted-on-dark); }
.cta-band .cta-row { justify-content: center; }

/* ============================================================
   Contact page: info list + form
   ============================================================ */
.contact-layout { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 950px) { .contact-layout { grid-template-columns: 0.85fr 1.15fr; } }

.info-list { display: flex; flex-direction: column; gap: var(--sp-5); }
.info-item { display: flex; gap: var(--sp-3); }
.info-item .icon { color: var(--accent-ink); flex-shrink: 0; margin-top: 0.15em; }
.info-item h3 { font-size: var(--step-small); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.3em; font-family: 'Inter', sans-serif; font-weight: 600; }
.info-item p { margin: 0; font-size: 1rem; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: var(--step-small);
  font-weight: 600;
  margin-bottom: 0.4em;
}
.field .req { color: var(--accent-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
  transition: border-color 120ms var(--ease), box-shadow 120ms var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 1px;
  border-color: var(--fg);
}
.field input.invalid,
.field textarea.invalid { border-color: var(--danger); }
.field .error-msg {
  display: none;
  color: var(--danger);
  font-size: var(--step-caption);
  margin-top: 0.4em;
  align-items: center;
  gap: 0.35em;
}
.field .error-msg.show { display: flex; }
.field-hint { font-size: var(--step-caption); color: var(--muted); margin-top: 0.35em; }

.form-status {
  display: none;
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  font-size: var(--step-small);
  gap: var(--sp-2);
  align-items: flex-start;
}
.form-status.show { display: flex; }
.form-status.success { background: #eaf4ee; color: #1d5535; border: 1px solid #bfe0cb; }
.form-status.submitting { background: var(--surface-alt); color: var(--muted); border: 1px solid var(--border); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--bg-dark); color: var(--muted-on-dark); padding: var(--sp-7) 0 var(--sp-5); }
.footer-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; margin-bottom: var(--sp-6); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand img { height: 52px; margin-bottom: var(--sp-3); }
.footer-brand p { font-size: var(--step-small); max-width: 32ch; }
.footer-col h3 { font-size: var(--step-small); text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-on-dark); margin-bottom: var(--sp-3); font-family: 'Inter', sans-serif; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a { color: var(--muted-on-dark); text-decoration: none; font-size: var(--step-small); }
.footer-col a:hover { color: var(--fg-on-dark); }
.footer-col p { font-size: var(--step-small); margin: 0 0 var(--sp-2); }
.footer-bottom {
  border-top: 1px solid var(--border-on-dark);
  padding-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  font-size: var(--step-caption);
}

/* ============================================================
   Utility
   ============================================================ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: var(--sp-3);
  top: -60px;
  background: var(--accent);
  color: #16150f;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--step-small);
  z-index: 100;
  transition: top 150ms var(--ease);
}
.skip-link:focus { top: var(--sp-3); }
