/* =====================================================================
   WPDeveloper.ca  "Editorial" design system
   Warm magazine layout: cream paper, ink, forest and terracotta.
   Fraunces (display serif) + Source Sans 3 (text), self-hosted.
   Every colour pair used for text meets WCAG 2.2 AA (4.5:1, 3:1 large/UI).
   ===================================================================== */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/assets/fonts/fraunces-latin.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/sourcesans3-var-latin.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/sourcesans3-italic-latin.woff2) format('woff2'); }

:root {
  --paper: #FBF6EE;     /* page */
  --paper-2: #F3ECE0;   /* tinted band */
  --sand: #EADFCF;      /* dividers, chips */
  --rule: #D8CBB6;      /* decorative hairlines */
  --edge: #8C7F70;      /* UI borders, 3.6:1 on paper */
  --ink: #1C1917;       /* text, 16:1 */
  --ink-2: #3F3832;
  --muted: #5C534A;     /* secondary text, 7:1 */
  --forest: #1F4D3A;    /* primary, 9:1 */
  --forest-deep: #14352A;
  --forest-ink: #C9D8CF;/* text on deep forest, 9:1 */
  --terra: #A33A23;     /* accent text and links, 6:1 */
  --terra-btn: #B8432A; /* button fill, white text 5.4:1 */
  --gold: #E8B04B;      /* highlight fill behind ink */
  --white: #fff;
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Source Sans 3', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --w: 1200px;
  --w-narrow: 760px;
  --gut: clamp(18px, 4vw, 40px);
  --r: 10px;
  --r-lg: 18px;
  --shadow: 0 1px 0 rgba(28,25,23,.04), 0 10px 30px -18px rgba(28,25,23,.35);
  --t1: clamp(2.35rem, 1.4rem + 4.2vw, 4.6rem);
  --t2: clamp(1.75rem, 1.2rem + 2.2vw, 2.85rem);
  --t3: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
  --mast-h: 64px;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--mast-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); font-kerning: normal; text-rendering: optimizeLegibility; overflow-x: hidden; }
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 650; line-height: 1.12; letter-spacing: -.012em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--t1); font-weight: 700; }
h2 { font-size: var(--t2); }
h3 { font-size: var(--t3); line-height: 1.25; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--terra); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--forest); text-decoration-thickness: 2px; }
strong { font-weight: 650; }
ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
::selection { background: var(--gold); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

/* Focus: always visible, 3:1 against every background used */
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible, .ed-dark :focus-visible { outline-color: var(--gold); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--paper); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.container.narrow, .narrow { max-width: calc(var(--w-narrow) + 2 * var(--gut)); }
.section { padding: clamp(48px, 7vw, 104px) 0; }
.section.tint, .ed-tint { background: var(--paper-2); }
.section:not(.tint):not(.ed-dark):not(.cta-band) + .section:not(.tint):not(.ed-dark):not(.cta-band) { padding-top: 0; }

/* ---------- Type helpers ---------- */
.eyebrow, .ed-kicker { display: inline-flex; align-items: center; gap: .6em; font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin: 0 0 1rem; }
.ed-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head { max-width: 760px; margin: 0 0 clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .sub, .sub { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
.section-head.center .sub { margin-left: auto; margin-right: auto; }
.lede, .page-lede { font-size: clamp(1.12rem, 1rem + .45vw, 1.35rem); line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }
.ed-num { font: 700 .85rem/1 var(--sans); letter-spacing: .12em; color: var(--terra); }

/* ---------- Buttons (44px+ targets) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 650 1rem/1.15 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--terra-btn); color: var(--white); }
.btn-primary:hover { background: #962F1B; color: var(--white); }
.btn-forest { background: var(--forest); color: var(--paper); }
.btn-forest:hover { background: var(--forest-deep); color: var(--paper); }
.btn-outline, .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover, .btn-ghost:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn-outline, .ed-dark .btn-outline { color: var(--paper); border-color: var(--paper); }
.on-dark .btn-outline:hover, .ed-dark .btn-outline:hover { background: var(--paper); color: var(--forest-deep); }
.btn-gold, a.btn-gold, .site-footer a.btn-gold, .on-dark a.btn-gold { background: var(--gold); color: var(--ink) !important; text-decoration: none; }
.btn-gold:hover { background: #F0C46F; color: var(--ink); }
.btn-block { width: 100%; }
.btn-text { font-weight: 650; color: var(--forest); text-decoration: none; display: inline-flex; align-items: center; gap: .4em; min-height: 44px; }
.btn-text::after { content: "\2192"; transition: transform .18s; }
.btn-text:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =====================================================================
   HEADER: masthead (utility row + centred wordmark + nav)
   ===================================================================== */
.util-bar { background: var(--forest-deep); color: var(--forest-ink); font-size: .9rem; }
.util-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.util-bar a { color: var(--paper); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.util-bar a:hover { color: var(--gold); }
.util-bar svg { width: 15px; height: 15px; }
.util-left { display: flex; align-items: center; gap: 18px; }
.util-right { display: flex; align-items: center; gap: 18px; }
.util-sos { font-weight: 650; color: var(--gold) !important; }
.util-note { color: var(--forest-ink); }
@media (max-width: 720px) { .util-bar .util-note, .util-bar .util-hide-sm { display: none; } .util-bar .util-sm-label { position: static !important; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: nowrap; } .util-bar .container { justify-content: center; gap: 20px; } .util-left { gap: 14px; } }

.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 60; }
.mast { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 12px; }
.mast-date { font: 600 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mast-cta { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.brand:hover { color: var(--ink); }
.brand-word { font: 700 clamp(1.55rem, 1.1rem + 1.6vw, 2.35rem)/1 var(--serif); letter-spacing: -.02em; }
.brand-word .bw-tld { color: var(--terra); }
.brand-tag { margin-top: 6px; font: 600 .7rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mast-nav { border-top: 1px solid var(--rule); }
.mast-nav > .container > ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; }
.mast-nav a, .mast-nav .nav-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; font: 650 .95rem/1 var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; border-bottom: 3px solid transparent; }
.mast-nav a:hover, .mast-nav .nav-btn:hover, .mast-nav .nav-btn[aria-expanded="true"] { border-bottom-color: var(--terra); color: var(--ink); }
.mast-nav a[aria-current="page"] { border-bottom-color: var(--forest); }
.nav-btn svg { width: 14px; height: 14px; transition: transform .18s; }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-panel { position: static; }
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); box-shadow: 0 24px 40px -28px rgba(28,25,23,.45); padding: 32px 0 36px; }
.nav-panel .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.np-h { font: 700 .75rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.np-list { list-style: none; margin: 0; padding: 0; }
.np-list a { display: block; padding: 9px 0; border-bottom: 1px solid var(--sand); color: var(--ink); text-decoration: none; min-height: 44px; }
.np-list a:hover { color: var(--terra); }
.np-list a strong { display: block; font: 650 1.02rem/1.3 var(--serif); }
.np-list a small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; margin-top: 2px; }
.np-feature { background: var(--forest-deep); color: var(--forest-ink); border-radius: var(--r-lg); padding: 24px; }
.np-feature p { color: var(--forest-ink); }
.np-feature .np-ft { font: 650 1.35rem/1.2 var(--serif); color: var(--paper); margin-bottom: 8px; }
.np-feature .np-proof { font-size: .9rem; margin: 14px 0 0; }
.menu-btn { display: none; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font-weight: 650; color: var(--ink); }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn:hover { background: var(--ink); color: var(--paper); }

/* Compact bar that slides in on desktop once the masthead scrolls away */
.mast-compact { position: fixed; top: 0; left: 0; right: 0; z-index: 70; background: rgba(251,246,238,.97); border-bottom: 1px solid var(--rule); transform: translateY(-110%); transition: transform .25s ease; visibility: hidden; }
.mast-compact.is-shown { transform: none; visibility: visible; }
@supports (backdrop-filter: blur(8px)) { .mast-compact { background: rgba(251,246,238,.9); backdrop-filter: saturate(140%) blur(8px); } }
.mast-compact .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--mast-h); }
.mast-compact .brand { flex-direction: row; }
.mast-compact .brand-word { font-size: 1.45rem; }
.mc-links { display: flex; align-items: center; gap: 6px; }
.mc-links a:not(.btn) { padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 650; color: var(--ink); text-decoration: none; }
.mc-links a:not(.btn):hover { color: var(--terra); }
.mc-links .menu-btn { display: inline-flex; }

