/* ========== Page-Specific Base ========== */
body {
    overflow-x: hidden;
    --home-font-label: var(--font-section-label);
    --home-font-ui: clamp(0.85rem, 0.82rem + 0.12vw, 0.92rem);
    --home-font-ui-sm: clamp(0.78rem, 0.76rem + 0.08vw, 0.82rem);
    --home-font-caption-title: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
    --home-font-caption-body: clamp(0.95rem, 0.92rem + 0.14vw, 1rem);
    --home-font-card-title: clamp(1.2rem, 1.08rem + 0.48vw, 1.35rem);
    --home-font-card-title-lg: clamp(1.28rem, 1.16rem + 0.55vw, 1.45rem);
    --home-font-body-md: clamp(0.95rem, 0.92rem + 0.16vw, 1rem);
    --home-font-body-lg: clamp(1rem, 0.96rem + 0.18vw, 1.05rem);
    --home-font-hero-title: 4.55rem;
    --home-font-hero-verse: 1.12rem;
    --home-font-hero-citation: 0.96rem;
    --home-font-hero-control: 3.5rem;
    --home-font-featured-title: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
    --home-font-featured-summary: clamp(0.95rem, 0.9rem + 0.18vw, 1.05rem);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-label {
    display: block;
    margin-bottom: var(--space-md);
    color: var(--color-coral);
    font-family: var(--font-sans);
    font-size: var(--home-font-label);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-title {
    color: var(--color-text-primary);
    font-family: var(--font-serif);
    font-size: var(--font-h1);
    font-weight: 700;
    line-height: var(--leading-tight);
}

.section-header--events .section-title {
    font-size: var(--font-h2);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    z-index: 9999;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    background: var(--color-coral);
    color: var(--color-text-inverse);
    font-family: var(--font-sans);
    font-size: var(--home-font-body-md);
    font-weight: 600;
    transition: top var(--duration-fast) var(--ease-out-expo);
}

.skip-link:focus {
    top: var(--space-sm);
}

.hero {
    --hero-section-min-height: clamp(620px, 88vh, 820px);
    --hero-header-clearance: clamp(96px, 12vw, 148px);
    --hero-frame-gap: clamp(24px, 5vw, 88px);
    --hero-photo-top-offset: calc(var(--header-offset-desktop) - 5px);
    --hero-scroll-bottom-gap: clamp(8px, 1.2vw, 20px);
    --hero-scroll-accent-height: 52px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: end center;
    padding: var(--hero-header-clearance) var(--hero-frame-gap) calc(var(--hero-scroll-bottom-gap) + var(--hero-scroll-accent-height) + 24px);
    background: var(--color-bg);
    min-height: var(--hero-section-min-height);
    box-sizing: border-box;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(71, 45, 48, 0.18) 0%, rgba(71, 45, 48, 0.08) 38%, rgba(24, 53, 43, 0.54) 100%),
        radial-gradient(circle at 50% 82%, rgba(24, 53, 43, 0.38) 0%, rgba(24, 53, 43, 0) 48%);
    pointer-events: none;
}

.hero-slideshow,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slideshow {
    top: var(--hero-photo-top-offset);
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    margin: 0;
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.035);
    transition:
        opacity 1100ms var(--ease-out-expo),
        filter 1300ms var(--ease-out-expo),
        transform 1800ms var(--ease-out-expo);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.12);
}

.hero-slide--one img {
    object-position: 49% center;
}

.hero-slide--two img {
    object-position: 47% center;
}

.hero-slide--three img {
    object-position: center center;
}

.hero-slide.is-active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.hero-slide.is-active img {
    animation: heroSlideKenBurns 4000ms ease-out both;
}

.hero-slide-control {
    position: absolute;
    top: calc(var(--hero-photo-top-offset) + ((100% - var(--hero-photo-top-offset)) / 2));
    z-index: 4;
    display: grid;
    place-items: center;
    width: 56px;
    height: 72px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-text-inverse);
    font-family: var(--font-sans);
    font-size: var(--home-font-hero-control);
    line-height: 1;
    opacity: 0.98;
    text-shadow: 0 2px 14px rgba(24, 53, 43, 0.82), 0 0 18px rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color var(--duration-base) var(--ease-out-expo), transform var(--duration-base) var(--ease-out-expo);
}

.hero-slide-control--prev {
    left: clamp(0px, 0.35vw, 8px);
}

.hero-slide-control--next {
    right: clamp(0px, 0.35vw, 8px);
}

