/* ==========================================================================
   GAK CONSTRUCTION — RESPONSIVE HEADER  (Midnight Ocean & Rustic Ivory)
   File: public/css/header.css

   Covers: sticky shrinking desktop header · logo · dropdown mobile menu ·
   desktop + mobile quote buttons · mobile bottom navigation ·
   "More" panel + backdrop.

   Drop-in replacement: every class name is preserved. The original colour
   tokens are kept and remapped to the new palette, so any template override
   (--header-green, --header-accent …) still resolves.

   PALETTE
   Midnight Navy #071A3A · Ocean Blue #234B78 · Steel Blue #669BC5
   Ice Blue #B7D9EF · Denim #6593BC · Ivory #E5E0D7 · Ink #0A1526

   SECTIONS
   01. Tokens
   02. Header base
   03. Brand & logo
   04. Desktop navigation
   05. Quote button
   06. Mobile menu toggle
   07. Scrolled (shrink) state
   08. Keyboard focus
   09. Tablet
   10. Mobile dropdown menu
   11. Small phones
   12. Mobile bottom navigation
   13. More panel & backdrop
   14. Mobile top quote button
   15. Reduced motion & print
   ========================================================================== */


/* ==========================================================================
   01. TOKENS
   ========================================================================== */
:root {
  /* original names — remapped to the blue palette */
  --header-green: #071A3A;
  --header-green-dark: #04101F;
  --header-accent: #669BC5;
  --header-text: #202C3A;
  --header-muted: #5C6A7A;
  --header-white: #ffffff;
  --header-border: rgba(35, 75, 120, .14);
  --header-shadow: 0 10px 30px -22px rgba(7, 26, 58, .55);

  /* new helpers */
  --header-navy: #071A3A;
  --header-navy-2: #04101F;
  --header-navy-3: #102E5C;
  --header-ocean: #234B78;
  --header-steel: #669BC5;
  --header-ice: #B7D9EF;
  --header-ice-50: #DCEBF7;
  --header-ivory: #E5E0D7;
  --header-ivory-50: #F5F2EB;

  --header-ease: cubic-bezier(.16, 1, .3, 1);
  --header-sheen: linear-gradient(115deg, transparent 26%, rgba(255,255,255,.5) 46%, transparent 64%);
  --header-bevel: inset 0 1px 0 rgba(255, 255, 255, .9);

  --header-grain: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='.55'/%3E%3C/svg%3E");
}


/* ==========================================================================
   02. HEADER BASE
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(248, 246, 241, .78);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: box-shadow .3s var(--header-ease), background .3s var(--header-ease);
}

/* ultra-fine grain so the glass matches the ivory sections */
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--header-grain);
  background-size: 180px 180px;
  opacity: .035;
  mix-blend-mode: multiply;
}

.site-header,
.site-header * { box-sizing: border-box; }

.header-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(100% - 64px, 1440px);
  min-height: 94px;
  margin-inline: auto;
  transition: min-height .3s var(--header-ease), padding .3s var(--header-ease);
}


/* ==========================================================================
   03. BRAND & LOGO
   ========================================================================== */
.site-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 72px;
  max-width: 230px;
  object-fit: contain;
  object-position: left center;
  transition: height .3s var(--header-ease), max-width .3s var(--header-ease),
              filter .3s var(--header-ease);
}
.site-brand:hover .brand-logo { filter: brightness(1.06); }

/* legacy text logo, if still in the markup */
.brand-mark,
.brand-description { display: none; }


/* ==========================================================================
   04. DESKTOP NAVIGATION
   ========================================================================== */
.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin-left: auto;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  color: var(--header-text);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .005em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .25s var(--header-ease);
}

/* underline — steel gradient instead of gold */
.nav-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--header-steel), var(--header-ice));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--header-ease);
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-item.is-active { color: var(--header-navy); }

.nav-item:hover::after,
.nav-item:focus-visible::after,
.nav-item.is-active::after { transform: scaleX(1); }


/* ==========================================================================
   05. QUOTE BUTTON
   ========================================================================== */
.header-quote {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  min-height: 48px;
  padding: 7px 8px 7px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--header-white);
  background: linear-gradient(180deg, var(--header-navy-3), var(--header-navy) 62%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -2px 0 rgba(0, 0, 0, .28),
    0 10px 20px -12px rgba(7, 26, 58, .8);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  transition: background .25s var(--header-ease), transform .25s var(--header-ease),
              box-shadow .25s var(--header-ease), border-color .25s var(--header-ease);
}

/* shine sweep */
.header-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--header-sheen);
  transform: translateX(-130%);
  transition: transform .85s var(--header-ease);
}
.header-quote > * { position: relative; }