@media (max-width: 960px) {
  .mast { grid-template-columns: 1fr auto; padding-top: 10px; padding-bottom: 10px; }
  .mast-date, .mast-nav, .brand-tag { display: none; }
  .brand { align-items: flex-start; }
  .brand-word { font-size: 1.6rem; }
  .mast-cta .btn-primary { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header { position: sticky; top: 0; }
  .mast-compact { display: none; }
  html { scroll-padding-top: 88px; }
}
@media (max-width: 380px) { .brand-word { font-size: 1.38rem; } .menu-btn .mb-label { display: none; } }

/* ---------- Drawer (right side, dialog) ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(20,22,18,.55); opacity: 0; transition: opacity .25s; border: 0; width: 100%; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 92vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); padding-bottom: env(safe-area-inset-bottom); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 2px solid var(--ink); }
.drawer-top .brand { flex-direction: row; }
.drawer-top .brand-word { font-size: 1.4rem; }
.drawer-close { min-width: 48px; min-height: 48px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-body { overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 24px; flex: 1; }
.dr-group { border-bottom: 1px solid var(--rule); }
.dr-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; background: none; border: 0; padding: 0; font: 650 1.3rem/1.2 var(--serif); color: var(--ink); text-align: left; }
.dr-toggle svg { width: 18px; height: 18px; transition: transform .2s; flex: none; }
.dr-toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.dr-links { list-style: none; margin: 0; padding: 0 0 14px; }
.dr-links a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; font-size: 1.05rem; padding-left: 2px; }
.dr-links a:hover { color: var(--terra); }
.dr-single { display: flex; align-items: center; min-height: 58px; font: 650 1.3rem/1.2 var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.dr-contact { margin-top: 20px; background: var(--paper-2); border-radius: var(--r-lg); padding: 18px; font-size: .98rem; }
.dr-contact p { margin: 0 0 6px; }
.dr-contact a { font-weight: 650; }
.dr-actions { display: grid; gap: 10px; margin-top: 16px; }
body.is-locked { overflow: hidden; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 960px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 8px max(12px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right)); background: var(--forest-deep); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.45); transition: transform .2s; }
  .action-bar.is-hidden { transform: translateY(120%); }
  .action-bar a { min-height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; font-size: 1rem; }
  .action-bar .ab-call { background: transparent; color: var(--paper); border: 2px solid var(--forest-ink); }
  .action-bar .ab-quote { background: var(--gold); color: var(--ink); }
  .action-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0 0; font-size: .92rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--edge); }
.breadcrumbs a { color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.breadcrumbs a:hover { color: var(--terra); }

/* =====================================================================
   PAGE HERO (inner pages): issue-style headline block
   ===================================================================== */
.page-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--rule); position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.2rem); }
.page-hero h1 { max-width: 18ch; margin-bottom: .35em; }
.page-hero .page-lede > p { margin: 0 0 .6em; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ph-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .92rem; color: var(--muted); }
.ph-meta span { display: inline-flex; align-items: center; gap: 8px; }
.ph-meta svg { width: 16px; height: 16px; color: var(--forest); }

/* Two-column editorial layout for prose pages: content + sticky rail */
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(32px, 5vw, 64px); }
.page-body .section { padding: 0 0 clamp(32px, 5vw, 56px); }
.page-body .container, .page-body .container.narrow { max-width: none; padding-left: 0; padding-right: 0; }
.page-main { min-width: 0; }
.page-rail { position: sticky; top: calc(var(--mast-h) + 20px); display: grid; gap: 22px; }
.rail-h { font: 700 .75rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin: 0 0 10px; }
.rail-toc { border-top: 2px solid var(--ink); padding-top: 14px; max-height: calc(100vh - 420px); overflow-y: auto; }
.rail-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: rt; }
.rail-toc li { counter-increment: rt; border-bottom: 1px solid var(--sand); }
.rail-toc a { display: grid; grid-template-columns: 2em 1fr; gap: 4px; padding: 8px 0; min-height: 40px; color: var(--ink-2); text-decoration: none; font-size: .94rem; line-height: 1.35; }
.rail-toc a::before { content: counter(rt, decimal-leading-zero); color: var(--forest); font: 700 .8rem/1.6 var(--serif); }
.rail-toc a:hover { color: var(--terra); }
.rail-card { background: var(--forest-deep); color: var(--forest-ink); border-radius: var(--r-lg); padding: 22px; }
.rail-card .rail-h { color: var(--gold); }
.rail-card p { color: var(--forest-ink); font-size: .95rem; }
.rail-t { font: 650 1.25rem/1.25 var(--serif); color: var(--paper) !important; margin-bottom: 6px; }
.rail-call { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 10px; color: var(--paper); font-weight: 650; text-decoration: none; }
.rail-call svg { width: 16px; height: 16px; }
.rail-proof { margin: 12px 0 0; font-size: .85rem !important; }
@media (max-width: 1020px) { .page-body { grid-template-columns: 1fr; } .page-rail { position: static; } .rail-toc { display: none; } .rail-card { display: none; } }

