@charset "utf-8";

/* ==========================================================================
   Campbell River Home Access — shared stylesheet
   Used by all pages: index, services, about, referrals, contact
   ========================================================================== */

:root {
  --bg: #FAF8F5;
  --bg-warm: #F0EBE3;
  --bg-tan: #D8CEC2;
  --bg-dark: #2A2522;
  --text: #1E1B18;
  --text-mid: #3D3830;
  --text-light: #6B6560;
  --accent: #7D5A2F;
  --accent-pale: #E8D9C4;
  --sage: #4A6B50;
  --sage-pale: #DCE9DE;
  --border: #D8CEC2;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(44,40,34,0.08);
  --shadow-lg: 0 12px 48px rgba(44,40,34,0.12);
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable.woff2') format('woff2-variations'),
       url('../fonts/cormorant-garamond-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2-variations'),
       url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/dm-sans-variable.woff2') format('woff2-variations'),
       url('../fonts/dm-sans-variable.woff2') format('woff2');
}

*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ===== Layout ===== */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 44px; }
.container-narrow { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 44px; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-top { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--text); letter-spacing: 0.01em; }
.nav-logo-sub { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 16px; font-weight: 500; letter-spacing: 0.04em; color: var(--text-mid); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 500; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s !important;
  border-bottom: none !important;
}
.nav-cta:hover { background: rgb(94, 66, 33) !important; transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Services dropdown submenu — opens on hover/focus on desktop, always inline on mobile */
.nav-links .has-submenu { position: relative; }
.nav-submenu { list-style: none; margin: 0; padding: 8px 0; display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 100; }
.nav-submenu li { padding: 0; }
.nav-submenu a { display: block; padding: 8px 18px; font-size: 14px; color: var(--text); white-space: nowrap; }
.nav-submenu a:hover { background: var(--bg-warm); color: var(--accent); }
.has-submenu:hover .nav-submenu,
.has-submenu:focus-within .nav-submenu { display: block; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  padding: 15px 30px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: rgba(125, 90, 47, 0.25) 0 2px 12px;
}
.btn-primary:hover { background: rgb(94, 66, 33); transform: translateY(-2px); box-shadow: rgba(125, 90, 47, 0.3) 0 6px 20px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 15px 30px; border-radius: var(--radius);
  font-size: 15px; font-weight: 400; letter-spacing: 0.02em;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-pale); transform: translateY(-2px); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--accent);
  padding: 15px 30px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  box-shadow: rgba(0, 0, 0, 0.15) 0 2px 16px;
}
.btn-white:hover { background: var(--bg); transform: translateY(-2px); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 15px 30px; border-radius: var(--radius);
  font-size: 15px; font-weight: 400;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.8); transform: translateY(-2px); }

