/* FNQLA refresh prototype
   One shared stylesheet. Brand colours are unchanged from the live site;
   what changes is type, spacing, header/nav, page headers and footer. */

:root {
  /* Brand (unchanged) */
  --navy: #134f7a;
  --navy-deep: #0d3a59;
  --teal: #7ebec5;
  --mint: #a1e2df;
  --coral: #e07856;

  /* Derived for text and surfaces (contrast-safe on white) */
  --teal-ink: #2a6a72;       /* teal dark enough for text, 6:1 on white */
  --mint-wash: #eef8f7;      /* page-header and section tint */
  --ink: #17212b;
  --body: #364350;
  --muted: #5c6873;          /* 5.6:1 on white */
  --line: #dfe5ea;
  --paper: #ffffff;
  --sand: #f6f8f9;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --radius-sm: 6px;
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;           /* 17px */
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy-deep);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
h3 { font-size: 1.25rem; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
li::marker { color: var(--teal-ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 68ch; }
.lead { font-size: 1.1875rem; color: var(--body); }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-deep); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1.2 var(--sans);
  padding: 12px 20px; min-height: 44px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  background: var(--navy); color: #fff;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--mint-wash); color: var(--navy-deep); border-color: var(--navy-deep); }
.btn-light { background: #fff; color: var(--navy-deep); border-color: #fff; }
.btn-light:hover { background: var(--mint); border-color: var(--mint); color: var(--navy-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 80px;
}
.brand { display: block; flex-shrink: 0; }
.brand img { height: 60px; width: auto; }
.menu-toggle { display: none; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; margin: 0; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 0.98rem/1 var(--sans); color: var(--ink);
  padding: 12px 12px; min-height: 44px;
  border: 0; background: none; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer;
}
.nav-link:hover, .nav-trigger:hover { background: var(--mint-wash); color: var(--navy-deep); }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--navy); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-trigger .chev { width: 10px; height: 10px; transition: transform .15s ease; }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 10px 16px; min-height: 42px; font-size: 0.95rem; }

.submenu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(13, 58, 89, .14);
  display: none;
}
.submenu.is-open { display: block; }
.submenu li { margin: 0; }
.submenu a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; line-height: 1.3;
}
.submenu a small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.submenu a:hover { background: var(--mint-wash); color: var(--navy-deep); }
.submenu a[aria-current="page"] { color: var(--navy); font-weight: 600; background: var(--mint-wash); }

@media (max-width: 1060px) {
  .header-inner { min-height: 68px; }
  .brand img { height: 44px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    font: 600 0.95rem/1 var(--sans); color: var(--navy-deep);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 10px 14px; min-height: 44px; cursor: pointer;
  }
  .menu-toggle svg { width: 18px; height: 18px; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(13,58,89,.12);
    max-height: calc(100vh - 68px); overflow-y: auto;
    padding: 8px var(--gutter) 20px;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li.nav-cta { border-bottom: 0; margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 48px; }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .nav-link[aria-current="page"], .nav-trigger.is-current { box-shadow: none; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 12px 8px; min-width: 0; }
}

/* ---------- Page header (compact, replaces the tall navy band) ---------- */
.page-head {
  background: var(--mint-wash);
  border-bottom: 1px solid #d6ecea;
  padding: 28px 0 32px;
}
.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; display: inline-flex; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: #9aa7b1; }
.breadcrumb a { color: var(--muted); }
.page-head h1 { margin-bottom: 8px; }
.page-head .lead { margin: 0; max-width: 62ch; color: var(--body); }

.section { padding: clamp(40px, 6vw, 72px) 0; }
.section + .section { padding-top: 0; }
.section-alt { background: var(--sand); border-block: 1px solid var(--line); }
.section.section-alt { padding-top: clamp(40px, 6vw, 72px); }
.section-alt + .section { padding-top: clamp(40px, 6vw, 72px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep);
  color: #dbe9f1;
  padding: clamp(48px, 7vw, 88px) 0;
}
.hero-contours {
  position: absolute; right: -120px; top: -40px; width: 760px; height: auto;
  color: var(--teal); opacity: .22; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem); line-height: 1.08; margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero p { font-size: 1.15rem; max-width: 52ch; color: #d3e4ee; margin-bottom: 28px; }
.next-event {
  background: #fff; color: var(--body); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 20px 48px rgba(0,0,0,.25);
  border-top: 4px solid var(--teal);
}
.next-event h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--teal-ink); margin-bottom: 14px; letter-spacing: 0; }
.next-event h3 { font-size: 1.4rem; margin-bottom: 6px; }
.next-event .when { color: var(--muted); margin-bottom: 14px; }
.next-event p:not(.when) { font-size: 1rem; color: var(--body); margin-bottom: 18px; }

