/* Pool Era brand layer on the Design Baseline (baseline.css loads first; this file only sets slots + Pool Era patterns).
   Palette from the live site: pool blue (oklch 52% .11 245), deep pool navy ink, light water canvas, terracotta accent,
   sage. Six section colours for the bl-mega IA, all with navy text (>= 7:1). Fonts = baseline (Inter Tight + Instrument Serif). */
@font-face { font-family: "Inter Tight"; src: url(/fonts/InterTight-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/fonts/InstrumentSerif-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --section-1:#9ED3EA; --on-section-1:#0D2230;  /* New pools: water */
  --section-2:#EBCB93; --on-section-2:#0D2230;  /* Plaster & renovation: sand */
  --section-3:#AEDAC2; --on-section-3:#0D2230;  /* Service & equipment: sage */
  --section-4:#F3AE91; --on-section-4:#0D2230;  /* Who we serve: clay */
  --section-5:#CDC3EE; --on-section-5:#0D2230;  /* Quizzes & notes: lilac */
  --section-6:#D5DEE3; --on-section-6:#0D2230;  /* About: limestone */
  --brand:#1F5F94; --band:#0D2230; --band-2:#16405F;
  --accent:#E9825C; --accent-fill:#E9825C; --on-accent:#0D2230; --accent-on-dark:#F3A27F;
  /* Lauren 10/25: warm off-white page background (revert: --canvas: var(--bg-cool)). Ink 15.6:1, ink-2 6.9:1, link 6.6:1 on it. */
  --bg-warm:#F9F5EE; --bg-cool:#F4F8F9;
  --canvas:var(--bg-warm); --surface:#FFFFFF; --tint:#E4EEF2; --ink:#0D2230; --ink-2:#44586A;
  --on-dark:#F4F8F9; --on-dark-2:rgba(244,248,249,.74); --hi-on-dark:#9ED3EA; --link:#1F5F94;
  --rule:rgba(13,34,48,.13); --rule-dark:rgba(244,248,249,.18);
  --pillar-1:#9ED3EA; --on-pillar-1:#0D2230; --pillar-2:#16405F; --on-pillar-2:#F4F8F9; --pillar-3:#E4EEF2; --on-pillar-3:#0D2230; --pillar-4:#EBCB93; --on-pillar-4:#0D2230;
  --quote-bg:#9ED3EA; --on-quote:#0D2230; --menu-bg:var(--canvas);
  --pe-arrow-size: 18px;
  --gold-deep: oklch(62% .12 70); --gold-ink: oklch(30% .05 60); --gold-light: oklch(93% .09 95); --gold: oklch(80% .13 85);
}
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--link); }
.pe-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 999px; }
.pe-skip:focus { left: 8px; }
main:focus { outline: none; }

/* ---------- header / bl-mega ---------- */
.pe-header { position: sticky; top: 0; z-index: 50; }
.pe-header .bl-mega-bar { border-bottom: 1px solid var(--rule); }
.pe-brand { font: 600 26px/1 var(--font-sans); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.pe-brand em { font: italic 400 1.12em/1 var(--font-serif); margin-left: 2px; color: var(--brand); }
.pe-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font: 600 14px/1 var(--font-sans); white-space: nowrap; }
.pe-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.bl-mega-tab[aria-current="true"] { font-weight: 600; }
.bl-mega-card .art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1439px) { .pe-phone span { display: none; } }
@media (max-width: 1239px) { .pe-header .bl-mega-tabs { display: none !important; } .pe-header .bl-mega-burger { display: inline-flex !important; } }
@media (min-width: 1240px) { .pe-header .bl-mega-burger { display: none !important; } }
@media (max-width: 640px) { .pe-phone span { display: none; } .pe-header .bl-mega-actions .btn { display: none; } }

/* ---------- hero ---------- */
.pe-hero { position: relative; background: var(--band); color: var(--on-dark); overflow: hidden; }
.pe-hero-grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.pe-hero.has-media .pe-hero-grid { padding-bottom: 0; }
@media (min-width: 1024px) {
  .pe-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; padding-top: 88px; padding-bottom: 88px; min-height: 560px; }
  .pe-hero.has-media .pe-hero-grid { padding-bottom: 88px; }
  .pe-hero.no-media .pe-hero-grid { grid-template-columns: minmax(0, 1fr) 280px; min-height: 0; }
}
.pe-hero-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.pe-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 14px; color: var(--on-dark-2); }
.pe-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.pe-crumbs a { color: var(--on-dark-2); text-decoration: none; }
.pe-crumbs a:hover { color: var(--on-dark); text-decoration: underline; }
.pe-chip { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .12em; font: 600 12px/1 var(--font-sans); height: 30px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--section-color); color: var(--on-section); }
.pe-h1 { font: 400 clamp(40px, 5.2vw, 68px)/1.08 var(--font-sans); letter-spacing: -.01em; margin: 0; max-width: 18ch; text-wrap: balance; }
.pe-hero-lead { color: var(--on-dark-2); margin-top: 24px; max-width: 46ch; }
.pe-hero-lead a, .pe-hero-more a, .pe-song a { color: var(--on-dark); }
.pe-hero-more { color: var(--on-dark-2); max-width: 52ch; margin: 16px 0 0; }
.pe-hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.pe-hero-note { margin: 16px 0 0; color: var(--on-dark-2); font-size: 14px; }
.pe-hero-media { position: relative; margin: 0; align-self: stretch; min-height: 320px; }
.pe-hero-media img { width: 100%; height: 100%; min-height: 320px; max-height: 620px; object-fit: cover; border-radius: 10px; }
@media (max-width: 1023px) { .pe-hero-media { margin: 0 calc(-1 * var(--gutter)); } .pe-hero-media img { border-radius: 0; max-height: 420px; } }
.pe-hero-sealonly { display: none; }
@media (min-width: 1024px) { .pe-hero-sealonly { display: flex; justify-content: center; } }
.pe-seal { display: block; width: 168px; height: 168px; color: inherit; transition: transform 150ms var(--ease); }
.pe-seal:hover { transform: scale(1.04); }
.pe-seal svg { width: 100%; height: 100%; display: block; }
.pe-hero-media .pe-seal { position: absolute; left: -36px; bottom: -36px; width: 152px; height: 152px; }
@media (max-width: 1023px) { .pe-hero-media .pe-seal { left: 16px; bottom: 16px; width: 112px; height: 112px; } }
.pe-hero-sealonly .pe-seal { width: 240px; height: 240px; }
.pe-song { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule-dark); }
.pe-song .eyebrow { margin-bottom: 8px; }
.pe-song p { margin: 0 0 16px; }
.pe-play { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; color: var(--on-dark); font: 600 14px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; padding: 0; min-height: 56px; }
.pe-play svg { width: 56px; height: 56px; padding: 16px; border-radius: 999px; background: var(--accent-fill); fill: var(--on-accent); box-sizing: border-box; }
.pe-play .i-pause, .pe-play[aria-pressed="true"] .i-play { display: none; }
.pe-play[aria-pressed="true"] .i-pause { display: inline; }

/* ---------- sections: the header stack ---------- */
.pe-head { display: grid; gap: 24px; margin-bottom: 56px; }
.pe-head .h2 { max-width: 22ch; }
.pe-head .lead { color: var(--ink-2); margin: 0; }
@media (min-width: 1024px) { .pe-head.split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; align-items: end; margin-bottom: 72px; } }
.band .pe-head .lead, .band .pe-lead, .band .pe-p { color: var(--on-dark-2); }
.pe-split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .pe-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } .pe-sticky { position: sticky; top: 112px; } }
.pe-split-head .h2 { max-width: 16ch; }
.pe-split-body { max-width: 68ch; }
.pe-lead { margin: 0 0 24px; color: var(--ink); max-width: none; }
.pe-p { margin: 0 0 20px; color: var(--ink-2); line-height: 1.6; max-width: 68ch; }
.pe-p a, .pe-lead a, .pe-checks a, .bl-faq a { color: var(--link); text-underline-offset: 3px; }
.pe-h3 { font: 500 22px/1.3 var(--font-sans); margin: 32px 0 12px; }
.pe-label { font: 600 13px/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 40px 0 12px; }
.pe-note { font-size: 14px; color: var(--ink-2); }
.pe-bare > * + * { margin-top: 32px; }
.pe-body > * + * { margin-top: 40px; }
.pe-body > .pe-p { max-width: 68ch; }
.pe-more { margin: 32px 0 0; }
.bl-arrow-link { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1.3 var(--font-sans); color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.bl-arrow-link svg, .pe-rows svg, .pe-card-more svg { width: var(--pe-arrow-size); height: var(--pe-arrow-size); fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; transition: transform 150ms var(--ease); }
.bl-arrow-link:hover svg, .pe-rows a:hover svg, a:hover > .pe-card-more svg, a:hover .pe-card-more svg { transform: translateX(4px); }
.band .bl-arrow-link { color: var(--on-dark); }

/* checklist rows */
.pe-checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pe-checks li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 18px; line-height: 1.45; }
.pe-ico { flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--section-color); display: inline-grid; place-items: center; margin-top: 1px; }
.pe-ico svg { width: 16px; height: 16px; fill: none; stroke: var(--on-section); stroke-width: 2.2; }
.band .pe-checks, .band .pe-checks li { border-color: var(--rule-dark); }

