/* 3A Homecare Agency. Built to research/design-principles.md (v11).
   Colors: rulebook tokens only. Sizes: 16/18/22/28/35/44 px in rem. Spacing: 4/8/12/16/24/32/48/64/96 px in rem.
   Display face Bitter, text face Atkinson Hyperlegible. No left borders anywhere. */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
address { font-style: normal; }
table { border-collapse: collapse; }
button, summary { font: inherit; color: inherit; }

/* ---------- fonts ---------- */
@font-face { font-family: "Bitter"; src: url("/assets/fonts/bitter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Digits 0-9 from Bitter so every number shows a plain zero (Atkinson's slashed zero reads as a typo to some readers). */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/assets/fonts/bitter-latin-wght-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/assets/fonts/bitter-latin-wght-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0030-0039; }

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --page: #e8eef4;
  --alt: #dbe4ec;
  --card: #ffffff;
  --line: #c4d0db;
  --line-strong: #6b7c8c;
  --band: #0f4f70;
  --text: #1a2733;
  --text-2: #4a5a68;
  --link: #156a95;
  --cta: #c23d00;
  --cta-hover: #a33300;
  --on-dark: #ffffff;
  --shadow-1: 0 1px 2px rgb(16 42 67/.08), 0 4px 12px rgb(16 42 67/.08);
  --shadow-2: 0 2px 4px rgb(16 42 67/.10), 0 12px 32px rgb(16 42 67/.12);
  --elev: 0 0 #0000;
  --r-surface: 0.75rem;
  --r-btn: 0.5rem;
  --display: "Bitter", Georgia, serif;
  --body: "Atkinson Hyperlegible", Verdana, sans-serif;
  --measure: 34rem;
}

html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.45;
  overflow-wrap: break-word;
}