/* ===== Section primitives ===== */
section { padding: 88px 0; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 16px;
}
.section-eyebrow::before { content: ""; display: block; width: 24px; height: 1px; background: var(--accent); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500; line-height: 1.2;
  color: var(--text); letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section-lead { font-size: 18px; color: var(--text-mid); line-height: 1.75; font-weight: 400; max-width: 580px; }

/* ===== HOMEPAGE: Hero ===== */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; background: var(--bg); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(80% 60% at 70% 50%, rgba(200, 170, 120, 0.12) 0%, transparent 70%),
    radial-gradient(40% 80% at 85% 20%, rgba(125, 90, 47, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 24px;
}
.hero-eyebrow::before { content: ""; display: block; width: 32px; height: 1px; background: var(--accent); }
.hero-headline {
  font-family: var(--serif); font-size: clamp(38px, 5vw, 58px);
  font-weight: 500; line-height: 1.15; color: var(--text);
  letter-spacing: -0.01em; margin-bottom: 24px;
}
.hero-headline em { font-style: italic; font-weight: 500; color: var(--accent); }
.hero-sub { font-size: 19px; color: var(--text-mid); line-height: 1.7; font-weight: 400; margin-bottom: 40px; max-width: 460px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-contact-line { margin-top: 32px; display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text-mid); }
.hero-contact-line a { color: var(--text); font-weight: 500; transition: color 0.2s; }
.hero-contact-line a:hover { color: var(--accent); }
.hero-visual { position: relative; }
.hero-photo-wrap { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-placeholder {
  width: 100%; aspect-ratio: 4 / 3;
  background: var(--bg-warm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; border: 2px dashed var(--border); border-radius: 12px;
}
.photo-placeholder svg { width: 48px; height: 48px; opacity: 0.3; }
.photo-placeholder span { font-size: 13px; color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-deco { position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px; border: 2px solid var(--accent-pale); border-radius: 50%; pointer-events: none; }

/* ===== Trust bar ===== */
.trust-bar { background: var(--bg-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text-mid); font-weight: 500; }
.trust-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ===== HOMEPAGE: About intro ===== */
.about-intro { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual .photo-placeholder { aspect-ratio: 3 / 4; }
.about-body p { font-size: 18px; line-height: 1.8; color: var(--text-mid); font-weight: 400; margin-bottom: 20px; }
.about-body p:last-of-type { margin-bottom: 32px; }
.about-creds { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--bg-warm); border-radius: var(--radius); border-left: 3px solid var(--accent); }
.about-cred-item { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--text-mid); font-weight: 400; }
.about-cred-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }

/* ===== HOMEPAGE: Services preview ===== */
.services-section { background: var(--bg); }
.services-intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 32px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 32px; transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--accent-pale); }
.service-card-icon { width: 44px; height: 44px; background: var(--accent-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-card-icon svg { width: 22px; height: 22px; color: var(--accent); }
.service-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.service-card p { font-size: 16px; color: var(--text-mid); line-height: 1.7; font-weight: 400; }
.service-card-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.service-card-list li { font-size: 16px; color: var(--text-mid); padding-left: 16px; position: relative; }
.service-card-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-size: 12px; }
.services-footer { text-align: center; margin-top: 48px; }

/* ===== HOMEPAGE: Why us ===== */
.why-us { background: var(--bg-dark); color: var(--white); }
.why-us .section-eyebrow { color: var(--accent-pale); }
.why-us .section-eyebrow::before { background: var(--accent-pale); }
.why-us .section-title { color: var(--white); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.pillar { padding: 32px 24px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; background: rgba(255, 255, 255, 0.03); transition: background 0.25s, border-color 0.25s; }
.pillar:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.pillar-num { font-family: var(--serif); font-size: 42px; color: var(--accent); opacity: 0.6; font-weight: 400; line-height: 1; margin-bottom: 16px; }
.pillar h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--white); margin-bottom: 12px; }
.pillar p { font-size: 16px; color: rgba(255, 255, 255, 0.75); line-height: 1.7; font-weight: 400; }

/* ===== HOMEPAGE: How it works ===== */
.how-it-works { background: var(--bg-warm); }
.section-tan { background: var(--bg-tan); }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; position: relative; }
.steps-row::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: var(--border); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 20px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent-pale); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--accent); box-shadow: rgba(125, 90, 47, 0.1) 0 2px 12px; }
.step h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--text-mid); line-height: 1.7; font-weight: 400; }

/* ===== CTA banner ===== */
.cta-banner { background: var(--accent); padding: 72px 0; }
.cta-banner-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-banner h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); font-weight: 500; color: var(--white); margin-bottom: 16px; line-height: 1.2; }
.cta-banner p { font-size: 18px; color: rgba(255, 255, 255, 0.92); margin-bottom: 36px; font-weight: 400; line-height: 1.7; }
.cta-pair { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Warm-cream variant of .cta-banner — for service-page rotation slots.
   Place buttons with .btn-primary / .btn-secondary inside (not .btn-white). */
.cta-banner--warm { background: var(--bg-warm); }
.cta-banner--warm h2 { color: var(--text); }
.cta-banner--warm p { color: var(--text-mid); }

/* ===== Inner page hero ===== */
.page-hero { background: var(--bg-warm); border-bottom: 1px solid var(--border); padding: 80px 0 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 80% at 92% 50%, rgba(125, 90, 47, 0.09) 0%, transparent 65%); pointer-events: none; }
.page-hero-inner { position: relative; max-width: 760px; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 18px;
}
.page-eyebrow::before { content: ""; display: block; width: 28px; height: 1px; background: var(--accent); }
.page-title {
  font-family: var(--serif); font-size: clamp(34px, 5vw, 52px);
  font-weight: 500; line-height: 1.15; color: var(--text);
  letter-spacing: -0.01em; margin-bottom: 20px;
}
.page-title em { font-style: italic; font-weight: 500; color: var(--accent); }
.page-lead { font-size: 18px; color: var(--text-mid); font-weight: 400; line-height: 1.75; }

