:root {
  --pine: #18352a;
  --pine-2: #0d241d;
  --moss: #5f7f4b;
  --fern: #8fa66a;
  --copper: #9a5a2f;
  --clay: #d7a268;
  --stone: #eee9df;
  --paper: #faf7ef;
  --ink: #1d2520;
  --muted: #4f5d54;
  --line: rgba(29, 37, 32, .14);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(13, 36, 29, .16);
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
@keyframes section-rise {
  from {
    opacity: 1;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.menu-locked,
body.modal-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
}
.narrow {
  width: calc(100% - 40px);
  max-width: 820px;
  margin: 0 auto;
}
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 16px;
  color: var(--copper);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: none;
  text-align: left;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .72;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}
h1 {
  font-size: clamp(2.2rem, 4.1vw, 4.05rem);
  max-width: 820px;
  overflow-wrap: break-word;
}
h1,
h2,
.lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
h2 { font-size: clamp(2rem, 3vw, 3rem); }
h3 { font-size: 1.35rem; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.16rem); max-width: 720px; }
.dark-section,
.dark-section .lead,
.dark-section .muted { color: rgba(255, 253, 248, .9); }
.dark-section h2,
.dark-section h3 { color: var(--white); }
.dark-section .eyebrow { color: var(--clay); }
.muted { color: var(--muted); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(13,36,29,.68), rgba(13,36,29,0));
  transition: background .25s ease, box-shadow .25s ease, min-height .25s ease;
}
.site-header.is-solid {
  min-height: 66px;
  background: rgba(13, 36, 29, .95);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}
.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: block;
  color: var(--paper);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.18));
}
.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-logo-field {
  fill: rgba(255,253,248,.06);
  stroke: url(#brandLogoGradient);
  stroke-width: 2.2;
}
.brand-logo-core {
  fill: url(#brandLogoCore);
  stroke: rgba(255,253,248,.18);
  stroke-width: 1;
}
.brand-logo-ring,
.brand-logo-roof,
.brand-logo-eave,
.brand-logo-leaf,
.brand-logo-vein,
.brand-logo-branch,
.brand-logo-ground {
  fill: none;
  stroke: #fffdf8;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-logo-ring {
  stroke: rgba(215,162,104,.76);
  stroke-width: 1.25;
}
.brand-logo-eave {
  stroke: rgba(255,253,248,.5);
  stroke-width: 1.3;
}
.brand-logo-leaf {
  fill: rgba(143,166,106,.18);
}
.brand-logo-vein {
  stroke: rgba(255,253,248,.74);
  stroke-width: 1.5;
}
.brand-logo-branch {
  stroke: rgba(255,253,248,.45);
  stroke-width: 1.05;
}
.brand-logo-ground {
  stroke: rgba(215,162,104,.62);
  stroke-width: 1.15;
}
.brand-logo-track {
  fill: #d7a268;
}
[data-icon] svg,
.icon svg,
.desktop-nav svg,
.btn svg,
.menu-toggle svg,
.menu-close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand strong { display: block; font-size: .98rem; letter-spacing: .02em; }
.brand-copy strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  line-height: 1;
  letter-spacing: 0;
}
.brand-copy small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.82);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  font-size: .9rem;
}
.desktop-nav a,
.desktop-nav button {
  position: relative;
  border: 0;
  padding: 8px 0;
  color: rgba(255,255,255,.94);
  background: transparent;
  cursor: pointer;
}
.desktop-nav > a::after,
.desktop-nav > .nav-group > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.desktop-nav > a:hover::after,
.desktop-nav > .nav-group:hover > button::after,
.desktop-nav > .nav-group:focus-within > button::after {
  transform: scaleX(1);
}
.desktop-nav a:hover,
.desktop-nav button:hover { color: var(--white); }
.nav-group { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -26px;
  width: 320px;
  padding: 14px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .2s ease;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 10px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--pine);
  background: color-mix(in srgb, var(--fern) 18%, white);
  transform: translateX(4px);
}
.nav-dropdown a:last-child { border-bottom: 0; }
.nav-dropdown span { color: var(--moss); }
.header-call {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.36);
  font-weight: 800;
  font-size: .88rem;
}
.menu-toggle,
.menu-close {
  display: none;
  border: 1px solid rgba(215,162,104,.5);
  color: #fffdf8;
  background: rgba(13,36,29,.58);
  width: 46px;
  height: 46px;
  border-radius: 14px 3px 14px 3px;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: stretch;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  background: rgba(13,36,29,.5);
  transition: opacity .2s ease, visibility .2s ease;
}
.mobile-menu.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.mobile-menu-panel {
  margin-left: auto;
  width: min(420px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--pine-2);
  color: var(--white);
  transform: none;
  transition: transform .25s ease;
}
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-main,
.mobile-menu-services {
  display: flex;
  flex-direction: column;
}
.mobile-menu-main {
  margin-bottom: 18px;
}
.mobile-menu-services {
  margin-bottom: 18px;
  padding: 16px 16px 6px;
  border: 1px solid rgba(215,162,104,.22);
  background: rgba(255,253,248,.045);
}
.mobile-menu-label {
  margin-bottom: 6px;
  color: var(--clay);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mobile-menu a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 1.02rem;
}
.mobile-menu-main a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 800;
}
.mobile-menu-services a {
  padding: 12px 0;
  color: rgba(255,253,248,.86);
  font-size: .95rem;
}
.mobile-menu-services .mobile-menu-all {
  color: var(--white);
  font-weight: 900;
}
.mobile-menu-services a:last-child,
.mobile-menu-main a:last-child {
  border-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(13, 36, 29, .18);
}
.btn:hover svg {
  transform: translateX(2px) scale(1.06);
}
.btn svg {
  transition: transform .2s ease;
}
.btn-primary { background: var(--copper); color: var(--white); border-color: var(--copper); }
.btn-quiet { border-color: var(--line); background: var(--white); color: var(--pine); }

