/* =====================================================================
   OakSERP — Global Stylesheet
   All styling lives here. No inline styles permitted in markup.
   Self-hosted fonts only; no external CDN references anywhere.
   ===================================================================== */

/* ---------- 1. Self-hosted fonts ------------------------------------ */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/playfair-display/playfair-display-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/playfair-display/playfair-display-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display/playfair-display-bold.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-sans/dm-sans-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/dm-sans/dm-sans-medium.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/dm-sans/dm-sans-bold.woff2') format('woff2');
}

/* ---------- 2. Design tokens ---------------------------------------- */

:root {
  /* Color */
  --color-bg:           #0A1A0F;
  --color-bg-elevated:  #0F2416;
  --color-bg-footer:    #07140B;
  --color-text:         #F5F0E8;
  --color-muted:        #B8C4BD;
  --color-accent:       #D4A843;
  --color-accent-soft:  rgba(212, 168, 67, 0.15);
  --color-accent-glow:  rgba(212, 168, 67, 0.35);
  --color-border:       rgba(212, 168, 67, 0.15);
  --color-border-soft:  rgba(245, 240, 232, 0.08);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Sizes */
  --container-max: 1200px;
  --container-narrow: 880px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-base: 0.4s var(--ease);
  --t-slow: 0.6s var(--ease);

  /* Shadows */
  --shadow-card:        0 1px 0 rgba(255, 255, 255, 0.02) inset,
                        0 12px 24px rgba(0, 0, 0, 0.35);
  --shadow-card-hover:  0 1px 0 rgba(255, 255, 255, 0.04) inset,
                        0 20px 40px rgba(0, 0, 0, 0.45),
                        0 0 0 1px var(--color-accent-soft);

  /* Layout */
  --nav-height: 72px;
}

/* ---------- 3. Reset / base ----------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle CSS-generated grain texture (3-5% opacity).
   Layered radial-gradients give an unobtrusive stipple. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(rgba(245, 240, 232, 1) 1px, transparent 1px),
    radial-gradient(rgba(245, 240, 232, 1) 1px, transparent 1px),
    radial-gradient(rgba(212, 168, 67, 0.6) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px, 11px 11px;
  background-position: 0 0, 1px 2px, 3px 1px;
}

body > * {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--t-base);
}

a:hover {
  color: var(--color-text);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

p {
  margin: 0 0 var(--space-4);
}

/* ---------- 4. Typography ------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-5);
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.4rem, 5vw + 1rem, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3vw + 1rem, 2.75rem);
}

h3 {
  font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem);
}

h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.lede {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  color: var(--color-muted);
  max-width: 80ch;
}

.muted {
  color: var(--color-muted);
}

.accent-text {
  color: var(--color-accent);
}

/* ---------- 5. Layout helpers --------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-8) 0;
}

.section--lg {
  padding: var(--space-9) 0;
}

.section--top {
  padding-top: calc(var(--nav-height) + var(--space-8));
}

.section-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto var(--space-7);
}

.section-header .lede {
  margin-left: auto;
  margin-right: auto;
}

.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-border) 30%,
    var(--color-border) 70%,
    transparent
  );
  border: 0;
  margin: var(--space-7) 0;
}

/* ---------- 6. Buttons ---------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.6rem;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  transition: background-color var(--t-base),
              color var(--t-base),
              border-color var(--t-base),
              transform var(--t-base),
              box-shadow var(--t-base);
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
  border: 1px solid var(--color-accent);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 16px var(--color-accent-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn-row--center {
  justify-content: center;
}

/* ---------- 7. Navigation ------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: rgba(10, 26, 15, 0.72);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-base),
              border-color var(--t-base),
              backdrop-filter var(--t-base);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  background-color: rgba(7, 20, 11, 0.88);
  border-bottom-color: var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  white-space: nowrap;
  transition: opacity var(--t-base);
}

.logo:hover {
  opacity: 0.9;
  color: var(--color-text);
}

.logo-accent {
  color: var(--color-accent);
}

.logo-icon {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  margin-right: 0.4em;
  vertical-align: -0.25em;
  color: var(--color-accent);
  fill: currentColor;
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.primary-nav__item {
  position: relative;
}

.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.primary-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: var(--color-accent);
  transition: width var(--t-base);
}

.primary-nav__link:hover {
  color: var(--color-accent);
}

.primary-nav__link:hover::after,
.primary-nav__link.nav--active::after {
  width: 100%;
}

.primary-nav__link.nav--active {
  color: var(--color-accent);
}

/* Services dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + var(--space-3));
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 320px;
  padding: var(--space-3);
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base),
              transform var(--t-base),
              visibility var(--t-base);
}

/* Invisible hover bridge so the dropdown stays open while the cursor
   crosses the gap between the nav link and the menu panel. */
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: calc(var(--space-3) + 6px);
  background: transparent;
}

