/* The site header, the same on every page of thecalmteacherclub.com (Nov 23, 2026).
   Every page links this file and /site.js, and uses the same header markup (see club-site/INSTRUCTIONS.md).
   Change the menu here and in each page's <header class="site-top">.
   Nov 23, 2026: only the page you're on is underlined (thin purple line). Others show a soft lavender line on hover.
   Phones (760px and under): the links fold into a three-line Menu button (added by site.js). */
.site-top{
  max-width:1480px; margin:0 auto; box-sizing:border-box; width:100%;
  padding:clamp(20px,3vh,36px) clamp(28px,5vw,96px) 0;
  display:flex; align-items:center; justify-content:space-between; gap:12px 28px;
  position:relative; z-index:20; color:#22304A;
}
.site-brand{ display:flex; align-items:center; gap:10px; font-family:var(--serif, "Literata", Georgia, serif); font-size:1.25rem; font-weight:500; color:#22304A; text-decoration:none; white-space:nowrap; }
.site-brand img{ height:40px; width:auto; display:block; }
.site-nav{ display:flex; gap:32px; font-family:var(--sans, "Public Sans", system-ui, sans-serif); font-size:1.05rem; font-weight:600; line-height:1.4; }
.site-nav a, .site-nav span{ white-space:nowrap; color:#22304A; }
.site-nav a{ text-decoration:underline; text-decoration-color:transparent; text-decoration-thickness:2px; text-underline-offset:8px; transition:text-decoration-color .2s; }
.site-nav a:hover{ text-decoration-color:#CEC6EC; }
.site-nav a[aria-current="page"]{ text-decoration-color:#5B4BA8; }
.site-nav .soon{ color:#4C576E; font-weight:500; }
.site-menu-btn{ display:none; }

@media (max-width:760px){
  .site-top{ padding:16px 18px 0; }
  .site-brand{ font-size:1.1rem; } .site-brand img{ height:34px; }
  .site-menu-btn{ display:inline-flex; align-items:center; gap:8px; background:#fff; color:#22304A; border:1px solid #CEC6EC; border-radius:12px;
    padding:9px 14px; font:600 1rem var(--sans, "Public Sans", system-ui, sans-serif); cursor:pointer; }
  .site-menu-btn svg{ width:20px; height:20px; }
  .site-nav{ display:none; position:absolute; top:calc(100% + 10px); left:18px; right:18px; flex-direction:column; gap:0;
    background:#fff; border:1px solid #ECE8F8; border-radius:18px; padding:8px; box-shadow:0 24px 48px -24px rgba(34,48,74,.45); }
  .site-top.open .site-nav{ display:flex; }
  .site-nav a, .site-nav span{ display:block; padding:14px 16px; border-radius:12px; font-size:1.1rem; text-decoration:none; }
  .site-nav a[aria-current="page"]{ background:#ECE8F8; color:#5B4BA8; }
  .site-nav .soon::after{ content:" (Coming soon)"; font-weight:400; }
}