/* Dark variant for referrals */
.page-hero--dark { background: var(--bg-dark); border-bottom: none; }
.page-hero--dark::before { background: radial-gradient(50% 70% at 85% 50%, rgba(125, 90, 47, 0.18) 0%, transparent 65%), radial-gradient(30% 50% at 10% 80%, rgba(74, 107, 80, 0.12) 0%, transparent 60%); }
.page-hero--dark .page-eyebrow { color: var(--accent-pale); }
.page-hero--dark .page-eyebrow::before { background: var(--accent-pale); }
.page-hero--dark .page-title { color: var(--white); }
.page-hero--dark .page-title em { color: var(--accent-pale); }
.page-hero--dark .page-lead { color: rgba(255, 255, 255, 0.78); max-width: 620px; }

/* Image-left variant for /for-families hero */
.page-hero--image-left .page-hero-grid { grid-template-columns: 380px 1fr; }

/* ===== ABOUT page ===== */
.story-section { background: var(--white); padding: 88px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.story-photo-stack { position: relative; }
.story-photo-main { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); }
.story-photo-main .photo-placeholder { aspect-ratio: 4 / 5; }
.story-photo-accent { position: absolute; bottom: -28px; right: -28px; width: 52%; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid var(--white); }
.story-photo-accent .photo-placeholder { aspect-ratio: 4 / 3; border-radius: 6px; }
.story-body { padding-top: 8px; }
.story-body p { font-size: 18px; color: var(--text-mid); line-height: 1.8; font-weight: 400; margin-bottom: 20px; }
.story-body p:last-child { margin-bottom: 0; }

.apart-section { background: var(--bg); padding: 88px 0; }
.apart-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.apart-header .section-eyebrow { justify-content: center; }
.apart-header .section-eyebrow::before { display: none; }
.apart-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.apart-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 36px 30px; transition: box-shadow 0.25s, transform 0.2s; }
.apart-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.apart-card-icon { width: 48px; height: 48px; background: var(--accent-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.apart-card-icon svg { width: 24px; height: 24px; color: var(--accent); }
.apart-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 12px; line-height: 1.2; }
.apart-card p { font-size: 16px; color: var(--text-mid); line-height: 1.7; font-weight: 400; }

.values-strip { background: var(--bg-dark); padding: 80px 0; }
.values-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center; }
.values-left h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 500; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.values-left p { font-size: 17px; color: rgba(255, 255, 255, 0.65); line-height: 1.75; font-weight: 400; }
.values-right { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value-item { padding: 24px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; background: rgba(255, 255, 255, 0.03); transition: background 0.2s; }
.value-item:hover { background: rgba(255, 255, 255, 0.06); }
.value-item h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.value-item p { font-size: 15px; color: rgba(255, 255, 255, 0.75); line-height: 1.65; }

.boundary-section { background: var(--white); padding: 80px 0; }
.boundary-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.boundary-copy h2 { font-family: var(--serif); font-size: clamp(26px, 3.5vw, 38px); font-weight: 500; color: var(--text); line-height: 1.2; margin-bottom: 24px; }
.boundary-copy p { font-size: 18px; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.boundary-copy p:last-child { margin-bottom: 0; }
.boundary-box { background: var(--bg-warm); border: 1px solid var(--border); border-radius: 12px; padding: 36px; }
.boundary-box h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.pairs { display: flex; flex-direction: column; gap: 16px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.55; padding: 12px 14px; border-radius: var(--radius); }
.pair-item.yes { background: rgba(74, 107, 80, 0.1); color: var(--text-mid); }
.pair-item.no { background: rgba(44, 40, 34, 0.05); color: var(--text-light); }
.pair-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.pair-item.yes svg { color: var(--sage); }
.pair-item.no svg { color: var(--border); }

.cta-section { background: var(--accent); padding: 80px 0; }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); font-weight: 500; color: var(--white); margin-bottom: 16px; line-height: 1.2; }
.cta-inner p { font-size: 18px; color: rgba(255, 255, 255, 0.9); line-height: 1.7; margin-bottom: 36px; }