/* =====================================================================
   PROSE (service, city, industry, legal, generic pages)
   ===================================================================== */
.prose { max-width: 72ch; }
.prose > * + h2 { margin-top: 2.2em; }
.prose h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.2rem); padding-top: .65em; border-top: 2px solid var(--ink); }
.prose h3 { margin-top: 1.6em; font-size: 1.35rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.6em; margin: .55em 0; }
.prose ul > li::before { content: ""; position: absolute; left: .2em; top: .72em; width: .55em; height: .55em; border-radius: 2px; background: var(--terra); transform: rotate(45deg); }
.prose ol { counter-reset: ol; list-style: none; padding-left: 0; }
.prose ol > li { counter-increment: ol; position: relative; padding-left: 2.6em; margin: .9em 0; }
.prose ol > li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; top: .05em; font: 700 1rem/1.5 var(--serif); color: var(--forest); }
.prose blockquote { margin: 1.8em 0; padding: 0 0 0 1.2em; border-left: 4px solid var(--terra); font: 600 1.3rem/1.45 var(--serif); color: var(--ink); }
.prose img { border-radius: var(--r); }
.prose code { font-size: .92em; background: var(--sand); padding: .1em .35em; border-radius: 4px; }
.prose pre { overflow-x: auto; background: var(--ink); color: var(--paper); padding: 18px; border-radius: var(--r); font-size: .9rem; }
.prose pre code { background: none; padding: 0; }
.has-dropcap > p:first-of-type::first-letter { float: left; font: 700 3.6em/.8 var(--serif); color: var(--forest); padding: .08em .1em 0 0; }