.hero-slide-control:focus-visible {
    outline: 2px solid var(--color-text-inverse);
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .hero-slide-control:hover {
        color: var(--color-sage-light);
        transform: translateY(-50%) scale(1.08);
    }
}

.hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 1280px);
    padding-bottom: clamp(6px, 2.4vh, 34px);
    color: var(--color-text-inverse);
    text-align: center;
    text-shadow: 0 3px 18px rgba(24, 53, 43, 0.68);
}

.hero-title {
    margin-top: 0;
    margin-bottom: var(--space-sm);
    color: var(--color-text-inverse);
    font-family: var(--font-serif);
    font-size: var(--home-font-hero-title);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    -webkit-text-stroke: 1px rgba(255, 252, 248, 0.82);
    filter: drop-shadow(0 10px 22px rgba(24, 53, 43, 0.55));
    opacity: 0;
    animation: heroTitleReveal 1s var(--ease-out-expo) 0.38s forwards;
}

.hero-verse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    max-width: 1040px;
    margin: 0;
    padding: 0.32rem 0.58rem;
    background: rgba(24, 53, 43, 0.78);
    color: var(--color-text-inverse);
    font-family: var(--font-sans);
    font-size: var(--home-font-hero-verse);
    font-weight: 500;
    line-height: 1.34;
    letter-spacing: 0;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.68s forwards;
}

.hero-verse-citation {
    font-size: var(--home-font-hero-citation);
    font-weight: 600;
}

.hero-dots {
    display: flex;
    gap: 0.15rem;
    margin-top: var(--space-sm);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.9s forwards;
}

.hero-dots button {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hero-dots button::before {
    content: '';
    width: 34px;
    height: 3px;
    background: rgba(255, 252, 248, 0.55);
    transform: scaleX(0.72);
    transition: background var(--duration-base) var(--ease-out-expo), transform var(--duration-base) var(--ease-out-expo);
}

.hero-dots button.is-active::before {
    background: var(--color-text-inverse);
    transform: scaleX(1);
}

.hero-dots button:focus-visible {
    outline: 2px solid var(--color-text-inverse);
    outline-offset: 5px;
}

.hero-scroll-accent {
    position: absolute;
    bottom: var(--hero-scroll-bottom-gap);
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--hero-scroll-accent-height);
    color: rgba(255, 255, 255, 0.88);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity var(--duration-slow) var(--ease-out-expo), transform var(--duration-slow) var(--ease-out-expo);
}

.hero-scroll-accent.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.hero-scroll-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1;
}

.hero-scroll-line {
    width: 1px;
    min-height: 32px;
    background: rgba(255, 255, 255, 0.72);
    animation: scrollPulse 2s ease-in-out infinite;
}

.header-intro-pending .hero-overlay > * {
    animation-play-state: paused;
}

.header-intro-complete .hero-overlay > * {
    animation-play-state: running;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(18px) scale(0.98);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

@keyframes heroSlideKenBurns {
    from {
        transform: scale(1.16);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.4;
        transform: scaleY(0.7);
    }
}

.section-inline-action {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--space-xl);
}

.section-inline-link.btn-text {
    padding-bottom: 0.2rem;
    color: var(--color-text-primary);
    font-size: var(--home-font-body-md);
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: color var(--duration-base) var(--ease-out-expo), transform var(--duration-base) var(--ease-out-expo);
}

.section-inline-link.btn-text::before {
    content: '→';
    order: 1;
    margin-left: 0.45em;
    transform: translateX(0);
    transition: transform var(--duration-base) var(--ease-out-expo);
}

.section-inline-link.btn-text::after {
    left: 3%;
    width: 94%;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}

@media (hover: hover) and (pointer: fine) {
    .section-inline-link.btn-text:hover {
        color: var(--color-coral);
        transform: translateY(-2px);
    }

    .section-inline-link.btn-text:hover::before {
        transform: translateX(3px);
    }

    .section-inline-link.btn-text:hover::after {
        width: 94%;
        opacity: 0.85;
    }
}