/* ---------- Event list (date-block rows) ---------- */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-list li { margin: 0; }
.event-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; color: inherit;
}
a.event-card:hover { border-color: var(--teal); color: inherit; }
a.event-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.date-block {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 64px; height: 68px; border-radius: var(--radius-sm);
  background: var(--mint-wash); color: var(--navy-deep); line-height: 1;
}
.date-block .d { font: 600 1.7rem/1 var(--serif); }
.date-block .m { font-size: 0.85rem; font-weight: 600; margin-top: 4px; }
.event-card h3 { font-size: 1.125rem; margin-bottom: 4px; }
.event-card .meta { font-size: 0.92rem; color: var(--muted); margin: 0 0 8px; }
.event-card .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--body); margin: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-cpd { background: var(--navy); }
.dot-social { background: var(--teal); }
.dot-milestone { background: var(--coral); }

/* ---------- Home: notices + get involved ---------- */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.notice-feed { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.notice-feed li { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.notice-feed .where { font-size: 0.9rem; color: var(--muted); margin: 0 0 4px; }
.notice-feed h3 { font-size: 1.125rem; margin: 0 0 4px; }
.notice-feed h3 a { color: var(--navy-deep); text-decoration: none; }
.notice-feed h3 a:hover { text-decoration: underline; }
.notice-feed p:last-child { margin: 0; font-size: 0.98rem; }

.involve { display: grid; gap: 12px; }
.involve a {
  display: block; padding: 18px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--body);
}
.involve a:hover { border-color: var(--teal); color: var(--body); }
.involve a strong { display: block; font: 600 1.15rem/1.3 var(--serif); color: var(--navy-deep); margin-bottom: 2px; }
.involve a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; }
.involve a span { font-size: 0.98rem; }
.involve a.primary { background: var(--navy); border-color: var(--navy); color: #d9e8f1; }
.involve a.primary strong { color: #fff; }
.involve a.primary:hover { background: var(--navy-deep); }

.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-grid h2 { margin-bottom: 0; }
.about-facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.about-facts li { margin: 0; padding-left: 16px; border-left: 3px solid var(--teal); color: var(--ink); }

.sponsor-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.sponsor-strip img { height: 72px; width: auto; max-width: 170px; object-fit: contain; }
.sponsor-strip a { display: block; }

/* ---------- Content page (students etc.) ---------- */
.content-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.content-intro figure { margin: 0; }
.content-intro img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.content-intro figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.content-intro .prose > :last-child { margin-bottom: 0; }

.notices { display: grid; gap: 20px; max-width: 820px; }
.notices-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; max-width: 820px; }
.notices-head h2 { margin: 0; }
.notice {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px;
}
.notice-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.9rem; color: var(--muted); margin: 0 0 6px; }
.notice h3 { margin-bottom: 12px; font-size: 1.3rem; }
.notice-body > :last-child { margin-bottom: 0; }
.notice-link { margin: 18px 0 0; }
.badge {
  display: inline-block; font-size: 0.8rem; font-weight: 600; color: #8a3a1f;
  background: #fbe9e2; border-radius: 999px; padding: 2px 10px;
}