.primary-nav__item.is-open .dropdown,
.primary-nav__item:hover .dropdown,
.primary-nav__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown__link {
  position: relative;
  display: block;
  padding: var(--space-3) var(--space-4);
  padding-left: calc(var(--space-4) + 6px);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color var(--t-base),
              color var(--t-base),
              transform var(--t-base);
}

/* Highlight indicator: a left accent bar that slides in on hover/focus/active. */
.dropdown__link::before {
  content: "";
  position: absolute;
  left: var(--space-2);
  top: 50%;
  width: 3px;
  height: 0;
  background-color: var(--color-accent);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height var(--t-base), opacity var(--t-base);
  opacity: 0;
}

.dropdown__link:hover,
.dropdown__link:focus-visible,
.dropdown__link.nav--active {
  background-color: var(--color-accent-soft);
  color: var(--color-accent);
  transform: translateX(2px);
}

.dropdown__link:hover::before,
.dropdown__link:focus-visible::before,
.dropdown__link.nav--active::before {
  height: 60%;
  opacity: 1;
}

.dropdown__link-desc {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--color-muted);
  font-weight: 400;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: border-color var(--t-base), background-color var(--t-base);
}

.nav-toggle:hover {
  border-color: var(--color-accent);
}

.nav-toggle__bars {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background-color: var(--color-text);
  transition: transform var(--t-base), opacity var(--t-base), top var(--t-base);
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

.nav-toggle.is-open .nav-toggle__bars span {
  background-color: var(--color-accent);
}

.nav-toggle.is-open .nav-toggle__bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle__bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* ---------- 8. Hero ------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-9)) 0 var(--space-9);
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at top,
    rgba(212, 168, 67, 0.08),
    transparent 60%
  );
  z-index: -1;
}

.hero__inner {
  max-width: 960px;
  margin: 0 auto;
}

.hero__title {
  margin-bottom: var(--space-5);
}

.hero__lede {
  margin: 0 auto var(--space-7);
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem);
  color: var(--color-muted);
  max-width: 80ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.hero--page {
  padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-7);
  text-align: center;
}

.hero--page .hero__inner {
  margin: 0 auto;
}

.hero--page .hero__actions {
  justify-content: center;
}

/* 404 / not-found variant */
.hero--404 {
  padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-8);
}

.error-code {
  margin: 0 0 var(--space-3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(
    180deg,
    var(--color-accent) 0%,
    rgba(212, 168, 67, 0.25) 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
  text-shadow: 0 0 60px var(--color-accent-soft);
}

/* ---------- 9. Cards & grids ---------------------------------------- */

.grid {
  display: grid;
  gap: var(--space-5);
}

.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base),
              border-color var(--t-base),
              box-shadow var(--t-base);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-card-hover);
}

.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent-soft);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.card__title {
  font-size: 1.35rem;
  margin-bottom: var(--space-3);
}

.card__body {
  color: var(--color-muted);
  flex-grow: 1;
  margin-bottom: var(--space-4);
}

.card__link {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-accent);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.card__link::after {
  content: none;
}

/* Service card variant */
.card--service .card__title {
  font-family: var(--font-heading);
}

/* Linked card */
a.card {
  text-decoration: none;
  color: inherit;
}

a.card:hover .card__title {
  color: var(--color-accent);
}

/* ---------- 10. Feature list / value props -------------------------- */