/* Tables: wrapped in a labelled, focusable scroll region by the renderer */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--sand); }
thead th { background: var(--forest-deep); color: var(--paper); font: 650 .9rem/1.3 var(--sans); letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: #FDFAF5; }
@media (max-width: 640px) { th, td { padding: 10px 12px; min-width: 9rem; } }

/* Related, further reading */
.related { margin-top: 40px; border-top: 2px solid var(--ink); padding-top: 18px; }
.related h2 { font-size: 1.3rem; border: 0; padding: 0; margin: 0 0 12px; }
.related ul { list-style: none; margin: 0; padding: 0; columns: 2 280px; column-gap: 32px; }
.related li { break-inside: avoid; border-bottom: 1px solid var(--sand); }
.related li::before { display: none; }
.related a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.related a:hover { color: var(--terra); }

/* Location tags and grouped lists */
.loc-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.loc-tags a, .loc-tags li > a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--edge); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--white); font-size: .95rem; }
.loc-tags a:hover { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.loc-tags li::before { display: none !important; }
.loc-tags li { padding: 0 !important; margin: 0 !important; }
.geo-group { margin: 0 0 28px; }
.geo-group h3 { font-size: 1.2rem; }
.geo-sub { color: var(--muted); font-size: .95rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.seo-card { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--forest); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.seo-card h3 { font-size: 1.3rem; }
.seo-card ul { list-style: none; padding: 0; margin: 10px 0 0; }
.seo-card li { position: relative; padding-left: 1.4em; margin: .4em 0; color: var(--ink-2); }
.seo-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5em; height: .5em; background: var(--terra); transform: rotate(45deg); border-radius: 1px; }
.seo-card .price { font: 700 1.5rem/1.2 var(--serif); color: var(--forest); margin: 4px 0 2px; }
.seo-card .price small { display: block; font: 400 .88rem/1.4 var(--sans); color: var(--muted); }
.card-cta { margin-top: 14px; }

/* Rating strip: real figures only */
.rating-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 18px 22px; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--white); }
.rs-item { display: flex; align-items: center; gap: 12px; }
.rs-score { font: 700 2rem/1 var(--serif); color: var(--forest); }
.rs-stars { color: #8A5A00; letter-spacing: 2px; font-size: 1.05rem; }
.rs-meta { font-size: .95rem; color: var(--ink-2); line-height: 1.35; }
.rs-meta strong { display: block; color: var(--ink); }

/* =====================================================================
   FAQ (native details/summary: keyboard and screen-reader ready)
   ===================================================================== */
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font: 650 1.15rem/1.35 var(--serif); color: var(--ink); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center/12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 12px no-repeat; transition: transform .2s; }
.faq-item[open] > summary::after { background: linear-gradient(var(--paper), var(--paper)) center/12px 2px no-repeat; background-color: var(--ink); }
.faq-item > summary:hover { color: var(--terra); }
.faq-a { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
.faq-a p:last-child { margin-bottom: 0; }

/* =====================================================================
   LEAD FORM BAND
   ===================================================================== */
.cta-band { background: var(--forest-deep); color: var(--forest-ink); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 0% 0%, rgba(232,176,75,.12), transparent 60%); pointer-events: none; }
.cta-band .container { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: start; position: relative; }
.cta-left h2 { color: var(--paper); }
.cta-left .eyebrow { color: var(--gold); }
.cta-left .sub, .cta-left p { color: var(--forest-ink); }
.cta-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.cta-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--paper); }
.check-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.check-ico svg { width: 15px; height: 15px; }
.cta-contact { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(201,216,207,.35); font-size: .98rem; }
.cta-contact a { color: var(--paper); font-weight: 650; }
.quote-card { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 3.5vw, 36px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.qc-head h3 { font-size: 1.6rem; margin-bottom: 6px; }
.qc-head p { color: var(--muted); }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label, .mw-field label { display: block; font-weight: 650; font-size: .98rem; margin-bottom: 6px; color: var(--ink); }
.field .req, .req { color: var(--terra); font-weight: 700; }
.field .opt { color: var(--muted); font-weight: 400; font-size: .9rem; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--edge); border-radius: 8px; background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31,77,58,.3); }
input.invalid, select.invalid, textarea.invalid, [aria-invalid="true"] { border-color: var(--terra); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; }
.form-error { display: none; margin: 6px 0 0; color: var(--terra); font-size: .92rem; font-weight: 600; }
.form-error.show { display: block; }
.form-alert { display: none; margin-bottom: 14px; padding: 12px 14px; border-radius: 8px; background: #FBE9E4; color: #7A2414; border: 1px solid #E2B3A6; font-weight: 600; }
.form-alert.show { display: block; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: block; margin: 14px 0 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.qc-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.qc-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.form-consent a { color: var(--forest); }
.form-success { text-align: center; padding: 28px 8px; }
.form-success .tick { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--forest); color: var(--paper); display: flex; align-items: center; justify-content: center; }
.form-success .tick svg { width: 30px; height: 30px; }
@media (max-width: 860px) { .cta-band .container { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .quote-form .row { grid-template-columns: 1fr; gap: 0; } }

/* Requirements wizard (contact, pricing) */
.mw { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(18px, 3.5vw, 34px); box-shadow: var(--shadow); }
.mw-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.mw-bar { flex: 1; height: 6px; background: var(--sand); border-radius: 99px; overflow: hidden; }
.mw-bar span { display: block; height: 100%; background: var(--forest); border-radius: 99px; transition: width .25s; }
.mw-step-lbl { font-size: .9rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.mw-step { display: none; }
.mw-step.is-active { display: block; }
.mw-step h3 { font-size: 1.45rem; }
.mw-hint { color: var(--muted); }
.mw-label { font-weight: 700; margin: 16px 0 8px; font-size: .95rem; }
.mw-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.mw-choices-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.mw-choice, .mw-opt { text-align: left; padding: 16px; border: 2px solid var(--rule); border-radius: var(--r); background: var(--paper); min-height: 72px; transition: border-color .15s, background .15s; color: var(--ink); }
.mw-choice strong, .mw-opt strong { display: block; font: 650 1.05rem/1.3 var(--serif); }
.mw-choice span, .mw-opt span { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.mw-choice:hover, .mw-opt:hover { border-color: var(--forest); }
.mw-choice.is-sel, .mw-opt.is-sel, .mw-choice[aria-pressed="true"] { border-color: var(--forest); background: #E7EFE9; box-shadow: inset 0 0 0 1px var(--forest); }
.mw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--edge); background: var(--paper); font-weight: 600; color: var(--ink); }
.mw-chip.is-sel, .mw-chip[aria-pressed="true"] { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.mw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .mw-grid { grid-template-columns: 1fr; } }
.mw-field { margin-bottom: 14px; }
.mw-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.mw-error { display: none; margin-top: 12px; color: var(--terra); font-weight: 650; }
.mw-error.show { display: block; }
.mw-done { text-align: center; padding: 20px 0; }
.mw-talk { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--sand); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--muted); }
.mw-talk-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* =====================================================================
   BLOG INDEX, CARDS
   ===================================================================== */
.blog-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .18s, transform .18s; }
.blog-card:hover { border-color: var(--forest); color: var(--ink); transform: translateY(-2px); }
.blog-card h3 { font-size: 1.22rem; margin: 0; }
.blog-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.bc-tag { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.bc-meta { margin-top: auto; font-size: .88rem; color: var(--muted); }
.bc-arrow { font-weight: 650; color: var(--forest); }

/* Author cards and author pages */
.au-wrap { max-width: var(--w); }
.au-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.au-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--forest); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.au-card:hover { border-left-color: var(--terra); color: var(--ink); }
.au-card-cat { font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.au-card-t { font: 650 1.08rem/1.3 var(--serif); }
.au-card-m { font-size: .88rem; color: var(--muted); }
.au-card-person { flex-direction: row; align-items: center; gap: 14px; }
.au-hero { padding: clamp(32px, 5vw, 64px) 0; border-bottom: 1px solid var(--rule); }
.au-hero .au-wrap { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
@media (max-width: 640px) { .au-hero .au-wrap { grid-template-columns: 1fr; } }
.au-eyebrow { font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.au-hero-role { color: var(--muted); font-size: 1.1rem; }
.au-bio p { color: var(--ink-2); }
.au-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.au-count { display: inline-flex; align-items: center; justify-content: center; min-width: 2em; height: 2em; padding: 0 .5em; border-radius: 999px; background: var(--sand); font: 700 .9rem/1 var(--sans); vertical-align: middle; }
.av { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--forest); color: var(--paper); font: 700 1rem/1 var(--serif); flex: none; overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av-44 { width: 44px; height: 44px; } .av-48 { width: 48px; height: 48px; } .av-64 { width: 64px; height: 64px; font-size: 1.3rem; } .av-88 { width: 88px; height: 88px; font-size: 1.7rem; } .av-120 { width: 120px; height: 120px; font-size: 2.2rem; }
.ab-exp-h { font: 700 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.ab-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-chips li { padding: 6px 12px; background: var(--sand); border-radius: 999px; font-size: .9rem; color: var(--ink); }
.ab-chips li::before { display: none !important; }

/* =====================================================================
   ARTICLE (blog posts)
   ===================================================================== */
.art-head { padding: clamp(24px, 4vw, 56px) 0 clamp(20px, 3vw, 36px); border-bottom: 1px solid var(--rule); }
.art-container { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.art-crumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .92rem; color: var(--muted); }
.art-crumbs li { display: inline-flex; gap: 8px; align-items: center; }
.art-crumbs li + li::before { content: "/"; color: var(--edge); }
.art-crumbs a { color: var(--muted); }
.art-h1 { font-size: clamp(2.05rem, 1.3rem + 3vw, 3.6rem); max-width: 22ch; }
.art-dek { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 64ch; }
.art-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); }
.art-people { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.art-person { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.art-person-tx { display: flex; flex-direction: column; line-height: 1.3; }
.art-person-l { font-size: .95rem; }
.art-person-r { font-size: .85rem; color: var(--muted); }
.art-dates { margin: 0; color: var(--muted); font-size: .92rem; }
.art-note { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; font-size: .88rem; color: var(--muted); }
.art-note svg { flex: none; margin-top: 3px; }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 36px; padding-bottom: 56px; }
.art-main { min-width: 0; max-width: 740px; }
.art-prose { max-width: none; }
.art-intro { font-size: 1.15em; color: var(--ink); }
.art-side { position: relative; }
.art-toc { position: sticky; top: calc(var(--mast-h) + 20px); border-top: 2px solid var(--ink); padding-top: 14px; max-height: calc(100vh - 120px); overflow-y: auto; }
.art-toc-h { font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.art-toc ol { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: toc; }
.art-toc li { counter-increment: toc; border-bottom: 1px solid var(--sand); }
.art-toc a { display: grid; grid-template-columns: 2em 1fr; gap: 4px; padding: 9px 0; color: var(--ink-2); text-decoration: none; font-size: .95rem; line-height: 1.35; min-height: 40px; }
.art-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--forest); font: 700 .8rem/1.6 var(--serif); }
.art-toc a:hover, .art-toc a[aria-current="true"] { color: var(--terra); }
.art-toc-m { display: none; margin: 0 0 24px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); }
.art-toc-m summary { min-height: 52px; display: flex; align-items: center; padding: 0 16px; font-weight: 700; cursor: pointer; }
.art-toc-m ol { margin: 0; padding: 0 16px 14px 36px; }
.art-toc-m a { display: block; padding: 6px 0; min-height: 36px; }
.art-short { background: var(--paper-2); border-left: 4px solid var(--forest); border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; margin: 0 0 28px; }
.art-short-h { font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); margin-bottom: 8px; }
.art-short ul { margin: 0; padding-left: 1.1em; }
.art-short li { margin: .3em 0; color: var(--ink-2); }
.art-faq { margin-top: 48px; }
.art-faq h2 { font-size: 1.7rem; }
.art-cta-card { background: var(--forest-deep); color: var(--forest-ink); border-radius: var(--r-lg); padding: 22px; }
.art-cta-eyebrow { font: 700 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.art-cta-title { font: 650 1.3rem/1.25 var(--serif); color: var(--paper); margin: 0 0 8px; }
.art-cta-text { font-size: .95rem; color: var(--forest-ink); }
.art-cta-card .btn { width: 100%; margin-top: 6px; }
.art-cta-alt { display: inline-flex; min-height: 44px; align-items: center; color: var(--paper); font-size: .92rem; }
.art-related { margin-top: 40px; }
@media (max-width: 1020px) { .art-grid { grid-template-columns: 1fr; gap: 0; } .art-side { display: none; } .art-toc-m { display: block; } }

/* In-article CTA cards */
.quote-cta, .blog-inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 2.2em 0; padding: 22px 24px; border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--rule); border-left: 5px solid var(--terra); }
.quote-cta-tx, .blog-inline-cta p { margin: 0; flex: 1 1 300px; color: var(--ink); }
.quote-cta-tx strong, .blog-inline-cta strong { display: block; font: 650 1.2rem/1.3 var(--serif); margin-bottom: 4px; }
.quote-cta .btn, .blog-inline-cta .btn { flex: none; }
.chart { margin: 1.8em 0; padding: 18px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); }
.chart svg { width: 100%; height: auto; }
.chart figcaption, .chart .chart-cap { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.article-sources { margin-top: 40px; padding: 18px 22px; background: var(--paper-2); border-radius: var(--r); font-size: .95rem; }
.article-sources h2 { font-size: 1.2rem; border: 0; padding: 0; }
.article-sources ol { margin: 0; padding-left: 1.3em; }
.src-pub { color: var(--muted); }

/* Author box */
.ab-box { margin-top: 48px; padding: 26px; border: 1px solid var(--rule); border-top: 4px solid var(--ink); border-radius: var(--r); background: var(--white); }
.ab-title { font-size: 1.2rem; }
.ab-head { display: flex; gap: 16px; align-items: center; }
.ab-name { font: 650 1.2rem/1.2 var(--serif); margin: 0; }
.ab-name a { color: var(--ink); text-decoration: none; }
.ab-role { color: var(--muted); margin: 2px 0 0; font-size: .95rem; }
.ab-tx p { color: var(--ink-2); }
.ab-review { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--sand); display: flex; gap: 12px; align-items: center; }
.ab-rev-l { margin: 0; font-size: .95rem; }
.ab-std { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }

