/* HMR Transportation customer-approved production brand system.
   This layer intentionally refines the existing site without replacing its architecture. */
:root {
  --hmr-royal: #0a3d91;
  --hmr-light-blue: #9cade8;
  --hmr-gold: #d4af37;
  --hmr-white: #ffffff;
  --hmr-deep-blue: #06265e;
  --navy-950: #06265e;
  --navy-900: #0a3d91;
  --navy-800: #0a3d91;
  --royal-700: #0a3d91;
  --royal-600: #0a3d91;
  --blue-200: #9cade8;
  --blue-100: #edf1fc;
  --gold-500: #d4af37;
  --gold-400: #d4af37;
}

/* Reusable HMR decorative vocabulary. Decorative elements never carry meaning. */
.hmr-wave,
.hmr-wave-light,
.hmr-gold-accent,
.hmr-dot-field,
.hmr-hex-pattern,
.hmr-edge-decoration,
.hmr-section-transition { position: relative; }
.hmr-wave::before,
.hmr-wave-light::before,
.hmr-gold-accent::before,
.hmr-dot-field::before,
.hmr-hex-pattern::before,
.hmr-edge-decoration::before,
.hmr-section-transition::before {
  content: "";
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.hmr-wave::before { inset: auto -8% -42% 44%; height: 72%; border-radius: 52% 0 0 0; background: var(--hmr-royal); }
.hmr-wave-light::before { inset: auto -5% -36% 48%; height: 62%; border-radius: 52% 0 0 0; background: var(--hmr-light-blue); opacity: .45; }
.hmr-gold-accent::before { width: 76px; height: 2px; background: var(--hmr-gold); }
.hmr-dot-field::before {
  width: 180px;
  height: 150px;
  background-image: radial-gradient(circle, rgba(156,173,232,.78) 1.4px, transparent 1.6px);
  background-size: 12px 12px;
  mask-image: linear-gradient(135deg, #000, transparent 82%);
  opacity: .52;
}
.hmr-hex-pattern::before {
  width: 52px;
  height: 46px;
  clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  border: 1px solid var(--hmr-light-blue);
  background: rgba(156,173,232,.08);
}
.hmr-edge-decoration::before { inset: 0 0 0 auto; width: 4px; background: linear-gradient(var(--hmr-light-blue), var(--hmr-gold)); }
.hmr-section-transition::before { inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--hmr-light-blue), var(--hmr-gold), transparent); }