.feature-list {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: flex-start;
}

.feature__marker {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-weight: 700;
  background-color: var(--color-bg-elevated);
}

.feature__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--space-4);
  font-family: var(--font-body);
  text-align: center;
  display: inline-block;
  padding: 0.28rem 1.1rem;
  background-color: var(--color-accent-soft);
  border: 1px solid rgba(212, 168, 67, 0.22);
  border-radius: 999px;
  color: var(--color-accent);
}

.feature__body {
  color: var(--color-muted);
  margin: 0;
  text-align: center;
}

/* Feature items styled as cards — centered column layout */
.feature.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature.card > div {
  width: 100%;
}

/* ---------- 11. Pricing --------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: stretch;
}

.tier {
  display: flex;
  flex-direction: column;
  padding: var(--space-7) var(--space-6);
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base),
              border-color var(--t-base),
              box-shadow var(--t-base);
}

.tier:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-card-hover);
}

.tier--featured {
  border-color: var(--color-accent);
  position: relative;
}

.tier--featured::before {
  content: '[FEATURED LABEL]';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.tier__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 0 var(--space-3);
}

.tier__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--color-accent);
}

.tier__price-unit {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-muted);
  margin-left: 0.25rem;
}

.tier__desc {
  color: var(--color-muted);
  margin-bottom: var(--space-5);
}

.tier__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0 0 var(--space-6);
  flex-grow: 1;
}

.tier__list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.tier__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--color-accent);
}

/* ---------- 12. Process / numbered steps ---------------------------- */

.process-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  align-items: start;
}

.step__number {
  grid-column: 1;
  grid-row: 1 / 3;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  padding-top: 0.15em;
  margin: 0;
}

.step__title {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 var(--space-2);
  align-self: end;
}

.step__body {
  grid-column: 2;
  grid-row: 2;
  color: var(--color-muted);
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ---------- 13. CTA panel ------------------------------------------- */

.cta {
  text-align: center;
  padding: var(--space-9) var(--space-6);
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-image: radial-gradient(
    ellipse at top,
    rgba(212, 168, 67, 0.08),
    transparent 65%
  );
}

.cta__title {
  margin-bottom: var(--space-4);
}

.cta__body {
  color: var(--color-muted);
  max-width: 78ch;
  margin: 0 auto var(--space-6);
}

/* ---------- 14. Forms ----------------------------------------------- */

.form {
  display: grid;
  gap: var(--space-4);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form__label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.85rem 1rem;
  min-height: 44px;
  font: inherit;
  color: var(--color-text);
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.form__textarea {
  min-height: 160px;
  resize: vertical;
}

.form__select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23D4A843' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='1,1.5 6,6.5 11,1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  cursor: pointer;
}

.form__select option {
  color: var(--color-text);
  background-color: var(--color-bg-elevated);
}

.form__label-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--color-muted);
  opacity: 0.7;
  margin-left: 0.35rem;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form__hint {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Honeypot: visually and assistively hidden, but still focusable=false. */
.form__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Field error state */
.form__field--error .form__input,
.form__field--error .form__textarea,
.form__field--error .form__select {
  border-color: #E07A5F;
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
}

/* Status message (success / error) */
.form__status {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-elevated);
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form__status--success {
  border-color: rgba(212, 168, 67, 0.55);
  background-color: var(--color-accent-soft);
  color: var(--color-accent);
}

.form__status--error {
  border-color: rgba(224, 122, 95, 0.55);
  background-color: rgba(224, 122, 95, 0.1);
  color: #E8A18D;
}

/* Disabled submit (sending state) */
.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
  pointer-events: none;
}

/* ---------- 15. Contact info ---------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}

.contact-grid .form {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-elevated);
}

.contact-info {
  display: grid;
  gap: var(--space-5);
}

.contact-info__block {
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-elevated);
}

.contact-info__label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-2);
}

.contact-info__value {
  font-size: 1.05rem;
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
}

.contact-info__value a {
  color: inherit;
}

.contact-info__value a:hover {
  color: var(--color-accent);
}

/* ---------- 16. Stat / value strips --------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
  font-weight: 700;
  color: var(--color-accent);
  margin: 0;
  line-height: 1.1;
}

.stat__label {
  display: block;
  margin-top: var(--space-2);
  font-size: 0.85rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

/* ---------- 17. Two-column content ---------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.two-col--narrow {
  grid-template-columns: 1fr 1.2fr;
}

.media-placeholder {
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ---------- 17b. Service area (home page) --------------------------- */