/* ===== REFERRALS page ===== */
.intro-section { background: var(--white); padding: 80px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intro-body h2 { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 40px); font-weight: 500; color: var(--text); line-height: 1.2; margin-bottom: 24px; }
.intro-body p { font-size: 18px; color: var(--text-mid); line-height: 1.8; font-weight: 400; margin-bottom: 20px; }
.intro-body p:last-child { margin-bottom: 0; }
.who-panel { background: var(--bg-warm); border: 1px solid var(--border); border-radius: 12px; padding: 36px; }
.who-panel h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 24px; }
.who-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.who-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; color: var(--text-mid); line-height: 1.6; }
.who-list li svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; margin-top: 3px; }
.who-list li strong { color: var(--text); display: block; font-size: 15px; margin-bottom: 2px; }
.who-list li span { font-size: 14px; color: var(--text-light); }

.referral-flow { background: var(--bg); padding: 80px 0; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.flow-steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: var(--border); z-index: 0; }
.flow-step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.flow-step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent-pale); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--accent); box-shadow: rgba(125, 90, 47, 0.1) 0 2px 12px; }
.flow-step h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.flow-step p { font-size: 15px; color: var(--text-mid); line-height: 1.7; font-weight: 400; }

.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.boundary-card { border-radius: 10px; padding: 36px; }
.boundary-card-yes { background: var(--sage-pale); border: 1px solid rgba(74, 107, 80, 0.2); }
.boundary-card-no { background: rgb(245, 240, 236); border: 1px solid var(--border); }
.boundary-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.boundary-card-header svg { width: 22px; height: 22px; }
.boundary-card-yes .boundary-card-header svg { color: var(--sage); }
.boundary-card-no .boundary-card-header svg { color: var(--text-light); }
.boundary-card-header h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--text); }
.boundary-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.boundary-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--text-mid); line-height: 1.6; }
.boundary-list li::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 8px; }
.boundary-card-yes .boundary-list li::before { background: var(--sage); }
.boundary-card-no .boundary-list li::before { background: var(--border); }

.refer-panel { background: var(--bg-warm); padding: 80px 0; }
.refer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.refer-copy h2 { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 40px); font-weight: 500; color: var(--text); line-height: 1.2; margin-bottom: 20px; }
.refer-copy p { font-size: 18px; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.refer-copy p:last-child { margin-bottom: 0; }
.refer-contact-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.refer-card-top { background: var(--bg-dark); padding: 28px 32px; }
.refer-card-top h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: 6px; }
.refer-card-top p { font-size: 15px; color: rgba(255, 255, 255, 0.65); }
.refer-card-body { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.refer-card-divider { height: 1px; background: var(--border); margin: 4px 0; }
.refer-card-note { font-size: 14px; color: var(--text-light); line-height: 1.65; padding-top: 4px; }
.refer-card-cta { display: flex; padding: 0 32px 32px; }
.contact-method { display: flex; align-items: center; gap: 16px; }
.contact-method-icon { width: 44px; height: 44px; background: var(--accent-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-method-text { display: flex; flex-direction: column; }
.contact-method-text span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 3px; }
.contact-method-text a { font-size: 18px; font-weight: 500; color: var(--text); transition: color 0.2s; }
.contact-method-text a:hover { color: var(--accent); }

/* ===== CONTACT page ===== */
.contact-main { padding: 80px 0 96px; }
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: start; }
.form-column h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--text); margin-bottom: 10px; }
.form-column > p { font-size: 17px; color: var(--text-mid); line-height: 1.7; margin-bottom: 36px; }
.contact-sidebar { display: flex; flex-direction: column; gap: 24px; }

.direct-contact-card { background: var(--bg-dark); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.direct-card-header { padding: 28px 32px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.direct-card-header h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.direct-card-header p { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.direct-card-body { padding: 24px 32px 32px; display: flex; flex-direction: column; gap: 20px; }
.direct-contact-item { display: flex; align-items: center; gap: 16px; }
.direct-contact-icon { width: 44px; height: 44px; background: rgba(255, 255, 255, 0.07); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.direct-contact-icon svg { width: 20px; height: 20px; color: var(--accent-pale); }
.direct-contact-text { display: flex; flex-direction: column; }
.direct-contact-text span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 3px; }
.direct-contact-text a { font-size: 18px; font-weight: 500; color: var(--white); transition: color 0.2s; }
.direct-contact-text a:hover { color: var(--accent-pale); }
.card-divider { height: 1px; background: rgba(255, 255, 255, 0.08); }
.response-note { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.75); padding-top: 4px; }
.response-note svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.5; }

.expect-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.expect-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.expect-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.expect-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-mid); line-height: 1.65; }
.expect-num { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-pale); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