/* pills + rows */
.pe-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pe-pills a, .pe-pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font: 500 15px/1.2 var(--font-sans); transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.tinted .pe-pills a, .tinted .pe-pills span { background: var(--surface); }
.pe-sec:not(.tinted) .pe-pills a, .pe-sec:not(.tinted) .pe-pills span { background: var(--tint); }
.pe-pills a:hover { background: var(--section-color) !important; color: var(--on-section); }
.pe-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pe-rows a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font: 500 18px/1.3 var(--font-sans); }
.pe-rows a:hover { color: var(--brand); }
.band .pe-rows a { color: var(--on-dark); border-color: var(--rule-dark); }

/* tiles: colour-blocked, fill only (no borders, no stripes) */
.pe-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 700px) { .pe-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pe-tiles.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } .pe-tiles.n4, .pe-tiles.nmany { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pe-tiles.n2 { gap: 32px; } .pe-tiles.dense { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.pe-tiles.n3 li:first-child .pe-tile { min-height: 100%; }
.pe-tile { display: flex; flex-direction: column; gap: 12px; height: 100%; box-sizing: border-box; padding: 32px; border-radius: 10px; text-decoration: none; color: inherit; transition: transform 200ms var(--ease); min-height: 220px; }
.pe-tiles.dense .pe-tile, .pe-tiles.nmany .pe-tile { min-height: 0; padding: 24px; }
a.pe-tile:hover { transform: translateY(-4px); }
.pe-tile-top:empty { display: none; }
.pe-num { font: italic 400 40px/1 var(--font-serif); }
.fill-sec { background: var(--section-color); color: var(--on-section); }
.fill-deep { background: var(--band-2); color: var(--on-dark); }
.fill-tint { background: var(--tint); color: var(--ink); }
.tinted .fill-tint { background: var(--surface); }
.pe-card-title { font: 500 24px/1.25 var(--font-sans); }
.pe-tiles.dense .pe-card-title, .pe-tiles.nmany .pe-card-title { font-size: 19px; }
.pe-card-title.big { font-size: clamp(26px, 3vw, 36px); font-weight: 400; max-width: 24ch; }
.pe-card-text { display: block; font-size: 16px; line-height: 1.5; opacity: .82; }
.pe-card-more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font-sans); }
.pe-feature-card { display: flex; flex-direction: column; gap: 16px; padding: 40px; border-radius: 10px; text-decoration: none; max-width: 760px; }
.pe-feature-card:hover .pe-card-more svg { transform: translateX(4px); }

/* image cards */
.pe-imgcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
@media (min-width: 700px) { .pe-imgcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pe-imgcards.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pe-imgcards.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.pe-imgcards a { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; }
.pe-imgcard-media { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--tint); }
.pe-imgcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.pe-imgcards a:hover img { transform: scale(1.04); }
.pe-imgcard-body { display: flex; flex-direction: column; gap: 8px; }