.service-area-card {
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  padding: var(--space-7);
}

.service-area__intro .lede {
  margin-top: var(--space-3);
}

.map-filler {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
}

.map-filler__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-soft) 1px, transparent 1px);
  background-size: 36px 36px, 36px 36px;
  background-position: -1px -1px, -1px -1px;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 95%);
          mask-image: radial-gradient(ellipse at center, #000 55%, transparent 95%);
  z-index: 0;
}

.map-filler::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(212, 168, 67, 0.06), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(212, 168, 67, 0.04), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.map-filler__radius {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  z-index: 1;
}

.map-filler__radius-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  margin-top: -110px;
  margin-left: -110px;
  border-radius: 999px;
  border: 1px dashed var(--color-accent-soft);
  background-color: rgba(212, 168, 67, 0.05);
}

.map-filler__radius-ring--mid {
  width: 140px;
  height: 140px;
  margin-top: -70px;
  margin-left: -70px;
  border-style: solid;
  border-color: rgba(212, 168, 67, 0.18);
  background-color: rgba(212, 168, 67, 0.07);
}

.map-filler__radius-ring--inner {
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
  border-color: rgba(212, 168, 67, 0.32);
  background-color: rgba(212, 168, 67, 0.12);
  box-shadow: 0 0 24px var(--color-accent-glow);
}

.map-filler__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin-top: -28px;
  margin-left: -16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.map-filler__caption {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3) var(--space-4);
  background-color: rgba(10, 26, 15, 0.78);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  max-width: calc(100% - var(--space-7));
  z-index: 2;
}

.map-filler__label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.map-filler__sub {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ---------- 18. Service detail page layout -------------------------- */

.service-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-7);
}

.service-aside {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-5));
  align-self: start;
}

.service-aside__title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-4);
}

.service-aside__list {
  display: grid;
  gap: var(--space-3);
}

.service-aside__link {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-left: 2px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color var(--t-base),
              color var(--t-base),
              background-color var(--t-base);
}

.service-aside__link:hover,
.service-aside__link.nav--active {
  border-left-color: var(--color-accent);
  color: var(--color-accent);
  background-color: var(--color-accent-soft);
}

.service-content h2 {
  margin-top: var(--space-7);
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content ul {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
}

.service-content ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text);
}

.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background-color: var(--color-accent);
}

/* ---------- 19. Service benefits list & process steps --------------- */

.service-benefits {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
}

.service-benefits li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.service-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background-color: var(--color-accent);
}

.process-steps {
  display: grid;
  gap: var(--space-4);
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
  counter-reset: process-counter;
}

.process-steps li {
  position: relative;
  padding-left: 3rem;
  line-height: 1.6;
  counter-increment: process-counter;
}

.process-steps li::before {
  content: counter(process-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.6;
}

/* ---------- 20. Footer ---------------------------------------------- */

.site-footer {
  background-color: var(--color-bg-footer);
  border-top: 1px solid var(--color-border);
  padding: var(--space-8) 0 var(--space-5);
  margin-top: var(--space-9);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.site-footer__brand .logo {
  display: inline-block;
  margin-bottom: var(--space-3);
}

.site-footer__tagline {
  color: var(--color-muted);
  font-size: 0.95rem;
  max-width: 36ch;
  margin: 0;
}

.site-footer__col-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-4);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__list a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color var(--t-base);
}

.site-footer__list a:hover {
  color: var(--color-accent);
}

.site-footer__divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-accent-soft) 20%,
    var(--color-accent-soft) 80%,
    transparent
  );
  border: 0;
  margin: 0 0 var(--space-5);
}

/* Footer "Find us on Google" row */
.site-footer__gbp {
  margin: 0 0 var(--space-5);
}

