/* Shared navigation: clear page groups and quiet pastel accents. */
@media screen {
  :root { --site-header-height: 88px; }
  .site-header { background: #ffffffF7; border-bottom: 1px solid #ece5f0; }
  .site-header.is-scrolled { box-shadow: 0 4px 20px #51416b0a; }
  .site-header .header-inner { height: var(--site-header-height); gap: 24px; }
  .site-header .brand { gap: 12px; }
  .site-header .brand-mark { width: 40px; height: 40px; flex: 0 0 40px; }
  .site-header .brand-name { font-size: 24px; letter-spacing: .075em; }
  .site-header .brand-name > span { margin-top: 4px; font-size: 14px; line-height: 1.4; letter-spacing: .1em; }
  .site-header .desktop-nav { gap: 22px; margin-left: auto; }
  .site-header .desktop-nav a { min-height: 44px; padding-block: 10px; color: #595064; font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: .01em; }
  .site-header .desktop-nav a::after { bottom: 3px; height: 2px; }
  .site-header .desktop-nav a:hover,
  .site-header .desktop-nav a:focus-visible,
  .site-header .desktop-nav a[aria-current="page"] { color: var(--plum-soft); }
  .site-header .header-cta { min-height: 46px; padding: 10px 20px; gap: 12px; line-height: 1.5; border-radius: 999px; font-size: 16px; font-weight: 500; }
  .site-header .header-cta svg { display: block; width: 20px; height: 20px; }
  .site-header .menu-button, .menu-close { width: 44px; min-width: 44px; height: 44px; padding: 0; border: 1px solid #e9deef; background: #fff; box-shadow: none; }
  .site-header .menu-button { margin-left: 0; }
  .site-header .menu-button span { left: 11px; top: 17px; width: 20px; height: 1px; }
  .site-header .menu-button span + span { top: 25px; width: 20px; }
  .site-header .menu-button:hover, .menu-close:hover { background: #fff5fc; border-color: #dabce4; }
  .site-header .brand:focus-visible, .site-header nav a:focus-visible,
  .site-header .header-cta:focus-visible, .site-header .menu-button:focus-visible,
  .menu-close:focus-visible, .footer-nav a:focus-visible, .footer-brand .brand:focus-visible,
  .footer-meta .back-to-top:focus-visible { outline: 2px solid var(--plum); outline-offset: 5px; }

  .menu-dialog { border-radius: 24px 0 0 24px; background: #fff; }
  .menu-sheet { min-height: 100%; padding: 0 28px 32px; }
  .menu-sheet .menu-top { position: sticky; top: 0; z-index: 1; gap: 16px; margin-bottom: 8px; padding: 22px 0 18px; background: #fff; border-bottom: 1px solid var(--line); }
  .menu-sheet .menu-brand { gap: 10px; min-width: 0; }
  .menu-sheet .menu-brand .brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
  .menu-sheet .menu-brand .brand-name { font-size: 23px; letter-spacing: .075em; }
  .menu-sheet .menu-brand .brand-name > span { margin-top: 4px; font-size: 14px; line-height: 1.4; letter-spacing: .1em; }
  .menu-sheet nav a { scroll-margin-top: 104px; scroll-margin-bottom: 16px; min-height: 56px; padding: 13px 0; gap: 14px; font-size: 16px; line-height: 1.6; color: #595064; }
  .menu-sheet nav a > span { flex: 0 0 24px; font-family: var(--sans); font-size: 14px; color: #91789f; }
  .menu-sheet nav a > svg { width: 20px; height: 20px; flex: 0 0 20px; }
  .menu-sheet nav a:hover { padding-left: 0; color: var(--plum-soft); background: #fffafd; }
  .menu-sheet nav a[aria-current="page"] { color: var(--plum-soft); font-weight: 500; }
  .menu-sheet nav a:focus-visible { outline: 2px solid var(--plum); outline-offset: -3px; }
  .menu-sheet .menu-note { margin-top: 24px; font-family: var(--sans); font-size: 14px; line-height: 1.8; }

  .site-footer { position: relative; padding-block: 56px 24px; border-top: 1px solid #e7dfee; background: linear-gradient(115deg,#fffaf0 0%,#fff 38%,#f8f6ff 100%); }
  .site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg,#f5e4a6,#f5d8c4 30%,#d8e9f6 65%,#d1e9dc); }
  .site-footer .footer-main { display: grid; grid-template-columns: minmax(220px,.9fr) minmax(0,2fr); align-items: start; gap: 64px; padding-bottom: 40px; }
  .site-footer .footer-brand { grid-column: auto; min-width: 0; }
  .site-footer .footer-brand .brand { gap: 12px; }
  .site-footer .footer-brand .brand-mark { width: 46px; height: 46px; flex: 0 0 46px; }
  .site-footer .footer-brand .brand-name { font-size: 29px; letter-spacing: .075em; }
  .site-footer .footer-brand .brand-name > span { margin-top: 5px; font-size: 14px; line-height: 1.5; letter-spacing: .1em; }
  .site-footer .footer-brand > .footer-summary { max-width: 24em; margin-top: 22px; color: #665d71; font-size: 16px; line-height: 1.9; text-wrap: pretty; }
  .site-footer .footer-brand > .footer-status { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 18px; padding: 6px 10px; border: 1px solid #d9e9df; border-radius: 8px; background: #f2faf5; color: #4e6d5c; font-size: 14px; line-height: 1.6; }
  .site-footer .footer-status .status-dot { width: 6px; height: 6px; flex: 0 0 6px; background: #81a88e; box-shadow: none; }
  .site-footer .footer-nav { grid-column: auto; grid-row: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin: 0; padding: 3px 0 0; }
  .site-footer .footer-nav-group { min-width: 0; }
  .site-footer .footer-group-title { margin: 0 0 12px; font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.6; letter-spacing: .01em; color: #51416b; text-wrap: initial; }
  .site-footer .footer-nav ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
  .site-footer .footer-nav li { min-width: 0; margin: 0; }
  .site-footer .footer-nav a { display: block; width: fit-content; max-width: 100%; min-height: 44px; padding-block: 8px; border-radius: 3px; color: #665d71; font-size: 16px; font-weight: 400; line-height: 1.75; letter-spacing: 0; text-wrap: pretty; text-decoration: none; }
  .site-footer .footer-nav a:hover,
  .site-footer .footer-nav a:focus-visible,
  .site-footer .footer-nav a[aria-current="page"] { color: var(--plum-soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
  .site-footer .footer-nav a[aria-current="page"] { font-weight: 500; }
  .site-footer .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 20px; border-top: 1px solid #e5ddeb; font-size: 14px; line-height: 1.8; }
  .site-footer .footer-photo-note { max-width: 43em; font-size: 14px; line-height: 1.8; color: #6e687a; }
  .site-footer .footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
  .site-footer .footer-meta small { display: inline; margin: 0; font-size: 14px; line-height: 1.8; color: #6e687a; white-space: nowrap; }
  .site-footer .back-to-top { grid-column: auto; grid-row: auto; display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px; width: auto; height: auto; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; color: #665d71; letter-spacing: 0; }
  .site-footer .back-to-top span { font-size: 16px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
  .site-footer .back-to-top svg { width: 40px; height: 40px; flex: 0 0 40px; padding: 10px; border: 1px solid #e1d4e9; border-radius: 50%; background: #fff; transition: background .2s,border-color .2s; }
  .site-footer .back-to-top:hover { background: none; color: var(--plum-soft); }
  .site-footer .back-to-top:hover svg { border-color: #d0b5df; background: #fff2fa; }
}
@media screen and (max-width:1279px) {
  :root { --site-header-height: 80px; }
  .site-header .header-inner { gap: 20px; }
  .site-header .brand-name { font-size: 23px; }
  .site-header .header-cta { margin-left: auto; }
}
@media screen and (max-width:959px) {
  .site-footer .footer-main { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .site-footer .footer-brand > .footer-summary { margin-top: 16px; }
  .site-footer .footer-brand > .footer-status { margin-top: 12px; }
  .site-footer .footer-nav { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
}
@media screen and (max-width:600px) {
  .site-footer { padding-block: 40px 20px; }
  .site-footer .footer-main { gap: 28px; padding-bottom: 28px; }
  .site-footer .footer-brand .brand-name { font-size: 27px; }
  .site-footer .footer-brand .brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .site-footer .footer-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 24px; }
  .site-footer .footer-nav-group--guide { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid #e5ddeb; }
  .site-footer .footer-nav-group--guide ul { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
  .site-footer .footer-group-title { margin-bottom: 8px; }
  .site-footer .footer-bottom { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; padding-top: 18px; }
  .site-footer .footer-meta { justify-content: space-between; gap: 12px; }
  .site-footer .back-to-top { gap: 8px; }
}
@media screen and (max-width:540px) {
  :root { --site-header-height: 76px; }
  .site-header .header-inner { gap: 16px; }
  .site-header .brand { gap: 10px; }
  .site-header .brand-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .site-header .brand-name { font-size: 21px; }
  .site-header .header-cta { display: none; }
  .site-header .menu-button { margin-left: auto; }
  .menu-dialog { border-radius: 0; }
  .menu-sheet { padding-inline: 20px; }
  .menu-sheet .menu-top { padding-block: 18px 16px; }
  .menu-sheet .menu-brand .brand-name { font-size: 21px; }
  .menu-sheet .menu-brand .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
}
@media screen and (prefers-reduced-motion:reduce) {
  .site-header a, .site-header button, .menu-dialog .menu-sheet,
  .menu-sheet nav a, .site-footer a, .site-footer .back-to-top svg { transition: none; animation: none; }
  .site-header .header-cta:hover svg { transform: none; }
}
@media screen and (prefers-reduced-motion:reduce) {
  .menu-dialog[open] .menu-sheet { animation: none; }
  .site-header .header-cta svg, .site-header .desktop-nav a::after { transition: none; }
}
@media print {
  .site-footer .footer-main { display: block; }
  .site-footer .footer-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 24px 0; padding: 0; }
  .site-footer .footer-group-title { margin: 0 0 8px; font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.6; }
  .site-footer .footer-nav ul { margin: 0; padding: 0; list-style: none; }
  .site-footer .footer-nav a { width: auto; font-size: 16px; line-height: 1.8; }
  .site-footer .footer-brand > .footer-status,
  .site-footer .footer-photo-note, .site-footer .footer-meta small { font-size: 14px; line-height: 1.8; }
  .site-footer .back-to-top { display: none; }
}

/* Root scroll padding already reserves the fixed header and reading gap. */
main[id], .home-page #overview, .home-page .faq-list details[id] { scroll-margin-top: 0; }

/* Selected ligature wordmark: retain the exact approved image and crop only its canvas. */
.brand.brand--ligature {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 100%;
  gap: 6px;
}
.brand--ligature .brand-wordmark {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  flex: none;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.brand--ligature .brand-caption {
  display: block;
  margin: 0;
  color: #75667e;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .14em;
}
.brand--ligature .brand-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.site-header .brand.brand--ligature { width: 210px; gap: 4px; min-height: 44px; }
.menu-sheet .menu-brand.brand--ligature { width: 210px; gap: 4px; }
.site-footer .footer-brand .brand--ligature { width: 260px; gap: 5px; }
@media screen and (max-width: 540px) {
  .site-header .brand.brand--ligature { width: 190px; gap: 4px; }
  .menu-sheet .menu-brand.brand--ligature { width: 190px; gap: 4px; }
  .site-footer .footer-brand .brand--ligature { width: 240px; }
}
@media screen and (max-width: 360px) {
  .site-header .brand.brand--ligature { width: 178px; }
  .menu-sheet .menu-brand.brand--ligature { width: 178px; }
}

/* 2026-10-16: one clear route for learning, joining and supporting. */
@media screen {
  .site-header {
    z-index: 40; background: #ffffffF7; border-bottom-color: #eedfe9;
    backdrop-filter: blur(16px);
  }
  .site-header.is-scrolled { box-shadow: 0 5px 24px #71425f0a; }
  .site-header .header-inner { gap: 20px; }
  .site-header .desktop-nav { display: flex; gap: 4px; }
  .site-header .desktop-nav a {
    padding: 10px; min-height: 44px; border-radius: 999px;
    color: #5d5066; font-size: 16px; line-height: 1.6; letter-spacing: 0;
    transition: color .2s, background .2s;
  }
  .site-header .desktop-nav a::after {
    left: 10px; bottom: 5px; width: calc(100% - 20px); height: 2px;
    border-radius: 2px; background: #b22d79;
  }
  .site-header .desktop-nav a:hover,
  .site-header .desktop-nav a:focus-visible { color: #9c2265; background: #fff5fb; }
  .site-header .desktop-nav a[aria-current="page"] {
    color: #9c2265; background: #fff0f8; font-weight: 500;
  }
  .site-header .header-cta {
    min-height: 46px; padding: 10px 18px; gap: 10px;
    font-size: 16px; line-height: 1.5; box-shadow: 0 4px 12px #b9449210;
  }
  .site-header .header-cta[aria-current="page"] { outline: 2px solid #e3afd2; outline-offset: 3px; }
  .site-header .menu-button, .menu-dialog .menu-close {
    align-items: center; justify-content: center; gap: 8px; flex-shrink: 0;
    height: 44px; padding: 0 12px; border: 1px solid #e7d9e8;
    border-radius: 999px; color: #6c426e; background: #fff;
  }
  .site-header .menu-button { display: none; width: auto; min-width: 108px; }
  .menu-dialog .menu-close { display: inline-flex; width: auto; min-width: 90px; padding-inline: 10px; }
  .menu-button-text { font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.4; }
  .site-header .menu-button svg, .menu-dialog .menu-close svg {
    display: block; width: 18px; height: 18px; flex: 0 0 18px;
  }
  .site-header .menu-fallback {
    display: none; align-items: center; justify-content: center;
    min-height: 44px; min-width: 108px; padding: 0 14px; margin-left: auto;
    border: 1px solid #e7d9e8; border-radius: 999px;
    color: #6c426e; font-size: 14px; line-height: 1.5;
  }
  .menu-ready .site-header .menu-fallback { display: none; }
  .site-header .menu-fallback:focus-visible { outline: 2px solid #9c2265; outline-offset: 3px; }
  .menu-dialog {
    padding: 0; background: #fff; border: 0; max-width: 100%;
    height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh;
    border-radius: 22px 0 0 22px; overflow-x: hidden; overflow-y: auto;
    overscroll-behavior: contain; scrollbar-gutter: stable;
  }
  .menu-sheet { padding: 0 28px 28px; }
  .menu-sheet .menu-top {
    z-index: 2; padding-block: 22px 18px; margin-bottom: 0;
    gap: 12px; border-bottom-color: #eddfeb; background: #fff;
  }
  .menu-sheet .menu-brand.brand--ligature { width: 190px; flex-shrink: 1; }
  .menu-overview {
    margin-block: 20px 24px; padding: 14px 16px 8px;
    border: 1px solid #f0dce9; border-radius: 14px;
    background: linear-gradient(120deg,#fff5fa,#faf7ff);
  }
  .menu-overview > p {
    display: flex; align-items: center; gap: 8px; margin: 0;
    color: #79546f; font-size: 14px; line-height: 1.7;
  }
  .menu-overview .status-dot { flex: 0 0 6px; background: #b83a85; }
  .menu-event-link {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; min-height: 46px; margin-top: 4px;
    color: #9c2265; font-size: 16px; line-height: 1.7;
  }
  .menu-event-link svg { width: 20px; height: 20px; flex: 0 0 20px; }
  .menu-event-link:hover, .menu-event-link:focus-visible { text-decoration: underline; text-underline-offset: .3em; }
  .menu-sheet nav { gap: 22px; }
  .menu-sheet .menu-group-title {
    margin: 0 0 4px; color: #775178; font-family: var(--sans);
    font-size: 14px; line-height: 1.7; letter-spacing: .035em; font-weight: 600;
  }
  .menu-nav-group ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
  .menu-nav-group li { min-width: 0; }
  .menu-sheet nav a {
    width: 100%; min-height: 48px; padding: 10px 8px; gap: 12px;
    border-bottom: 1px solid #f0e6ee; border-radius: 8px;
    color: #5d5066; font-size: 16px; line-height: 1.7;
  }
  .menu-sheet nav a > svg { width: 18px; height: 18px; flex: 0 0 18px; }
  .menu-sheet nav a:hover, .menu-sheet nav a:focus-visible { padding-left: 8px; background: #fff7fc; color: #9c2265; }
  .menu-sheet nav a[aria-current="page"] { background: #fff0f8; color: #9c2265; border-bottom-color: #eac7dc; }
  .menu-sheet nav a:focus-visible, .menu-event-link:focus-visible { outline: 2px solid #9c2265; outline-offset: -2px; }
  .menu-sheet .menu-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid #eddfeb; font-size: 14px; color: #79546f; }

  .site-footer {
    padding-block: 48px 22px; border-top-color: #eddfeb;
    background: linear-gradient(125deg,#fff8fc,#fff 45%,#faf8ff);
  }
  .site-footer::before { height: 2px; background: linear-gradient(90deg,#f2b6d7,#e6c9ed 52%,#d9d9f3); }
  .site-footer .footer-main { grid-template-columns: minmax(220px,.8fr) minmax(0,2.2fr); gap: clamp(32px,5vw,72px); padding-bottom: 32px; }
  .site-footer .footer-brand .brand--ligature { width: min(240px,100%); }
  .site-footer .footer-brand > .footer-summary { margin-top: 18px; color: #63586b; font-size: 16px; line-height: 1.85; }
  .site-footer .footer-brand > .footer-status {
    margin-top: 16px; padding: 6px 10px; border-color: #efd7e6;
    background: #fff5fb; color: #855674; font-size: 14px;
  }
  .site-footer .footer-status .status-dot { background: #b83a85; }
  .site-footer .footer-nav { gap: 28px; padding-top: 0; }
  .site-footer .footer-group-title {
    margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid #eaddE8;
    font-size: 15px; line-height: 1.6; color: #60466e; letter-spacing: .025em;
  }
  .site-footer .footer-nav a { color: #675c70; font-size: 16px; min-height: 44px; line-height: 1.75; }
  .site-footer .footer-nav a[aria-current="page"] { color: #9c2265; font-weight: 500; }
  .site-footer .footer-nav a:hover, .site-footer .footer-nav a:focus-visible { color: #9c2265; }
  .site-footer .footer-bottom { gap: 16px 28px; border-top-color: #eaddE8; padding-top: 18px; }
  .site-footer .footer-photo-note { color: #736777; font-size: 13px; line-height: 1.8; }
  .site-footer .footer-meta { gap: 20px; }
  .site-footer .back-to-top { gap: 10px; }
  .site-footer .back-to-top svg { color: #925382; border-color: #e3d3e5; }
  .site-footer .back-to-top:hover svg, .site-footer .back-to-top:focus-visible svg { background: #fff0f8; border-color: #d9accd; }
}
@media screen and (max-width:1279px) {
  .site-header .desktop-nav { display: none; }
  .menu-ready .site-header .menu-button { display: inline-flex; }
  .site-header .menu-fallback { display: inline-flex; }
  .menu-ready .site-header .menu-fallback { display: none; }
}
@media screen and (max-width:959px) {
  .site-footer .footer-main { grid-template-columns: minmax(0,1fr); gap: 30px; }
}
@media screen and (max-width:640px) {
  .site-header .header-cta { display: none; }
  .site-header .header-inner { gap: 12px; justify-content: space-between; }
  .site-header .brand.brand--ligature { width: clamp(156px,50vw,190px); }
  .site-header .menu-button { margin-left: auto; }
}
@media screen and (max-width:600px) {
  .site-footer { padding-block: 38px 20px; }
  .site-footer .footer-main { gap: 28px; padding-bottom: 26px; }
  .site-footer .footer-nav { gap: 24px; }
  .site-footer .footer-nav-group--guide { padding-top: 0; border-top: 0; }
  .site-footer .footer-group-title { margin-bottom: 6px; }
  .site-footer .footer-bottom { gap: 14px; }
  .site-footer .footer-meta { gap: 16px; }
}
@media screen and (max-width:540px) {
  .menu-dialog { border-radius: 0; }
  .menu-sheet { padding-inline: 20px; }
  .menu-sheet .menu-top { padding-block: 18px 16px; }
  .menu-sheet .menu-brand.brand--ligature { width: 168px; }
}
@media screen and (max-width:360px) {
  .menu-sheet .menu-brand.brand--ligature { width: 156px; }
}
@media screen and (prefers-reduced-motion:reduce) {
  .site-header .desktop-nav a, .site-header .desktop-nav a::after,
  .site-header .header-cta, .menu-sheet nav a, .site-footer .back-to-top svg { transition: none; }
}