.header-quote:hover {
  color: var(--header-white);
  transform: translateY(-2px);
  background: linear-gradient(180deg, var(--header-ocean), var(--header-navy-3) 70%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -2px 0 rgba(0, 0, 0, .3),
    0 18px 30px -14px rgba(7, 26, 58, .85);
}
.header-quote:hover::after { transform: translateX(130%); }
.header-quote:active { transform: translateY(1px); }

/* round arrow — ice gradient disc */
.quote-arrow {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #E4F1FA, var(--header-ice) 55%, var(--header-steel));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
  color: var(--header-navy);
  font-size: 12px;
  transition: transform .35s var(--header-ease);
}
.header-quote:hover .quote-arrow { transform: rotate(45deg); }

/* desktop-only / mobile-only switches */
.mobile-header-quote { display: none; }


/* ==========================================================================
   06. MOBILE MENU TOGGLE
   ========================================================================== */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--header-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--header-ivory-50));
  box-shadow: 0 1px 2px rgba(7, 26, 58, .06), var(--header-bevel);
  cursor: pointer;
  transition: transform .25s var(--header-ease), box-shadow .25s var(--header-ease);
}
.menu-toggle:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(7, 26, 58, .5); }

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 5px;
  background: var(--header-navy);
  transition: transform .25s var(--header-ease), opacity .25s var(--header-ease);
}

/* JS toggles .is-open → hamburger becomes an X */
.menu-toggle.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }


/* ==========================================================================
   07. SCROLLED (SHRINK) STATE — JS adds .is-scrolled
   ========================================================================== */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px -26px rgba(7, 26, 58, .75);
}
.site-header.is-scrolled .header-container { min-height: 68px; }
.site-header.is-scrolled .brand-logo { height: 49px; max-width: 190px; }
.site-header.is-scrolled .header-quote { min-height: 42px; }


/* ==========================================================================
   08. KEYBOARD FOCUS
   ========================================================================== */
.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 3px solid var(--header-steel);
  outline-offset: 4px;
  border-radius: 6px;
}


/* ==========================================================================
   09. TABLET
   ========================================================================== */
@media (max-width: 1100px) {
  .header-container { width: calc(100% - 40px); gap: 18px; }
  .brand-logo { height: 62px; max-width: 190px; }
  .primary-navigation { gap: 17px; }
  .nav-item { font-size: .82rem; }
  .header-quote { gap: 9px; padding-left: 14px; font-size: .78rem; }
}


/* ==========================================================================
   10. MOBILE DROPDOWN MENU
   ========================================================================== */