.gbp-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color var(--t-base),
              background-color var(--t-base),
              transform var(--t-base),
              box-shadow var(--t-base);
}

.gbp-link:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
  transform: translateY(-1px);
  box-shadow: 0 0 16px var(--color-accent-soft);
}

.gbp-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background-color: #ffffff;
  flex-shrink: 0;
}

.gbp-link__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.gbp-link__label {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-text);
}

.gbp-link__meta {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.gbp-link__arrow {
  margin-left: var(--space-3);
  color: var(--color-accent);
  font-size: 1.1rem;
  transition: transform var(--t-base);
}

.gbp-link:hover .gbp-link__arrow {
  transform: translateX(4px);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.site-footer__legal a {
  color: var(--color-muted);
}

.site-footer__legal a:hover {
  color: var(--color-accent);
}

/* ---------- 20. Skip link / a11y ------------------------------------ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-accent);
  color: var(--color-bg);
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-3);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- 21. Mobile (< 1024px) ----------------------------------- */

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* .process-grid is now a flex column — no column override needed */
  .service-layout { grid-template-columns: 200px 1fr; gap: var(--space-6); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- 22. Mobile (< 768px) ------------------------------------ */

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

  /* Make the mobile header fully opaque so logo/menu read cleanly against
     the page texture below. Lock its dimensions defensively. */
  .site-header {
    background-color: var(--color-bg-footer);
    border-bottom: 1px solid var(--color-border);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    height: var(--nav-height);
    min-height: var(--nav-height);
    max-height: var(--nav-height);
    padding: 0;
  }

  .site-header.is-scrolled {
    background-color: var(--color-bg-footer);
  }

  .site-header__inner {
    height: var(--nav-height);
    min-height: var(--nav-height);
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Trim the logo a touch so it never crowds the hamburger on small screens. */
  .site-header .logo {
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
  }

  /* Nav */
  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  /* Bars need to read clearly on a phone — bump weight and tighten spacing. */
  .nav-toggle__bars span { height: 2px; border-radius: 1px; }

  /* Mobile menu: hide with display:none, show with display:flex.
     The original used `transform: translateY(-110%)` to hide, but on iOS
     Safari at narrow widths the percentage was computed against an
     unstable element height, so the menu rendered visible by default. */
  .primary-nav {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--color-bg-footer);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-5);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
  }

  .primary-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .primary-nav__link {
    padding: var(--space-3) var(--space-4);
    border-radius: 0;
    border: none;
    text-align: center;
    display: inline-flex;
    width: auto;
  }

  .primary-nav__link:hover,
  .primary-nav__link.nav--active {
    border-color: transparent;
    background-color: transparent;
  }

  /* Underline indicator: reuse the ::after pseudo but show it on mobile */
  .primary-nav__link::after {
    display: block;
    bottom: 6px;
    height: 2px;
    background-color: var(--color-accent);
  }

  .primary-nav__link:hover::after,
  .primary-nav__link.nav--active::after {
    width: 100%;
  }

  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    margin-top: var(--space-2);
    box-shadow: none;
    background-color: transparent;
    border: 0;
    padding: 0 0 0 var(--space-4);
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base),
                opacity var(--t-base),
                visibility var(--t-base);
  }

  /* No hover bridge needed on mobile — it would float above the link. */
  .dropdown::before { display: none; }

  .primary-nav__item.is-open .dropdown {
    visibility: visible;
    pointer-events: auto;
    max-height: 400px;
    opacity: 1;
    transform: none;
  }

  /* Layout collapse */
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .feature-list { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 3rem 1fr; column-gap: var(--space-4); padding: var(--space-4) var(--space-5); }
  .step__number { font-size: 1.5rem; }
  .two-col,
  .two-col--narrow { grid-template-columns: 1fr; gap: var(--space-6); }
  .form__row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; }

  /* Hero */
  .hero { padding: calc(var(--nav-height) + var(--space-7)) 0 var(--space-7); }
  .hero--page { text-align: center; }
  .hero__actions { justify-content: center; }

  /* Footer */
  .site-footer__top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
  }

  .site-footer__list {
    align-items: center;
  }

  .site-footer__brand .site-footer__tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__bottom {
    justify-content: center;
    text-align: center;
  }

  .site-footer__legal {
    justify-content: center;
  }

  .site-footer__gbp {
    text-align: center;
  }

  .gbp-link {
    display: flex;
    width: 100%;
  }
}

