/* ============================================================
   Lake Forest Digital — shared design system
   Brand source: ~/Developer/EDIStudio/docs/branding-tokens.json
   Pine monogram · teal #00878F / #00C5C6 · ink #071418

   Type:   Newsreader (display/headings) + Inter (UI/body)
   Ground: warm bone paper, white raised surfaces, cool teal accents
   Motion: tokenised, reveal-on-scroll, fully reduced-motion aware
   ============================================================ */

:root {
  --ink:         #071418;
  --body:        #35434A;
  --muted:       #5C6B73;
  --paper:       #FAF8F5;   /* warm page ground — keeps the site off the SaaS-white default */
  --paper-deep:  #F4F0E9;   /* alternating band */
  --paper-cool:  #F2F6F7;   /* cool tint, used next to teal content */
  --white:       #FFFFFF;
  --teal:        #00878F;   /* brand teal — icons, rules, borders (non-text uses) */
  --teal-aa:     #007D85;   /* the ONLY teal that may carry white text: 4.9:1 (#00878F is 4.3:1) */
  --teal-dark:   #006A73;
  --teal-deeper: #00565D;
  --teal-bright: #00C5C6;
  --teal-wash:   #E4F2F3;
  --orange:      #FF8C1E;
  --navy-1:      #001F27;
  --navy-2:      #00040A;
  --navy-mid:    #002B36;
  --line:        #E0DCD4;   /* decorative dividers and card edges */
  --line-soft:   #EBE6DD;
  --line-cool:   #DFE7E9;
  --line-control:#8E8880;   /* boundary of an actual control — needs 3:1 (WCAG 1.4.11) */
  --on-dark-muted: rgba(255,255,255,0.72);
  --on-dark-faint: rgba(255,255,255,0.46);

  --radius-lg:   20px;
  --radius:      14px;
  --radius-sm:   10px;

  --shadow-card: 0 1px 2px rgba(7,20,24,0.05), 0 10px 26px -18px rgba(7,20,24,0.28);
  --shadow-lift: 0 2px 6px rgba(7,20,24,0.06), 0 22px 44px -22px rgba(0,86,92,0.34);
  --shadow-nav:  0 1px 0 rgba(7,20,24,0.06), 0 14px 30px -26px rgba(7,20,24,0.55);

  --font:    'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --mono:    ui-monospace, 'SF Mono', 'JetBrains Mono', 'Cascadia Code', Menlo, Consolas, monospace;

  /* motion tokens — one rhythm across the whole site */
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur-fast:    140ms;
  --dur:         240ms;
  --dur-slow:    520ms;
}

*, *::before, *::after { box-sizing: border-box; }
/* NOTE: no overflow-x on html or body. Either value there turns the root into a
   scroll/clip container, which breaks position:sticky on the nav. Anything that
   can overflow sideways clips itself instead (.hero, .cta-band, .photo-band). */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal-deeper); }

/* prose links read as links — underline, not colour alone */
p a, li a, .prose a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0,135,143,0.4);
  transition: text-decoration-color var(--dur-fast) var(--ease);
}
p a:hover, li a:hover, .prose a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.14;
  margin: 0 0 0.5em;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.008em; }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1em; text-wrap: pretty; }

/* Both wrappers share the same outer edges so every section on a page lines up
   on one left margin. .wrap-n exists to cap the MEASURE of the text inside it,
   not to inset the whole block. */
