/* Home page visual system: warm cream, deep evergreen, and a small vermilion accent. */
.home-page {
    --home-ink: #193b35;
    --home-muted: #52645d;
    --home-paper: #faf8f1;
    --home-green: #244c41;
    --home-red: #bb563d;
    background: var(--home-paper);
    color: var(--home-ink);
}

.home-page .home-hero {
    min-height: clamp(480px, 56vw, 680px);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #314c40;
    isolation: isolate;
}

.home-page .home-hero-image,
.home-page .home-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-page .home-hero-image { object-fit: cover; z-index: -2; }
.home-page .home-hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(15, 38, 32, .86) 0%, rgba(19, 43, 35, .69) 44%, rgba(18, 38, 32, .12) 100%); }

.home-page .home-hero-content {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    padding: 78px 0 100px;
    color: #fff;
}

.home-page .home-eyebrow {
    margin: 0 0 14px;
    color: #f1d8a9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.home-page .home-hero h2 {
    max-width: 690px;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6.2vw, 76px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.04;
}

.home-page .home-intro {
    max-width: 550px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.9);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.65;
    white-space: pre-line;
}

.home-page .home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home-page .home-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 20px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .18s ease, background-color .18s ease; }
.home-page .home-button:hover { transform: translateY(-2px); }
.home-page .home-button-primary { background: #f0d8aa; color: #193b35; }
.home-page .home-button-primary:hover { background: #ffe9bf; }
.home-page .home-button-secondary { border-color: rgba(255,255,255,.68); color: #fff; }
.home-page .home-button-secondary:hover { background: rgba(255,255,255,.12); }

.home-page .home-hero-caption { position: absolute; right: max(24px, calc((100vw - 1100px) / 2)); bottom: 30px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.86); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.home-page .home-hero-caption i { width: 3px; height: 3px; border-radius: 50%; background: #f0d8aa; }

.home-page .home-welcome,
.home-page .home-explore { width: min(1100px, calc(100% - 48px)); margin: 0 auto; }
.home-page .home-welcome { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 28px; align-items: center; padding: 76px 0 72px; border-bottom: 1px solid #dedfd4; }
.home-page .home-welcome-mark { width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid #d8c5a1; border-radius: 50%; color: var(--home-red); font-family: Georgia, "Noto Serif CJK SC", serif; font-size: 38px; }
.home-page .home-eyebrow-dark { color: var(--home-red); }
.home-page .home-welcome h2,
.home-page .home-section-heading h2 { margin: 0; color: var(--home-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 42px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.home-page .home-welcome p:last-child { max-width: 760px; margin: 14px 0 0; color: var(--home-muted); font-size: 16px; line-height: 1.8; }

.home-page .home-explore { padding: 66px 0 88px; }
.home-page .home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.home-page .home-text-link { padding-bottom: 5px; color: var(--home-green); font-size: 14px; font-weight: 700; text-decoration-color: #9cab9f; text-underline-offset: 5px; }
.home-page .home-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-page .home-card { min-height: 258px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border: 1px solid #e2e0d5; background: #fffefa; color: var(--home-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.home-page .home-card:hover { transform: translateY(-4px); border-color: #c9d2c5; box-shadow: 0 12px 28px rgba(25,59,53,.08); }
.home-page .home-card-number { position: absolute; top: 25px; right: 25px; color: #a0a89f; font-size: 12px; letter-spacing: .08em; }
.home-page .home-card-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 50%; background: #edf1e9; color: var(--home-green); font-size: 21px; }
.home-page .home-card-news .home-card-icon { background: #f8eee3; color: #9a5c32; }
.home-page .home-card-join .home-card-icon { background: #f6ebe8; color: var(--home-red); }
.home-page .home-card h3 { margin: 0 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; }
.home-page .home-card p { margin: 0 0 23px; color: var(--home-muted); font-size: 14px; line-height: 1.7; }
.home-page .home-card-link { margin-top: auto; color: var(--home-green); font-size: 13px; font-weight: 700; }
.home-page .home-card-link span { padding-left: 5px; color: var(--home-red); }
.home-page .home-current-events { width: 100%; margin: 0 0 18px; padding-left: 20px; color: var(--home-muted); font-size: 13px; line-height: 1.6; }
.home-page .home-current-events li { margin: 3px 0; }
.home-page .home-history-card { grid-column: 1 / -1; min-height: 0; }
.home-page .home-history-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; width: 100%; margin-top: 4px; }
.home-page .home-history-links a { color: var(--home-green); font-size: 15px; font-weight: 700; text-underline-offset: 4px; }
.home-page :focus-visible { outline: 3px solid #c17a4a; outline-offset: 4px; }

.home-page .home-community { padding: 76px 24px; background: #f0eee4; }
.home-page .home-community-inner { width: min(1100px, 100%); display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(36px, 6vw, 76px); margin: 0 auto; }
.home-page .home-community-copy h2 { max-width: 420px; margin: 0; color: var(--home-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 46px); font-weight: 500; letter-spacing: -.025em; line-height: 1.12; }
.home-page .home-community-copy > p:not(.home-eyebrow) { max-width: 420px; margin: 18px 0 24px; color: var(--home-muted); font-size: 16px; line-height: 1.8; }
.home-page .home-community-photos { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 16px; }
.home-page .home-community-photo { min-width: 0; margin: 0; }
.home-page .home-community-photo img { display: block; width: 100%; height: clamp(210px, 28vw, 330px); object-fit: cover; }
.home-page .home-community-photo-small { margin-top: 56px; }
.home-page .home-community-photo-small img { height: clamp(180px, 23vw, 270px); }
.home-page .home-community-photo figcaption { margin-top: 10px; color: var(--home-muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 760px) {
    .home-page .home-hero { min-height: 510px; align-items: flex-end; }
    .home-page .home-hero-image { object-position: center; }
    .home-page .home-hero-shade { background: linear-gradient(0deg, rgba(15,38,32,.9) 0%, rgba(15,38,32,.68) 48%, rgba(15,38,32,.12) 100%); }
    .home-page .home-hero-content { width: calc(100% - 40px); padding: 76px 0 82px; }
    .home-page .home-hero h2 { max-width: 560px; font-size: clamp(40px, 10vw, 62px); }
    .home-page .home-hero-caption { right: 20px; bottom: 20px; font-size: 9px; }
    .home-page .home-welcome,
    .home-page .home-explore { width: calc(100% - 40px); }
    .home-page .home-welcome { grid-template-columns: 62px minmax(0, 1fr); gap: 18px; padding: 52px 0; }
    .home-page .home-welcome-mark { width: 58px; height: 58px; font-size: 27px; }
    .home-page .home-welcome h2 { font-size: 30px; }
    .home-page .home-welcome p:last-child { font-size: 15px; }
    .home-page .home-explore { padding: 52px 0 62px; }
    .home-page .home-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .home-page .home-section-heading h2 { font-size: 34px; }
    .home-page .home-cards { grid-template-columns: 1fr; gap: 12px; }
    .home-page .home-card { min-height: 225px; padding: 22px; }
    .home-page .home-history-card { min-height: 0; }
    .home-page .home-history-links { grid-template-columns: 1fr; }
    .home-page .home-card-icon { margin-bottom: 18px; }
    .home-page .home-community { padding: 54px 20px; }
    .home-page .home-community-inner { grid-template-columns: 1fr; gap: 28px; }
    .home-page .home-community-photos { gap: 10px; }
    .home-page .home-community-photo-small { margin-top: 34px; }
    .home-page .home-community-photo img { height: 220px; }
    .home-page .home-community-photo-small img { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