.no-pressure { background: var(--bg-warm); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 12px; align-items: flex-start; }
.no-pressure svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.no-pressure p { font-size: 15px; color: var(--text-mid); line-height: 1.65; }

.form-placeholder { background: var(--white); border: 2px dashed var(--border); border-radius: 10px; padding: 48px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 420px; text-align: center; }
.form-placeholder svg { width: 40px; height: 40px; color: var(--accent); opacity: 0.4; }
.form-placeholder h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--text-mid); }
.form-placeholder p { font-size: 15px; color: var(--text-light); line-height: 1.65; max-width: 340px; }
.form-placeholder code { display: inline-block; background: var(--bg-warm); border: 1px solid var(--border); border-radius: 4px; padding: 3px 10px; font-size: 13px; color: var(--accent); font-family: monospace; }

.service-area { background: var(--white); border-top: 1px solid var(--border); padding: 48px 0; }
.service-area-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.service-area-icon { width: 48px; height: 48px; background: var(--accent-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-area-icon svg { width: 22px; height: 22px; color: var(--accent); }
.service-area-text h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.service-area-text p { font-size: 16px; color: var(--text-mid); }
.service-area-text a { color: var(--accent); font-weight: 500; border-bottom: 1px solid var(--accent-pale); transition: border-color 0.2s; }
.service-area-text a:hover { border-color: var(--accent); }

/* ===== SERVICES page ===== */
.boundary-note { background: var(--white); padding: 24px 0; border-bottom: 1px solid var(--border); }
.boundary-note-inner { display: flex; align-items: flex-start; gap: 14px; max-width: 880px; margin: 0 auto; padding: 16px 20px; background: var(--bg-warm); border-radius: var(--radius); border: 1px solid var(--border); }
.boundary-note-icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--accent); }
.boundary-note p { font-size: 15px; line-height: 1.65; color: var(--text-mid); margin: 0; }

.services-main { padding: 64px 0 80px; }
.services-main .container { max-width: 980px; }
.service-category { margin-bottom: 56px; }
.category-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--accent); }
.category-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--accent-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.category-icon svg { width: 22px; height: 22px; color: var(--accent); }
.category-header-text h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--text); line-height: 1.2; margin-bottom: 4px; }
.category-header-text p { font-size: 15px; color: var(--text-light); margin: 0; }
.service-items { display: flex; flex-direction: column; gap: 20px; padding-left: 60px; }
.service-item { display: flex; gap: 14px; align-items: flex-start; }
.service-item-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; margin-top: 12px; }
.service-item-body h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.service-item-body p { font-size: 16px; color: var(--text-mid); line-height: 1.65; margin: 0; }

.permit-note { display: flex; gap: 14px; align-items: flex-start; padding: 24px; background: var(--bg-warm); border-left: 3px solid var(--accent); border-radius: var(--radius); margin: 32px 0; }
.permit-note svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.permit-note p { font-size: 15px; color: var(--text-mid); line-height: 1.65; margin: 0; }

.quote-strip { background: var(--bg-warm); border: 1px solid var(--border); border-radius: 12px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 32px; }
.quote-strip-text h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.quote-strip-text p { font-size: 15px; color: var(--text-mid); line-height: 1.65; margin: 0; max-width: 420px; }
.quote-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.quote-strip-image { flex: 0 0 auto; width: 200px; max-width: 100%; }
.quote-strip-image img { width: 100%; height: auto; display: block; border-radius: 8px; object-fit: cover; aspect-ratio: 4 / 3; }

/* ===== Disclaimer + footer ===== */
.disclaimer-strip { background: var(--bg); border-top: 1px solid var(--border); padding: 32px 0; }
.disclaimer-text { font-size: 15px; color: var(--text-mid); line-height: 1.75; max-width: 840px; }

