/* =========================================================
   Matt's PlanScope: Global stylesheet
   Design system: deep navy chrome, warm amber accent,
   white content cards on #f4f6f8, Inter typography.
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0b1729;
  --navy-800: #11213e;
  --navy-700: #1e3a5f;
  --navy-600: #2a4d7a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-100: #fef3c7;

  /* Neutrals */
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --text: #1a2733;
  --text-muted: #6b7a8a;
  --text-soft: #8a96a3;
  --border: #e4e9ee;
  --border-strong: #d4dce4;
  --divider: #eef2f6;

  /* Category gradients (per spec) */
  --grad-buying:      linear-gradient(135deg, #2c7be5 0%, #1d62c4 100%);
  --grad-surveying:   linear-gradient(135deg, #f97316 0%, #c2410c 100%);
  --grad-building:    linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  --grad-energy:      linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  /* Homepage category accents */
  --grad-documents:   linear-gradient(135deg, #11213e 0%, #1e3a5f 100%);
  --grad-condensation:linear-gradient(135deg, #0891b2 0%, #0f766e 100%);
  --grad-cracking:    linear-gradient(135deg, #b04545 0%, #7c2424 100%);
  --grad-party-wall:  linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  --grad-survey:      linear-gradient(135deg, #2c7be5 0%, #1d62c4 100%);
  --grad-calculators: linear-gradient(135deg, #1e3a5f 0%, #2c7be5 100%);

  /* Shape & shadow */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 58, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 31, 58, 0.06);
  --shadow-lg: 0 8px 24px rgba(15, 31, 58, 0.08);
  --shadow-xl: 0 16px 40px rgba(15, 31, 58, 0.10);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Type scale */
  --container: 1180px;
}

/* ---------- Base ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--text); }

.lead { font-size: 1.125rem; color: var(--text-muted); line-height: 1.65; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-600);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 16px rgba(11,23,41,0.18);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-5);
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.site-header__brand .mark {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-500);
  border-radius: 7px;
  color: var(--navy-900);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(245,158,11,0.35);
}
.site-header__brand .brand-text .light { font-weight: 300; opacity: 0.85; }
.site-header__brand .brand-text .bold  { font-weight: 700; }

.site-nav { display: flex; align-items: center; gap: var(--space-2); }
.site-nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.site-nav a.is-active { color: #fff; }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: -2px;
  height: 2px;
  background: var(--amber-500);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .site-header__inner { height: 60px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--navy-900);
    flex-direction: column;
    gap: 0;
    padding: 8px 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 16px 24px rgba(11,23,41,0.25);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
  .site-nav a.is-active::after { display: none; }
  .site-nav a.is-active { background: rgba(245,158,11,0.12); color: var(--amber-500); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(245,158,11,0.10), transparent 60%),
    radial-gradient(700px 420px at 10% 0%, rgba(44,123,229,0.10), transparent 60%),
    linear-gradient(180deg, #0b1729 0%, #11213e 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  /* subtle grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4.4vw + 0.5rem, 3.6rem);
  margin-bottom: var(--space-4);
}
.hero h1 .accent { color: var(--amber-500); }
.hero p {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem);
  max-width: 640px;
}
.hero .eyebrow { color: var(--amber-500); margin-bottom: var(--space-4); }
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: var(--space-6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .12s ease, box-shadow .12s ease, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--amber-500);
  color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(245,158,11,0.30);
}
.btn-primary:hover { background: var(--amber-600); box-shadow: 0 6px 16px rgba(217,119,6,0.35); }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.20);
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.32); }
.btn-ghost {
  background: var(--surface);
  color: var(--navy-800);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--navy-700); }

/* ---------- Section helpers ---------- */
.section {
  padding: clamp(56px, 7vw, 88px) 0;
}
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: var(--surface); }
.section-head {
  max-width: 720px;
  margin-bottom: var(--space-7);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 8px 0 12px; }
.section-head p  { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Card grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

/* ---------- Category card (homepage tabs) ---------- */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  isolation: isolate;
}
.cat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--card-grad, var(--grad-documents));
  z-index: 1;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.cat-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--card-grad, var(--grad-documents));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(15,31,58,0.12);
}
.cat-card__icon svg { width: 24px; height: 24px; }
.cat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.cat-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.cat-card__meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-700);
}
.cat-card__meta svg { width: 14px; height: 14px; transition: transform .15s; }
.cat-card:hover .cat-card__meta svg { transform: translateX(3px); }

/* Per-card colour variants set the gradient variable */
.cat-card--documents    { --card-grad: var(--grad-documents); }
.cat-card--calculators  { --card-grad: var(--grad-calculators); }
.cat-card--condensation { --card-grad: var(--grad-condensation); }
.cat-card--cracking     { --card-grad: var(--grad-cracking); }
.cat-card--party-wall   { --card-grad: var(--grad-party-wall); }
.cat-card--survey       { --card-grad: var(--grad-survey); }

/* ---------- Generic content card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 6px; }
.card p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }

/* ---------- Feature strip (homepage featured tools/documents) ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.feature:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature__badge {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--card-grad, var(--grad-calculators));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.feature__badge svg { width: 18px; height: 18px; }
.feature__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.feature__title { font-weight: 600; font-size: 0.97rem; color: var(--text); }
.feature__sub { font-size: 0.83rem; color: var(--text-muted); }

/* Variants */
.feature--buying    { --card-grad: var(--grad-buying); }
.feature--surveying { --card-grad: var(--grad-surveying); }
.feature--building  { --card-grad: var(--grad-building); }
.feature--energy    { --card-grad: var(--grad-energy); }

