* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-950: #08241b;
    --green-900: #0f3d2e;
    --green-700: #236b4f;
    --red-700: #a72a2a;
    --gold-600: #b78921;
    --paper: #f3f1ec;
    --soft: #eef3ea;
    --white: #ffffff;
    --ink: #18211d;
    --muted: #5d665f;
    --line: #d7ddd3;
    --radius: 6px;
    --body-font: "Lato", Arial, sans-serif;
    --display-font: Georgia, "Times New Roman", serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.65;
}

img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

address {
    font-style: normal;
}

section {
    scroll-margin-top: 96px;
}

.heading2{
    margin-bottom:16px;
}

.container {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0px 20px;
    width: 100%;
}

.skip-link {
    background: var(--green-950);
    color: var(--white);
    left: 16px;
    padding: 10px 14px;
    position: fixed;
    top: -50px;
    z-index: 999;
}

.skip-link:focus {
    top: 16px;
}

.sr-only {
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-strip {
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.86rem;
}

.top-strip__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 34px;
}

.top-strip__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.top-strip a:hover,
.site-footer a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.navigation-bar__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 86px;
}

.brand,
.footer-brand {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.brand img,
.footer-brand img {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    height: 58px;
    padding: 2px;
    width: 58px;
}

.brand strong,
.footer-brand span {
    color: var(--green-900);
    display: block;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.05;
}

.brand small {
    color: var(--muted);
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.25;
    text-transform: uppercase;
}

.site-nav {
    background: var(--white);
    border-top: 1px solid var(--line);
    display: none;
    left: 0;
    padding: 18px 20px 24px;
    position: absolute;
    right: 0;
    top: 120px;
}

.site-nav.is-open {
    display: block;
}

.site-nav ul {
    display: grid;
    gap: 12px;
    list-style: none;
}

.site-nav a {
    color: var(--green-950);
    font-size: 0.9rem;
    font-weight: 700;
}

.site-nav a:hover {
    color: var(--red-700);
}

.divider{
    background-color: white;
    width:1px;
    height: 10px;
}

.nav-cta {
    border: 1px solid var(--green-900);
    border-radius: var(--radius);
    display: inline-flex;
    margin-top: 16px;
    padding: 10px 14px;
    font-weight: 900;
}

.menu-toggle {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    flex-direction:column;
    height: 44px;
    justify-content: center;
    width: 44px;
    gap:5px;
}

.menu-toggle span:not(.sr-only) {
    background: var(--green-900);
    border-radius: 99px;
    display: block;
    height: 2px;
    width: 20px;
}

.hero {
    align-items: flex-end;
    display: flex;
    min-height: 620px;
    overflow: hidden;
    padding: 128px 0 88px;
    position: relative;
}

.hero__image,
.hero__shade {
    inset: 0;
    position: absolute;
}

.hero__shade {
    background:
        linear-gradient(90deg, rgba(8, 36, 27, 0.9) 0%, rgba(8, 36, 27, 0.64) 44%, rgba(8, 36, 27, 0.12) 100%),
        linear-gradient(180deg, rgba(8, 36, 27, 0.04) 0%, rgba(8, 36, 27, 0.68) 100%);
}

.hero__content {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.kicker {
    color: var(--gold-600);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero h1,
.intro-grid h2,
.section-heading h2,
.photo-story__copy h2,
.school-life__heading h2,
.admissions h2,
.contact-section h2 {
    font-family: var(--display-font);
    letter-spacing: 0;
    line-height: 1.06;
}


h2{
    font-weight:900;
}

.hero h1 {
    font-weight: 900;
    font-size: 3rem;
    max-width: 700px;
}

.hero__motto {
    border-left: 2px solid var(--gold-600);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 18px;
    padding-left: 16px;
}

.hero__actions,
.admissions-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    align-items: center;
    border-radius: var(--radius);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing:0.5px;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button-primary {
    background: var(--red-700);
    border: 1px solid var(--red-700);
    color: var(--white);
}

.button-primary:hover {
    background: #872222;
    border-color: #872222;
}

.button-light {
    background: var(--white);
    border: 1px solid var(--white);
    color: var(--green-950);
}

.button-outline {
    background: transparent;
    border: 1px solid var(--green-900);
    color: var(--green-900);
}

.button-outline:hover {
    background: var(--green-900);
    color: var(--white);
}

.notice-board {
    padding:10px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.notice-board__grid {
    display: grid;
    gap: 5px;
    padding-bottom: 1px;
    padding-top: 1px;
}

.notice-board article {
    background: var(--white);
    min-height: 148px;
    padding: 26px 28px;
}

.notice-board__label {
    color: var(--red-700);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.notice-board h2 {
    color: var(--green-950);
    font-size: 1.08rem;
    line-height: 1.3;
    max-width: 320px;
}

.notice-board a {
    color: var(--green-900);
    display: inline-block;
    font-weight: 300;
    text-decoration: underline;
    margin-top: 12px;
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: var(--soft);
}

.intro-grid,
.learning-layout,
.photo-story__grid,
.admissions-grid,
.contact-grid {
    display: grid;
    gap: 46px;
}

.intro-grid h2,
.section-heading h2,
.photo-story__copy h2,
.school-life__heading h2,
.admissions h2,
.contact-section h2 {
    color: var(--green-950);
    font-size: 2.25rem;
}

.intro-text {
    color: var(--muted);
    display: grid;
    gap: 16px;
    font-size: 1.04rem;
    max-width: 640px;
}

.facts-band {
    background: var(--green-950);
    color: var(--white);
}

.facts-grid {
    display: grid;
}

.facts-grid div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 30px 0;
}

.facts-grid span {
    color: var(--gold-600);
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.facts-grid strong {
    display: block;
    font-family: var(--display-font);
    font-size: 1.3rem;
    line-height: 1.15;
}

.facts-grid p {
    color: rgba(255, 255, 255, 0.72);
    margin-top: 6px;
}

.section-heading {
    max-width: 680px;
}

.section-heading p,
.photo-story__copy p,
.school-life__heading p,
.admissions p {
    color: var(--muted);
    margin-top: 16px;
}

.learning-list {
    border-top: 1px solid var(--line);
}

.learning-list article {
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
}

.learning-list span {
    color: var(--red-700);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.learning-list h3,
.admissions-steps h3,
.story-grid h3 {
    color: var(--green-950);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.25;
}

.learning-list p,
.admissions-steps p {
    color: var(--muted);
    margin-top: 6px;
}

.photo-story__image {
    min-height: 410px;
}

.photo-story__image img,
.map-panel,
.gallery-item,
.story-grid article {
    border-radius: var(--radius);
    overflow: hidden;
}

.photo-story__copy {
    align-self: center;
}

.section-green {
    background: var(--green-900);
    color: var(--white);
}

.section-green .kicker {
    color: #d6ab3a;
}

.school-life__heading {
    margin-bottom: 38px;
    max-width: 740px;
}

.school-life__heading h2,
.school-life__heading p {
    color: var(--white);
}

.school-life__heading p {
    color: rgba(255, 255, 255, 0.78);
}

.story-grid {
    display: grid;
    gap: 18px;
}

.story-grid article {
    background: var(--white);
}

.story-grid img {
    aspect-ratio: 4 / 3;
}

.story-grid div {
    padding: 20px;
}

.story-grid p {
    color: var(--red-700);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.admissions {
    background: var(--paper);
}

.admissions-steps {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.admissions-steps article {
    border-bottom: 1px solid var(--line);
    padding: 26px;
}

.admissions-steps article:last-child {
    border-bottom: 0;
}

.admissions-steps span {
    align-items: center;
    background: var(--green-900);
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    margin-bottom: 12px;
    width: 34px;
}

.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    gap: 16px;
}

.gallery-item {
    background: var(--paper);
    border: 1px solid var(--line);
    min-height: 286px;
    position: relative;
}

.gallery-item figcaption {
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--line);
    bottom: 0;
    color: var(--green-950);
    font-size: 0.86rem;
    font-weight: 900;
    left: 0;
    padding: 10px 12px;
    position: absolute;
    right: 0;
}

.contact-section {
    background: var(--soft);
}

.contact-section address {
    color: var(--muted);
    font-size: 1.04rem;
    margin-top: 16px;
    max-width: 560px;
}

.contact-links {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    max-width: 470px;
}

.contact-links a {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--green-900);
    font-weight: 900;
    padding: 13px 14px;
}

.map-panel {
    border: 1px solid var(--line);
    min-height: 400px;
    aspect-ratio:9/14;
}

.map-panel iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.site-footer {
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
    display: grid;
    gap: 30px;
    padding:45px 20px 45px 20px;
}

.footer-brand {
    margin-bottom: 12px;
    display:flex;
    flex-direction:row;
}

.footer-brand span,
.site-footer h2 {
    color: var(--white);
}

.site-footer h2 {
    font-size: 0.95rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.site-footer a:not(.footer-brand) {
    color: rgba(255, 255, 255, 0.75);
    display: block;
}

.copyright {
    background: rgba(0, 0, 0, 0.22);
    font-size: 0.84rem;
    padding: 13px 0;
}

.foot-link{
    display:flex;
    flex-direction:column;
}

:focus-visible {
    outline: 3px solid var(--gold-600);
    outline-offset: 3px;
}

@media screen and (min-width: 700px) {
    .container {
        padding: 0 32px;
    }

    .hero h1 {
        font-size: 4.45rem;
    }

    .notice-board__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .facts-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .facts-grid div {
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        padding: 34px 24px;
    }

    .facts-grid div:last-child {
        border-right: 0;
    }

    .story-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr;
        padding:45px 32px 45px 32px;
    }

    .map-panel{
        aspect-ratio:14/9;
    }
}

@media screen and (min-width: 900px) {
    .menu-toggle {
        display: none;
    }

    .site-nav {
        align-items: center;
        background: transparent;
        border: 0;
        display: flex;
        gap: 24px;
        padding: 0;
        position: static;
    }

    .site-nav ul {
        align-items: center;
        display: flex;
        gap: 22px;
    }

    .nav-cta {
        margin-top: 0;
    }

    .intro-grid,
    .learning-layout,
    .photo-story__grid,
    .admissions-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    }

    .intro-grid h2,
    .section-heading h2,
    .photo-story__copy h2,
    .school-life__heading h2,
    .admissions h2,
    .contact-section h2 {
        font-size: 3rem;
    }

    .learning-list article {
        display: grid;
        column-gap: 28px;
        grid-template-columns: 138px minmax(0, 1fr);
        row-gap: 4px;
    }

    .learning-list span {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin-top: 4px;
    }

    .learning-list h3,
    .learning-list p {
        grid-column: 2;
    }

    .learning-list p {
        max-width: 440px;
    }
}

@media screen and (max-width: 560px) {
    .top-strip__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding-bottom: 8px;
        padding-top: 8px;
    }

    .top-strip__links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-nav {
        top: 132px;
    }

    .brand span {
        max-width: 170px;
    }

    .hero {
        min-height: 570px;
        padding: 84px 0 58px;
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .button {
        width: 100%;
    }

    .intro-grid h2,
    .section-heading h2,
    .photo-story__copy h2,
    .school-life__heading h2,
    .admissions h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .section {
        padding: 62px 0;
    }

    .photo-story__image,
    .map-panel,
    .map-panel iframe {
        min-height: 320px;

    }
}