@media (max-width: 900px) {
  .header-container,
  .site-header.is-scrolled .header-container {
    position: relative;
    width: calc(100% - 32px);
    min-height: 76px;
    gap: 12px;
  }

  .brand-logo,
  .site-header.is-scrolled .brand-logo { height: 53px; max-width: 175px; }

  .menu-toggle { display: flex; margin-left: auto; }
  .header-quote { display: none; }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: -16px;
    left: -16px;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 12px 18px 20px;
    border-top: 1px solid var(--header-border);
    border-bottom: 3px solid var(--header-steel);
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 44px -24px rgba(7, 26, 58, .55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);

    /* closed */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);

    transition: opacity .24s var(--header-ease), transform .24s var(--header-ease),
                visibility .24s var(--header-ease);
  }

  .primary-navigation.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-item {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(35, 75, 120, .1);
    border-radius: 10px;
    font-size: .9rem;
    transition: padding-left .25s var(--header-ease), background .25s var(--header-ease),
                color .25s var(--header-ease);
  }
  .nav-item::after { display: none; }

  .nav-item:hover,
  .nav-item.is-active {
    padding-left: 18px;
    color: var(--header-navy);
    background: linear-gradient(90deg, rgba(183, 217, 239, .35), rgba(183, 217, 239, .08));
  }

  .mobile-header-quote {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 14px;
    padding: 13px 18px;
    border-radius: 12px;
    color: var(--header-white);
    background: linear-gradient(180deg, var(--header-navy-3), var(--header-navy) 62%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 26px -16px rgba(7, 26, 58, .85);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-header-quote:hover {
    color: var(--header-white);
    background: linear-gradient(180deg, var(--header-ocean), var(--header-navy-3) 70%);
  }
  .mobile-header-quote span { color: var(--header-ice); font-size: 18px; }
}


/* ==========================================================================
   11. SMALL PHONES
   ========================================================================== */
@media (max-width: 480px) {
  .header-container,
  .site-header.is-scrolled .header-container {
    width: calc(100% - 28px);
    min-height: 68px;
    gap: 10px;
  }

  .brand-logo,
  .site-header.is-scrolled .brand-logo { height: 47px; max-width: 155px; }

  .menu-toggle { width: 41px; height: 41px; }

  .primary-navigation { right: -14px; left: -14px; padding-right: 14px; padding-left: 14px; }
}


/* ==========================================================================
   12. MOBILE BOTTOM NAVIGATION
   ========================================================================== */
.mobile-bottom-nav,
.mobile-more-panel,
.mobile-more-backdrop { display: none; }

@media (max-width: 900px) {
  .mobile-bottom-nav {
    position: fixed;
    z-index: 1200;
    right: 16px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 16px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    min-height: 70px;
    padding: 6px 8px;
    border: 1px solid rgba(183, 217, 239, .22);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)),
      rgba(7, 26, 58, .9);
    box-shadow:
      0 18px 40px -18px rgba(4, 16, 31, .9),
      inset 0 1px 0 rgba(255, 255, 255, .18);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
  }

  /* the dropdown + hamburger are replaced by the bottom bar */
  .site-header .primary-navigation,
  .site-header .menu-toggle { display: none !important; }

  .mobile-bottom-nav__item {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    height: 54px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-nav__icon {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(228, 239, 248, .92);
    font-size: 20px;
    transition: background .25s var(--header-ease), color .25s var(--header-ease),
                transform .25s var(--header-ease);
  }
  .mobile-bottom-nav__icon svg { width: 21px; height: 21px; stroke: currentColor; }

  /* active pill — ice gradient like the desktop primary button */
  .mobile-bottom-nav__item.is-active .mobile-bottom-nav__icon {
    background: linear-gradient(180deg, #E4F1FA, var(--header-ice) 55%, var(--header-steel));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 8px 16px -10px rgba(183, 217, 239, .9);
    color: var(--header-navy);
    transform: translateY(-1px);
  }

  .mobile-bottom-nav__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* raised central call button */
  .mobile-bottom-nav__call {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 60px;
    height: 60px;
    margin: -23px auto 0;
    border: 4px solid var(--header-navy);
    border-radius: 50%;
    background: linear-gradient(180deg, #E4F1FA, var(--header-ice) 52%, var(--header-steel));
    box-shadow:
      0 0 0 2px rgba(183, 217, 239, .3),
      0 14px 26px -12px rgba(4, 16, 31, .95),
      inset 0 1px 0 rgba(255, 255, 255, .85);
    color: var(--header-navy);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s var(--header-ease);
  }
  .mobile-bottom-nav__call-icon { display: flex; align-items: center; justify-content: center; font-size: 20px; }
  .mobile-bottom-nav__call-icon svg { width: 22px; height: 22px; stroke: currentColor; }
  .mobile-bottom-nav__call:active { transform: scale(.95); }

  .mobile-bottom-nav__item:focus-visible,
  .mobile-bottom-nav__call:focus-visible {
    outline: 2px solid var(--header-ice);
    outline-offset: 3px;
  }

  /* space for the fixed bar */
  body { padding-bottom: calc(105px + env(safe-area-inset-bottom)); }
}


/* ==========================================================================
   13. MORE PANEL & BACKDROP
   ========================================================================== */
@media (max-width: 900px) {
  .mobile-more-backdrop {
    position: fixed;
    z-index: 1290;
    inset: 0;
    display: block;
    background: rgba(4, 16, 31, .5);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(2px);
    transition: opacity .25s var(--header-ease);
  }
  .mobile-more-backdrop.is-open { opacity: 1; pointer-events: auto; }

  .mobile-more-panel {
    position: fixed;
    z-index: 1300;
    right: 16px;
    bottom: calc(94px + env(safe-area-inset-bottom));
    left: 16px;
    display: block;
    padding: 22px;
    border: 1px solid var(--header-border);
    border-radius: 22px;
    background: linear-gradient(180deg, #FFFFFF, #FBFAF6);
    box-shadow: 0 26px 60px -24px rgba(4, 16, 31, .7), var(--header-bevel);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .25s var(--header-ease), transform .25s var(--header-ease),
                visibility .25s var(--header-ease);
  }
  .mobile-more-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* small grab handle */
  .mobile-more-panel::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: rgba(35, 75, 120, .18);
    translate: -50% 0;
  }

  .mobile-more-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 10px 0 18px;
  }

  .mobile-more-panel__eyebrow {
    color: var(--header-steel);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .mobile-more-panel__header h3 {
    margin: 5px 0 0;
    color: var(--header-navy);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.03em;
  }

  .mobile-more-panel__close {
    display: flex;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--header-border);
    border-radius: 50%;
    background: linear-gradient(180deg, #fff, var(--header-ivory-50));
    box-shadow: 0 1px 2px rgba(7, 26, 58, .06), var(--header-bevel);
    color: var(--header-navy);
    font-size: 16px;
    cursor: pointer;
    transition: transform .2s var(--header-ease), background .2s var(--header-ease);
  }
  .mobile-more-panel__close:hover { transform: rotate(90deg); background: #fff; }

  .mobile-more-panel__links { display: flex; flex-direction: column; gap: 8px; }

  .mobile-more-panel__link {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 12px;
    padding: 9px 11px;
    border: 1px solid rgba(35, 75, 120, .12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(7, 26, 58, .04);
    color: var(--header-text);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s var(--header-ease), border-color .2s var(--header-ease),
                transform .2s var(--header-ease);
  }
  .mobile-more-panel__link:hover,
  .mobile-more-panel__link.is-active {
    border-color: rgba(102, 155, 197, .5);
    background: linear-gradient(90deg, rgba(183, 217, 239, .28), rgba(255, 255, 255, .6));
    transform: translateX(2px);
  }

  .mobile-more-panel__link-icon {
    display: flex;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(160deg, #EAF2F9, #D2E3F1);
    box-shadow: var(--header-bevel);
    color: var(--header-ocean);
    font-size: 15px;
  }
  .mobile-more-panel__link-icon svg { width: 17px; height: 17px; stroke: currentColor; }

  .mobile-more-panel__arrow { margin-left: auto; color: var(--header-steel); font-size: 12px; }

  .mobile-more-panel__cta {
    position: relative;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: hidden;
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(180deg, var(--header-navy-3), var(--header-navy) 62%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 16px 28px -18px rgba(7, 26, 58, .9);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-more-panel__cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--header-sheen);
    transform: translateX(-130%);
    transition: transform .85s var(--header-ease);
  }
  .mobile-more-panel__cta:hover::after { transform: translateX(130%); }
  .mobile-more-panel__cta > * { position: relative; }
}

@media (max-width: 380px) {
  .mobile-bottom-nav { right: 10px; left: 10px; padding: 5px; }
  .mobile-bottom-nav__icon { width: 43px; height: 43px; font-size: 19px; }
  .mobile-more-panel { right: 10px; left: 10px; padding: 17px; }
}


/* ==========================================================================
   14. MOBILE TOP QUOTE BUTTON
   ========================================================================== */
.mobile-header-quote-top { display: none; }

@media (max-width: 900px) {
  .site-header .header-container { display: flex; align-items: center; gap: 10px; }
  .site-header .site-brand { flex-shrink: 1; min-width: 0; }
  .site-header .brand-logo { height: 46px; max-width: 125px; object-fit: contain; }

  .mobile-header-quote-top {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 7px;
    overflow: hidden;
    margin-left: auto;
    padding: 11px 14px;
    border: 1px solid rgba(183, 217, 239, .5);
    border-radius: 10px;
    background: linear-gradient(180deg, var(--header-navy-3), var(--header-navy) 62%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 20px -14px rgba(7, 26, 58, .9);
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
    text-decoration: none;
  }
  .mobile-header-quote-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--header-sheen);
    transform: translateX(-130%);
    transition: transform .8s var(--header-ease);
  }
  .mobile-header-quote-top:hover::after { transform: translateX(130%); }
  .mobile-header-quote-top > * { position: relative; }

  .mobile-header-quote-top i,
  .mobile-header-quote-top svg { color: var(--header-ice); stroke: var(--header-ice); font-size: 11px; }
  .mobile-header-quote-top svg { width: 13px; height: 13px; }

  .mobile-header-quote-top:hover { color: #fff; background: linear-gradient(180deg, var(--header-ocean), var(--header-navy-3) 70%); }
}

@media (max-width: 380px) {
  .site-header .brand-logo { max-height: 42px; width: auto; }
  .mobile-header-quote-top { gap: 5px; padding: 10px 10px; font-size: .68rem; }
}


/* ==========================================================================
   15. REDUCED MOTION & PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (prefers-contrast: more) {
  .site-header { background: #fff; border-bottom: 2px solid var(--header-navy); }
  .nav-item { color: #04101F; }
  .mobile-bottom-nav { background: #04101F; }
}

@media print {
  .site-header,
  .mobile-bottom-nav,
  .mobile-more-panel,
  .mobile-more-backdrop { display: none !important; }
  body { padding-bottom: 0 !important; }
}
/* Backdrop */
.mobile-more-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1090;
}
.mobile-more-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Panel */
.mobile-more-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 20px 18px 24px;
    transform: translateY(100%);
    visibility: hidden;
    transition: transform .35s ease, visibility .35s ease;
    z-index: 1100;
}
.mobile-more-panel.is-open {
    transform: translateY(0);
    visibility: visible;
}

/* Lock page scroll while open */
body.mobile-more-open {
    overflow: hidden;
}

/* Desktop: hide completely */
@media (min-width: 992px) {
    .mobile-more-panel,
    .mobile-more-backdrop {
        display: none;
    }
}