/* Prevent scroll when mobile nav open */
body.nav-open {
  overflow: hidden;
}

/* ---------- 23. Reduced motion -------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 24. Light theme (prefers-color-scheme: light) -----------
   Mirrors the dark palette into a warm parchment + deep oak skin while
   preserving the gold accent identity. Visitors whose OS is set to
   "light" see this automatically; everyone else continues to see the
   default dark theme. No JS, no toggle.
   ------------------------------------------------------------------ */

@media (prefers-color-scheme: light) {

  :root {
    /* Surfaces — parchment family, lifted from the dark theme's text tone. */
    --color-bg:           #F5F0E8;
    --color-bg-elevated:  #FBF7EE;
    --color-bg-footer:    #ECE4D2;

    /* Ink — deep oak, slightly darker than the dark theme's bg for ample contrast. */
    --color-text:         #14271B;
    --color-muted:        #5C6B5F;

    /* Gold — deepened to ~AA contrast on cream while still reading as gold. */
    --color-accent:       #8B6A1A;
    --color-accent-soft:  rgba(139, 106, 26, 0.12);
    --color-accent-glow:  rgba(139, 106, 26, 0.28);

    /* Borders — translucent ink, since gold-tinted borders disappear on cream. */
    --color-border:       rgba(20, 39, 27, 0.12);
    --color-border-soft:  rgba(20, 39, 27, 0.06);

    /* Shadows — light-mode shadows are subtle; the dark recipe would look bruised. */
    --shadow-card:        0 1px 0 rgba(255, 255, 255, 0.6) inset,
                          0 6px 16px rgba(20, 39, 27, 0.08);
    --shadow-card-hover:  0 1px 0 rgba(255, 255, 255, 0.8) inset,
                          0 14px 28px rgba(20, 39, 27, 0.14),
                          0 0 0 1px var(--color-accent-soft);
  }

  /* Grain texture — flip from light dots on dark to dark dots on cream. */
  body::before {
    opacity: 0.035;
    background-image:
      radial-gradient(rgba(20, 39, 27, 1) 1px, transparent 1px),
      radial-gradient(rgba(20, 39, 27, 1) 1px, transparent 1px),
      radial-gradient(rgba(139, 106, 26, 0.55) 1px, transparent 1px);
  }

  /* Translucent header backgrounds — re-tinted for parchment. */
  .site-header {
    background-color: rgba(245, 240, 232, 0.78);
  }

  .site-header.is-scrolled {
    background-color: rgba(236, 228, 210, 0.92);
  }

  /* Hero glow — softened gold halo over cream. */
  .hero::after {
    background: radial-gradient(
      ellipse at top,
      rgba(139, 106, 26, 0.07),
      transparent 60%
    );
  }

  /* 404 number — gradient gold against transparent fade. */
  .error-code {
    background: linear-gradient(
      180deg,
      var(--color-accent) 0%,
      rgba(139, 106, 26, 0.22) 100%
    );
    -webkit-background-clip: text;
            background-clip: text;
  }

  /* Primary button — keep gold fill, but use deep oak text for clean AA contrast. */
  .btn--primary {
    color: var(--color-text);
  }

  .btn--primary:hover {
    color: var(--color-accent);
  }

  /* Skip link — cream text on the deeper gold reads cleanly already; no change needed. */

  /* Form select chevron — re-encode the SVG with the deeper gold stroke. */
  .form__select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%238B6A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='1,1.5 6,6.5 11,1.5'/></svg>");
  }

  /* Error status text — deeper salmon so it stays legible on cream. */
  .form__status--error {
    color: #B23A1F;
  }

  /* CTA panel halo */
  .cta {
    background-image: radial-gradient(
      ellipse at top,
      rgba(139, 106, 26, 0.07),
      transparent 65%
    );
  }

  /* Map filler — atmospheric tints rebuilt for cream. */
  .map-filler::before {
    background:
      radial-gradient(circle at 30% 70%, rgba(139, 106, 26, 0.06), transparent 55%),
      radial-gradient(circle at 70% 30%, rgba(139, 106, 26, 0.04), transparent 60%);
  }

  .map-filler__radius-ring {
    background-color: rgba(139, 106, 26, 0.05);
  }

  .map-filler__radius-ring--mid {
    border-color: rgba(139, 106, 26, 0.22);
    background-color: rgba(139, 106, 26, 0.07);
  }

  .map-filler__radius-ring--inner {
    border-color: rgba(139, 106, 26, 0.4);
    background-color: rgba(139, 106, 26, 0.13);
  }

  .map-filler__caption {
    background-color: rgba(245, 240, 232, 0.85);
  }
}

