@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #19345f;
  --navy-deep: #0c1f3f;
  --red: #ef233c;
  --blue: #49a8dc;
  --ice: #edf7fc;
  --paper: #fffdfa;
  --ink: #15233b;
  --muted: #5a6779;
  --line: #d8e0e9;
  --white: #fff;
  --shadow: 0 16px 50px rgba(12, 31, 63, .12);
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .2em; }
a:hover { color: var(--red); }
h1, h2, h3 { margin: 0 0 .5em; color: var(--navy-deep); font-family: "Barlow Condensed", Impact, sans-serif; line-height: .96; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 9vw, 7.8rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
p { margin: 0 0 1rem; }
button, input { font: inherit; }
.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 99; transform: translateY(-200%); padding: .65rem 1rem; background: white; }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: .7rem; color: #be192d; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lede { max-width: 48rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.kicker { color: #286ea0; font-weight: 700; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section.tight { padding-block: 2.4rem; }
.section.ice { background: var(--ice); }
.section.navy { color: white; background: var(--navy-deep); }
.section.navy h2, .section.navy h3 { color: white; }
.hero .eyebrow, .section.navy .eyebrow { color: rgba(255,255,255,.85); }
.section.navy .callout .eyebrow { color: #be192d; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head p { max-width: 34rem; }

.site-header { position: relative; z-index: 20; border-top: 5px solid var(--red); background: white; box-shadow: 0 1px 0 var(--line); }
.header-inner { width: min(1280px, calc(100% - 2rem)); min-height: 86px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand img { display: block; width: auto; height: 76px; object-fit: contain; }
.nav-shell summary { cursor: pointer; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 99px; color: var(--navy); font-weight: 800; list-style: none; }
.nav-shell summary::-webkit-details-marker { display: none; }
.nav-shell nav { position: absolute; top: 86px; left: 0; right: 0; padding: 1.25rem 1.5rem; background: var(--navy-deep, #0C1F3F); border-top: 3px solid var(--red); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.nav-shell ul { display: flex; flex-direction: column; gap: 0; max-width: 480px; margin: 0; padding: 0; list-style: none; }
.nav-shell a { display: block; padding: .75rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); color: white; font-size: .95rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; transition: background .15s; }
.nav-shell a:hover { color: white; background: rgba(255,255,255,.1); }
.nav-shell a[aria-current="page"] { color: var(--red); background: rgba(255,255,255,.06); }
.nav-shell li:last-child > a { border-bottom: none; }
.nav-shell .subnav { display: block; padding: 0 0 .25rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-shell .subnav a { padding: .5rem 1rem; font-size: .85rem; font-weight: 600; border-bottom: none; color: rgba(255,255,255,.75); }
.nav-shell .subnav a:hover { color: white; }

.hero { position: relative; overflow: hidden; color: white; background: var(--navy-deep); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.hero::before { content: ""; position: absolute; width: 38rem; height: 38rem; right: -15rem; top: -20rem; border: 7rem solid var(--red); border-radius: 50%; opacity: .94; }
.hero::after { content: ""; position: absolute; width: 31rem; height: 8rem; right: -6rem; bottom: 0; background: var(--blue); transform: skewX(-32deg); opacity: .9; }
.hero-inner { position: relative; z-index: 1; min-height: min(690px, 78vh); display: grid; align-content: center; padding-block: 5rem; }
.hero h1 { max-width: 940px; color: white; }
.hero h1 span { color: var(--blue); }
.hero .lede { color: #dce7f5; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.2rem; border: 2px solid var(--red); border-radius: .35rem; color: white; background: var(--red); font-weight: 800; text-decoration: none; }
.button:hover { color: white; background: #c9132a; border-color: #c9132a; }
.button.secondary { border-color: rgba(255,255,255,.8); background: transparent; }
.button.secondary:hover { border-color: white; background: white; color: var(--navy); }
.button.light { color: var(--navy); background: white; border-color: white; }
.button.ink { color: white; background: var(--navy); border-color: var(--navy); }
.alert-strip { padding: .7rem 1rem; color: white; background: var(--red); font-weight: 700; text-align: center; }
.alert-strip a { color: white; }

.page-hero { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 7rem) 0 3.5rem; background: var(--ice); }
.page-hero.has-bg { background: var(--navy-deep); color: white; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .15; }
.page-hero.has-bg h1 { color: white; }
.page-hero.has-bg .eyebrow { color: rgba(255,255,255,.7); }
.page-hero.has-bg .lede { color: rgba(255,255,255,.8); }
.page-hero.has-bg::after { color: rgba(255,255,255,.06); }
.page-hero::after { content: "MA"; position: absolute; right: -1rem; bottom: -3.4rem; color: rgba(73,168,220,.13); font-family: "Barlow Condensed", sans-serif; font-size: 15rem; font-weight: 800; line-height: 1; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; font-size: clamp(3.5rem, 8vw, 6.6rem); }

.card-grid { display: grid; gap: 1rem; }
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { position: relative; padding: 1.4rem; border: 1px solid var(--line); border-radius: .6rem; background: white; box-shadow: 0 8px 25px rgba(12,31,63,.04); overflow: hidden; }
.card-thumb { display: block; width: 100%; margin: .5rem 0; border-radius: .35rem; height: 180px; object-fit: cover; object-position: center 20%; }
.card.accent { border-top: 5px solid var(--red); }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--shadow); }
.card .arrow { color: var(--red); font-weight: 800; }
.external-note { display: inline-block; margin-top: .2rem; color: var(--muted); font-size: .72rem; font-weight: 700; }
.number { display: block; margin-bottom: .2rem; color: var(--red); font-family: "Barlow Condensed", sans-serif; font-size: 3.3rem; font-weight: 800; line-height: 1; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { padding: 1.5rem; background: white; }

.event-list { display: grid; gap: .65rem; }
.event-row { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.event-date { color: var(--red); font-family: "Barlow Condensed", sans-serif; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; }
.event-row h3 { margin: 0; font-family: Inter, sans-serif; font-size: 1rem; line-height: 1.3; }
.event-meta, .muted { color: var(--muted); font-size: .85rem; }
.tag { display: inline-flex; padding: .25rem .55rem; border-radius: 99px; color: var(--navy); background: var(--ice); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.month { margin: 0 0 1rem; border: 1px solid var(--line); border-radius: .65rem; background: white; }
.month summary { cursor: pointer; padding: 1.1rem 1.25rem; color: var(--navy); font-family: "Barlow Condensed", sans-serif; font-size: 1.65rem; font-weight: 800; }
.month .event-list { padding: 0 1.25rem 1rem; }

.resource-list { border-top: 1px solid var(--line); }
.resource-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.resource-row:hover { color: var(--red); }
.resource-row span:first-child { display: grid; }
.resource-row small { margin-top: .2rem; color: var(--muted); }
.resource-row span:last-child { color: var(--red); font-size: .75rem; font-weight: 800; text-transform: uppercase; }

.search-box { width: 100%; margin: 0 0 1.5rem; padding: 1rem 1.1rem; border: 2px solid var(--navy); border-radius: .45rem; background: white; }
.club-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .8rem; }
.club-card { padding: 1.15rem; border: 1px solid var(--line); background: white; }
.club-card h2 { font-family: Inter, sans-serif; font-size: 1rem; line-height: 1.35; }
.club-card p { margin: .3rem 0; color: var(--muted); font-size: .82rem; }
.club-card a { font-size: .8rem; font-weight: 700; }

.committee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.member { padding: 1.3rem 0; border-top: 4px solid var(--blue); }
.member h2 { font-size: 1.8rem; }
.member p { color: var(--muted); }
.member-email { display: inline-block; margin-top: .4rem; color: var(--blue); font-size: .85rem; text-decoration: none; }
.member-email:hover { color: var(--red); text-decoration: underline; }
.split { display: grid; gap: 2rem; }
.callout { padding: clamp(1.5rem, 4vw, 3rem); border-left: 7px solid var(--red); color: var(--ink); background: var(--ice); }
.callout strong.big { display: block; color: var(--navy); font-family: "Barlow Condensed", sans-serif; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.3em; }
.prose li { margin-bottom: .6rem; }
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .6rem; margin: 1.5rem 0; }
.level { padding: 1rem; color: white; background: var(--navy); text-align: center; }
.level b { display: block; font-size: 1.15rem; }
.level span { color: #c9def1; font-size: .76rem; }
.source-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }

.site-footer { padding: 4rem max(1rem, calc((100% - 1180px) / 2)); color: #d6e2f2; background: var(--navy-deep); }
.footer-grid { display: grid; gap: 2rem; }
.footer-title { max-width: 480px; color: white; font-family: "Barlow Condensed", sans-serif; font-size: 2.2rem; font-weight: 700; line-height: 1; }
.site-footer a { color: white; font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer p { margin-bottom: .55rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .75rem; }

@media (min-width: 1000px) {
  .nav-shell > summary { display: none; }
  .nav-shell nav { position: static; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .nav-shell > nav > ul { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; max-width: none; }
  .nav-shell a { padding: .45rem .5rem; font-size: .75rem; color: var(--navy); border-bottom: none; }
  .nav-shell a:hover { color: var(--red); background: var(--ice); }
  .nav-shell a[aria-current="page"] { color: var(--red); background: var(--ice); }
  .nav-shell .has-subnav { position: relative; }
  .nav-shell .subnav { display: none; position: absolute; z-index: 2; top: 100%; right: 0; min-width: 12rem; padding: .4rem; border: 1px solid var(--line); border-radius: .45rem; background: white; box-shadow: var(--shadow); }
  .nav-shell .has-subnav:hover .subnav, .nav-shell .has-subnav:focus-within .subnav { display: block; }
  .nav-shell .subnav a { padding: .55rem .65rem; font-size: .75rem; color: var(--navy); }
  .nav-shell .subnav a:hover { color: var(--red); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: start; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1120px) {
  .nav-shell a { font-size: .75rem; padding-inline: .55rem; }
}

@media (max-width: 620px) {
  .brand img { width: auto; height: 64px; }
  .hero::before { display: none; }
  .event-row { grid-template-columns: 1fr; gap: .25rem; }
  .event-row .tag { justify-self: start; }
  .resource-row { align-items: start; }
  .resource-row small { display: none; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