:focus-visible {
  outline: 3px solid var(--hmr-gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(156,173,232,.42);
}

/* Header, logo, buttons and brand anchors */
.brand { width: 190px; height: 76px; overflow: visible; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.site-nav { gap: 18px; }
.site-nav > a:not(.button) { white-space: nowrap; }
.site-nav > a[href="/appointment-requests"]:not(.button) {
  background: var(--hmr-gold);
  border-color: var(--hmr-gold);
  color: var(--hmr-deep-blue);
}
.site-nav > a:not(.button)::after { background: var(--hmr-gold); }
.button-gold { background: var(--hmr-gold); color: var(--hmr-deep-blue); }
.button-gold:hover { background: #e0c15b; color: var(--hmr-deep-blue); }
.button-navy { background: var(--hmr-royal); color: var(--hmr-white); }
.button-navy:hover { background: var(--hmr-deep-blue); box-shadow: inset 0 0 0 2px var(--hmr-light-blue); }
.button-outline { border-color: var(--hmr-royal); color: var(--hmr-royal); }
.button-outline:hover { background: var(--hmr-royal); color: var(--hmr-white); }
.text-link,
.request-fallback a,
.utility-copy a { color: var(--hmr-royal); }
.eyebrow { color: var(--hmr-royal); }
.eyebrow-light { color: var(--hmr-gold); }

/* Homepage hero: royal blue -> light blue -> restrained gold -> vehicle photography. */
@media (min-width: 1121px) {
  .hero { background: var(--hmr-royal); }
  .hero-media { inset: 0; }
  .hero-media::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -14% auto -14% -17%;
    width: 68%;
    border-radius: 0 52% 52% 0 / 0 50% 50% 0;
    background: linear-gradient(90deg,
      var(--hmr-royal) 0 84%,
      var(--hmr-light-blue) 84% 91.5%,
      var(--hmr-gold) 91.5% 92.4%,
      rgba(255,255,255,0) 92.4% 100%);
    pointer-events: none;
  }
  .hero-media::after {
    z-index: 2;
    background: linear-gradient(90deg,
      rgba(10,61,145,.34) 0%,
      rgba(10,61,145,.22) 34%,
      rgba(10,61,145,.06) 58%,
      rgba(10,61,145,0) 75%);
    pointer-events: none;
  }
  .hero-field { display: none; }
  .hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 47%;
    top: 19%;
    width: 170px;
    height: 220px;
    background-image: radial-gradient(circle, rgba(156,173,232,.7) 1.25px, transparent 1.5px);
    background-size: 12px 12px;
    mask-image: linear-gradient(135deg, #000 12%, transparent 84%);
    opacity: .42;
    pointer-events: none;
  }
  .hero .container { grid-template-columns: minmax(0, 650px) 1fr; }
  .hero-copy { text-shadow: 0 2px 18px rgba(6,38,94,.16); }
}

/* Selective homepage transitions and texture. */
.home-intro { position: relative; overflow: hidden; }
.home-intro::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: 190px;
  height: 150px;
  background-image: radial-gradient(circle, rgba(156,173,232,.62) 1.2px, transparent 1.5px);
  background-size: 13px 13px;
  mask-image: linear-gradient(135deg, transparent 4%, #000 48%, transparent 96%);
  opacity: .3;
  pointer-events: none;
}
.trust-band { position: relative; overflow: hidden; background: var(--hmr-royal); }
.trust-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 2%, var(--hmr-light-blue) 34%, var(--hmr-gold) 62%, transparent 96%);
  opacity: .9;
}
.difference-preview { position: relative; overflow: hidden; background: #f8f9fd; }
.difference-preview::before {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -210px;
  width: 480px;
  height: 420px;
  border: 42px solid rgba(156,173,232,.32);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(212,175,55,.52);
  pointer-events: none;
}
.final-call { background: var(--hmr-royal); }
.final-call::before {
  inset: -56% -16% auto 52%;
  border: 34px solid rgba(156,173,232,.13);
  border-radius: 50%;
  transform: rotate(-9deg);
}
.final-call::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 145px;
  height: 92px;
  background-image: radial-gradient(circle, rgba(255,255,255,.46) 1.2px, transparent 1.5px);
  background-size: 12px 12px;
  mask-image: linear-gradient(135deg, #000, transparent 86%);
  opacity: .25;
  pointer-events: none;
}

/* Shared interior hero system. */
.page-hero {
  isolation: isolate;
  background: var(--hmr-royal);
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -180px;
  top: -260px;
  width: 620px;
  height: 720px;
  border: 62px solid rgba(156,173,232,.3);
  border-radius: 50%;
  transform: rotate(15deg);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 6%;
  bottom: 8%;
  width: 150px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(156,173,232,.72) 1.15px, transparent 1.45px);
  background-size: 12px 12px;
  mask-image: linear-gradient(145deg, #000, transparent 86%);
  opacity: .3;
  transform: none;
  border: 0;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }

/* About hero: warm, personal, photo-forward. */
body:has(.about-lead) .page-hero::before { right: -250px; top: -315px; border-width: 78px; opacity: .88; }
body:has(.about-lead) .hero-photo-slab { overflow: visible; isolation: isolate; }
body:has(.about-lead) .hero-photo-slab picture {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(6,38,94,.24);
}
body:has(.about-lead) .hero-photo-slab::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 18px -18px -18px 18px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(156,173,232,.78), rgba(156,173,232,.18));
  pointer-events: none;
}
body:has(.about-lead) .hero-photo-slab::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -8px;
  bottom: -8px;
  width: 46%;
  height: 2px;
  background: var(--hmr-gold);
  box-shadow: none;
  pointer-events: none;
}