/* =====================================================================
   HAND-WRITTEN GUIDE PAGES (compare/, cost/, guides/, resources/, tools/)
   ===================================================================== */
.sw-wrap { max-width: calc(var(--w-narrow) + 2 * var(--gut)); margin: 0 auto; padding: 8px var(--gut) 24px; }
.sw-eyebrow { font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.sw-lead { font-size: 1.2rem; color: var(--ink-2); }
.sw-sec { margin: 2rem 0; }
.sw-sec h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); padding-top: .6em; border-top: 2px solid var(--ink); }
.sw-table { width: 100%; }
.sw-cta { margin: 2.2rem 0; padding: 24px; border-radius: var(--r-lg); background: var(--forest-deep); color: var(--forest-ink); }
.sw-cta h2, .sw-cta h3, .sw-cta strong { color: var(--paper); border: 0; padding: 0; }
.sw-cta p { color: var(--forest-ink); }
.sw-cta a:not(.btn) { color: var(--paper); }
.sw-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.sw-faq details { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.sw-faq summary { font: 650 1.1rem/1.35 var(--serif); cursor: pointer; min-height: 44px; display: flex; align-items: center; }

/* Cost calculator */
.calc { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); margin: 1.2em 0 2em; }
.calc-set { border: 0; padding: 0; margin: 0 0 18px; }
.calc-set legend { font: 650 1.15rem/1.3 var(--serif); margin-bottom: 10px; padding: 0; }
.calc-opt { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 12px 14px; margin-bottom: 8px; border: 2px solid var(--rule); border-radius: var(--r); cursor: pointer; min-height: 48px; }
.calc-opt:hover { border-color: var(--forest); }
.calc-opt:has(input:checked) { border-color: var(--forest); background: #EEF4F0; }
.calc-opt input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--forest); }
.calc-opt strong { display: block; }
.calc-out { background: var(--forest-deep); color: var(--forest-ink); border-radius: var(--r); padding: 18px 20px; margin: 6px 0 14px; }
.calc-out p { color: var(--forest-ink) !important; margin: 0; }
.calc-k { font: 700 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold) !important; }
.calc-v { font: 700 clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem)/1.2 var(--serif); color: var(--paper) !important; margin: 4px 0 6px !important; }