/* ---------- Subnav / breadcrumb on section pages ---------- */
.subnav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.subnav__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 14px 0;
}
.subnav a { color: var(--text-muted); }
.subnav a:hover { color: var(--navy-700); }
.subnav__sep { color: var(--text-soft); }
.subnav__current { color: var(--text); font-weight: 600; }

/* ---------- Section banner (top of each section page) ---------- */
.section-banner {
  background: var(--banner-grad, var(--grad-documents));
  color: #fff;
  padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.section-banner::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 40%, transparent 80%);
  pointer-events: none;
}
.section-banner__inner { position: relative; max-width: 820px; }
.section-banner h1 { color: #fff; margin-bottom: 12px; }
.section-banner p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 620px; }
.section-banner .eyebrow { color: rgba(255,255,255,0.85); }

/* Per-section banner gradients */
.section-banner--documents    { --banner-grad: var(--grad-documents); }
.section-banner--calculators  { --banner-grad: var(--grad-calculators); }
.section-banner--condensation { --banner-grad: var(--grad-condensation); }
.section-banner--cracking     { --banner-grad: var(--grad-cracking); }
.section-banner--party-wall   { --banner-grad: var(--grad-party-wall); }
.section-banner--survey       { --banner-grad: var(--grad-survey); }

/* ---------- Calculator hub category groups ---------- */
.calc-group { margin-bottom: var(--space-7); }
.calc-group__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: var(--space-4);
}
.calc-group__chip {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--group-grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(15,31,58,0.10);
}
.calc-group__chip svg { width: 20px; height: 20px; }
.calc-group__head h2 { font-size: 1.4rem; letter-spacing: -0.015em; }
.calc-group__head .calc-group__sub {
  display: block;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 2px;
}
.calc-group--buying    { --group-grad: var(--grad-buying); }
.calc-group--surveying { --group-grad: var(--grad-surveying); }
.calc-group--building  { --group-grad: var(--grad-building); }
.calc-group--energy    { --group-grad: var(--grad-energy); }

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}
.calc-tile {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  position: relative;
}
.calc-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-700);
}
.calc-tile__title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}
.calc-tile__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}
.calc-tile__cta {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy-700);
  display: inline-flex; align-items: center; gap: 6px;
}
.calc-tile__cta svg { width: 13px; height: 13px; transition: transform .15s; }
.calc-tile:hover .calc-tile__cta svg { transform: translateX(3px); }

/* ---------- Document tile (premium preview card) ---------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.doc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}

/* Premium thumbnail preview panel at the top of each card */
.doc-card__preview {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--preview-grad, var(--grad-documents));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
}
.doc-card__preview::before {
  /* faint blueprint grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.doc-card__preview::after {
  /* soft top-right glow */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(255,255,255,0.18), transparent 50%);
  pointer-events: none;
}
.doc-card__sheet {
  position: relative;
  z-index: 1;
  width: 78%;
  max-width: 200px;
  aspect-ratio: 3 / 4;
  background: rgba(255,255,255,0.96);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(11,23,41,0.25), 0 2px 4px rgba(11,23,41,0.10);
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  color: var(--text);
  transform: rotate(-2deg);
}
.doc-card__sheet-bar {
  height: 3px;
  background: var(--preview-grad, var(--grad-documents));
  border-radius: 2px;
  margin-bottom: 10px;
  width: 38%;
}
.doc-card__sheet-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.25;
}
.doc-card__sheet-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.doc-card__sheet-lines {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: auto;
}
.doc-card__sheet-lines i {
  display: block;
  height: 3px;
  background: #e5e9ee;
  border-radius: 2px;
}
.doc-card__sheet-lines i:nth-child(1) { width: 100%; }
.doc-card__sheet-lines i:nth-child(2) { width: 86%; }
.doc-card__sheet-lines i:nth-child(3) { width: 92%; }
.doc-card__sheet-lines i:nth-child(4) { width: 60%; }

.doc-card__body {
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.doc-card__pill {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--amber-100);
  color: var(--amber-600);
  margin-bottom: 12px;
}
.doc-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.doc-card p  { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 18px; flex-grow: 1; }
.doc-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-card__actions .btn,
.doc-card__actions .btn-coming { padding: 9px 14px; font-size: 0.88rem; border-radius: 8px; }

/* Per-card gradient variants for the preview panel */
.doc-card--condensation { --preview-grad: var(--grad-condensation); }
.doc-card--cracking     { --preview-grad: var(--grad-cracking); }
.doc-card--party-wall   { --preview-grad: var(--grad-party-wall); }
.doc-card--survey       { --preview-grad: var(--grad-survey); }
.doc-card--documents    { --preview-grad: var(--grad-documents); }

/* "Coming soon on Etsy" placeholder button (not interactive) */
.btn-coming {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--divider);
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  font-weight: 600;
  cursor: not-allowed;
  user-select: none;
}
.btn-coming::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.20);
}

/* ---------- Info / educational call-outs ---------- */
.callout {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--amber-500);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout--info { background: #eff6ff; border-color: #bfdbfe; border-left-color: #2c7be5; }
.callout svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--amber-600); margin-top: 2px; }
.callout--info svg { color: #1d62c4; }
.callout h4 { margin-bottom: 4px; font-size: 1rem; }
.callout p  { font-size: 0.93rem; color: var(--text-muted); }

/* ---------- Process / step list (Party Wall etc.) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 22px 22px 60px;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 18px; top: 20px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
}
.step h4 { font-size: 0.98rem; margin-bottom: 4px; }
.step p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.72);
  padding: var(--space-7) 0 var(--space-5);
  margin-top: var(--space-8);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  transition: color .15s;
}
.site-footer a:hover { color: var(--amber-500); }
.site-footer__brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 320px; line-height: 1.55; margin-top: 8px; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Utility ---------- */
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.center { text-align: center; }

/* Visually hidden but accessible to screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0; white-space: nowrap;
}
