@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-variable.woff2') format('woff2');
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}
/* Source stylesheet — no build step.
   Secondary: cream 60% / primary: royal blue 30% / highlight: apricot 10%.
   Visual weighting, not a pixel quota; photography keeps its original colors. */
:root {
    --color-secondary: #f7f0df;
    --color-highlight: #ffbf9b;
    --color-highlight-hover: #ffae81;
    --color-highlight-pressed: #ffa16d;
    --color-on-primary: #fffcf5;
    --color-text-strong: #20252d;
    --color-primary: #4169e1;
    --color-primary-hover: #3152c4;
    --color-primary-pressed: #2946a9;
    --color-primary-soft: #edf1fc;
    --color-surface-soft: #eee5d3;
    --color-surface: #fffcf5;
    --color-text: var(--color-text-strong);
    --color-text-muted: #5b5a55;
    --color-border: #d7cebd;
    --color-on-dark: #f5f6f8;
    --color-on-dark-muted: #c5cbd5;
    --color-border-dark: #59616e;
    --color-focus: var(--color-primary-hover);
    --radius-control: 12px;
    --radius-card: 24px;
    --shadow-card: 0 8px 16px rgb(30 63 145 / 8%);
    --ease-out: cubic-bezier(.23, 1, .32, 1);
    --duration-hover: 180ms;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;
    --text-caption: .875rem;
    --text-body: 1rem;
    --text-lead: 1.25rem;
    --text-h3: 1.5625rem;
    --text-h2: clamp(1.953125rem, 3.2vw, 3.05175rem);
    --text-h1: clamp(2.4414rem, 4.8vw, 4.7684rem);
    --sans: 'Manrope', 'Segoe UI', Arial, sans-serif;
    --wrap: 1200px;
    --gutter: clamp(24px, 4vw, 64px);
    --section-space: var(--space-10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height, 96px) + 16px); }
