/*
 * Almighty Bail Bonds premium civic layer
 *
 * This final presentation layer brings the public site into the same visual
 * language as the selected launch direction: photographic Colorado depth,
 * transparent civic-blue surfaces, quiet editorial spacing, and rust-red
 * reserved for urgent action. The existing structural stylesheet remains the
 * source of component behavior and accessible states.
 */

:root,
[data-theme="light"] {
  --premium-midnight: #0b2941;
  --premium-midnight-deep: #071d30;
  --premium-civic: #164f78;
  --premium-civic-strong: #0f3f65;
  --premium-sky: #9fc5dc;
  --premium-paper: #f7f7f4;
  --premium-white: #fff;
  --premium-rust: #a3323e;
  --premium-rust-dark: #842633;
  --premium-ink: #102b45;
  --premium-muted: #536876;
  --premium-line: rgba(15, 63, 101, .18);
  --premium-glass: rgba(9, 39, 62, .68);
  --premium-shadow: 0 24px 64px rgba(4, 24, 40, .24);
  --premium-shadow-soft: 0 14px 38px rgba(8, 40, 64, .12);
  --gutter: clamp(1.25rem, 4vw, 4.75rem);
  --section-pad: clamp(3rem, 5vw, 5rem);
  --section-pad-compact: clamp(2rem, 3.5vw, 3.5rem);
  --radius: 6px;
}

body {
  background: var(--premium-paper);
}

.btn,
.nav__account,
.theme-toggle,
.hamburger,
.mobile-menu__close {
  border-radius: 6px;
}

.btn--cta {
  background: var(--premium-rust);
  border-color: var(--premium-rust);
  box-shadow: 0 8px 22px rgba(132, 38, 51, .2);
}

.btn--cta:hover,
.btn--cta:focus-visible {
  background: var(--premium-rust-dark);
  border-color: var(--premium-rust-dark);
}

/* The utility and navigation read as one calm civic frame on every route. */
.utility-bar {
  background: var(--premium-midnight-deep);
  border-bottom-color: rgba(255, 255, 255, .12);
}

.utility-bar__inner {
  min-height: 44px;
}

.utility-bar__application {
  min-height: 44px;
}

.utility-bar__payment {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  gap: .4rem;
  padding: .35rem .65rem;
  color: var(--premium-white);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.utility-bar__payment::after {
  content: "\2192";
  color: var(--premium-sky);
}

.utility-bar__payment:hover,
.utility-bar__payment:focus-visible {
  color: var(--premium-midnight);
  background: var(--premium-white);
  border-color: var(--premium-white);
}

.utility-bar__payment:hover::after,
.utility-bar__payment:focus-visible::after {
  color: var(--premium-rust);
}

.nav,
html[data-theme="dark"] .nav {
  min-height: 76px;
  color: var(--premium-white);
  background: rgba(8, 34, 55, .94);
  border-bottom-color: rgba(255, 255, 255, .17);
  box-shadow: 0 12px 30px rgba(4, 22, 37, .1);
  backdrop-filter: blur(18px) saturate(118%);
}

.nav[data-scrolled] {
  min-height: 68px;
  background: rgba(7, 29, 48, .97);
  box-shadow: 0 14px 36px rgba(4, 22, 37, .22);
}

.nav .brand,
.nav .brand:hover,
.nav .nav__links a,
.nav .nav__links a[aria-current="page"],
.nav .brand__name {
  color: var(--premium-white);
}

.nav .logo-chip img {
  content: url('/assets/img/brand-mark-v2-light.svg');
}

.nav .brand__name .bb {
  color: #d9e8f1;
}

.nav__links a {
  font-size: clamp(.76rem, .71rem + .14vw, .9rem);
  font-weight: 650;
}

.nav__links a::after {
  height: 2px;
  bottom: -.7rem;
  background: var(--premium-sky);
}

.nav__account,
html[data-theme="dark"] .nav__account {
  color: var(--premium-white);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .38);
}

.nav__account::after {
  color: #dbe9f2;
}

.nav__account:hover,
html[data-theme="dark"] .nav__account:hover {
  color: var(--premium-midnight);
  background: var(--premium-white);
  border-color: var(--premium-white);
}

.theme-toggle,
html[data-theme="dark"] .theme-toggle,
.hamburger,
html[data-theme="dark"] .hamburger {
  color: var(--premium-white);
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .28);
}

.theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:hover,
.hamburger:hover {
  color: var(--premium-midnight);
  background: var(--premium-white);
  border-color: var(--premium-white);
}