/* Nonprofit offer */
.np-offer { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--terra); border-radius: var(--r); padding: 24px; }

/* Notices */
.post-notice, .sh-callout, .ed-note { padding: 16px 20px; background: var(--paper-2); border-left: 4px solid var(--forest); border-radius: 0 var(--r) var(--r) 0; margin: 1.5em 0; color: var(--ink-2); }
.sh-footer-note, .sh-contact-note { color: var(--muted); font-size: .95rem; }

/* =====================================================================
   FOOTER: colophon
   ===================================================================== */
.site-footer { border-top: 1px solid rgba(201,216,207,.25); background: var(--forest-deep); color: var(--forest-ink); padding: clamp(48px, 7vw, 88px) 0 28px; font-size: .98rem; }
.site-footer a:not(.btn) { color: var(--paper); text-decoration: none; }
.site-footer a.btn-outline { color: var(--paper); }
.site-footer a:not(.btn):hover { color: var(--gold); text-decoration: underline; }
.colo-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid rgba(201,216,207,.3); }
.colo-sign { font: 650 clamp(1.8rem, 1.2rem + 2.4vw, 3.1rem)/1.12 var(--serif); color: var(--paper); margin: 0; max-width: 20ch; }
.colo-sign em { color: var(--gold); font-style: italic; }
.colo-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.colo-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 1.3fr; gap: 28px; padding: 40px 0; }
.colo-col h2 { font: 700 .76rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.colo-col ul { list-style: none; margin: 0; padding: 0; }
.colo-col li a { display: inline-flex; align-items: center; min-height: 36px; padding: 2px 0; color: var(--forest-ink); line-height: 1.35; }
.colo-col li a:hover { color: var(--paper); }
.colo-col details > summary { list-style: none; }
.colo-col details > summary::-webkit-details-marker { display: none; }
.colo-contact address { font-style: normal; line-height: 1.6; }
.colo-contact p { margin: 0 0 10px; }
.colo-contact a { font-weight: 650; }
.colo-hours { color: var(--forest-ink); font-size: .92rem; }
.colo-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 22px; border-top: 1px solid rgba(201,216,207,.3); font-size: .9rem; }
.colo-legal nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.colo-legal nav a { display: inline-flex; min-height: 36px; align-items: center; color: var(--forest-ink); }
.colo-tm { margin: 18px 0 0; font-size: .85rem; color: var(--forest-ink); max-width: 100ch; }
.site-footer .colo-parent a, .site-footer p a:not(.btn), .site-footer address a { text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 1100px) { .colo-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .colo-contact { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .colo-top { grid-template-columns: 1fr; align-items: start; }
  .colo-cta { justify-content: flex-start; }
  .colo-cols { grid-template-columns: 1fr; gap: 0; padding: 16px 0 28px; }
  .colo-col { border-bottom: 1px solid rgba(201,216,207,.3); }
  .colo-col h2 { margin: 0; }
  .colo-col details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; }
  .colo-col details > summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--gold); }
  .colo-col details[open] > summary::after { content: "\2212"; }
  .colo-col ul { padding-bottom: 14px; }
  .colo-col li a { min-height: 44px; }
  .colo-contact { border-bottom: 0; padding-top: 22px; }
}
@media (min-width: 761px) { .colo-col details > summary { pointer-events: none; } }

/* =====================================================================
   HOMEPAGE (ed-*)
   ===================================================================== */
.ed-hero { padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 6vw, 88px); border-bottom: 1px solid var(--rule); }
.ed-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ed-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.8vw, 5.2rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: .3em; }
.ed-hero h1 em { font-style: italic; color: var(--forest); }
.ed-hero h1 .ul { background: linear-gradient(transparent 72%, rgba(232,176,75,.6) 72%); }
.ed-hero-grid > * { min-width: 0; }
@media (max-width: 900px) { .ed-hero-grid { grid-template-columns: 1fr; } }
.ed-hero .lede { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
.ed-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.ed-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); list-style: none; }
.ed-proof li { display: flex; align-items: center; gap: 10px; font-size: .98rem; color: var(--ink-2); }
.ed-proof strong { font: 700 1.5rem/1 var(--serif); color: var(--forest); }