.site-footer { background: var(--bg-dark); color: rgba(255, 255, 255, 0.6); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-brand-name { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: 6px; }
.footer-brand-sub { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-pale); margin-bottom: 16px; }
.footer-tagline { font-size: 15px; line-height: 1.7; font-weight: 400; color: rgba(255, 255, 255, 0.75); max-width: 280px; }
.footer-col h3, .site-footer h3 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 16px; color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: rgba(255, 255, 255, 0.8); margin-bottom: 10px; }
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; opacity: 0.5; }
.footer-contact-item a { color: rgba(255, 255, 255, 0.75); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.footer-bottom a { color: rgba(255, 255, 255, 0.7); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.8); }

/* ===== Generic image + content two-column layout (service pages) ===== */
.media-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; margin-top: 32px; }
.media-grid--reverse { grid-template-columns: 1fr 320px; }

/* ===== Responsive ===== */
/* ===== Nav fit (2026-09-26) =====
   Seven top-level items since "Funding" was added. Labels never break across two lines;
   spacing tightens below 1200px, and the menu switches to the hamburger below 1120px
   (was 640px) so it never wraps onto a second row on tablets and small laptops. */
.nav-links a { white-space: nowrap; }
@media (max-width: 1200px) {
  .nav-links { gap: 24px; }
}
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 24px 44px; gap: 16px; z-index: 99;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-toggle { display: flex; }
  .nav-submenu { position: static; display: block; box-shadow: none; border: none; background: transparent; padding: 8px 0 0 16px; min-width: 0; }
  .nav-submenu a { padding: 8px 0; white-space: normal; }
}
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .apart-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-sidebar { flex-flow: wrap; }
  .direct-contact-card, .expect-card, .no-pressure { flex: 1 1 300px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-grid, .story-grid, .intro-grid, .refer-inner, .boundary-inner, .page-hero-grid, .media-grid, .media-grid--reverse { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row, .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps-row::before, .flow-steps::before { display: none; }
  .values-inner { grid-template-columns: 1fr; gap: 40px; }
  .boundary-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-items { padding-left: 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 20px 24px; gap: 16px; z-index: 99;
    max-height: calc(100vh - 72px);    /* fallback for browsers without dvh */
    max-height: calc(100dvh - 72px);   /* tracks real visible viewport as URL bar shows/hides */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-toggle { display: flex; }
  .nav-submenu { position: static; display: block; box-shadow: none; border: none; background: transparent; padding: 8px 0 0 16px; min-width: 0; }
  .nav-submenu a { padding: 6px 0; white-space: normal; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-row, .flow-steps { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .apart-grid { grid-template-columns: 1fr; }
  .values-right { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .trust-bar-inner { gap: 24px; flex-direction: column; }
  .services-intro { flex-direction: column; align-items: flex-start; }
  .quote-strip { padding: 28px 24px; }
  .quote-strip-actions { flex-direction: column; width: 100%; }
  .quote-strip-actions .btn-primary, .quote-strip-actions .btn-secondary { justify-content: center; }
  .quote-strip-image { width: 100%; max-width: 280px; margin: 0 auto; }
  .form-placeholder { padding: 32px 24px; }
}

/* ===== FAQ section (services.html, also reusable) ===== */
.faq {
  padding: 4rem 0;
}
.faq .eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #55504A; /* was #6b6b6b: 3.4:1 on tan, 4.49:1 on cream (2026-10-16) */
  margin-bottom: 0.5rem;
}
.faq h2 {
  margin-bottom: 2rem;
}
.faq-item {
  border-bottom: 1px solid #e5e0d8;
  padding: 1rem 0;
}
.faq-item summary {
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-answer {
  padding-top: 0.75rem;
  color: #4a4a4a;
  line-height: 1.6;
}
.faq-answer p {
  margin: 0;
}

/* ===== Real images inside .photo-placeholder wrappers — suppress placeholder visuals ===== */
.photo-placeholder:has(> img) {
  background: none;
  border: none;
  padding: 0;
  gap: 0;
}
.photo-placeholder:has(> img) > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* ===== Contact form (self-hosted, replaces Tally embed) ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 640px;
}
.contact-form label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 18px 0 6px;
}
.contact-form label:first-of-type { margin-top: 4px; }
.contact-form .req { color: var(--accent); font-weight: 400; }
.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(125, 90, 47, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #b3402b;
  background: #fdf6f4;
}
.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: rgba(125, 90, 47, 0.25) 0 2px 12px;
  margin-top: 28px;
  align-self: flex-start;
}
.contact-form button[type="submit"]:hover {
  background: rgb(94, 66, 33);
  transform: translateY(-2px);
  box-shadow: rgba(125, 90, 47, 0.3) 0 6px 20px;
}
.contact-form button[type="submit"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.form-field-error {
  font-size: 14px;
  color: #b3402b;
  margin: 6px 0 0;
  line-height: 1.5;
}
.form-footnote {
  font-size: 14px;
  color: var(--text-light);
  margin: 16px 0 0;
  line-height: 1.6;
}

/* Honeypot field — hidden from real users; bots fill it and get rejected */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Success and error states (post-submit) */
.form-success,
.form-error-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 40px;
  max-width: 640px;
  box-shadow: var(--shadow);
}
.form-success {
  border-left: 4px solid var(--sage);
}
.form-error-box {
  border-left: 4px solid #b3402b;
}
.form-success h2,
.form-error-box h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.25;
}
.form-success p,
.form-error-box p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}
.form-success p:last-child,
.form-error-box p:last-child { margin-bottom: 0; }
.form-success a,
.form-error-box a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-pale);
  transition: border-color 0.2s;
}
.form-success a:hover,
.form-error-box a:hover { border-color: var(--accent); }

