/* ============================================================
   PPM inner pages: additions on top of tokens.css + styles.css.
   Everything reuses the live design tokens. Nothing here changes
   existing homepage rules.
   ============================================================ */

/* hero variant for inner pages */
.hero--page { min-height: clamp(460px, 66vh, 660px); }
.hero--page .hero-body { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 72px); }
.hero--page h1 { font-size: clamp(2.2rem, 1.4rem + 4vw, 4.4rem); max-width: 20ch; }
.hero--page .hero-media img { object-position: 50% 55%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 var(--space-md); font-size: var(--type-xs); font-weight: 600; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(1 0 0 / .35); }
.crumbs a:hover { text-decoration-color: #fff; }
.hero-proof--page { margin-bottom: 0; }

/* generic blocks */
.section--alt { background: var(--paper-2); }
.pg-head { max-width: 760px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.pg-head h2 { margin-bottom: var(--space-md); }
.pg-head p { color: var(--ink-2); max-width: 62ch; }
.pg-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pg-split.flip .pg-media { order: -1; }
.pg-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.pg-media img { width: 100%; height: 100%; object-fit: cover; }
.prose h2 { margin-bottom: var(--space-md); }
.prose p { color: var(--ink-2); max-width: 64ch; }
.prose p + p { margin-top: var(--space-md); }
.prose a, .faq-a a, .pg-head a, .city-note a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover, .faq-a a:hover { color: var(--cta-deep); }

/* feature cards */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); list-style: none; padding: 0; margin: 0; }
.feat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-xl) var(--space-lg); display: flex; flex-direction: column; gap: 10px; }
.section--alt .feat { background: #fff; }
.feat h3 { font-size: 1.15rem; line-height: 1.15; }
.feat p { font-size: var(--type-sm); color: var(--muted); }
.feat .feat-n { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; color: var(--blue); }

/* numbered steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-lg); counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 64px 1fr; gap: var(--space-lg); align-items: start; padding: var(--space-lg) 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(st, decimal-leading-zero); font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--blue); }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p { color: var(--ink-2); max-width: 60ch; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.section--alt .faq details { background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--blue); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--ink-2); max-width: 70ch; }

/* town / cross links */
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list a { display: inline-block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 18px; font-family: var(--font-display); font-weight: 700; font-size: var(--type-sm); color: var(--ink); transition: border-color .2s, color .2s, transform .2s; }
.chip-list a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.section--alt .chip-list a { background: #fff; }
.svc-grid.three { grid-template-columns: repeat(3, 1fr); }
.areas-list li a { display: block; color: inherit; }
.city-note { margin-top: var(--space-lg); color: var(--ink-2); max-width: 64ch; }

/* gallery grid (Our Work) */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.work-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.work-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.work-grid figcaption { padding: 14px 18px 18px; font-size: var(--type-sm); color: var(--ink-2); }
.work-grid figcaption strong { display: block; font-family: var(--font-display); color: var(--ink); margin-bottom: 2px; }

/* contact card */
.contact-card { display: grid; gap: var(--space-md); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-xl); box-shadow: var(--shadow); }
.contact-card dt { font-family: var(--font-display); font-weight: 700; font-size: var(--type-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-card dd { margin: 2px 0 var(--space-sm); font-size: var(--type-body); color: var(--ink); }
.contact-card dd a { color: var(--blue); font-weight: 600; }

/* footer: four columns on wide screens */
@media (min-width: 861px) { .footer-grid.footer-grid--four { grid-template-columns: 1fr 1fr 1fr 1.2fr; } }

@media (max-width: 1080px) {
  .feat-grid, .svc-grid.three { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .pg-split { grid-template-columns: 1fr; }
  .pg-split.flip .pg-media { order: 0; }
}
@media (max-width: 600px) {
  .feat-grid, .feat-grid.cols-2, .svc-grid.three, .work-grid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 48px 1fr; gap: var(--space-md); }
  .steps li::before { font-size: 1.7rem; }
  .faq summary { padding: 16px 18px; font-size: 1rem; }
  .faq-a { padding: 0 18px 18px; }
}

/* inner-page rhythm and legibility */
body.pg .section { padding: clamp(44px, 6vw, 84px) 0; }
body.pg .promise.section { padding: clamp(52px, 7vw, 96px) 0; }
.hero--page .hero-scrim { background: linear-gradient(180deg, oklch(0.2 0.04 250 / .66) 0%, oklch(0.18 0.04 250 / .5) 40%, oklch(0.14 0.04 250 / .88) 100%); }
.hero--page .hero-sub { font-size: clamp(1.05rem, 0.95rem + 0.8vw, 1.5rem); margin-bottom: var(--space-lg); }
.hero--page .hero-actions { margin-bottom: var(--space-lg); }
@media (max-width: 600px) { .hero--page h1 { font-size: clamp(2rem, 1.2rem + 5vw, 2.6rem); } .hero--page { min-height: 0; } }

/* ============ layout variety ============ */
/* hero: split (light, photo beside) */
.hero--split { background: var(--paper-2); min-height: 0; display: block; }
.hero--split .hero-body { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 76px); }
.hs-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero--split h1 { color: var(--ink); text-shadow: none; font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4rem); max-width: 16ch; }
.hero--split .hero-sub { color: var(--ink-2); }
.hero--split .crumbs, .hero--split .crumbs a { color: var(--muted); text-decoration-color: var(--line); }
.hero--split .btn-ghost { color: var(--blue); border-color: var(--blue); background: transparent; backdrop-filter: none; }
.hero--split .btn-ghost:hover { background: var(--blue); color: #fff; }
.hero--split .hero-proof { color: var(--ink-2); gap: 10px 22px; }
.hs-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.hs-media img { width: 100%; height: 100%; object-fit: cover; }
/* hero: band (navy, fact card) */
.hero--band { background: var(--navy); min-height: 0; display: block; }
.hero--band .hero-body { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(44px, 6vw, 84px); }
.hb-grid { display: grid; grid-template-columns: 1.25fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero--band h1 { max-width: 15ch; font-size: clamp(2.1rem, 1.3rem + 3.8vw, 4.2rem); }
.hb-card { background: oklch(1 0 0 / .06); border: 1px solid oklch(1 0 0 / .18); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.hb-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hb-card li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid oklch(1 0 0 / .14); color: var(--on-dark); }
.hb-card li:first-child { border-top: 0; padding-top: 0; }
.hb-card li:last-child { padding-bottom: 0; }
.hb-card b { font-family: var(--font-display); font-size: var(--type-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.hb-card span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }

/* statement band */
.statement { background: var(--blue-deep, var(--blue)); color: #fff; padding: clamp(48px, 7vw, 100px) 0; }
.statement-in { max-width: 980px; }
.st-label { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: var(--type-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--space-md); }
.st-text { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.1rem + 2.8vw, 3.3rem); line-height: 1.08; letter-spacing: -.02em; color: #fff; max-width: 24ch; }
.st-text a { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 3px solid var(--ink); }
.fact { padding: 20px 20px 4px 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact dt { font-family: var(--font-display); font-weight: 700; font-size: var(--type-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 6px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, .95rem + .8vw, 1.5rem); line-height: 1.15; color: var(--ink); }
.fact dd a { color: var(--blue); }

/* zigzag */
.zz { display: grid; gap: clamp(28px, 4vw, 56px); }
.zz-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 68px); align-items: center; }
.zz-row.flip .zz-media { order: 2; }
.zz-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.zz-media img { width: 100%; height: 100%; object-fit: cover; }
.zz-copy h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 10px; }
.zz-copy p { color: var(--ink-2); max-width: 52ch; }
.row-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

/* compare */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.cmp { border-radius: var(--radius); padding: clamp(22px, 3vw, 38px); background: var(--paper); border: 1px solid var(--line); }
.section--alt .cmp-a { background: #fff; }
.cmp-b { background: var(--navy); border-color: var(--navy); }
.cmp h3 { font-size: 1.3rem; margin-bottom: 14px; }
.cmp ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cmp li { position: relative; padding-left: 28px; color: var(--ink-2); }
.cmp li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--blue); }
.cmp-b h3 { color: #fff; }
.cmp-b li { color: var(--on-dark); }
.cmp-b li::before { color: var(--cta); }

/* checklist */
.ck-wrap { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ck-head { margin-bottom: 0; position: sticky; top: 96px; }
.ck { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ck li { display: grid; gap: 4px; padding: 18px 0 18px 44px; border-top: 1px solid var(--line); position: relative; }
.ck li:last-child { border-bottom: 1px solid var(--line); }
.ck li::before { content: "✓"; position: absolute; left: 0; top: 18px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: .8rem; font-weight: 800; }
.ck strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.ck span { color: var(--ink-2); max-width: 58ch; }

/* horizontal steps */
.hsteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); counter-reset: hs; }
.hsteps li { counter-increment: hs; border-top: 3px solid var(--blue); padding-top: 16px; }
.hsteps li::before { content: counter(hs); display: block; font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--blue); margin-bottom: 10px; }
.hsteps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.hsteps p { color: var(--ink-2); font-size: var(--type-sm); }

/* faq two column */
.faq2 { display: grid; grid-template-columns: .75fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq2-side { position: sticky; top: 96px; }
.faq2-side h2 { margin-bottom: var(--space-md); }
.faq2-side p { color: var(--ink-2); margin-bottom: var(--space-lg); max-width: 34ch; }

/* photo strip */
.strip { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: var(--space-md); }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.strip figure:nth-child(2) { margin-top: clamp(16px, 4vw, 48px); }
.strip figcaption { margin-top: 10px; font-size: var(--type-sm); color: var(--ink-2); font-weight: 600; }

/* big quote */
.bigquote { margin: 0 auto; max-width: 880px; text-align: left; }
.bigquote blockquote { margin: 10px 0 14px; }
.bigquote p { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1rem + 2.4vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
.bigquote figcaption { color: var(--muted); font-weight: 600; }
.bigquote .rc-stars { color: var(--gold); letter-spacing: 3px; }

@media (max-width: 960px) {
  .hs-grid, .hb-grid, .ck-wrap, .faq2 { grid-template-columns: 1fr; }
  .ck-head, .faq2-side { position: static; }
  .hsteps { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { margin-top: 12px; }
}
@media (max-width: 680px) {
  .zz-row, .cmp-grid { grid-template-columns: 1fr; }
  .zz-row.flip .zz-media { order: 0; }
  .strip { grid-template-columns: 1fr; }
  .strip figure:nth-child(2) { margin-top: 0; }
  .hsteps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
}

/* homepage additions */
.h1-eyebrow { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(.8rem, .72rem + .35vw, 1rem); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); opacity: .92; margin-bottom: clamp(10px, 1.6vw, 18px); text-shadow: none; line-height: 1.2; }
.chip-list--stack { flex-direction: column; flex-wrap: nowrap; gap: 10px; max-width: 420px; }
.chip-list--stack a { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 20px; }
.chip-list--stack a::after { content: "→"; color: var(--blue); }
.home-intro { padding: clamp(48px, 7vw, 100px) 0; }
.strip[style*="--n:2"] img { aspect-ratio: 4 / 3; }
.strip[style*="--n:2"] figure:nth-child(2) { margin-top: 0; }

/* header dropdowns (hover and keyboard) */
.nav-links { align-items: center; }
.has-dd { position: relative; }
.has-dd > a { display: inline-flex; align-items: center; gap: 6px; }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; transition: transform .2s; }
.has-dd:hover .caret, .has-dd:focus-within .caret { transform: rotate(225deg) translateY(-1px); }
.dd { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 300; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dd:hover .dd, .has-dd:focus-within .dd { display: grid; }
.nav-links .dd a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.nav-links .dd a::after { display: none; }
.nav-links .dd a:hover { background: var(--paper-2); color: var(--blue); }
/* mobile menu groups */
.mobile-menu { overflow-y: auto; justify-content: flex-start; padding-top: 128px; padding-bottom: 40px; gap: var(--space-md); }
.mm-group { width: 100%; max-width: 360px; text-align: center; }
.mm-group summary { list-style: none; cursor: pointer; color: var(--on-dark); font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary::after { content: " +"; opacity: .7; }
.mm-group[open] summary::after { content: " \2212"; }
.mm-group a { display: block; font-size: 1.15rem; font-weight: 600; padding: 9px 0; color: var(--on-dark-muted); }
.mm-group[open] { padding-bottom: var(--space-sm); }


/* ============================================================
   REVIEW FIXES (Nov 20). Appended overrides only. Every rule
   above this line is unchanged. Tokens, colors, fonts untouched.
   ============================================================ */

/* 1. Focus states (none existed site-wide) */
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hero :where(a, button):focus-visible, .estimate :where(a, button):focus-visible, .footer :where(a, button):focus-visible,
.mobile-menu :where(a, summary):focus-visible, .promise :where(a, button):focus-visible, .hero--band :where(a, button):focus-visible { outline-color: var(--cta-bright); }

/* 2. Header: stop "Our Work" and the phone wrapping between 861px and 1180px */
.nav-links a, .nav-cta .phone, .nav-cta .btn { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1180px) {
  .nav-cta .phone { display: none; }
  .nav-links { gap: 18px; }
  .nav-cta { margin-left: var(--space-md); }
}
.dd { top: calc(100% + 8px); }
.nav-links .dd a { padding: 11px 14px; }

/* 3. One heading scale for every inner page (H1 clearly above H2 at every width) */
body.pg .hero h1 { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 4rem); max-width: 17ch; text-wrap: balance; }
body.pg h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.75rem); text-wrap: balance; }
body.pg h3 { text-wrap: balance; }
body.pg .hero-sub { font-size: clamp(1.06rem, .98rem + .5vw, 1.32rem); line-height: 1.45; max-width: 46ch; }
body.pg :where(.prose p, .pg-head p, .faq-a, .zz-copy p) { text-wrap: pretty; }
body.pg .prose p, body.pg .pg-head p { max-width: 60ch; }
@media (max-width: 600px) {
  body.pg .hero h1 { font-size: 2.05rem; line-height: 1.04; }
  body.pg h2 { font-size: 1.62rem; line-height: 1.08; }
  body.pg .hero-sub { font-size: 1.04rem; }
}

/* 4. Section rhythm: one spacing for inner pages, tighter heads */
body.pg .section { padding: clamp(52px, 7vw, 104px) 0; }
body.pg .pg-head { margin-bottom: clamp(22px, 3vw, 36px); }
body.pg .pg-head h2, body.pg .prose h2, body.pg .faq2-side h2 { margin-bottom: 14px; }

/* 5. Hero variants share one top/bottom spacing */
.hero--page .hero-body, .hero--split .hero-body, .hero--band .hero-body { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(40px, 5.5vw, 80px); }
.hero--page { min-height: clamp(440px, 60vh, 620px); }
.crumbs { margin-bottom: 14px; }
.crumbs a { display: inline-block; padding: 6px 0; }

/* 6. Band hero: a brand mark instead of a flat navy field */
.hero--band { position: relative; overflow: hidden; }
.hero--band::after { content: ""; position: absolute; right: clamp(-60px, -2vw, 0px); bottom: -8%; width: clamp(220px, 26vw, 380px); aspect-ratio: 2 / 3; background: url("assets/img/logos/painter-silhouette-white.png") no-repeat center bottom / contain; opacity: .07; pointer-events: none; }
.hero--band .hero-body { position: relative; z-index: 1; }
.hb-card { backdrop-filter: blur(4px); }
@media (max-width: 960px) {
  .hero--band::after { display: none; }
  .hb-card { padding: 16px 18px; }
  .hb-card ul { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .hb-card li, .hb-card li:first-child, .hb-card li:last-child { padding: 10px 0; border-top: 1px solid oklch(1 0 0 / .14); }
  .hb-card li:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .hb-card span { font-size: 1rem; }
}

/* 7. Split hero: shorter photo on tablet and phone so the page starts sooner */
@media (max-width: 960px) {
  .hs-media { aspect-ratio: 16 / 10; max-height: 340px; }
  .hs-grid { gap: 28px; }
}
@media (max-width: 600px) { .hs-media { aspect-ratio: 3 / 2; } }
.hero--split .hero-actions, .hero--band .hero-actions { margin-bottom: 0; }

/* 8. Sticky side columns cleared the sticky topbar (was top: 96px, header is ~120px) */
.ck-head, .faq2-side { top: 148px; }

/* 9. Contrast: muted grey on porcelain was ~4.3:1 */
.feat p, .section--alt .feat p { color: var(--ink-2); }
.hero--split .crumbs, .hero--split .crumbs a { color: var(--ink-2); }
.hero--split .crumbs a { text-decoration-color: var(--muted); }

/* 10. Pull quote: the brand pull-quote (4px blue rule), not a giant headline */
.bigquote { max-width: 860px; margin: 0; padding-left: clamp(20px, 3vw, 36px); border-left: 4px solid var(--blue); }
.bigquote p { font-size: clamp(1.35rem, 1rem + 1.5vw, 2.05rem); line-height: 1.22; font-weight: 700; letter-spacing: -.012em; }
.bigquote figcaption { font-family: var(--font-display); font-size: var(--type-sm); color: var(--ink-2); }
body.pg .section:has(> .wrap > .bigquote) { padding: clamp(44px, 6vw, 84px) 0; }

/* 11. FAQ: 48px tap rows, visible open state */
.faq summary { min-height: 56px; padding: 16px 22px; line-height: 1.25; }
.faq details[open] { border-color: oklch(0.80 0.06 240); box-shadow: var(--shadow); }
.faq summary:hover { color: var(--blue); }
@media (max-width: 600px) { .faq summary { padding: 14px 16px; font-size: 1rem; } }
.faq2-side .btn { width: auto; }

/* 12. Checklist and compare read like a written scope (the thing PPM actually sells) */
.ck li::before { top: 20px; }
.cmp { position: relative; }
.cmp h3 { font-size: 1.15rem; text-transform: none; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.cmp-b h3 { border-bottom-color: oklch(1 0 0 / .16); }
.cmp li { padding-left: 30px; line-height: 1.45; }
.cmp li::before { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; top: 1px; }
.cmp-a li::before { content: "\2715"; background: var(--paper-2); color: var(--muted); }
.cmp-b li::before { content: "\2713"; background: var(--cta); color: #fff; }
.section--alt .cmp-a li::before { background: var(--paper-2); }

/* 13. Feature cards: less boxy, rules instead of nine identical tiles */
.feat-grid { gap: 0 clamp(20px, 3vw, 40px); }
.feat { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 18px 0 28px; }
.section--alt .feat { background: transparent; }
.feat h3 { font-size: 1.12rem; }

/* 14. Steps line up with the rest of the type */
.hsteps li::before { font-size: 2.1rem; }
.steps li::before { font-size: 1.9rem; }

/* 15. Tap targets: footer links, mobile menu groups */
@media (max-width: 860px) {
  .foot-col a { padding: 10px 0; }
  .mm-group summary { padding: 8px 0; min-height: 48px; }
  .mm-group a { padding: 12px 0; }
  .mobile-menu { padding-top: 140px; gap: 6px; }
  .mobile-menu > a:not(.btn) { padding: 8px 0; }
}

/* 16. Photos: consistent radius + no shadow stacking on light sections */
.pg-media, .hs-media, .zz-media { box-shadow: var(--shadow); }
.pg-media img, .hs-media img, .zz-media img, .work-grid img { background: var(--paper-2); }

/* 17. Work grid: lead with a big tile, break the 3x4 wall */
@media (min-width: 1081px) {
  .work-grid { grid-auto-flow: dense; }
  .work-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
  .work-grid figure:first-child { display: flex; flex-direction: column; }
  .work-grid figure:first-child img { aspect-ratio: auto; flex: 1; min-height: 0; height: auto; }
}
.work-grid figure { transition: transform .3s var(--ease-out), box-shadow .3s; }
.work-grid figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* 18. (removed) Homepage hero, loader and trust banner are not touched by this file. */

/* 19. Closing band on inner pages: give it a lead line slot and breathing room */
body.pg .estimate.section { padding: clamp(56px, 7vw, 100px) 0; }
body.pg .estimate h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3rem); }

@media (prefers-reduced-motion: reduce) { .work-grid figure, .faq summary { transition: none; } }


/* ============================================================
   PHOTO PASS (Nov 20). Real job photos (webp, jpg fallbacks saved alongside).
   ============================================================ */

/* Job story: one kitchen, start to finish */
.job-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3.5vw, 40px); }
.job-head h2 { margin: 6px 0 0; }
.job-head p { color: var(--ink-2); max-width: 46ch; }
.job-kicker { font-family: var(--font-display); font-weight: 700; font-size: var(--type-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.job-grid { display: grid; grid-template-columns: 1fr 1fr 1.55fr; grid-template-rows: 1fr 1fr; gap: clamp(10px, 1.4vw, 16px); }
.job-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.job-grid .job-main { grid-column: 3; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 100%; box-shadow: var(--shadow-lg); }
.job-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.job-grid figure:hover img { transform: scale(1.04); }
.job-grid figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; align-items: center; gap: 8px; width: fit-content; max-width: calc(100% - 20px); padding: 7px 12px 7px 7px; border-radius: 999px; background: oklch(1 0 0 / .9); backdrop-filter: blur(8px); font-family: var(--font-display); font-weight: 700; font-size: var(--type-xs); line-height: 1.2; color: var(--ink); }
.job-n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 800; }
.job-main figcaption { left: 16px; bottom: 16px; font-size: var(--type-sm); padding: 9px 16px 9px 9px; }
.job-grid figcaption.job-after { padding: 7px 14px; background: var(--blue); color: #fff; }
.job-main .job-n { width: 28px; height: 28px; }
/* flow: 01 02 / 03 04 on the left, big After on the right */
@media (max-width: 860px) {
  .job-head { grid-template-columns: 1fr; }
  .job-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .job-grid .job-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 480px) {
  .job-grid figcaption { font-size: .72rem; padding: 5px 10px 5px 5px; left: 6px; bottom: 6px; }
  .job-n { width: 20px; height: 20px; font-size: .62rem; }
}

/* Two process photos under the cabinet steps */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); margin-top: clamp(32px, 4vw, 52px); max-width: 760px; }
.duo figure { margin: 0; }
.duo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.duo figure:nth-child(2) { margin-top: clamp(24px, 4vw, 56px); }
.duo figcaption { margin-top: 10px; font-size: var(--type-sm); color: var(--ink-2); font-weight: 600; max-width: 34ch; }
@media (max-width: 480px) { .duo figure:nth-child(2) { margin-top: 32px; } }