/* Health report card */
.hr-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: 0 40px 70px -40px rgba(28,25,23,.55); overflow: hidden; }
.hr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--forest-deep); color: var(--paper); }
.hr-top p { margin: 0; font: 650 1.1rem/1.2 var(--serif); color: var(--paper); }
.hr-top span { font-size: .82rem; color: var(--forest-ink); }
.hr-rows { list-style: none; margin: 0; padding: 6px 20px 8px; }
.hr-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--sand); }
.hr-row:last-child { border-bottom: 0; }
.hr-name { font-weight: 650; color: var(--ink); }
.hr-detail { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); }
.hr-badge { font: 700 .78rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.hr-ok { background: #DDEBE2; color: #17402F; }
.hr-warn { background: #F8E7C4; color: #6B4300; }
.hr-bad { background: #F6DAD2; color: #7A2414; }
.hr-meter { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.hr-meter span { display: block; height: 100%; background: var(--forest); border-radius: 99px; }
.hr-foot { padding: 14px 20px; background: var(--paper-2); font-size: .92rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.hr-caption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* Contents strip */
.ed-contents { border-bottom: 1px solid var(--rule); background: var(--paper); }
.ed-contents ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ed-contents li { border-right: 1px solid var(--rule); }
.ed-contents li:last-child { border-right: 0; }
.ed-contents a { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; min-height: 84px; text-decoration: none; color: var(--ink); }
.ed-contents a span { font: 700 .75rem/1 var(--sans); letter-spacing: .12em; color: var(--terra); }
.ed-contents a strong { font: 650 1.02rem/1.25 var(--serif); }
.ed-contents a:hover { background: var(--paper-2); }
@media (max-width: 960px) { .ed-contents ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ed-contents li:nth-child(3n) { border-right: 0; } .ed-contents li:nth-child(-n+3) { border-bottom: 1px solid var(--rule); } }
@media (max-width: 560px) { .ed-contents ol { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; } .ed-contents li { flex: 0 0 62%; scroll-snap-align: start; border-bottom: 0 !important; border-right: 1px solid var(--rule) !important; } }

/* Section header with number */
.ed-head { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: end; margin-bottom: clamp(28px, 4vw, 52px); padding-top: 18px; border-top: 3px solid var(--ink); }
.ed-head .ed-no { font: 700 clamp(2.4rem, 1.6rem + 3vw, 4.4rem)/.9 var(--serif); color: var(--terra); }
.ed-head h2 { margin: 0; max-width: 22ch; }
.ed-head p { grid-column: 2; margin: 6px 0 0; color: var(--muted); max-width: 62ch; font-size: 1.08rem; }
@media (max-width: 640px) { .ed-head { grid-template-columns: 1fr; } .ed-head p { grid-column: 1; } }
.ed-dark .ed-head { border-top-color: var(--paper); }
.ed-dark .ed-head h2 { color: var(--paper); }
.ed-dark .ed-head p { color: var(--forest-ink); }
.ed-dark .ed-head .ed-no { color: var(--gold); }

/* Service spreads */
.ed-spreads { display: grid; gap: 0; }
.ed-spread { display: grid; grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.ed-spread:first-child { padding-top: 0; }
.ed-spread .sp-no { font: 700 2.4rem/1 var(--serif); color: var(--forest); }
.ed-spread h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .35em; }
.ed-spread h3 a { color: var(--ink); text-decoration: none; }
.ed-spread h3 a:hover { color: var(--terra); }
.ed-spread p { color: var(--ink-2); }
.sp-list { list-style: none; margin: 0; padding: 0; columns: 2 180px; column-gap: 20px; }
.sp-list li { break-inside: avoid; position: relative; padding-left: 1.3em; margin: 0 0 .5em; color: var(--ink-2); font-size: .98rem; }
.sp-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45em; height: .45em; background: var(--terra); transform: rotate(45deg); }
@media (max-width: 860px) { .ed-spread { grid-template-columns: 1fr; gap: 10px; } .ed-spread .sp-no { font-size: 1.6rem; } }

/* Two-column feature spread */
.ed-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ed-two.flip > :first-child { order: 2; }
@media (max-width: 900px) { .ed-two { grid-template-columns: 1fr; } .ed-two.flip > :first-child { order: 0; } }
.ed-pull { font: 600 clamp(1.4rem, 1.1rem + 1.2vw, 2rem)/1.3 var(--serif); color: var(--ink); border-left: 5px solid var(--terra); padding-left: 22px; margin: 0 0 24px; }
.ed-dark .ed-pull { color: var(--paper); border-left-color: var(--gold); }
.ed-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ed-checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.ed-checks li::before { content: ""; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF6EE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.ed-checks strong { color: var(--ink); }
.ed-dark .ed-checks li { color: var(--forest-ink); }
.ed-dark .ed-checks strong { color: var(--paper); }
.ed-dark .ed-checks li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1917' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); }

/* Dark band */
.ed-dark { background: var(--forest-deep); color: var(--forest-ink); }
.ed-dark h2, .ed-dark h3 { color: var(--paper); }
.ed-dark p { color: var(--forest-ink); }
.ed-dark a:not(.btn) { color: var(--paper); }
.ed-dark a:not(.btn):hover { color: var(--gold); }
.ed-dark .eyebrow { color: var(--gold); }

/* Block editor illustration (CSS only) */
.ed-blocks { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); }
.eb-bar { display: flex; gap: 6px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--sand); margin-bottom: 12px; font-size: .85rem; color: var(--muted); }
.eb-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--sand); display: inline-block; }
.eb-block { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 12px; border: 1px dashed var(--edge); border-radius: 8px; margin-bottom: 10px; background: var(--paper); }
.eb-block.is-sel { border: 2px solid var(--forest); background: #EEF4F0; }
.eb-ico { width: 34px; height: 34px; border-radius: 8px; background: var(--forest); color: var(--paper); display: flex; align-items: center; justify-content: center; font: 700 .8rem/1 var(--sans); }
.eb-t { font-weight: 650; color: var(--ink); line-height: 1.3; }
.eb-t small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }

/* Store / commerce figure */
.ed-store { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-item { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); padding: 12px; }
.st-img { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, var(--sand), var(--paper-2)); display: flex; align-items: center; justify-content: center; color: var(--forest); }
.st-img svg { width: 42%; height: auto; }
.st-name { font-weight: 650; font-size: .92rem; margin: 8px 0 2px; color: var(--ink); }
.st-meta { font-size: .82rem; color: var(--muted); }
.st-checkout { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--forest-deep); color: var(--paper); border-radius: var(--r); padding: 14px 16px; font-size: .95rem; }
.st-checkout span { color: var(--forest-ink); }
@media (max-width: 480px) { .ed-store { grid-template-columns: 1fr 1fr; } .st-item:nth-child(3) { display: none; } }

/* Vitals gauges */
.ed-gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gauge { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 20px; text-align: center; }
.gauge svg { width: 110px; height: 110px; margin: 0 auto 8px; display: block; }
.gauge .g-k { font: 700 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.gauge .g-v { font: 700 1.5rem/1.1 var(--serif); color: var(--ink); margin: 6px 0 4px; }
.gauge p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 640px) { .ed-gauges { grid-template-columns: 1fr; } .gauge { display: grid; grid-template-columns: 88px 1fr; text-align: left; gap: 4px 14px; align-items: center; } .gauge svg { width: 80px; height: 80px; margin: 0; grid-row: span 3; } }

/* Security timeline */
.ed-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 0; }
.ed-steps > li { counter-increment: st; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(201,216,207,.3); }
.ed-steps > li::before { content: counter(st, decimal-leading-zero); font: 700 2rem/1 var(--serif); color: var(--gold); }
.ed-steps h3 { font-size: 1.25rem; margin: 0 0 6px; }
.ed-steps p { margin: 0; }
.ed-light .ed-steps > li { border-bottom-color: var(--rule); }
.ed-light .ed-steps > li::before { color: var(--terra); }