/* ---------- Long text page (membership) ---------- */
.long-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.long-grid .prose h2 { margin-top: 1.6em; }
.long-grid .prose h2:first-child { margin-top: 0; }
.two-col-list { columns: 2; column-gap: 40px; padding-left: 1.2em; }
.two-col-list li { break-inside: avoid; }
.aside-card {
  position: sticky; top: 104px;
  background: var(--mint-wash); border: 1px solid #d6ecea; border-radius: var(--radius); padding: 24px;
}
.aside-card h2 { font-size: 1.35rem; }
.aside-card p { font-size: 0.98rem; }
.aside-card .btn { width: 100%; margin-bottom: 12px; }
.aside-card hr { border: 0; border-top: 1px solid #cfe5e3; margin: 18px 0; }

/* ---------- Committee ---------- */
.committee-group + .committee-group { margin-top: 56px; }
.committee-group > h2 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.committee-group > h2 .count { font: 500 1rem var(--sans); color: var(--muted); }
.member-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.member-photo { background: var(--mint-wash); overflow: hidden; }
.member-photo img { width: 100%; aspect-ratio: 4 / 4.4; height: auto; object-fit: cover; object-position: center 22%; }
.member-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.member-grid.cols-3 .member-photo img { aspect-ratio: 4 / 3.6; }
.member-photo .initials {
  width: 100%; height: 100%; display: grid; place-items: center;
  font: 600 2.5rem var(--serif); color: var(--navy);
}
.member-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.member h3 { font-size: 1.2rem; margin: 0 0 2px; }
.member .role { color: var(--teal-ink); font-weight: 600; font-size: 0.95rem; margin: 0 0 12px; }
.member .bio { font-size: 0.95rem; line-height: 1.6; }
.member .bio p { margin-bottom: 0.75em; }
.member .bio > p:last-child { margin-bottom: 0; }
.member details { margin-top: 4px; }
.member summary {
  cursor: pointer; color: var(--navy); font-weight: 600; font-size: 0.93rem;
  list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; min-height: 32px;
}
.member summary::-webkit-details-marker { display: none; }
.member summary::after { content: "+"; font-weight: 500; font-size: 1.1rem; line-height: 1; }
.member details[open] summary::after { content: "\2212"; }
.member details[open] summary { margin-bottom: 6px; }
.member .more-label-open { display: none; }
.member details[open] .more-label-open { display: inline; }
.member details[open] .more-label-closed { display: none; }

/* ---------- Events calendar ---------- */
.legend { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.95rem; }
.legend li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.cal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.upcoming-aside h2 { font-size: 1.3rem; }
.upcoming-aside ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.upcoming-aside li { margin: 0; border-bottom: 1px solid var(--line); }
.upcoming-aside button {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 52px 1fr; gap: 12px;
  padding: 14px 4px; width: 100%; align-items: center;
}
.upcoming-aside button:focus-visible { box-shadow: var(--focus); border-radius: 4px; }
.upcoming-aside button:hover strong { text-decoration: underline; }
.upcoming-aside .date-block { width: 52px; height: 56px; }
.upcoming-aside .date-block .d { font-size: 1.35rem; }
.upcoming-aside strong { display: block; color: var(--navy-deep); font-weight: 600; line-height: 1.3; }
.upcoming-aside span.t { font-size: 0.88rem; color: var(--muted); }
.upcoming-aside .more { margin-top: 16px; font-size: 0.95rem; }

#calendar { --fc-border-color: var(--line); --fc-today-bg-color: var(--mint-wash); --fc-page-bg-color: #fff; font-size: 0.95rem; }
#calendar .fc-toolbar-title { font: 600 1.5rem var(--serif); color: var(--navy-deep); }
#calendar .fc-button {
  background: #fff; border: 1px solid var(--line); color: var(--navy-deep);
  font: 600 0.92rem var(--sans); text-transform: none; padding: 8px 14px; box-shadow: none; border-radius: var(--radius-sm);
}
#calendar .fc-button:hover { background: var(--mint-wash); }
#calendar .fc-button:focus-visible { box-shadow: var(--focus); }
#calendar .fc-button:focus { box-shadow: var(--focus); }
#calendar .fc-button:not(:focus-visible):focus { box-shadow: none; }
#calendar .fc-button-primary:not(:disabled).fc-button-active { background: var(--navy); border-color: var(--navy); color: #fff; }
#calendar .fc-button:disabled { opacity: .5; }
#calendar .fc-col-header-cell-cushion { color: var(--muted); font-weight: 600; text-decoration: none; padding: 10px 4px; }
#calendar .fc-daygrid-day-number { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 8px; }
#calendar .fc-day-other .fc-daygrid-day-number { color: #a5afb8; }
#calendar .fc-day-today .fc-daygrid-day-number { background: var(--navy); color: #fff; border-radius: 999px; min-width: 28px; text-align: center; margin: 4px; padding: 4px 6px; }
#calendar .fc-daygrid-day-frame { min-height: 92px; }
#calendar .fc-event { cursor: pointer; border-radius: 4px; padding: 2px 4px; font-weight: 600; font-size: 0.85rem; }
#calendar .fc-daygrid-block-event .fc-event-title { white-space: normal; line-height: 1.25; }
#calendar .fc-list-event-title a, #calendar .fc-list-day-text, #calendar .fc-list-day-side-text { color: var(--ink); text-decoration: none; }
#calendar .fc-list-day-cushion { background: var(--sand); }
/* Coral is too light for white text, so milestone pills use a darker coral (4.8:1). */
#calendar .fc-daygrid-event.ev-milestone { background: #b9532f; border-color: #b9532f; }
#calendar .fc-event.ev-social, #calendar .fc-event.ev-social .fc-event-main { color: var(--navy-deep); }