section { padding: 88px 0; }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-bottom: 36px;
  text-align: center;
}
.section-head > * {
  max-width: 860px;
}
.section-head .eyebrow {
  margin-left: 0;
  margin-right: auto;
}
.section-head .lead { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.icon-card,
.service-card,
.detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(13, 36, 29, .06);
  border-radius: var(--radius);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--pine);
  background: color-mix(in srgb, var(--fern) 22%, white);
  border-left: 4px solid var(--copper);
  margin-bottom: 18px;
  border-radius: 999px 999px 999px 4px;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.service-card p { color: var(--muted); }
.service-card ul,
.check-list {
  padding: 0;
  margin: 16px 0 22px;
  list-style: none;
}
.service-card li,
.check-list li {
  display: flex;
  gap: 9px;
  margin: 9px 0;
  color: var(--muted);
}
.service-card li::before,
.check-list li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--copper);
}
.service-card .btn { margin-top: auto; }

.image-frame {
  position: relative;
  border: 1px solid rgba(24,53,42,.22);
  padding: 12px;
  background: linear-gradient(135deg, rgba(95,127,75,.16), rgba(184,115,63,.12));
  border-radius: 26px 4px 26px 4px;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.image-frame::before,
.image-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.image-frame::before {
  inset: -12px auto auto -12px;
  width: 72px;
  height: 72px;
  border-top: 2px solid var(--copper);
  border-left: 2px solid var(--copper);
}
.image-frame::after {
  right: -10px;
  bottom: -10px;
  width: 48%;
  height: 42%;
  border-right: 2px solid var(--moss);
  border-bottom: 2px solid var(--moss);
}
.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 18px 2px 18px 2px;
  transition: transform .45s ease, filter .3s ease;
}

.band {
  background: linear-gradient(135deg, var(--pine-2), var(--pine));
  color: var(--white);
}
.architectural {
  position: relative;
  overflow: hidden;
}
.architectural::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: .55;
  pointer-events: none;
}
.architectural > * { position: relative; }

.cta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(24, 53, 42, .18);
  background: linear-gradient(135deg, var(--pine-2), var(--pine));
  color: var(--white);
  border-radius: 24px 4px 24px 4px;
  box-shadow: 0 18px 44px rgba(13, 36, 29, .14);
}
.cta-strip h3 {
  color: var(--white);
}
.cta-strip p {
  color: rgba(255, 253, 248, .9);
  margin-bottom: 0;
}