h1, h2, h3 { font-family: var(--display); color: var(--text); line-height: 1.15; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: 2.1875rem; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 1.75rem; font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 650; line-height: 1.25; }
p, li, dd { max-width: var(--measure); text-wrap: pretty; }
strong { font-weight: 700; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.15em; }
.nw { white-space: nowrap; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- focus (S5) ---------- */
:focus-visible {
  outline: 2px solid #1a2733;
  outline-offset: 2px;
  box-shadow: var(--elev), 0 0 0 6px #ffffff;
}
.skip {
  position: absolute; left: 0.5rem; top: -6rem; z-index: 30;
  background: var(--card); color: var(--text); font-weight: 700;
  padding: 0.75rem 1rem; border-radius: var(--r-btn);
}
.skip:focus { top: 0.5rem; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-block;
  min-height: 3rem; padding: 0.75rem 1rem;
  border: 2px solid var(--link); border-radius: var(--r-btn);
  background: var(--card); color: var(--link);
  font-family: var(--body); font-size: 1.125rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center;
}
.btn:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.btn-primary { background: var(--cta); border-color: var(--cta); color: #ffffff; }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); }

/* ---------- header ---------- */
.wrap { max-width: 70rem; margin-inline: auto; padding-inline: 1rem; }
.site-header { position: relative; z-index: 20; background: var(--card); border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; padding-block: 0.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; color: var(--text); text-decoration: none; }
.brand { gap: 0.5rem; }
.brand img { width: 2.25rem; height: auto; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.1; max-width: 6.5rem; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.lang { display: none; }
.call {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.75rem;
  background: var(--band); color: #ffffff; border-radius: var(--r-btn);
  font-size: 1rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.call svg { display: none; width: 1.25rem; height: 1.25rem; fill: currentColor; flex: none; }
.call:hover { text-decoration: underline; }
.menu summary {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.75rem;
  border: 2px solid var(--text); border-radius: var(--r-btn);
  font-size: 1rem; font-weight: 700; cursor: pointer; list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--text); color: #ffffff; }
.menu nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--card); border-bottom: 1px solid var(--line);
  --elev: var(--shadow-2); box-shadow: var(--elev);
  padding: 0.5rem 1rem 1rem;
}
.menu nav a {
  display: flex; align-items: center; min-height: 2.75rem;
  color: var(--text); font-size: 1.125rem; font-weight: 700; text-decoration: none;
}
.menu nav a:hover, .menu nav a[aria-current] { text-decoration: underline; }
.nav-wide { display: none; }

/* ---------- page header (every page but home) ---------- */
.pagehead { position: relative; background: var(--page); }
.ph-hero { margin: 0; }
.ph-hero img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 50vh; object-fit: cover; object-position: 50% 30%; }
.ph-wrap { position: relative; }
.ph-panel {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-surface);
  --elev: var(--shadow-2); box-shadow: var(--elev); padding: 1rem 1.5rem 1.5rem; margin-top: -2rem;
}
.ph-panel.ph-solo { margin-top: 1.5rem; }
.pagehead { padding-bottom: 2rem; }
.ph-text > .btns { margin-top: 1.5rem; flex-direction: column; align-items: stretch; }
.ph-panel > [data-motif].seal { display: none; }
.ph-panel.ph-solo { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: start; }
.ph-panel.ph-solo > [data-motif].seal { display: block; width: 7.5rem; height: auto; }
@media (max-width: 37.49em) { .ph-panel.ph-solo { grid-template-columns: minmax(0, 1fr); } .ph-panel.ph-solo > [data-motif].seal { justify-self: start; margin-top: 1rem; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; font-size: 1rem; color: var(--text-2); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li:last-child { flex: 1 1 8rem; }
.crumbs li + li::before { content: "/"; padding-inline: 0.5rem; color: var(--text-2); }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; }
.ph-text h1 { margin-top: 0.5rem; max-width: 20em; }
.lead { font-size: 1.125rem; line-height: 1.45; margin-top: 1rem; max-width: var(--measure); }

/* the logo ring (motif I5): decoration behind a photo corner */
[data-motif].ring { position: absolute; color: #1a7eb0; fill: #1a7eb0; }
@media (min-width: 37.5em) {
}
/* Home on phones: the footer already carries hours, phone, fax and email; intros are short-cut (rule H2, 4,000px). */
@media (max-width: 37.49em) {
  .paths-intro, .day-intro { display: none; }
}

/* ---------- sections ---------- */
.sec { padding-block: 2rem; }
.sec .wrap > * + * { margin-top: 1rem; }
.sec .wrap > h2 + * { margin-top: 0.75rem; }
.sec .wrap > * + h2 { margin-top: 3rem; }
.sec .wrap > * + h3, .sec .wrap > div > * + h3 { margin-top: 2rem; }
.sec .wrap > h3 + *, .sec .wrap > div > h3 + * { margin-top: 0.5rem; }
.sec + .sec { padding-top: 1rem; }
.reviewed { margin-top: 2rem; color: var(--text-2); }
.reviewed small { font-size: 1rem; }
.small-note, .note { color: var(--text-2); }
.label { font-family: var(--display); font-size: 1.375rem; font-weight: 700; line-height: 1.25; color: var(--text); }
* + .label { margin-top: 1.5rem; }
.label + * { margin-top: 0.25rem; }

/* surfaces: white cards on the tinted page, border + shadow */
.card, .cta, .card-soft, .feat, .callcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  --elev: var(--shadow-1);
  box-shadow: var(--elev);
  padding: 1.5rem;
}
.card > * + *, .card-soft > * + *, .callcard > * + * { margin-top: 0.75rem; }
.card-soft h2, .callcard h2, .cta h2 { font-size: 1.375rem; }

/* lists */
.checks { display: grid; gap: 0.5rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
  content: ""; position: absolute; left: 0.25rem; top: 0.25rem;
  width: 0.5rem; height: 0.875rem;
  border: solid var(--link); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.sec-intro ul:not([class]), .sec-h2 ul:not([class]), .sec-h2 ol:not([class]) { display: grid; gap: 0.5rem; }
.sec-h2 ul:not([class]) li, .sec-intro ul:not([class]) li { position: relative; padding-left: 1.5rem; }
.sec-h2 ul:not([class]) li::before, .sec-intro ul:not([class]) li::before {
  content: ""; position: absolute; left: 0.25rem; top: 0.625em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--link);
}
.steps { counter-reset: step; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; min-height: 2rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.125rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 2px solid var(--link); color: var(--link); background: var(--card);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
}
.steps.timeline { position: relative; gap: 1.5rem; }
.steps.timeline::before { content: ""; position: absolute; left: 0.9375rem; top: 1rem; bottom: 1rem; width: 2px; background: var(--link); }

/* arrow list (home paths, related services, more services) */
.arrow-list { border-bottom: 2px solid var(--text); }
.arrow-list li { max-width: none; }
.arrow-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3rem; padding-block: 1rem;
  border-top: 2px solid var(--text);
  color: var(--text); text-decoration: none;
}
.al-text { display: block; min-width: 0; }
.al-name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; }
.al-sub { display: block; margin-top: 0.25rem; color: var(--text-2); }
.arrow { flex: none; width: 2rem; height: 2rem; fill: none; stroke: var(--link); stroke-width: 3; stroke-linecap: square; transition: transform 0.15s ease; }
.arrow-list a:hover .al-name { text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.15em; }
.arrow-list a:hover .arrow { transform: translateX(0.25rem); }

/* FAQ: separated by rules, never boxed */
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3rem; padding-block: 0.75rem;
  border-top: 1px solid var(--line-strong);
  font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--display); font-size: 1.75rem; line-height: 1; color: var(--link); }
