:root {
  color-scheme: light;
  --navy: #003145;
  --blue: #005779;
  --green: #007533;
  --muted: #526272;
  --sand: #f0f6f2;
  --paper: #fdfefd;
  --line: #d5e3df;
  --display: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: var(--paper); font: 16px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .5; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(100% - 80px, 1256px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: 8px auto auto 8px; padding: 8px 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: .85rem; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.brand img { width: 49px; height: 49px; object-fit: contain; }
.brand strong { font-size: 1rem; }
.header-inner nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 39px); font-size: .94rem; font-weight: 600; }
.header-inner nav a { text-decoration: none; }
.header-inner nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-banner { display: grid; justify-items: center; padding-block: 14px 23px; text-align: center; }
.home-banner img { width: auto; max-height: clamp(176px, 25vw, 314px); }
.home-banner .eyebrow { margin: 0; justify-content: center; }
.banner-intro { max-width: 58ch; margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .71rem; line-height: 1.45; letter-spacing: .16em; font-weight: 750; text-transform: uppercase; }
.eyebrow > span { flex: 0 0 auto; width: 20px; height: 2px; background: var(--green); }
.eyebrow > .tricolor { width: 29px; height: 8px; border-radius: 2px; box-shadow: inset 0 0 0 1px #142c4320; background: linear-gradient(to right, #223e63 33.333%, #fffdf8 33.333% 66.666%, #c45445 66.666%); }
h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; padding: 8px 17px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 650; line-height: 1.35; font-size: .9rem; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #004562; }
.secondary { border-color: #cfd1cc; background: transparent; }
.section { padding-block: clamp(49px, 6vw, 84px); }
.events { background: var(--sand); border-block: 1px solid var(--line); padding-block: clamp(18px, 3vw, 34px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.section-head h2, .about h2 { font-size: clamp(2.45rem, 5vw, 4rem); margin: 0; }
.section-head > p { color: var(--muted); margin: 0 0 3px; }
.events .section-head { margin-bottom: 12px; }
.events .section-head :is(h1, h2) { font-size: clamp(1.85rem, 3.3vw, 2.55rem); }
.event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.event-card { --date-width: 6rem; --event-gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.event-overview { display: grid; grid-template-columns: minmax(0, var(--date-width)) minmax(0, 1fr) auto; align-items: start; gap: var(--event-gap); padding: 12px 14px; border-radius: inherit; }
summary.event-overview { cursor: pointer; list-style: none; border-radius: 7px; }
summary.event-overview::-webkit-details-marker { display: none; }
summary.event-overview:hover, .event-card details[open] > summary { background: #eaf3ed; }
summary.event-overview:focus-visible { outline-offset: -3px; }
.event-date { color: var(--green); font-size: .88rem; font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.news-card h3 { margin: 0 0 4px; font: 600 clamp(1.24rem, 2vw, 1.55rem)/1.18 var(--display); letter-spacing: -.018em; overflow-wrap: anywhere; }
.event-title { display: block; font-size: 1.03rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.event-meta { display: block; color: var(--muted); font-size: .87rem; margin-top: 2px; }
.event-chevron { align-self: center; width: 9px; height: 9px; margin: 0 3px 4px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); }
.event-card details[open] .event-chevron { margin-bottom: 0; transform: rotate(225deg); }
.event-detail { padding: 10px 14px 12px calc(14px + var(--date-width) + var(--event-gap)); border-top: 1px solid var(--line); font-size: .89rem; }
.event-detail p { color: var(--muted); margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.inline-link { display: inline-block; color: var(--blue); background: none; border: 0; padding: 0; text-align: left; font-weight: 700; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.event-card .inline-link { margin-top: 2px; }
.news-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; min-height: 100%; }
.news-card img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.news-copy { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.news-copy time { font-size: .78rem; font-weight: 750; color: var(--green); margin-bottom: 8px; }
.news-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--muted); margin: 6px 0 17px; font-size: .92rem; }
.news-copy .inline-link { align-self: flex-start; margin-top: auto; }
.feature { margin-bottom: 10px; }
.slide { overflow: hidden; border-radius: 12px; background: var(--blue); color: white; display: grid; grid-template-columns: 1fr 1fr; }
.slide > img { width: 100%; height: 100%; min-height: 285px; object-fit: cover; }
.slide-copy { padding: clamp(25px, 5vw, 70px); align-self: center; }
.slide-copy h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 4vw, 3.45rem); line-height: 1.08; }
.slide-copy .eyebrow { color: #f7bdb2; }
.slide-copy .inline-link { color: white; }
.slide-control { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: .83rem; }
.slide-control button { width: 37px; height: 37px; color: white; border: 1px solid #7c8fa2; background: transparent; border-radius: 50%; }
.slide-control button:hover { background: #37536e; }
.about { display: grid; justify-items: center; gap: 12px; }
.about img { width: min(100%, 820px); height: auto; border-radius: 10px; }
.about p { color: var(--muted); margin: 0; }
footer { border-top: 3px solid var(--green); background: linear-gradient(110deg, var(--navy), #00455f); color: #fff; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-block: 16px; font-size: .85rem; line-height: 1.45; }
.footer-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.footer-identity > div { min-width: 0; }
.footer-mark { flex: 0 0 auto; padding: 4px; background: #fff; border-radius: 7px; }
.footer-inner h2 { font-size: 1.15rem; margin: 0 0 4px; letter-spacing: normal; overflow-wrap: anywhere; }
.footer-inner address { color: #dcebf1; font-style: normal; }
.footer-inner a { overflow-wrap: anywhere; text-underline-offset: 3px; }
.footer-inner a:focus-visible { outline-color: #fff; }
.footer-contact, .footer-links, .preview-edit { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-actions { display: grid; justify-items: end; gap: 5px; }
.footer-form { min-height: 35px; padding: 5px 11px; border-color: #ffffff80; }
.footer-form:hover { background: #ffffff20; }
.footer-links { font-size: .8rem; color: #dcebf1; }
.empty { grid-column: 1 / -1; padding: 18px; border: 1px dashed var(--line); color: var(--muted); }

.preview-bar { background: var(--sand); border-bottom: 1px solid var(--line); font-size: .85rem; }
.preview-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-block: 7px; }
.preview-bar a { text-underline-offset: 3px; }
.section-head h1 { font-size: clamp(2.45rem, 5vw, 4rem); margin: 0; }
.article-page { max-width: 790px; }
.article-page h1 { font-size: clamp(2.7rem, 7vw, 4.9rem); margin: 12px 0; overflow-wrap: anywhere; }
.article-page time { display: block; color: var(--green); font-size: .9rem; font-weight: 750; margin-bottom: 16px; }
.article-page img { width: 100%; max-height: 450px; object-fit: cover; border-radius: 8px; }
.detail-text { white-space: pre-wrap; overflow-wrap: anywhere; }

.membership { max-width: 1120px; }
.membership-intro h1 { font-size: clamp(2.05rem, 5vw, 3.8rem); margin: .2rem 0 .5rem; }
.membership-intro > p:last-child { color: var(--muted); margin: 0 0 1.5rem; }
.membership-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.membership-summary, .membership-form { border: 1px solid var(--line); border-radius: 12px; padding: clamp(16px, 3vw, 30px); background: #fff; }
.membership-summary { grid-column: 2; grid-row: 1; background: var(--sand); }
.membership-form { grid-column: 1; grid-row: 1; scroll-margin-top: 8rem; }
.membership-summary h2, .membership-form h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 0 0 .65rem; }
.membership-rates { margin: 0 0 .85rem; }
.membership-rates > div { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.membership-rates dd { margin: 0; white-space: nowrap; font-weight: 750; }
.membership-summary summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.membership-summary address { margin: .65rem 0; font-style: normal; }
.membership-summary p { margin: .65rem 0 0; }
.membership-form fieldset { min-inline-size: 0; margin: 1.3rem 0; padding: .8rem 0 0; border: 0; border-top: 1px solid var(--line); }
.membership-form legend { padding: 0 .5rem 0 0; font-weight: 750; }
.membership-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.membership-fields label, .membership-consent { font-size: .93rem; }
.membership-fields input, .membership-fields select, .membership-fields textarea { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: .2rem; padding: .55rem .65rem; border: 1px solid #859ca6; border-radius: 6px; background: #fff; color: var(--navy); font: inherit; font-size: 1rem; }
.contact-page { max-width: 760px; }
.contact-message { grid-column: 1 / -1; }
.contact-message textarea { resize: vertical; }
.membership-consent label { display: flex; align-items: baseline; gap: .55rem; }
.membership-consent input { flex: 0 0 auto; accent-color: var(--green); }
.membership-consent a { display: inline-block; margin: .25rem 0 1rem; }
.membership-required { color: var(--muted); font-size: .85rem; }
.membership-status:empty { margin: 0; }
.membership-status[data-state="success"] { color: var(--green); }
.membership-status[data-state="error"] { color: #a12323; }
.membership-form button:disabled { opacity: .7; cursor: default; }

@media (max-width: 780px) {
  .membership-layout { grid-template-columns: minmax(0, 1fr); }
  .membership-summary, .membership-form { grid-column: auto; grid-row: auto; }
}
@media (max-width: 530px) {
  .membership-fields { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 920px) {
  .wrap { width: calc(100% - 48px); }
  .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; gap: 10px 6px; padding-block: 10px; }
  .header-inner nav { order: 3; width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 4px 6px; border-top: 1px solid var(--line); padding-top: 7px; font-size: .84rem; }
}
@media (max-width: 670px) {
  .wrap { width: calc(100% - 36px); }
  .brand img { width: 39px; height: 39px; }
  .event-list, .slide { grid-template-columns: 1fr; }
  .event-list { gap: 6px; }
  .event-card { --date-width: 4.7rem; --event-gap: 8px; }
  .event-overview { min-height: 44px; padding: 7px 10px; }
  .event-title { font-size: .96rem; }
  .event-meta { font-size: .82rem; }
  .event-detail { padding: 7px 10px 9px; }
  .footer-inner { gap: 8px; padding-block: 10px; font-size: .81rem; }
  .footer-identity { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 9px; }
  .footer-mark { width: 42px; padding: 3px; }
  .footer-identity > div { display: contents; }
  .footer-identity h2 { margin: 0; font-size: 1rem; }
  .footer-identity address, .footer-contact { grid-column: 1 / -1; }
  .footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .footer-form { min-height: 36px; padding-inline: 8px; font-size: .81rem; }
  .footer-links { gap: 4px 10px; }
  .section-head { align-items: start; flex-wrap: wrap; gap: 10px; margin-bottom: 19px; }
  .news-list { gap: 10px; }
  .news-copy { padding: 12px; }
  .news-card h3 { font-size: 1.12rem; }
  .news-copy p { font-size: .83rem; }
  .slide > img { min-height: 0; max-height: 230px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.site-header { background: #fff; border-top: 4px solid var(--blue); }
.header-inner nav { color: var(--blue); }
.header-inner nav a { padding-block: .4rem; }
.member { background: var(--green); color: #fff; white-space: nowrap; }
.member:hover { background: #014820; }
.event-card, .news-card { background: #fff; }
.event-card { box-shadow: 0 2px 12px #00314508; }
.club { display: grid; gap: 1.6rem; }
.club .section-head { margin: 0; }
.club .section-head p:not(.eyebrow), .partner p { margin-bottom: 0; color: var(--muted); }
.club-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.club-grid article { border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.15rem; }
.club-grid h3 { font-size: 1rem; margin: 0; }
.club-grid p { margin: .3rem 0 0; color: var(--muted); }
.club-support { border: 1px solid var(--line); border-inline-start: 4px solid var(--green); border-radius: 10px; padding: 1rem 1.2rem; background: #fff; }
.club-support h3 { margin: 0 0 .65rem; }
.club-support ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .6rem 1.4rem; padding-inline-start: 1.1rem; margin: 0; }
.club-support li { padding-inline-start: .2rem; }
.club-support li::marker { color: var(--green); }
.club .about { margin-top: 1.6rem; }
.partner { background: var(--sand); border-inline-start: 4px solid var(--green); border-radius: 6px; padding: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.partner h2 { margin: 0; }
.article-page img { object-fit: contain; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 14px; margin: 1.25rem 0; }
.article-gallery a { display: grid; place-items: center; background: var(--sand); border-radius: 8px; }
.article-gallery img { aspect-ratio: 4 / 3; width: 100%; object-fit: contain; }
@media (max-width: 670px) {
  .header-inner .member { font-size: .78rem; padding-inline: .65rem; }
  .header-inner .brand { gap: 6px; }
  .header-inner .brand strong { font-size: .9rem; }
}
@media (max-width: 400px) {
  .event-overview { grid-template-columns: minmax(0, 1fr) auto; row-gap: 3px; }
  .event-date { grid-area: 1 / 1; line-height: 1.25; }
  .event-copy { grid-area: 2 / 1 / 3 / -1; }
  .event-chevron { grid-area: 1 / 2; }
  .footer-actions, .footer-links { column-gap: 7px; }
  .footer-form { gap: 5px; padding-inline: 6px; white-space: nowrap; }
  .footer-form span { display: none; }
}