/* Homepage: a photographic Colorado field with one memorable response desk. */
.presentation-hero {
  min-height: clamp(40rem, calc(100svh - 120px), 47rem);
  background: var(--premium-midnight);
}

.presentation-hero__image {
  object-position: center 50%;
  filter: saturate(.9) contrast(1.06);
  transform: scale(1.01);
}

.presentation-hero__veil,
html[data-theme="dark"] .presentation-hero__veil {
  background: linear-gradient(90deg, rgba(5, 31, 52, .88) 0%, rgba(7, 40, 65, .7) 46%, rgba(9, 46, 74, .34) 78%, rgba(8, 35, 57, .24) 100%);
}

.presentation-hero__inner {
  padding-block: clamp(2rem, 4vh, 3rem);
}

.presentation-hero__content {
  grid-template-columns: minmax(0, 1.04fr) minmax(25rem, .96fr);
  gap: clamp(2rem, 4.2vw, 4.75rem);
}

.presentation-hero__copy {
  max-width: 48rem;
}

.presentation-hero .hero-kicker {
  color: #e4edf3;
  font-size: .72rem;
  letter-spacing: .15em;
}

.presentation-hero h1 {
  max-width: 10ch;
  font-size: clamp(3.75rem, min(5vw, 9.5vh), 5.35rem);
  line-height: .94;
  letter-spacing: -.05em;
  text-shadow: 0 5px 30px rgba(0, 18, 32, .38);
}

.presentation-hero .lead {
  max-width: 47ch;
  font-size: clamp(1.05rem, .95rem + .42vw, 1.38rem);
}

.presentation-hero__preview {
  color: #d6e2e9;
}

.response-desk {
  color: var(--premium-white);
  background: var(--premium-glass);
  border: 1px solid rgba(220, 237, 247, .38);
  border-left: 1px solid rgba(220, 237, 247, .38);
  border-radius: 8px;
  box-shadow: var(--premium-shadow);
  backdrop-filter: blur(20px) saturate(118%);
}

.response-desk__head {
  min-height: 3.25rem;
  color: var(--premium-white);
  background: rgba(255, 255, 255, .045);
  border-bottom-color: rgba(255, 255, 255, .22);
}

.response-desk__head > span {
  color: #e6f1f6;
}

.response-desk__dot {
  background: #93dc8a;
  box-shadow: 0 0 0 4px rgba(147, 220, 138, .14);
}

.response-desk__option,
.response-desk__option--urgent,
.response-desk__account {
  color: var(--premium-white);
  background: rgba(4, 27, 45, .16);
  border-color: rgba(255, 255, 255, .2);
}

.response-desk__option:nth-child(2) {
  border-right-color: rgba(255, 255, 255, .2);
}

.response-desk__option > span,
.response-desk__option > small,
.response-desk__account {
  color: #d5e3ea;
}

.response-desk__option > strong,
.response-desk__account a {
  color: var(--premium-white);
}

.response-desk__option--urgent::before {
  width: 3px;
  background: #ca4a55;
}

.response-desk__option--urgent > strong {
  color: #fff;
}

.response-desk__option::after {
  color: var(--premium-white);
  border-color: rgba(255, 255, 255, .38);
}

.response-desk__option--urgent::after {
  background: var(--premium-rust);
  border-color: var(--premium-rust);
}

.response-desk__option:hover,
.response-desk__option:focus-visible {
  color: var(--premium-white);
  background: rgba(255, 255, 255, .1);
}

/* Permanent launch invariant: all four facts stay together on an opaque civic-blue field. */
.presentation-hero__proof {
  margin-top: clamp(.65rem, 1.4vh, 1.05rem);
  color: var(--premium-white);
  background: var(--premium-civic-strong);
  border: 1px solid rgba(255, 255, 255, .28);
  border-top: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(4, 24, 40, .24);
}

.presentation-hero__proof li {
  padding: 1rem clamp(1rem, 1.7vw, 1.5rem);
  color: var(--premium-white);
  background: var(--premium-civic-strong);
  border-right-color: rgba(255, 255, 255, .2);
}

.presentation-hero__proof li::before {
  content: none;
}

.presentation-hero__proof strong {
  color: var(--premium-white);
}

.presentation-hero__proof span {
  margin-top: .2rem;
  color: #d7e8f2;
}

/* Homepage scenes stay substantial without forcing every section to one viewport. */
.home-page .faith-services-scene {
  min-block-size: 44rem;
}

.home-page .guidance-stage {
  min-block-size: 35rem;
}

.home-page .faith-stage {
  min-block-size: 38rem;
}

.home-page .answers-stage.home-scene {
  min-block-size: 38rem;
}