.event-dialog {
  border: 0; padding: 0; border-radius: 12px; width: min(560px, calc(100vw - 32px));
  box-shadow: 0 24px 64px rgba(0,0,0,.3); color: var(--body);
}
.event-dialog::backdrop { background: rgba(13, 30, 45, .55); }
.event-dialog .dlg-bar { height: 6px; background: var(--teal); }
.event-dialog .dlg-inner { padding: 24px 28px 28px; }
.event-dialog .dlg-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.event-dialog h2 { font-size: 1.5rem; margin: 6px 0 6px; }
.event-dialog .dlg-kind { font-size: 0.9rem; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.event-dialog .dlg-when { font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.event-dialog .dlg-close {
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  width: 40px; height: 40px; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); flex-shrink: 0;
}
.event-dialog .dlg-close:hover { background: var(--sand); }
.event-dialog .dlg-desc p { margin-bottom: .75em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c6d7e2; font-size: 0.98rem; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.ack {
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 28px 0;
}
.ack p { margin: 0; max-width: 78ch; color: #e2edf3; font-size: 1.02rem; line-height: 1.6; }
.ack p::before {
  content: ""; display: inline-block; width: 24px; height: 3px; background: var(--coral);
  vertical-align: middle; margin-right: 12px; border-radius: 2px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 48px 40px; }
.footer-grid h2 { font: 600 1rem var(--sans); color: #fff; margin: 0 0 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0 0 8px; }
.footer-brand .name { font: 600 1.3rem/1.25 var(--serif); color: #fff; margin: 0 0 10px; }
.footer-brand p { color: #b9ccd9; font-size: 0.95rem; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
}
.social a:hover { background: rgba(255,255,255,.1); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer address { font-style: normal; }
.site-footer address p { margin: 0 0 8px; }
.footer-bottom {
  background: linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  padding-block: 18px 22px; font-size: 0.88rem; color: #a9bfcd;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }
.footer-bottom a { color: #d5e3ec; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--navy-deep), 0 0 0 5px var(--mint); }

/* ---------- Preview banner (preview build only) ---------- */
.preview-banner { background: var(--navy-deep); color: #dbe9f1; font-size: 0.875rem; line-height: 1.45; }
.preview-banner p { margin: 0; padding: 8px 0; display: flex; align-items: baseline; gap: 10px; }
.preview-banner a { color: #fff; text-decoration: underline; }
.preview-banner a:hover { color: var(--mint); }
.preview-banner :focus-visible { box-shadow: 0 0 0 2px var(--navy-deep), 0 0 0 4px var(--mint); }
.preview-tag {
  flex-shrink: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--navy-deep); background: var(--mint); border-radius: 999px; padding: 1px 9px;
}

/* ---------- Shared bits for the added pages ---------- */
.section-note { font-size: 0.95rem; color: var(--muted); margin: -12px 0 20px; max-width: 70ch; }
.notices-head + .section-note { margin-top: -8px; }
.badge-muted { color: #46525d; background: #e9edf0; }
.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  background: var(--mint-wash); border: 1px solid #d6ecea; border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px;
}
.callout p { margin: 0; max-width: 60ch; }
.aside-img { width: 100%; height: auto; border-radius: var(--radius-sm); margin-bottom: 18px; }
.aside-plain { background: #fff; border-color: var(--line); }
.aside-plain img { border-radius: var(--radius-sm); margin-bottom: 14px; width: 100%; }
.long-grid .prose ol li, .long-grid .prose ul li { margin-bottom: 0.6em; }

/* Event details (events.html) */
.event-detail {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin-bottom: 24px; max-width: 760px;
}
.event-detail h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); margin-bottom: 14px; }
.event-detail > p { max-width: 68ch; }
.speakers { padding-left: 1.3em; }
.speakers li { margin-bottom: 0.6em; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 24px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.facts div { min-width: 0; }
.facts dt { font-size: 0.85rem; font-weight: 600; color: var(--teal-ink); margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--ink); line-height: 1.5; }

/* Sponsorship */
.sponsor-tier + .sponsor-tier { margin-top: 48px; }
.sponsor-tier > h2 { margin-bottom: 20px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sponsor {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.sponsor-logo { height: 150px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.sponsor-logo img { width: 100%; height: 100%; object-fit: contain; }
.sponsor-body { padding: 16px 20px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sponsor h3 { font-size: 1.1rem; margin: 0; }
.sponsor h3 a { color: var(--navy-deep); text-decoration: none; }
.sponsor h3 a:hover { text-decoration: underline; }
.tier-platinum .sponsor-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.tier-platinum .sponsor { border-top: 4px solid var(--navy); }
.tier-platinum .sponsor-logo { height: 200px; }
.tier-pill { font-size: 0.8rem; font-weight: 600; border-radius: 999px; padding: 2px 10px; }
.tier-pill.tier-platinum { background: var(--navy-deep); color: #fff; }
.tier-pill.tier-gold { background: #f6edd6; color: #6b4f0c; }
.tier-pill.tier-silver { background: #e9edf0; color: #3f4b56; }
.tier-pill.tier-standard { background: var(--mint-wash); color: var(--teal-ink); }
.cta-band {
  margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  background: var(--mint-wash); border: 1px solid #d6ecea; border-radius: var(--radius); padding: 24px 28px;
}
.cta-band h2 { font-size: 1.4rem; margin-bottom: 4px; }
.cta-band p { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-card { background: var(--mint-wash); border: 1px solid #d6ecea; border-radius: var(--radius); padding: 28px; }
.contact-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.contact-card hr { border: 0; border-top: 1px solid #cfe5e3; margin: 22px 0; }
.contact-card address { font-style: normal; }
.contact-card address p { margin: 0; }
.contact-email { font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; overflow-wrap: anywhere; }
.contact-card .btn svg { width: 20px; height: 20px; }
.contact-note { font-size: 0.93rem; margin: 14px 0 0; }
.social-light { margin-top: 4px; }
.social-light a { color: var(--navy-deep); border-color: #b9d8d6; background: #fff; }
.social-light a:hover { background: var(--mint); color: var(--navy-deep); }
.h3-like { font-size: 1.4rem; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 24px; }
.contact-list strong { color: var(--ink); }
.contact-list a { overflow-wrap: anywhere; }

/* Calendar dialog "example event" note */
.event-dialog .dlg-note { margin: 0 0 10px; }

/* Footer: show the current page */
.site-footer a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }

@media (max-width: 1060px) {
  .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .aside-img { max-width: 280px; }
}
@media (max-width: 560px) {
  .preview-banner { font-size: 0.82rem; }
  .preview-banner p { gap: 8px; padding: 7px 0; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .sponsor-logo, .tier-platinum .sponsor-logo { height: 130px; }
  .event-detail { padding: 20px; }
  .contact-card { padding: 22px 20px; }
  .contact-list li { grid-template-columns: 1fr; }
  .cta-band { padding: 20px; }
  .callout { padding: 16px 18px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .event-list { grid-template-columns: 1fr; }
  .cal-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .about-grid, .content-intro, .long-grid { grid-template-columns: 1fr; }
  .hero-contours { width: 520px; right: -200px; }
  .aside-card { position: static; }
  .member-grid, .member-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sponsor-strip { justify-content: flex-start; gap: 20px 32px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .lead { font-size: 1.08rem; }
  .member-grid, .member-grid.cols-3 { grid-template-columns: 1fr; }
  .member { display: grid; grid-template-columns: 112px 1fr; }
  .member-photo img, .member-grid.cols-3 .member-photo img { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .member-body { padding: 14px 16px 16px; }
  .member .bio { font-size: 0.93rem; }
  .two-col-list { columns: 1; }
  .notice { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 32px; }
  .cal-card { padding: 12px; margin-inline: calc(var(--gutter) * -0.5); }
  #calendar .fc-toolbar { flex-wrap: wrap; gap: 10px; }
  #calendar .fc-toolbar-title { font-size: 1.25rem; }
  #calendar .fc-toolbar-chunk:nth-child(2) { order: -1; width: 100%; }
  #calendar .fc-daygrid-day-frame { min-height: 64px; }
  #calendar .fc-daygrid-event { font-size: 0.72rem; padding: 1px 2px; }
  #calendar .fc-col-header-cell-cushion { font-size: 0.8rem; }
  .sponsor-strip img { height: 40px; max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
