/* WAFS — ledger-paper layout: navy hero band ruled like accounting paper, content in a single readable column with a sidebar on service pages. */
:root {
  --paper: #f5f8fa;
  --surface: #ffffff;
  --ink: #0e1c2b;
  --ink-2: #4a5b6c;
  --rule: #d6e0e8;
  --brand: #149dcc;          /* existing WAFS blue */
  --brand-deep: #0a6a8e;     /* blue that passes contrast on white */
  --brand-tint: #e3f3f9;
  --navy: #0c2436;
  --navy-ink: #e8f1f6;
  --navy-ink-2: #9fb6c6;
  --ok: #1f7a4d;
  --err: #b3261e;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 6px;
  --max: 1160px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}
/* Always light, even when the visitor's phone or computer is in dark mode */
:root { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 750; font-stretch: 112%; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700; font-stretch: 108%; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow {
  font: 500 0.78rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-deep);
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font: 800 1.35rem/1 var(--f-display); font-stretch: 125%; letter-spacing: 0.06em; }
.brand-name span { font: 500 0.68rem/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.98rem;
  padding: 8px 14px; border-radius: var(--radius);
}
.nav a:hover { background: var(--brand-tint); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand-deep); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand); color: #04212e; }
.btn-primary:hover { background: #2bb0de; color: #04212e; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(127,180,210,.14); color: inherit; }
.btn-sm { padding: 10px 16px; font-size: 0.95rem; }
.header-call { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Three-line menu button (phones and small screens) that turns into an X when open */
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  background: none; border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink);
}
.menu-toggle .bars { position: relative; display: block; width: 20px; height: 14px; }
.menu-toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.menu-toggle:hover { background: var(--brand-tint); }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .header-call { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
         background: var(--surface); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .nav .nav-call { display: inline-flex; }
}
@media (min-width: 861px) { .nav .nav-call { display: none; } }