/* =======================================================================
   25. Eyebrow pill badge
   The eyebrow label becomes a small pill with a soft accent background,
   matching the reference design's section-label treatment.
   ======================================================================= */

.eyebrow {
  padding: 0.28rem 0.85rem;
  background-color: var(--color-accent-soft);
  border: 1px solid rgba(212, 168, 67, 0.22);
  border-radius: 999px;
}

@media (prefers-color-scheme: light) {
  .eyebrow {
    background-color: rgba(139, 106, 26, 0.1);
    border-color: rgba(139, 106, 26, 0.2);
  }
}

/* =======================================================================
   26. Section contrast / alternating backgrounds
   .section--alt   → slightly elevated surface (cards-on-cards feel)
   .section--stripe → full-width accent stripe for high-contrast breaks
   ======================================================================= */

.section--alt {
  background-color: var(--color-bg-elevated);
}

.section--stripe {
  background-color: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

@media (prefers-color-scheme: light) {
  .section--alt {
    background-color: rgba(20, 39, 27, 0.04);
  }
  .section--stripe {
    background-color: rgba(20, 39, 27, 0.05);
  }
}

/* =======================================================================
   27. Service-cards pyramid grid (home page, 5 cards)
   Row 1: 3 equal cards.  Row 2: 2 cards centered — upside-down pyramid.
   Uses a 6-column sub-grid so the bottom pair lands centred.
   ======================================================================= */

.grid--services-pyramid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-5);
}

.grid--services-pyramid > *:nth-child(1) { grid-column: span 2; }
.grid--services-pyramid > *:nth-child(2) { grid-column: span 2; }
.grid--services-pyramid > *:nth-child(3) { grid-column: span 2; }
.grid--services-pyramid > *:nth-child(4) { grid-column: 2 / span 2; }
.grid--services-pyramid > *:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 1024px) {
  .grid--services-pyramid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--services-pyramid > * {
    grid-column: span 1 !important;
  }
}

@media (max-width: 768px) {
  .grid--services-pyramid {
    grid-template-columns: 1fr;
  }
  .grid--services-pyramid > * {
    grid-column: span 1 !important;
  }
}

/* =======================================================================
   28. FAQ accordion
   Expandable accordion component used site-wide on FAQ sections.
   ======================================================================= */

/* Group container with an optional labeled heading */
.faq-group {
  margin-bottom: var(--space-8);
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group__heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-4);
}

/* List of items */
.faq {
  display: grid;
  gap: var(--space-2);
}

/* Individual accordion item */
.faq__item {
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.faq__item.is-open {
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-card);
}

/* Clickable trigger row */
.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-text);
}

.faq__trigger:hover .faq__question {
  color: var(--color-accent);
}

.faq__trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}

/* Question label */
.faq__question {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
  flex: 1;
  transition: color var(--t-base);
}

.faq__item.is-open .faq__question {
  color: var(--color-text);
}

/* Chevron icon */
.faq__chevron {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--color-muted);
  transition: transform var(--t-base), color var(--t-base);
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

/* Body – CSS grid trick for smooth height animation */
.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq__item.is-open .faq__body {
  grid-template-rows: 1fr;
}

.faq__body-inner {
  overflow: hidden;
}

/* Answer text */
.faq__answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-muted);
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0;
}

.faq__answer a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq__answer a:hover {
  opacity: 0.8;
}

