/* ==========================================================================
   THE MANOR STANDARD — Shared Stylesheet
   Luxury home services discovery platform for Utah
   Editorial restraint: flat colors, no gradients, no shadows, no glow.
   ========================================================================== */

/* ---- Google Fonts: Fraunces (headlines) + Inter (body) ---- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500;1,9..144,600&family=Inter:wght@400;500;600&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Primary */
  --manor-ink: #1C1C1A;   /* primary text (never pure black) */
  --bone:      #F4EFE6;   /* primary background (never pure white) */
  --walnut:    #5C4632;   /* accent, hover, secondary buttons */

  /* Secondary */
  --sage-stone: #8A9A8B;  /* verified tags, category labels */
  --brass:      #B08D57;  /* verified Pro badges, premium accents (sparingly) */
  --quarry:     #6F6A60;  /* secondary text, captions, dividers */
  --linen:      #E8DFCF;  /* section backgrounds, cards, image placeholders */
  --slate:      #3A3D3C;  /* footer background, dark panels */
  --clay:       #B5765E;  /* editorial accents (very rare) */

  /* Type */
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6.5rem;
}

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

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--manor-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--walnut); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--manor-ink); }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--manor-ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
h4 { font-size: 1.15rem; }

/* Mixed italic/upright Fraunces accent to echo the logo */
.italic-accent { font-style: italic; font-weight: 400; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--quarry);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--quarry);
  margin: 0 0 1rem;
  display: block;
}

.section-intro { max-width: 60ch; }

/* ==========================================================================
   4. LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--space-xl); }
.section-tight { padding-block: var(--space-lg); }

.bg-bone  { background: var(--bone); }
.bg-linen { background: var(--linen); }
.bg-ink   { background: var(--manor-ink); color: var(--bone); }
.bg-slate { background: var(--slate); color: var(--bone); }

.bg-ink h1, .bg-ink h2, .bg-ink h3,
.bg-slate h1, .bg-slate h2, .bg-slate h3 { color: var(--bone); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

.section-head { max-width: 64ch; margin-bottom: var(--space-md); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--manor-ink);
  color: var(--bone);
  border-color: var(--manor-ink);
}
.btn-primary:hover { background: var(--walnut); border-color: var(--walnut); color: var(--bone); }

.btn-secondary {
  background: transparent;
  color: var(--manor-ink);
  border-color: var(--manor-ink);
}
.btn-secondary:hover { background: var(--manor-ink); color: var(--bone); }

/* on dark backgrounds */
.bg-ink .btn-secondary, .bg-slate .btn-secondary {
  color: var(--bone); border-color: var(--bone);
}
.bg-ink .btn-secondary:hover, .bg-slate .btn-secondary:hover {
  background: var(--bone); color: var(--manor-ink);
}

.btn-block { display: block; width: 100%; }

.text-link {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--walnut);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link:hover { color: var(--manor-ink); }

/* ==========================================================================
   6. HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bone);
  border-bottom: 1px solid var(--linen);
}
.site-header.on-dark {
  background: var(--manor-ink);
  border-bottom-color: rgba(244,239,230,0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 76px;
}

.nav-logo img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--manor-ink);
}
.nav-links a:hover { color: var(--walnut); }
.on-dark .nav-links a { color: var(--bone); }
.on-dark .nav-links a:hover { color: var(--brass); }

.nav-cta { margin-left: 0.5rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--manor-ink);
}
.on-dark .nav-toggle span { background: var(--bone); }

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  padding-block: clamp(4rem, 11vw, 8.5rem);
}
.hero-inner { max-width: 56rem; }
.hero h1 { margin-bottom: 0.6em; }
.hero .lead { max-width: 42ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ==========================================================================
   8. IMAGE PLACEHOLDERS
   ========================================================================== */
.ph {
  background: var(--linen);
  position: relative;
  width: 100%;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--quarry);
}
.ph-16x9 { aspect-ratio: 16 / 9; }
.ph-4x3  { aspect-ratio: 4 / 3; }
.ph-1x1  { aspect-ratio: 1 / 1; }
.ph-3x4  { aspect-ratio: 3 / 4; }

/* ==========================================================================
   9. GRIDS
   ========================================================================== */
.grid { display: grid; gap: var(--space-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-tight { gap: var(--space-sm); }

/* ==========================================================================
   10. CARDS
   ========================================================================== */
.card {
  background: var(--bone);
  border: 1px solid var(--linen);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease;
}
.card:hover { border-color: var(--quarry); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body h3 { margin-bottom: 0.35em; }
.card-meta { font-size: 0.85rem; color: var(--quarry); margin: 0; }

/* Category card (image + label overlayed bottom) */
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.cat-card .ph { aspect-ratio: 4 / 3; }
.cat-card .cat-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.25rem;
  background: var(--manor-ink);
  color: var(--bone);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cat-card:hover .cat-label { background: var(--walnut); }
.cat-card .cat-label .arrow { font-family: var(--font-body); opacity: .7; }

/* City link card */
.city-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  background: var(--bone);
  border: 1px solid var(--linen);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--manor-ink);
}
.city-card:hover { background: var(--linen); color: var(--manor-ink); }
.city-card .meta { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--quarry); text-transform: uppercase; }