/* Services hero: especially clean, light, and scannable. */
body:has(.service-catalog) .page-hero {
  background: linear-gradient(110deg, var(--hmr-white) 0 72%, #f4f6fc 72% 100%);
  color: var(--ink);
  border-bottom: 1px solid rgba(10,61,145,.12);
}
body:has(.service-catalog) .page-hero::before {
  right: -320px;
  top: -330px;
  width: 680px;
  height: 760px;
  border: 72px solid var(--hmr-royal);
  opacity: .96;
}
body:has(.service-catalog) .page-hero::after {
  right: 8%;
  bottom: 12%;
  background-image: radial-gradient(circle, rgba(156,173,232,.78) 1.15px, transparent 1.45px);
  opacity: .38;
}
body:has(.service-catalog) .page-hero h1 { color: var(--hmr-deep-blue); }
body:has(.service-catalog) .page-hero p:not(.eyebrow) { color: var(--muted); }
body:has(.service-catalog) .page-hero .eyebrow-light { color: var(--hmr-royal); }
body:has(.service-catalog) .page-hero .button-light { border-color: var(--hmr-royal); color: var(--hmr-royal); }
body:has(.service-catalog) .page-hero .button-light:hover { background: var(--hmr-royal); color: var(--hmr-white); }
body:has(.service-catalog) .hero-directory { border-left-color: rgba(10,61,145,.22); }
body:has(.service-catalog) .hero-directory > span { color: var(--hmr-gold); }
body:has(.service-catalog) .hero-directory li { color: var(--hmr-deep-blue); border-bottom-color: rgba(10,61,145,.12); }

/* HMR Difference hero: strongest use of brand geometry. */
body:has(.difference-section) .page-hero {
  background: linear-gradient(135deg, var(--hmr-royal) 0%, #0d4a9f 72%, var(--hmr-deep-blue) 100%);
}
body:has(.difference-section) .page-hero::before {
  right: -120px;
  top: -205px;
  width: 560px;
  height: 610px;
  border: 46px solid rgba(156,173,232,.31);
}
body:has(.difference-section) .page-hero::after {
  right: 9%;
  bottom: 13%;
  width: 190px;
  height: 160px;
  background-image:
    linear-gradient(30deg, transparent 46%, rgba(156,173,232,.34) 47% 50%, transparent 51%),
    linear-gradient(150deg, transparent 46%, rgba(156,173,232,.34) 47% 50%, transparent 51%);
  background-size: 38px 66px;
  mask-image: linear-gradient(135deg, #000 10%, transparent 90%);
  opacity: .56;
}

/* Contact hero: white field with a royal edge and light halftone texture. */
body:has(.contact-page) .page-hero {
  background: var(--hmr-white);
  color: var(--ink);
  border-bottom: 1px solid rgba(10,61,145,.12);
}
body:has(.contact-page) .page-hero::before {
  right: -370px;
  top: -360px;
  width: 740px;
  height: 800px;
  border: 86px solid var(--hmr-royal);
  opacity: .96;
}
body:has(.contact-page) .page-hero::after {
  right: 10%;
  bottom: 11%;
  width: 180px;
  height: 140px;
  background-image: radial-gradient(circle, rgba(156,173,232,.84) 1.2px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: .45;
}
body:has(.contact-page) .page-hero h1 { color: var(--hmr-deep-blue); }
body:has(.contact-page) .page-hero p:not(.eyebrow) { color: var(--muted); }
body:has(.contact-page) .page-hero .eyebrow-light { color: var(--hmr-royal); }
body:has(.contact-page) .page-hero .button-light { border-color: var(--hmr-royal); color: var(--hmr-royal); }
body:has(.contact-page) .page-hero .button-light:hover { background: var(--hmr-royal); color: var(--hmr-white); }
body:has(.contact-page) .hero-directory { border-left-color: rgba(10,61,145,.22); }
body:has(.contact-page) .hero-directory > span { color: var(--hmr-gold); }
body:has(.contact-page) .hero-directory li { color: var(--hmr-deep-blue); border-bottom-color: rgba(10,61,145,.12); }

/* About founder stories: rectangular portraits supported by restrained brand decoration. */
.founder-stories { background: var(--hmr-white); }
.founder-story {
  display: grid;
  grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr);
  gap: 64px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.founder-story:last-child { border-bottom: 1px solid var(--line); }
.founder-story-reverse .founder-photo { order: 2; }
.founder-story-reverse .founder-copy { order: 1; }
.founder-photo {
  position: sticky;
  top: 120px;
  margin: 0;
  overflow: visible;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
}
.founder-photo::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 18px -18px -18px 18px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(156,173,232,.76), rgba(156,173,232,.16));
  pointer-events: none;
}
.founder-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -38px;
  bottom: -34px;
  width: 132px;
  height: 110px;
  background-image: radial-gradient(circle, rgba(10,61,145,.52) 1.2px, transparent 1.5px);
  background-size: 12px 12px;
  mask-image: linear-gradient(135deg, #000, transparent 86%);
  opacity: .34;
  pointer-events: none;
}
.founder-story-reverse .founder-photo::before { inset: 18px 18px -18px -18px; }
.founder-story-reverse .founder-photo::after { left: auto; right: -38px; }
.founder-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 22px 52px rgba(6,38,94,.14);
}
.founder-copy h3 { margin: 28px 0 10px; font-size: clamp(1.55rem,2.3vw,2.15rem); }
.founder-copy p,
.founder-copy li { color: var(--muted); }
.founder-copy ol { margin: 0; padding-left: 1.3rem; }
.founder-copy li + li { margin-top: 10px; }

/* Core values: small hexagonal markers without turning the layout into a hex grid. */
.value-row strong { display: flex; align-items: center; gap: 12px; }
.value-row strong::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 18px;
  clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  background: var(--hmr-royal);
  box-shadow: inset 0 0 0 2px var(--hmr-light-blue);
}
.safety-standards { background: var(--hmr-royal); }