.faq[open] summary::after { content: "\2212"; }
.faq > p { padding-bottom: 1rem; }
.faq + .faq { margin-top: 0; }
.faq:last-of-type { border-bottom: 1px solid var(--line-strong); }
.sec .wrap > .faq + .faq { margin-top: 0; }

/* call to action card */
.cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.cta .btns { flex-direction: column; align-items: stretch; }
.cta-text > * + *, .cta > div:first-child > * + * { margin-top: 0.5rem; }
.sec-cta .wrap > .note, .sec-cta .wrap > p { margin-top: 1.5rem; }

/* service facts: what it includes (card) + who it is for */
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.facts:not(.two) > div { padding-top: 1rem; border-top: 2px solid var(--text); }
.safe-line { margin-top: 1.5rem; }
.safe-line p + p { margin-top: 0.25rem; }
.svc-names, .kv { display: grid; gap: 0.25rem; }
.svc-names dt, .kv dt { font-weight: 700; color: var(--text-2); }
.svc-names dd + dt, .kv dd + dt { margin-top: 0.5rem; }
.facts > div > * + * { margin-top: 0.5rem; }
.has-arc { position: relative; }
[data-motif].card-arc { position: absolute; top: -1px; right: -1px; width: 3.5rem; height: 3.5rem; color: #1a7eb0; }
.table-phone { display: grid; }
.table-phone li { max-width: none; padding-block: 0.75rem; border-top: 1px solid var(--line-strong); }
.table-phone li:last-child { border-bottom: 1px solid var(--line-strong); }
.tm-name { font-weight: 700; }
.tm-name + .svc-names { margin-top: 0.25rem; }
.table-phone .svc-names { display: block; }
.table-phone .svc-names dt, .table-phone .svc-names dd { display: inline; }
.table-phone .svc-names dt::after { content: ": "; }
.table-phone .svc-names dd::after { content: "\A"; white-space: pre; }
.table-phone .svc-names dd + dt { margin-top: 0; }
.table-wide { display: none; }
.card-soft .kv { margin-top: 1rem; }
.sec .wrap > .safe-line { margin-top: 2rem; }

/* families: two programs */
.facts.two { align-items: stretch; }
.card-soft h3 + p { margin-top: 0.5rem; }

/* values (about) */
.values { display: grid; gap: 1.5rem; }
.values li { display: grid; gap: 0.25rem; max-width: 44rem; align-content: start; }
.values strong { font-family: var(--display); font-size: 1.375rem; color: var(--link); }

/* benefits (careers) */
.tiles { display: grid; gap: 1.5rem; }
.tiles li { display: grid; gap: 0.25rem; align-content: start; }
.tiles strong { font-family: var(--display); font-size: 1.375rem; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.info { display: grid; gap: 1rem; }
.info dt { font-weight: 700; color: var(--text-2); }
.info dd { overflow-wrap: anywhere; }
.addr { font-family: var(--display); font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.callcard .btn { width: 100%; }
.hours { font-weight: 700; }

/* tables (support coordinators) */
table { width: 100%; background: var(--card); }
th, td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; font-size: 1.125rem; }
th { font-weight: 700; }
thead, thead tr, thead th { display: block; }
thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
tr { display: block; padding-block: 0.75rem; }
td { display: block; padding: 0 1rem; }
td:first-child { padding-top: 0.75rem; border-top: 1px solid var(--line); }
td + td { margin-top: 0.25rem; }
td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 700; color: var(--text-2); }
td:first-child { font-weight: 700; }

mark.confirm { background: var(--alt); color: var(--text); outline: 1px dashed var(--line-strong); padding-inline: 0.25rem; }

/* ---------- home: hero carousel (H7, owner decision 2026-09-23) ---------- */
.carousel { position: relative; background: var(--alt); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide picture { display: block; height: 100%; }
.slide img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 22%; }
.js .slides { display: block; position: relative; overflow: visible; aspect-ratio: 6 / 5; }
.js .slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity 0.6s ease, visibility 0.6s; }
.js .slide.is-active { visibility: visible; opacity: 1; }
.js .slide img { height: 100%; aspect-ratio: auto; }
.car-ui { display: none; }
.js .car-ui { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 0.25rem; padding: 0.5rem 1rem; }
.car-pause::before { content: "\275A\275A"; font-size: 1rem; letter-spacing: -0.1em; }
.car-pause[aria-pressed="true"]::before { content: "\25B6"; }
@media (max-width: 59.99em) { .car-pause-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
@media (min-width: 60em) { .car-pause::before { content: none; } .car-pause[aria-pressed="true"]::before { content: none; } }
.car-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.75rem;
  border: 2px solid var(--text); border-radius: var(--r-btn); background: var(--card); color: var(--text);
  font-size: 1rem; font-weight: 700; cursor: pointer;
}
.car-btn svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2.5; }
.car-dots { display: flex; flex-wrap: wrap; justify-content: center; min-width: 0; max-width: 100%; }
.car-dot { position: relative; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; cursor: pointer; }
.car-dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 1rem; height: 1rem; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--card); border: 2px solid var(--text);
}
.car-dot[aria-current] { width: 3rem; }
@media (max-width: 59.99em) {
  .car-pause { order: 3; }
}
.car-dot[aria-current]::before { width: 2rem; border-radius: var(--r-btn); background: var(--text); }
.hh-below { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 1rem 2rem; }
.aside-rule { padding-top: 1.5rem; border-top: 2px solid var(--text); }
.aside-rule h2 { font-size: 1.375rem; }
.aside-rule > * + * { margin-top: 0.5rem; }
.hh-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-surface);
  --elev: var(--shadow-2); box-shadow: var(--elev); padding: 1.5rem;
}
.hh-panel h1 { max-width: 14em; }
.lede { font-size: 1.125rem; line-height: 1.45; margin-top: 1rem; max-width: 34rem; }
.hh-panel .btns { margin-top: 1.5rem; flex-direction: column; align-items: stretch; }
@media (min-width: 37.5em) { .hh-panel .btns { flex-direction: row; align-items: center; } }
.hh-creds { display: grid; gap: 1.5rem; }
/* B-list tiles: square, never wider than 25rem */
.tile { margin: 0; }
.tile img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-surface); }
.tile-strip, .tile-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; }
.tile-strip .tile:nth-child(3) { grid-column: 1 / -1; max-width: 50%; }
.sec-strip { padding-block: 1.5rem 0; }
.sec-pair { padding-block: 1rem; }
.tile-stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; max-width: 25rem; }
.tile-stack .tile:only-child { grid-column: 1 / -1; max-width: 12rem; }
@media (min-width: 60em) {
  .tile-strip { grid-template-columns: repeat(3, minmax(0, 22rem)); gap: 1.5rem; align-items: start; }
  .tile-strip .tile:nth-child(2) { margin-top: 2rem; }
  .tile-strip .tile:nth-child(3) { grid-column: auto; max-width: none; }
  .tile-pair { grid-template-columns: repeat(2, minmax(0, 22rem)); gap: 1.5rem; align-items: start; }
  .sec .wrap:has(> .tile-stack) { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; column-gap: 4rem; align-items: start; }
  .sec .wrap:has(> .tile-stack) > * { grid-column: 1; }
  .sec .wrap:has(> .tile-stack) > .tile-stack { grid-column: 2; grid-row: 1 / span 20; margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); max-width: none; }
  .tile-stack .tile:only-child { max-width: none; }
}
.creds { display: grid; gap: 0.5rem; }
.creds li { position: relative; padding-left: 2rem; font-weight: 700; }
.creds li::before {
  content: ""; position: absolute; left: 0.25rem; top: 0.25rem;
  width: 0.5rem; height: 0.875rem;
  border: solid var(--link); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
[data-motif].seal { display: block; width: 8rem; height: auto; aspect-ratio: 512 / 489; background: image-set(url("/assets/logo-256.png") 1x, url("/assets/logo-512.png") 2x) center / contain no-repeat; }
.sprite { position: absolute; width: 0; height: 0; }

/* home: paths */
.sec-paths { background: var(--card); border-block: 1px solid var(--line); }
.paths-intro { color: var(--text-2); }
.paths .al-name, .arrow-list.big .al-name { font-size: 1.75rem; }

/* home: a day with 3A */
.day-intro { color: var(--text-2); }
.timeline:not(.steps) { position: relative; display: grid; gap: 2rem; }
.sec .wrap > .timeline:not(.steps) { margin-top: 1.5rem; }
.timeline:not(.steps)::before {
  content: ""; position: absolute; left: 0.6875rem; top: 0.75rem; bottom: 0.75rem;
  width: 2px; background: var(--link);
}
.timeline:not(.steps) > li {
  position: relative; padding-left: 3rem; max-width: none;
  display: grid; gap: 0.75rem 1rem; align-items: start;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "shot" "text";
}
.timeline .shot { grid-area: shot; }
.timeline .what { display: contents; }
.timeline .what h3 { grid-area: head; margin-top: 0; }
.timeline .what p { grid-area: text; margin-top: 0; }
.when { display: block; margin-bottom: 0.25rem; font-family: var(--display); font-size: 1.375rem; font-weight: 700; color: var(--link); line-height: 1.2; }
.when::before {
  content: ""; position: absolute; left: 0;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--cta); border: 0.25rem solid var(--page);
}
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; border-radius: var(--r-surface); }