/* ---------- Ledger band (hero + page headers) ---------- */
.ledger {
  position: relative; background-color: var(--navy); color: var(--navy-ink); overflow: hidden;
  background-image:
    linear-gradient(90deg, transparent calc(var(--margin, 7%) - 3px), rgba(20,157,204,.55) calc(var(--margin, 7%) - 3px), rgba(20,157,204,.55) calc(var(--margin, 7%) - 2px), transparent calc(var(--margin, 7%) - 2px), transparent var(--margin, 7%), rgba(20,157,204,.55) var(--margin, 7%), rgba(20,157,204,.55) calc(var(--margin, 7%) + 1px), transparent calc(var(--margin, 7%) + 1px)),
    repeating-linear-gradient(180deg, transparent 0 35px, rgba(159,182,198,.10) 35px 36px);
}
.ledger .eyebrow { color: #7fd3f0; }
.ledger a:not(.btn) { color: #9fe0f6; }

.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-block: 88px 96px; }
.hero h1 { margin-top: 18px; }
.hero h1 em { font-style: normal; color: #7fd3f0; }
.hero .lede { margin-top: 22px; font-size: 1.2rem; color: var(--navy-ink-2); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .actions .btn-ghost { color: var(--navy-ink); }
.creds { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(159,182,198,.22);
  font: 500 0.8rem/1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-ink-2); }
.creds span::before { content: "✓"; color: var(--brand); margin-right: 8px; }

/* Practice-area ledger card */
.ledger-card { background: var(--surface); color: var(--ink); border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); overflow: hidden; }
.ledger-card header { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 22px; border-bottom: 2px solid var(--ink); }
.ledger-card header strong { font: 700 1rem var(--f-display); font-stretch: 112%; }
.ledger-card header span { font: 500 0.72rem var(--f-mono); color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; }
.ledger-card ol { list-style: none; margin: 0; padding: 0; }
.ledger-card li + li { border-top: 1px solid var(--rule); }
.ledger-card a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 22px; text-decoration: none; color: var(--ink); transition: background .15s; }
.ledger-card a:hover { background: var(--brand-tint); color: var(--ink); }
.ledger-card .t { font-weight: 650; }
.ledger-card .d { grid-column: 1; font: 400 0.8rem/1.4 var(--f-mono); color: var(--ink-2); }
.ledger-card .arrow { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--brand-deep); font-weight: 700; }
.ledger-card footer { border-top: 2px solid var(--ink); box-shadow: 0 -4px 0 -2px var(--surface), 0 -5px 0 -2px var(--ink); padding: 14px 22px; font: 500 0.8rem var(--f-mono); color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.page-head .wrap { padding-block: 64px 56px; }
.page-head h1 { margin-top: 14px; font-size: clamp(2rem, 4.2vw, 3rem); max-width: 22ch; }
.page-head .lede { margin-top: 18px; font-size: 1.15rem; color: var(--navy-ink-2); max-width: 40em; }
.crumbs { font: 500 0.8rem var(--f-mono); letter-spacing: .06em; color: var(--navy-ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 64px 72px; gap: 44px; }
  .ledger { --margin: 14px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: grid; gap: 14px; max-width: 46em; margin-bottom: 44px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.pillars article { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.pillars article + article { padding-left: 28px; border-left: 1px solid var(--rule); }
.pillars p { color: var(--ink-2); }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars article, .pillars article + article { padding: 24px 0; border-left: 0; }
  .pillars article + article { border-top: 1px solid var(--rule); }
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li { border: 1px solid var(--rule); background: var(--surface); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 0.97rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.portrait { position: relative; max-width: 380px; aspect-ratio: 427 / 560; background: var(--brand-tint); border-radius: 8px; overflow: hidden; }
.portrait::before { content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center; font: 800 4rem var(--f-display); color: var(--brand-deep); font-stretch: 120%; }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portrait-caption { margin-top: 14px; font: 500 0.82rem/1.5 var(--f-mono); color: var(--ink-2); }
.portrait-caption strong { display: block; font: 700 1.05rem var(--f-display); color: var(--ink); }

.prose { display: grid; gap: 18px; max-width: 42em; }
.prose p { color: var(--ink); }
.prose .muted { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); margin-top: 8px; }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 500 0.74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 4px 0 0; font-weight: 650; }
.facts div:nth-child(odd) { padding-right: 20px; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* Service cards (services page) */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.svc { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.svc:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); }
.svc p { color: var(--ink-2); }
.svc ul { margin: 0; padding: 0; list-style: none; font: 400 0.85rem/1.7 var(--f-mono); color: var(--ink-2); }
.svc ul li::before { content: "— "; color: var(--brand-deep); }
.svc .more { margin-top: auto; padding-top: 6px; font-weight: 650; color: var(--brand-deep); }

/* Service detail layout */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; gap: 48px; } }
.detail .prose h2 { margin-top: 26px; font-size: 1.55rem; }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--rule); }
.checks li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rule); position: relative; font-weight: 550; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }

.aside { display: grid; gap: 20px; position: sticky; top: 96px; }
@media (max-width: 960px) { .aside { position: static; } }
.box { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 24px; display: grid; gap: 12px; }
.box h3 { font-size: 1.05rem; }
.box ul { list-style: none; margin: 0; padding: 0; }
.box li a { display: block; padding: 9px 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-weight: 550; }
.box li:first-child a { border-top: 0; }
.box li a:hover, .box li a[aria-current="page"] { color: var(--brand-deep); }
.box-dark { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); }
.box-dark p { color: var(--navy-ink-2); }
.box-dark .btn-ghost { color: var(--navy-ink); }

