/* Selected navigation and donation styling from creative-velocity. */
@media screen {
  html { scroll-padding-top: 100px; }
  body.bond-site { padding-top: 96px; }
  .bond-site .site-header {
    position: fixed; inset: 0 0 auto; z-index: 40; height: 96px;
    padding-inline: 4.2%; gap: 30px; background: #111110;
    border-bottom: 1px solid #ffffff20;
    transition: height .3s;
  }
  .bond-site.header-scrolled .site-header { height: 76px; }
  .admin-bar .site-header { top: 32px; }
  .site-header .club-logo img { max-height: 66px; max-width: 130px; }
  .bond-site .site-header nav { font-size: 12px; gap: 30px; font-weight: 500; letter-spacing: .015em; }
  .site-header nav a { position: relative; padding: 12px 0; }
  .site-header nav a::after {
    content: ''; position: absolute; height: 1px; background: var(--gold);
    bottom: 5px; left: 0; width: 100%; transform: scaleX(0);
    transform-origin: left; transition: transform .25s;
  }
  .site-header nav a:is([aria-current=location], [aria-current=page], :hover)::after { transform: scaleX(1); }
  .site-header nav a:is([aria-current=location], [aria-current=page]) { color: var(--gold); }
  .site-header .button-small { min-height: 44px; padding: 13px 21px; font-size: 10px; letter-spacing: .06em; }
  .site-header .header-progress {
    position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; pointer-events: none;
  }
  .bond-registration .site-header { background: #fff; border-color: var(--line); }
  .bond-registration .site-header nav a:is([aria-current=location], [aria-current=page]) { color: var(--gold-ink); }
  .bond-registration .registration-sidebar { top: 100px; }

  .bond-site .support-section {
    display: block; background: var(--gold); color: #182010;
    padding-block: 80px; isolation: isolate;
  }
  .support-section .support-copy { position: relative; z-index: 1; max-width: 740px; }
  .bond-site .support-copy > p { color: #343b1e; max-width: 510px; }
  .support-section .button { background: #17220f; color: #f3e7b6; }
  .support-section .button:hover { background: #29391e !important; }
  .support-section .text-link { color: #273214; border-color: #5e622d; }
  .support-section .support-mark {
    position: absolute; right: 4.2%; top: 50%; width: clamp(220px, 27vw, 360px);
    transform: translateY(-50%); opacity: .12; pointer-events: none; z-index: 0;
  }
  .support-section .support-mark img { display: block; width: 100%; max-width: none; height: auto; filter: brightness(0); }
  .support-section a:focus-visible { outline-color: #273214; }

  @media (max-width: 1000px) {
    .bond-site .site-header nav { gap: 20px; }
  }
  @media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
  }
  @media (max-width: 700px) {
    html { scroll-padding-top: 92px; }
    body.bond-site { padding-top: 82px; }
    .bond-site .site-header { height: 82px; padding-inline: 22px; gap: 15px; }
    .bond-site.header-scrolled .site-header { height: 72px; }
    .site-header .club-logo img { max-height: 54px; max-width: 95px; }
    .site-header .button-small { min-height: 40px; padding: 12px 16px; font-size: 9px; }
    .site-header .header-actions { gap: 12px; }
    .bond-site .menu-toggle { width: 44px; height: 44px; padding: 10px; border: 0; align-items: center; }
    .bond-site .menu-toggle > span { width: 22px; }
    .bond-site .site-header nav.is-open {
      --menu-text: #f4f3ee; --menu-line: #ffffff18; --menu-accent: var(--gold);
      display: block; top: 100%; padding: 6px 22px 12px;
      max-height: calc(100vh - 90px);
      max-height: calc(100dvh - 90px - env(safe-area-inset-bottom, 0px));
      overflow-y: auto; overscroll-behavior: contain;
      background: #151513; border-bottom: 1px solid var(--menu-line);
      box-shadow: 0 16px 24px #0003;
    }
    .bond-site .site-header nav.is-open > .menu { display: block; margin: 0; padding: 0; }
    .bond-site .site-header nav.is-open a {
      display: flex; align-items: center; min-height: 50px; margin: 0;
      padding: 12px 14px; border-bottom: 1px solid var(--menu-line);
      background: transparent; color: var(--menu-text);
      font: 500 16px/1.5 var(--body); letter-spacing: 0;
    }
    .bond-site .site-header nav.is-open > .menu > li:last-child > a,
    .bond-site .site-header nav.is-open > a:last-child { border-bottom: 0; }
    .bond-site .site-header nav.is-open a::after {
      left: 0; top: 50%; bottom: auto; width: 2px; height: 20px;
      background: var(--menu-accent); transform: translateY(-50%) scaleY(0);
      transform-origin: center; transition: none;
    }
    .bond-site .site-header nav.is-open a:is([aria-current=location], [aria-current=page]) { color: var(--menu-accent); }
    .bond-site .site-header nav.is-open a:is([aria-current=location], [aria-current=page])::after { transform: translateY(-50%); }
    .bond-site .site-header nav.is-open a:focus-visible { outline: 2px solid var(--menu-accent); outline-offset: -2px; }
    .bond-site.bond-registration .site-header nav.is-open {
      --menu-text: var(--reg-ink); --menu-line: var(--line); --menu-accent: var(--gold-ink);
      background: #fff; box-shadow: 0 16px 24px #29271f12;
    }
    .admin-bar.bond-site .site-header nav.is-open {
      max-height: calc(100vh - 136px);
      max-height: calc(100dvh - 136px - env(safe-area-inset-bottom, 0px));
    }
    .bond-site .support-section { padding: 48px 22px; }
    .support-section .support-mark { width: 230px; right: -40px; opacity: .08; }
    .support-section .support-copy { max-width: none; }
  }
  @media (max-width: 600px) { .admin-bar #wpadminbar { position: fixed; } }
  @media (max-width: 360px) {
    .bond-site .site-header { padding-inline: 16px; gap: 8px; }
    .site-header .header-actions { gap: 8px; }
    .site-header .button-small { padding-inline: 11px; }
    .bond-site .site-header nav.is-open { padding-inline: 16px; }
    .bond-site .support-section { padding-inline: 18px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .bond-site .site-header, .site-header nav a::after { transition: none; }
  }
}