.section-inline-link.btn-text:focus-visible {
    outline: 2px solid var(--color-coral);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.featured-resources {
    padding: clamp(48px, 6vw, 72px) clamp(16px, 3vw, 40px);
    background:
        radial-gradient(circle at 10% 26%, rgba(201, 203, 163, 0.3), transparent 28%),
        linear-gradient(135deg, color-mix(in srgb, var(--color-sage-light) 54%, var(--color-white)) 0%, var(--color-bg) 72%);
}

.featured-resources .section-label {
    color: color-mix(in srgb, var(--color-sage) 78%, var(--color-text-primary));
}

.featured-resources .section-header,
.events .section-header {
    margin-bottom: var(--space-xl);
}

.featured-resources .section-inline-action,
.events .section-inline-action {
    margin-top: var(--space-lg);
}

.featured-resources .container {
    max-width: 1320px;
}

.featured-resource-carousel {
    --shared-carousel-gap: var(--space-lg);
    --shared-carousel-item-width: min(72%, 760px);
    min-height: 330px;
    padding-inline: clamp(44px, 5vw, 68px);
}

.featured-resource-stage {
    min-height: 330px;
}

.featured-resource-card {
    position: relative;
    min-height: 330px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--duration-slow) var(--ease-out-expo);
}

.featured-resource-card--status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 720px);
    min-height: 260px;
    margin: 0 auto;
    padding: var(--space-xl);
    color: var(--color-text-secondary);
    font-size: var(--home-font-body-md);
    text-align: center;
    opacity: 1;
    transform: none;
}

.featured-resource-link {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
    height: 100%;
    min-height: inherit;
    color: inherit;
}

.featured-resource-thumbnail {
    position: relative;
    align-self: center;
    width: min(100%, 340px);
    height: clamp(210px, 26vw, 260px);
    overflow: hidden;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    background: var(--color-sage-light);
}

.featured-resource-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.featured-resource-link:hover .featured-resource-thumbnail img {
    transform: scale(1.04);
}

.featured-resource-thumbnail-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--color-coral);
    font-size: var(--home-font-hero-control);
}

.featured-resource-type {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.45rem 0.72rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 252, 248, 0.88);
    color: var(--color-text-primary);
    font-size: var(--home-font-ui-sm);
    font-weight: 600;
}

.featured-resource-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 52px);
}

.featured-resource-date {
    margin-bottom: var(--space-sm);
    color: var(--color-coral);
    font-size: var(--home-font-ui-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.featured-resource-title {
    margin: 0 0 var(--space-sm);
    color: var(--color-text-primary);
    font-family: var(--font-serif);
    font-size: var(--home-font-featured-title);
    font-weight: 700;
    line-height: var(--leading-tight);
    overflow-wrap: anywhere;
}

.featured-resource-summary {
    margin: 0 0 var(--space-md);
    color: var(--color-text-secondary);
    font-size: var(--home-font-featured-summary);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.featured-resource-cta {
    align-self: flex-start;
    color: var(--color-coral);
    font-size: var(--home-font-body-md);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.gallery {
    padding: var(--space-4xl) clamp(16px, 3vw, 40px);
    background: var(--color-peach-light);
}

.gallery[hidden] {
    display: none;
}

.gallery .container {
    max-width: 1560px;
}

.section-carousel {
    --shared-carousel-gap: var(--space-lg);
    --shared-carousel-item-width: min(82vw, 380px);
    padding-inline: clamp(44px, 5vw, 68px);
}

.section-carousel--gallery {
    --shared-carousel-item-width: min(82vw, 420px);
}

.events-strip {
    --event-carousel-gutter: clamp(48px, 6vw, 72px);
    position: relative;
}

.events-grid {
    --event-carousel-gutter: inherit;
    --shared-carousel-gap: clamp(1rem, 2vw, 1.5rem);
    --shared-carousel-item-width: min(82vw, 820px);
    width: calc(100% + (var(--event-carousel-gutter) * 2));
    max-width: none;
    margin-inline: calc(-1 * var(--event-carousel-gutter));
    padding-inline: var(--event-carousel-gutter);
    display: flex;
    gap: var(--shared-carousel-gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-block: 8px 48px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.events-grid::-webkit-scrollbar {
    display: none;
}

.events-nav {
    top: 50%;
    z-index: 2;
}

.events-nav--prev {
    left: calc(-1 * var(--event-carousel-gutter) + 4px);
}

.events-nav--next {
    right: calc(-1 * var(--event-carousel-gutter) + 4px);
}

.events-grid .event-card {
    flex: 0 0 var(--shared-carousel-item-width);
    scroll-snap-align: center;
}

.section-carousel-nav {
    background: color-mix(in srgb, var(--color-white) 90%, transparent);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 0.9vw, 12px);
    max-width: none;
    margin: 0 auto;
}

.bento-grid[aria-busy="true"] {
    cursor: progress;
}

.bento-grid.bento-grid--count-1 {
    grid-template-columns: minmax(0, min(100%, 520px));
    justify-content: center;
}

.bento-grid.bento-grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 520px));
    justify-content: center;
}

.bento-grid.bento-grid--count-4 {
    grid-template-columns: repeat(2, minmax(0, 520px));
    justify-content: center;
}

.bento-grid.bento-grid--count-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bento-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-card);
    transition: transform var(--duration-slow) var(--ease-out-expo), box-shadow var(--duration-slow) var(--ease-out-expo);
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.bento-card img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.bento-card:hover img {
    transform: scale(1.04);
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(71, 45, 48, 0.4);
    pointer-events: none;
}

.bento-card:nth-child(odd) {
    --homepage-gallery-offset: -104px;
    --homepage-gallery-rotation: -5deg;
}

.bento-card:nth-child(even) {
    --homepage-gallery-offset: 104px;
    --homepage-gallery-rotation: 5deg;
}

.homepage-card-assemble--gallery {
    animation: homepage-gallery-assemble 1800ms var(--ease-out-expo) var(--homepage-card-delay, 0ms) backwards;
}

.homepage-card-assemble--events {
    animation: homepage-events-assemble 1800ms var(--ease-out-expo) var(--homepage-card-delay, 0ms) backwards;
}

.homepage-card-assemble--resources-active {
    animation: homepage-resources-active-assemble 1800ms var(--ease-out-expo) backwards;
}

#subscribe .homepage-subscribe-assemble {
    animation: homepage-subscribe-assemble 1800ms var(--ease-out-expo) backwards;
}