/* home + about: the one dark band */
.sec-band { background: var(--band); color: var(--on-dark); }
.sec + .sec-band, .sec-band + .sec { padding-top: 2rem; }
.sec-band h2 { color: var(--on-dark); }
.sec-band a { color: var(--on-dark); }
.sec-band .checks li::before { border-color: var(--on-dark); }
.sec-band .checks { gap: 0.75rem; }
.sec .wrap > .band > * + * { margin-top: 1rem; }
.sec .wrap > .band > .checks { margin-top: 1.5rem; }
@media (min-width: 60em) { .band .checks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; } .band .checks li { max-width: none; } }
.safe-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.sec .wrap.safe-grid > * + *, .sec .wrap.facts > * + * { margin-top: 0; }
.safe-head > * + * { margin-top: 0.75rem; }

/* home: visit */
.visit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.sec .wrap.visit > * + * { margin-top: 0; }
.visit-where > * + * { margin-top: 1rem; }
.visit-where .btns { margin-top: 1.5rem; }
.reach { display: grid; gap: 0.5rem; }
.reach div { display: flex; flex-wrap: wrap; column-gap: 0.75rem; }
.reach dt { flex: none; width: 4rem; }
.reach dt { color: var(--text-2); }
.reach dd { overflow-wrap: anywhere; }