/* Compact variant — used on service pages where FAQ is embedded in prose */
.faq--compact .faq__trigger {
  padding: var(--space-3) var(--space-4);
}

.faq--compact .faq__question {
  font-size: 0.875rem;
}

.faq--compact .faq__answer {
  font-size: 0.875rem;
  padding: 0 var(--space-4) var(--space-3);
}

@media (max-width: 768px) {
  .faq__trigger {
    padding: var(--space-4) var(--space-5);
  }

  .faq__answer {
    padding: 0 var(--space-5) var(--space-4);
  }
}

/* =======================================================================
   29. Glass / backdrop-blur card variant
   Used for cards that sit over textured or gradient backgrounds.
   ======================================================================= */

/* Why-we-built section layout */
.why-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.why-wrapper > .eyebrow {
  white-space: nowrap;
}

/* Why-we-built card — static content block, no hover lift */
.card--why {
  cursor: default;
  text-align: center;
}
.card--why:hover {
  transform: none;
  border-color: var(--color-border);
  box-shadow: none;
}

.card--why h2 {
  margin-bottom: var(--space-4);
}

.card--why p {
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

.why-cta {
  margin-top: var(--space-5);
  display: flex;
  justify-content: center;
}

/* Image as its own card below */
.card--why-image {
  margin-top: 0;
}

.card--why-image .media-placeholder {
  margin: 0;
  width: 100%;
}

.card--glass {
  background-color: rgba(15, 36, 22, 0.55);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-color: rgba(212, 168, 67, 0.14);
}

@media (prefers-color-scheme: light) {
  .card--glass {
    background-color: rgba(251, 247, 238, 0.65);
    border-color: rgba(20, 39, 27, 0.1);
  }
}

/* =======================================================================
   30. Map embed — border reset via CSS (replaces any inline style="border:0")
   ======================================================================= */

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-embed iframe {
  border: 0;
  display: block;
  width: 100%;
}

.map-card {
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}

/* =======================================================================
   31. Pricing grid — prevent tiers from stretching to match the tallest
   ======================================================================= */

.pricing-grid {
  align-items: start;
}

/* Cap individual tier feature-list text so very long lists don't create
   excessively tall cards on large screens. */
.tier__list {
  max-height: 420px;
  overflow: visible;
}

/* =======================================================================
   32. Process step cards — add hover lift to match card behaviour
   ======================================================================= */

.step {
  transition: transform var(--t-base),
              border-color var(--t-base),
              box-shadow var(--t-base);
}

.step:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-card);
}

/* =======================================================================
   33. Service-links helper (used in FAQ and service pages)
   ======================================================================= */

.service-links {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-muted);
}

.service-links a {
  color: var(--color-accent);
}

.service-links a:hover {
  color: var(--color-text);
}

/* =======================================================================
   34. Transparent "pill" feature highlight card
   Used for callout content sections (e.g. mobile-first, individual service
   pages) — a card with a highlighted left accent and larger border-radius.
   ======================================================================= */

.card--feature-highlight {
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-accent);
  background-color: var(--color-bg-elevated);
  padding: var(--space-6) var(--space-7);
}

.card--feature-highlight .eyebrow {
  margin-bottom: var(--space-3);
}


/* =======================================================================
   35. Light-mode overrides for new components
   ======================================================================= */

@media (prefers-color-scheme: light) {
  .faq__item {
    background-color: var(--color-bg-elevated);
    border-color: var(--color-border);
  }

  .step:hover,
  .faq__item:hover {
    box-shadow: 0 4px 20px rgba(20, 39, 27, 0.08);
  }

  .section--alt,
  .section--stripe {
    background-color: rgba(20, 39, 27, 0.04);
    border-color: rgba(20, 39, 27, 0.08);
  }
}

/* =======================================================================
   36. Benefits grid — 2-col card grid for "How this helps" on service pages
   ======================================================================= */

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.benefits-grid .card {
  cursor: default;
}

.benefits-grid .card__title {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  margin-bottom: var(--space-2);
}

.benefits-grid .card__body {
  font-size: 0.93rem;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}