.home-page .service-showcase {
  min-height: 34rem;
}

.service-showcase__intro::after {
  background: linear-gradient(180deg, rgba(6, 30, 49, .12) 0%, rgba(6, 30, 49, .88) 100%);
}

.home-page .service-card,
.home-page .service-card:nth-child(even) {
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.home-page .service-card:hover,
.home-page .service-card:focus-visible {
  transform: translateY(-2px);
}

.home-page .service-help {
  min-height: 6rem;
  background: var(--premium-midnight);
}

.home-page .guidance-stage {
  background: var(--premium-paper);
}

.home-page .release-steps,
.home-page .terms-row {
  border-color: var(--premium-line);
}

.home-page .release-steps li,
.home-page .terms-row > div {
  border-color: var(--premium-line);
}

.home-page .faith-stage {
  background: var(--premium-civic-strong);
}

.final-presentation {
  padding-block: clamp(3.25rem, 5vw, 5rem);
  background: var(--premium-midnight);
}

/* Interior heroes are editorial openers, not full-screen holding pages. */
body.interior-page:not(.application-page) .page-head {
  min-block-size: clamp(27rem, 53svh, 33rem);
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

body.interior-page.process-page:not(.application-page) .page-head,
body.interior-page.services-page:not(.application-page) .page-head,
body.interior-page.service-area-page:not(.location-page):not(.application-page) .page-head,
body.interior-page.faq-page:not(.application-page) .page-head,
body.interior-page.about-page:not(.application-page) .page-head,
body.interior-page.contact-page:not(.application-page) .page-head {
  min-block-size: clamp(27rem, 53svh, 33rem);
}

body.interior-page.legal-page:not(.application-page) .page-head {
  min-block-size: clamp(20rem, 37svh, 25rem);
}

body.interior-page:not(.application-page) .page-head::after {
  background: linear-gradient(90deg, rgba(5, 30, 50, .93) 0%, rgba(7, 38, 63, .74) 50%, rgba(8, 44, 72, .27) 100%);
}

body.interior-page:not(.application-page) .page-head h1 {
  max-width: 15ch;
  font-size: clamp(2.9rem, min(4.7vw, 7.2svh), 4.9rem);
  text-shadow: 0 4px 24px rgba(0, 19, 33, .35);
}

body.interior-page:not(.application-page) .page-head .lead {
  max-width: 60ch;
  font-size: clamp(1rem, .95rem + .25vw, 1.2rem);
}

.page-head__rail {
  width: min(100%, 74rem);
  margin-top: clamp(1.4rem, 3svh, 2.25rem);
  color: var(--premium-white);
  background: var(--premium-civic-strong);
  border: 1px solid rgba(255, 255, 255, .25);
  border-top: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(3, 24, 41, .27);
  overflow: hidden;
}

.page-head__rail > li,
.page-head__rail > div {
  padding: .85rem 1rem;
  border-right-color: rgba(255, 255, 255, .2);
  border-bottom: 0;
}

.page-head__rail strong,
.page-head__rail dt,
.page-head__rail span,
.page-head__rail dd,
.page-head__rail a {
  color: var(--premium-white);
}

.page-head__rail span,
.page-head__rail dd {
  color: #d7e8f2;
}

/* Compact the long route families while preserving their editorial split layouts. */
.process-presentation__inner {
  min-height: 34rem;
}

.interior-split__media {
  min-height: clamp(24rem, 48svh, 32rem);
}

.services-directory__intro {
  padding-block: clamp(2.75rem, 4vw, 4rem);
  background: var(--premium-paper);
}

.services-directory__row {
  min-height: clamp(22rem, 42svh, 28rem);
}

.services-directory__card {
  padding-block: clamp(1.75rem, 3vw, 3rem);
}

.services-page .service-faith-note__inner {
  min-height: clamp(28rem, 52svh, 34rem);
}

.location-hub__inner,
.faq-page .faq-layout,
.contact-page .contact-grid {
  min-height: clamp(30rem, 58svh, 37rem);
}

.about-page .about-story > .split,
.about-page .about-covenant > .wrap {
  min-height: clamp(30rem, 58svh, 38rem);
}

.about-page main > .section--alt > .wrap {
  min-height: clamp(24rem, 44svh, 30rem);
}

body.service-detail-page main > .section--alt > .wrap {
  min-height: clamp(23rem, 42svh, 29rem);
}

.location-page main > .band-light:not(.location-hub) > .wrap {
  min-height: clamp(23rem, 43svh, 30rem);
}

body.interior-page:not(.legal-page):not(.not-found-page) main > .cta-final {
  min-block-size: clamp(20rem, 36svh, 25rem);
  border-top-color: var(--premium-civic);
}

/* Useful surfaces gain restrained depth, without turning each sentence into a card. */
.interior-page .card,
.interior-page .infocard,
.about-page .feature {
  border-radius: 8px !important;
  box-shadow: var(--premium-shadow-soft);
}

.faq-page .acc__item {
  border-color: var(--premium-line);
}

.faq-page .acc__btn {
  min-height: 3.75rem;
}

.faq-tab[aria-pressed="true"] {
  color: var(--premium-white);
}

.faq-tab[aria-pressed="true"]::after {
  color: #dcecf5;
}

.footer {
  background: var(--premium-midnight-deep);
  border-top-color: rgba(255, 255, 255, .16);
}

/* Public Pay Now keeps Almighty's brand and instructions on-site while LawPay
   remains the only surface that receives card or bank credentials. */
.pay-page .page-head {
  --page-head-image: url('/assets/img/hero-denver-city-3840.webp');
}

.payment-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.payment-entry__copy {
  display: grid;
  gap: 1.4rem;
}

.payment-entry__copy h2,
.payment-entry__copy p {
  margin: 0;
}

.payment-entry__steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--premium-line);
}