/* photos that carry the page: mosaic (1 big + 2 x 2), big + pair, wide band */
.life-intro { color: var(--text-2); }
.sec .wrap > .mosaic, .sec .wrap > .mosaic-a { margin-top: 1.5rem; }
.mosaic, .mosaic-a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.m-grid, .ma-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; }
.mosaic figure, .mosaic-a figure, figure.wide { margin: 0; }
.mosaic img, .ma-pair img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-surface); }
.ma-big img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-surface); }
figure.wide img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 45%; border-radius: var(--r-surface); }
.sec-photos { padding-block: 1rem; }

/* /services/: featured rows + more */
.featured { display: grid; gap: 1rem; }
.sec .wrap > .featured, .sec .wrap > .arrow-list { margin-top: 1.5rem; }
.feat { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; align-items: start; max-width: none; padding: 1rem; }
.feat img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-btn); }
.feat-body > * + * { margin-top: 0.25rem; }
.feat h3 a { color: var(--text); }
.feat h3 a:hover { color: var(--link); }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--on-dark); font-size: 1rem; }
.site-footer a { color: var(--on-dark); }
.site-footer mark.confirm { color: var(--text); }
.foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 2rem; }
.foot > * { min-width: 0; }
.foot-brand { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-items: center; }
.foot-brand img { width: 3.5rem; height: auto; grid-row: 1 / span 2; background: var(--card); border-radius: 50%; padding: 0.25rem; }
.foot-name { font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; }
.tagline { color: var(--on-dark); }
.foot-h { font-family: var(--body); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-dark); margin-bottom: 0.25rem; }
.foot-col p + p, .foot-col address + p { margin-top: 0.25rem; }
.foot a { overflow-wrap: anywhere; }
.foot-notices ul { display: flex; flex-wrap: wrap; column-gap: 1.5rem; }
.foot-notices a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot-small { color: var(--on-dark); padding-top: 1rem; border-top: 1px solid var(--line); max-width: none; }