.wrap   { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap-n { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap-n > p, .wrap-n > h2 ~ p:not([class]) { max-width: 72ch; }

section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* section ground helpers — used to break the white-on-white sameness */
.bg-white { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.bg-deep  { background: var(--paper-deep); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.bg-cool  { background: var(--paper-cool); border-top: 1px solid var(--line-cool); border-bottom: 1px solid var(--line-cool); }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 22px; height: 2px; background: var(--teal-bright); border-radius: 2px;
}
.lead { font-size: 1.14rem; color: var(--muted); max-width: 620px; }

/* ---------- Focus: visible on everything, never removed ---------- */
:focus-visible {
  outline: 3px solid var(--teal-deeper);   /* 8:1 on every light ground */
  outline-offset: 3px;
  border-radius: 6px;
}
.dark :focus-visible, .footer :focus-visible, .cta-band :focus-visible {
  outline-color: var(--teal-bright);       /* 8:1 on the navy grounds */
}
.nav a:focus-visible, .footer a:focus-visible { outline-offset: 4px; }

/* skip link — first tab stop, keyboard users land on content */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 0.9rem;
  padding: 12px 18px; border-radius: 0 0 10px 10px;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Reveal on scroll (progressive: only active when JS runs) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,245,0.82);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.93);
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-nav);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand svg { width: 30px; height: 30px; transition: transform var(--dur) var(--ease-spring); }
.brand:hover svg { transform: translateY(-2px) rotate(-3deg); }
.brand-name {
  font-family: var(--display);
  font-size: 1.14rem; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap;
}
.brand-name span { font-weight: 400; opacity: 0.72; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links > a {
  position: relative;
  font-size: 0.93rem; font-weight: 500; color: var(--ink); opacity: 0.8;
  transition: opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-links > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--teal); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-links > a:hover { opacity: 1; color: var(--teal-dark); }
.nav-links > a:hover::after { transform: scaleX(1); }
.nav-links > a[aria-current="page"] { opacity: 1; color: var(--teal-dark); font-weight: 600; }
.nav-links > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { opacity: 1; }
.nav-links .btn::after { display: none; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink); white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}
.nav-phone svg { width: 16px; height: 16px; color: var(--teal); transition: transform var(--dur) var(--ease-spring); }
.nav-phone:hover { color: var(--teal-dark); }
.nav-phone:hover svg { transform: rotate(-14deg) scale(1.12); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0;
  padding: 10px; cursor: pointer; border-radius: 10px;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }
.nav-toggle:hover { background: rgba(7,20,24,0.05); }
.nav-toggle .bar { transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease); transform-origin: center; }
.nav-toggle[aria-expanded="true"] .bar-t { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar-m { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar-b { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Nav dropdown (Services) ---------- */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 0.93rem; font-weight: 500;
  color: var(--ink); opacity: 0.8;
  background: none; border: 0; padding: 0; cursor: pointer;
  transition: opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-drop > button:hover, .nav-drop.open > button { opacity: 1; color: var(--teal-dark); }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.nav-drop.open > button svg, .nav-drop:hover > button svg { transform: rotate(180deg); }
/* The wrapper is a ~274x430 absolutely-positioned box hanging below the nav. Its
   contents are hidden, but the wrapper itself would still take hits, and hovering
   a descendant sets :hover on .nav-drop — so the menu opened from anywhere in that
   region, in the middle of the page. pointer-events:none stops that; it is only
   re-enabled once the menu is actually open, which also keeps the padding-top
   working as a hover bridge across the nav gap. */
.nav-drop-menu {
  position: absolute; top: 100%; left: -16px; padding-top: 15px; z-index: 60;
  pointer-events: none;
}
.nav-drop:hover > .nav-drop-menu,
.nav-drop.open > .nav-drop-menu,
.nav-drop:focus-within > .nav-drop-menu { pointer-events: auto; }
.nav-drop-inner {
  min-width: 274px; background: var(--white);
  border: 1px solid var(--line-cool); border-radius: 16px;
  box-shadow: 0 4px 10px rgba(7,20,24,0.05), 0 26px 50px -22px rgba(7,20,24,0.34);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(0.98); transform-origin: top left;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav-drop:hover .nav-drop-inner, .nav-drop.open .nav-drop-inner,
.nav-drop:focus-within .nav-drop-inner {
  opacity: 1; visibility: visible; transform: none;
}
.nav-drop-inner a {
  display: block; padding: 10px 12px; border-radius: 10px; opacity: 1;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.nav-drop-inner a:hover { background: var(--teal-wash); transform: translateX(3px); }
.nav-drop-inner a b { display: block; font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.nav-drop-inner a:hover b { color: var(--teal-deeper); }
.nav-drop-inner a span { display: block; font-size: 0.79rem; color: var(--muted); line-height: 1.45; margin-top: 1px; }
.nav-drop-sep { height: 1px; background: var(--line-soft); margin: 7px 10px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 13px 26px; border-radius: 999px;
  font-family: var(--font); font-size: 0.95rem; font-weight: 600; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  white-space: nowrap; text-align: center;
}
.btn svg { width: 17px; height: 17px; flex: none; }
/* the trailing arrow leans into the direction of travel on hover */
.btn .arw { transition: transform var(--dur) var(--ease-spring); }
.btn:hover .arw { transform: translateX(4px); }
/* light sweep across the face — transform only, so it stays on the compositor */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,0.28) 48%, transparent 64%);
  transform: translateX(-110%);
  transition: transform 620ms var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn:active { transform: translateY(1px) scale(0.985); }

.btn-primary {
  background: linear-gradient(178deg, #008289 0%, var(--teal-aa) 46%, #00727A 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 2px 4px rgba(0,60,64,0.16),
              0 12px 24px -14px rgba(0,86,92,0.75);
}
.btn-primary:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.26), 0 4px 8px rgba(0,60,64,0.16),
              0 20px 34px -16px rgba(0,86,92,0.68);
}
.btn-ghost { border-color: var(--line-control); color: var(--ink); background: var(--white); box-shadow: 0 1px 2px rgba(7,20,24,0.04); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deeper); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-ghost::after { background: linear-gradient(105deg, transparent 32%, rgba(0,135,143,0.09) 48%, transparent 64%); }
.btn-on-dark { background: var(--teal-bright); color: #002B30; box-shadow: 0 12px 28px -14px rgba(0,197,198,0.8); }
.btn-on-dark:hover { background: #34DBDC; color: #002B30; transform: translateY(-2px); }
.btn-outline-dark { border-color: rgba(255,255,255,0.34); color: #fff; background: rgba(255,255,255,0.04); }
.btn-outline-dark:hover { border-color: var(--teal-bright); color: var(--teal-bright); background: rgba(0,197,198,0.08); transform: translateY(-2px); }
.btn-lg { min-height: 54px; padding: 17px 32px; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: 10px 18px; font-size: 0.87rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[disabled]::after { display: none; }

/* inline text CTA with a travelling arrow */
.go, .svc-cta {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--teal-dark); font-weight: 600; font-size: 0.94rem;
}
.go svg, .svc-cta svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease-spring); }
a:hover .go svg, .svc-cta:hover svg { transform: translateX(4px); }

/* ---------- Photos ---------- */
.photo {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
  box-shadow: var(--shadow-card);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(7,20,24,0.08);
}
.photo-sm { border-radius: var(--radius); }
a:hover > .photo img, a:hover .photo img, .photo-zoom:hover img { transform: scale(1.045); }

/* tinted plate behind a photo — adds depth without another SVG */
.photo-plate { position: relative; }
.photo-plate::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border-radius: var(--radius-lg); background: var(--teal-wash);
  z-index: -1;
}

/* full-width photo band */
.photo-band { position: relative; overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,20,25,0.90) 0%, rgba(0,20,25,0.74) 46%, rgba(0,20,25,0.42) 100%); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-cool); }
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-wash); color: var(--teal-dark); margin-bottom: 18px;
  transition: transform var(--dur) var(--ease-spring), background var(--dur) var(--ease);
}
.icon-tile svg { width: 23px; height: 23px; }
.card:hover .icon-tile { transform: translateY(-2px) scale(1.06); }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Dark sections ---------- */
.dark {
  background:
    radial-gradient(900px 460px at 82% -10%, rgba(0,197,198,0.12), transparent 62%),
    linear-gradient(160deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: var(--on-dark-muted);
}
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .kicker { color: var(--teal-bright); }
.dark .lead { color: var(--on-dark-muted); }
.dark p a, .dark li a { color: var(--teal-bright); text-decoration-color: rgba(0,197,198,0.45); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.field .req { color: #B42318; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-control);
  border-radius: var(--radius-sm); padding: 13px 14px; width: 100%; min-height: 48px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #93A0A6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal-dark); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,135,143,0.14);
}
.field textarea { resize: vertical; min-height: 132px; }
.field-hint { font-size: 0.81rem; color: var(--muted); }
.form-note { font-size: 0.81rem; color: var(--muted); }
.form-status {
  display: none; padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: 0.93rem; font-weight: 500;
}
.form-status.ok   { display: block; background: #E7F6EC; color: #136035; border: 1px solid #BFE6CC; }
.form-status.err  { display: block; background: #FDECEC; color: #96190C; border: 1px solid #F5C6C6; }

/* button spinner while a form is in flight */
.btn .spin { display: none; width: 17px; height: 17px; }
.btn.is-busy .spin { display: block; animation: spin 700ms linear infinite; }
.btn.is-busy .btn-label { opacity: 0.75; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(160deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: var(--on-dark-muted); padding: 68px 0 34px;
}
.footer a { color: var(--on-dark-muted); transition: color var(--dur-fast) var(--ease); }
.footer a:hover { color: var(--teal-bright); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 {
  color: #fff; font-family: var(--font); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 0.93rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09); padding-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 0.8rem; color: var(--on-dark-faint);
}

/* ---------- Utility ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  background: var(--white); color: var(--teal-deeper); border: 1px solid var(--line-cool);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.chip:hover { transform: translateY(-1px); border-color: var(--teal); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* details/summary: smooth open where the browser supports it, instant elsewhere */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size var(--dur) var(--ease), content-visibility var(--dur) allow-discrete;
  }
  details[open]::details-content { block-size: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .photo-plate::before { display: none; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 0 18px; max-height: calc(100dvh - 70px); overflow-y: auto;
    box-shadow: var(--shadow-nav);
  }
  .nav-links.open { display: flex; animation: navdrop var(--dur) var(--ease); }
  @keyframes navdrop { from { opacity: 0; transform: translateY(-8px); } }
  .nav-links > a { padding: 13px 24px; width: 100%; }
  .nav-links > a::after { display: none; }
  .nav-links .btn { margin: 10px 24px 0; width: auto; }
  .nav-toggle { display: inline-flex; }
  /* dropdown collapses into an inline, indented sublist on mobile */
  .nav-drop { display: block; width: 100%; }
  .nav-drop > button { padding: 13px 24px; width: 100%; justify-content: space-between; min-height: 48px; }
  .nav-drop-menu { position: static; padding-top: 0; display: none; }
  .nav-drop.open .nav-drop-menu { display: block; }
  .nav-drop:hover .nav-drop-inner { opacity: 0; visibility: hidden; }
  .nav-drop.open .nav-drop-inner { opacity: 1; visibility: visible; transform: none; }
  .nav-drop-inner { min-width: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0 24px 8px; background: transparent; }
  .nav-drop-inner a { padding: 11px 14px; background: var(--paper); margin-bottom: 5px; width: auto; }
  .nav-drop-sep { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion: honour it everywhere ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .btn::after { display: none; }
}

/* ---------- Quick ask: short form high on the page ------------------------
   The full contact form sits ~79% down the homepage, which research is clear
   most visitors never reach. This is the three-field version for people who
   already know what they want. Its own form id keeps it measurable against
   the long one. ------------------------------------------------------------ */
.quickask { background: var(--paper-deep); border-bottom: 1px solid var(--line-soft); padding: 54px 0; }
.quickask-inner { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: start; }
.quickask h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-bottom: 10px; }
.quickask-copy p { color: var(--muted); font-size: 0.99rem; margin: 0; max-width: 34ch; }
.quickask-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-items: end;
}
.quickask-form .quickask-msg { grid-column: 1 / -1; }
.quickask-form .field input { min-height: 46px; }
.quickask-form button { grid-column: 1 / -1; justify-self: start; }
.quickask-form .form-status { grid-column: 1 / -1; margin: 0; }
.quickask-alt { grid-column: 1 / -1; font-size: 0.9rem; color: var(--muted); margin: 14px 0 0; }
.quickask-alt a { color: var(--teal-dark); font-weight: 600; }
@media (max-width: 900px) {
  .quickask-inner { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 620px) {
  .quickask-form { grid-template-columns: 1fr; }
}

/* ---------- Mobile contact bar -------------------------------------------
   Most "near me" searches are on a phone, and the primary CTA is a text.
   Fixed to the bottom so it is reachable at any scroll depth. Hidden on
   desktop, where the nav already carries the number. --------------------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.93);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { width: 100%; padding-left: 14px; padding-right: 14px; }
  .mobile-cta .btn svg { width: 17px; height: 17px; flex: none; }
  /* keep the footer clear of the bar */
  body { padding-bottom: 82px; }
}