/* Contractor card */
.pro-card .card-body { display: flex; flex-direction: column; gap: 0.5rem; }
.pro-card .pro-loc { font-size: 0.85rem; color: var(--quarry); margin: 0; }

/* ==========================================================================
   11. BADGES / TAGS
   ========================================================================== */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
}
.tag-verified { background: var(--sage-stone); color: var(--manor-ink); }
.tag-category { background: var(--linen); color: var(--quarry); }
.badge-pro {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--brass);
  color: var(--brass);
  border-radius: var(--radius);
}

/* ==========================================================================
   12. TRUST / VET CRITERIA
   ========================================================================== */
.vet-item { }
.vet-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--brass);
}
.vet-icon svg { width: 20px; height: 20px; }
.vet-item h3 { font-size: 1.25rem; }
.vet-item p { font-size: 0.95rem; color: var(--quarry); }

/* ==========================================================================
   13. EDITORIAL GUIDE / PROSE
   ========================================================================== */
.prose { max-width: 68ch; }
.prose p { color: var(--manor-ink); }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.5em; }

/* Cost table */
.cost-table { width: 100%; border-collapse: collapse; margin-top: var(--space-sm); }
.cost-table th, .cost-table td {
  text-align: left;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--linen);
  font-size: 0.95rem;
}
.cost-table th {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quarry);
}
.cost-table td:last-child { font-weight: 600; }

/* ==========================================================================
   14. FAQ
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid var(--linen);
  padding: 1.4rem 0;
}
.faq-item summary {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--walnut); font-family: var(--font-body); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 0.9rem; color: var(--quarry); }

/* ==========================================================================
   15. BREADCRUMBS
   ========================================================================== */
.breadcrumbs {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--quarry);
  padding-block: 1.1rem;
}
.breadcrumbs a { color: var(--quarry); }
.breadcrumbs a:hover { color: var(--manor-ink); }
.breadcrumbs span { margin-inline: 0.5rem; opacity: 0.5; }

/* ==========================================================================
   16. LOCATION / BROWSE LINK LISTS
   ========================================================================== */
.link-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--space-md); }
.link-list li { margin-bottom: 0.7rem; break-inside: avoid; }
.link-list a { color: var(--manor-ink); font-weight: 500; }
.link-list a:hover { color: var(--walnut); }

/* ==========================================================================
   17. CTA BAND
   ========================================================================== */
.cta-band { text-align: center; }
.cta-band .lead { margin-inline: auto; max-width: 46ch; margin-bottom: 2rem; }

.dual-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ==========================================================================
   17a. CITY PICKER (Expedia-style trade + city selector)
   ========================================================================== */
.picker-bar {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}
.picker-label {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--manor-ink);
}
.city-picker {
  position: relative;
  width: 100%;
  max-width: 340px;
}
.city-picker > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--bone);
  border: 1px solid var(--manor-ink);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--manor-ink);
}
.city-picker > summary::-webkit-details-marker { display: none; }
.city-picker > summary::after {
  content: '▾';
  color: var(--walnut);
  font-size: 0.8rem;
  transition: transform .15s ease;
}
.city-picker[open] > summary::after { transform: rotate(180deg); }
.city-picker .menu {
  position: absolute;
  z-index: 60;
  left: 0; right: 0;
  margin-top: 6px;
  background: var(--bone);
  border: 1px solid var(--quarry);
  border-radius: var(--radius);
  padding: 0.4rem;
  list-style: none;
  max-height: 320px;
  overflow: auto;
}
.city-picker .menu li { margin: 0; }
.city-picker .menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  color: var(--manor-ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.city-picker .menu a:hover { background: var(--linen); color: var(--manor-ink); }
.city-picker .menu a[aria-current="page"] {
  color: var(--walnut);
  font-weight: 600;
}
.city-picker .menu a[aria-current="page"]::after { content: '●'; font-size: 0.5rem; color: var(--brass); }

/* ==========================================================================
   17c. LOCATION FILTER + CONTRACTOR DIRECTORY
   ========================================================================== */
.is-hidden { display: none !important; }

.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}
.filter-bar label {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--manor-ink);
}
.filter-select { position: relative; display: inline-block; }
.filter-select select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 2.8rem 0.9rem 1.2rem;
  background: var(--bone);
  border: 1px solid var(--manor-ink);
  border-radius: var(--radius);
  color: var(--manor-ink);
  cursor: pointer;
  min-width: 240px;
}
.filter-select::after {
  content: '▾';
  position: absolute;
  right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--walnut);
  pointer-events: none;
  font-size: 0.8rem;
}
.filter-select select:focus { outline: 2px solid var(--brass); outline-offset: 1px; }

