/* ==========================================================================
   BarrierOne Pool Fence — design system
   Layers: tokens → base → layout → components → sections → utilities
   ========================================================================== */

@layer tokens, base, layout, components, sections, utilities;

/* ------------------------------------------------------------------ tokens */
@layer tokens {
  :root {
    /* Brand */
    --blue: #0464a4;          /* BarrierOne blue */
    --blue-600: #035489;
    --blue-400: #2f8ccc;
    --orange: #f68b28;        /* BarrierOne logo orange: buttons (navy text), accents */
    --orange-hover: #e8791a;  /* button hover */
    --orange-600: #a85300;    /* orange for small text/icons on white (AA) */
    --orange-700: #8f4700;

    /* Neutrals — warm "pool deck" palette */
    --navy-950: #031424;
    --navy-900: #062038;
    --navy-800: #0a2e4d;
    --navy-700: #113f66;
    --aqua: #8ad8ea;
    --aqua-200: #c9eef6;
    --sand-50: #f3f8fc;       /* light blue fill (name kept for compatibility) */
    --sand-100: #e8f1f9;      /* light blue section tint */
    --sand-200: #d5e5f2;
    --ink: #0d1b2a;
    --ink-2: #33475b;          /* 9:1 on white */
    --ink-3: #536578;          /* 5.8:1 on white */
    --line: #d6e2ec;
    --white: #fff;

    /* Type */
    --font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
    --font-body: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', Verdana, Arial, sans-serif;
    --text-scale: 1;
    --fs-sm: 0.9375rem;
    --fs-base: 1.125rem;
    --fs-lead: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
    --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
    --fs-h2: clamp(1.875rem, 1.4rem + 1.9vw, 2.75rem);
    --fs-h1: clamp(2.375rem, 1.6rem + 3.2vw, 4rem);

    /* Space & shape */
    --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
    --section: clamp(3rem, 2.2rem + 2.6vw, 4.75rem);   /* ~48px phone → ~76px desktop */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 2px rgb(13 27 42 / .06), 0 2px 8px rgb(13 27 42 / .05);
    --shadow: 0 2px 4px rgb(13 27 42 / .04), 0 12px 32px -8px rgb(13 27 42 / .14);
    --shadow-lg: 0 30px 80px -20px rgb(3 20 36 / .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 88px;
  }
}

/* -------------------------------------------------------------------- base */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html {
    font-size: calc(100% * var(--text-scale));
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
  }
  body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  img, svg, video, canvas { display: block; max-width: 100%; }
  img { height: auto; }
  h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; text-wrap: balance; color: var(--navy-900); }
  h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; }
  h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
  p { margin: 0 0 1em; text-wrap: pretty; }
  p:last-child { margin-bottom: 0; }
  a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
  a:hover { color: var(--blue-600); }
  ul, ol { margin: 0; padding: 0; }
  button, input, select, textarea { font: inherit; color: inherit; }
  strong, b { font-weight: 650; }
  em { font-style: italic; }
  table { border-collapse: collapse; }
  [hidden] { display: none !important; }
  main:focus { outline: none; }

  /* Navy focus ring on light backgrounds (orange is too faint on white); orange on dark ones. */
  :root { --focus: #0b3a63; }
  .topbar, .header__plate, .hero__panel, .page-hero__panel, .section--navy, .cta-band, .footer, .actionbar, .form-success { --focus: var(--orange); }
  :focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 6px;
  }
  ::selection { background: var(--aqua-200); color: var(--navy-900); }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}

