/* site.css: shared refinements loaded on every page (Oct 2026). */

/* Hamburger is now a real button */
button.hamburger { background: none; border: 0; font: inherit; color: inherit; -webkit-appearance: none; appearance: none; }

/* Dropdowns open for keyboard users too */
.nav-dropdown:focus-within > .dropdown-menu { display: block; }
.dropdown-menu > li { list-style: none; }

.dd-soon {
  font-size: .52rem; letter-spacing: .14em; margin-left: .5rem;
  color: var(--gold, #e8b355); border: 1px solid rgba(245,201,122,.3); padding: .1rem .4rem;
}

/* Foundation dropdown with program pricing */
.dropdown-menu.dropdown-menu-foundation { min-width: 360px; left: auto; right: -4rem; transform: none; }
.dropdown-menu-foundation .dropdown-label {
  padding: .7rem 1.5rem .3rem; font-size: .56rem; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold, #e8b355);
}
.dropdown-menu a.dd-program { display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem; padding-top: .6rem; padding-bottom: .6rem; }
.dd-program-name { display: flex; flex-direction: column; gap: .15rem; }
.dd-program-name small { font-size: .56rem; letter-spacing: .1em; text-transform: none; opacity: .75; }
.dd-program-price { display: none !important; }

/* Mobile menu program list */
.mobile-nav .mob-note {
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7;
  color: var(--gold, #e8b355); margin: .6rem 0 .2rem;
}
.mobile-nav .mob-price { display: none !important; }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #e8b355; outline-offset: 3px;
}

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #e8b355; color: #0c0a14; padding: .7rem 1.2rem; font-family: 'Jost', sans-serif; font-size: .8rem; text-decoration: none; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Images never overflow their containers */
img, video { max-width: 100%; }

/* Text for screen readers only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Small screens: keep the header and menu from being squeezed by desktop padding */
@media (max-width: 960px) {
  nav#nav { padding-left: 1.2rem !important; padding-right: 1.2rem !important; }
  .mobile-nav { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
}

/* Header fits on laptop widths without the logo colliding with the menu */
nav#nav .nav-logo { flex-shrink: 0; margin-right: 1.5rem; }
nav#nav .nav-links a { white-space: nowrap; }
@media (max-width: 1480px) and (min-width: 961px) {
  nav#nav { padding-left: 2rem !important; padding-right: 2rem !important; }
  nav#nav .nav-links { gap: 1.4rem !important; }
  nav#nav .nav-links a { letter-spacing: .1em !important; font-size: .7rem !important; }
}
@media (max-width: 1180px) and (min-width: 961px) {
  nav#nav .nav-links { gap: .95rem !important; }
  nav#nav .nav-links a { letter-spacing: .06em !important; font-size: .66rem !important; }
  nav#nav .nav-cta { padding: .5rem .9rem !important; }
}
/* The hover bridge above each dropdown should never block clicks on the menu label */
.dropdown-menu::before { pointer-events: none; }

/* Keep the menu button (now a close button) visible above the open phone menu */
html.menu-open nav#nav { z-index: 10001 !important; }
@media (max-width: 960px) {
  html.menu-open .mobile-nav { padding-top: 6rem !important; }
}