@media (prefers-reduced-motion: reduce) { .job-grid img { transition: none; } }

/* Before / after pair */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 16px); }
.ba-pair figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); box-shadow: var(--shadow); }
.ba-pair img { width: 100%; height: 100%; object-fit: cover; }
.job-tag { position: absolute; left: 12px; top: 12px; padding: 7px 14px; border-radius: 999px; background: oklch(1 0 0 / .92); font-family: var(--font-display); font-weight: 800; font-size: var(--type-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.job-tag--after { background: var(--blue); color: #fff; }
@media (max-width: 600px) { .ba-pair { grid-template-columns: 1fr; } }
.section .duo { margin-left: auto; margin-right: auto; }

/* Before/after rows + "Not just kitchens" grid */
.ba-row + .ba-row { margin-top: clamp(28px, 4vw, 48px); }
.ba-cap { margin-top: 12px; color: var(--ink-2); font-size: var(--type-sm); }
.ba-cap strong { color: var(--ink); font-family: var(--font-display); }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 20vw, 260px); gap: clamp(10px, 1.4vw, 16px); }
.more-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.more-grid .more-tall { grid-row: span 2; }
.more-grid .more-wide { grid-column: 1 / -1; }
.more-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.more-grid figure:hover img { transform: scale(1.04); }
.more-grid figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: oklch(1 0 0 / .92); font-family: var(--font-display); font-weight: 700; font-size: var(--type-xs); color: var(--ink); }
@media (max-width: 760px) {
  .more-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .more-grid .more-wide { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .more-grid img { transition: none; } }

/* Drag compare (before/after) */
.cmpx { position: relative; aspect-ratio: 4 / 3; max-width: 1040px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-lg); margin-bottom: 12px; touch-action: pan-y; }
.cmpx img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmpx-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.cmpx .job-tag { z-index: 2; pointer-events: none; }
.cmpx .cmpx-after { left: auto; right: 12px; }
.cmpx-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; box-shadow: 0 0 0 1px oklch(0 0 0 / .08); }
.cmpx-handle::after { content: "\2039\00a0\203A"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--blue); font: 800 1.15rem/1 var(--font-display); box-shadow: var(--shadow-lg); }
.cmpx input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.cmpx:has(input:focus-visible) .cmpx-handle::after { outline: 3px solid var(--blue); outline-offset: 3px; }
.cmpx + .ba-cap { margin-bottom: clamp(28px, 4vw, 48px); }

