:root {
    --green: #0f7d3d;
    --green-2: #1ea05a;
    --green-dark: #073d24;
    --orange: #f47a20;
    --saffron: #ffbf3f;
    --ink: #10211a;
    --text: #26362f;
    --muted: #6a7b70;
    --paper: #fffaf2;
    --cream: #f7efe0;
    --mint: #e8f6ed;
    --line: rgba(16, 33, 26, 0.12);
    --surface: #ffffff;
    --shadow: 0 28px 80px rgba(14, 45, 28, 0.16);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

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

p {
    color: var(--muted);
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.04;
    margin: 0;
    letter-spacing: 0;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    max-width: 840px;
}

.skip-link {
    background: var(--ink);
    color: white;
    left: 1rem;
    padding: 0.7rem 1rem;
    position: fixed;
    top: -4rem;
    z-index: 1000;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    background: rgba(255, 250, 242, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.notice-bar {
    background: linear-gradient(90deg, var(--green-dark), var(--green));
    color: white;
    font-size: 0.78rem;
}

.notice-inner {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 34px;
    overflow: hidden;
}

.notice-inner > span,
.notice-inner > a {
    font-weight: 800;
    white-space: nowrap;
}

.ticker {
    color: rgba(255, 255, 255, 0.86);
    display: flex;
    flex: 1;
    gap: 1.25rem;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker span:not(:first-child) {
    display: none;
}

.nav-inner {
    align-items: center;
    display: flex;
    gap: 1.2rem;
    justify-content: space-between;
    min-height: 78px;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 0.85rem;
    min-width: 250px;
}

.brand img {
    height: 54px;
    width: 56px;
}

.brand strong {
    color: var(--green-dark);
    display: block;
    font-size: 1.06rem;
}

.brand small {
    color: var(--orange);
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    margin-top: 0.1rem;
}

.nav-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
}

.nav-links a {
    border-radius: var(--radius);
    color: #24372d;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.62rem 0.72rem;
}

.nav-links a:hover,
.nav-links .active {
    background: var(--mint);
    color: var(--green-dark);
}

.nav-button {
    background: var(--green-dark);
    border: 0;
    border-radius: var(--radius);
    display: none;
    gap: 5px;
    padding: 0.65rem;
    width: 42px;
}

.nav-button span {
    background: white;
    border-radius: 999px;
    height: 3px;
}

.hero {
    background:
        radial-gradient(circle at 14% 8%, rgba(244, 122, 32, 0.18), transparent 28%),
        radial-gradient(circle at 84% 20%, rgba(30, 160, 90, 0.18), transparent 30%),
        linear-gradient(135deg, #fffaf2 0%, #eaf7ee 52%, #fff3df 100%);
    overflow: hidden;
    min-height: calc(100vh - 112px);
    padding: 4rem 0 4.5rem;
    position: relative;
}

.hero::before {
    background: linear-gradient(90deg, rgba(15, 125, 61, 0.08), rgba(244, 122, 32, 0.08));
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: 0.86fr 1.14fr;
    min-height: calc(100vh - 190px);
}

.hero h1 {
    font-size: clamp(2.4rem, 4.2vw, 4.65rem);
    max-width: 690px;
}

.hero p {
    font-size: 1.05rem;
    max-width: 570px;
}

.eyebrow {
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
}

.hero-actions,
.story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.7rem;
}

.button {
    align-items: center;
    border-radius: var(--radius);
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--green);
    box-shadow: 0 16px 32px rgba(15, 125, 61, 0.24);
    color: white;
}

.button.secondary {
    background: white;
    border: 1px solid var(--line);
    color: var(--green-dark);
}

.hero-collage {
    display: grid;
    grid-template-columns: 1fr 0.64fr;
    grid-template-rows: 230px 230px;
    gap: 0.9rem;
    position: relative;
}

.hero-collage img {
    border: 6px solid white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.collage-large {
    grid-row: span 2;
}

.motto-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    bottom: -26px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 0.8rem;
    left: 40px;
    padding: 0.9rem 1rem;
    position: absolute;
}

.motto-card img {
    border: 0;
    box-shadow: none;
    height: 52px;
    width: 54px;
}

.motto-card strong {
    color: var(--green-dark);
    display: block;
    max-width: 220px;
}

.quick-panel {
    margin-top: -2.2rem;
    position: relative;
    z-index: 4;
}

.quick-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}

.quick-card,
.program-card,
.facility-card,
.news-card,
.document-link,
.value-grid article,
.staff-card,
.admission-grid article,
.method-grid article,
.contact-info article {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 38px rgba(14, 45, 28, 0.08);
}

.quick-card {
    padding: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.quick-card span {
    color: var(--green-dark);
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.quick-card p {
    font-size: 0.92rem;
    margin: 0;
}

.stats-band {
    padding: 5rem 0 0;
}

.stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}

.stats-grid article {
    background: var(--green-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: white;
    padding: 1.35rem;
}

.stats-grid strong {
    color: var(--saffron);
    display: block;
    font-size: 2rem;
}

.stats-grid span {
    color: rgba(255, 255, 255, 0.78);
    display: block;
    font-weight: 800;
}

.section {
    padding: 5.8rem 0;
}

.split,
.story-layout,
.contact-layout {
    align-items: center;
    display: grid;
    gap: 3.5rem;
    grid-template-columns: 0.95fr 1.05fr;
}

.split h2,
.section-head h2,
.story-copy h2,
.page-hero h1 {
    font-size: clamp(2.1rem, 4vw, 4.2rem);
}

.about-strip,
.disclosure-preview,
.form-section,
.values-section {
    background: var(--cream);
}

.facilities-section {
    background: linear-gradient(180deg, var(--paper), #f0f8f2);
}

.programme-band {
    background: var(--green-dark);
}

.programme-band h2,
.programme-band .program-card h3 {
    color: white;
}

.programme-band .program-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.programme-band .program-card p {
    color: rgba(255, 255, 255, 0.72);
}

.programme-band .section-head a {
    color: var(--saffron);
}

.check-list {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.check-list li {
    background: white;
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(30, 44, 34, 0.06);
    padding: 0.85rem 1rem;
}

.section-head {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-head a {
    color: var(--green-dark);
    font-weight: 900;
}

.program-grid,
.document-grid,
.news-grid,
.value-grid,
.staff-grid,
.gallery-grid,
.admission-grid,
.method-grid,
.facility-grid,
.preview-grid {
    display: grid;
    gap: 1rem;
}

.program-grid,
.news-grid,
.value-grid,
.admission-grid,
.method-grid {
    grid-template-columns: repeat(3, 1fr);
}

.facility-grid,
.preview-grid {
    grid-template-columns: repeat(4, 1fr);
}

.program-card,
.facility-card,
.news-card,
.value-grid article,
.staff-card,
.admission-grid article,
.method-grid article,
.contact-info article {
    padding: 1.35rem;
}

.program-card span,
.admission-grid span,
.method-grid span,
.contact-info span,
.news-card time {
    color: var(--orange);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.program-card h2,
.program-card h3,
.facility-card h3,
.news-card h3,
.value-grid h2,
.admission-grid h2,
.method-grid h2 {
    color: var(--green-dark);
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}

.program-card.tall {
    min-height: 255px;
}

.story-section {
    background: linear-gradient(135deg, #fffaf2, #e9f6ed);
}

.story-layout {
    grid-template-columns: 1.05fr 0.95fr;
}

.story-media img,
.framed-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 470px;
    object-fit: cover;
    width: 100%;
}

.document-grid {
    grid-template-columns: repeat(3, 1fr);
}

.disclosure-tools {
    margin-bottom: 1rem;
}

.disclosure-tools label {
    color: var(--green-dark);
    display: grid;
    font-weight: 900;
    gap: 0.45rem;
}

.disclosure-tools input {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(14, 45, 28, 0.07);
    font: inherit;
    min-height: 52px;
    padding: 0.8rem 1rem;
}

.document-grid.large {
    grid-template-columns: repeat(2, 1fr);
}

.document-link {
    align-items: center;
    display: flex;
    font-weight: 900;
    gap: 0.9rem;
    padding: 1.1rem;
}

.document-link span {
    background: var(--green);
    border-radius: 6px;
    color: white;
    font-size: 0.72rem;
    padding: 0.35rem 0.45rem;
}

.document-link.is-hidden {
    display: none;
}

.gallery-preview {
    background: var(--paper);
}

.gallery-grid {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid figure,
.preview-grid figure {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 38px rgba(14, 45, 28, 0.08);
    margin: 0;
    overflow: hidden;
}

.gallery-grid img,
.preview-grid img {
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    object-fit: cover;
    width: 100%;
}

.gallery-grid figcaption,
.preview-grid figcaption {
    color: var(--green-dark);
    font-weight: 900;
    padding: 0.85rem 1rem;
}

.page-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(244, 122, 32, 0.16), transparent 28%),
        linear-gradient(135deg, #fff6e8, #edf7ee 55%, #fffdf8);
    padding: 7rem 0 5rem;
}

.gallery-hero,
.disclosure-hero {
    background: linear-gradient(135deg, #083d24, #0f7d3d);
    color: white;
}

.gallery-hero h1,
.disclosure-hero h1 {
    color: white;
}

.gallery-hero p,
.disclosure-hero p {
    color: rgba(255, 255, 255, 0.78);
}

.staff-grid {
    grid-template-columns: repeat(3, 1fr);
}

.staff-card {
    text-align: center;
}

.staff-card img {
    aspect-ratio: 1;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

.contact-layout {
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-info a {
    color: var(--green-dark);
    font-weight: 900;
}

.contact-form {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
    padding: 1.35rem;
}

.contact-form label {
    color: var(--green-dark);
    display: grid;
    font-size: 0.9rem;
    font-weight: 900;
    gap: 0.35rem;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #d8cfbe;
    border-radius: var(--radius);
    font: inherit;
    min-height: 48px;
    padding: 0.8rem;
    width: 100%;
}

.site-footer {
    background: #0d1f15;
    color: white;
    padding: 4rem 0 2rem;
}

.site-footer p,
.site-footer small {
    color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.25fr 1fr 1fr;
}

.footer-brand strong {
    color: white;
}

.site-footer h2 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    font-size: 0.85rem;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.3rem;
}

.floating-action {
    background: var(--orange);
    border-radius: 999px;
    bottom: 1rem;
    box-shadow: 0 16px 34px rgba(244, 122, 32, 0.34);
    color: white;
    font-weight: 900;
    padding: 0.8rem 1rem;
    position: fixed;
    right: 1rem;
    z-index: 40;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.lightbox {
    align-items: center;
    background: rgba(7, 24, 14, 0.86);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 1rem;
    position: fixed;
    z-index: 100;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    border-radius: var(--radius);
    max-height: 88vh;
    max-width: min(1100px, 94vw);
}

@media (max-width: 980px) {
    .notice-inner {
        padding: 0.45rem 0;
    }

    .ticker {
        justify-content: flex-start;
    }

    .nav-button {
        display: grid;
    }

    .nav-links {
        background: white;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        display: none;
        left: 20px;
        padding: 0.8rem;
        position: absolute;
        right: 20px;
        top: 124px;
    }

    .nav-links.is-open {
        display: grid;
    }

    .hero-grid,
    .split,
    .story-layout,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;
    }

    .quick-grid,
    .stats-grid,
    .facility-grid,
    .preview-grid,
    .program-grid,
    .document-grid,
    .document-grid.large,
    .news-grid,
    .value-grid,
    .admission-grid,
    .method-grid,
    .gallery-grid,
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        height: 48px;
        width: 50px;
    }

    .brand strong {
        font-size: 0.92rem;
    }

    .brand small {
        font-size: 0.68rem;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .hero-collage {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .hero-collage img {
        height: 250px;
    }

    .collage-large {
        grid-row: auto;
    }

    .motto-card {
        bottom: auto;
        left: 1rem;
        right: 1rem;
        top: 1rem;
    }

    .quick-grid,
    .stats-grid,
    .facility-grid,
    .preview-grid,
    .program-grid,
    .document-grid,
    .document-grid.large,
    .news-grid,
    .value-grid,
    .admission-grid,
    .method-grid,
    .gallery-grid,
    .staff-grid {
        grid-template-columns: 1fr;
    }

    .section-head,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .story-media img,
    .framed-image {
        height: 310px;
    }

    .section {
        padding: 4rem 0;
    }

    .floating-action {
        left: 1rem;
        text-align: center;
    }
}
    .notice-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.2rem;
    }

    .notice-inner > a {
        display: none;
    }