/* gallery */
.pe-gallery { display: grid; gap: 24px; }
@media (min-width: 700px) { .pe-gallery.n2, .pe-gallery.n3, .pe-gallery.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pe-gallery .wide { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .pe-gallery.n4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pe-gallery figure { margin: 0; }
.pe-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.pe-gallery .wide img { aspect-ratio: 21 / 9; }
.pe-gallery figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }

/* comparison table (Superside bl-compare idea, highlighted "us" column) */
.pe-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pe-compare { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; font-size: 17px; }
.pe-compare th, .pe-compare td { padding: 20px 20px; border-bottom: 1px solid var(--rule-dark); vertical-align: top; }
.pe-compare thead th { font: 600 13px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.pe-compare thead th.us { color: var(--on-section); background: var(--section-color); border-radius: 10px 10px 0 0; }
.pe-compare td.us { background: rgba(244,248,249,.08); color: var(--on-dark); font-weight: 500; }
.pe-compare td.them { color: var(--on-dark-2); }
.pe-compare tbody th { font-weight: 500; color: var(--on-dark); }

/* FAQ on light */
.pe-sec .bl-faq { border-top: 1px solid var(--rule); }

/* sticky steps: numbers in section colour */
.bl-ss-num b { font-variant-numeric: tabular-nums; }

/* ---------- forms ---------- */
.pe-form { display: grid; gap: 20px; }
.pe-form label { display: grid; gap: 8px; font: 500 15px/1.3 var(--font-sans); }
.pe-form input:not([type=checkbox]):not([type=file]), .pe-form select, .pe-form textarea { font: 400 17px/1.4 var(--font-sans); color: var(--ink); background: var(--surface); border: 1px solid rgba(13,34,48,.28); border-radius: 10px; min-height: 52px; padding: 12px 16px; width: 100%; box-sizing: border-box; }
.pe-form textarea { min-height: 140px; resize: vertical; }
.pe-form :focus-visible { outline: 3px solid var(--section-color); outline-offset: 2px; }
.pe-grid2 { display: grid; gap: 20px; }
@media (min-width: 760px) { .pe-grid2 { grid-template-columns: 1fr 1fr; } }
.pe-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pe-status { margin: 0; color: var(--ink-2); }
.pe-status.ok { color: #1E6B45; font-weight: 600; }
.pe-status.err { color: #A2381B; font-weight: 600; }
.pe-fine { font-size: 14px; color: var(--ink-2); margin: 0; }
.pe-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pe-form-card { background: var(--surface); border-radius: 16px; padding: clamp(24px, 4vw, 48px); max-width: 920px; }
.pe-err { color: #A2381B; font-weight: 600; margin: 8px 0 0; }
.pe-start { grid-template-columns: 1fr; gap: 48px; margin-top: 72px; }
@media (min-width: 1024px) { .pe-start { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; } }
.pe-start-main { display: grid; gap: 56px; min-width: 0; }
.pe-start fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pe-start legend { font: 400 clamp(24px, 2.6vw, 32px)/1.2 var(--font-sans); padding: 0; margin-bottom: 12px; }
.pe-start fieldset > p { color: var(--ink-2); margin: 0 0 16px; }
.pe-progress { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.pe-progress li { padding: 14px 16px; border-radius: 10px; background: var(--tint); font-size: 15px; }
.pe-progress li.done { background: var(--section-color); color: var(--on-section); }
.pe-progress b { font-variant-numeric: tabular-nums; }
.pe-prompts { margin: 0 0 16px; padding-left: 20px; color: var(--ink-2); columns: 2 260px; }
.pe-count { font-size: 14px; color: var(--ink-2); margin: 8px 0 0; text-align: right; }
.pe-file { display: grid; gap: 10px; padding: 24px; border-radius: 10px; background: var(--tint); }
.pe-chipgroup + .pe-chipgroup { margin-top: 28px; }
.pe-chipgroup h3 { font: 500 18px/1.3 var(--font-sans); margin: 0 0 12px; }
.pe-chipgroup h3 span { color: var(--ink-2); font-weight: 400; }
.pe-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pe-chip { position: relative; display: inline-flex !important; }
.pe-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pe-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--tint); font: 500 15px/1.2 var(--font-sans); transition: background-color 150ms var(--ease); }
.pe-chip input:checked + span { background: var(--section-color); color: var(--on-section); font-weight: 600; }
.pe-chip input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.pe-steps-row { margin-bottom: 0; }
.pe-sent { max-width: 760px; margin: 72px auto 0; padding: 56px; border-radius: 16px; background: var(--section-color); color: var(--on-section); text-align: center; }
.pe-sent .lead { margin-inline: auto; }

/* ---------- quiz ---------- */
.pe-quiz { background: var(--surface); border-radius: 16px; padding: clamp(24px, 4vw, 56px); max-width: 960px; margin: 0 auto; }
.pe-quiz-intro .h2 { max-width: 24ch; margin-bottom: 32px; }
.pe-quiz-progress { height: 6px; border-radius: 999px; background: var(--tint); overflow: hidden; margin-bottom: 32px; }
.pe-quiz-progress i { display: block; height: 100%; background: var(--brand); transition: width 300ms var(--ease); }
.pe-quiz-q { font: 400 clamp(26px, 3vw, 40px)/1.2 var(--font-sans); margin: 8px 0 24px; text-wrap: balance; }
.pe-quiz-opts { display: grid; gap: 12px; }
@media (min-width: 700px) { .pe-quiz-opts { grid-template-columns: 1fr 1fr; } }
.pe-opt { text-align: left; min-height: 60px; padding: 16px 20px; border-radius: 10px; border: 0; background: var(--tint); color: var(--ink); font: 500 17px/1.35 var(--font-sans); cursor: pointer; transition: background-color 150ms var(--ease); }
.pe-opt:hover { background: color-mix(in srgb, var(--section-color) 55%, var(--tint)); }
.pe-opt[aria-pressed="true"] { background: var(--section-color); color: var(--on-section); font-weight: 600; }
.pe-quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.pe-quiz-other { margin-top: 12px; }
.pe-result-card { background: var(--section-color); color: var(--on-section); border-radius: 16px; padding: clamp(24px, 4vw, 48px); }
.pe-result-card .eyebrow { color: inherit; opacity: .8; }
.pe-result-card h2 { font: 400 clamp(30px, 3.6vw, 48px)/1.15 var(--font-sans); margin: 0 0 16px; }
.pe-result-card p { margin: 0 0 12px; max-width: 60ch; }
.pe-result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pe-result-links { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pe-result-links a { color: var(--ink); font-weight: 600; }
.pe-quiz-form { margin-top: 32px; }
.pe-quiz-static li { margin-bottom: 8px; }

/* ---------- CTA band + footer ---------- */
.pe-cta { background: var(--band); color: var(--on-dark); padding: clamp(64px, 8vw, 112px) 0; }
.pe-cta-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .pe-cta-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 80px; align-items: end; } }
.pe-cta .eyebrow { color: var(--on-dark-2); }
.pe-cta .h2 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; }
.pe-cta .lead { color: var(--on-dark-2); margin-top: 24px; }
.pe-cta .btn-row { margin-top: 32px; }
.pe-cta-call { background: var(--section-color); color: var(--on-section); border-radius: 16px; padding: 32px; }
.pe-cta-call .eyebrow { color: inherit; opacity: .8; margin-bottom: 12px; }
.pe-cta-phone { display: block; font: 400 clamp(30px, 3vw, 40px)/1.1 var(--font-sans); color: inherit; text-decoration: none; }
.pe-cta-call p:last-child { margin: 16px 0 0; }
.pe-footer { border-top: 1px solid var(--rule-dark); }
.pe-brand-foot { color: var(--on-dark); font-size: 40px; }
.pe-brand-foot em { color: var(--hi-on-dark); }
.pe-foot-blurb { color: var(--on-dark-2); max-width: 36ch; margin: 20px 0; }
.pe-foot-phone { display: inline-block; color: var(--on-dark); font: 500 26px/1 var(--font-sans); text-decoration: none; margin-bottom: 24px; }
.pe-seal-foot { width: 128px; height: 128px; }
.pe-footer h4 a { color: inherit; text-decoration: none; }
.pe-foot-ul + h4 { margin-top: 32px; }
.pe-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.pe-foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.pe-foot-links a, .pe-foot-links button { color: var(--on-dark-2); background: none; border: 0; font: inherit; cursor: pointer; padding: 0; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- dock + dialogs ---------- */
.pe-dlg { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 16px; padding: clamp(20px, 4vw, 40px); background: var(--canvas); color: var(--ink); box-sizing: border-box; }
.pe-dlg::backdrop { background: rgba(13,34,48,.45); backdrop-filter: blur(4px); }
.pe-dlg-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.pe-dlg-head .h3 { font: 400 32px/1.15 var(--font-sans); margin: 0; }
.pe-dlg-lead { color: var(--ink-2); margin: 12px 0 0; max-width: 46ch; }
.pe-x { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--tint); font-size: 24px; cursor: pointer; flex: none; color: var(--ink); }
.pe-a11y-list { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--rule); }
.pe-a11y-list label { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.pe-a11y-list small { display: block; color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.pe-a11y-list input { width: 22px; height: 22px; accent-color: var(--brand); }

/* ---------- accessibility preferences (same keys as the live widget) ---------- */
html[data-a11y-large-text] { font-size: 112.5%; }
html[data-a11y-large-text] body { font-size: 18px; }
html[data-a11y-large-text] .pe-p, html[data-a11y-large-text] .lead { font-size: 20px; }
html[data-a11y-high-contrast] { --ink-2: #0D2230; --on-dark-2: #FFFFFF; --rule: rgba(13,34,48,.4); --tint: #D3E2E8; }
html[data-a11y-readable-font] body, html[data-a11y-readable-font] * { font-family: Arial, Helvetica, sans-serif !important; }
html[data-a11y-highlight-links] a { text-decoration: underline !important; text-underline-offset: .2em; }
html[data-a11y-reduced-motion] *, html[data-a11y-reduced-motion] *::before, html[data-a11y-reduced-motion] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
/* Live parity (original site): water-drop cursor on links/buttons, coral on press; phone cursor on tel: links. Restored Lauren 10/24. */
:root{--cursor-water:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='32' viewBox='0 0 28 32'%3E%3Cpath d='M14 2C10 8 4 14 4 21a10 10 0 0 0 20 0C24 14 18 8 14 2Z' fill='%232d75ad' stroke='%23edf7fb' stroke-width='2'/%3E%3C/svg%3E") 14 28, pointer;--cursor-water-active:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='32' viewBox='0 0 28 32'%3E%3Cpath d='M14 2C10 8 4 14 4 21a10 10 0 0 0 20 0C24 14 18 8 14 2Z' fill='%23dd7158' stroke='%23edf7fb' stroke-width='2'/%3E%3C/svg%3E") 14 28, pointer}
a[href],button:not(:disabled),[role=button]{cursor:var(--cursor-water)}
a[href]:active,button:not(:disabled):active,[role=button]:active{cursor:var(--cursor-water-active)}
a[href^="tel:"],a[href^="tel:"] *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2Z' fill='%23dd7158' stroke='%23edf7fb' stroke-width='1.5'/%3E%3C/svg%3E") 15 15,pointer}
a[href^="tel:"]:active{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2Z' fill='%232d75ad' stroke='%23edf7fb' stroke-width='1.5'/%3E%3C/svg%3E") 15 15,pointer}
html[data-a11y-large-cursor], html[data-a11y-large-cursor] * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9-7 2-3 7z' fill='%230D2230' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* fixes after first vision pass */
.pe-row-l { display: inline-flex; gap: 20px; align-items: baseline; }
.pe-row-n { font: italic 400 22px/1 var(--font-serif); color: var(--brand); min-width: 28px; }
.pe-gallery.n1 img { aspect-ratio: 21 / 9; max-height: 560px; }
.pe-media { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .pe-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } .pe-media-sec:nth-of-type(even) .pe-media-fig { order: 2; } }
.pe-media-fig { margin: 0; }
.pe-media-fig img { width: 100%; aspect-ratio: 4 / 5; max-height: 680px; object-fit: cover; border-radius: 10px; }
.pe-media-copy .h2 { max-width: 18ch; }
.pe-media-copy .pe-lead { margin-top: 24px; color: var(--ink-2); }
.pe-media-rest > * + * { margin-top: 24px; }
.pe-media-rest { margin-top: 32px; }
.band .pe-media-copy .pe-lead { color: var(--on-dark-2); }
.pe-hfeature-card { display: grid; gap: 0; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; }
@media (min-width: 900px) { .pe-hfeature-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.pe-hfeature-card .pe-imgcard-media { border-radius: 0; aspect-ratio: auto; min-height: 280px; }
.pe-hfeature-body { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 48px); justify-content: center; }
.pe-hfeature-card:hover img { transform: scale(1.03); }
.pe-cta .btn-primary { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; }
@media (min-width: 900px) { .pe-footer .bl-foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pe-hero-media .pe-seal { width: 132px; height: 132px; left: -28px; bottom: -28px; }
.pe-file input::file-selector-button { font: 600 15px/1 var(--font-sans); min-height: 48px; padding: 0 20px; margin-right: 14px; border: 0; border-radius: 999px; background: var(--brand); color: var(--on-dark); cursor: pointer; }
.pe-file input { font-size: 15px; }
@media (max-width: 1023px) { .pe-hero-media .pe-seal { left: 16px; bottom: 16px; width: 104px; height: 104px; } }
.pe-hfeature-card .pe-imgcard-media { min-height: 260px; max-height: 380px; }
.pe-progress li { white-space: normal; word-spacing: normal; }

.pe-strip { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 9px 16px; background: var(--band); color: var(--on-dark-2); font: 500 12px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.pe-strip-link { color: var(--hi-on-dark); }
.pe-strip:hover .pe-strip-link { text-decoration: underline; }
.pe-hero-cap { margin-top: 10px; font-size: 13px; color: var(--on-dark-2); }
@media (max-width: 1023px) { .pe-hero-cap { padding: 0 var(--gutter) 16px; } }
@media (max-width: 640px) { .pe-strip { font-size: 11px; gap: 8px; } }
/* Phase 2 fixes (2026-10-24) */
.pe-kicker { display: block; margin-bottom: 6px; font: 600 12px/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
/* Phones: one compact Contact FAB (the header already carries the phone link) + room at the page end so it never sits on the footer links. */
@media (max-width: 640px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 641px) { footer { padding-bottom: 72px; } }
/* Home: services cards lift ~10% of their height into the hero (Lauren 2026-10-24). Hero gets matching extra bottom room. */
.pe-hero-lifted .pe-hero-grid { padding-bottom: calc(88px + var(--lift)) !important; }
:root { --lift: clamp(36px, 4vw, 52px); }
.pe-lift-hero { position: relative; z-index: 2; padding-top: 0 !important; background: transparent; }
.pe-lift-hero .pe-imgcards { margin-top: calc(-1 * var(--lift)); }
.pe-lift-hero .pe-imgcards a { background: var(--canvas, #fff); border-radius: 12px; padding: 12px 12px 20px; box-shadow: 0 18px 40px -24px rgba(13,34,48,.35); }
.pe-lift-hero .pe-imgcard-body { padding: 0 8px; }
@media (max-width: 699px) { :root { --lift: 32px; } .pe-hero-lifted .pe-hero-grid { padding-bottom: calc(48px + var(--lift)) !important; } }
/* Who we serve photo slots: 4:3 on top of each card */
.pe-imgcards.r43 .pe-imgcard-media { aspect-ratio: 4 / 3; }
.pe-imgcard-media img, .pe-hero-media img { object-fit: cover; }

/* ===== 10/24 pass 3: strategic accent, gap-free grids, bl-path, CTA band + footer rebuild, dock ===== */
/* Strategic italic accent: one word per H1/H2 (src/lib/accent.mjs), same colour as the headline, 1.06x. */
.pe-h1 em, .h2 em, .bl-path-head h2 em, .pe-cta .h2 em { font: italic 400 1.06em/1 var(--font-serif); letter-spacing: 0; }
.band .h2 em, .pe-hero .pe-h1 em { color: var(--hi-on-dark); }

/* Gap-free card grids (src/lib/fill.mjs): columns + per-card spans are computed so the last row is always full. */
.pe-fill.pe-fill { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row dense; }
@media (min-width: 700px) {
  .pe-fill.pe-fill { grid-template-columns: repeat(var(--cm, 2), minmax(0, 1fr)); }
  .pe-fill.pe-fill > li { grid-column: span var(--sm, 1); }
}
@media (min-width: 1100px) {
  .pe-fill.pe-fill { grid-template-columns: repeat(var(--cl, 3), minmax(0, 1fr)); }
  .pe-fill.pe-fill > li { grid-column: span var(--sl, 1); grid-row: span var(--rl, 1); }
}
.pe-fill > li > a, .pe-fill > li > div { height: 100%; box-sizing: border-box; }
.pe-fill-feature .pe-imgcard-media { flex: 1 1 auto; }
@media (min-width: 1100px) { .pe-fill-feature .pe-imgcard-media { aspect-ratio: auto !important; min-height: 320px; } .pe-fill-feature .pe-card-title { font-size: 26px; } }
@media (min-width: 700px) and (max-width: 1099px) { .pe-fill-feature .pe-imgcard-media { aspect-ratio: 16 / 7 !important; } }
/* County lists: text columns, never an empty grid cell */
.sa-counties { display: block !important; columns: 2 320px; column-gap: 48px; }
.sa-county { break-inside: avoid; margin-bottom: 28px; }

/* bl-path on the home page: Pool Era palette */
.pe-path { --path-bg: var(--band); --path-ink: var(--on-dark); --path-ink-2: rgba(244,248,249,.78); --path-line: var(--section-1);
  --path-1: var(--section-1); --on-path-1: var(--ink); --path-2: var(--section-2); --on-path-2: var(--ink); --path-3: var(--section-3); --on-path-3: var(--ink);
  --path-badge-bg: var(--on-dark); --path-badge-ink: var(--ink); --path-font: var(--font-sans); }
.pe-path .bl-path-head h2 em { color: var(--hi-on-dark); }
.pe-path-cta { margin: clamp(40px, 5vw, 64px) 0 0; }
.pe-path-cta .btn-primary { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; }

/* Closing CTA band: a section-colour panel on the light canvas (cream gap above the dark footer). */
.pe-cta { background: var(--canvas); color: var(--ink); padding: clamp(48px, 6vw, 88px) 0; }
.pe-cta-panel { display: grid; gap: 32px; background: var(--section-color, var(--section-1)); color: var(--on-section, var(--ink)); border-radius: 24px; padding: clamp(28px, 5vw, 64px); }
@media (min-width: 1024px) { .pe-cta-panel { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: end; } }
.pe-cta .eyebrow, .pe-cta .lead { color: inherit; }
.pe-cta .eyebrow { opacity: .8; }
.pe-cta .h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 16ch; }
.pe-cta .lead { margin-top: 20px; max-width: 46ch; }
.pe-cta .btn-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.pe-btn-ink { background: var(--band); color: var(--on-dark); border-color: transparent; }
.pe-btn-ink:hover { background: var(--band-2); }
.pe-cta .btn-secondary { color: var(--ink); border-color: rgba(13,34,48,.45); background: transparent; }
.pe-cta-call { background: rgba(255,255,255,.55); color: var(--ink); border-radius: 16px; padding: 28px; }

/* Footer: brand block + 5 columns; tablet 6-track grid with no empty cells; phones = collapsible columns. */
.pe-footer { border-top: 0; }
.pe-foot-grid { display: grid; gap: 40px 32px; padding-bottom: 48px; border-bottom: 1px solid var(--rule-dark); }
@media (min-width: 700px) {
  .pe-foot-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pe-foot-brand { grid-column: span 6; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 32px; align-items: center; }
  .pe-foot-brand .pe-foot-blurb { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .pe-foot-brand .pe-seal-foot { grid-column: 3; grid-row: 1 / span 3; }
  .pe-fcol-services, .pe-fcol-who, .pe-fcol-area { grid-column: span 2; }
  .pe-fcol-learn, .pe-fcol-company { grid-column: span 3; }
}
@media (min-width: 1100px) {
  .pe-foot-grid { grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); gap: 40px 28px; }
  .pe-foot-brand { grid-column: auto; display: block; }
  .pe-foot-brand .pe-foot-blurb { margin: 20px 0; }
  .pe-fcol-services, .pe-fcol-who, .pe-fcol-area, .pe-fcol-learn, .pe-fcol-company { grid-column: auto; }
}
.pe-foot-area { margin: 0 0 20px; color: var(--hi-on-dark); font-weight: 600; letter-spacing: .02em; }
.pe-fcol summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: default; }
.pe-fcol summary::-webkit-details-marker { display: none; }
.pe-fcol summary svg { display: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .18s; }
.pe-fh { font: 500 15px/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); margin: 0 0 16px; }
.pe-fcol li a, .pe-foot-btn { min-height: 36px; font-size: 15px; }
.pe-foot-btn { display: flex; align-items: center; background: none; border: 0; padding: 0; color: var(--on-dark-2); font: inherit; font-size: 15px; cursor: pointer; }
.pe-foot-btn:hover { color: var(--on-dark); }
@media (max-width: 699px) {
  .pe-foot-grid { gap: 0; }
  .pe-foot-brand { padding-bottom: 32px; }
  .pe-fcol { border-top: 1px solid var(--rule-dark); }
  .pe-fcol summary { cursor: pointer; min-height: 56px; }
  .pe-fcol summary svg { display: block; }
  .pe-fcol[open] summary svg { transform: rotate(180deg); }
  .pe-fh { margin: 0; }
  .pe-fcol ul { padding-bottom: 16px; }
  .pe-fcol li a, .pe-foot-btn { min-height: 44px; }
}
.pe-foot-base { padding-top: 24px; }

/* Dock: hidden at the top of the page (first paint never sits on hero/cards), and on phones it hides while you scroll down. */
.pe-dock { transition: transform .2s cubic-bezier(.4,0,.2,1), opacity .2s; }
.pe-dock.is-away { transform: translateY(calc(100% + 32px)); opacity: 0; pointer-events: none; }
/* Text treatment + layout variation (scaffold pass, 10/24) */
.pe-sec .eyebrow { color: var(--brand); font-weight: 500; }
.band .eyebrow, .pe-sec.band .eyebrow { color: var(--hi-on-dark); }
.pe-split .pe-lead, .pe-head .lead, .pe-media-copy .pe-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
@media (min-width: 1024px) {
  .pe-split.rev > .pe-split-head { order: 2; }
  .pe-media.rev .pe-media-fig { order: 2; }
  .pe-media-sec:nth-of-type(even) .pe-media.rev .pe-media-fig { order: 0; }
}
.pe-head.stacked { display: block; max-width: 760px; }
.pe-head.stacked .lead { margin-top: 24px; }
/* Founder band: dark, photo + the founder's line as a pull line */
.pe-founder .h2 { font-size: clamp(36px, 4.4vw, 58px); max-width: 15ch; }
.pe-founder .pe-media-copy { position: relative; }
.pe-founder .pe-media-copy .h2::before { content: "\201C"; display: block; font: italic 400 96px/0.6 var(--font-serif); color: var(--hi-on-dark); margin-bottom: 16px; }
.pe-founder .pe-media-fig img { aspect-ratio: 4 / 5; }
@media (min-width: 1024px) { .pe-split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.pe-imgcards a > .pe-imgcard-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; }
.pe-imgcard-body .pe-card-more { margin-top: auto; padding-top: 8px; }
.pe-foot-links a, .pe-foot-links button { display: inline-flex; align-items: center; line-height: 1.2; vertical-align: middle; }
.pe-path .bl-path-card { min-height: 0; }
.pe-founder .pe-media-copy .h2::before { font-size: 72px; margin-bottom: 4px; }
.pe-path.bl-path[data-n] .bl-path-card { min-height: 220px; }
/* Phones: the dock room lives inside the dark footer (no light strip under it) */
@media (max-width: 640px) { body { padding-bottom: 0; } .pe-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 700px) { .pe-fill.pe-fill > figure { grid-column: span var(--sm, 1); } }
@media (min-width: 1100px) { .pe-fill.pe-fill > figure { grid-column: span var(--sl, 1); grid-row: span var(--rl, 1); } }
.pe-gallery.pe-fill > figure { margin: 0; } .pe-gallery.pe-fill img { width: 100%; height: 100%; object-fit: cover; }

/* Brand = the live logo artwork (never retyped). Light copy for dark bands: /logo-light.png (same art, recoloured). */
.pe-brand-img { display: inline-flex; align-items: center; line-height: 0; }
.pe-logo { height: 40px; width: auto; display: block; }
.pe-logo-foot { height: 64px; }
@media (max-width: 640px) { .pe-logo { height: 34px; } .pe-logo-foot { height: 56px; } }
/* CTA band over Lauren's pool photo: one flat navy overlay (78%), no gradient. White text on it >= 8:1 even over white pixels. */
.pe-cta-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--band); color: var(--on-dark); margin: clamp(16px, 2vw, 24px) 0; padding: clamp(72px, 9vw, 128px) 0; }
.pe-cta-bg, .pe-cta-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.pe-cta-bg img { object-fit: cover; object-position: 50% 62%; }
.pe-cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(13, 34, 48, .78); }
.pe-cta-photo .pe-cta-panel { background: transparent; color: var(--on-dark); padding: 0; border-radius: 0; }
.pe-cta-photo .h2 em { color: var(--hi-on-dark); }
.pe-cta-photo .btn-secondary { color: var(--on-dark); border-color: rgba(244,248,249,.7); }
.pe-cta-photo .pe-btn-ink { background: var(--accent-fill); color: var(--on-accent); }
.pe-cta-photo .pe-cta-call { background: var(--section-color, var(--section-1)); color: var(--on-section, var(--ink)); }
.bl-mega .pe-logo { height: 48px; } @media (max-width: 640px) { .bl-mega .pe-logo { height: 40px; } }

/* ==== pass 4 (10/24): reveal-safe, photo-led closing band, cream founder, trimmed heights ==== */
/* How it works: CTA lives under the dek; section height fits the cards */
.pe-path { --path-pad-y: clamp(56px, 6.5vw, 96px); }
.pe-path .bl-path-head { margin-bottom: clamp(40px, 4.5vw, 64px); align-items: start; }
.pe-path-side { display: grid; gap: 24px; justify-items: start; }
.pe-path-side .pe-path-cta { margin: 0; }
@media (min-width: 1024px) { .pe-path .bl-path[data-n="3"] .bl-path-list, .pe-path.bl-path[data-n="3"] .bl-path-list { padding-bottom: 72px; } }
/* Founder: cream field, photo left, ink copy */
.cream { background: #F7F1E7; color: var(--ink); }
.cream .eyebrow { color: var(--brand); }
.cream .pe-media-copy .pe-lead, .cream .pe-p { color: var(--ink-2); }
.pe-founder.cream .pe-media-copy .h2::before { color: var(--brand); }
.pe-founder.cream .h2 em { color: var(--brand); }
.pe-founder .pe-media-fig img { aspect-ratio: 4 / 5; object-position: 42% 50%; max-height: 600px; }
/* Closing CTA: photo-led, water visible on the right, a stronger flat field behind the text column */
.pe-cta-photo { margin: 0; padding: clamp(72px, 8vw, 120px) 0; }
.pe-cta-bg img { object-position: 50% 55%; }
.pe-cta-photo::before { background: rgba(13, 34, 48, .66); }
@media (min-width: 1024px) {
  .pe-cta-photo::before { background: linear-gradient(90deg, rgba(13,34,48,.84) 0%, rgba(13,34,48,.78) 44%, rgba(13,34,48,.42) 68%, rgba(13,34,48,.18) 100%); }
  .pe-cta-photo .pe-cta-panel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.pe-cta-photo .pe-cta-copy { max-width: 620px; text-shadow: 0 1px 2px rgba(13,34,48,.35); }
.pe-cta-tel { display: inline-flex; align-items: center; gap: 10px; }
.pe-cta-tel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.pe-cta-note { margin: 20px 0 0; max-width: 52ch; font-size: 15px; line-height: 1.5; color: rgba(244,248,249,.9); }
.pe-cta-note a { color: inherit; text-underline-offset: 3px; }
/* Footer: the Pool Era wordmark leads; the seal is a small secondary mark */
.pe-logo-foot { height: 72px; width: auto; }
.pe-seal-foot { width: 76px; height: 76px; opacity: .9; }
@media (max-width: 640px) { .pe-logo-foot { height: 60px; } }

/* Home Where we work: head + lead + town pills left, map + states right */
.pe-area-head { display: grid; gap: 24px; }
.pe-area-head .eyebrow { margin-bottom: -8px; }
.pe-area-head .pe-lead { margin: 0; }
@media (min-width: 1024px) { #service-area .pe-split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: start; } #service-area .pe-split-body { padding-top: 8px; } }
@media (min-width: 700px) and (max-width: 1099.98px) { .pe-foot-brand .pe-seal-foot { align-self: end; } }
.pe-cta-note { color: var(--on-dark); }

/* ---------- wordmark (src/components/Logo.astro): live text, DM Sans 300 + 800, exactly as the live header ---------- */
@font-face { font-family: "DM Sans"; src: url(/fonts/DMSans-var-latin.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.pe-wordmark { display: inline-flex; align-items: baseline; font-family: "DM Sans", sans-serif; font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1; letter-spacing: normal; color: var(--wordmark, oklch(52% .11 245)); text-decoration: none; flex-shrink: 0; white-space: nowrap; }
.pe-wordmark:hover { color: var(--wordmark, oklch(52% .11 245)); text-decoration: none; }  /* = live --primary exactly */
.pe-wm-l { font-weight: 300; } .pe-wm-b { font-weight: 800; }
.pe-wordmark--light, .pe-wordmark--light:hover { color: var(--on-dark); }
.pe-wordmark-cta { margin-bottom: 18px; }
.pe-wordmark-404 { margin-bottom: 22px; }

/* ===== 10/24 pass 5: photo-blend heroes (Picky "hero-bleed" pattern, Lauren), film treatment, related cards, state tiles ===== */
/* Hero: full-height photo on the right, masked into --band (no hard photo edge); copy sits on solid navy.
   Phones/tablet: photo on top, fading into the navy below; copy under it. Markup: section.pe-hero.has-media > .pe-hero-media (+ .container). */
.pe-hero.has-media { isolation: isolate; display: flex; flex-direction: column; }
.pe-hero.has-media .pe-hero-grid { position: relative; z-index: 1; width: 100%; }
.pe-hero-media { position: relative; z-index: 0; margin: 0; min-height: 0; align-self: auto; }
.pe-hero-photo { display: block; position: relative; overflow: hidden; height: 100%; }
.pe-hero-photo img { display: block; width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover; border-radius: 0; object-position: var(--pos, 50% 50%); }
@media (max-width: 1023px) {
  .pe-hero-media { margin: 0; height: clamp(240px, 62vw, 460px); }
  .pe-hero-photo { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 100%); }
  .pe-hero.has-media .pe-hero-grid { padding-top: 0; margin-top: -28px; }
  .pe-hero-media .pe-seal { left: auto; right: 16px; bottom: auto; top: 16px; width: 96px; height: 96px; }
}
@media (min-width: 1024px) {
  .pe-hero.has-media .pe-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: clamp(560px, 44vw, 680px); padding-bottom: 88px; }
  .pe-hero.has-media .pe-hero-copy { max-width: min(600px, 46%); }
  .pe-hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
  .pe-hero-photo { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.82) 42%, #000 58%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.82) 42%, #000 58%); }
  .pe-hero-lifted .pe-hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.82) 42%, #000 58%), linear-gradient(to top, transparent 0, #000 calc(var(--lift) + 120px));
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.82) 42%, #000 58%), linear-gradient(to top, transparent 0, #000 calc(var(--lift) + 120px)); mask-composite: intersect; }
  .pe-hero-media .pe-seal { left: auto; right: 48px; bottom: 48px; width: 128px; height: 128px; z-index: 3; }
  .pe-hero-lifted .pe-hero-media .pe-seal { bottom: calc(var(--lift) + 56px); }
}
@media (min-width: 1440px) { .pe-hero-media { width: 58%; } }

/* Film (Lauren 10/24, same as Picky hero-bleed.css): slight sepia + navy wash + fine grain. Pseudo layers live inside the
   masked photo element, so they sit under the gradient blend and never over text. .pe-film-lite = in-page lifestyle photos. */
.pe-film { position: relative; }
.pe-film img { filter: sepia(.32) saturate(.82) contrast(1.02) brightness(.97); }
.pe-film::before, .pe-film-lite::after, .pe-film::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.pe-film::before { z-index: 1; background: var(--band); opacity: .24; }
.pe-film::after, .pe-film-lite::after { z-index: 2; opacity: .26; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.pe-film-lite { position: relative; overflow: hidden; border-radius: 10px; }
.pe-film-lite img { filter: sepia(.15) saturate(.92); }
.pe-film-lite::after { opacity: .15; }
.pe-hfeature-card .pe-film-lite { border-radius: 0; }

/* Related work: photo-topped fill cards (whole card = link) */
.pe-related a.fill-tint { padding: 12px 12px 22px; border-radius: 14px; }
.pe-related .pe-imgcard-body { padding: 0 8px; }
.pe-card-eyebrow { font: 600 12px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.pe-related .pe-card-title { font-size: 22px; }
.pe-related .pe-card-title em { font-family: var(--font-serif, "Instrument Serif", serif); font-style: italic; font-weight: 400; }

/* Where we work: state tiles */
.pe-areas { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .pe-areas { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } }
.pe-areas-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.pe-areas-states { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 14px; }
.pe-state { border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; min-width: 0; }
.pe-state-tx { grid-row: span 2; }
.pe-state-link { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.pe-state-shape { display: block; width: 100%; height: auto; margin-bottom: 12px; }
.pe-state-tx .pe-state-shape { max-height: 300px; }
.pe-state-sm .pe-state-shape { max-height: 120px; }
.pe-state-tx .pe-state-shape path { fill: #2F6E9E; }
.pe-state-dots circle { fill: var(--hi-on-dark); }
.pe-state-sm .pe-state-shape path { fill: var(--brand); }
.pe-state-name { font: 500 26px/1.15 var(--font-sans); }
.pe-state-sm .pe-state-name { font-size: 21px; }
.pe-state-note { font-size: 15px; color: var(--ink-2); }
.pe-state-tx .pe-state-note { color: var(--on-dark-2); }
.pe-state-link:hover .pe-state-name, a.pe-state:hover .pe-state-name { text-decoration: underline; text-underline-offset: 4px; }
.pe-state-towns { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pe-state-towns a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(244,248,249,.12); color: var(--on-dark); font-size: 14px; text-decoration: none; }
.pe-state-towns a:hover { background: rgba(244,248,249,.22); }
@media (max-width: 599px) {
  .pe-areas-states { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .pe-state-tx { grid-column: 1 / -1; grid-row: auto; }
  .pe-state { padding: 18px; }
  .pe-state-sm .pe-state-shape { max-height: 84px; }
}
/* Lauren 10/24: desktop hero = text ~58% / photo ~42%, capped height so the next section peeks above the fold. */
@media (min-width: 1024px) {
  .pe-hero.has-media .pe-hero-grid { min-height: max(460px, min(66vh, 620px)); padding-top: 56px; padding-bottom: 56px; }
  .pe-hero.has-media .pe-hero-copy { max-width: 58%; }
  .pe-hero.has-media .pe-h1 { max-width: 20ch; font-size: clamp(40px, 4.4vw, 66px); }
  .pe-hero-media, .pe-hero-media[class] { width: 44%; }
  .pe-hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 14%, rgba(0,0,0,.75) 30%, #000 44%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 14%, rgba(0,0,0,.75) 30%, #000 44%); }
  .pe-hero-lifted .pe-hero-grid { padding-bottom: calc(48px + var(--lift)) !important; }
  .pe-hero-lifted .pe-hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 14%, rgba(0,0,0,.75) 30%, #000 44%), linear-gradient(to top, transparent 0, #000 calc(var(--lift) + 100px));
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 14%, rgba(0,0,0,.75) 30%, #000 44%), linear-gradient(to top, transparent 0, #000 calc(var(--lift) + 100px)); }
  .pe-hero-media .pe-seal { width: 112px; height: 112px; right: 32px; bottom: 32px; }
}
.pe-state-tx .pe-state-link, .pe-state-tx .pe-state-name { color: var(--on-dark); }
/* Live parity (original site header, captured 10/24): phone icon rings on a loop (phone-ring 2.8s ease-in-out, origin 50% 65%). */
@keyframes pe-phone-ring { 0%, 55%, to { transform: rotate(0); } 10% { transform: rotate(-16deg); } 20% { transform: rotate(14deg); } 30% { transform: rotate(-11deg); } 40% { transform: rotate(9deg); } }
.pe-phone svg { transform-origin: 50% 65%; animation: pe-phone-ring 2.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .pe-phone svg { animation: none; } }

/* ---- A11y pass (A11Y-AUDIT-2026-10-24) ---- */
html { scroll-padding-bottom: 96px; } /* the fixed contact dock never covers a focused element (2.4.11/2.4.12) */
.pe-file span, .pe-file input { max-width: 100%; min-width: 0; overflow-wrap: anywhere; } /* 320px reflow */
.sa-state:focus-visible { outline: 3px solid var(--focus, #0B63CE); outline-offset: 2px; stroke-width: 3; }
.ts-note { color: #3A4C5C; } /* was --ink-2 at 4.47:1 */
.pe-wm-l::before, .pe-wm-b::before { content: attr(data-t); }
.ts-ref { color: #1B466B; } /* renders under .ts-note opacity .88: #2C5F8A came out #427096 = 4.46:1; this is ~6:1 */

/* ---- Floating contact dock: live parity (original site .contact-dock-button), 2026-10-24 ----
   Live: 64px round tiles in a column (md+), bg --phone, soft same-colour shadow, hover/focus lift + bigger shadow,
   Call tile widens to 13rem and reveals the number, keyframes water-ripple + contact-tab-tide.
   Ours: same geometry/motion; tile fill = --accent-fill with navy text (live's white-on-orange is ~3:1, fails 1.4.3). */
.pe-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pe-dock { --tile: 64px; position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.pe-dock-tile { position: relative; isolation: isolate; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: var(--tile); height: var(--tile); padding: 0; border: 0; border-radius: 999px; background: var(--accent-fill); color: var(--on-accent);
  font: 700 8.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  box-shadow: .45rem .45rem 1rem color-mix(in oklab, var(--accent-fill) 55%, transparent);
  transition: width .35s, transform .35s, box-shadow .35s, background-color .35s; }
.pe-dock-tile svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pe-dock-lbl { display: block; }
.pe-dock-tile:hover, .pe-dock-tile:focus-visible { transform: translateY(-.2rem); box-shadow: .65rem .65rem 1.2rem color-mix(in oklab, var(--accent-fill) 42%, transparent); }
.pe-dock-tile:focus-visible, .pe-dock-seal:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px #fff, .65rem .65rem 1.2rem color-mix(in oklab, var(--accent-fill) 42%, transparent); }
/* Call: the number slides out on hover/focus (live .phone-tab) */
.pe-dock-call { flex-direction: row; justify-content: flex-end; overflow: hidden; }
.pe-dock-ico { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: var(--tile); height: var(--tile); flex-shrink: 0; }
.pe-dock-num { opacity: 0; max-width: 0; padding: 0; overflow: hidden; white-space: nowrap; font: 700 14px/1 var(--font-sans); letter-spacing: 0; text-transform: none; transition: max-width .35s, opacity .25s, padding .35s; }
.pe-dock-call:hover, .pe-dock-call:focus-visible { width: 13rem; }
.pe-dock-call:hover .pe-dock-num, .pe-dock-call:focus-visible .pe-dock-num { opacity: 1; max-width: 9rem; padding: 0 .5rem 0 1.25rem; }
.pe-ring { transform-origin: 50% 65%; animation: pe-phone-ring 2.8s ease-in-out infinite; }
/* Project: colour pulse (live contact-tab-tide) */
@keyframes pe-tide { 0%, 100% { background-color: var(--accent-fill); box-shadow: .55rem .55rem 1rem color-mix(in oklab, var(--ink) 34%, transparent); }
  50% { background-color: color-mix(in oklab, var(--accent-fill) 72%, var(--section-3)); box-shadow: .8rem .8rem 1.2rem color-mix(in oklab, var(--accent-fill) 42%, transparent); } }
.pe-dock-contact { animation: pe-tide 4.2s ease-in-out infinite; }
.pe-dock-contact:hover, .pe-dock-contact:focus-visible { animation-play-state: paused; }
/* Water-ripple hover (live keyframes water-ripple, rings in pool blue) */
@keyframes pe-water-ripple { 0% { opacity: 0; transform: scale(.3); } 20% { opacity: .55; } 100% { opacity: 0; transform: scale(1.35); } }
.pe-rip { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pe-rip i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--brand) 72%, transparent); opacity: 0; }
.pe-dock-call .pe-rip { left: auto; width: var(--tile); }
.pe-dock-tile:hover .pe-rip i, .pe-dock-tile:focus-visible .pe-rip i { animation: pe-water-ripple 2.4s ease-out infinite; }
.pe-dock-tile:hover .pe-rip i:nth-child(2), .pe-dock-tile:focus-visible .pe-rip i:nth-child(2) { animation-delay: .8s; }
.pe-dock-tile:hover .pe-rip i:nth-child(3), .pe-dock-tile:focus-visible .pe-rip i:nth-child(3) { animation-delay: 1.6s; }
.pe-dock-seal { width: var(--tile); height: var(--tile); border-radius: 999px; filter: drop-shadow(0 3px 3px #0000001f); }
.pe-dock-seal:hover { transform: scale(1.05); }
/* Widths: desktop = the full live column; tablets = Call + Project; phones = one Project tile (header carries the phone link) */
@media (max-width: 1099px) { .pe-dock-seal, .pe-dock-access { display: none; } }
@media (max-width: 640px) { .pe-dock { --tile: 56px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } .pe-dock-call { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .pe-dock-tile, .pe-dock-num, .pe-dock-seal { transition: none; }
  .pe-ring, .pe-dock-contact, .pe-dock-tile:hover .pe-rip i, .pe-dock-tile:focus-visible .pe-rip i { animation: none; }
  .pe-dock-tile:hover, .pe-dock-tile:focus-visible, .pe-dock-seal:hover { transform: none; }
}
html[data-a11y-reduced-motion] .pe-dock-tile:hover, html[data-a11y-reduced-motion] .pe-dock-tile:focus-visible { transform: none; }
/* Live computed shape: Access + Project are square (live's global button{border-radius:0!important} wins), Call is the round pill. */
.pe-dock-access, .pe-dock-contact { border-radius: 0; }

/* Lauren 10/25: area heroes (towns, states, Hill Country) — seal layered on the photo, centred in the visible photo side,
   soft shadow + subtle navy halo so it holds >=3:1 against any photo. */
.pe-hero-sealcenter .pe-hero-media .pe-seal { left: 68%; top: 50%; right: auto; bottom: auto; width: 168px; height: 168px; z-index: 3; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--band) 62%, transparent) 0 58%, transparent 72%); filter: drop-shadow(0 8px 22px rgba(0,0,0,.38)); }
.pe-hero-sealcenter .pe-hero-media .pe-seal:hover { transform: translate(-50%, -50%) scale(1.04); }
@media (max-width: 1023px) { .pe-hero-sealcenter .pe-hero-media .pe-seal { left: 50%; top: 44%; width: 112px; height: 112px; } }

/* Lauren 10/25: Texas tile shows breadth — every served town as a dot, counties list, "every town" link, ZIP prompt. */
.pe-state-tx .pe-state-dots circle { r: 2.4px; }
.pe-state-counties { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; line-height: 1.6; }
.pe-state-counties li:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--on-dark-2); }
.pe-state-counties a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(244,248,249,.35); }
.pe-state-counties a:hover { border-bottom-color: currentColor; }
.pe-state-more { margin: 16px 0 0; } .pe-state-more a { color: var(--on-dark); font-weight: 700; }
.pe-state-zip { margin: 8px 0 0; font-size: 14px; color: var(--on-dark-2); } .pe-state-zip a { color: var(--on-dark); }
.pe-state-tx .pe-state-dots circle { r: 1.7px; opacity: .9; }
/* Town map heroes: the pin is the focal point, so the seal moves to the quiet lower-right corner of the map (never over the pin). */
.pe-hero-map.pe-hero-sealcenter .pe-hero-media .pe-seal { left: auto; top: auto; right: 40px; bottom: 40px; transform: none; width: 136px; height: 136px; }
.pe-hero-map.pe-hero-sealcenter .pe-hero-media .pe-seal:hover { transform: scale(1.04); }
@media (max-width: 1023px) { .pe-hero-map.pe-hero-sealcenter .pe-hero-media .pe-seal { right: 12px; top: 12px; bottom: auto; width: 88px; height: 88px; } }

/* ---- Our Work photo marquee (Lauren 10/25: "looped image marquee so it doesn't look so sparse").
   Lauren-sanctioned exception to the "no auto-scrolling strips" baseline tell, this page only.
   Default (no JS / reduced motion / toolbar Reduce motion / paused-by-nothing) = static wrapped grid;
   JS adds .is-live → two rows, opposite directions, seamless loop (set + aria-hidden duplicate, translateX -50%).
   WCAG 2.2.2: visible Pause/Play button, pauses on hover and on focus of the strip. */
.pe-sec-marquee { overflow: clip; }
.pe-sec-marquee .pe-bare { padding-top: 0; }
.pe-marquee { --mq-h: clamp(200px, 23vw, 340px); --mq-gap: clamp(12px, 1.4vw, 20px); }
.pe-mq-bar { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.pe-mq-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line, rgba(0,0,0,.18)); border-radius: 999px; background: var(--paper, #fff); color: var(--ink, #1b2430); font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; }
.pe-mq-toggle:hover { border-color: currentColor; }
.pe-mq-toggle:focus-visible { outline: 3px solid var(--primary, #1f6fb2); outline-offset: 2px; }
.pe-mq-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pe-mq-toggle .i-play path { fill: currentColor; stroke: none; }
.pe-mq-toggle .i-play, .pe-marquee.is-paused .pe-mq-toggle .i-pause { display: none; }
.pe-marquee.is-paused .pe-mq-toggle .i-play { display: block; }
.pe-mq-rows { display: grid; gap: var(--mq-gap); }
.pe-mq-rows:focus-visible { outline: 3px solid var(--primary, #1f6fb2); outline-offset: -3px; border-radius: 10px; }
/* static grid (default + reduced motion) */
.pe-mq-track, .pe-mq-set { display: contents; }
.pe-mq-rows { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.pe-mq-row { display: contents; }
.pe-mq-dup { display: none; }
.pe-mq-set { list-style: none; margin: 0; padding: 0; }
.pe-mq-set li { position: relative; overflow: hidden; border-radius: 10px; margin: 0; }
.pe-mq-set img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* live marquee */
.pe-marquee.is-live .pe-mq-rows { display: grid; grid-template-columns: minmax(0, 1fr); margin-inline: calc(50% - 50vw); }
.pe-marquee.is-live .pe-mq-row { display: block; overflow: hidden; }
.pe-marquee.is-live .pe-mq-track { display: flex; width: max-content; animation: pe-mq 90s linear infinite; will-change: transform; }
.pe-marquee.is-live .pe-mq-row.rev .pe-mq-track { animation-direction: reverse; }
.pe-marquee.is-live .pe-mq-set { display: flex; gap: var(--mq-gap); padding-right: var(--mq-gap); }
.pe-marquee.is-live .pe-mq-set li { flex: 0 0 auto; height: var(--mq-h); aspect-ratio: 4 / 3; }
.pe-marquee.is-live .pe-mq-set img { height: var(--mq-h); width: auto; aspect-ratio: 4 / 3; }
.pe-marquee.is-live .pe-mq-rows:hover .pe-mq-track, .pe-marquee.is-live .pe-mq-rows:focus-within .pe-mq-track, .pe-marquee.is-paused .pe-mq-track { animation-play-state: paused; }
@keyframes pe-mq { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 699px) { .pe-marquee.is-live .pe-mq-track { animation-duration: 70s; } }
@media (prefers-reduced-motion: reduce) {
 .pe-marquee.is-live .pe-mq-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-inline: 0; }
 .pe-marquee.is-live .pe-mq-row, .pe-marquee.is-live .pe-mq-track, .pe-marquee.is-live .pe-mq-set { display: contents; }
 .pe-marquee.is-live .pe-mq-dup, .pe-marquee .pe-mq-bar { display: none; }
 .pe-marquee.is-live .pe-mq-set li { height: auto; }
 .pe-marquee.is-live .pe-mq-set img { width: 100%; height: 100%; }
}
html[data-a11y-reduced-motion] .pe-marquee.is-live .pe-mq-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-inline: 0; }
html[data-a11y-reduced-motion] .pe-marquee.is-live .pe-mq-row, html[data-a11y-reduced-motion] .pe-marquee.is-live .pe-mq-track, html[data-a11y-reduced-motion] .pe-marquee.is-live .pe-mq-set { display: contents; }
html[data-a11y-reduced-motion] .pe-marquee.is-live .pe-mq-dup, html[data-a11y-reduced-motion] .pe-marquee .pe-mq-bar { display: none; }
html[data-a11y-reduced-motion] .pe-marquee.is-live .pe-mq-set li { height: auto; }
html[data-a11y-reduced-motion] .pe-marquee.is-live .pe-mq-set img { width: 100%; height: 100%; }

/* field-notes citations (content round 1) */
.pe-ref { font-size: 14px; text-decoration: none; display: inline-block; padding: 6px 4px; margin: -6px 0; white-space: nowrap; }
.pe-ref:hover, .pe-ref:focus-visible { text-decoration: underline; }
.pe-sources { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; font-size: 16px; line-height: 1.5; }
.pe-sources li { padding-left: 4px; overflow-wrap: anywhere; }
.pe-sources li:target { background: color-mix(in oklab, currentColor 8%, transparent); border-radius: 4px; }

/* Field-note disclaimer (Lauren 10/25): quiet, readable, never scary. */
.pe-disclaimer { padding: 32px 0 40px; }
.pe-disclaimer-text { max-width: 72ch; margin: 0; padding: 18px 22px; border: 1px solid var(--rule); background: var(--surface); border-radius: 10px; color: var(--ink-2); font: 400 15px/1.55 var(--font-sans); }
.pe-disclaimer-text strong { color: var(--ink); }
.pe-disclaimer-text a { color: var(--link); }
.pe-state-guides { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .pe-state-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pe-state-guides a { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 20px 22px; background: var(--surface); border-radius: 12px; color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px var(--rule); }
.pe-state-guides a:hover b, .pe-state-guides a:focus-visible b { text-decoration: underline; }
.pe-state-guides small { color: var(--ink-2); font-size: 15px; line-height: 1.45; }

/* ---- content round 3 (2026-10-25): E-E-A-T byline, author box, short-answer box, plain comparison table ---- */
.pe-byline-wrap { padding: 20px 0 0; }
.pe-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.pe-byline span + span::before { content: "·"; margin-right: 18px; color: var(--ink-2); }
.pe-byline a, .pe-authorbox a { color: var(--link); text-underline-offset: 3px; }
.pe-authorbox { border: 1px solid var(--rule); border-radius: 14px; padding: 24px 28px; max-width: 760px; }
.pe-authorbox-k { margin: 0 0 8px; font: 600 13px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.pe-authorbox-t { margin: 0 0 10px; color: var(--ink-2); line-height: 1.6; }
.pe-authorbox-t:last-child { margin-bottom: 0; }
#short-answer .lead, #short-answer .pe-lead { border: 1px solid var(--rule); border-radius: 14px; padding: 22px 26px; max-width: 68ch; }
.pe-compare.pe-plain { font-size: 16px; min-width: 520px; }
.pe-compare.pe-plain th, .pe-compare.pe-plain td { border-bottom: 1px solid var(--rule); padding: 14px 16px; color: var(--ink-2); }
.pe-compare.pe-plain thead th { color: var(--ink-2); background: none; border-radius: 0; }
.pe-compare.pe-plain tbody th { color: var(--ink); font-weight: 600; }
.pe-compare.pe-plain caption { text-align: left; font-size: 14px; color: var(--ink-2); padding-bottom: 10px; caption-side: top; }
@media (max-width: 699px) {
 .pe-authorbox { padding: 20px; } #short-answer .lead, #short-answer .pe-lead { padding: 18px 20px; }
 .pe-byline { flex-direction: column; gap: 4px; } .pe-byline span + span::before { content: none; }
 /* plain comparison tables stack into one card per row on phones (no sideways scrolling) */
 .pe-compare.pe-plain { min-width: 0; } .pe-compare.pe-plain caption { display: block; width: auto; } .pe-compare.pe-plain thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
 .pe-compare.pe-plain, .pe-compare.pe-plain tbody, .pe-compare.pe-plain tr, .pe-compare.pe-plain th, .pe-compare.pe-plain td { display: block; }
 .pe-compare.pe-plain tr { border-bottom: 1px solid var(--rule); padding: 14px 0; }
 .pe-compare.pe-plain th, .pe-compare.pe-plain td { border: 0; padding: 4px 0; }
 .pe-compare.pe-plain td::before { content: attr(data-label); display: block; font: 600 12px/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
}