.site-footer {
  padding: 52px clamp(20px, 4vw, 54px) 24px;
  background: #0b1f19;
  color: rgba(255,253,248,.88);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.28fr) minmax(220px, .82fr) minmax(130px, .45fr) minmax(230px, .82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  text-align: left;
}
.footer-about {
  max-width: 430px;
}
.footer-intro,
.footer-contact p {
  color: rgba(255,253,248,.82);
  line-height: 1.65;
}
.footer-intro {
  max-width: 360px;
  margin: 10px 0 12px;
  font-size: .94rem;
}
.footer-notes {
  display: grid;
  gap: 7px;
  max-width: 390px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-notes li {
  position: relative;
  padding-left: 15px;
  color: rgba(255,253,248,.68);
  font-size: .78rem;
  line-height: 1.38;
}
.footer-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  background: var(--clay);
  border-radius: 999px;
}
.footer-contact p {
  margin: 14px 0 0;
  max-width: 330px;
}
.footer-brand {
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
}
.footer-brand .brand-mark {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}
.footer-brand .brand-copy small {
  max-width: 290px;
  color: rgba(255,253,248,.68);
  font-size: .66rem;
  line-height: 1.25;
}
.site-footer h2 {
  font-family: inherit;
  font-size: .82rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.site-footer a {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: rgba(255,253,248,.94);
  transition: color .2s ease, transform .2s ease;
}
.site-footer a:hover {
  color: var(--clay);
  transform: translateX(3px);
}
.footer-brand:hover {
  transform: none;
}
.footer-disclaimer {
  max-width: 1440px;
  margin: 34px auto 0;
  padding: 18px 20px;
  background: rgba(255,253,248,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px 4px 18px 4px;
}
.footer-disclaimer p {
  margin: 0;
  color: rgba(255,253,248,.72);
  font-size: .78rem;
  line-height: 1.55;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1440px;
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,253,248,.76);
  font-size: .82rem;
}

.reveal {
  opacity: 1;
  transform: none;
  animation: section-rise .62s ease both;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(13,36,29,.62);
}
.modal.is-open { display: grid; }
.modal-card {
  max-width: 480px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-banner {
  position: fixed;
  left: auto;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  width: min(520px, calc(100vw - 28px));
  padding: 18px 20px;
  color: var(--white);
  background: #0b1f19;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px 4px 20px 4px;
  box-shadow: 0 22px 60px rgba(0,0,0,.26);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
}
.cookie-copy p {
  margin: 0;
  color: rgba(255,253,248,.88);
  font-size: .9rem;
  line-height: 1.45;
}
.cookie-copy a {
  display: inline-block;
  margin-top: 8px;
  color: var(--clay);
  font-weight: 800;
  font-size: .88rem;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.24);
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.cookie-btn:hover {
  transform: translateY(-2px);
}
.cookie-btn-primary {
  color: var(--white);
  background: var(--copper);
  border-color: var(--copper);
}
.cookie-btn-ghost {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.mobile-fab {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 132px;
  min-height: 52px;
  padding: 13px 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--copper), #7f4428);
  border: 1px solid rgba(255,253,248,.24);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(13,36,29,.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 22px) scale(.96);
  transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease;
}
.mobile-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.mobile-fab:hover {
  color: var(--white);
  box-shadow: 0 20px 48px rgba(13,36,29,.34);
  transform: translate(-50%, -2px) scale(1.01);
}
.mobile-fab span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.mobile-fab svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-fab strong {
  font-size: .96rem;
  line-height: 1;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(143,166,106,.16), transparent 34%),
    rgba(11,31,25,.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.page-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.page-loader-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 178px;
  padding: 26px 30px 24px;
  color: var(--white);
  background: rgba(13,36,29,.82);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px 4px 28px 4px;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  transform: translateY(8px) scale(.98);
  transition: transform .22s ease;
}
.page-loader.is-visible .page-loader-card {
  transform: translateY(0) scale(1);
}
.page-loader-mark {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
}
.page-loader-mark .brand-logo {
  width: 58px;
  height: 58px;
}
.page-loader-ring {
  position: absolute;
  top: 21px;
  width: 68px;
  height: 68px;
  border: 2px solid rgba(215,162,104,.18);
  border-top-color: var(--clay);
  border-right-color: rgba(247,242,233,.66);
  border-radius: 999px;
  animation: loader-spin .8s linear infinite;
}
.page-loader-card strong {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,253,248,.82);
}

@media (max-width: 1120px) {
  .desktop-nav,
  .header-call { display: none; }
  .site-header {
    min-height: 66px;
    padding: 12px 78px 12px 20px;
  }
  .site-header .brand {
    min-width: 0;
  }
  .menu-toggle,
  .menu-close { display: grid !important; place-items: center; margin-left: auto; }
  .menu-toggle {
    position: fixed;
    top: 12px;
    right: 20px;
    left: auto;
    z-index: 31;
    margin-left: 0;
  }
  .menu-close { margin-left: auto; margin-bottom: 20px; }
  .grid-2,
  .footer-grid,
  .cta-strip { grid-template-columns: 1fr; }
  .grid-3,
  .grid-4 {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 20px 18px 0;
    margin-right: -20px;
  }
  .grid-3 > *,
  .grid-4 > * {
    min-width: min(82vw, 340px);
    scroll-snap-align: start;
  }
  .section-head { display: block; }
  section { padding: 62px 0; }
  .image-frame img { min-height: 250px; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner {
    left: 14px;
    right: 14px;
    width: auto;
  }
  .cookie-actions {
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
  .mobile-fab {
    display: inline-flex;
  }
  body:has(.cookie-banner.is-visible) .mobile-fab {
    bottom: calc(158px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 560px) {
  .container,
  .narrow { width: calc(100% - 28px); }
  .brand small { display: none; }
  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .brand-copy strong {
    font-size: 1rem;
  }
  .menu-toggle { right: 14px; }
  h1 { font-size: 1.72rem; }
  h2 {
    font-size: 1.35rem;
    max-width: 19ch;
  }
  h1,
  h3,
  p {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  h2 {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .intro-card p,
  .intro-copy .lead,
  .service-list p,
  .sticky-note p,
  .legal-body p,
  .contact-card p {
    max-width: 32ch;
  }
  .btn { width: 100%; }
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}