/* HMR Difference: numbered hexagon badges and clean cards. */
.difference-section { position: relative; overflow: hidden; background: #f8f9fd; }
.difference-section::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: 28px;
  width: 180px;
  height: 135px;
  background-image: radial-gradient(circle, rgba(156,173,232,.66) 1.15px, transparent 1.45px);
  background-size: 12px 12px;
  mask-image: linear-gradient(135deg, transparent, #000 38%, transparent 92%);
  opacity: .3;
  pointer-events: none;
}
.difference-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.difference-card {
  min-height: 245px;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--hmr-white);
}
.difference-card > span {
  width: 50px;
  height: 44px;
  display: grid;
  place-items: center;
  clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  background: var(--hmr-royal);
  color: var(--hmr-white);
  font-family: var(--condensed);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
}
.difference-card:nth-child(3n+2) > span,
.difference-card:nth-child(3n+3) > span { background: var(--hmr-light-blue); color: var(--hmr-deep-blue); }
.difference-card h2 { margin: 18px 0 12px; font-size: clamp(1.7rem,2.5vw,2.45rem); }
.difference-card p { margin: 0; color: var(--muted); }
.hmr-promise-section { position: relative; overflow: hidden; background: var(--hmr-royal); color: var(--hmr-white); }
.hmr-promise-section::before {
  content: "";
  position: absolute;
  right: -170px;
  top: -250px;
  width: 520px;
  height: 570px;
  border: 54px solid rgba(156,173,232,.18);
  border-radius: 50%;
  pointer-events: none;
}
.hmr-promise-section h2,
.hmr-promise-section h3 { color: var(--hmr-white); }
.promise-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,.18);
  border-left: 1px solid rgba(255,255,255,.18);
}
.promise-grid article { min-height: 220px; padding: 32px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.promise-grid h3 { font-size: 1.35rem; line-height: 1.2; }
.promise-grid p { margin: 14px 0 0; color: #eef3ff; }

/* Request a Ride: calm white field around the untouched third-party iframe. */
.appointment-page {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f8fd 0, var(--hmr-white) 300px, var(--hmr-white) 100%);
}
.appointment-page::before {
  content: "";
  position: absolute;
  right: -250px;
  top: -160px;
  width: 470px;
  height: 650px;
  border: 42px solid var(--hmr-royal);
  border-left-color: var(--hmr-light-blue);
  border-radius: 50%;
  opacity: .94;
  pointer-events: none;
}
.appointment-page::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 320px;
  width: 145px;
  height: 125px;
  background-image: radial-gradient(circle, rgba(156,173,232,.74) 1.15px, transparent 1.45px);
  background-size: 12px 12px;
  mask-image: linear-gradient(135deg, #000, transparent 88%);
  opacity: .34;
  pointer-events: none;
}
.appointment-intro,
.appointment-request { position: relative; z-index: 1; }
.trip-embed-shell {
  border-color: rgba(10,61,145,.2);
  background: var(--hmr-white);
  box-shadow: 0 20px 54px rgba(6,38,94,.09);
}
.trip-embed-shell::before { display: none; }
.appointment-callout { border-top-color: var(--hmr-royal); }

/* Contact, hours, social, and Google review area. */
.contact-details { background: var(--hmr-white); }
.contact-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-detail-grid article { padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-detail-grid span { color: var(--hmr-gold); font-family: var(--condensed); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-detail-grid h3 { margin-top: 12px; }
.contact-detail-grid p { margin: 8px 0 0; color: var(--muted); }
.review-section { position: relative; overflow: hidden; background: #f4f6fc; }
.review-section::before {
  content: "";
  position: absolute;
  left: -36px;
  bottom: -18px;
  width: 230px;
  height: 170px;
  background-image: radial-gradient(circle, rgba(156,173,232,.8) 1.2px, transparent 1.5px);
  background-size: 12px 12px;
  mask-image: linear-gradient(45deg, #000, transparent 84%);
  opacity: .38;
  pointer-events: none;
}
.review-section::after {
  content: "";
  position: absolute;
  right: -170px;
  top: -220px;
  width: 420px;
  height: 450px;
  border: 40px solid rgba(10,61,145,.08);
  border-radius: 50%;
  pointer-events: none;
}
.review-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; }
.review-copy h2 { max-width: 720px; }
.review-copy > p:not(.eyebrow) { max-width: 680px; margin: 20px 0 26px; color: var(--muted); }
.social-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.review-qr-card {
  width: 230px;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(10,61,145,.16);
  border-radius: 8px;
  background: var(--hmr-white);
  color: var(--hmr-deep-blue);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(6,38,94,.08);
}
.review-qr-card img { width: 160px; height: 160px; padding: 0; background: var(--hmr-white); image-rendering: pixelated; }
.review-qr-card span { font-family: var(--condensed); font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

/* Privacy, Accessibility, and 404 use the same family without becoming visually heavy. */
.utility-page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, var(--hmr-white) 0 78%, #f4f6fc 78% 100%);
  border-bottom: 1px solid rgba(10,61,145,.12);
}
.utility-page-hero::before {
  content: "";
  position: absolute;
  right: -190px;
  top: -245px;
  width: 430px;
  height: 520px;
  border: 46px solid var(--hmr-light-blue);
  border-radius: 50%;
  opacity: .48;
  pointer-events: none;
}
.utility-page-hero::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 10%;
  width: 120px;
  height: 90px;
  background-image: radial-gradient(circle, rgba(10,61,145,.48) 1.1px, transparent 1.4px);
  background-size: 12px 12px;
  mask-image: linear-gradient(135deg, #000, transparent 88%);
  opacity: .24;
  pointer-events: none;
}
.utility-page-hero .container { position: relative; z-index: 1; }
.utility-copy .contact-box { border-left-color: var(--hmr-gold); background: #f4f6fc; }
.error-page {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hmr-white), #f4f6fc);
}
.error-page::before {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 50px solid rgba(156,173,232,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(212,175,55,.36);
  pointer-events: none;
}
.error-shell { position: relative; z-index: 1; }
.error-code { color: var(--hmr-royal); }

/* Footer: transparent logo over layered HMR blue, restrained gold, and light-blue texture. */
.site-footer {
  isolation: isolate;
  background: linear-gradient(135deg, var(--hmr-royal) 0%, var(--hmr-deep-blue) 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -250px;
  top: -310px;
  width: 610px;
  height: 610px;
  border: 58px solid rgba(156,173,232,.18);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 2%;
  bottom: 7%;
  width: 180px;
  height: 125px;
  background-image: radial-gradient(circle, rgba(156,173,232,.66) 1.1px, transparent 1.45px);
  background-size: 12px 12px;
  mask-image: linear-gradient(45deg, #000, transparent 88%);
  opacity: .2;
  pointer-events: none;
}
.footer-main,
.footer-bottom { position: relative; z-index: 1; }
.footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: min(420px, 42vw);
  height: 2px;
  background: linear-gradient(90deg, var(--hmr-gold), transparent);
  opacity: .92;
}
.footer-brand img {
  width: 240px;
  max-height: 136px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: brightness(0) invert(1);
  opacity: .94;
}
.footer-grid { grid-template-columns: 1.35fr .75fr .85fr 1fr; }
.footer-col a { text-underline-offset: 3px; }
.footer-col a:hover { text-decoration: underline; }

/* Tablet: preserve identity while reducing visual load. */
@media (max-width: 1120px) {
  .site-nav:not(.is-open) { visibility: hidden; }
  .site-nav.is-open { visibility: visible; }
  .brand { width: 160px; height: 66px; }
  .hero-media::before,
  .hero::after { display: none; }
  .hero-media::after { background: linear-gradient(90deg, rgba(10,61,145,.95) 0%, rgba(10,61,145,.8) 52%, rgba(10,61,145,.28) 100%); }
  .page-hero::before { right: -260px; opacity: .72; }
  .page-hero::after { right: 4%; opacity: .2; }
  body:has(.service-catalog) .page-hero::before,
  body:has(.contact-page) .page-hero::before { right: -390px; opacity: .78; }
  .founder-story { grid-template-columns: 1fr; gap: 34px; }
  .founder-story-reverse .founder-photo,
  .founder-story-reverse .founder-copy { order: initial; }
  .founder-photo {
    position: relative;
    top: auto;
    max-width: 620px;
  }
  .promise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .review-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile: simpler than desktop by design; no shrunken decorative clutter. */
@media (max-width: 760px) {
  .page-hero::before {
    right: -300px;
    top: -300px;
    width: 500px;
    height: 560px;
    border-width: 48px;
    opacity: .5;
  }
  .page-hero::after { display: none; }
  body:has(.service-catalog) .page-hero,
  body:has(.contact-page) .page-hero { background: var(--hmr-white); }
  body:has(.service-catalog) .page-hero::before,
  body:has(.contact-page) .page-hero::before {
    right: -410px;
    top: -370px;
    width: 600px;
    height: 640px;
    border-width: 58px;
    opacity: .65;
  }
  body:has(.about-lead) .hero-photo-slab::before { inset: 10px -10px -10px 10px; }
  .difference-grid { grid-template-columns: 1fr; }
  .difference-card { min-height: 0; padding: 30px 24px; }
  .difference-card > span { width: 46px; height: 40px; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-grid article { min-height: 0; padding: 28px 24px; }
  .contact-detail-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; gap: 30px; }
  .review-qr-card { width: min(100%, 300px); justify-self: start; }
  .social-actions { flex-direction: column; }
  .social-actions .button { width: 100%; }
  .appointment-page::before {
    right: -320px;
    top: -210px;
    width: 500px;
    height: 520px;
    border-width: 34px;
    opacity: .44;
  }
  .appointment-page::after { display: none; }
  .difference-preview::before,
  .home-intro::after,
  .final-call::after,
  .review-section::before,
  .utility-page-hero::after,
  .site-footer::after { display: none; }
  .utility-page-hero::before {
    right: -275px;
    top: -285px;
    width: 450px;
    height: 490px;
    border-width: 40px;
    opacity: .34;
  }
  .site-footer::before { right: -390px; top: -370px; opacity: .55; }
}

@media (max-width: 640px) {
  .brand { width: 122px; height: 58px; }
  .hero-media::before,
  .hero::after { display: none; }
  .hero-media::after { display: none; }
  .footer-brand img { width: 205px; }
  .founder-story { padding: 44px 0; }
  .founder-photo::before { inset: 10px -10px -10px 10px; }
  .founder-story-reverse .founder-photo::before { inset: 10px 10px -10px -10px; }
  .founder-photo::after { display: none; }
  .founder-copy h3 { margin-top: 24px; }
  .value-row strong::before { width: 17px; height: 15px; }
  .footer-main::before { left: 0; width: 48%; }
}

@media (max-width: 430px) {
  .page-hero::before,
  body:has(.service-catalog) .page-hero::before,
  body:has(.contact-page) .page-hero::before { opacity: .34; }
  .review-qr-card { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
  .button:hover,
  .text-link:hover::after { transform: none !important; }
  [data-reveal],
  .reveal,
  .reveal.is-visible { opacity: 1 !important; transform: none !important; }
}

@media (prefers-contrast: more) {
  :root { --muted: #34435a; --line: #aeb9c9; }
  .page-hero::after,
  .home-intro::after,
  .review-section::before,
  .site-footer::after { opacity: .12; }
  .button { border-width: 2px; }
}


/* September 2026 information-architecture refinement */
.utility-bar { background: var(--hmr-royal); }
.utility-page-hero h1 + .lede { margin-top: 22px; }
body:has(.about-lead) .page-hero h1 + p { margin-top: 30px; }

.home-snapshot-services { padding-top: 76px; padding-bottom: 76px; }
.home-snapshot-services aside .button { margin-top: 26px; }
.home-difference { padding: 78px 0; background: #f7f9fd; }
.home-difference-layout { display: grid; grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr); gap: 70px; align-items: start; }
.home-difference-copy { position: sticky; top: 130px; }
.home-difference-copy h2 { max-width: 600px; }
.home-difference-copy > p:not(.eyebrow) { max-width: 560px; margin: 20px 0 28px; color: var(--muted); }
.home-difference-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--hmr-white); }
.home-difference-list > div { min-height: 132px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-difference-list strong { display: block; color: var(--hmr-deep-blue); font-size: 1.02rem; }
.home-difference-list span { display: block; margin-top: 8px; color: var(--muted); font-size: .94rem; line-height: 1.5; }

.home-area-compact { padding: 68px 0; background: var(--hmr-royal); color: var(--hmr-white); }
.home-area-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 56px; align-items: center; }
.home-area-inner h2 { max-width: 880px; color: var(--hmr-white); font-size: clamp(2.25rem,4.3vw,4.6rem); }
.home-area-inner p:not(.eyebrow) { max-width: 760px; margin-top: 18px; color: #dce6f8; }
.home-area-inner .eyebrow { color: var(--hmr-light-blue); }
.home-area-inner .button-outline { border-color: rgba(255,255,255,.7); color: var(--hmr-white); white-space: nowrap; }
.home-area-inner .button-outline:hover { background: var(--hmr-white); color: var(--hmr-royal); }

.partners-preview { padding: 78px 0; background: var(--hmr-white); }
.partners-preview-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); gap: 70px; align-items: center; }
.partners-preview h2 { max-width: 720px; }
.partners-preview p:not(.eyebrow) { max-width: 680px; margin: 20px 0 28px; color: var(--muted); }
.partner-audience-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-audience-list span { min-height: 110px; display: flex; align-items: center; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--hmr-deep-blue); font-family: var(--condensed); font-weight: 900; letter-spacing: .035em; }

.info-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.info-card { padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--hmr-white); }
.info-card > span { display: inline-grid; place-items: center; width: 44px; height: 38px; margin-bottom: 20px; clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); background: var(--hmr-royal); color: var(--hmr-white); font-family: var(--condensed); font-size: 12px; font-weight: 900; }
.info-card h3 { font-size: clamp(1.35rem,2vw,1.85rem); }
.info-card p { margin-top: 12px; color: var(--muted); }

.service-planning, .partner-types { background: #f7f9fd; }
.service-area-link, .service-area-services { padding: 66px 0; background: var(--hmr-white); }
.compact-link-band { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 50px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compact-link-band h2 { max-width: 820px; font-size: clamp(2rem,3.5vw,3.7rem); }
.compact-link-band p:not(.eyebrow) { max-width: 760px; margin-top: 16px; color: var(--muted); }
.compact-link-band .button { white-space: nowrap; }

.coverage-section { background: #f7f9fd; }
.coverage-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.coverage-card { min-height: 260px; padding: 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--hmr-white); }
.coverage-card > span { color: var(--hmr-gold); font-family: var(--condensed); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.coverage-card h3 { margin-top: 16px; font-size: clamp(1.7rem,2.6vw,2.5rem); }
.coverage-card p { margin-top: 14px; color: var(--muted); }

.partner-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-card { min-height: 220px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--hmr-white); }
.partner-card h3 { font-size: clamp(1.45rem,2.2vw,2rem); }
.partner-card p { margin-top: 12px; color: var(--muted); }
.partner-process { background: var(--hmr-white); }

@media (min-width: 1121px) and (max-width: 1320px) {
  .site-nav { gap: 11px; }
  .site-nav > a:not(.button) { font-size: 12px; }
}
@media (max-width: 1120px) {
  .home-difference-layout,
  .partners-preview-grid { grid-template-columns: 1fr; gap: 42px; }
  .home-difference-copy { position: static; }
  .home-area-inner,
  .compact-link-band { grid-template-columns: 1fr; gap: 28px; }
  .home-area-inner .button,
  .compact-link-band .button { justify-self: start; }
  .info-card-grid,
  .coverage-grid,
  .partner-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .home-snapshot-services,
  .home-difference,
  .partners-preview { padding-top: 62px; padding-bottom: 62px; }
  .home-difference-list,
  .partner-audience-list,
  .info-card-grid,
  .coverage-grid,
  .partner-card-grid { grid-template-columns: 1fr; }
  .home-difference-list > div,
  .partner-audience-list span,
  .coverage-card,
  .partner-card { min-height: 0; }
  .home-area-compact,
  .service-area-link,
  .service-area-services { padding: 54px 0; }
  .compact-link-band { padding: 26px 0; }
}


/* Mobile Safari compositing + shared final-CTA contrast fixes. */
.final-call h2 {
  color: var(--hmr-white);
}

.final-call .eyebrow,
.final-call .eyebrow-light {
  color: var(--hmr-gold);
}

@media (max-width: 640px) {
  .mobile-actions {
    background: #061a3e;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
  }
}


/* Keep the royal HMR utility strip visible and properly stacked on mobile. */
@media (max-width: 640px) {
  :root { --mobile-utility-height: 30px; }

  .utility-bar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 52;
    background: var(--hmr-royal);
    color: var(--hmr-white);
    font-size: 10px;
    letter-spacing: .055em;
  }

  .utility-inner {
    min-height: var(--mobile-utility-height);
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
  }

  .utility-inner > span:first-child,
  .utility-separator {
    display: none;
  }

  .utility-inner strong {
    color: var(--hmr-gold);
  }

  .utility-inner a {
    margin-left: 0;
    color: var(--hmr-white);
  }

  .site-header {
    top: var(--mobile-utility-height);
  }

  .site-nav {
    inset: calc(var(--mobile-utility-height) + var(--header)) 0 auto 0;
    max-height: calc(100vh - var(--mobile-utility-height) - var(--header));
  }
}