.payment-entry__steps li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: .9rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--premium-line);
}

.payment-entry__steps span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--premium-white);
  background: var(--premium-midnight);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}

.payment-entry__steps strong,
.payment-entry__steps small {
  display: block;
}

.payment-entry__steps small {
  margin-top: .25rem;
  color: var(--premium-muted);
  line-height: 1.55;
}

.payment-entry__card {
  position: sticky;
  top: 6rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--premium-white);
  background: var(--premium-midnight-deep);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--premium-shadow);
}

.payment-entry__card .eyebrow {
  color: var(--premium-sky);
}

.payment-entry__card h2 {
  margin: .45rem 0 .65rem;
  color: var(--premium-white);
}

.payment-entry__card > p {
  margin: 0 0 1.25rem;
  color: #d7e2e9;
  line-height: 1.65;
}

.payment-entry__form {
  display: grid;
  gap: 1rem;
}

.payment-entry__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.payment-entry__field {
  display: grid;
  gap: .42rem;
  min-width: 0;
  color: #dce8ef;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.payment-entry__field input {
  width: 100%;
  min-height: 3.2rem;
  padding: .78rem .85rem;
  color: var(--premium-midnight-deep);
  background: var(--premium-white);
  border: 1px solid #a8becb;
  border-radius: .38rem;
  font: 600 .95rem/1.2 "Public Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.payment-entry__field input:focus-visible {
  border-color: var(--premium-sky);
  outline: 3px solid rgba(114, 178, 213, .28);
  outline-offset: 1px;
}

.payment-entry__money {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--premium-white);
  border: 1px solid #a8becb;
  border-radius: .38rem;
}

.payment-entry__money > span {
  display: grid;
  place-items: center;
  color: var(--premium-midnight);
  background: #e7f0f5;
  border-right: 1px solid #a8becb;
  font-size: 1rem;
}

.payment-entry__money input {
  min-width: 0;
  border: 0;
  border-radius: 0;
}

.payment-entry__money:focus-within {
  border-color: var(--premium-sky);
  outline: 3px solid rgba(114, 178, 213, .28);
  outline-offset: 1px;
}

.payment-entry__money input:focus-visible {
  outline: 0;
}

.payment-entry__form-error {
  min-height: 1.25rem;
  margin: -.25rem 0 0 !important;
  color: #ffd7d9 !important;
  font-size: .78rem;
}

.payment-entry__direct {
  margin: 1rem 0 0 !important;
  color: #d7e2e9 !important;
  font-size: .78rem;
}

.payment-entry__direct a {
  color: var(--premium-white);
  font-weight: 800;
}

.payment-entry__card .btn {
  width: 100%;
  min-height: 3.6rem;
  justify-content: center;
}

.payment-entry__security {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-top: 1.1rem;
}

.payment-entry__security span {
  padding: .75rem .5rem;
  color: #dce8ef;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.payment-entry__help {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .78rem;
}

.payment-entry__help a {
  color: var(--premium-white);
  font-weight: 800;
}

.payment-entry__notice {
  padding: 1rem 1.1rem;
  color: var(--premium-midnight);
  background: #eef4f7;
  border-left: 3px solid var(--premium-civic);
  line-height: 1.6;
}

@media (max-width: 63.999rem) {
  .payment-entry {
    grid-template-columns: 1fr;
  }

  .payment-entry__card {
    position: static;
  }
}