/* CTA band */
.cta { background: var(--brand-tint); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: 64px; }
.cta h2 { max-width: 20ch; }
.cta p { color: var(--ink-2); margin-top: 10px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-ghost { color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.lines { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.lines div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.lines dt { font: 500 0.75rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.lines dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.map { margin-top: 28px; border-radius: 8px; overflow: hidden; border: 1px solid var(--rule); aspect-ratio: 4 / 3; max-width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 32px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } .form { padding: 22px; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: 0.95rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 12px 14px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,157,204,.2); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: var(--radius); font-weight: 600; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.form-status.err { background: color-mix(in srgb, var(--err) 14%, transparent); color: var(--err); }
.form small { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-ink-2); font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 64px 32px; }
.site-footer h4 { margin: 0 0 14px; font: 500 0.75rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #7fd3f0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--navy-ink); text-decoration: none; }
.site-footer a:hover { color: #7fd3f0; text-decoration: underline; }
.site-footer .brand { color: var(--navy-ink); margin-bottom: 14px; }
.site-footer .brand-name span { color: var(--navy-ink-2); }
.site-footer .num { font-variant-numeric: tabular-nums; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(159,182,198,.2); padding-top: 22px; font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 32px; } }

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

/* Keep the practice-area card readable inside the dark band */
.ledger .ledger-card a, .ledger .ledger-card a:hover { color: var(--ink); }
.checks.one { grid-template-columns: 1fr; }

/* Home hero: headline left, owner portrait right */
.hero .wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.hero-owner { margin: 0; justify-self: end; width: 100%; max-width: 360px; position: relative; }
.hero-owner .portrait { max-width: none; border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.hero-owner figcaption {
  position: relative; margin: -48px 18px 0; background: var(--surface); color: var(--ink);
  border-radius: 6px; padding: 16px 18px; display: grid; gap: 4px; box-shadow: 0 12px 28px -12px rgba(0,0,0,.45);
}
.hero-owner figcaption strong { font: 700 1.05rem var(--f-display); font-stretch: 108%; }
.hero-owner figcaption span { font: 400 0.78rem/1.5 var(--f-mono); color: var(--ink-2); }
.services-band { padding-top: 72px; }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-owner { justify-self: start; max-width: 320px; }
}

/* Home hero, text only: headline block, then a facts strip */
.hero-solo .wrap { grid-template-columns: 1fr; gap: 56px; padding-block: 96px 0; }
.hero-solo h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 16ch; }
.hero-solo .lede { max-width: 38em; }
.hero-facts {
  margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(159,182,198,.25);
}
.hero-facts div { padding: 22px 20px 30px 0; }
.hero-facts div + div { padding-left: 20px; border-left: 1px solid rgba(159,182,198,.18); }
.hero-facts dt { font: 500 0.72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #7fd3f0; }
.hero-facts dd { margin: 6px 0 0; font-weight: 600; color: var(--navy-ink); overflow-wrap: anywhere; }
.ledger .hero-facts a { color: var(--navy-ink); text-decoration: none; }
.ledger .hero-facts a:hover { color: #7fd3f0; text-decoration: underline; }
@media (max-width: 860px) {
  .hero-solo .wrap { padding-block: 64px 0; gap: 40px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 18px 12px 18px 0; border-left: 0; }
  .hero-facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(159,182,198,.18); }
  .hero-facts div:nth-child(n+3) { border-top: 1px solid rgba(159,182,198,.18); }
}

/* Contact form: optional label, reCAPTCHA notice (replaces Google's floating badge) */
.field .optional { font-weight: 400; color: var(--ink-2); }
.recaptcha-note { font-size: 0.8rem; }
.recaptcha-note a { color: inherit; }
.grecaptcha-badge { visibility: hidden; }

/* Tighter vertical spacing between sections */
.section { padding-block: 60px; }
.services-band { padding-top: 52px; }
.section-head { margin-bottom: 32px; }
.hero-solo .wrap { padding-block: 48px 0; gap: 44px; }
.cta .wrap { padding-block: 48px; }
.site-footer .wrap { padding-block: 48px 28px; }
@media (max-width: 860px) {
  .section { padding-block: 44px; }
  .services-band { padding-top: 40px; }
  .hero-solo .wrap { padding-block: 36px 0; gap: 32px; }
  .cta .wrap { padding-block: 40px; }
}

/* FAQ page: questions open and close (works without JavaScript) */
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 1.35rem; margin-bottom: 14px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px; font-weight: 650; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--rule); border-radius: 50%; color: var(--brand-deep); font-weight: 600; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-deep); }
.faq .answer { padding: 0 2px 20px; display: grid; gap: 12px; max-width: 46em; color: var(--ink); }
.faq .answer ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

/* Scroll arrow on the right side: one arrow at a time, in the same spot.
   Down arrow in the top half of the page, up arrow past the middle; they cross-fade. */
.scroll-nav {
  position: fixed; z-index: 40; width: 44px; height: 44px;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.scroll-btn {
  position: absolute; inset: 0;
  width: 100%; height: 100%; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); cursor: pointer;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(12,36,54,.6);
  opacity: 0; visibility: hidden; transform: scale(.85);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .15s;
}
.scroll-btn.is-visible { opacity: .92; visibility: visible; transform: none; pointer-events: auto; }
.scroll-btn:hover { background: var(--brand-deep); opacity: 1; }
@media (max-width: 560px) { .scroll-nav { width: 40px; height: 40px; } }

/* Inner pages (Services, About, FAQ, Contact, each service): same smaller top space as the home page */
.page-head .wrap { padding-block: 48px 48px; }
@media (max-width: 860px) {
  .page-head .wrap { padding-block: 36px 36px; }
}

/* Service card icons */
.svc-icon {
  width: 44px; height: 44px; padding: 10px; border-radius: 10px;
  background: var(--brand-tint); color: var(--brand-deep);
}
.svc:hover .svc-icon { background: var(--brand); color: #04212e; }

/* Announcement bar (switched on in includes/config.php) */
.announce { background: var(--brand); color: #04212e; font-weight: 600; font-size: 0.95rem; }
.announce .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding-block: 9px; text-align: center; }
.announce a { color: #04212e; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.announce a:hover { color: var(--navy); }

/* Page not found */
.not-found { display: grid; gap: 44px; }
.not-found .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.not-found .btn-ghost { color: var(--ink); }
.not-found-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 2px solid var(--ink); padding-top: 24px; }
.not-found-links h2 { font-size: 1.05rem; margin-bottom: 10px; }
.not-found-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.not-found-links a { text-decoration: none; font-weight: 550; }
.not-found-links a:hover { text-decoration: underline; }
@media (max-width: 760px) { .not-found-links { grid-template-columns: 1fr; gap: 24px; } }

/* Service page title with its icon, on the navy band */
.page-title { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.page-title h1 { margin-top: 0; }
.page-head .svc-icon { flex: none; width: 52px; height: 52px; padding: 12px; background: rgba(127, 211, 240, .14); color: #7fd3f0; }
@media (max-width: 560px) { .page-title { flex-direction: column; align-items: flex-start; gap: 12px; } .page-head .svc-icon { width: 44px; height: 44px; padding: 10px; } }

/* "Get directions" button under the map */
.directions { margin-top: 16px; color: var(--ink); }
.directions:hover { color: var(--ink); }

/* Privacy policy page */
.policy h2 { font-size: 1.3rem; margin-top: 18px; }
.policy ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }

/* Gentle motion: fade-in on scroll (set up by wafs.js) and a slight lift on hover */
.motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.motion .reveal.in { opacity: 1; transform: none; }
.svc { transition: border-color .15s ease, transform .2s ease, box-shadow .2s ease; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(12, 36, 54, .35); }
.btn { transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { box-shadow: 0 8px 18px -10px rgba(20, 157, 204, .8); }
.btn:active { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .motion .reveal { opacity: 1; transform: none; }
  .svc:hover, .btn:hover { transform: none; }
}