/* ---------- wide screens ---------- */
@media (min-width: 60em) {
  .wrap { padding-inline: 1.5rem; }
  .btn { padding-inline: 1.5rem; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1875rem; }
  .brand { gap: 0.75rem; }
  .brand img { width: 3.5rem; }
  .wordmark { font-size: 1.375rem; max-width: none; }
  .call { padding: 0 1rem; }
  .call svg { display: block; }
  .tools { gap: 1.5rem; }
  .lang { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1rem; font-weight: 700; }
  .menu { display: none; }
  .nav-wide { display: block; }
  .nav-wide ul { display: flex; flex-wrap: wrap; gap: 0 0.5rem; margin-inline: -0.5rem; }
  .nav-wide a {
    display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.5rem;
    color: var(--text); font-size: 1rem; font-weight: 700; text-decoration: none;
  }
  .nav-wide a:hover { text-decoration: underline; }
  .nav-wide a[aria-current] { color: var(--link); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.5em; }

  .sec { padding-block: 3rem; }
  .sec + .sec { padding-top: 1rem; }
  .sec + .sec-band, .sec-band + .sec { padding-top: 3rem; }
  .card, .cta, .card-soft, .callcard { padding: 2rem; }
  .card-soft h2, .callcard h2, .cta h2 { font-size: 1.75rem; }
  .cta { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 2rem; }
  .cta .btns { flex-direction: column; }

  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; align-items: start; }
  .ph-hero img { aspect-ratio: auto; height: clamp(24rem, 64vh, 38rem); max-height: none; object-position: var(--pos, 50% 30%); }
  .ph-panel { display: grid; grid-template-columns: minmax(0, 1fr) 9rem; column-gap: 3rem; align-items: center; margin-top: -6rem; padding: 1.5rem 2rem 2rem; max-width: 60rem; }
  .ph-panel.ph-solo { grid-template-columns: minmax(0, 1fr) 9rem; margin-top: 2rem; max-width: none; }
  .ph-panel.ph-solo > [data-motif].seal { width: 9rem; height: auto; }
  .ph-panel > [data-motif].seal { display: block; width: 9rem; height: auto; }
  .ph-text > .btns { flex-direction: row; align-items: center; }
  .pagehead { padding-bottom: 3rem; }
  .facts.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .referral { align-items: start; }
  .values li { grid-template-columns: 10rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; }
  .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; }
  .cta.cta-one { grid-template-columns: minmax(0, 1fr); }
  .cta.cta-one .btns { flex-direction: column; align-items: flex-start; }
  .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; }

  table { border: 1px solid var(--line); }
  thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; display: table-header-group; }
  thead tr { display: table-row; }
  thead th { display: table-cell; background: var(--alt); }
  tr { display: table-row; padding-block: 0; }
  td, td:first-child { display: table-cell; padding: 0.75rem 1rem; border-top: 1px solid var(--line); }
  td + td { margin-top: 0; }
  td[data-label]:not(:first-child)::before { content: none; }
  td:first-child { font-weight: 400; }

  /* home */
  .js .slides { aspect-ratio: auto; height: clamp(26rem, 64vh, 42rem); }
  .slide img { aspect-ratio: auto; height: clamp(26rem, 64vh, 42rem); object-position: var(--dpos, 50% 30%); }
  .js .car-ui { position: absolute; right: max(1.5rem, calc((100% - 70rem) / 2 + 1.5rem)); top: calc(100% + 1rem); bottom: auto; z-index: 2; padding: 0; gap: 0.5rem; background: transparent; box-shadow: none; }
  .hh-below { grid-template-columns: minmax(0, 40rem) minmax(0, 1fr); column-gap: 4rem; align-items: start; padding-block: 0 3rem; }
  .hh-panel { position: relative; z-index: 3; margin-top: -9rem; padding: 2rem; }
  .hh-creds { padding-top: 4rem; gap: 1rem; }
  .lede { font-size: 1.375rem; line-height: 1.4; }
  [data-motif].seal { width: 9rem; height: auto; }

  .paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; }
  .paths a { padding-block: 1.5rem; }

  .timeline:not(.steps) { gap: 3rem; }
  .timeline:not(.steps) > li { grid-template-columns: 34rem minmax(0, 24rem); grid-template-areas: none; gap: 0 2rem; align-items: center; }
  .timeline .shot { grid-area: auto; }
  .timeline .what { display: block; grid-area: auto; }
  .timeline .what p { margin-top: 0.5rem; }

  .safe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; align-items: start; }
  .visit { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: center; }
  .addr { font-size: 2.1875rem; }

  .featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
  .mosaic { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
  .m-grid, .ma-pair { gap: 1rem; }
  .mosaic-a { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 1rem; }
  .ma-pair { grid-template-columns: minmax(0, 1fr); align-content: space-between; }
  .ma-big img { height: 100%; }
  .feat { grid-template-columns: 8rem minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem; }
  .table-wide { display: block; }
  .table-phone { display: none; }

  .foot { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 3rem; row-gap: 2rem; padding-block: 3rem; }
  .foot-brand { align-self: start; }
  .foot-notices { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .foot-notices .foot-h { margin-bottom: 0; }
  .foot-small { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
}

@media (min-width: 60em) and (min-height: 30em) {
  .site-header { position: sticky; top: 0; }
  html { scroll-padding-top: 10rem; }
}

/* ---------- preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .card, .cta, .card-soft, .feat, .callcard, .btn, .call, .menu summary { border: 1px solid CanvasText; }
  [data-motif].ring, [data-motif].ph-stripe, .arrow { color: CanvasText; fill: CanvasText; stroke: CanvasText; }
}
@media print {
  .site-header nav, .nav-wide, .menu, .skip, .lang, [data-motif], .btns, .foot-notices, .car-ui, .slide:not(:first-child) { display: none !important; }
  .site-header { position: static; border: 0; }
  body, .pagehead, .home-hero, .sec-band, .site-footer { background: #ffffff; color: #1a2733; font-size: 12pt; }
  .site-footer a { color: #1a2733; }
  .sec-band h2, .sec-band a { color: #1a2733; }
  .card, .cta, .card-soft, .feat, .callcard { box-shadow: none; }
  main a[href^="/"]::after, main a[href^="http"]::after { content: " (" attr(href) ")"; }
  .sec { padding-block: 1rem; }
}

/* split hero for single-person portrait photos (knees-up 4:5 crop) */
.pagehead-split .ph-hero img { max-height: 50vh; aspect-ratio: 4 / 5; object-position: 50% 25%; }
@media (min-width: 56.25em) {
  .pagehead-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-bottom: 0; background: var(--card); border-bottom: 1px solid var(--line); }
  .pagehead-split .ph-hero { grid-column: 2; grid-row: 1; }
  .pagehead-split .ph-hero img { height: clamp(35rem, 68vh, 38.75rem); width: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 25%; }
  .pagehead-split .ph-wrap { grid-column: 1 / -1; grid-row: 1; width: 100%; padding-block: 2rem; }
  .pagehead-split .ph-panel { width: calc(50vw - max(1.5rem, (100vw - 70rem) / 2 + 1.5rem) - 3rem); }
  .pagehead-split .ph-panel { margin-top: 0; background: transparent; border: 0; box-shadow: none; padding: 0; grid-template-columns: minmax(0, 1fr); max-width: none; }
  .pagehead-split .ph-panel > [data-motif].seal { width: 8rem; height: auto; margin-top: 1.5rem; }
}

/* full-height 4:5 photo column beside a text section (owner 2026-09-24: photos everywhere) */
.side { margin: 0; }
.side img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-surface); }
.sec .wrap > .side { margin-top: 1.5rem; }
@media (min-width: 60em) {
  .sec .wrap:has(> .side) { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; column-gap: 4rem; align-items: start; }
  .sec .wrap:has(> .side) > * { grid-column: 1; }
  .sec .wrap:has(> .side) > .side { grid-column: 2; grid-row: 1 / span 30; margin-top: 0; }
}

