:root {
    --pine: #146b45;
    --pine-deep: #0b3d28;
    --pine-ink: #163128;
    --lime: #d7e88a;
    --cream: #f5f7f2;
    --paper: #ffffff;
    --line: #e3ebe4;
    --muted: #5d6c63;
    --serif: "Newsreader", "Palatino Linotype", Palatino, serif;
    --sans: "Sora", "Segoe UI", sans-serif;
    --shadow: 0 18px 40px rgba(11, 61, 40, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--pine-ink);
    background: var(--cream);
    font-family: var(--sans);
    font-size: 1.02rem;
    line-height: 1.65;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.12; overflow-wrap: break-word; margin: 0.2rem 0 0.7rem; }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--paper);
    padding: 0.4rem 0.8rem;
    z-index: 40;
}
.skip:focus { top: 1rem; }
.wrap { width: auto; max-width: 1180px; margin: 0 auto; padding: 0 1.1rem; min-width: 0; }
.wrap-narrow { width: auto; max-width: 820px; margin: 0 auto; padding: 0 1.1rem; min-width: 0; }

.site-head { position: sticky; top: 0; z-index: 30; background: var(--paper); }
.topbar { background: var(--pine-deep); color: #e7f3ec; font-size: 0.82rem; }
.topbar .wrap, .menu-bar .wrap, .footer-grid, .legal {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}
.topbar .wrap { padding: 0.45rem 0; }
.topbar p { margin: 0; }
.topbar a { color: white; text-decoration: none; }

.menu-bar .wrap { min-height: 78px; }
.brand { display: flex; gap: 0.7rem; align-items: center; text-decoration: none; color: var(--pine); }
.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef6ef;
    color: var(--pine);
}
.brand strong { display: block; font-family: var(--serif); font-size: 1.55rem; line-height: 1; }
.brand small { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.62rem; }

.nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.nav > a, .menu-drop summary {
    color: var(--pine-ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
}
.nav > a.is-active, .menu-drop summary.is-active { color: var(--pine); }
.nav-contact { display: none; }
.menu-drop { position: relative; }
.menu-drop summary { list-style: none; }
.menu-drop summary::-webkit-details-marker { display: none; }
.menu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    min-width: 230px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.45rem;
    z-index: 40;
}
.menu-drop[open] .menu-panel { display: grid; }
.menu-panel a { text-decoration: none; padding: 0.55rem 0.75rem; border-radius: 10px; color: var(--pine-ink); }
.menu-panel a:hover, .menu-panel a.is-active { background: #eef6ef; color: var(--pine); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
    display: none;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    align-items: center;
    gap: 0.45rem;
    background: white;
    color: var(--pine-deep);
    font-weight: 600;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--pine-deep);
    position: relative;
}
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.75rem 1.15rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    background: var(--lime);
    color: var(--pine-deep);
    font-weight: 600;
}
.btn.pill { background: var(--lime); padding: 0.7rem 1.15rem; }
.btn.dark { background: var(--pine); color: white; }
.btn.lime { background: var(--lime); color: var(--pine-deep); }