/* ===== Disclaimer strip — centered text and centered box ===== */
.disclaimer-strip {
  text-align: center;
}
.disclaimer-strip > * {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== In-prose link affordance — non-color cue per WCAG 1.4.1 ===== */
.story-body a,
.disclaimer-strip a,
.hero-contact-line a,
p a:not(.btn-primary):not(.btn-secondary):not(.btn-white):not(.btn-outline-white):not(.nav-cta) {
  text-decoration: underline;
  text-decoration-color: var(--accent-pale);
  text-underline-offset: 3px;
}
p a:hover {
  text-decoration-color: var(--accent);
}

/* ===== Readable text links (2026-09-26) =====
   Links inside page content: standard link blue, always underlined, so visitors can
   see what is clickable. Buttons and the nav CTA are excluded. Footer is outside <main>. */
main a:not(.btn-primary):not(.btn-secondary):not(.btn-white):not(.btn-outline-white):not(.nav-cta) {
  color: #1a0dab;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
}
main a:not(.btn-primary):not(.btn-secondary):not(.btn-white):not(.btn-outline-white):not(.nav-cta):visited {
  color: #681da8;
}
main a:not(.btn-primary):not(.btn-secondary):not(.btn-white):not(.btn-outline-white):not(.nav-cta):hover,
main a:not(.btn-primary):not(.btn-secondary):not(.btn-white):not(.btn-outline-white):not(.nav-cta):focus-visible {
  color: #0b0080;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

/* Hero image direct-child selector — bypasses .photo-placeholder wrappers on other pages */
.hero-photo-wrap > img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
}

/* Homepage hero only — scoped fix for Safari <15 grid+aspect-ratio collapse.
   .hero-inner exists only on index.html, so this affects no other .hero-photo-wrap usage.
   Padding-top:75% locks the wrapper to 4:3 without using the aspect-ratio property.
   Absolutely positioned img fills the wrapper. Long-form offsets (not `inset`) for Safari 14.0 compatibility. */
.hero-inner .hero-photo-wrap {
  width: 100%;
  padding-top: 75%;
}
.hero-inner .hero-photo-wrap > img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Tables ===== */
.table-wrap {
  margin-top: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.6;
}
.table-wrap thead {
  background: var(--bg-warm);
}
.table-wrap th,
.table-wrap td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.table-wrap th {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.table-wrap td {
  color: var(--text-mid);
}
.table-wrap tbody tr:last-child th,
.table-wrap tbody tr:last-child td {
  border-bottom: none;
}

.footer-cleanout { margin: 0; }
.footer-updated { color: rgba(255, 255, 255, 0.55); }

/* ===== Service status block ===== */
.service-status {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.service-status p { margin: 4px 0; font-size: 15px; color: var(--text-mid); line-height: 1.6; }
.service-status p strong { color: var(--text); }

/* 2026-10-16: eyebrow labels on the tan background were 4.0:1 contrast (WCAG AA needs 4.5). Darker brown = 5.3:1. */
.section-tan .section-eyebrow { color: #664923; }
.section-tan .section-eyebrow::before { background: #664923; }
