/* Display the selected mark proportionally in a compact, readable header. */
html { scroll-padding-top: 108px; }
.detail-sidebar, .contact-panel { top: 106px; }
.site-header .header-inner {
  min-height: 84px;
  gap: clamp(10px, 1.2vw, 18px);
  padding-block: 8px;
}
.site-header .brand {
  flex: 0 1 300px;
  min-width: 0;
  gap: 10px;
}
.brand .brand-mark {
  flex: 0 0 auto;
  width: 68px;
  height: 52px;
  object-fit: contain;
}
.brand .brand-type { min-width: 0; }
.site-header .brand-type strong {
  display: block;
  max-width: 220px;
  font-size: 14px;
  line-height: 1.42;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.brand .brand-type small {
  display: block;
  max-width: 100%;
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: .45px;
  overflow-wrap: anywhere;
}
.brand-type small i {
  display: inline-block;
  vertical-align: middle;
  margin-inline: 5px;
}
.site-header .header-tools { flex-shrink: 0; }
.site-header .primary-nav a.review-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--copper-dark);
  background: var(--surface);
  font-weight: 700;
  white-space: nowrap;
}
.site-header .primary-nav a.review-nav-link:hover { background: var(--tint); }
.site-header .primary-nav a.review-nav-link:focus-visible { outline: 2px solid var(--copper-dark); outline-offset: 2px; }
.footer-grid .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.footer-grid .brand .brand-mark { width: 62px; height: 49px; }
.footer-grid .brand-type strong { display: block; max-width: 245px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.shield-graphic .brand-art-mark {
  width: min(100%, 300px);
  height: auto;
  max-height: 325px;
  object-fit: contain;
}
.footer-grid .brand .brand-mark,
[data-theme='dark'] .site-header .brand .brand-mark {
  padding: 4px;
  border-radius: 8px;
  background: #f8f5ef;
  filter: none;
}
.shield-graphic .brand-art-mark { padding: 15px; border-radius: 12px; background: #f8f5ef; filter: none; }

@media (min-width: 1051px) and (max-width: 1279px) {
  .site-header .header-inner { gap: 12px; }
  .site-header .brand { flex-basis: 245px; gap: 8px; }
  .site-header .brand .brand-mark { width: 57px; height: 47px; }
  .site-header .brand-type strong { font-size: 13px; max-width: 183px; }
  .site-header .primary-nav { font-size: 12px; }
  .site-header .header-tools { gap: 8px; }
  .site-header .header-tools .button { padding-inline: 10px; gap: 8px; font-size: 12px; white-space: nowrap; }
}
@media (max-width: 1050px) {
  .site-header .header-inner { min-height: 72px; gap: 9px; }
  .site-header .brand { flex: 1 1 auto; max-width: 560px; gap: 9px; }
  .site-header .brand .brand-mark { width: 58px; height: 45px; }
  .site-header .brand-type strong { max-width: 390px; font-size: 14px; }
  .site-header .menu-toggle { flex-shrink: 0; margin-inline-start: auto; }
  .site-header .primary-nav { max-height: calc(100dvh - 115px); }
  .site-header .primary-nav a.review-nav-link { min-height: 44px; margin-block: 3px; align-self: flex-start; }
  html { scroll-padding-top: 98px; }
  .detail-sidebar { top: 100px; }
}
/* Keep the homepage photo continuous across the full section. */
.hero {
  --hero-shade-direction: to left;
  isolation: isolate;
  padding-block: clamp(60px, 7vw, 104px);
  background: #0c1b2b;
  color: #fff;
}
.hero:dir(ltr) { --hero-shade-direction: to right; }
.hero-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}
.hero-background .hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}
.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--hero-shade-direction), #071322df 0%, #071322bb 40%, #07132245 56%, transparent 71%);
}
.hero-copy {
  width: min(100%, clamp(360px, 46vw, 580px));
  overflow-wrap: anywhere;
}
.hero-copy .eyebrow { margin-block-end: 12px; color: #f3cf9f; }
.hero-copy h1 {
  margin-block: 0 14px;
  color: #fff;
  font-size: clamp(32px, 4.1vw, 60px);
  line-height: 1.36;
  letter-spacing: normal;
  text-wrap: balance;
}
.hero-copy h1, .hero-copy p, .hero-copy .eyebrow, .hero-copy .hero-note {
  text-shadow: 0 1px 5px #071322c4;
}
.hero-copy p { margin-block: 0; color: #edf2f6; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.8; }
.hero-copy .button-row { flex-wrap: wrap; gap: 9px; margin-block-start: 22px; }
.hero-copy .button { min-height: 44px; padding: 9px 15px; font-size: 14px; }
.hero-copy .button.outline { color: #fff; background: #0d2134d9; border-color: #ffffffa3; }
.hero-copy .button.outline:hover { color: #102333; background: #f6eee3; }
.hero-copy .button:focus-visible { outline: 2px solid #f3c288; outline-offset: 2px; }
.hero-copy .hero-note { margin-block-start: 17px; color: #e6eef4; }
.hero-copy .hero-note .icon { color: #85d2c8; }
@media (max-width: 782px) {
  .hero {
    --hero-photo-lead: clamp(104px, 28vw, 175px);
    display: grid;
    align-content: center;
    min-block-size: clamp(500px, 68svh, 580px);
    padding-block: var(--hero-photo-lead) clamp(46px, 12vw, 64px);
  }
  .hero-background .hero-image { object-position: 39% center; }
  .hero-background::after {
    background: linear-gradient(180deg, transparent calc(var(--hero-photo-lead) - 12px), #071322a3 calc(var(--hero-photo-lead) + 100px), #071322ba 100%);
  }
  .hero-copy { width: min(100%, 560px); }
  .hero-copy .eyebrow { margin-block-end: 16px; }
  .hero-copy h1 { margin-block-end: 18px; font-size: clamp(24px, 6.1vw, 41px); line-height: 1.45; }
  .hero-copy p { font-size: clamp(14px, 2.6vw, 16px); line-height: 1.85; }
  .hero-copy .button-row { gap: 10px; margin-block-start: 24px; }
  .hero-copy .button { padding-inline: 12px; font-size: clamp(12px, 2.2vw, 14px); }
  .hero-copy .hero-note { margin-block-start: 22px; }
}
@media (max-width: 540px) {
  .site-header .header-inner { min-height: 66px; gap: 5px; padding-block: 6px; }
  .site-header .brand { gap: 7px; }
  .site-header .brand .brand-mark { width: 46px; height: 38px; }
  .site-header .brand-type strong {
    max-width: none;
    font-size: 12px;
    line-height: 1.35;
  }
  .site-header .brand-type small { display: none; }
  .site-header .header-tools { gap: 3px; }
  .site-header .header-tools .theme-toggle, .site-header .menu-toggle { min-width: 44px; min-height: 44px; }
  .footer-grid .brand .brand-mark { width: 53px; height: 42px; }
  .footer-grid .brand-type strong { max-width: none; font-size: 14px; }
  .shield-graphic { padding: 24px; }
  .shield-graphic .brand-art-mark { width: min(100%, 260px); max-height: 275px; }
}
@media (max-width: 360px) {
  .site-header .header-inner { gap: 4px; }
  .site-header .brand { gap: 5px; }
  .site-header .brand .brand-mark { width: 38px; height: 34px; }
  .site-header .brand-type strong { font-size: 11px; }
}
