:root {
  --brand-blue: #01507e;
  --ice-tint: #eaf3f8;
}

.site-header .brand, .inner-header .brand {
  width: auto;
  aspect-ratio: 341 / 150;
  height: 78px;
  top: 11px;
}
.brand img, .compact-footer .footer-logo img { display: block; width: 100%; height: auto; border-radius: 0; }
.compact-footer { grid-template-columns: minmax(150px, 205px) minmax(0, 1fr) 145px; }
.compact-footer .footer-logo { width: 100%; max-width: 205px; height: auto; }
.compact-footer .footer-contacts { flex-wrap: wrap; gap: 2px 20px; }
.compact-footer .footer-nav {
  position: static;
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 18px;
  font: 500 15px/1.6 Roboto, Arial, sans-serif;
}
.compact-footer .copyright { grid-row: 3; margin-top: 6px; }
.home-page .hero-copy { pointer-events: auto; }
.home-page .hero-actions .button-outline { background: white; color: var(--brand-blue); }
.home-page .hero .hero-visual { isolation: isolate; background: var(--ice-tint); }
.film-backdrop {
  position: absolute;
  inset: -14px;
  background: #eaf3f8 url("assets/media/hero-poster.webp") center / cover no-repeat;
  filter: blur(7px);
}
.hero-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-visual .film-toggle {
  position: absolute;
  z-index: 2;
  right: max(16px, 3%);
  top: max(110px, 18%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.film-toggle svg {
  width: 34px;
  height: 34px;
  padding: 6px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  fill: currentColor;
  background: #013954ed;
  transition: background-color .18s ease;
  box-shadow: 0 1px 5px #00345050;
}
.film-toggle:is(:hover, :focus-visible) svg { background: var(--accent); }
.film-toggle:focus-visible { outline: 3px solid #01507e; outline-offset: 1px; border-radius: 50%; }
.film-toggle:focus-visible svg { box-shadow: 0 0 0 4px white; }
.film-toggle[data-state="paused"] .pause-symbol,
.film-toggle[data-state="playing"] .play-symbol { display: none; }
.experience-number strong { font-size: clamp(52px, 7vw, 96px); }
.home-page .industry-list li { white-space: normal; }
.home-page .hero h1 { text-wrap: balance; }
.home-page .hero-description { max-width: 40ch; }
.inner-page .feedback-card { align-self: start; }
.inner-page .directory-card { display: flex; flex-direction: column; }
.inner-page .directory-card .icon-disc { display: flex; }
.inner-page .directory-card .round-arrow { position: static; align-self: flex-end; margin-top: auto; }
.inner-page .deep-banner p, .inner-page .feedback-band p { color: inherit; }
.inner-page .hero-caption { line-height: 1.4; }
.home-page .contact-actions .button-outline { color: var(--brand-blue); }
.home-page .service-content h3 { max-width: 65%; }
.inner-page .enrichment-photo img { height: auto; }
.home-page .site-header { z-index: 10; }
@media (min-width: 768px) and (max-width: 1100px) {
  .compact-footer .footer-nav { grid-column: 1/-1; }
}
@media (max-width: 767px) {
  .site-header .brand, .inner-header .brand { top: 9px; left: 16px; width: auto; height: 64px; }
  .compact-footer .footer-logo { width: 185px; }
  .compact-footer .footer-nav { gap: 4px 15px; }
}
@media (max-width: 767.98px), (max-width: 1100.98px) and (orientation: landscape) and (max-height: 600px) {
  .home-page .hero .hero-visual {
    position: relative; inset: auto; height: auto; min-height: 0; order: 1;
    overflow: hidden;
    clip-path: none;
    mask-image: none;
    -webkit-mask-image: none;
    width: calc(100% - 28px);
    aspect-ratio: 64 / 27;
    margin: 20px auto 0;
    border-radius: 9% 5% 12% 5% / 15% 11% 22% 12%;
  }
  .home-page .hero { display: flex; flex-direction: column; height: auto; min-height: 0; padding-bottom: 24px; }
  .home-page .hero .hero-film { object-fit: contain; }
  .home-page .hero .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .home-page .hero .trust-list { display: flex; flex-wrap: wrap; }
  .home-page .hero .hero-copy { order: 0; width: 100%; }
  .hero-visual .film-toggle { top: 8px; right: 10px; }
  .home-page .hero .serving-badge { position: relative; order: 3; inset: auto; margin: 14px 16px 0 auto; width: 158px; min-width: 0; min-height: 105px; height: 105px; }
  .home-page .hero .serving-badge p { top: 21px; left: 25px; font-size: 15px; line-height: 1.2; }
  .home-page .hero .serving-badge .location-pin { width: 25px; height: 30px; right: 12px; top: 15px; }
  .home-page .hero .hero-wave { bottom: 0; pointer-events: none; }
}

@media (min-width: 600px) {
  .home-page .site-header { pointer-events: none; }
  .home-page .site-header > * { pointer-events: auto; }
}
.home-page .trust-list li:last-child > span:last-child {
  color: var(--brand-blue);
  font-weight: 700;
}

/* Shared interaction states for mouse and keyboard. */
:where(.button:not(.header-phone)) { position: relative; }
.button, .round-link {
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
:is(.button:not(.button-outline, .outline), .round-link) {
  isolation: isolate;
}
:is(.button:not(.button-outline, .outline), .round-link)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-color: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
:is(.button:not(.button-outline, .outline), .round-link):is(:hover, :focus-visible)::after {
  opacity: 1;
}
body :is(.button:not(.button-outline, .outline), .round-link):is(:hover, :focus-visible) {
  border-color: var(--accent);
  color: #fff;
}
body .button:is(.button-outline, .outline):is(:hover, :focus-visible),
.home-page .hero-actions .button-outline:is(:hover, :focus-visible),
.home-page .contact-actions .button-outline:is(:hover, :focus-visible) {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
}
.site-header .site-nav > a[aria-current="page"]::after {
  background: var(--accent);
}
.site-header .nav-services.is-current .services-toggle > span,
.site-header .service-submenu a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
@media (max-width: 1100.98px) {
  .site-header .site-nav > a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
}
.home-page .faq details[open] summary::after {
  color: var(--accent);
}
