@font-face { font-family: "Source Serif"; src: url(/assets/fonts/source-serif-4-latin-wght-normal.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #102a4c;
  --navy-deep: #0b1f39;
  --gold: #b8903a;
  --gold-text: #7a5a14;
  --paper: #fbf9f4;
  --paper-2: #f3efe5;
  --ink: #1c2027;
  --muted: #565c65;
  --rule: #e2dccf;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --measure: 44rem;
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scroll-padding-top: 7rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: 0.6rem 1rem; }

.wrap { width: min(80rem, 100% - 3rem); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin: 0; }
h2 { font-size: clamp(1.55rem, 2.6vw, 1.9rem); margin: 2.75rem 0 0.9rem; }
h3 { font-size: 1.3rem; margin: 2.2rem 0 0.5rem; }
p { margin: 0 0 1.1rem; text-wrap: pretty; }
h1, h2, h3, .lede { text-wrap: balance; }
.eyebrow { font: 600 0.95rem/1.3 var(--sans); color: var(--gold-text); margin: 0 0 0.9rem; }

/* Masthead */
.masthead { background: var(--navy-deep); position: sticky; top: 0; z-index: 20; }
.masthead .wordmark .name { color: #fff; }
.masthead .wordmark .tag { color: #aebbcc; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.5rem; }
.brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.brand img { width: 3.5rem; height: 3.5rem; }
.wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark .name { font: 600 1.45rem/1 var(--serif); color: var(--navy); letter-spacing: 0.06em; }
.wordmark .tag { font: 500 0.85rem/1.2 var(--sans); color: var(--muted); margin-top: 0.3rem; letter-spacing: 0.01em; }

.nav > ul { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a { display: block; padding: 0.6rem 0.85rem; font-size: 0.95rem; font-weight: 500; color: #dfe5ee; text-decoration: none; }
.nav > ul > li > a:hover, .nav > ul > li:focus-within > a { color: #fff; }
.nav > ul > li > a.is-active { color: #fff; box-shadow: inset 0 -2px 0 #e6cf95; }
.menu { display: none; position: absolute; top: 100%; left: 0; min-width: 16rem; list-style: none; margin: 0; padding: 0.5rem 0; background: #fff; border: 1px solid var(--rule); box-shadow: 0 16px 40px rgb(16 42 76 / 0.1); }
.has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }
.menu a { display: block; padding: 0.5rem 1.1rem; font-size: 0.95rem; color: var(--ink); text-decoration: none; }
.menu a:hover { background: var(--paper); color: var(--navy); }
.menu a[aria-current] { color: var(--navy); font-weight: 600; }

.nav-mobile { display: none; }
.nav-mobile summary { list-style: none; cursor: pointer; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span, .nav-mobile summary span::before, .nav-mobile summary span::after { content: ""; display: block; width: 1.4rem; height: 1.5px; background: #fff; position: relative; transition: transform 0.2s; }
.nav-mobile summary span::before { position: absolute; top: -0.45rem; }
.nav-mobile summary span::after { position: absolute; top: 0.45rem; }
.nav-mobile[open] summary span { background: transparent; }
.nav-mobile[open] summary span::before { top: 0; transform: rotate(45deg); }
.nav-mobile[open] summary span::after { top: 0; transform: rotate(-45deg); }
.nav-mobile nav { position: absolute; inset: 100% 0 auto; background: var(--navy-deep); border-top: 1px solid rgb(255 255 255 / 0.12); padding: 0.5rem 1.5rem 2rem; max-height: calc(100dvh - 4.5rem); overflow-y: auto; box-shadow: 0 20px 40px rgb(16 42 76 / 0.08); }
.nav-mobile .group { padding: 0.9rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.nav-mobile .group p { font: 600 0.95rem/1 var(--sans); color: #e6cf95; margin: 0.2rem 0 0.5rem; }
.nav-mobile a { display: block; padding: 0.4rem 0; color: #dfe5ee; text-decoration: none; }
.nav-mobile a.solo { font: 600 1.15rem var(--serif); color: #fff; }
.nav-mobile a[aria-current] { color: #fff; font-weight: 600; }

@media (max-width: 62rem) {
  .nav { display: none; }
  .nav-mobile { display: block; }
  .bar { min-height: 4.5rem; }
  .brand img { width: 2.9rem; height: 2.9rem; }
  .wordmark .name { font-size: 1.25rem; }
}

/* Hero and page heads */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-deep); padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.hero picture, .hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(11 31 57 / 0.94) 0%, rgb(11 31 57 / 0.8) 45%, rgb(11 31 57 / 0.25) 100%); }
@media (max-width: 48rem) { .hero::before { background: rgb(11 31 57 / 0.8); } }
.hero .eyebrow { color: #e6cf95; }
.hero h1 { color: #fff; max-width: 19ch; font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
.hero-text { font-size: 1.2rem; color: #dfe5ee; max-width: 34rem; margin: 1.4rem 0 2.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn { display: inline-block; padding: 0.85rem 1.6rem; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; text-decoration: none; border-radius: 2px; transition: background 0.2s; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--paper-2); }
.btn.outline { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.7); }
.btn.outline:hover { background: rgb(255 255 255 / 0.1); }

/* Page layout: title column + content column */
.page { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 5rem); }
.page-head { margin-bottom: 2rem; }
.page-head h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); }
.lede { font: 400 clamp(1.1rem, 1.8vw, 1.25rem)/1.55 var(--serif); color: var(--muted); margin: 1rem 0 0; max-width: 40rem; }
@media (min-width: 62rem) {
  .page { display: grid; grid-template-columns: minmax(16rem, 1fr) minmax(0, 48rem); column-gap: clamp(3rem, 5vw, 5.5rem); align-items: start; }
  .page-head { position: sticky; top: 7.5rem; margin: 0; }
  .page-full { grid-template-columns: 1fr; }
  .page-full .page-head { position: static; margin-bottom: 2rem; display: grid; grid-template-columns: minmax(16rem, 1fr) minmax(0, 48rem); column-gap: clamp(3rem, 5vw, 5.5rem); align-items: end; }
  .page-full .page-head .eyebrow { grid-column: 1 / -1; }
  .page-full .lede { margin: 0; }
}

.content > :first-child { margin-top: 0; }
.content > .calendar { max-width: none; }
.content ul, .content ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.content li { margin: 0.35rem 0; }
.content li::marker { color: var(--gold-text); }
.content strong { font-weight: 600; }
.content h2 { margin: 2.75rem 0 0.9rem; }
.content h3 { margin: 1.8rem 0 0.4rem; }
.intro { font: 400 1.3rem/1.55 var(--serif); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* Home: split sections */
.split { padding-block: clamp(2.75rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.split:first-child { border-top: 0; }
.split h2 { margin: 0 0 1rem; }
.split-head .muted { max-width: 22rem; }
.split-body > :last-child { margin-bottom: 0; }
@media (min-width: 62rem) {
  .split { display: grid; grid-template-columns: minmax(16rem, 1fr) minmax(0, 48rem); column-gap: clamp(3rem, 5vw, 5.5rem); }
}

.note { border-left: 2px solid var(--gold); background: var(--paper-2); padding: 1.1rem 1.4rem; margin: 1.75rem 0; }
.note p:last-child { margin: 0; }

/* Index list: navigation rows separated by fine rules */
.index { list-style: none; padding: 0; margin: 1.5rem 0 2rem; border-top: 1px solid var(--rule); }
.index li { margin: 0; border-bottom: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: 1fr auto; column-gap: 1.5rem; align-items: center; padding: 1.3rem 0; text-decoration: none; color: inherit; }
.index .t { font: 600 1.3rem/1.25 var(--serif); color: var(--navy); }
.index .d { grid-column: 1; color: var(--muted); margin-top: 0.3rem; }
.index a::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 0.5rem; height: 0.5rem; margin-right: 0.3rem; border-top: 1.5px solid var(--gold-text); border-right: 1.5px solid var(--gold-text); transform: rotate(45deg); transition: translate 0.2s; }
.index a:hover .t { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.index a:hover::after { translate: 3px 0; }
/* Pictured index: photo, title and line on a shared left edge */
.pictured a { grid-template-columns: 8rem 1fr auto; padding: 1rem 0; }
.pictured picture, .pictured img, .pictured .ph { grid-column: 1; grid-row: 1 / span 2; }
.pictured img { width: 8rem; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }
.pictured .ph { display: grid; place-items: center; width: 8rem; aspect-ratio: 4 / 3; background: var(--navy-deep); }
.pictured .ph img { width: 3rem; aspect-ratio: 1; }
.pictured .t, .pictured .d { grid-column: 2; align-self: end; }
.pictured .d { align-self: start; }
.pictured a::after { grid-column: 3; }
@media (max-width: 36rem) {
  .pictured a { grid-template-columns: 5.5rem 1fr auto; column-gap: 1rem; }
  .pictured img, .pictured .ph { width: 5.5rem; }
  .pictured .ph img { width: 2.2rem; }
  .pictured .t { font-size: 1.15rem; }
  .pictured .d { font-size: 0.95rem; line-height: 1.5; }
}

/* Directory rows (contacts, addresses) */
.directory { margin: 1rem 0 2rem; border-top: 1px solid var(--rule); }
.directory div { display: grid; grid-template-columns: minmax(9rem, 15rem) 1fr; gap: 0.2rem 1.5rem; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); }
.directory dt { font-weight: 600; }
.directory dd { margin: 0; overflow-wrap: anywhere; }
.directory dd span { display: block; color: var(--muted); }
@media (max-width: 36rem) { .directory div { grid-template-columns: 1fr; } }

/* Membership at a glance */
.content .glance { list-style: none; padding: 0; margin: 2.5rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; counter-reset: g; }
.content .glance li { margin: 0; padding-top: 1rem; border-top: 1px solid var(--navy); counter-increment: g; }
.glance li::before { content: counter(g, decimal-leading-zero); display: block; font: 600 0.9rem/1 var(--sans); letter-spacing: 0.1em; color: var(--gold-text); margin-bottom: 0.6rem; }
.glance strong { display: block; font: 600 1.15rem/1.3 var(--serif); color: var(--navy); }
.glance span { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; }
@media (max-width: 40rem) { .content .glance { grid-template-columns: repeat(2, 1fr); } }

/* Licensing timelines */
.timeline { margin: 2.5rem 0 3rem; }
.timeline h3 { margin: 0 0 0.5rem; }
.phase .when { font: 600 1rem/1 var(--sans); color: var(--gold-text); margin: 1.8rem 0 1rem; }
.content .phase ol { list-style: none; padding: 0; margin: 0; }
.content .phase li { position: relative; margin: 0 0 0 0.35rem; padding: 0 0 1.4rem 1.6rem; border-left: 1px solid var(--rule); }
.content .phase li:last-child { padding-bottom: 0.4rem; }
.phase li::before { content: ""; position: absolute; left: -0.33rem; top: 0.55rem; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold); }
.phase li strong { display: block; }
.phase li span { display: block; color: var(--muted); }

/* FAQ */
details.faq { border-bottom: 1px solid var(--rule); }
details.faq:first-of-type { border-top: 1px solid var(--rule); }
details.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.25rem 2.5rem 1.25rem 0; font: 600 1.2rem/1.35 var(--serif); color: var(--navy); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 1.6rem; width: 0.55rem; height: 0.55rem; border-right: 1.5px solid var(--gold-text); border-bottom: 1.5px solid var(--gold-text); transform: rotate(45deg); transition: transform 0.2s; }
details.faq[open] summary::after { transform: rotate(-135deg); top: 1.85rem; }
details.faq > :last-child { margin-bottom: 1.4rem; }

/* Range closures */
.content .status { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--rule); }
.content .status li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.2rem 1.5rem; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.status .name { font-weight: 600; }
.status .closed { color: #9b1c22; font-weight: 600; }
.status .none { color: var(--muted); }

/* Media */
.content .gallery { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; }
.content .gallery li { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery span { display: block; margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }
@media (min-width: 40.01rem) {
  .gallery:has(> li:last-child:nth-child(3n + 2)) > li:first-child,
  .gallery:has(> li:last-child:nth-child(3n + 1)) > li:is(:first-child, :last-child) { grid-column: span 2; }
  .gallery:has(> li:last-child:nth-child(3n + 2)) > li:first-child img,
  .gallery:has(> li:last-child:nth-child(3n + 1)) > li:is(:first-child, :last-child) img { aspect-ratio: 2.75; }
}
@media (max-width: 40rem) {
  .content .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery:has(> li:last-child:nth-child(odd)) > li:last-child { grid-column: span 2; }
  .gallery:has(> li:last-child:nth-child(odd)) > li:last-child img { aspect-ratio: 2.8; }
}
figure { margin: 2rem 0; }
figure img { border: 1px solid var(--rule); }
figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }

.calendar { margin: 0 0 3rem; border: 1px solid var(--rule); background: #fff; }
.calendar iframe { display: block; width: 100%; height: 80rem; border: 0; }
@media (max-width: 48rem) { .calendar iframe { height: 80dvh; } }
.subscribe { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* Footer */
.footer { background: var(--navy-deep); color: #c9d2de; padding: clamp(2.75rem, 6vw, 4rem) 0 1.75rem; font-size: 0.95rem; }
.footer a { color: #fff; text-decoration-color: rgb(230 207 149 / 0.6); }
.footer .wordmark .name { color: #fff; }
.footer .wordmark .tag { color: #aebbcc; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer .label { font: 600 0.95rem/1 var(--sans); color: #e6cf95; margin: 0.4rem 0 0.9rem; }
.footer-cols p { margin: 0; line-height: 1.9; }
.footer-note { max-width: var(--measure); margin: 2rem 0 1rem; color: #aebbcc; }
.footer-fine { margin: 0; color: #aebbcc; font-size: 0.875rem; }
@media (max-width: 52rem) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 36rem) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* Cross-document page transitions: CSS only, never under reduced motion */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .masthead { view-transition-name: masthead; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (forced-colors: active) {
  .hero::before { display: none; }
  .index a::after, details.faq summary::after { border-color: CanvasText; }
  .btn { border: 1px solid ButtonText; }
}
@media print {
  .masthead, .skip, .footer-top, .hero-img, .hero picture, .actions, .calendar, .subscribe { display: none !important; }
  :root { font-size: 11pt; }
  body, .hero, .footer { background: #fff; color: #000; }
  .hero::before { display: none; }
  .hero h1, .hero-text, .footer a { color: #000; }
  .page { display: block; padding: 0; }
  .page-head { position: static; }
  .wrap { width: auto; }
  details.faq::details-content { content-visibility: visible; display: block; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #444; word-break: break-all; }
  details.faq summary::after, .index a::after { display: none; }
  h2, h3 { break-after: avoid; }
  li, figure, .note { break-inside: avoid; }
}
@media (max-width: 30rem) {
  .masthead .wordmark .tag { display: none; }
  .btn { padding: 0.8rem 1.15rem; }
}