@media (hover: hover) and (pointer: fine) {
    .bento-card::before {
        content: '';
        position: absolute;
        left: var(--mouse-x, 50%);
        top: var(--mouse-y, 50%);
        z-index: 1;
        width: 190px;
        height: 190px;
        border-radius: 50%;
        background: var(--color-glow);
        filter: blur(46px);
        opacity: 0;
        transform: translate(-50%, -50%);
        transition: opacity var(--duration-base) var(--ease-out-quart);
        pointer-events: none;
    }

    .bento-card.homepage-card-pointer:hover::before {
        opacity: 0.34;
    }

    .featured-resource-card.homepage-card-pointer {
        overflow: hidden;
    }

    .featured-resource-card.homepage-card-pointer::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 3;
        background: radial-gradient(210px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), color-mix(in srgb, var(--color-warm-peach) 18%, transparent), transparent 72%);
        opacity: 0;
        transition: opacity var(--duration-base) var(--ease-out-quart);
        pointer-events: none;
    }

    .featured-resource-card.homepage-card-pointer:hover::after {
        opacity: 0.58;
    }

}

@keyframes homepage-gallery-assemble {
    from {
        opacity: 0;
        transform: translate3d(var(--homepage-gallery-offset, 0), 84px, 0) rotate(var(--homepage-gallery-rotation, 0deg)) scale(0.88);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes homepage-events-assemble {
    from {
        opacity: 0;
        clip-path: inset(16% 10% 16% 10% round var(--radius-lg));
        transform: translateY(82px) rotate(3deg) scale(0.9);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0 round var(--radius-lg));
        transform: scale(1);
    }
}

@keyframes homepage-resources-active-assemble {
    from {
        opacity: 0;
        transform: translateY(72px) scale(0.86);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes homepage-subscribe-assemble {
    from {
        opacity: 0;
        transform: translateY(64px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bento-card--hero {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
}

.bento-card--std {
    min-height: 0;
}

.shared-carousel.is-carousel-active .bento-grid,
.shared-carousel.is-carousel-active .events-grid {
    display: flex;
    gap: var(--shared-carousel-gap);
    max-width: none;
}

.shared-carousel.is-carousel-active .bento-card,
.shared-carousel.is-carousel-active .event-card {
    flex: 0 0 var(--shared-carousel-item-width);
}

.bento-caption {
    position: absolute;
    right: var(--space-lg);
    bottom: var(--space-lg);
    left: var(--space-lg);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    color: var(--color-text-inverse);
}

.bento-caption strong {
    font-family: var(--font-serif);
    font-size: var(--home-font-card-title);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.bento-card--hero .bento-caption strong {
    font-size: var(--home-font-card-title-lg);
}

.bento-caption span {
    display: block;
    max-width: 100%;
    font-size: var(--home-font-ui);
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.events {
    padding: clamp(40px, 5vw, 60px) 5vw;
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-warm-peach) 42%, var(--color-white)) 0%, var(--color-bg) 72%);
}

.events .section-label {
    color: color-mix(in srgb, var(--color-coral) 76%, var(--color-text-primary));
}

.events .container {
    max-width: 1120px;
}

.events[hidden] {
    display: none;
}

.events-grid[aria-busy="true"] {
    cursor: progress;
}

.events .event-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 1.35fr) minmax(260px, 1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
    overflow: visible;
    width: 100%;
    margin-inline: 0;
    padding: clamp(1.25rem, 2.5vw, 2rem) 0;
    border: 1px solid rgba(71, 45, 48, 0.18);
    border-radius: var(--radius-md);
    background: rgba(255, 253, 250, 0.82);
    box-shadow: 0 10px 24px rgba(71, 45, 48, 0.08);
    cursor: pointer;
    opacity: 0.58;
    transform: scale(0.94);
    transform-origin: center;
    transition: transform var(--duration-slow) var(--ease-out-expo), opacity var(--duration-slow) var(--ease-out-expo);
}

.events .event-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    background: color-mix(in srgb, var(--color-warm-peach) 52%, var(--color-white));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.events .event-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.events .event-card--no-image .event-card-media {
    background: var(--color-white);
}

.events .event-card-content {
    position: relative;
    min-width: 0;
    padding: 0 0 0 clamp(1.25rem, 2vw, 1.75rem);
    border-left: 2px solid rgba(173, 102, 88, 0.24);
}

.events .event-card.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: color-mix(in srgb, var(--color-coral) 58%, var(--color-dark-brown));
    background: rgba(255, 253, 250, 0.98);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.96),
        0 22px 52px rgba(71, 45, 48, 0.24);
    z-index: 1;
}

.events .event-card-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
}

.events .event-card-date {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 253, 250, 0.84);
    color: var(--color-text-primary);
    box-shadow: 0 6px 16px rgba(71, 45, 48, 0.12);
    font-size: var(--font-sm);
    font-weight: 600;
    line-height: 1;
}