/* round 7: split heroes fill the header exactly; 4:3 side photos centered on their text; wide in-page photos */
@media (min-width: 56.25em) {
  .pagehead-split { align-items: stretch; }
  .pagehead-split .ph-hero { align-self: stretch; height: 100%; margin: 0; }
  .pagehead-split .ph-hero img { height: 100%; min-height: clamp(35rem, 68vh, 38.75rem); }
  .pagehead-split .ph-wrap { align-self: center; }
}
.side img { aspect-ratio: 4 / 3; }

.wide-photo { margin: 0; }
.sec .wrap > .wide-photo { margin-top: 2rem; }
.wide-photo img { display: block; width: 100%; max-width: 44rem; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-surface); }
@media (min-width: 60em) { .sec-visit { padding-top: 6rem; } }
.pagehead-legal { padding-bottom: 0; }
.pagehead-legal .ph-panel.ph-solo > [data-motif].seal { width: 7.5rem; align-self: center; }
@media (min-width: 60em) { .pagehead-legal + .sec { padding-top: 3rem; } .pagehead-legal .ph-panel.ph-solo { padding-block: 1.5rem; } }

/* round 8: allow-list photos, full-width bands, one-photo day, heading-aside sections, centered legal pages */
.band-photo { margin: 0; }
.band-photo img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 3; object-fit: cover; object-position: 50% 35%; border-radius: var(--r-surface); }
.sec-band-photo { padding-block: 1rem; }
.day-photo { margin: 0; }
.day-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; border-radius: var(--r-surface); }
.sec .wrap > .day-grid { margin-top: 1.5rem; }
.day-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.day-grid .timeline:not(.steps) > li { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
.day-grid .timeline .what { display: block; }
.day-grid .timeline .what p { margin-top: 0.5rem; }
@media (max-width: 59.99em) {
  .js .slides { aspect-ratio: auto; height: 50svh; }
  .slide img { aspect-ratio: auto; height: 50svh; object-position: 50% 7%; }
  .js .slide img { height: 100%; }
  .js .car-ui { position: static; background: var(--card); border-bottom: 1px solid var(--line); }
  .hh-below { padding-block: 0 1.5rem; }
  .hh-panel { position: relative; z-index: 3; margin-top: 0.5rem; padding: 1rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
  .hh-panel .btns { order: 2; }
  .hh-panel .lede { order: 3; margin-top: 1rem; }
  .js .car-ui { padding-block: 0.25rem; }
  .hh-panel .lede { margin-top: 0.75rem; }
  .hh-panel .btns { margin-top: 1rem; }
}
@media (min-width: 60em) {
  .day-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 4rem; align-items: center; }
  /* text-only sections: narrow reading blocks, left-aligned on the content edge (binding decision, round 11) */
  main:not(:has(.pagehead-legal)) .sec .wrap:has(> h2):not(:has(> table, > .table-wide, > .table-phone, > .facts, > .cta, > .side, > .wide-photo, > .band-photo, > .arrow-list, > .tiles, > .day-grid, > .contact, > .safe-grid, > .visit, > .band, > .featured)) > :not(p):not(ul):not(ol) { max-width: 45rem; }
  main:has(.pagehead-legal) .wrap > :not(p):not(ul):not(ol), main:has(.pagehead-legal) .ph-panel { max-width: 45rem; }
}

/* round 9 */
@media (min-width: 60em) {
  /* home hero: text column left, photo column right (subjects never under the card) */
  .home-hero { display: grid; grid-template-columns: max(0px, calc((100vw - 70rem) / 2)) minmax(0, 1fr) 55%; align-items: stretch; }
  .home-hero .carousel { grid-column: 3; grid-row: 1; background: transparent; }
  .home-hero .hh-below { grid-column: 2; grid-row: 1; align-self: center; display: flex; flex-direction: column; gap: 1.5rem;
    padding: 2rem 3rem 2rem 1.5rem; }
  .hh-panel { margin-top: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .hh-creds { padding-top: 0; }
  .js .slides, .slide img { height: clamp(30rem, 72vh, 44rem); }
  .slide img { object-position: 50% 30%; }
  .js .car-ui { position: absolute; left: 1.5rem; right: auto; bottom: 1.5rem; top: auto; justify-content: flex-end; padding: 0.25rem 0.5rem; background: var(--card); border: 0; border-radius: var(--r-surface); --elev: var(--shadow-2); box-shadow: var(--elev); }
  .home-hero .carousel { position: relative; }
  /* interior split heroes: small logo, centered panel */
  .pagehead-split .ph-panel > [data-motif].seal { width: 4rem; margin-top: 1.5rem; }
  /* inline photos span the content width */
  .wide-photo img { max-width: none; aspect-ratio: 21 / 9; object-position: 50% 25%; }
  /* side photo fills the height of its text */
  .sec .wrap:has(> .side) > .side { align-self: stretch; }
  .side img { height: 100%; aspect-ratio: auto; min-height: 16rem; }
  .band-photo img { object-position: 50% 30%; }
}
@media (max-width: 59.99em) {
  .band-photo img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
  .crumbs li:last-child { flex: 1 1 0; overflow: hidden; }
  .crumbs li:last-child span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

/* round 10 */
@media (min-width: 56.25em) { .pagehead-split .ph-panel > [data-motif].seal { display: none; } }
@media (max-width: 59.99em) { .crumbs li:last-child span { white-space: normal; } }

/* round 11 */
.facts > div > * + .label { margin-top: 1.5rem; }
/* the control pill sits on the side of the photo away from the person */
@media (min-width: 60em) {
  /* controls under the photo, right edge on the content edge (1256px at 1440), never over a person */
  .home-hero .carousel { padding-bottom: 4rem; }
  .js .car-ui { left: auto; right: max(1.5rem, calc((100vw - 70rem) / 2 + 1.5rem)); bottom: 0.5rem; background: transparent; box-shadow: none; padding: 0; }
}

/* round 12: every hero on the same tinted surface; legal text headers drop the logo on small phones */

@media (max-width: 37.49em) { .pagehead-legal .ph-panel.ph-solo > [data-motif].seal { display: none; } }
@media (min-width: 60em) { .slide img { object-position: var(--dpos, 50% 30%); } }
@media (min-width: 60em) { .sec + .sec.sec-visit { padding-top: 3rem; } }

/* round 15 */
.sec-band-photo { padding-bottom: 4rem; }
.aside-rule { border-top: 0; padding-top: 0; }
.sec .wrap > .aside-rule { margin-top: 3rem; }
@media (min-width: 60em) {
  /* text left, buttons side by side on the right; both columns span the card and center their content */
  .cta, .cta.cta-one { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; column-gap: 2rem; }
  .cta > div:first-child { display: flex; flex-direction: column; justify-content: center; }
  .cta .btns, .cta.cta-one .btns { flex-direction: row; align-items: center; align-content: center; }
  .cta .btn { min-height: 3.5rem; }
}
/* heroes one step darker than the page so the first section reads as its own surface */
.pagehead, .pagehead-split, .home-hero, .home-hero .carousel { background: var(--card); }

/* round 16: 2-up portrait pair on service pages without a band */
.photo-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.pair-photo { margin: 0; }
.pair-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-surface); }
@media (min-width: 37.5em) { .photo-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; } }

/* round 17 polish */
.sec.sec-band-photo, .sec + .sec.sec-band-photo, .sec.sec-photo, .sec + .sec.sec-photo { padding-top: 3rem; padding-bottom: 2rem; }
.photo-pair { gap: 1.5rem; }
@media (max-width: 59.99em) {
  .band-photo img, .wide-photo img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
}
@media (max-width: 37.49em) { .reach div { display: grid; grid-template-columns: minmax(0, 1fr); } .reach dt { width: auto; } }
/* phones: the white headline cards sit on the page tint, so the card edge reads (S1) */
@media (max-width: 59.99em) { .pagehead, .pagehead-split, .home-hero .hh-below { background: var(--page); } }
