.home-page {
    --home-gutter: clamp(1.25rem, 5vw, 6rem);
    --home-maroon: #86120e;
    --home-maroon-dark: #5d0b08;
    --home-gold: #ddb94e;
    --home-paper: #f7f2ea;
    --home-cream: #fffaf3;
    --home-ink: #211b18;
    --home-muted: #6d635d;
    --home-line: #d9cfc1;
    background: var(--home-paper);
}
.home-page:not(.mobile-nav-open) .site-nav:not([data-scrolled]) { background: var(--nav-bg); }
.home-container, .home-footer-inner { width: min(1380px, calc(100% - var(--home-gutter) * 2)); margin-inline: auto; }
.home-page :is(h1,h2,h3) { font-family: "Noto Sans SC", sans-serif; font-weight: 400; letter-spacing: -.035em; }
html[lang="en"] .home-page :is(h1,h2,h3) { font-family: "Lora", Georgia, serif; letter-spacing: -.035em; }

/* Full-width photography and a separate introduction, inspired by BC's homepage. */
.home-hero { padding-top: var(--site-header-height, 5rem); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: min(76svh, 860px); }
.home-hero-copy {
    display: flex; flex-direction: column; justify-content: center; align-items: start;
    padding: clamp(3rem, 6vw, 7rem) clamp(2rem, 4vw, 5rem) clamp(3rem, 6vw, 7rem) max(var(--home-gutter), calc((100vw - 1380px) / 2));
}
.home-hero-eyebrow, .home-kicker {
    margin: 0 0 1.5rem; color: var(--home-maroon);
    font: 600 .7rem/1.7 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
}
.home-hero-title { margin: 0; max-width: 9ch; color: var(--home-maroon); font-size: clamp(2.8rem, 4.9vw, 5.8rem); line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
html[lang="en"] .home-page .home-hero-title { max-width: 14ch; font-size: clamp(2.6rem, 4.3vw, 5rem); line-height: 1.12; }
.home-hero-lead { max-width: 27rem; margin: 1.8rem 0 0; color: var(--home-muted); font-size: 1rem; line-height: 1.85; }
.home-hero-actions { margin-top: 2rem; }
.home-hero-figure { position: relative; min-width: 0; min-height: 30rem; margin: 0; overflow: hidden; background: var(--home-maroon-dark); }
.home-hero-image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.home-hero-figure::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #211b1859); pointer-events: none; }
.home-hero-signature { position: absolute; bottom: -.06em; right: .12em; z-index: 1; font: 400 clamp(7rem, 17vw, 18rem)/1 "Cormorant Garamond", Georgia, serif; letter-spacing: -.06em; color: var(--home-cream); pointer-events: none; }
.home-button {
    display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 2rem;
    padding: .9rem 1.4rem; border: 1px solid transparent;
    font: 500 .95rem/1.4 var(--font-body); text-decoration: none; cursor: pointer;
    transition: background-color var(--motion-fast), border-color var(--motion-fast);
}
.home-button-primary { background: var(--home-maroon); color: var(--home-cream); border-color: var(--home-maroon); }
.home-button-primary:hover { background: var(--home-maroon-dark); }
.home-button > [aria-hidden], .home-text-link > [aria-hidden] { transition: transform var(--motion-fast) var(--ease-out); }
.home-button:hover > [aria-hidden], .home-text-link:hover > [aria-hidden] { transform: translateX(4px); }
.home-hero-actions a:hover > [aria-hidden] { transform: translateY(3px); }

/* Everyday tools form a quiet, separate utility band. */
.home-start-panel { padding-block: 1.6rem; background: var(--home-cream); border-bottom: 1px solid var(--home-line); }
.home-utilities { display: grid; grid-template-columns: minmax(0, 2fr) minmax(14rem, .8fr); gap: 2.5rem; align-items: center; }
.home-start-panel h2 { margin: 0 0 .5rem; color: var(--home-muted); font: 500 .72rem/1.4 var(--font-body); letter-spacing: .08em; }
.home-start-links { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
.home-start-links a { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; color: var(--home-ink); font-size: .9rem; text-decoration: none; }
.home-start-links b { display: none; }
.home-start-links strong { font-weight: 500; }
.home-start-links a > span { color: var(--home-maroon); transition: transform var(--motion-fast) var(--ease-out); }
.home-start-links a:hover { color: var(--home-maroon); }
.home-start-links a:hover > span { transform: translate(3px,-3px); }
.home-site-search { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .6rem; align-items: center; min-height: 48px; border-bottom: 1px solid var(--home-line); color: var(--home-maroon); }
.home-site-search input { min-width: 0; width: 100%; padding: .6rem 0; border: 0; outline: 0; background: transparent; color: var(--home-ink); font: inherit; font-size: .88rem; }
.home-site-search input::placeholder { color: var(--home-muted); }
.home-site-search button { min-height: 44px; border: 0; padding: .5rem; background: transparent; color: var(--home-maroon); font: 600 .8rem var(--font-body); cursor: pointer; }
.home-site-search:focus-within { outline: 2px solid var(--home-maroon); outline-offset: 5px; }

.home-section { padding-block: clamp(3.5rem,8vw,8rem); }
#home-events { scroll-margin-top: var(--site-header-height, 5rem); }
.home-kicker { color: var(--home-maroon); }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: clamp(2rem,4vw,3.5rem); }
.home-section-heading > div { max-width: 52rem; }
.home-section-heading h2 { margin: 0; color: var(--home-ink); font-size: clamp(2.2rem,4vw,4rem); line-height: 1.15; text-wrap: balance; }
.home-text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 1.2rem; color: var(--home-maroon); border-bottom: 1px solid currentColor; font-size: .9rem; font-weight: 600; text-decoration: none; }
.home-featured-event {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap: clamp(2rem,5vw,5rem);
    align-items: center;
    color: var(--home-ink);
}
.home-featured-event.is-empty { grid-template-columns: minmax(0,1fr); border-block: 1px solid var(--home-line); padding-block: 3rem; }
.home-featured-event.is-empty .home-featured-copy { max-width: 48rem; }
.home-featured-media { position: relative; min-width: 0; background: #3b2b29; }
.home-featured-media img { display: block; width: 100%; height: auto; max-height: 40rem; object-fit: contain; }
.home-featured-media.is-placeholder { display: grid; place-items: center; min-height: 18rem; background: var(--home-maroon-dark); }
.home-featured-media.is-placeholder::before { content: "CISA"; color: #ffffffd1; font: 400 clamp(3.5rem,9vw,7rem) var(--font-display); letter-spacing: .08em; }
.home-event-badge { position: absolute; top: 1rem; left: 1rem; padding: .42rem .62rem; border: 1px solid #ffffff73; background: #5f0b08db; color: #fff; font-size: .7rem; font-weight: 600; }
.home-featured-copy { min-width: 0; display: flex; flex-direction: column; align-items: start; }
.home-event-date { margin: 0 0 1rem; color: var(--home-maroon); font-size: .76rem; font-weight: 600; letter-spacing: .15em; }
.home-featured-copy h3 { margin: 0; color: var(--home-ink); font-size: clamp(1.8rem,3vw,3rem); line-height: 1.28; text-wrap: balance; }
.home-featured-copy > p:not(.home-event-date) { margin: 1rem 0 0; color: var(--home-muted); line-height: 1.75; }
.home-featured-copy > .home-button { margin-top: 1.5rem; background: var(--home-maroon); color: var(--home-cream); border-color: var(--home-maroon); }
.home-featured-copy > .home-button:hover { background: var(--home-maroon-dark); }
.home-event-meta { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 1.5rem 0 0; border-block: 1px solid var(--home-line); }
.home-event-meta > div { padding: .9rem 0; }
.home-event-meta > div + div { padding-left: 1rem; border-left: 1px solid var(--home-line); }
.home-event-meta dt { color: var(--home-maroon); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.home-event-meta dd { margin: .22rem 0 0; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
.home-featured-media[hidden], .home-featured-media img[hidden], .home-event-meta[hidden], .home-event-badge[hidden] { display: none; }


.home-paths { background: var(--home-cream); }
.home-path-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.home-path-card { display: block; min-width: 0; text-decoration: none; color: var(--home-ink); }
.home-path-card:nth-child(2) { margin-top: clamp(2rem, 7vw, 7rem); }
.home-path-photo { overflow: hidden; }
.home-path-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 650ms var(--ease-out); }
.home-path-card:nth-child(2) img { aspect-ratio: 1 / 1; object-position: 55% center; }
.home-path-copy { position: relative; padding-top: 1.5rem; }
.home-path-copy h3 { margin: 0 0 .6rem; font-size: clamp(1.6rem,2.4vw,2.4rem); line-height: 1.3; }
.home-path-copy p { max-width: 30rem; margin: 0 0 1.5rem; color: var(--home-muted); line-height: 1.75; }
.home-path-copy strong { display: inline-block; min-height: 44px; padding-block: .5rem; color: var(--home-maroon); font-size: .9rem; font-weight: 500; }
.home-partner-link { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 3rem; margin-top: clamp(3rem,6vw,6rem); padding-block: 2rem; border-block: 1px solid var(--home-line); color: var(--home-ink); text-decoration: none; }
.home-partner-link h3 { margin: 0; font-size: 1.5rem; }
.home-partner-link p { flex: 1 1 15rem; margin: 0; color: var(--home-muted); }
.home-partner-link strong { color: var(--home-maroon); font-size: .9rem; font-weight: 500; }
.home-partner-link:hover strong { text-decoration: underline; text-underline-offset: .3em; }
.home-join { background: var(--home-maroon-dark); color: var(--home-cream); }
.home-join-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: center; }
.home-join h2 { margin: 0; color: inherit; font-size: clamp(2.8rem,5vw,5rem); line-height: 1.2; }
.home-join p { max-width: 34rem; margin: 0 0 1.5rem; color: #fffaf3cc; line-height: 1.85; }
.home-join .home-button { border-color: var(--home-gold); background: var(--home-gold); color: var(--home-maroon-dark); }
.home-join .home-button:hover { background: #ebcb67; }
.home-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.home-footer-inner p { margin: 0; }
.home-footer-link { min-height: 44px; display: inline-flex; align-items: center; color: inherit; font-size: .78rem; text-underline-offset: .25rem; }
.home-page :is(.home-button,.home-start-links a,.home-path-card,.home-partner-link,.home-text-link,.home-footer-link):focus-visible { outline: 3px solid var(--home-gold); outline-offset: 5px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .home-path-card:hover img { transform: scale(1.035); }
}
@media (max-width: 900px) {
    .home-hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .home-hero-copy { padding: 3rem 1.5rem 3rem var(--home-gutter); }
    .home-utilities { grid-template-columns: minmax(0,1fr); gap: 1rem; }
    .home-site-search { max-width: 30rem; }
}
@media (max-width: 640px) {
    .home-hero-grid { grid-template-columns: minmax(0,1fr); min-height: 0; }
    .home-hero-copy { padding: 2.5rem var(--home-gutter); }
    .home-hero-title, html[lang="en"] .home-page .home-hero-title { max-width: 16ch; font-size: clamp(2.4rem,9vw,3.5rem); }
    .home-hero-eyebrow { margin-bottom: 1rem; font-size: .62rem; }
    .home-hero-lead { margin-top: 1rem; font-size: .95rem; }
    .home-hero-actions { margin-top: 1.25rem; }
    .home-hero-figure { min-height: 0; aspect-ratio: 4 / 3; }
    .home-hero-signature { font-size: 33vw; }
    .home-start-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .2rem 1rem; }
    .home-start-links a { justify-content: space-between; font-size: .85rem; overflow-wrap: anywhere; }
    .home-start-links strong { min-width: 0; }
    .home-featured-event, .home-path-grid, .home-join-inner { grid-template-columns: minmax(0,1fr); }
    .home-featured-copy .home-button { width: 100%; }
    .home-path-card:nth-child(2) { margin-top: 1rem; }
    .home-path-card:nth-child(2) img { aspect-ratio: 4 / 3; }
    .home-footer-inner { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
}

/* BC-inspired editorial composition. Content determines height at every size. */
.home-page { --home-paper: #fff; --home-cream: #fff; --home-gutter: clamp(1.25rem, 5vw, 6rem); }
.home-hero-grid { display: flex; flex-direction: column; min-height: 0; }
.home-hero-figure { min-height: 0; height: clamp(22rem, 58vw, 46rem); aspect-ratio: auto; }
.home-hero-image { object-position: center 45%; }
.home-hero-figure::after { inset: 30% 0 0; background: linear-gradient(transparent, #140d0bd9); }
.home-hero-caption { position: absolute; z-index: 1; inset-inline: var(--home-gutter); bottom: 4.5rem; color: white; text-align: center; font: 400 clamp(2rem, 4vw, 4rem)/1.25 var(--font-heading); text-wrap: balance; }
.home-hero-explore { position: absolute; z-index: 1; bottom: 1.7rem; left: 50%; transform: translateX(-50%); padding: .5rem; color: #fff; white-space: nowrap; text-underline-offset: .3em; }
.home-hero-copy { padding: clamp(3rem, 6vw, 6rem) var(--home-gutter); align-items: center; text-align: center; }
.home-hero-title, html[lang="en"] .home-page .home-hero-title { max-width: 24ch; font-size: clamp(2rem, 3.8vw, 4rem); line-height: 1.25; }
#home-title { scroll-margin-top: calc(var(--site-header-height, 5rem) + 2rem); }
.home-hero-lead { max-width: 48rem; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.9; }
.home-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }
.home-button-outline { color: var(--home-maroon); border-color: var(--home-maroon); background: transparent; }
.home-button-outline:hover { background: #f5eee8; }
.home-start-panel { background: #f5f2ed; border-block: 1px solid var(--home-line); }
.home-event-section { background: #fff; }
.home-paths { background: #f5f2ed; }
.home-path-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 2rem; }
.home-path-card:nth-child(2) { margin-top: 0; }
.home-path-photo img, .home-path-card:nth-child(2) img { aspect-ratio: 4 / 3; }
.home-path-copy h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
.home-path-copy .home-kicker { margin-bottom: .8rem; font-size: .7rem; }
.home-moments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem; }
.home-moments-grid figure { margin: 0; min-width: 0; }
.home-moments-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.home-photo-placeholder { display: grid; width: 100%; aspect-ratio: 4 / 3; place-items: center; border: 1px solid var(--home-line); background: #f3f0e9; color: var(--home-muted); font-family: "Lora", Georgia, serif; font-size: clamp(1.1rem, 2vw, 1.55rem); letter-spacing: .02em; }
.home-moments-grid figcaption { padding: .9rem 0; color: var(--home-muted); font-size: .95rem; }
.home-hero-explore:focus-visible { outline: 3px solid var(--home-gold); outline-offset: 4px; }
@media (max-width: 640px) {
    .home-hero-figure { height: clamp(22rem, 72svh, 34rem); }
    .home-hero-caption { bottom: 5rem; }
    .home-hero-copy { padding-block: 3rem; }
    .home-hero-actions { width: 100%; }
    .home-hero-actions .home-button { flex: 1 1 12rem; }
}

/* Opening composition: the transparent masthead floats over the image. */
.home-page.home-nav-expanded .home-hero { padding-top: 0; }
.home-page.home-nav-expanded .home-hero-figure { height: max(100svh, 48rem); }
.home-page.home-nav-expanded .home-hero-caption {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--site-header-height, 10rem) + clamp(1.5rem, 3vh, 2.5rem)) var(--home-gutter) clamp(2.5rem, 5vh, 4rem);
}
.home-page .home-hero-caption .home-hero-eyebrow {
    margin-bottom: 1.1rem;
    color: #f0cc66;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.home-page .home-hero-caption .home-hero-title,
html[lang="en"] .home-page .home-hero-caption .home-hero-title {
    max-width: 19ch;
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 5.4rem);
    line-height: 1.14;
    text-align: center;
    text-shadow: 0 3px 28px rgba(0,0,0,.42);
}
.home-page .home-hero-caption .home-hero-lead {
    max-width: 44rem;
    margin-top: 1.15rem;
    color: rgba(255,255,255,.9);
    font-size: clamp(.95rem, 1.25vw, 1.15rem);
    line-height: 1.8;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.home-page .home-hero-figure::after {
    inset: 0;
    background: linear-gradient(180deg, rgba(16,10,9,.28), rgba(16,10,9,.05) 34%, rgba(16,10,9,.72));
}

/* Browser-style start surface: greeting, search, then shortcuts. */
.home-page .home-hero-tools {
    width: min(55rem, calc(100% - 2rem));
    margin-top: clamp(2.15rem, 4vh, 3rem);
    scroll-margin-top: var(--site-header-height, 5rem);
}
.home-page .home-hero-search {
    width: min(50rem, 100%);
    max-width: none;
    margin-inline: auto;
    min-height: 3.7rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .85rem;
    padding: .35rem .45rem .35rem 1.15rem;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: var(--home-maroon);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 34px rgba(23,14,11,.2);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    text-align: left;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.home-page .home-hero-search .home-search-icon { font-size: 1.25rem; line-height: 1; }
.home-page .home-hero-search input {
    min-height: 2.8rem;
    padding: .55rem 0;
    color: var(--home-ink);
    font-size: 1rem;
}
.home-page .home-hero-search input::placeholder { color: #776e69; }
.home-page .home-hero-search input:focus,
.home-page .home-hero-search input:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}
.home-page .home-hero-search button {
    min-height: 2.85rem;
    padding: .65rem 1.15rem;
    border-radius: 999px;
    background: var(--home-maroon);
    color: #fff;
}
.home-page .home-hero-search:focus-within {
    outline: 0;
    border-color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.9);
    box-shadow: inset 0 0 0 2px rgba(221,185,78,.62), inset 0 1px 0 #fff, 0 15px 40px rgba(23,14,11,.24);
}
.home-page .home-hero-shortcuts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(.75rem, 1.6vw, 1.5rem);
    margin-top: clamp(1.5rem, 3vh, 2rem);
}
.home-page .home-hero-shortcuts a {
    min-width: 0;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .4rem .2rem;
    border-bottom: 1px solid rgba(255,255,255,.5);
    color: #fff;
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.home-page .home-hero-shortcuts a:hover {
    border-bottom-color: var(--home-gold);
    color: #fff8dd;
    transform: translateY(-2px);
}
.home-page .home-hero-shortcuts a:focus-visible {
    outline: 0;
    border-bottom-color: var(--home-gold);
    box-shadow: 0 2px 0 var(--home-gold);
}
.home-page .home-hero-shortcuts strong {
    min-width: 0;
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,.62);
    white-space: nowrap;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .home-page .home-hero { padding-top: 0; }
    .home-page .home-hero-caption {
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: calc(var(--site-header-height, 4.75rem) + clamp(2rem, 5vh, 3rem)) var(--home-gutter) 3rem;
        text-align: center;
    }
    .home-page .home-hero-caption .home-hero-title,
    html[lang="en"] .home-page .home-hero-caption .home-hero-title { font-size: clamp(2.25rem, 10vw, 3.25rem); }
    .home-page .home-hero-caption .home-hero-eyebrow { font-size: .58rem; }
    .home-page .home-hero-figure { height: max(43rem, 100svh); }
    .home-page .home-hero-tools { width: min(100%, 32rem); margin-top: 1.8rem; }
    .home-page .home-hero-search { min-height: 3.4rem; padding-left: .9rem; }
    .home-page .home-hero-search button { min-height: 2.65rem; padding-inline: .9rem; }
    .home-page .home-hero-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1.25rem; margin-top: 1.4rem; }
    .home-page .home-hero-shortcuts a { min-height: 2.75rem; padding-block: .45rem; }
}