/* Contractor card additions (build on .card / .pro-card) */
.pro-card .ph { aspect-ratio: 16 / 10; }
.pro-card .pro-cities { font-size: 0.8rem; color: var(--quarry); margin: 0; }
.pro-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.7rem; }
.pro-actions .btn { padding: 0.7rem 1.15rem; font-size: 0.85rem; }
.tag-sample { background: var(--clay); color: var(--bone); }

.pro-empty {
  text-align: center;
  padding: 2.6rem 1.25rem;
  color: var(--quarry);
  border: 1px dashed var(--quarry);
  border-radius: var(--radius);
}

/* ==========================================================================
   17d. MODAL (Get Introduced) — flat, no shadow
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(28, 28, 26, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bone);
  border: 1px solid var(--walnut);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  position: relative;
}
.modal h3 { margin-bottom: 0.3rem; }
.modal .modal-sub { color: var(--quarry); font-size: 0.95rem; margin-bottom: 1.4rem; }
.modal-close {
  position: absolute;
  top: 0.9rem; right: 1.1rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--quarry);
}
.modal-close:hover { color: var(--manor-ink); }

/* ==========================================================================
   17b. FOUNDING / EMPTY STATES (pre-launch)
   ========================================================================== */
.founding-panel {
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.bg-ink .founding-panel, .bg-slate .founding-panel { border-color: var(--brass); }
.founding-panel .eyebrow { color: var(--brass); }
.founding-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.6rem; }
.founding-panel p { color: var(--quarry); max-width: 50ch; margin-inline: auto; }
.bg-ink .founding-panel p, .bg-slate .founding-panel p { color: var(--linen); }
.founding-panel .dual-cta { margin-top: 1.8rem; }

/* "Be the first" placeholder slot, sized like a card */
.empty-slot {
  border: 1px dashed var(--quarry);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.2rem 1.5rem;
  min-height: 220px;
  color: var(--quarry);
}
.bg-ink .empty-slot { border-color: rgba(244,239,230,0.3); color: var(--linen); }
.empty-slot .eyebrow { margin-bottom: 0.6rem; }
.empty-slot h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.empty-slot p { font-size: 0.9rem; margin-bottom: 1.1rem; }

/* Split audience block (homeowner vs contractor) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.split-card {
  border: 1px solid var(--linen);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.bg-ink .split-card, .bg-slate .split-card { border-color: rgba(244,239,230,0.16); }
.split-card .eyebrow { color: var(--brass); }
.split-card h3 { font-size: 1.5rem; }
.split-card p { color: var(--quarry); }
.bg-ink .split-card p, .bg-slate .split-card p { color: var(--linen); }
.split-card .btn { margin-top: auto; align-self: flex-start; }

/* Journal coming-soon list */
.note-list { list-style: none; margin: 1.5rem 0 0; padding: 0; max-width: 640px; }
.note-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--linen);
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 500;
}
.note-list li span { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); align-self: center; }

/* ==========================================================================
   18. LEAD FORM
   ========================================================================== */
.lead-form { display: grid; gap: 1.1rem; max-width: 640px; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--quarry);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bone);
  border: 1px solid var(--quarry);
  border-radius: var(--radius);
  color: var(--manor-ink);
}
.bg-ink .field input, .bg-ink .field select, .bg-ink .field textarea,
.bg-slate .field input, .bg-slate .field select, .bg-slate .field textarea {
  background: transparent; border-color: rgba(244,239,230,0.35); color: var(--bone);
}
.bg-ink .field label, .bg-slate .field label { color: var(--linen); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 110px; }

/* Newsletter inline form */
.newsletter-form { display: flex; gap: 0.75rem; max-width: 460px; }
.newsletter-form input {
  flex: 1; padding: 0.9rem 1rem;
  border: 1px solid var(--quarry); border-radius: var(--radius);
  background: var(--bone); font-family: var(--font-body); font-size: 1rem;
}

/* ==========================================================================
   19. FOOTER
   ========================================================================== */
.site-footer { background: var(--slate); color: var(--bone); padding-block: var(--space-lg) var(--space-md); }
.site-footer a { color: var(--linen); }
.site-footer a:hover { color: var(--brass); }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2.6fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(244,239,230,0.14);
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--linen); font-size: 0.92rem; max-width: 32ch; }

.footer-mega { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { font-size: 0.9rem; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  padding-top: var(--space-md);
  font-size: 0.82rem; color: var(--quarry);
}
.footer-bottom a { color: var(--quarry); }

/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer-mega { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding-block: var(--space-lg); }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bone);
    border-bottom: 1px solid var(--linen);
    padding: 0.5rem var(--gutter) 1.5rem;
  }
  .on-dark .nav-links { background: var(--manor-ink); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 0.7rem 0; border-bottom: 1px solid var(--linen); }
  .on-dark .nav-links li { border-bottom-color: rgba(244,239,230,0.12); }
  .nav-cta { margin: 0.8rem 0 0; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .link-list { columns: 1; }
  .newsletter-form { flex-direction: column; }
  .footer-mega { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