/* ------------------------------------------------------------------ layout */
@layer layout {
  .container { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
  .container--wide { width: min(100% - clamp(1rem, 2vw, 2rem) * 2, 1440px); }
  .container--narrow { width: min(100% - var(--gutter) * 2, 820px); margin-inline: auto; }
  .section { padding-block: var(--section); }
  .section--tint { background: var(--sand-100); }
  .section--navy { background: var(--navy-900); color: #d7e3ee; }
  .section--navy h2, .section--navy h3 { color: var(--white); }
  .section--tight { padding-block: calc(var(--section) * .75); }

  .section__head { max-width: 760px; margin-bottom: clamp(1.75rem, 1.4rem + 1.2vw, 2.75rem); }
  .section__head .lead { margin-top: 1.25rem; }
  .section__head--center { margin-inline: auto; text-align: center; }
  .section__head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
  .section__head--light .lead { color: #d2dfea; }

  .grid-2 { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
  @media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2--flip > :first-child { order: 2; } }
}

/* -------------------------------------------------------------- components */
@layer components {
  /* Type helpers */
  .h2 { font-size: var(--fs-h2); }
  .h2 + .lead, .h2 + p { margin-top: 1.25rem; }
  .h2 + .checks, .lead + .checks { margin-top: 1.5rem; }
  .h3 { font-size: var(--fs-h3); }
  .h3 a { color: inherit; text-decoration: none; }
  .h3 a:hover { color: var(--blue); }
  .lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
  .source { font-size: var(--fs-sm); color: var(--ink-3); }
  .eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    margin: 0 0 1.1rem;
    font-size: .9375rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--orange-600);
  }
  .eyebrow--light { color: var(--aqua); }
  h1 > .eyebrow { display: flex; font-family: var(--font-body, inherit); line-height: 1.3; }
  .pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #5ee0a0; }
  .pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2.2s var(--ease) infinite; }
  @keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

  .icon { width: 1.25em; height: 1.25em; flex: none; }

  /* Buttons — large hit areas for every audience */
  .btn {
    --bg: var(--navy-900); --fg: var(--white); --bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 52px; padding: .8rem 1.5rem;
    border: 2px solid var(--bd); border-radius: 8px;
    background: var(--bg); color: var(--fg);
    font-weight: 650; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
    cursor: pointer;
    transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
  }
  .btn:hover { color: var(--fg); transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }
  .btn .icon { width: 1.2em; height: 1.2em; }
  .btn--primary { --bg: var(--orange); --fg: var(--navy-950); }
  .btn--primary:hover { --bg: var(--orange-hover); }
  .btn--secondary { --bg: transparent; --fg: var(--navy-900); --bd: var(--navy-900); }
  .btn--secondary:hover { --bg: var(--navy-900); --fg: var(--white); }
  .btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgb(255 255 255 / .55); }
  .btn--ghost:hover { --bg: rgb(255 255 255 / .16); --bd: rgb(255 255 255 / .6); }
  .btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: 1rem; }
  .btn--lg { min-height: 60px; padding: 1rem 1.85rem; font-size: 1.125rem; }
  .btn--block { width: 100%; }

  .link-arrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 650; color: var(--blue); text-decoration: none;
  }
  .link-arrow .icon { transition: transform .25s var(--ease); }
  .link-arrow:hover .icon { transform: translateX(4px); }
  .link-arrow:hover { text-decoration: underline; }

  .checks { list-style: none; display: grid; gap: .55rem; margin: 1.25rem 0 1.5rem; }
  .checks li { position: relative; padding-left: 1.85em; }
  .checks .icon { position: absolute; left: 0; top: .25em; color: var(--blue); width: 1.15em; height: 1.15em; stroke-width: 2.4; }

  /* Skip link */
  .skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 1000;
    padding: .8rem 1.2rem; border-radius: 10px;
    background: var(--navy-900); color: #fff; font-weight: 650;
  }
  .skip-link:focus { top: 1rem; color: #fff; }

  /* Logo */
  .logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--navy-900); }
  .logo__mark { flex: none; width: 44px; height: 44px; }
  .logo__type { display: grid; line-height: 1; }
  .logo__name { font-family: 'Montserrat', var(--font-display); font-weight: 600; font-size: 1.4375rem; letter-spacing: .005em; color: #035ea8; text-transform: uppercase; line-height: 1; }
  .logo__name b { color: #f68b28; font-weight: 600; }
  .logo__sub { display: flex; align-items: center; gap: .45rem; margin-top: .3rem; font-family: 'Montserrat', var(--font-display); font-size: .6875rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #035ea8; }
  .logo__sub::before, .logo__sub::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .8; }
  .logo--light .logo__name { color: #fff; }
  .logo--light .logo__name b { color: #f68b28; }
  .logo--light .logo__sub { color: #9fb4c7; }

  /* Top bar */
  .topbar { background: var(--navy-950); color: #b6c7d6; font-size: .875rem; }
  .topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
  .topbar__msg { display: flex; align-items: center; gap: .5rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .topbar__right, .textsize__label, .topbar__phone { white-space: nowrap; }
  @media (max-width: 1320px) { .topbar__msg { display: none; } .topbar__inner { justify-content: flex-end; } }
  .topbar__msg .icon { color: var(--aqua); }
  .topbar__right { display: flex; align-items: center; gap: 1.5rem; }
  .topbar__phone { display: inline-flex; align-items: center; gap: .45rem; color: #fff; text-decoration: none; }
  .topbar__phone:hover { color: var(--aqua); }
  .topbar__phone .icon { width: 1.05em; height: 1.05em; }
  @media (max-width: 899px) { .topbar { display: none; } }

  /* Text size control */
  .textsize { display: inline-flex; align-items: center; gap: .25rem; }
  .textsize__label { margin-right: .35rem; }
  .textsize__btn {
    display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
    border: 1px solid rgb(255 255 255 / .2); border-radius: 8px; background: transparent;
    color: #fff; font-weight: 700; font-size: .8125rem; cursor: pointer; line-height: 1;
  }
  .textsize__btn--md { font-size: 1rem; }
  .textsize__btn--lg { font-size: 1.1875rem; }
  .textsize__btn:hover { border-color: var(--aqua); }
  .textsize__btn[aria-pressed='true'] { background: #fff; color: var(--navy-900); border-color: #fff; }

  /* Header */
  .header {
    position: sticky; top: 0; z-index: 50;
    background: #fff;
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
  }
  .header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgb(13 27 42 / .18); }
  .header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

  /* Branded logo plate: a white panel behind the logo, running off the left edge,
     with an angled right edge and two orange slashes echoing the logo mark. */
  .header { --plate-pad: 1.6rem; }
  .header .logo { position: relative; z-index: 0; align-self: stretch; padding-right: calc(var(--plate-pad) + 1.25rem); gap: .7rem; }
  .header .logo::before {
    content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vw; right: 0;
    background: var(--navy-900);
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--plate-pad)) 100%, 0 100%);
  }
  .header .logo { filter: drop-shadow(6px 0 12px rgb(13 27 42 / .18)); }
  /* White logo on the navy plate (orange accent kept) */
  .header .logo__mark path[fill='#035EA8'] { fill: #fff; }
  .header .logo__name { color: #fff; }
  .header .logo__name b { color: #f68b28; }
  .header .logo__sub { color: #c9d8e5; }
  /* Logo sizes in px: the text-size buttons enlarge reading text, not the logo. */
  .header .logo__mark { flex: none; width: 56px; height: 56px; }
  .header .logo__name { font-size: 29px; }
  .header .logo__sub { font-size: 13px; margin-top: 5px; }
  .header__inner { padding-block: 0; width: min(100% - var(--gutter) * 2, 1380px); }
  @media (max-width: 1280px) { .header .logo__mark { width: 50px; height: 50px; } .header .logo__name { font-size: 26px; } .header .logo__sub { font-size: 12px; } }
  .nav__list { list-style: none; display: flex; gap: .25rem; }
  .nav__link {
    position: relative; display: block; padding: .55rem .6rem; border-radius: 10px;
    color: var(--ink); text-decoration: none; font-weight: 550; font-size: 1rem; white-space: nowrap;
  }
  .nav__link:hover { color: var(--blue); background: rgb(4 100 164 / .06); }
  .nav__link[aria-current='page'] { color: var(--blue); }
  .nav__link[aria-current='page']::after {
    content: ''; position: absolute; left: .6rem; right: .6rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--orange);
  }
  .header__actions { display: flex; align-items: center; gap: .75rem; flex: none; }
  .header.is-compact .nav { display: none; }
  .header.is-compact .menu-btn { display: inline-flex; }
  /* Last-resort fitting on narrow phones / large text (set by site.js) */
  .header.is-tight .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header.is-tight .menu-btn { padding-inline: .8rem; }
  .header.is-tighter .logo__mark { width: 37px !important; height: 37px !important; }
  .header.is-tighter .logo__name { font-size: 17.5px !important; }
  .header.is-tighter .logo__sub { font-size: 9.5px !important; letter-spacing: .2em; }
  .header.is-tighter .logo { padding-right: calc(var(--plate-pad) + .7rem); }
  .topbar__inner.hide-msg .topbar__msg, .topbar__inner.hide-google .topbar__google { display: none; }
  .topbar__inner.hide-msg { justify-content: flex-end; }

  .menu-btn {
    display: none; align-items: center; gap: .6rem;
    min-height: 48px; padding: .5rem 1rem;
    border: 2px solid var(--navy-900); border-radius: 999px; background: transparent;
    font-weight: 650; cursor: pointer;
  }
  .menu-btn__icon { display: grid; gap: 4px; width: 18px; }
  .menu-btn__icon span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .menu-btn[aria-expanded='true'] .menu-btn__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded='true'] .menu-btn__icon span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded='true'] .menu-btn__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  @media (max-width: 1320px) {
    .nav { display: none; }
    .menu-btn { display: inline-flex; }
  }
  @media (max-width: 520px) {
    :root { --header-h: 72px; }
    .header { --plate-pad: 1.1rem; }
    .header__inner { gap: .5rem; }
    .header .logo { padding-right: calc(var(--plate-pad) + .9rem); gap: .45rem; }
    .header .logo__mark { width: 40px !important; height: 40px !important; }
    .header .logo__name { font-size: 1.1875rem !important; }
    .menu-btn { padding-inline: .85rem; gap: .45rem; }
    .header .logo__sub { font-size: .625rem !important; }
    .header__cta { display: none; }
    .logo__mark { width: 38px; height: 38px; }
    .logo__name { font-size: 1.1875rem; }
  }

  /* Mobile menu */
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49;
    overflow-y: auto; overscroll-behavior: contain;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: #fff;
    animation: menu-in .35s var(--ease);
  }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
  .mobile-menu__list { list-style: none; display: grid; margin-bottom: 1.75rem; }
  .mobile-menu__list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem .25rem; border-bottom: 1px solid var(--line);
    font-size: 1.3125rem; font-weight: 600; color: var(--ink); text-decoration: none;
  }
  .mobile-menu__list a::after { content: '→'; color: var(--ink-3); }
  .mobile-menu__list a[aria-current='page'] { color: var(--blue); }
  .mobile-menu__actions { display: grid; gap: .75rem; margin-bottom: 1.75rem; }
  .textsize--menu { color: var(--ink-2); }
  .textsize--menu .textsize__btn { width: 48px; height: 48px; color: var(--navy-900); border-color: var(--line); font-size: 1rem; }
  .textsize--menu .textsize__btn--md { font-size: 1.25rem; }
  .textsize--menu .textsize__btn--lg { font-size: 1.5rem; }
  .textsize--menu .textsize__btn[aria-pressed='true'] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
  body.menu-open { overflow: hidden; }

  /* Sticky mobile action bar — Call / Text / Estimate always one tap away */
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: none; grid-template-columns: 1fr 1fr 1.4fr; gap: .5rem;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgb(6 32 56 / .96); backdrop-filter: blur(12px);
    box-shadow: 0 -8px 30px -10px rgb(0 0 0 / .4);
  }
  .actionbar__btn {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 52px; border-radius: 14px;
    background: rgb(255 255 255 / .1); color: #fff; text-decoration: none; font-weight: 650; font-size: 1rem;
  }
  .actionbar__btn:hover { color: #fff; background: rgb(255 255 255 / .18); }
  .actionbar__btn--primary { background: var(--orange); color: var(--navy-950); }
  .actionbar__btn--primary:hover { background: var(--orange-hover); color: var(--navy-950); }
  @media (max-width: 899px) {
    .actionbar { display: grid; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  }

  /* Media / photo slots */
  .media {
    position: relative; margin: 0; overflow: hidden;
    aspect-ratio: var(--ratio, 4/3);
    border-radius: var(--radius);
    background: var(--sand-200);
  }
  .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
  .media--ph { background: transparent; }
  .ph {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem;
    padding: 1.1rem 1.25rem;
    color: rgb(255 255 255 / .92);
    background:
      radial-gradient(120% 80% at 20% 0%, rgb(138 216 234 / .55), transparent 60%),
      radial-gradient(90% 70% at 100% 100%, rgb(4 100 164 / .65), transparent 60%),
      linear-gradient(160deg, #3c9fc9 0%, #0d5f95 55%, #083c63 100%);
  }
  .ph::before {
    content: ''; position: absolute; inset: 0; opacity: .35; mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M0 40c20 0 20-12 40-12s20 12 40 12 20-12 40-12 20 12 40 12M0 100c20 0 20-12 40-12s20 12 40 12 20-12 40-12 20 12 40 12' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E");
    background-size: 160px;
  }
  .ph__tag { position: relative; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
  .ph__name { position: relative; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: .875rem; }

  /* Water canvas (WebGL caustics) */
  .water-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
  .water-canvas.is-ready { opacity: 1; }

  /* Forms */
  .input, .select, .textarea {
    width: 100%; min-height: 56px; padding: .85rem 1rem;
    border: 1.5px solid #7f93a7; border-radius: 12px; background: #fff;
    font-size: 1.0625rem; line-height: 1.4;
    transition: border-color .2s, box-shadow .2s;
  }
  .textarea { min-height: 140px; resize: vertical; }
  .input::placeholder, .textarea::placeholder { color: var(--ink-3); }
  .input:hover, .select:hover, .textarea:hover { border-color: var(--navy-700); }
  .input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(4 100 164 / .15); }
  .input[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: #b3261e; box-shadow: 0 0 0 4px rgb(179 38 30 / .12); }
  .select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230d1b2a' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }

  .choice-row { display: grid; gap: .65rem; }
  @media (min-width: 560px) { .choice-row { grid-template-columns: 1fr 1fr; } }
  .choice { position: relative; display: block; cursor: pointer; }
  .choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
  .choice > span {
    display: flex; align-items: center; gap: .75rem; height: 100%;
    min-height: 60px; padding: .9rem 1.1rem;
    border: 1.5px solid #7f93a7; border-radius: 14px; background: #fff;
    font-weight: 550; line-height: 1.35;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
  }
  .choice > span::before {
    content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid var(--ink-3); background: #fff;
    transition: border-color .2s, box-shadow .2s;
  }
  .choice input[type='checkbox'] + span::before { border-radius: 6px; }
  .choice:hover > span { border-color: var(--blue-400); }
  .choice input:checked + span { border-color: var(--blue); background: #f0f7fc; box-shadow: 0 0 0 1px var(--blue); }
  .choice input:checked + span::before { border-color: var(--blue); box-shadow: inset 0 0 0 5px var(--blue); }
  .choice input[type='checkbox']:checked + span::before { box-shadow: inset 0 0 0 12px var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
  .choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
  .choice__sub { display: block; font-size: .875rem; font-weight: 400; color: var(--ink-3); }

  /* FAQ (native details/summary — works with no JavaScript) */
  .faq { display: grid; gap: .75rem; }
  .faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .3s, border-color .3s; }
  .faq__item[open] { border-color: #b9cbdb; box-shadow: var(--shadow-sm); }
  .faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.25rem 1.4rem; cursor: pointer; list-style: none;
    font-weight: 650; font-size: 1.125rem; line-height: 1.4;
  }
  .faq__q::-webkit-details-marker { display: none; }
  .faq__q:hover { color: var(--blue); }
  .faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sand-100); transition: background-color .25s, transform .35s var(--ease); }
  .faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy-900); transition: transform .35s var(--ease); }
  .faq__icon::after { transform: rotate(90deg); }
  .faq__item[open] .faq__icon { background: var(--navy-900); transform: rotate(180deg); }
  .faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
  .faq__item[open] .faq__icon::after { transform: rotate(0deg); }
  .faq__a { padding: 0 1.4rem 1.4rem; color: var(--ink-2); max-width: 70ch; }
  .faq__item[open] .faq__a { animation: faq-in .4s var(--ease); }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

  /* Breadcrumbs */
  .crumbs { font-size: .9375rem; color: #9fb4c7; margin-bottom: 1.5rem; }
  .crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
  .crumbs li + li::before { content: '/'; margin-right: .5rem; opacity: .5; }
  .crumbs a { color: #cfe0ee; text-decoration: none; }
  .crumbs a:hover { color: #fff; text-decoration: underline; }
  .crumbs [aria-current] { color: #fff; }

  /* Cards */
  .card { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
  .feature-grid { display: grid; gap: 1.25rem; }
  @media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .feature-grid--3 { grid-template-columns: repeat(3, 1fr); } }
  .feature { padding: 1.75rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
  .feature__icon { margin-bottom: 1rem; color: var(--orange); }
  .feature__icon .icon { width: 32px; height: 32px; stroke-width: 1.9; }
  .feature h3 { font-size: 1.3125rem; margin-bottom: .5rem; }
  .feature p { color: var(--ink-2); font-size: 1.0625rem; }

  /* Reveal on scroll (only when JS is available) */
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal-ready [data-reveal] { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------- sections */
@layer sections {
  /* Hero */
  .hero { padding-top: clamp(.75rem, 1vw, 1.25rem); }
  .hero__panel {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--navy-900);
    color: #fff;
  }
  .hero__panel .water-canvas { z-index: -1; mix-blend-mode: screen; }
  .hero__grid {
    display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center;
    padding: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(1.5rem, 1rem + 4vw, 5rem);
  }
  @media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }
  .hero__grid > *, .page-hero__grid > * { min-width: 0; }
  @media (max-width: 520px) {
    .btn { white-space: normal; text-align: center; }
    .hero__actions .btn, .page-hero__actions .btn, .cta-band__actions .btn { width: 100%; }
    .eyebrow { letter-spacing: .1em; }
  }
  .hero__title { font-size: var(--fs-h1); font-weight: 800; color: #fff; max-width: 16ch; letter-spacing: -0.015em; }
  .hero__title em { font-style: italic; font-weight: 400; color: var(--aqua); padding-right: .06em; }
  .hero__lead { margin-top: 1.5rem; max-width: 34em; font-size: var(--fs-lead); line-height: 1.55; color: #dce7f0; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
  .hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2rem; font-size: 1rem; color: #c9d8e5; }
  .hero__proof li { display: flex; align-items: center; gap: .45rem; }
  .hero__proof .icon { color: #5ee0a0; stroke-width: 2.4; width: 1.1em; height: 1.1em; }
  .hero__media { position: relative; }
  .hero__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
  .hero__chip {
    position: absolute; display: flex; align-items: center; gap: .7rem;
    padding: .75rem 1rem .75rem .75rem; max-width: 250px;
    border-radius: 16px; background: rgb(255 255 255 / .94); color: var(--ink);
    box-shadow: 0 20px 40px -12px rgb(0 0 0 / .35);
    font-size: .9375rem; line-height: 1.3;
    backdrop-filter: blur(8px);
    animation: float 7s ease-in-out infinite;
  }
  .hero__chip-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #eaf4fa; color: var(--blue); }
  .hero__chip--a { left: -1.5rem; bottom: 12%; }
  .hero__chip--b { right: -1rem; top: 10%; animation-delay: -3.5s; }
  @keyframes float { 50% { transform: translateY(-10px); } }
  @media (max-width: 999px) {
    .hero__media { max-width: 560px; }
    .hero__chip--a { left: .75rem; }
    .hero__chip--b { right: .75rem; }
  }
  @media (max-width: 520px) { .hero__chip--b { display: none; } }

  .section__head--light .lead, .section--navy .lead { color: #d2dfea; }

  /* Trust bar */
  .trust { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
  .trust__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
  @media (min-width: 900px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }
  .trust__list li { display: grid; gap: .2rem; padding-left: 1rem; border-left: 3px solid var(--orange); }
  .trust__list strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); color: var(--navy-900); line-height: 1.2; }
  .trust__list span { color: var(--ink-2); font-size: 1rem; line-height: 1.4; }

  /* Stats */
  .stats { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
  .stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  @media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
  .stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--sand-50); }
  .stat dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.7rem + 1.4vw, 2.75rem); line-height: 1; color: var(--navy-900); font-variant-numeric: tabular-nums; }
  .stat dt { font-size: .9375rem; color: var(--ink-3); line-height: 1.4; }

  /* Why */
  .why__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
  @media (min-width: 960px) { .why__grid { grid-template-columns: 1.1fr .9fr; } }
  .why__copy .lead { margin-block: 1.5rem; }
  .layers { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .layers__title { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.25rem; }
  .layers__list { list-style: none; display: grid; gap: .65rem; }
  .layers__list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 14px; background: var(--sand-50); }
  .layers__list strong { display: block; font-size: 1.0625rem; }
  .layers__list span { color: var(--ink-2); font-size: 1rem; }
  .layers__n { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sand-200); font-weight: 700; font-size: .9375rem; color: var(--ink) !important; }
  .layers__list li.is-ours { background: var(--navy-900); color: #fff; box-shadow: 0 16px 30px -14px rgb(6 32 56 / .6); transform: scale(1.03); }
  .layers__list li.is-ours span { color: #c9d8e5; }
  .layers__list li.is-ours em { color: var(--aqua); font-style: normal; font-weight: 650; }
  .layers__list li.is-ours .layers__n { background: var(--orange); color: var(--navy-950) !important; }

  /* Systems */
  .systems__grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
  @media (min-width: 760px) { .systems__grid { grid-template-columns: 1fr 1fr; } }
  .system { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .4s, transform .4s var(--ease); }
  .system:hover { box-shadow: var(--shadow); }
  .system:hover .media img { transform: scale(1.04); }
  .system__media { display: block; }
  .system__media .media { border-radius: 0; }
  .system__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
  .system__body > p { color: var(--ink-2); margin-top: .75rem; }
  .system__body .link-arrow { margin-top: auto; }
  .system__kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin-bottom: .6rem; }

  /* Compare */
  .compare__grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: start; }
  @media (min-width: 1180px) { .compare__grid { grid-template-columns: 1.4fr .6fr; } }
  .table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
  .compare-table { width: 100%; min-width: 680px; font-size: 1.0625rem; }
  .compare-table th, .compare-table td { padding: 1.05rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
  .compare-table tbody tr:last-child > * { border-bottom: 0; }
  .compare-table thead th { font-size: 1.0625rem; font-weight: 700; color: var(--navy-900); background: var(--sand-100); }
  .compare-table thead th:nth-child(2) { color: var(--blue); }
  .compare-table tbody th { font-weight: 600; color: var(--ink); width: 25%; }
  .compare-table td { color: var(--ink-2); }
  .compare-table td .icon { display: inline-block; vertical-align: -0.22em; margin-right: .3rem; color: var(--blue); stroke-width: 2.4; width: 1.1em; height: 1.1em; }
  .compare-table tbody tr:hover > * { background: #fafcfd; }

  .finder { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; }
  .finder__kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); margin-bottom: .75rem; }
  .finder__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; margin-bottom: 1.5rem; color: #fff; }
  .finder__q { margin: 0 0 1.25rem; padding: 0; border: 0; }
  .finder__q legend { padding: 0; margin-bottom: .75rem; font-weight: 600; color: #dfe9f2; line-height: 1.45; }
  .finder .choice-row { grid-template-columns: 1fr; }
  .finder .choice > span { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .2); color: #fff; min-height: 54px; }
  .finder .choice > span::before { background: transparent; border-color: rgb(255 255 255 / .5); }
  .finder .choice:hover > span { border-color: var(--aqua); }
  .finder .choice input:checked + span { background: rgb(138 216 234 / .14); border-color: var(--aqua); box-shadow: 0 0 0 1px var(--aqua); }
  .finder .choice input:checked + span::before { border-color: var(--aqua); box-shadow: inset 0 0 0 5px var(--aqua); }
  .finder__result { margin-top: .5rem; padding: 1.25rem; border-radius: 16px; background: #fff; color: var(--ink); animation: faq-in .45s var(--ease); }
  .finder__result h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; margin-bottom: .4rem; }
  .finder__result p { color: var(--ink-2); font-size: 1rem; }
  .finder__result .finder__links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .9rem; }

  /* Process */
  .steps { list-style: none; display: grid; gap: 1.25rem; counter-reset: step; }
  @media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
  .step { position: relative; padding: 2rem 1.75rem; border-radius: var(--radius-lg); background: var(--navy-800); }
  .step__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.25rem; border-radius: 50%; background: var(--orange); color: var(--navy-950); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
  .step__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.5rem; border-radius: 14px; background: rgb(138 216 234 / .12); color: var(--aqua); }
  .step__icon .icon { width: 26px; height: 26px; }
  .step h3 { font-size: 1.375rem; margin-bottom: .6rem; }
  .step p { color: #d2dfea; font-size: 1.0625rem; }

  /* Mosaic */
  .mosaic { display: grid; gap: 1rem; }
  @media (min-width: 760px) {
    .mosaic { grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: auto auto; }
    .mosaic__a { grid-row: span 2; aspect-ratio: auto; height: 100%; min-height: 100%; }
    .mosaic__d { grid-column: span 2; }
  }

  /* Reviews */
  .reviews { columns: 1; column-gap: 1.25rem; }
  @media (min-width: 700px) { .reviews { columns: 2; } }
  @media (min-width: 1100px) { .reviews { columns: 3; } }
  .reviews .review { break-inside: avoid; margin-bottom: 1.25rem; }
  .review { margin: 0; padding: 2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
  .review__stars, .reviews-empty__stars { color: #f2a51a; letter-spacing: .15em; font-size: 1.125rem; }
  .review blockquote { margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--ink); }
  .review figcaption { color: var(--ink-3); font-size: 1rem; }
  .reviews__more { margin-top: 2rem; }
  .reviews-empty { display: grid; justify-items: start; gap: 1.25rem; padding: clamp(1.75rem, 1rem + 2vw, 3rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
  @media (min-width: 900px) {
    .reviews-empty { grid-template-columns: auto 1fr auto; align-items: center; gap: 2.5rem; }
    .reviews-empty__text { max-width: 36ch; }
  }
  .reviews-empty__stars { font-size: 1.5rem; }
  .reviews-empty__text { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.45; color: var(--ink); }

  /* Area checker */
  .area-check__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
  @media (min-width: 960px) { .area-check__grid { grid-template-columns: 1fr 1fr; } }
  .area-check__grid .lead { margin-block: 1.25rem 1.5rem; }
  .checker { position: relative; padding: clamp(1.75rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .checker__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.25rem; border-radius: 16px; background: #fff0e0; color: var(--orange-600); }
  .checker__icon .icon { width: 28px; height: 28px; }
  .checker__label { display: block; font-weight: 650; font-size: 1.1875rem; margin-bottom: .75rem; }
  .checker__row { display: flex; gap: .6rem; }
  .checker__row .btn { flex: none; border-radius: 12px; min-height: 56px; }
  .checker__result { min-height: 1.6em; margin: 1rem 0 0; font-weight: 550; }
  .checker__result.is-yes { color: #146c43; }
  .checker__result.is-maybe { color: var(--ink-2); }
  .checker__result .icon { display: inline-block; vertical-align: -0.25em; margin-right: .35rem; }

  /* FAQ layout */
  .faq-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
  @media (min-width: 960px) { .faq-layout { grid-template-columns: .8fr 1.2fr; } .faq-layout__head { position: sticky; top: calc(var(--header-h) + 2rem); } }
  .faq-layout__head .h2 { margin-bottom: 1.25rem; }
  .faq-layout__head p { color: var(--ink-2); margin-bottom: 1.5rem; }

  /* CTA band */
  .cta-band { padding-block: 0 var(--section); }
  .section--tint + .cta-band, .section--navy + .cta-band { padding-top: var(--section); }
  .section--tint + .cta-band { background: linear-gradient(var(--sand-100) 50%, #fff 50%); }
  .cta-band__inner {
    position: relative; isolation: isolate; overflow: hidden;
    padding: clamp(3rem, 2rem + 4vw, 6rem) clamp(1.5rem, 1rem + 4vw, 5rem);
    border-radius: var(--radius-xl);
    background: var(--navy-900);
    color: #fff;
  }
  .cta-band__inner .water-canvas { z-index: -1; mix-blend-mode: screen; }
  .cta-band__content { max-width: 720px; }
  .cta-band__title { font-size: var(--fs-h2); color: #fff; }
  .cta-band__text { margin-top: 1.25rem; font-size: var(--fs-lead); color: #c9d8e5; }
  .cta-band__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
  .cta-band__note { margin-top: 1.5rem; color: #9fb4c7; font-size: 1rem; }
  .cta-band__note a { color: #fff; }

  /* Page hero (interior pages) */
  .page-hero { padding-top: clamp(.75rem, 1vw, 1.25rem); }
  .page-hero__panel {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--navy-900);
    color: #fff;
  }
  .page-hero__panel .water-canvas { z-index: -1; mix-blend-mode: screen; }
  .page-hero__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; padding: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(1.5rem, 1rem + 4vw, 5rem); }
  @media (min-width: 1000px) { .page-hero__grid--media { grid-template-columns: 1.05fr .95fr; } }
  .page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); font-weight: 800; color: #fff; max-width: 20ch; }
  .page-hero h1 em { color: var(--aqua); font-weight: 400; padding-right: .06em; }
  .page-hero__lead { margin-top: 1.25rem; font-size: var(--fs-lead); color: #dce7f0; max-width: 36em; }
  .page-hero__lead a { color: #fff; }
  .page-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
  .page-hero .media { box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); }

  /* Prose */
  .prose { max-width: 68ch; }
  .prose h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin: 2.5rem 0 1rem; }
  .prose h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
  .prose p, .prose li { color: var(--ink-2); }
  .prose ul { padding-left: 1.25rem; display: grid; gap: .5rem; margin-bottom: 1.25rem; }

  /* Split callout */
  .callout { display: grid; gap: 1.25rem; padding: clamp(1.75rem, 1rem + 2vw, 3rem); border-radius: var(--radius-lg); background: #eaf4fa; border: 1px solid #cfe4f1; }
  .callout h3 { font-size: 1.375rem; }
  @media (min-width: 900px) { .callout { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; } }
  .callout__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--blue); }
  .callout__icon .icon { width: 30px; height: 30px; }
  .callout p { color: var(--ink-2); margin-top: .35rem; }

  /* Removal steps (mesh page) */
  .mini-steps { list-style: none; display: grid; gap: 1rem; counter-reset: mini; }
  .mini-steps li { counter-increment: mini; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.25rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
  .mini-steps li::before { content: counter(mini); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 700; }
  .mini-steps strong { display: block; font-size: 1.0625rem; margin-bottom: .15rem; }
  .mini-steps span { color: var(--ink-2); font-size: 1rem; }

  /* Gallery */
  .filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
  .filter { min-height: 48px; padding: .6rem 1.25rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; transition: all .2s; }
  .filter:hover { border-color: var(--navy-900); }
  .filter[aria-pressed='true'] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
  .gallery { list-style: none; columns: 1; column-gap: 1rem; }
  @media (min-width: 640px) { .gallery { columns: 2; } }
  @media (min-width: 1024px) { .gallery { columns: 3; } }
  .gallery__item { break-inside: avoid; margin-bottom: 1rem; }
  .gallery__item.is-hidden { display: none; }
  .gallery__btn { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sand-200); }
  .gallery__btn img { width: 100%; transition: transform .8s var(--ease); }
  .gallery__btn:hover img { transform: scale(1.03); }

  .lightbox { width: min(96vw, 1200px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-lg); background: transparent; overflow: visible; }
  .lightbox::backdrop { background: rgb(3 20 36 / .88); backdrop-filter: blur(6px); }
  .lightbox img { width: 100%; max-height: 84vh; object-fit: contain; border-radius: var(--radius-lg); }
  .lightbox__bar { display: flex; justify-content: center; gap: .75rem; margin-top: 1rem; }
  .lightbox__btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: .5rem 1.1rem; border: 1px solid rgb(255 255 255 / .35); border-radius: 999px; background: rgb(255 255 255 / .1); color: #fff; font-weight: 600; cursor: pointer; }
  .lightbox__btn:hover { background: rgb(255 255 255 / .2); }

  /* Service areas */
  .areas__state + .areas__state { margin-top: 3.5rem; }
  .areas__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .areas__grid { display: grid; gap: 1.25rem; }
  @media (min-width: 640px) { .areas__grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .areas__grid { grid-template-columns: repeat(3, 1fr); } }
  .areas__county { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
  .areas__county h4 { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin-bottom: .85rem; }
  .areas__county ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
  .areas__county li { padding: .35rem .8rem; border-radius: 999px; background: var(--sand-100); font-size: 1rem; transition: background-color .4s, color .4s; }
  .areas__county li.is-match { background: var(--navy-900); color: #fff; }
  .extended { margin-top: 3rem; }

  /* Radius graphic */
  .radius { position: relative; width: 100%; max-width: 640px; margin: 0 auto; }
  .radius__title { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 0 0 .75rem; color: #fff; font-weight: 700; font-size: 1.125rem; }
  .radius__ring { flex: none; width: 1.1em; height: 1.1em; border-radius: 50%; border: 2.5px dashed #fff; background: rgb(138 216 234 / .25); }
  .page-service-areas .page-hero__panel::after { opacity: .035; }
  .radius svg { width: 100%; height: 100%; }

  /* Contact */
  .contact-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
  @media (min-width: 1000px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }
  /* Brand watermark: the BarrierOne mark, large and cropped, behind dark panels.
     Uses a CSS mask so the colour/opacity is controlled here. */
  .hero__panel::after, .page-hero__panel::after, .cta-band__inner::after, .section--navy::after, .footer::after, .brand-bg::after {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    right: -4%; bottom: -22%;
    width: clamp(340px, 48vw, 720px); aspect-ratio: 1;
    background: #fff; opacity: .12;
    -webkit-mask: url('/images/brand/mark.svg') no-repeat center / contain;
    mask: url('/images/brand/mark.svg') no-repeat center / contain;
    transform: rotate(-8deg);
  }
  .hero__panel::after { right: auto; left: -6%; bottom: -30%; width: clamp(360px, 52vw, 780px); transform: rotate(8deg); }
  .page-hero__panel::after { width: clamp(300px, 40vw, 600px); bottom: -28%; }
  .cta-band__inner::after { right: -5%; bottom: -32%; opacity: .13; }
  .section--navy, .footer, .brand-bg { position: relative; isolation: isolate; overflow: hidden; }
  .section--navy::after { left: -8%; right: auto; bottom: -25%; transform: rotate(8deg); }
  .footer::after { right: -5%; bottom: auto; top: -10%; opacity: .07; width: clamp(320px, 36vw, 560px); }
  .brand-bg::after { background: var(--navy-700); opacity: .13; right: -6%; bottom: auto; top: 8%; }
  @media print { .hero__panel::after, .page-hero__panel::after, .cta-band__inner::after, .section--navy::after, .footer::after, .brand-bg::after { display: none; } }

  /* Town autocomplete (custom combobox; replaces native datalist) */
  .ac { position: relative; flex: 1; min-width: 0; }
  .ac .input { width: 100%; }
  .ac__list {
    position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
    list-style: none; margin: 0; padding: .35rem;
    max-height: min(22rem, 55vh); overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
    box-shadow: 0 18px 40px -12px rgb(6 32 56 / .28);
  }
  .ac__opt {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 48px; padding: .6rem .9rem; border-radius: 8px;
    font-size: 1.0625rem; color: var(--ink); cursor: pointer;
  }
  .ac__opt:hover, .ac__opt[aria-selected='true'] { background: var(--sand-100); }
  .ac__opt[aria-selected='true'] { box-shadow: inset 3px 0 0 var(--blue); }
  .ac__opt mark { background: none; color: var(--navy-900); font-weight: 800; }
  .ac__state { flex: none; font-size: .875rem; font-weight: 700; color: var(--ink-3); }

  /* Estimate request form (multi-step) */
  .estimate-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
  @media (min-width: 1080px) { .estimate-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); } .estimate-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
  .estimate-aside { display: grid; gap: 1.25rem; }
  .estimate-main { display: grid; gap: 1.25rem; min-width: 0; }
  @media (min-width: 700px) { .estimate-includes .checks { columns: 2; column-gap: 2rem; display: block; } .estimate-includes .checks li { break-inside: avoid; margin-bottom: .55rem; } }
  .estimate-aside .card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3125rem; color: var(--navy-900); }
  .req { color: #b3261e; font-weight: 700; }
  .wizard { gap: 1.75rem; }
  .wizard .fstep { margin: 0; padding: 0; border: 0; display: grid; gap: 1.5rem; min-width: 0; }
  .wizard .fstep + .fstep { padding-top: 2rem; border-top: 1px solid var(--line); }
  .is-wizard .fstep + .fstep { padding-top: 0; border-top: 0; }
  .is-wizard .fstep:not(.is-current) { display: none; }
  .fstep__legend { display: grid; gap: .2rem; padding: 0; margin-bottom: .25rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); color: var(--navy-900); }
  .fstep__legend:focus { outline: none; }
  .fstep__num { font-family: var(--font-body); font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-600); }
  .wizard__progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 0 0 .5rem; counter-reset: none; }
  .wizard__progress li { display: grid; justify-items: center; gap: .4rem; position: relative; text-align: center; font-size: .875rem; font-weight: 600; color: var(--ink-3); }
  .wizard__progress li::before { content: ''; position: absolute; top: 17px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 3px; border-radius: 3px; background: var(--line); }
  .wizard__progress li:first-child::before { display: none; }
  .wizard__progress li.is-done::before, .wizard__progress li.is-current::before { background: var(--blue); }
  .wizard__dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sand-100); border: 2px solid var(--line); font-weight: 800; color: var(--ink-2); position: relative; z-index: 1; }
  .wizard__progress li.is-current { color: var(--navy-900); }
  .wizard__progress li.is-current .wizard__dot { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
  .wizard__progress li.is-done .wizard__dot { background: var(--blue); border-color: var(--blue); color: #fff; }
  @media (max-width: 520px) { .wizard__label { font-size: .75rem; line-height: 1.2; } }
  .wizard__nav { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; }
  .wizard__nav [data-next], .wizard__nav [data-submit] { margin-left: auto; }
  @media (max-width: 520px) { .wizard__nav .btn { flex: 1 1 100%; } .wizard__nav [data-prev] { order: 2; } }
  .form__row--town { display: grid; gap: 1.5rem; }
  @media (min-width: 640px) { .form__row--town { grid-template-columns: 2fr 1fr 1.2fr; } }
  .choice-row--days { grid-template-columns: repeat(3, 1fr); }
  @media (min-width: 640px) { .choice-row--days { grid-template-columns: repeat(6, 1fr); } }
  .choice-row--days .choice > span { justify-content: center; padding-inline: .6rem; }
  .choice-row--days .choice > span::before { display: none; }
  .choice-row--days .choice input:checked + span { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
  .has-error .choice > span { border-color: #b3261e; }
  .choice--consent > span { min-height: 0; align-items: flex-start; font-weight: 500; }
  .area-note { margin: -.5rem 0 0; padding: .85rem 1rem; border-radius: 10px; font-weight: 600; }
  .area-note .icon { display: inline-block; vertical-align: -0.25em; margin-right: .25rem; }
  .area-note.is-yes { background: #e6f4ec; color: #146c43; }
  .area-note.is-maybe { background: var(--sand-100); color: var(--ink-2); }
  .input--file { padding: .7rem; min-height: 0; background: var(--sand-50); }
  .review-box { padding: 1.25rem 1.4rem; border-radius: 12px; background: var(--sand-50); border: 1px solid var(--line); }
  .review-box h3 { font-size: 1.125rem; margin-bottom: .75rem; }
  .review-box dl { margin: 0; display: grid; gap: .5rem; }
  .review-box dl > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: .75rem; font-size: 1rem; }
  .review-box dt { color: var(--ink-3); }
  .review-box dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
  @media (max-width: 520px) { .review-box dl > div { grid-template-columns: 1fr; gap: 0; } }

  /* Google reviews */
  .g-logo { width: 1.35em; height: 1.35em; flex: none; }
  .g-rating {
    display: inline-flex; align-items: center; flex-wrap: wrap; gap: .45rem .55rem;
    padding: .6rem 1rem; border-radius: 10px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.2;
    transition: box-shadow .2s, transform .2s var(--ease);
  }
  .g-rating:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-1px); }
  .g-rating__score { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
  .g-rating__stars { color: #f5a623; letter-spacing: .08em; font-size: 1.125rem; }
  .g-rating__count { color: var(--ink-2); text-decoration: underline; text-underline-offset: .18em; }
  .g-rating--light { background: rgb(255 255 255 / .96); border-color: transparent; }
  .hero__rating { margin-top: 1.75rem; }
  .footer__rating { margin-top: 1.5rem; }
  /* Reviews directly under the trust bar: no big empty band between them */
  .trust { padding-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem); }
  .trust + .reviews-block { padding-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
  .footer .g-rating, .footer .g-rating:hover { color: var(--ink); text-decoration: none; }
  .footer .g-rating:hover .g-rating__count { color: var(--blue); }
  .form-card__rating { margin-bottom: 1.25rem; }

  .reviews-summary {
    display: grid; gap: 1.5rem; align-items: center;
    margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  @media (min-width: 980px) { .reviews-summary { grid-template-columns: auto 1fr auto; gap: 2.5rem; } }
  .reviews-summary__score {
    display: grid; grid-template-columns: auto auto; align-items: center; column-gap: .75rem;
    padding-right: clamp(0rem, 2vw, 2.5rem); color: var(--ink); text-decoration: none;
  }
  @media (min-width: 980px) { .reviews-summary__score { border-right: 1px solid var(--line); } }
  .reviews-summary__score .g-logo { width: 44px; height: 44px; grid-row: span 2; }
  .reviews-summary__score strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 2rem + 1.5vw, 3.25rem); line-height: 1; }
  .reviews-summary__stars { grid-column: 2; color: #f5a623; font-size: 1.375rem; letter-spacing: .1em; }
  .reviews-summary__count { grid-column: 1 / -1; margin-top: .5rem; color: var(--ink-2); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
  .reviews-summary__score:hover .reviews-summary__count { color: var(--blue); }
  .reviews-summary__text .h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
  .reviews-summary__text .lead { margin-top: .5rem; }

  .trust__google a { display: grid; gap: .2rem; color: inherit; text-decoration: none; }
  .trust__google a:hover strong { color: var(--blue); text-decoration: underline; }

  .topbar__google { display: inline-flex; align-items: center; gap: .4rem; color: #fff; text-decoration: none; white-space: nowrap; }
  .topbar__google span[aria-hidden] { color: #f5a623; letter-spacing: .05em; }
  .topbar__google .g-logo { width: 1.1em; height: 1.1em; }
  .topbar__google:hover { color: var(--aqua); }
  /* Pool safety guide */  .grid-2--top { align-items: start; }
  @media (min-width: 900px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 2rem); } }
  .checklist { display: grid; gap: 0 2.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
  @media (min-width: 900px) { .checklist { grid-template-columns: 1fr 1fr; } }
  .checklist .checks { margin: 0; }
  .checklist .checks + .checks { margin-top: .9rem; }
  @media (min-width: 900px) { .checklist .checks + .checks { margin-top: 0; } }
  .checks--lg { gap: .9rem; font-size: 1.125rem; }
  .layers__list--guide li { background: #fff; }
  .share-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
  .feature .source { margin-top: .75rem; font-size: .875rem; }

  .contact-grid > * { min-width: 0; }
  .contact-option > span:not(.contact-option__icon) { min-width: 0; overflow-wrap: anywhere; }
  .contact-intro { margin-block: .75rem 1.75rem; }
  .card__title { font-size: 1.1875rem; }
  .contact-options { display: grid; gap: .9rem; }
  .contact-option {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
    padding: 1.25rem 1.35rem; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line);
    color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
  }
  .contact-option:hover { color: var(--ink); border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
  .contact-option__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #eaf4fa; color: var(--blue); }
  .contact-option--primary .contact-option__icon { background: #fff0e0; color: var(--orange-600); }
  .contact-option strong { display: block; font-size: 1.125rem; }
  .contact-option span { color: var(--ink-3); font-size: 1rem; }
  .contact-option > .icon { color: var(--ink-3); }

  .form-card { padding: clamp(1.5rem, 1rem + 2vw, 3rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .form-card h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); margin-bottom: .5rem; }
  .form-card > p { color: var(--ink-2); margin-bottom: 2rem; }
  .form { display: grid; gap: 1.5rem; }
  .form__row { display: grid; gap: 1.5rem; }
  @media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
  .field { display: grid; gap: .5rem; }
  .field__label, .fieldset legend { font-weight: 650; font-size: 1.0625rem; }
  .field__opt { font-weight: 400; color: var(--ink-3); font-size: .9375rem; }
  .field__hint { font-size: .9375rem; color: var(--ink-3); }
  .field__error { font-size: .9375rem; color: #b3261e; font-weight: 550; }
  .fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: .75rem; }
  .fieldset legend { padding: 0; margin-bottom: .75rem; }
  .choice-row--3, .choice-row--4 { grid-template-columns: 1fr; }
  @media (min-width: 640px) { .choice-row--3 { grid-template-columns: repeat(3, 1fr); } }
  .form__submit { display: grid; gap: .75rem; }
  .form__fine { font-size: .9375rem; color: var(--ink-3); }
  .form__status { padding: 1rem 1.25rem; border-radius: 12px; font-weight: 550; }
  .form__status.is-error { background: #fdecea; color: #8c1d18; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .form-success { text-align: center; padding: 2rem 0; }
  .form-success__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 1.5rem; border-radius: 50%; background: #e6f4ec; color: #146c43; }
  .form-success__icon .icon { width: 38px; height: 38px; stroke-width: 2.4; }
  .form-success h2 { margin-bottom: .75rem; }
  .form-success p { color: var(--ink-2); max-width: 40ch; margin-inline: auto; }
  .btn.is-loading { pointer-events: none; opacity: .75; }
  .btn.is-loading::after { content: ''; width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .book { margin-top: var(--section); }
  .book__frame { min-height: 700px; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
  .book__placeholder { display: grid; place-items: center; gap: 1rem; min-height: 420px; padding: 2rem; text-align: center; }
  .book__placeholder p { color: var(--ink-2); max-width: 44ch; }

  /* About */
  .values { display: grid; gap: 1.25rem; }
  @media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
  .quote-block { position: relative; padding: clamp(2rem, 1rem + 3vw, 3.5rem); border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; }
  .quote-block blockquote { margin: 0; font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); line-height: 1.4; }
  .quote-block figcaption { margin-top: 1.5rem; color: #9fb4c7; }
  .quote-block figcaption strong { color: #fff; }

  /* 404 */
  .notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
  .notfound h1 { font-size: var(--fs-h1); margin-bottom: 1rem; }
  .notfound p { color: var(--ink-2); max-width: 40ch; margin: 0 auto 2rem; }
  .notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

  /* Footer */
  .footer { background: var(--navy-950); color: #9fb4c7; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 2rem; font-size: 1rem; }
  .footer a { color: #dbe6ef; text-decoration: none; }
  .footer a:hover { color: #fff; text-decoration: underline; }
  .footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
  @media (min-width: 760px) { .footer__top { grid-template-columns: repeat(3, 1fr); } .footer__brand { grid-column: 1 / -1; } }
  @media (min-width: 1100px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } .footer__brand { grid-column: auto; } }
  .footer__tagline { margin: 1.25rem 0 1.5rem; max-width: 34ch; }
  .footer__phone { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); color: #fff !important; line-height: 1; }
  .footer__phone-note { margin-top: .5rem; font-size: .9375rem; }
  .footer__h { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
  .footer__col ul { list-style: none; display: grid; gap: .7rem; }
  .footer__contact li { display: flex; align-items: center; gap: .65rem; }
  .footer__contact .icon { color: var(--aqua); width: 1.15em; height: 1.15em; }
  .footer__areas-wrap { padding-block: 2.5rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
  .footer__areas-intro { margin-bottom: 1rem; }
  .footer__areas { font-size: .9375rem; line-height: 1.8; color: #7f96aa; margin-bottom: .5rem; }
  .footer__areas strong { color: #b6c7d6; }
  .footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: .9375rem; }
  .footer__bottom p { margin: 0; }
}

/* --------------------------------------------------------------- utilities */
@layer utilities {
  .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; }
  .mt-0 { margin-top: 0 !important; }
  .mt-2 { margin-top: 2rem; }
  .mt-3 { margin-top: 3rem; }
  .center { text-align: center; }
}

@media print {
  .topbar, .header, .actionbar, .mobile-menu, .water-canvas, .cta-band, .footer__areas-wrap { display: none !important; }
  body { background: #fff; padding: 0; }
  .hero__panel, .page-hero__panel { background: #fff !important; color: #000; }
  .hero__title, .page-hero h1 { color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__panel *, .page-hero__panel *, .section--navy, .section--navy * { color: #000 !important; }
  .section--navy { background: #fff !important; }
  a[href^="tel:"]::after { content: ""; }
}

/* Windows High Contrast / forced colors: keep borders, focus and buttons visible. */
@media (forced-colors: active) {
  :focus-visible { outline: 3px solid CanvasText !important; }
  .btn, .input, .select, .textarea, .choice span, .textsize__btn { border: 1px solid ButtonText !important; }
  .water-canvas, .hero__panel::after, .page-hero__panel::after, .section--navy::after, .footer::after { display: none !important; }
  .choice input:checked + span { outline: 2px solid Highlight; }
}