.events .event-card-title {
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 3vw, 2rem);
    line-height: var(--leading-tight);
    overflow-wrap: anywhere;
}

.events .event-card-title a {
    color: inherit;
    text-decoration: none;
}

.events .event-card-title a:focus-visible {
    outline: 3px solid var(--color-coral);
    outline-offset: 3px;
}

.events .event-card-desc {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--font-body-sm);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.events .event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(71, 45, 48, 0.12);
}

.events .event-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    font-size: var(--font-sm);
    overflow-wrap: anywhere;
}

.events .event-card-actions {
    display: flex;
    margin-top: var(--space-lg);
}

.events .event-card-cta.btn-primary {
    min-width: 180px;
}

/* Subscribe / subscription styles live in components/shared-subscribe-section.css */

@media (max-width: 1023px) {
    body {
        --home-font-hero-title: 3.4rem;
        --home-font-hero-verse: 1rem;
        --home-font-hero-citation: 0.9rem;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-grid.bento-grid--count-4,
    .bento-grid.bento-grid--count-5 {
        grid-template-columns: 1fr 1fr;
    }

    .bento-card--hero {
        grid-column: auto;
        grid-row: auto;
        min-height: 0;
    }

    .section-carousel {
        --shared-carousel-item-width: min(74vw, 360px);
        padding-inline: 52px;
    }

    .events-strip {
        --event-carousel-gutter: clamp(46px, 6vw, 68px);
    }

    .events-grid {
        --shared-carousel-item-width: min(78vw, 720px);
    }

    .events .event-card {
        grid-template-columns: minmax(240px, 1.15fr) minmax(240px, 1fr);
    }

    .featured-resource-carousel {
        --shared-carousel-item-width: min(78%, 680px);
    }

    .featured-resource-card {
        min-height: 330px;
    }
}

@media (max-width: 767px) {
    body {
        --home-font-hero-title: 2.62rem;
        --home-font-hero-verse: 0.92rem;
        --home-font-hero-citation: 0.84rem;
        --home-font-hero-control: 2.6rem;
    }

    .hero {
        --hero-header-clearance: 136px;
        --hero-frame-gap: clamp(20px, 5vw, 28px);
        --hero-photo-top-offset: calc(var(--header-offset-mobile) - 5px);
        min-height: 640px;
        padding-bottom: var(--hero-frame-gap);
    }

    .hero::before {
        background: linear-gradient(
            180deg,
            rgba(71, 45, 48, 0.16) 0%,
            rgba(71, 45, 48, 0.1) 34%,
            rgba(24, 53, 43, 0.72) 100%
        );
    }

    .hero-slide img {
        transform: scale(1.18);
    }

    .hero-slide--one img,
    .hero-slide--two img {
        object-position: 44% center;
    }

    .hero-overlay {
        width: 100%;
        padding-bottom: 18px;
    }

    .hero-slide-control {
        width: 44px;
        height: 60px;
    }

    .hero-verse {
        display: flex;
        padding: 0.48rem 0.62rem;
    }

    .hero-scroll-accent {
        display: none;
    }

    .featured-resources {
        padding: 40px 20px;
    }

    .featured-resources .section-header,
    .events .section-header {
        margin-bottom: var(--space-lg);
    }

    .featured-resources .section-inline-action,
    .events .section-inline-action {
        margin-top: var(--space-md);
    }

    .featured-resource-carousel {
        --shared-carousel-item-width: min(88vw, 430px);
        min-height: 440px;
    }

    .featured-resource-stage {
        min-height: 440px;
    }

    .featured-resource-card {
        min-height: 400px;
    }

    .featured-resource-link {
        grid-template-columns: 1fr;
    }

    .featured-resource-thumbnail {
        align-self: stretch;
        width: 100%;
        height: clamp(190px, 52vw, 240px);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .featured-resource-content {
        justify-content: flex-start;
        padding: var(--space-lg);
    }

    .about,
    .gallery {
        padding: var(--space-3xl) 20px;
    }

    .events {
        padding: 40px 20px;
    }

    .section-carousel {
        --shared-carousel-item-width: 84vw;
        padding-inline: 42px;
    }

    .events-strip {
        --event-carousel-gutter: 48px;
    }

    .events-grid {
        --shared-carousel-item-width: min(86vw, 520px);
        width: 100%;
        margin-inline: 0;
    }

    .events .event-card {
        grid-template-columns: 1fr;
        align-items: start;
        gap: var(--space-md);
        padding: var(--space-md) 0;
    }

    .events .event-card-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 0;
        padding: var(--space-sm) 0 0;
        border-top: 2px solid rgba(173, 102, 88, 0.24);
        border-left: 0;
        text-align: center;
    }

    .events .event-card-media {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .events .event-card-media img {
        height: 100%;
        object-fit: cover;
    }

    .events .event-card-eyebrow,
    .events .event-card-meta,
    .events .event-card-actions {
        justify-content: center;
    }

    .events .event-card-meta {
        align-items: center;
        text-align: center;
    }

    .events .event-card-meta span {
        justify-content: center;
    }

    .events .event-card-desc {
        align-self: center;
        width: min(100%, 32ch);
        display: -webkit-box;
        overflow: hidden;
        text-align: center;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .events .event-card-eyebrow,
    .events .event-card-title {
        margin-bottom: var(--space-sm);
    }

    .events .event-card-meta {
        margin-top: var(--space-md);
        padding-top: var(--space-md);
    }

    .events .event-card-actions {
        margin-top: var(--space-md);
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid.bento-grid--count-1,
    .bento-grid.bento-grid--count-2,
    .bento-grid.bento-grid--count-4,
    .bento-grid.bento-grid--count-5 {
        grid-template-columns: 1fr;
    }

    .bento-card--hero {
        grid-column: 1;
        grid-row: auto;
        min-height: 0;
    }

    .bento-card--std {
        min-height: 0;
    }

    .section-inline-action {
        justify-content: flex-start;
    }

    .events .event-card-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }

}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide.is-active img {
        animation: none;
        transition: opacity 250ms ease;
    }

}

@media (max-width: 430px) {
    body {
        --home-font-hero-title: 2.12rem;
        --home-font-hero-verse: 0.86rem;
    }

    .hero {
        --hero-frame-gap: 16px;
        --hero-header-clearance: 118px;
        --hero-photo-top-offset: calc(var(--header-offset-mobile-compact) - 5px);
        min-height: 590px;
    }

    .featured-resources {
        padding-right: 16px;
        padding-left: 16px;
    }

    .featured-resource-carousel {
        min-height: 420px;
    }

    .featured-resource-stage {
        min-height: 420px;
    }

    .featured-resource-card {
        min-height: 390px;
    }

    .about,
    .gallery,
    .events {
        padding-right: 16px;
        padding-left: 16px;
    }

    .section-carousel {
        --shared-carousel-item-width: calc(100vw - 4rem);
        padding-inline: 36px;
    }
}
