:root {
  --ink: #172128;
  --muted: #617078;
  --paper: #f4f6f5;
  --line: #dce2df;
  --red: #c7263a;
  --green: #2f7d55;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: white; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, summary, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.7; }
.container { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; left: 18px; top: -80px; z-index: 20; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 24px 48px; color: white; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 78px; height: auto; }
.header-action { padding: 10px 0 10px 16px; font-size: 13px; font-weight: 750; text-transform: uppercase; }
.header-action:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { --hero-expanded-height: max(580px, min(760px, calc(100svh - 150px))); --hero-collapsed-height: 140px; position: relative; display: grid; align-content: center; height: auto; min-height: var(--hero-expanded-height); overflow: clip; color: white; background: #253e49; }
.hero-picture, .hero-image, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { height: 100%; min-height: var(--hero-expanded-height); object-fit: cover; object-position: 58% center; transform: translateY(0); }
.hero-scrim { background: linear-gradient(90deg, rgba(4, 22, 31, .8), rgba(4, 22, 31, .42) 48%, rgba(4, 22, 31, .06)), linear-gradient(0deg, rgba(4, 22, 31, .25), transparent 60%); }
.hero-content { position: relative; padding-block: 116px 98px; }
.eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hero .eyebrow { color: #e2eef1; margin-bottom: 22px; }
.hero h1 { font-size: 72px; line-height: 1.06; font-weight: 760; margin-bottom: 22px; }
.hero h1 span { display: block; }
.hero-intro { max-width: 620px; font-size: 16px; color: #e1e8eb; }
.hero-note { position: relative; justify-self: end; max-width: 275px; margin: 0 48px 34px; padding-left: 17px; border-left: 3px solid #dda94e; }
.hero-note > span { font-size: 12px; font-weight: 700; color: #ffcd76; }
.hero-note strong { display: block; margin-block: 5px; font-size: 20px; }
.hero-note p { font-size: 13px; line-height: 1.5; color: #e1e8eb; }
.hero-note:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.main-menu { border-bottom: 1px solid var(--line); background: white; }
.menu-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.menu-grid > a { display: flex; align-items: center; min-height: 74px; padding: 15px 16px; border-right: 1px solid var(--line); transition: background .15s; }
.menu-grid > a:first-child { border-left: 1px solid var(--line); }
.menu-grid strong { font-size: 18px; line-height: 1.25; font-weight: 650; }
.menu-grid > a:hover, .menu-grid > a[aria-current] { background: #f0f5f2; }
.menu-grid > a[aria-current] { box-shadow: inset 0 -3px var(--green); }

.updates { padding: 60px 0 72px; background: var(--paper); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
h2 { font-size: 30px; line-height: 1.25; font-weight: 700; }
.inline-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-weight: 650; font-size: 14px; min-height: 36px; }
.inline-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.news-item { min-width: 0; }
.news-image { display: block; aspect-ratio: 1.85; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.news-image:hover img { transform: scale(1.025); }
.news-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 20px 0 12px; font-size: 12px; font-weight: 700; color: var(--green); }
.news-meta span { color: var(--muted); font-weight: 400; }
.news-item h3 { font-size: 23px; line-height: 1.3; margin-bottom: 12px; }
.news-item h3 a:hover { color: var(--green); }
.news-item > p:not(.news-meta) { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; }
.footer-inner strong { display: block; font-weight: 650; }
.footer-inner div > a { display: inline-block; margin-top: 8px; color: var(--muted); }
.footer-inner > a { white-space: nowrap; }
.footer-inner a:hover { color: var(--green); }

/* The photo keeps its scale while sliding behind the compact header. */
body.is-inner .hero { height: auto; min-height: var(--hero-collapsed-height); }
body.is-inner .hero-image { transform: translateY(calc((var(--hero-collapsed-height) - var(--hero-expanded-height)) * .42)); }
body.is-navigating { overflow-anchor: none; }
body.is-navigating .hero { min-height: 0; }
body.is-inner .hero-content, body.is-inner .hero-note { display: none; }
.page-section { padding-block: 28px 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 12px; color: var(--muted); margin-bottom: 32px; line-height: 1.7; }
.breadcrumbs a:hover { color: var(--green); text-decoration: underline; }
.breadcrumbs span[aria-hidden] { color: #9aa8a1; }
.page-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 60px; align-items: start; }
.section-sidebar { border-top: 3px solid var(--green); padding-top: 18px; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list a { display: block; padding: 10px 12px; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; border-left: 2px solid transparent; }
.sidebar-list a:hover { background: var(--paper); }
.sidebar-list a[aria-current="page"] { color: var(--green); border-left-color: var(--green); background: #eff5f1; font-weight: 700; }
.sidebar-list summary { display: flex; align-items: stretch; list-style: none; cursor: pointer; }
.sidebar-list summary::-webkit-details-marker { display: none; }
.sidebar-list summary a { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sidebar-branch-icon { flex: 0 0 38px; min-height: 40px; background: url('icons/chevron-down.svg') center / 18px no-repeat; transform: rotate(-90deg); }
.sidebar-list details[open] > summary .sidebar-branch-icon { transform: none; }
.sidebar-list summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.sidebar-list ul { list-style: none; margin: 0 0 8px 14px; padding: 0 0 0 8px; border-left: 1px solid var(--line); }
.sidebar-toggle { display: none; }
.page-content { min-width: 0; max-width: 960px; }
.page-content > .eyebrow { color: var(--green); margin-bottom: 12px; }
.page-content h1 { font-size: 36px; line-height: 1.15; margin-bottom: 28px; overflow-wrap: anywhere; }
.page-content h2 { font-size: 28px; margin: 28px 0 18px; overflow-wrap: anywhere; }
#page-title:focus { outline: none; }
.page-content h3 { font-size: 23px; margin: 28px 0 14px; }
.page-content .rich-content > :is(h2, h3):first-child { margin-top: 0; }
.page-content p { margin-bottom: 18px; color: #4c5b63; font-size: 16px; }
.page-content .lead { font-size: 19px; line-height: 1.6; color: var(--ink); }
.page-content .body-image { width: 100%; aspect-ratio: 2; object-fit: cover; margin: 26px 0; }
.page-content .inline-link { margin: 2px 0 12px; }
.page-content ul:not(.child-links) { padding-left: 22px; line-height: 1.8; color: #4c5b63; }
.page-content .content-note { border-left: 3px solid var(--line); padding: 12px 0 12px 18px; font-size: 15px; }
.child-links { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.child-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 2px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.child-links a:hover { color: var(--green); }
.child-links span { color: var(--green); }
.event-list { margin-top: 26px; }
.event-row { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--line); padding: 24px 0; }
.event-date { color: var(--green); font-size: 13px; font-weight: 600; }
.event-date strong { display: block; font-size: 24px; margin-block: 4px; }
.event-row h3 { margin: 0 0 8px; }
.event-row p { margin: 0; font-size: 15px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 26px 0; }
.gallery-grid button { padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.gallery-grid img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.gallery-grid span { display: block; padding-top: 10px; font-size: 13px; color: var(--muted); }
.photo-dialog { border: 0; border-radius: 4px; padding: 16px; max-width: min(1100px, calc(100% - 32px)); max-height: calc(100svh - 32px); background: white; }
.photo-dialog::backdrop { background: rgba(9, 18, 23, .88); }
.photo-dialog img { max-height: calc(100svh - 145px); width: auto; margin: auto; object-fit: contain; }
.photo-dialog form { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.photo-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); background: white; }
.photo-dialog p { padding-top: 10px; font-size: 14px; }
body:has(.photo-dialog[open]) { overflow: hidden; }

@media (max-width: 1250px) {
  .container { width: calc(100% - 72px); }
  .hero h1 { font-size: 60px; }
  .hero-note { right: 36px; max-width: 245px; }
  .page-layout { gap: 36px; grid-template-columns: 260px minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .hero h1 { font-size: 50px; }
  .hero-intro { max-width: 540px; }
  .hero-note { max-width: 210px; bottom: 24px; }
  .hero-content { padding-bottom: 130px; }
  .menu-grid { display: flex; flex-wrap: wrap; }
  .menu-grid > a { flex: 1 1 22%; min-height: 52px; border-bottom: 1px solid var(--line); }
  .news-grid { gap: 24px; }
  .news-item h3 { font-size: 20px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .site-header { padding: 20px; }
  .hero { --hero-expanded-height: max(565px, min(700px, calc(100svh - 90px))); --hero-collapsed-height: 128px; }
  .hero-image { object-position: 66% center; }
  .hero-scrim { background: linear-gradient(90deg, rgba(4, 22, 31, .75), rgba(4, 22, 31, .32)), linear-gradient(0deg, rgba(4, 22, 31, .5), transparent 65%); }
  .hero-content { padding: 90px 0 125px; }
  .hero .eyebrow { max-width: 280px; font-size: 10px; line-height: 1.6; margin-bottom: 22px; }
  .hero h1 { font-size: 30px; line-height: 1.12; margin-bottom: 20px; }
  .hero-intro { font-size: 14px; max-width: 450px; }
  .hero-note { left: 20px; right: 20px; bottom: 24px; max-width: none; padding-left: 12px; }
  .hero-note strong { font-size: 17px; }
  .hero-note p { font-size: 12px; }
  .menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-grid > a { min-height: 48px; padding: 12px; border-left: 0; }
  .menu-grid > a:nth-child(odd) { border-left: 1px solid var(--line); }
  .menu-grid > a:last-child:nth-child(odd) { grid-column: 1 / -1; border-bottom: 0; }
  .updates { padding: 36px 0 42px; }
  h2 { font-size: 25px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading .inline-link { margin-top: 8px; }
  .news-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-item { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .news-item:last-child { border: 0; padding: 0; }
  .news-item h3 { font-size: 23px; }
  .footer-inner { display: block; line-height: 1.6; }
  .footer-inner > a { display: inline-block; margin-top: 20px; }
  .page-section { padding-block: 20px 44px; }
  .breadcrumbs { margin-bottom: 20px; }
  .page-layout { grid-template-columns: 1fr; gap: 28px; }
  .section-sidebar { padding-top: 0; }
  .sidebar-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: white; color: var(--ink); font-size: 18px; font-weight: 700; text-align: left; }
  .sidebar-toggle[aria-expanded="true"] img { transform: rotate(180deg); }
  .sidebar-toggle[aria-expanded="false"] + nav { display: none; }
  .page-content h1 { font-size: 29px; }
  .page-content h2 { font-size: 24px; }
  .page-content .lead { font-size: 18px; }
  .page-content .body-image { aspect-ratio: 1.5; }
  .event-row { grid-template-columns: 75px minmax(0, 1fr); gap: 16px; }
  .gallery-grid { gap: 12px; }
}
@media (max-width: 374px) {
  .hero h1 { font-size: 26px; }
  .hero { --hero-expanded-height: max(535px, min(700px, calc(100svh - 90px))); }
}
@media (max-height: 650px) and (min-width: 721px) {
  .hero { --hero-expanded-height: max(450px, calc(100svh - 90px)); }
  .hero-content { padding-block: 100px 85px; }
  .hero h1 { font-size: 44px; }
  .hero-intro { font-size: 14px; max-width: 570px; }
  .hero-note { max-width: 210px; bottom: 20px; }
}
@media (max-height: 500px) and (min-width: 721px) {
  .site-header { padding-block: 12px; }
  .hero { --hero-expanded-height: calc(100svh - 52px); }
  .hero-content { padding-block: 72px 28px; }
  .hero .eyebrow { margin-bottom: 10px; font-size: 10px; }
  .hero h1 { font-size: 32px; margin-bottom: 12px; }
  .hero-intro { max-width: 480px; font-size: 12px; line-height: 1.5; }
  .hero-note { max-width: 180px; right: 24px; bottom: 24px; }
  .hero-note strong { font-size: 16px; }
  .hero-note p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