@media (max-width: 39.999rem) {
  .payment-entry__form-grid {
    grid-template-columns: 1fr;
  }

  .payment-entry__security {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 74.999rem) {
  .nav {
    gap: 1.25rem;
  }

  .nav__links {
    gap: .9rem;
  }
}

@media (max-width: 63.999rem) {
  .presentation-hero {
    min-height: 0;
  }

  .presentation-hero__inner {
    padding-block: clamp(2rem, 6vw, 3.25rem);
  }

  .presentation-hero__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .presentation-hero__copy {
    max-width: 44rem;
  }

  .response-desk {
    width: 100%;
  }

  .home-page .faith-services-scene,
  .home-page .guidance-stage,
  .home-page .faith-stage,
  .home-page .answers-stage.home-scene,
  .home-page .service-showcase {
    min-block-size: 0;
    min-height: 0;
  }

  .services-directory__row,
  .services-page .service-faith-note__inner,
  .location-hub__inner,
  .faq-page .faq-layout,
  .contact-page .contact-grid,
  .about-page .about-story > .split,
  .about-page .about-covenant > .wrap {
    min-height: 0;
  }

  .faq-layout__intro .faq-tab[aria-pressed="true"] {
    color: var(--premium-midnight);
  }

  .faq-layout__intro .faq-tab[aria-pressed="true"]::after {
    color: var(--premium-civic-strong);
  }
}

@media (max-width: 44.999rem) {
  :root,
  [data-theme="light"] {
    --gutter: clamp(1rem, 5vw, 1.5rem);
  }

  .utility-bar__inner {
    min-height: 42px;
  }

  .nav,
  html[data-theme="dark"] .nav {
    min-height: 68px;
  }

  .presentation-hero__veil,
  html[data-theme="dark"] .presentation-hero__veil {
    background: linear-gradient(180deg, rgba(5, 30, 50, .68) 0%, rgba(5, 30, 50, .9) 100%);
  }

  .presentation-hero__image {
    object-position: 58% center;
  }

  .presentation-hero h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .presentation-hero .lead {
    max-width: 33ch;
  }

  .response-desk__options {
    grid-template-columns: 1fr;
  }

  .response-desk__option,
  .response-desk__option:nth-child(n + 2) {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .response-desk__option:nth-child(2) {
    border-right: 0;
  }

  .response-desk__option:nth-child(n + 2)::after {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
    justify-self: end;
  }

  .response-desk__option > span,
  .response-desk__option > small {
    display: block;
  }

  .presentation-hero__proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .presentation-hero__proof li {
    min-height: 5rem;
    padding: .85rem;
    border-right: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .presentation-hero__proof li:nth-child(2n) {
    border-right: 0;
  }

  body.interior-page:not(.application-page) .page-head,
  body.interior-page.process-page:not(.application-page) .page-head,
  body.interior-page.services-page:not(.application-page) .page-head,
  body.interior-page.service-area-page:not(.location-page):not(.application-page) .page-head,
  body.interior-page.faq-page:not(.application-page) .page-head,
  body.interior-page.about-page:not(.application-page) .page-head,
  body.interior-page.contact-page:not(.application-page) .page-head {
    min-block-size: clamp(27rem, 61svh, 33rem);
    padding-block: 2rem;
  }

  body.interior-page.legal-page:not(.application-page) .page-head {
    min-block-size: 21rem;
  }

  body.interior-page:not(.application-page) .page-head h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.9rem);
  }

  .page-head__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-head__rail > li,
  .page-head__rail > div {
    min-height: 4.35rem;
    padding: .7rem;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .services-directory__row {
    min-height: 0;
  }

  .services-directory__card {
    min-height: 8.75rem;
  }
}

@media (max-width: 22rem) {
  .presentation-hero__proof {
    grid-template-columns: 1fr;
  }

  .presentation-hero__proof li {
    min-height: 0;
    border-right: 0;
  }
}

/* Keep compact interior openers effective after this final cascade layer. */
@media (max-height: 42rem) {
  body.interior-page:not(.application-page) .page-head {
    padding-block: 1.5rem;
  }

  body.interior-page:not(.application-page) .page-head h1 {
    font-size: clamp(2.25rem, min(8vw, 8svh), 4.75rem);
  }

  body.interior-page:not(.application-page) .page-head .lead {
    font-size: .95rem;
    line-height: 1.38;
  }

  .page-head__rail {
    margin-top: 1.25rem;
  }

  .page-head__rail > li,
  .page-head__rail > div {
    padding-block: .55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .presentation-hero__image,
  .home-page .service-card {
    transform: none !important;
  }
}