.hero-slider { padding: 1rem 0 0.4rem; }
.hero-frame { position: relative; }
.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.15fr);
    min-height: 560px;
    background: linear-gradient(160deg, #18784d 0%, #0d5134 70%);
    border-radius: 28px;
    overflow: hidden;
    color: #f4fbf6;
}
.hero-slide.is-on { display: grid; }
.hero-copy { padding: 3.2rem 2.6rem 4.2rem; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-copy::before {
    content: "";
    position: absolute;
    inset: 1.2rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    pointer-events: none;
}
.hero-mark { display: block; margin-bottom: 0.8rem; }
.kicker { letter-spacing: 0.14em; text-transform: uppercase; color: var(--pine); font-size: 0.75rem; font-weight: 600; margin: 0 0 0.45rem; }
.kicker.light { color: #d7e88a; }
.hero-copy h1, .hero-copy h2 { color: white; font-size: clamp(2.7rem, 5vw, 4.5rem); margin: 0 0 0.8rem; }
.hero-copy p { max-width: 34rem; color: #e7f6ee; margin: 0 0 1.3rem; }
.hero-photo { position: relative; min-height: 280px; background: #0b3d28; }
.photo-credit { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.75rem; line-height: 1.35; }
.hero-photo .photo-credit {
    position: absolute;
    left: 0.7rem;
    right: 5rem;
    top: 0.7rem;
    margin: 0;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
    z-index: 2;
}
.photo-credit a { color: inherit; text-decoration: underline; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; position: absolute; inset: 0; }
.hero-note {
    position: absolute;
    right: 1.2rem;
    bottom: 4.2rem;
    max-width: 250px;
    background: rgba(255,255,255,.88);
    color: var(--pine-ink);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    text-decoration: none;
    backdrop-filter: blur(6px);
}
.hero-note span { display: block; font-size: 0.92rem; }
.hero-note strong { display: inline-block; margin-top: 0.45rem; color: var(--pine); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: white;
    color: var(--pine-deep);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.hero-arrow.prev { left: auto; right: 4.4rem; }
.hero-arrow.next { right: 1rem; }
.hero-arrow { top: auto; bottom: 1rem; transform: none; z-index: 2; }
.hero-dots { position: absolute; left: 1.5rem; right: auto; bottom: 1.25rem; display: flex; gap: 0.4rem; }
.hero-dots button { width: 9px; height: 9px; border: 0; border-radius: 99px; background: rgba(255,255,255,.7); padding: 0; cursor: pointer; }
.hero-dots button.is-on { width: 24px; background: white; }

.band { padding: 4.2rem 0; }
.band.tight { padding-bottom: 0; }
.about-grid, .contact-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: center; }
.about-photo img { width: 100%; height: 420px; object-fit: cover; border-radius: 28px 80px 28px 28px; }
.intro { color: var(--muted); max-width: 42rem; }

.feature-row, .service-grid, .program-grid, .news-grid { display: grid; gap: 1rem; }
.feature-row { grid-template-columns: repeat(4, 1fr); margin-top: 0.4rem; }
.feature, .service-card, .program-card, .news-card {
    background: var(--paper);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.feature, .service-card { padding: 1.2rem 1.15rem 1.3rem; }
.feature span, .service-card span { color: var(--pine); font-family: var(--serif); font-size: 1.4rem; }
.feature h3, .service-card h3 { font-size: 1.25rem; }
.feature a, .service-card a, .program-card a, .news-card a { color: var(--pine); font-weight: 600; text-decoration: none; }
.section-head { padding-top: 3rem; padding-bottom: 3rem; }
.service-grid { grid-template-columns: repeat(4, 1fr); margin-top: 1.4rem; }

.marquee { overflow: hidden; background: var(--pine); color: white; margin-top: 2.2rem; }
.marquee-track { display: flex; gap: 2.2rem; width: max-content; padding: 0.85rem 0; animation: ticker 48s linear infinite; }
.marquee span::before { content: "·"; margin-right: 2.2rem; color: var(--lime); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.programs { background: white; }
.program-grid { grid-template-columns: repeat(3, 1fr); margin-top: 1.4rem; }
.program-card { overflow: hidden; }
.program-card img { width: 100%; height: 220px; object-fit: cover; object-position: center 30%; }
.program-card div, .news-card div { padding: 1rem 1.1rem 1.25rem; }
.program-card p, .news-card p { color: var(--muted); margin: 0; }

.news-grid { grid-template-columns: repeat(3, 1fr); margin-top: 1.3rem; }
.news-card { overflow: hidden; }
.news-card img { width: 100%; height: 180px; object-fit: cover; background: #e7f0ea; }
.meta { color: var(--pine); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.meta a { color: inherit; text-decoration: none; }
.meta span { margin-left: 0.45rem; }
.area-filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.area-filters a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    background: white;
    color: var(--pine);
    text-decoration: none;
    font-weight: 600;
}
.area-filters a.is-on { background: var(--pine); color: white; border-color: var(--pine); }

.quote-band { background: white; }
.quote-frame { position: relative; max-width: 760px; margin: 0.6rem auto 0; min-height: 220px; }
.quote-slide { display: none; margin: 0; text-align: center; }
.quote-slide.is-on { display: block; }
.quote-slide p { font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 1.9rem); line-height: 1.35; }
.quote-slide footer { color: var(--muted); }
.quote-slide a { color: var(--pine); font-weight: 600; }
.quote-nav { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.quote-nav button {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: white; cursor: pointer; font-size: 1.3rem;
}
.quote-band .hero-dots { position: static; margin-top: 0.8rem; }
.quote-band .hero-dots button { background: #c9d7ce; }
.quote-band .hero-dots button.is-on { background: var(--pine); }

.cta {
    background: var(--pine);
    color: white;
    border-radius: 24px;
    padding: 2rem 2.1rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
}
.cta h2, .cta .kicker { color: white; }
.cta p { margin: 0; color: #e5f5ec; }

.contact-band { align-items: start; }
.form { display: grid; gap: 0.75rem; background: white; border-radius: 20px; padding: 1.2rem; box-shadow: var(--shadow); }
.form label { display: grid; gap: 0.3rem; font-weight: 600; }
.form input, .form textarea, .form select {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    color: var(--pine-ink);
}
.errors { background: #fde8e4; color: #6d2418; padding: 0.8rem 1rem; border-radius: 12px; }
.status { background: #e5f3ea; color: #145233; padding: 0.8rem 1rem; border-radius: 12px; }
.hp { position: absolute; left: -9999px; }

.page-hero { background: var(--pine-deep); color: white; padding: 3.2rem 0 2.4rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); color: white; }
.page-hero h1[dir="rtl"] { text-align: right; }
.page-hero .kicker, .page-hero .lede, .page-hero .intro { color: #d7e7de; }
.article { padding: 2rem 0 4rem; }
.prose h2, .prose h3 { margin: 1.5rem 0 0.45rem; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.prose h3 { font-size: 1.2rem; }
.prose p { margin: 0 0 1rem; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose a { color: var(--pine); text-decoration: underline; text-underline-offset: 0.15em; }
.prose a[id] { text-decoration: none; }
.prose, .page-hero h1 { overflow-wrap: break-word; }
.prose img, .prose figure img { width: auto; max-width: 100%; height: auto; }
.gallery-slider { position: relative; margin: 0 0 2rem; }
.gallery-slide { display: none; margin: 0; }
.gallery-slide.is-on { display: block; }
.gallery-slide img { width: 100%; max-height: 520px; object-fit: contain; background: var(--pine-deep); border-radius: 22px; }
.gallery-slide figcaption { margin-top: 0.6rem; color: var(--muted); }
.gallery-slider .hero-arrow { bottom: 3.2rem; }
.gallery-group { margin: 0 0 2.2rem; }
.gallery-group h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.gallery-grid button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--pine-deep);
    cursor: pointer;
    aspect-ratio: 4 / 3;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    background: rgba(11, 61, 40, 0.88);
    padding: 1.2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 78vh; object-fit: contain; border-radius: 12px; background: black; }
.lightbox p { color: white; text-align: center; margin: 0.7rem 0 0; max-width: 40rem; }
.lightbox-close, .lightbox-nav {
    position: absolute;
    border: 0;
    border-radius: 999px;
    background: white;
    color: var(--pine-deep);
    cursor: pointer;
}
.lightbox-close { top: 1rem; right: 1rem; padding: 0.45rem 0.8rem; font-weight: 600; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; font-size: 1.6rem; }
.lightbox-nav.prev { left: 0.8rem; }
.lightbox-nav.next { right: 0.8rem; }
.prose figure { margin: 0 auto 1rem; text-align: center; }
.prose figure img { margin-inline: auto; }
.prose [dir="rtl"] { text-align: right; }
.prose [dir="rtl"] ul { padding-right: 1.2rem; padding-left: 0; }
.pager { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.pager a { color: var(--pine); font-weight: 600; }

.footer { background: var(--pine-deep); color: #e7f3ec; padding-top: 3rem; }
.footer h2 { color: white; font-size: 1.45rem; }
.footer a { color: var(--lime); text-decoration: none; }
.footer-grid { align-items: start; display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding: 0.9rem 0 1.1rem; color: #c5d9cc; font-size: 0.9rem; }
.legal p { margin: 0; }

@media (max-width: 980px) {
    .nav-burger { display: inline-flex; }
    .btn.pill { display: none; }
    .nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        margin: 0 0 1rem;
        gap: 0.2rem;
    }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav-contact { display: inline; font-weight: 600; color: var(--pine); }
    .menu-panel { position: static; box-shadow: none; min-width: 0; padding: 0 0 0.4rem 0.8rem; }
    .menu-drop[open] .menu-panel { display: grid; }
    .hero-slide, .about-grid, .contact-band, .feature-row, .service-grid, .program-grid, .news-grid, .footer-grid, .cta {
        grid-template-columns: 1fr;
        display: grid;
    }
    .hero-slide { display: none; min-height: 0; }
    .hero-slide.is-on { display: grid; }
    .hero-copy { padding: 2rem 1.3rem 1.4rem; }
    .hero-photo { display: flex; flex-direction: column; min-height: 0; }
    .hero-photo img { position: static; height: 240px; width: 100%; }
    .hero-note { position: static; right: auto; bottom: auto; max-width: none; margin: 0.75rem 0.75rem 3.2rem; }
    .hero-arrow { bottom: 0.7rem; }
    .about-photo img { height: 260px; border-radius: 22px; }
    .topbar .wrap { align-items: flex-start; }
    .page-hero { padding: 2rem 0 1.3rem; }
    .page-hero h1 { font-size: 1.7rem; }
    .article { padding-bottom: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}