/* Care plan table */
.ed-plan { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.ed-plan-row { display: grid; grid-template-columns: minmax(7rem, .45fr) 1fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--sand); }
.ed-plan-row:last-child { border-bottom: 0; }
.ed-plan-row dt { font-weight: 650; color: var(--ink); }
.ed-plan-row dd { margin: 0; color: var(--ink-2); }
.ed-plan-head { background: var(--forest-deep); color: var(--paper); padding: 18px 22px; }
.ed-plan-head p { margin: 0; color: var(--forest-ink); }
.ed-plan-head strong { display: block; font: 650 1.5rem/1.2 var(--serif); color: var(--paper); }
@media (max-width: 560px) { .ed-plan-row { grid-template-columns: 1fr; gap: 4px; } }

/* Migration route */
.ed-route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.ed-route div { padding: 20px; border-right: 1px solid var(--rule); position: relative; }
.ed-route div:last-child { border-right: 0; }
.ed-route .rt-k { font: 700 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.ed-route h3 { font-size: 1.2rem; margin: 8px 0 6px; }
.ed-route p { font-size: .95rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .ed-route { grid-template-columns: 1fr 1fr; } .ed-route div:nth-child(2) { border-right: 0; } .ed-route div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }
@media (max-width: 520px) { .ed-route { grid-template-columns: 1fr; } .ed-route div { border-right: 0; border-bottom: 1px solid var(--rule); } .ed-route div:last-child { border-bottom: 0; } }
.ed-from { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ed-from li { padding: 8px 14px; border-radius: 999px; background: var(--sand); font-weight: 600; font-size: .95rem; }

/* MLS feature */
.ed-mls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mls-card { background: rgba(255,255,255,.06); border: 1px solid rgba(201,216,207,.3); border-radius: var(--r); padding: 18px; }
.mls-card h3 { font-size: 1.15rem; margin: 0 0 6px; }
.mls-card p { font-size: .95rem; margin: 0; }
@media (max-width: 560px) { .ed-mls { grid-template-columns: 1fr; } }

/* Comparison table */
.ed-compare th:first-child, .ed-compare td:first-child { font-weight: 650; color: var(--ink); }

/* Pricing bands */
.ed-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pr-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 22px; }
.pr-card.is-feat { border: 2px solid var(--forest); box-shadow: var(--shadow); }
.pr-k { font: 700 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.pr-card h3 { font-size: 1.3rem; margin: 8px 0 4px; }
.pr-v { font: 700 1.55rem/1.15 var(--serif); color: var(--forest); margin: 6px 0 4px; }
.pr-u { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.pr-card ul { list-style: none; margin: 0 0 16px; padding: 0; }
.pr-card li { position: relative; padding-left: 1.3em; margin: .35em 0; font-size: .96rem; color: var(--ink-2); }
.pr-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45em; height: .45em; background: var(--terra); transform: rotate(45deg); }
.pr-card .btn-text { margin-top: auto; }
.ed-fine { font-size: .92rem; color: var(--muted); margin-top: 18px; max-width: 80ch; }
@media (max-width: 1100px) { .ed-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ed-prices { grid-template-columns: 1fr; } }

/* Process */
.ed-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: pr; border-top: 2px solid var(--ink); }
.ed-process li { counter-increment: pr; padding: 22px 20px 0 0; }
.ed-process li::before { content: counter(pr, decimal-leading-zero); display: block; font: 700 1.9rem/1 var(--serif); color: var(--terra); margin-bottom: 10px; }
.ed-process h3 { font-size: 1.2rem; margin: 0 0 6px; }
.ed-process p { font-size: .96rem; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) { .ed-process { grid-template-columns: 1fr 1fr; gap: 0 20px; } }
@media (max-width: 560px) { .ed-process { grid-template-columns: 1fr; } .ed-process li { display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-bottom: 1px solid var(--rule); } .ed-process li::before { grid-row: span 2; } }

/* Industries and cities */
.ed-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); list-style: none; margin: 0; padding: 0; }
.ed-index li { border-bottom: 1px solid var(--rule); }
.ed-index a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 60px; padding: 12px 16px 12px 0; font: 650 1.12rem/1.25 var(--serif); color: var(--ink); text-decoration: none; }
.ed-index a::after { content: "\2192"; font-family: var(--sans); color: var(--terra); transition: transform .18s; }
.ed-index a:hover { color: var(--terra); }
.ed-index a:hover::after { transform: translateX(4px); }
@media (max-width: 960px) { .ed-index { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (max-width: 520px) { .ed-index { grid-template-columns: 1fr; } }
.ed-cities { columns: 4 170px; column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.ed-cities li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.ed-cities a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.ed-cities a:hover { color: var(--terra); }

/* Hosting and builders notes */
.ed-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ed-col { border-top: 2px solid var(--ink); padding-top: 16px; }
.ed-col h3 { font-size: 1.25rem; }
.ed-col p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 860px) { .ed-cols3 { grid-template-columns: 1fr; } }

/* Guides */
.ed-guides { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.ed-guides .blog-card:first-child { grid-row: span 2; background: var(--forest-deep); border-color: var(--forest-deep); color: var(--paper); justify-content: flex-end; min-height: 320px; }
.ed-guides .blog-card:first-child h3 { color: var(--paper); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.ed-guides .blog-card:first-child p, .ed-guides .blog-card:first-child .bc-meta { color: var(--forest-ink); }
.ed-guides .blog-card:first-child .bc-tag { color: var(--gold); }
.ed-guides .blog-card:first-child .bc-arrow { color: var(--gold); }
@media (max-width: 960px) { .ed-guides { grid-template-columns: 1fr 1fr; } .ed-guides .blog-card:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 240px; } }
@media (max-width: 560px) { .ed-guides { grid-template-columns: 1fr; } }

/* Who we are */
.ed-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ed-person { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 20px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.ed-person h3 { font-size: 1.2rem; margin: 0 0 2px; }
.ed-person .pp-r { color: var(--muted); font-size: .92rem; margin: 0 0 8px; }
.ed-person p { font-size: .98rem; color: var(--ink-2); margin: 0; }
@media (max-width: 720px) { .ed-people { grid-template-columns: 1fr; } }

/* Final CTA strip */
.ed-final { text-align: center; }
.ed-final h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.ed-final p { max-width: 60ch; margin-left: auto; margin-right: auto; }
.ed-final .ed-hero-actions { justify-content: center; }

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }

/* Print */
@media print {
  .util-bar, .mast-nav, .mast-compact, .drawer, .action-bar, .cta-band, .menu-btn, .art-side, .site-footer .colo-cols { display: none !important; }
  body { background: #fff; padding: 0; font-size: 12pt; }
  a { color: #000; }
}