.ba-pair:has(img[src*="garage-door"]) { max-width: 760px; }
.ba-pair:has(img[src*="garage-door"]) figure { aspect-ratio: 3 / 4; }


/* Every before/after slider on the site: one size */
.cmpx { width: 100%; max-width: 1040px; aspect-ratio: 4 / 3; }
.cmpx img { object-position: center; }
@media (max-width: 600px) { .cmpx { aspect-ratio: 4 / 3; } .cmpx-handle::after { width: 40px; height: 40px; } }

/* Featured review spotlight (service + town pages). Static, separate from the live Google cards. */
.spot { padding: clamp(28px, 4vw, 52px) 0; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.spot-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 56px); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3.6vw, 48px); box-shadow: var(--shadow); }
.spot-kicker { display: block; margin-bottom: 14px; font-family: var(--font-display); font-weight: 700; font-size: var(--type-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.spot-quote { margin: 0; }
.spot-quote p { margin: 0; max-width: 54ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.18rem, 1rem + .95vw, 1.62rem); line-height: 1.32; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.spot-cite { display: grid; gap: 3px; margin-top: 20px; font-style: normal; font-size: var(--type-sm); line-height: 1.4; color: var(--ink-2); }
.spot-name { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.spot-svc { font-weight: 700; }
.spot-cta { display: grid; gap: 12px; justify-items: start; align-self: stretch; align-content: center; padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.spot-cta p { margin: 0; font-size: var(--type-sm); font-weight: 600; color: var(--ink-2); }
@media (max-width: 820px) {
  .spot-card { grid-template-columns: 1fr; }
  .spot-cta { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); justify-items: stretch; }
  .spot-cta .btn { width: 100%; justify-content: center; text-align: center; }
}

.spot-stars { display: block; margin-bottom: 10px; color: var(--gold); font-size: 1.15rem; letter-spacing: .12em; line-height: 1; }

/* Estimate bar: always visible at the bottom on every page and screen size */
.callbar, .callbar.show { display: flex; transform: none; }
@media (min-width: 861px) {
  .callbar { left: auto; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); padding: 8px; gap: 8px; border-radius: 14px; box-shadow: var(--shadow-lg); }
  .callbar a { flex: none; padding: 12px 22px; font-size: var(--type-sm); }
  .callbar .cb-quote { padding: 12px 26px; }
  .callbar a:hover { transform: translateY(-2px); }
  .callbar .cb-quote:hover { background: var(--cta-deep, var(--blue)); }
  .footer { padding-bottom: 120px; }
}
@media (max-width: 860px) { body { padding-bottom: 76px; } }
@media (prefers-reduced-motion: reduce) { .callbar a:hover { transform: none; } }

/* Home: intro copy sits under the services headline, then straight into the cards */
.svc-intro { display: grid; gap: 12px; max-width: 68ch; margin: clamp(14px, 2vw, 22px) 0 clamp(30px, 4vw, 52px); color: var(--ink-2); font-size: var(--type-body); line-height: 1.6; text-wrap: pretty; }
.svc-intro p { margin: 0; }
.svc-intro a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.svc-intro a:hover { color: var(--blue); }

/* Yard sign reel (Service Areas) */
.signs .job-head { margin-bottom: clamp(22px, 3vw, 36px); }
.signs-reel { display: flex; overflow: hidden; gap: clamp(10px, 1.4vw, 16px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.signs-track { display: flex; flex: none; gap: clamp(10px, 1.4vw, 16px); margin: 0; padding: 0; list-style: none; animation: signs-scroll 70s linear infinite; }
.signs-reel:hover .signs-track { animation-play-state: paused; }
.signs-track li { flex: none; width: clamp(240px, 26vw, 380px); }
.signs-track img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
@keyframes signs-scroll { to { transform: translateX(calc(-100% - clamp(10px, 1.4vw, 16px))); } }
@media (prefers-reduced-motion: reduce) {
  .signs-track { animation: none; }
  .signs-reel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .signs-track[aria-hidden="true"] { display: none; }
}

/* About: header, two photos side by side, then the description */
.hero--about { background: var(--paper); color: var(--ink); min-height: 0; }
.hero--about .hero-body { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(44px, 6vw, 88px); }
.hero--about h1 { color: var(--ink); margin-bottom: clamp(24px, 3vw, 40px); }
.hero--about .crumbs, .hero--about .crumbs a { color: var(--ink-2); }
.about-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.about-duo figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.about-duo img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about-copy { max-width: 64ch; margin-top: clamp(32px, 4.5vw, 60px); }
.about-copy h2 { margin-bottom: 14px; }
.about-copy p { color: var(--ink-2); line-height: 1.65; text-wrap: pretty; }
.about-copy p + p { margin-top: 12px; }
@media (max-width: 600px) { .about-duo { grid-template-columns: 1fr; } }
/* About hero: two photos crossfade in one card */
.about-rotator { display: block; max-width: 760px; }
.about-rotator figure { position: relative; aspect-ratio: 3 / 2; }
.about-rotator img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; animation: aboutFade 10s ease-in-out infinite; }
.about-rotator img + img { animation-delay: -5s; }
@keyframes aboutFade { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .about-rotator img { animation: none; } .about-rotator img + img { opacity: 0; } }

/* Home work gallery: real job photos, service label, link to Our Work */
.work-side { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.work-side .work-note { margin: 0; }
.gallery figure { position: relative; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: oklch(1 0 0 / .92); font-family: var(--font-display); font-weight: 700; font-size: var(--type-xs); color: var(--ink); pointer-events: none; }

/* Service heroes: linked town line */
.hero-towns { margin: 12px 0 0; max-width: 52ch; font-size: var(--type-sm); font-weight: 600; line-height: 1.55; color: oklch(1 0 0 / .92); }
.hero-towns a { color: #fff; text-decoration: underline; text-decoration-color: oklch(1 0 0 / .45); text-underline-offset: 3px; }
.hero-towns a:hover { text-decoration-color: #fff; }
.hero-towns + .hero-actions { margin-top: clamp(20px, 2.6vw, 30px); }

/* live + static review cards: city and service line */
.review-cards .rc-meta { display: block; margin-top: -4px; font-size: var(--type-sm); color: var(--muted); line-height: 1.35; }
.crumbs { align-items: center; line-height: 1.2; }
.crumbs li { display: inline-flex; align-items: center; }

/* What customers say (replaces single featured card) */
.say-head { max-width: 62ch; margin: 0 0 clamp(18px, 3vw, 28px); }
.say-head h2 { margin: 0 0 10px; }
.say-head p { margin: 0; color: var(--ink-2); font-size: var(--type-md, 1.05rem); line-height: 1.55; }
.say-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 24px); }
.say-card { margin: 0; display: grid; align-content: space-between; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 34px); }
.say-card p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, .98rem + .5vw, 1.32rem); line-height: 1.38; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.say-foot { margin-top: clamp(18px, 3vw, 28px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.say-foot span { font-size: var(--type-sm); font-weight: 600; color: var(--ink-2); }
@media (max-width: 760px) { .say-grid { grid-template-columns: 1fr; } .say-foot .btn { width: 100%; justify-content: center; } }
.say-grid--one { grid-template-columns: minmax(0, 720px); }

/* ============ image section: image is part of the section (matches hero) ============ */
.imgsec { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; background: var(--paper-2); overflow: hidden; }
.imgsec-media { position: relative; min-height: 100%; overflow: hidden; }
.imgsec-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; animation: imgPan 30s ease-in-out infinite alternate; will-change: transform; }
@keyframes imgPan { from { transform: scale(1.12) translateX(-3%); } to { transform: scale(1.12) translateX(3%); } }
@media (prefers-reduced-motion: reduce) { .imgsec-media img { animation: none; transform: none; } }
.imgsec-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.2 0.04 250 / 0) 45%, oklch(0.14 0.04 250 / .8) 100%); display: none; }
.imgsec-title { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: clamp(20px, 4vw, 32px) max(16px, 4vw); color: #fff; z-index: 1; text-wrap: balance; font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.2rem); line-height: 1.12; display: none; }
.imgsec-body { padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.imgsec-body h2 { margin: 0 0 4px; text-wrap: balance; }
.imgsec-body p { margin: 0; max-width: 60ch; }
.imgsec.flip .imgsec-media { order: 2; }
@media (max-width: 760px) {
  .imgsec { grid-template-columns: 1fr; }
  .imgsec.flip .imgsec-media { order: 0; }
  .imgsec-media { aspect-ratio: 4 / 3; min-height: 0; }
  .imgsec-media::after, .imgsec-title { display: block; }
  .imgsec-body h2 { display: none; }
  .imgsec-body { padding: 24px max(16px, 4vw) 36px; }
}

/* ============ inner-page heroes: show the photo (less zoom, lighter overlay) ============ */
.hero--page .hero-media img { transform-origin: 50% 55%; object-position: 50% 55%; animation: pagePan 36s ease-in-out infinite alternate; }
@keyframes pagePan { from { transform: scale(1.05) translateX(-2%); } to { transform: scale(1.05) translateX(2%); } }
.hero--page .hero-scrim { background: linear-gradient(90deg, oklch(0.16 0.04 250 / .74) 0%, oklch(0.16 0.04 250 / .5) 48%, oklch(0.16 0.04 250 / .12) 100%), linear-gradient(180deg, oklch(0.16 0.04 250 / .2) 0%, oklch(0.16 0.04 250 / 0) 40%, oklch(0.14 0.04 250 / .5) 100%); }
.hero--page h1, .hero--page .hero-sub { text-shadow: 0 2px 22px oklch(0.14 0.04 250 / .55); }
@media (max-width: 700px) {
  .hero--page .hero-media img { transform-origin: 50% 50%; animation: pagePanM 32s ease-in-out infinite alternate; }
  @keyframes pagePanM { from { transform: scale(1.08) translateX(-3%); } to { transform: scale(1.08) translateX(3%); } }
  .hero--page .hero-scrim { background: linear-gradient(180deg, oklch(0.16 0.04 250 / .5) 0%, oklch(0.16 0.04 250 / .38) 38%, oklch(0.14 0.04 250 / .78) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero--page .hero-media img { animation: none; transform: none; } }

/* no extra space under the last before/after caption */
.ba .wrap > .ba-cap:last-child { margin-bottom: 0; }