body { margin: 0; background: var(--color-secondary); color: var(--color-text); font: var(--text-body)/1.6 var(--sans); overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }
button, .button { user-select: none; -webkit-user-select: none; }
:is(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--color-focus); outline-offset: 5px; }
p { margin: 0 0 var(--space-3); }
h1, h2, h3, h4 { margin: 0 0 var(--space-3); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-lead); }
:is(h2, h3) a { text-decoration: none; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: var(--wrap); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding-block: var(--section-space); }
.section + .section:not(.archive-section):not(.gallery-section) { padding-top: var(--space-6); }
.eyebrow { color: var(--color-text-muted); margin: 0 0 var(--space-2); font-size: var(--text-caption); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.index-label { color: var(--color-text-muted); font-size: var(--text-caption); font-weight: 400; }
.lead, .hero-intro { max-width: 54ch; font-size: var(--text-lead); line-height: 1.6; color: var(--color-text-muted); }
.section-intro { max-width: 38ch; color: var(--color-text-muted); }
.prose { max-inline-size: 65ch; line-height: 1.65; color: var(--color-text-muted); overflow-wrap: anywhere; }
.prose p:last-child { margin-bottom: 0; }
.prose :is(h2, h3) { color: var(--color-text); }
.prose a:not(.button) { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 12px var(--space-3); background: var(--color-primary); color: #fff; border: 1px solid var(--color-primary); border-radius: var(--radius-control); font-size: var(--text-body); font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; transition: background .18s, border-color .18s; }
.button-outline { background: transparent; border-color: currentColor; color: var(--color-text); }
.button-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.button svg { flex-shrink: 0; }
.button:active, .nav-list .nav-cta a:active, .hero-link:active .round-arrow { background: var(--color-highlight-pressed); border-color: var(--color-highlight-pressed); color: var(--color-text-strong); }
.button-outline:active, .menu-toggle:active { background: var(--color-surface-soft); color: var(--color-text-strong); }
.button:disabled, .button[aria-disabled="true"] { background: #d4d9e1; border-color: #d4d9e1; color: #566172; cursor: not-allowed; }
.reading-progress { height: 3px; position: fixed; top: 0; left: 0; width: 100%; z-index: 60; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 100%; background: var(--color-highlight); transform: scaleX(0); transform-origin: left; }
.site-header { background: var(--color-secondary); position: sticky; top: 0; z-index: 40; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--color-border); }
.header-inner { min-height: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); padding-block: var(--space-2); border-bottom: 1px solid var(--color-border); }
.brand { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; flex-shrink: 0; }
.brand-logo { width: 48px; height: 56px; object-fit: contain;  }
.brand strong { display: block; font-size: 1rem; font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
.brand small { display: block; color: var(--color-text-muted); font-size: var(--text-caption); }
.nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nav-list a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 8px 12px; font-size: 1rem; text-decoration: none; white-space: nowrap; border-color: var(--color-border); }
.nav-list a:after { content: ''; position: absolute; bottom: 3px; left: 0; height: 2px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-list .current-menu-item:not(.nav-cta)>a { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }
.nav-list .current-menu-item:not(.nav-cta)>a:after { background: var(--color-primary); }
.nav-list .current-menu-item>a:after { transform: scaleX(1); }
.nav-list .nav-cta a { padding: 12px var(--space-3); background: var(--color-highlight); color: var(--color-text-strong); border-radius: var(--radius-control); }
.nav-list .nav-cta a:after { display: none; }
.nav-list a:after { display: none; }
.menu-toggle { display: none; }
.home-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-8); align-items: center; padding-block: var(--space-8); }
.hero-copy h1 { font-size: clamp(3.05175rem, 6vw, 5.9605rem); line-height: 1.05; letter-spacing: -.04em; }
.hero-copy h1 .title-accent { color: var(--color-primary); }
.hero-intro { font-size: 1.125rem; max-width: 38ch; }
.hero-link { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 48px; margin-top: var(--space-1); text-decoration: none; font-weight: 600; }
.round-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--color-highlight); color: var(--color-text-strong); flex-shrink: 0; }
.hero-location { border-top: 1px solid var(--color-border); margin-top: var(--space-4); padding-top: var(--space-2); display: flex; align-items: center; gap: var(--space-1); color: var(--color-text-muted); font-size: var(--text-caption); }
.location-dot { width: 8px; height: 8px; background: var(--color-highlight); border-radius: 50%; flex-shrink: 0; }
.hero-visual { min-width: 0; }
.hero-image-frame { border: 8px solid var(--color-secondary); height: clamp(360px, 37vw, 528px); position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--color-surface-soft); }
.hero-image-frame>.hero-photo { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.image-caption { padding-top: var(--space-1); font-size: var(--text-caption); color: var(--color-text-muted); }
.dates-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-8); border-top: 1px solid var(--color-border); }
.calendar-empty { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3); background: var(--color-surface-soft); border-left: 4px solid var(--color-highlight); }
.calendar-symbol { width: 48px; height: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex-shrink: 0; }
.calendar-symbol span { background: #c6ceda; border-radius: 2px; }
.calendar-symbol span:last-child { background: var(--color-primary); }
.calendar-empty h3 { margin: 0 0 var(--space-1); }
.calendar-empty p { color: var(--color-text-muted); margin: 0; }
.archive-row { margin-top: var(--space-2); padding-block: var(--space-3); border-bottom: 1px solid var(--color-border); display: flex; align-items: center; gap: var(--space-2); text-decoration: none; }
.archive-row svg { margin-left: auto; flex-shrink: 0; color: var(--color-highlight); }
.about-section { padding-block: var(--section-space); }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-8); align-items: start; }
.about-identity { position: sticky; top: 128px; }
.connection-mark { position: relative; width: 240px; height: 144px; margin-block: var(--space-4); }
.connection-mark span { display: block; position: absolute; width: 152px; height: 72px; border: 3px solid var(--color-primary); border-radius: 48px; transform: rotate(-25deg); }
.connection-mark span:last-child { left: 72px; top: 56px; }
.values-line { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-caption); }
.values-line span+span { border-left: 1px solid #9ba7b8; padding-left: var(--space-2); }
.about-photo { margin-top: var(--space-4); }
.about-photo img { border-radius: 16px; width: 100%; aspect-ratio: 1.65; object-fit: contain; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); margin-bottom: var(--space-4); }
.section-heading h2, .section-heading .section-intro { margin-bottom: 0; }
.join-panel { border-radius: var(--radius-card); display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-6); align-items: center; padding: var(--space-6); margin-top: var(--space-8); margin-bottom: var(--space-10); background: var(--color-highlight); color: var(--color-text-strong); --color-focus: var(--color-primary-hover); }
.join-panel>* { min-width: 0; }
.join-panel .eyebrow { color: var(--color-text-strong); }
.join-panel h2 { margin-bottom: 0; }
.join-panel-copy p { color: var(--color-text-strong); margin-bottom: var(--space-2); }
.page-hero { padding-block: var(--space-8); background: var(--color-primary); color: var(--color-on-primary); --color-text: var(--color-on-primary); --color-text-muted: var(--color-on-primary); --color-focus: var(--color-highlight); }
.page-hero-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: center; }
.page-hero.has-photo .page-hero-layout { grid-template-columns: 1fr 1fr; }
.page-hero-copy { border-left: 4px solid var(--color-highlight); padding-left: var(--space-3); min-width: 0; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-visual { overflow: hidden; border: 8px solid var(--color-secondary); border-radius: var(--radius-card); }
.page-hero-visual img { width: 100%; aspect-ratio: 1.5; object-fit: contain; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.split>* { min-width: 0; }
.align-start { align-items: start; }
.card-copy .eyebrow { margin-bottom: var(--space-1); }
.card-copy h3 { font-size: var(--text-h3); margin-bottom: var(--space-2); }
.place { display: flex; align-items: center; gap: var(--space-1); color: var(--color-text-muted); margin: 0; }
.place svg { flex-shrink: 0; width: 18px; height: 18px; }
.archive-section { background: var(--color-secondary); }
.no-dates { display: flex; gap: var(--space-3); padding: var(--space-4); border-left: 4px solid var(--color-primary); background: var(--color-surface); align-items: center; }
.no-dates p { color: var(--color-text-muted); margin: 0; }
.no-dates h3 { margin-bottom: var(--space-1); }
.event-facts { border-bottom: 1px solid var(--color-border); padding-block: var(--space-4); }
.event-facts>.wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.event-facts span { display: block; color: var(--color-text-muted); font-size: var(--text-caption); margin-bottom: var(--space-1); }
.event-facts strong { font-weight: 600; }
.program-card { padding: var(--space-4); background: var(--color-surface); border-top: 4px solid var(--color-primary); }
.program-card h2 { font-size: 1.953125rem; }
.program-row { padding-block: var(--space-2); border-bottom: 1px solid var(--color-border); }
.program-row:last-child { border-bottom: 0; padding-bottom: 0; }
.program-row strong { color: var(--color-primary-hover); }
.program-row p { margin: var(--space-1) 0 0; }
.card-photo { display: block; overflow: hidden; background: var(--color-surface-soft); }
.card-photo img { width: 100%; aspect-ratio: 1.45; object-fit: contain; transition: transform .4s; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.gallery-grid figure { margin: 0; }
.gallery-link { display: block; position: relative; aspect-ratio: 1.35; overflow: hidden; background: var(--color-surface-soft); }
.gallery-link>img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.gallery-zoom { position: absolute; bottom: var(--space-2); right: var(--space-2); display: grid; place-items: center; background: var(--color-primary); color: #fff; width: 48px; height: 48px; border-radius: 50%; }
.gallery-grid figcaption { padding-top: var(--space-1); color: var(--color-text-muted); font-size: var(--text-caption); }
.gallery-grid:has(>figure:only-child) { grid-template-columns: minmax(0, 800px); }
.back-link { margin-bottom: var(--space-8); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--space-4); }
.team-grid article { border-top: 1px solid #9ba7b8; padding-block: var(--space-3); }
.team-grid p { color: var(--color-text-muted); font-size: var(--text-caption); margin-bottom: var(--space-1); }
.team-grid h3 { font-size: var(--text-lead); margin: 0; }
.form-card { padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-top: 4px solid var(--color-primary); }
.form-card h2 { font-size: 1.953125rem; }
.form-card label { display: block; font-weight: 600; margin-bottom: var(--space-1); }
.form-card form>p { margin-bottom: var(--space-3); }
.form-card input:not([type=checkbox]):not([type=hidden]), .form-card textarea { width: 100%; min-height: 48px; border: 1px solid #7e8999; border-radius: var(--radius-control); padding: 12px var(--space-2); background: var(--color-surface); color: var(--color-text); font-size: max(1rem, 16px); }
.form-card textarea { resize: vertical; min-height: 144px; }
.form-card small { display: block; color: var(--color-text-muted); font-size: var(--text-caption); margin-top: var(--space-1); }
.checkbox-row { display: flex; align-items: flex-start; gap: var(--space-2); margin-block: var(--space-3); }
.checkbox-row input { margin: 4px 0 0; width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--color-primary); }
.checkbox-row label { font-weight: 400; font-size: var(--text-caption); line-height: 1.6; margin: 0; }
.form-footnote { font-size: var(--text-caption); color: var(--color-text-muted); margin: var(--space-2) 0 0; }
.form-card form>.form-footnote { margin-bottom: 0; }
.local-note { color: var(--color-text-muted); font-size: var(--text-caption); border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-2); }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: var(--space-2); }
.notice.success { background: #f2f7ee; border-left: 3px solid #47723e; }
.notice.error { background: #faece4; border-left: 3px solid #9c4532; }
.contact-details { margin-top: var(--space-4); }
.contact-details>p { padding-block: var(--space-3); border-top: 1px solid var(--color-border); margin: 0; overflow-wrap: anywhere; }
.contact-details span { display: block; color: var(--color-text-muted); font-size: var(--text-caption); margin-bottom: var(--space-1); }
.site-footer { background: var(--color-primary); color: var(--color-on-primary); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.footer-main { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); padding-bottom: var(--space-4); }
.footer-main .eyebrow { color: var(--color-on-primary); font-size: var(--text-caption); font-weight: 400; }
.footer-detail { color: var(--color-on-primary); text-align: right; }
.footer-detail p { margin-bottom: var(--space-1); }
.footer-detail a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-3); align-items: center; padding-block: var(--space-2); border-top: 1px solid var(--color-border); color: var(--color-on-primary); font-size: var(--text-caption); }
.footer-bottom nav { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
#gallery-dialog { background: var(--color-text-strong); color: #fff; border: 0; padding: 64px 24px 24px; max-width: min(96vw, 1400px); max-height: 95svh; width: max-content; --color-focus: #a7baff; }
#gallery-dialog::backdrop { background: rgb(20 25 33 / 92%); }
#gallery-dialog figure { margin: 0; }
#gallery-dialog img { max-height: 72svh; width: auto; max-width: 100%; margin: auto; object-fit: contain; }
#gallery-dialog figcaption { font-size: var(--text-caption); padding-top: var(--space-2); }
#gallery-dialog .gallery-close { position: absolute; right: 8px; top: 8px; background: transparent; color: #fff; border: 0; width: 48px; height: 48px; display: grid; place-items: center; }
.skip-link { position: fixed; left: 24px; top: -120px; z-index: 100; padding: 12px 24px; background: var(--color-primary); color: #fff; }
.skip-link:focus { top: 12px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute!important; white-space: nowrap; }
.motion-enabled [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.3,1); }
.motion-enabled [data-reveal].is-visible { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
    .button:not(.button-outline):hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: #fff; }
    .nav-list .nav-cta a:hover { background: var(--color-highlight-hover); border-color: var(--color-highlight-hover); color: var(--color-text-strong); }
    .button-outline:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: #fff; }
    .nav-list a:hover:after { transform: scaleX(1); }
    .event-title-link:hover { text-decoration: underline; }
    .menu-toggle:hover { background: var(--color-surface-soft); }
}
@media (max-width: 1200px) {
    .nav-list { gap: var(--space-2); }
    .brand small { display: none; }
    .home-hero, .about-layout, .dates-layout, .split { gap: var(--space-6); }
}
@media (max-width: 1080px) {
    .header-inner { min-height: 80px; }
    .menu-toggle { display: flex; gap: var(--space-2); align-items: center; min-height: 48px; border: 1px solid var(--color-border); border-radius: var(--radius-control); background: transparent; color: var(--color-text); padding: 12px var(--space-2); }
    .menu-bars { position: relative; width: 18px; height: 14px; border-block: 1px solid currentColor; }
    .menu-bars:after { content: ''; position: absolute; top: 6px; left: 0; right: 0; border-top: 1px solid currentColor; }
    .menu-toggle[aria-expanded="true"] { background: var(--color-secondary); color: var(--color-text-strong); border-color: var(--color-primary); }
    #primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: var(--space-2) var(--gutter) var(--space-3); background: var(--color-secondary); border-bottom: 1px solid var(--color-border); max-height: calc(100svh - 80px); overflow-y: auto; }
    .site-header.menu-open #primary-nav { display: block; }
    .nav-list { display: block; }
    .nav-list a { display: flex; justify-content: center; padding: 12px 16px; white-space: normal; }
    .nav-list li+li { margin-top: 8px; }
    .nav-list .nav-cta a { justify-content: center; margin-top: var(--space-2); }
    .nav-list a:after { display: none; }
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    :root { --section-space: var(--space-6); --text-h2: clamp(1.953125rem, 6vw, 2.4414rem); }
    .wrap { --gutter: 24px; }
    .home-hero, .about-layout, .dates-layout, .split, .page-hero.has-photo .page-hero-layout { grid-template-columns: 1fr; gap: var(--space-4); }
    .home-hero { padding-block: var(--space-5) var(--space-6); }
    .hero-copy h1 { font-size: clamp(2.75rem, 11vw, 4.7684rem); }
    .hero-intro { font-size: var(--text-body); }
    .hero-location { display: none; }
    .hero-image-frame { border: 8px solid var(--color-secondary); height: auto; aspect-ratio: 1.25; }
    .hero-image-frame>.hero-photo { position: absolute; inset: 0; }
    .calendar-empty { gap: var(--space-2); padding: var(--space-3); }
    .calendar-symbol { width: 40px; height: 40px; }
    .about-identity { position: static; }
    .connection-mark { width: 160px; height: 88px; margin-block: var(--space-3); }
    .connection-mark span { width: 104px; height: 48px; }
    .connection-mark span:last-child { left: 48px; top: 32px; }
    .section-heading { display: block; }
    .section-heading .section-intro { margin-top: var(--space-2); }
    .join-panel { grid-template-columns: 1fr; gap: var(--space-3); padding: var(--space-4); margin-bottom: var(--space-6); }
    .page-hero { padding-block: var(--space-5); }
    .page-hero-layout { gap: var(--space-4); }
    .page-hero h1 { font-size: clamp(2.4414rem, 8vw, 3.8147rem); }
    .page-hero .lead { font-size: var(--text-body); }
    .page-hero-copy { padding-left: var(--space-2); }
    .card-copy h3 { font-size: 1.25rem; }
    .card-copy .eyebrow { font-size: var(--text-caption); }
    .place { font-size: var(--text-caption); }
    .event-facts>.wrap { grid-template-columns: 1fr; gap: var(--space-3); }
    .program-card, .form-card { padding: var(--space-3); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-2); }
    .gallery-link { aspect-ratio: 1; }
    .gallery-grid figure:only-child { grid-column: 1/-1; }
    .gallery-grid figure:only-child .gallery-link { aspect-ratio: 1.5; }
    .form-card .button { width: 100%; }
    .footer-main { display: block; }
    .footer-detail { text-align: left; margin-top: var(--space-3); }
    .footer-bottom { align-items: start; flex-direction: column; gap: var(--space-1); }
    .footer-bottom nav { gap: var(--space-2); }
    .back-link { margin-bottom: var(--space-6); }
}
@media (max-width: 380px) {
    .wrap { --gutter: 16px; }
    .brand { gap: var(--space-1); }
    .brand strong { font-size: .875rem; }
    .brand-logo { width: 40px; height: 48px; }
    .team-grid { grid-template-columns: 1fr; }
}

/* Cream reading surfaces on the dominant royal-blue canvas. */
.content-card, .form-card, .program-card, .calendar-empty, .no-dates,
.about-identity, .about-content, .life-card, .event-card, .team-grid article {
    --color-text: var(--color-text-strong);
    --color-text-muted: #58574f;
    --color-border: #d1c8b8;
    --color-focus: var(--color-primary-hover);
    --color-surface-soft: #efe5d0;
    color: var(--color-text);
    background: var(--color-surface);
    border-radius: var(--radius-card);
}
.content-card, .about-identity, .about-content { padding: var(--space-4); }
.about-identity { position: static; }
.content-card .button, .form-card .button { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.form-card, .program-card { border: 0; }
.calendar-empty, .no-dates { border: 0; }
.calendar-symbol span:last-child { background: var(--color-primary); }
.archive-row { border-color: var(--color-border); }
.archive-row svg { color: var(--color-highlight); }
.event-grid, .life-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); align-items: stretch; }
.event-card, .life-card { min-width: 0; overflow: hidden; display: flex; border: 1px solid rgb(255 252 245 / 24%); box-shadow: var(--shadow-card); }
.event-card-link, .life-card-link { display: flex; flex-direction: column; width: 100%; min-width: 0; text-decoration: none; color: var(--color-text); }
.event-card:focus-within, .life-card:focus-within { outline: 3px solid var(--color-primary-hover); outline-offset: 5px; }
.event-card-link:focus-visible, .life-card-link:focus-visible { outline: none; }
.event-thumbnail, .life-card .card-photo { display: block; position: relative; aspect-ratio: 1.45; overflow: hidden; background: #e7dcc4; }
.event-thumbnail { min-height: 12rem; }
.event-thumbnail>img, .life-card .card-photo>img { width: 100%; height: 100%; object-fit: contain; }
.event-date-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--space-2); padding: var(--space-3); color: var(--color-text-strong); background: var(--color-highlight); opacity: 0; transition: opacity var(--duration-hover) ease; text-align: center; }
.event-date-overlay>span { font-size: var(--text-caption); }
.event-date-overlay strong { font-size: var(--text-h3); line-height: 1.35; font-weight: 700; font-variant-numeric: tabular-nums; }
.event-card-link:focus-visible .event-date-overlay { opacity: 1; transition: none; }
.event-card .card-copy, .life-card .card-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: var(--space-3); }
.card-copy .eyebrow { display: block; font-size: var(--text-caption); color: var(--color-text-muted); margin-bottom: var(--space-1); }
.event-card h3, .life-card h2 { font-size: var(--text-h3); margin-bottom: var(--space-2); }
.card-date { display: block; color: var(--color-primary-hover); font-weight: 700; margin-bottom: var(--space-2); font-variant-numeric: tabular-nums; }
.card-copy .place { margin-bottom: var(--space-3); font-size: var(--text-caption); }
.card-action { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 48px; margin-top: auto; padding-top: var(--space-2); border-top: 1px solid var(--color-border); font-weight: 650; }
.card-action svg { flex-shrink: 0; }
.story-excerpt { color: var(--color-text-muted); margin-bottom: var(--space-3); }
.event-image-fallback { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: var(--space-2); height: 100%; background: var(--color-highlight); color: var(--color-text-strong); font-size: var(--text-lead); font-weight: 650; }
.event-image-fallback svg { width: 56px; height: 56px; }
.dates-content .event-grid { grid-template-columns: 1fr; }
.team-grid article { padding: var(--space-3); border: 0; }
.team-grid { gap: var(--space-3); }
.footer-name { font-size: 1.125rem; font-weight: 600; line-height: 1.6; margin: 0; }
.gallery-grid figcaption, .image-caption { color: var(--color-text-muted); }
.gallery-zoom { background: var(--color-highlight); color: var(--color-text-strong); }
@media (hover: hover) and (pointer: fine) {
    .event-card-link:hover .event-date-overlay { opacity: .97; }
    .life-card-link:hover .card-action { color: #fff; background: var(--color-primary-hover); border-color: var(--color-primary-hover); }
}
@media (max-width: 1080px) {
    .event-grid, .life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .event-grid, .life-grid { grid-template-columns: 1fr; }
    .content-card, .about-identity, .about-content { padding: var(--space-3); }
    .hero-image-frame { border-width: 6px; }
}

/* Club-first layout. Cream canvas, royal sections, apricot focal points. */
.content-card, .form-card, .program-card, .calendar-empty, .no-dates,
.life-values article, .team-grid article { box-shadow: var(--shadow-card); }
.event-card, .life-card { flex-direction: column; }
.event-card-link, .life-card-link { flex: 1; }
.story-source { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.notice.review { background: #fff1d5; border-left: 4px solid #9b641c; }
.photo-pending { display: grid; place-items: center; min-height: 240px; padding: 24px; background: var(--color-surface-soft); color: var(--color-text-strong); }
.home-hero { grid-template-columns: .9fr 1.1fr; gap: 72px; padding-block: 80px 96px; }
.hero-copy h1 { font-size: clamp(3.05rem, 5.8vw, 5.5rem); line-height: 1.04; letter-spacing: -.045em; }
.hero-intro { max-width: 35ch; margin-block: 24px 32px; }
.hero-copy .button-row { align-items: center; gap: 8px 24px; }
.hero-location { display: block; line-height: 1.6; }
.hero-location>span { padding-inline: 8px; color: #8c8a80; }
.club-collage { position: relative; margin-block: 16px 24px; isolation: isolate; }
.hero-photo-backdrop { position: absolute; inset: 24px -16px -16px 24px; background: var(--color-primary); border-radius: 32px; transform: rotate(-3deg); z-index: -1; }
.club-collage .hero-image-frame { height: clamp(380px, 35vw, 520px); border: 10px solid var(--color-surface); border-radius: 28px; box-shadow: var(--shadow-card); }
.club-collage .hero-photo { object-position: center; }
.photo-label { position: absolute; bottom: -8px; left: 24px; display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--color-surface); color: var(--color-text-strong); border-radius: 12px; box-shadow: var(--shadow-card); font-size: .875rem; font-weight: 650; }
.photo-label .location-dot { background: var(--color-primary); }
.anniversary-seal { position: absolute; right: -20px; top: -28px; width: 9rem; min-height: 9rem; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--color-highlight); color: var(--color-text-strong); border-radius: 50%; text-decoration: none; box-shadow: var(--shadow-card); transform: rotate(8deg); }
.anniversary-seal strong { font-size: 3.5rem; font-weight: 750; line-height: 1.1; letter-spacing: -.05em; }
.anniversary-seal>span { display: flex; align-items: center; gap: 4px; font-size: .875rem; font-weight: 650; }
.anniversary-seal svg { width: 16px; height: 16px; }
.purpose-section { padding-block: 72px; background: var(--color-primary); color: var(--color-on-primary); --color-text: var(--color-on-primary); --color-text-muted: var(--color-on-primary); --color-focus: var(--color-highlight); --color-border: #8fa7ed; }
.purpose-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; margin-bottom: 48px; align-items: start; }
.purpose-intro h2 { margin-bottom: 0; }
.purpose-intro .prose { font-size: 1.125rem; }
.purpose-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.purpose-grid article { border-top: 1px solid var(--color-border); padding-top: 24px; }
.purpose-number { display: block; font-size: 2rem; font-weight: 700; color: var(--color-highlight); margin-bottom: 24px; }
.purpose-grid h3 { font-size: 1.25rem; }
.purpose-grid p { margin-bottom: 0; }
.kirwa-feature { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; background: var(--color-primary); border-radius: 32px; color: var(--color-on-primary); box-shadow: var(--shadow-card); --color-focus: var(--color-highlight); }
.kirwa-feature-photo { position: relative; min-width: 0; }
.kirwa-feature-photo img { width: 100%; height: 100%; min-height: 460px; object-fit: contain; }
.kirwa-feature-photo .image-caption { position: absolute; left: 24px; bottom: 24px; padding: 8px 16px; background: var(--color-surface); border-radius: 8px; color: var(--color-text-strong); }
.kirwa-feature-copy { padding: 48px; align-self: center; }
.kirwa-feature-copy .eyebrow { color: var(--color-on-primary); }
.kirwa-feature-copy h2 { font-size: clamp(2.44rem, 4.2vw, 4rem); }
.kirwa-feature-copy .button { background: var(--color-highlight); border-color: var(--color-highlight); color: var(--color-text-strong); }
.jubilee-banner { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 64px; padding: 48px; border-radius: 32px; background: #f4e1d1; box-shadow: var(--shadow-card); }
.jubilee-number { font-size: clamp(4rem, 8vw, 8rem); line-height: .95; font-weight: 750; letter-spacing: -.075em; color: var(--color-primary); text-align: center; }
.jubilee-number>span { display: block; font-size: 1rem; letter-spacing: .1em; line-height: 1.6; margin-top: 24px; }
.jubilee-banner h2 { font-size: clamp(1.95rem, 3vw, 3rem); }
.jubilee-banner p { max-width: 52ch; }
.anniversary-thumbnail { display: flex; flex-direction: column; height: 100%; min-height: 12rem; justify-content: center; align-items: center; gap: 8px; padding: 24px; background: var(--color-primary); color: var(--color-on-primary); text-align: center; }
.anniversary-thumbnail>strong { font-size: 5rem; line-height: 1; font-weight: 750; letter-spacing: -.07em; white-space: nowrap; flex-shrink: 0; }
.anniversary-thumbnail>span { font-size: 1rem; line-height: 1.6; }
.life-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 72px; }
.life-hero h1 { font-size: clamp(2.44rem, 4.1vw, 4.5rem); }
.life-hero h1>span { color: var(--color-primary); }
.life-hero .lead { font-size: 1.125rem; }
.life-hero-photo { min-width: 0; }
.life-hero-photo>img { width: 100%; aspect-ratio: 1.2; object-fit: contain; border-radius: 28px; box-shadow: var(--shadow-card); }
.photo-context { display: block; font-size: .875rem; color: var(--color-text-muted); margin-top: 8px; }
.life-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.life-values article { padding: 32px; background: var(--color-surface); border-radius: 24px; }
.life-values article>span { display: block; margin-bottom: 24px; font-size: .875rem; font-weight: 650; color: var(--color-primary-hover); }
.life-values h2 { font-size: 1.5625rem; }
.life-values p { color: var(--color-text-muted); margin: 0; }
.life-invitation { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; padding: 48px; margin-bottom: 80px; border-radius: 32px; background: var(--color-primary); color: var(--color-on-primary); --color-text: var(--color-on-primary); --color-text-muted: var(--color-on-primary); --color-focus: var(--color-highlight); }
.life-invitation p { max-width: 56ch; }
.life-invitation-mark { font-size: clamp(5rem, 9vw, 10rem); letter-spacing: -.06em; font-weight: 800; line-height: 1.1; align-self: center; color: var(--color-highlight); }
.life-invitation-mark span { display: block; font-size: 1rem; font-weight: 500; letter-spacing: .04em; margin-top: 16px; color: var(--color-on-primary); }
.site-footer { --color-text: var(--color-on-primary); --color-text-muted: var(--color-on-primary); --color-border: #8fa7ed; --color-focus: var(--color-highlight); }
.event-grid:has(>.event-card:only-child) { grid-template-columns: minmax(0, 760px); }
.event-grid:has(>.event-card:only-child) .event-card-link { display: grid; grid-template-columns: 1fr 1fr; }
@media (hover: hover) and (pointer: fine) {
    .kirwa-feature .button:hover { background: var(--color-highlight-hover); border-color: var(--color-highlight-hover); color: var(--color-text-strong); }
    .content-card .button:hover, .form-card .button:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: #fff; }
}
@media (max-width: 1080px) {
    .home-hero { gap: 40px; }
    .purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .life-values { gap: 16px; }
    .life-values article { padding: 24px; }
    .kirwa-feature-copy { padding: 32px; }
}
@media (max-width: 760px) {
    .event-grid:has(>.event-card:only-child) .event-card-link { display: flex; }
    .home-hero, .life-hero { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 56px; }
    .hero-copy h1 { font-size: clamp(2.8rem, 11vw, 4.4rem); }
    .club-collage { margin: 24px 8px 24px 0; }
    .club-collage .hero-image-frame { height: auto; aspect-ratio: 1.2; border-width: 6px; }
    .hero-photo-backdrop { inset: 16px -8px -12px 16px; }
    .anniversary-seal { width: 7rem; min-height: 7rem; right: -8px; top: -32px; padding: 12px; }
    .anniversary-seal strong { font-size: 2.75rem; }
    .anniversary-seal>span { font-size: .875rem; }
    .photo-label { left: 16px; bottom: -16px; padding: 8px 16px; }
    .purpose-section { padding-block: 48px; }
    .purpose-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
    .purpose-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .purpose-number { margin-bottom: 16px; }
    .kirwa-feature { grid-template-columns: 1fr; }
    .kirwa-feature-photo img { min-height: 0; aspect-ratio: 1.4; height: auto; }
    .kirwa-feature-copy { padding: 32px 24px; }
    .jubilee-banner { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
    .jubilee-number { font-size: clamp(4rem, 18vw, 7rem); }
    .life-values { grid-template-columns: 1fr; }
    .life-hero h1 { font-size: clamp(2.44rem, 9vw, 3.8rem); }
    .life-invitation { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; margin-bottom: 48px; }
    .life-invitation-mark { font-size: 5rem; }
    .anniversary-thumbnail { gap: 16px; }
    .anniversary-thumbnail>strong { font-size: 4rem; }
}
@media (max-width: 380px) {
    .purpose-grid { grid-template-columns: 1fr; }
}
.jubilee-visual { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 32px; color: var(--color-highlight); text-align: center; }
.jubilee-visual strong { font-size: clamp(7rem, 16vw, 14rem); line-height: .9; font-weight: 800; letter-spacing: -.08em; }
.jubilee-visual span { font-size: 1rem; color: var(--color-on-primary); line-height: 1.6; }

/* Review comments: discreet photo attribution and clear navigation actions. */
[hidden] { display: none!important; }
.jubilee-intro { padding-block: 16px 64px; }
.home-hero { padding-bottom: 48px; }
.life-card .card-action { display: inline-flex; justify-content: center; align-self: flex-start; width: auto; padding: 12px 24px; margin-top: auto; border: 1px solid var(--color-primary); border-radius: var(--radius-control); background: var(--color-primary); color: #fff; gap: 16px; }
.life-card-link:active .card-action { background: var(--color-primary-pressed); border-color: var(--color-primary-pressed); color: #fff; }
.button-warm { background: var(--color-highlight); border-color: var(--color-highlight); color: var(--color-text-strong); }
.life-invitation .button-warm:active { background: var(--color-highlight-pressed); border-color: var(--color-highlight-pressed); color: var(--color-text-strong); }
.life-hero-copy>.button { margin-top: 8px; }
.event-card, .life-card, .page-hero-visual, .life-hero-photo, .gallery-grid figure { position: relative; }
.photo-credit { position: absolute; top: 8px; left: 8px; z-index: 5; width: 44px; color: var(--color-text-strong); }
.photo-credit summary { position: relative; display: grid; place-items: center; width: 44px; min-height: 44px; cursor: pointer; list-style: none; border-radius: 50%; }
.photo-credit summary::-webkit-details-marker { display: none; }
.credit-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #77766e; background: var(--color-surface); color: var(--color-text-strong); font: 650 14px/1 var(--sans); }
.credit-popover { position: absolute; left: 8px; width: max-content; max-width: min(244px, calc(100vw - 80px)); padding: 12px 16px; background: var(--color-surface); color: var(--color-text-strong); border-radius: 12px; box-shadow: var(--shadow-card); font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.credit-popover { top: 48px; min-width: 180px; border: 1px solid var(--color-border); }
.credit-popover a { color: var(--color-primary-hover); }
.credit-label { display: block; font-weight: 700; margin-bottom: 8px; }
.photo-credit[open] .credit-icon { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
/* Complete photographs in fixed frames; empty space uses the existing palette. */
.card-photo, .event-thumbnail, .gallery-link, .page-hero-visual, .life-hero-photo>img,
.kirwa-feature-photo { background: var(--color-surface-soft); }
.kirwa-feature-photo img { background: var(--color-surface-soft); }
.join-panel .button { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.join-panel .button:active { background: var(--color-primary-pressed); border-color: var(--color-primary-pressed); }
.board-orbit { position: relative; max-width: 1000px; height: 600px; margin-inline: auto; }
.board-orbit::before { content: ''; position: absolute; inset: 15% 15%; border: 1px solid var(--color-border); border-radius: 50%; }
.board-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 144px; height: 144px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--color-primary); color: #fff; text-align: center; }
.board-center strong { font-size: 2.4414rem; line-height: 1.1; letter-spacing: -.04em; }
.board-center span { font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; }
.board-members { margin: 0; padding: 0; list-style: none; }
.board-members>li { position: absolute; left: var(--member-x); top: var(--member-y); transform: translate(-50%, -50%); width: clamp(168px, 22vw, 232px); }
.board-members article { min-height: 112px; padding: 24px; border-radius: 24px; background: var(--color-surface); box-shadow: var(--shadow-card); text-align: center; }
.board-members p { margin-bottom: 8px; font-size: .875rem; color: var(--color-primary-hover); font-weight: 650; }
.board-members h3 { margin: 0; font-size: 1.25rem; }
.board-orbit-list { height: auto; }
.board-orbit-list::before, .board-orbit-list .board-center { display: none; }
.board-orbit-list .board-members { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.board-orbit-list .board-members>li { position: static; width: auto; transform: none; }
@media (hover: hover) and (pointer: fine) {
    .join-panel .button:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); }
}
@media (max-width: 760px) {
    .join-panel { margin-top: var(--space-6); }
    .board-orbit { height: auto; }
    .board-orbit::before { display: none; }
    .board-center { position: static; transform: none; width: 112px; height: 112px; margin: 0 auto 32px; }
    .board-members, .board-orbit-list .board-members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .board-members>li { position: static; transform: none; width: auto; }
    .board-members article { padding: 24px 16px; height: 100%; }
    .board-members>li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
    .board-members, .board-orbit-list .board-members { grid-template-columns: 1fr; }
}
/* History: native slider snaps to real stations, with a scrollable year rail. */
.history-explorer { min-width: 0; }
.history-controls { margin-bottom: 24px; }
.history-control-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; margin-bottom: 16px; }
.history-control-heading label { font-weight: 700; }
.history-control-heading output { color: var(--color-text-muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.history-range-row { display: flex; align-items: center; gap: 24px; }
.history-step { flex: 0 0 48px; min-height: 48px; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-surface); color: var(--color-primary-hover); font-size: 1.25rem; }
.history-step:disabled { opacity: .45; cursor: default; }
.history-range-row input { min-width: 0; flex: 1; width: 100%; height: 48px; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; accent-color: var(--color-primary); }
.history-range-row input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--color-primary) var(--history-progress, 0%), var(--color-border) var(--history-progress, 0%)); }
.history-range-row input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; height: 28px; width: 28px; margin-top: -12px; border-radius: 50%; border: 5px solid var(--color-surface); background: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary); }
.history-range-row input::-moz-range-track { height: 4px; border-radius: 4px; background: var(--color-border); }
.history-range-row input::-moz-range-thumb { height: 20px; width: 20px; border-radius: 50%; border: 4px solid var(--color-surface); background: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary); }
.history-years { display: flex; max-width: 100%; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; list-style: none; padding: 8px 4px; margin: 16px 0 0; }
.history-years::-webkit-scrollbar { display: none; }
.history-years li { flex-shrink: 0; scroll-snap-align: center; }
.history-years button { min-height: 48px; padding: 8px 16px; border-radius: 24px; background: var(--color-surface); color: var(--color-primary-hover); border: 1px solid var(--color-border); font-size: 1rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.history-years button[aria-pressed="true"] { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }
.history-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: start; min-width: 0; padding: 48px; margin-bottom: 24px; border-radius: 28px; background: var(--color-primary); color: var(--color-on-primary); --color-text: var(--color-on-primary); --color-text-muted: var(--color-on-primary); --color-focus: var(--color-highlight); }
.history-explorer.is-ready .history-panel { margin-bottom: 0; }
.history-year { min-width: 0; color: var(--color-highlight); font-size: clamp(3rem, 6.5vw, 7rem); line-height: 1.05; font-weight: 750; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.history-period { display: block; margin-bottom: 16px; font-size: 1rem; font-weight: 600; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; color: var(--color-on-primary); }
.history-year-number { display: block; }
.history-year-range { font-size: clamp(1.5rem, 4vw, 3.5rem); }
.history-story { min-width: 0; }
.history-story h3 { font-size: clamp(1.5625rem, 2.7vw, 2.4414rem); }
.history-story>p { max-width: 62ch; margin-bottom: 0; }
/* Archive years: native submit buttons work with or without JavaScript. */
.archive-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; margin-bottom: 40px; }
.archive-toolbar>div { min-width: 0; }
.archive-result { color: var(--color-primary-hover); font-weight: 600; margin-bottom: 0; }
.archive-year-form { display: flex; align-items: center; gap: 24px; }
.archive-year-form fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.archive-year-form legend { margin-bottom: 12px; font-size: .875rem; color: var(--color-text-muted); font-weight: 650; }
.archive-dial { position: relative; width: 220px; height: 220px; background: var(--color-border); border-radius: 50%; isolation: isolate; }
.archive-dial:focus-within { outline: 3px solid var(--color-primary-hover); outline-offset: 6px; }
.year-sector { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--color-surface); color: var(--color-text-strong); }
.year-sector>span { position: absolute; left: var(--year-x); top: var(--year-y); transform: translate(-50%, -50%); font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.year-sector[aria-pressed="true"] { background: var(--color-primary); color: #fff; }
.year-sector:focus-visible { background: var(--color-primary-pressed); color: #fff; outline: none; }
.year-sector:focus-visible>span { text-decoration: underline; text-underline-offset: 5px; }
.year-all { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; z-index: 2; border: 3px solid var(--color-secondary); border-radius: 50%; color: var(--color-primary-hover); background: var(--color-secondary); font-size: .875rem; font-weight: 650; line-height: 1.35; }
.year-all[aria-pressed="true"] { background: var(--color-highlight); color: var(--color-text-strong); }
.archive-filter-hint { color: var(--color-text-muted); font-size: .875rem; max-width: 19ch; margin: 24px 0 0; }
.archive-dial-many { display: flex; flex-wrap: wrap; width: auto; height: auto; border-radius: 0; background: transparent; gap: 8px; max-width: 320px; }
.archive-dial-many .year-sector, .archive-dial-many .year-all { position: static; clip-path: none!important; transform: none; width: auto; height: auto; min-height: 48px; border-radius: 12px; padding: 12px 16px; border: 1px solid var(--color-border); }
.archive-dial-many .year-sector>span { position: static; transform: none; }
@media (hover: hover) and (pointer: fine) {
    .history-step:not(:disabled):hover { background: var(--color-primary-soft); }
    .year-sector:not([aria-pressed="true"]):hover { background: var(--color-highlight); color: var(--color-text-strong); }
    .life-invitation .button-warm:hover { background: var(--color-highlight-hover); border-color: var(--color-highlight-hover); color: var(--color-text-strong); }
}
@media (max-width: 1080px) {
    .archive-year-form { display: block; }
    .archive-filter-hint { margin-top: 16px; max-width: 24ch; }
}
@media (max-width: 760px) {
    .jubilee-intro { padding-top: 8px; padding-bottom: 48px; }
    .history-range-row { gap: 16px; }
    .history-panel { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
    .archive-toolbar { grid-template-columns: 1fr; gap: 24px; }
    .archive-year-form { display: flex; flex-wrap: wrap; gap: 16px 24px; }
    .archive-dial:not(.archive-dial-many) { width: 220px; height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { transition: none!important; animation: none!important; }
    .motion-enabled [data-reveal] { opacity: 1; transform: none; }
}

/* Consistent button navigation and the compact calendar action. */
.button { max-width: 100%; overflow-wrap: anywhere; }
.button-small { min-height: 44px; padding: 8px 16px; font-size: .875rem; }
.icon-button { width: 48px; min-width: 48px; padding: 12px; }
.site-footer .button-outline { color: var(--color-on-primary); border-color: var(--color-on-primary); }
.footer-bottom nav { gap: 8px; align-items: center; }
.credit-popover .button { width: 100%; text-align: left; justify-content: flex-start; }
.event-calendar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 24px; margin-top: 24px; background: var(--color-surface); border-left: 4px solid var(--color-primary); border-radius: 12px; box-shadow: var(--shadow-card); }
.event-calendar p { margin: 0; max-width: 40ch; font-size: .875rem; color: var(--color-text-muted); }
@media (hover: hover) and (pointer: fine) {
    .site-footer .button-outline:hover { color: var(--color-text-strong); background: var(--color-highlight); border-color: var(--color-highlight); }
}
@media (max-width: 760px) {
    .event-calendar { flex-direction: column; align-items: stretch; }
}
