:root {
    --ink: #0d1b2a;
    --navy: #11193f;
    --sky: #7fd6dd;
    --sky-deep: #42b8cc;
    --gold: #f5d24b;
    --cream: #f8f2e8;
    --sand: #ead9be;
    --coral: #e85f41;
    --shadow: 0 28px 90px rgba(13, 27, 42, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(245, 210, 75, 0.45), transparent 22%),
        radial-gradient(circle at top right, rgba(127, 214, 221, 0.45), transparent 30%),
        linear-gradient(180deg, #f6efe3 0%, #fffdf8 38%, #f7f1e8 100%);
}

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

.page-shell {
    overflow: hidden;
}

.hero {
    position: relative;
    isolation: isolate;
    padding: 1.5rem clamp(1.2rem, 3vw, 2.4rem) 5rem;
    min-height: min(900px, 100vh);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(255, 252, 247, 0.08), rgba(255, 252, 247, 0.08)),
        url("../images/hero-background.png") center right 18% / cover no-repeat;
}

.hero::after {
    z-index: -1;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.92), transparent 26%),
        linear-gradient(
            90deg,
            rgba(248, 242, 232, 0.96) 0%,
            rgba(248, 242, 232, 0.9) 18%,
            rgba(248, 242, 232, 0.74) 36%,
            rgba(248, 242, 232, 0.42) 52%,
            rgba(248, 242, 232, 0.12) 68%,
            rgba(248, 242, 232, 0) 82%
        );
}

.topbar,
.hero-grid,
.intro-band,
.story-grid,
.moments-section,
.admission-banner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 3.2rem;
}

.topbar-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 30px rgba(17, 25, 63, 0.12);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: var(--navy);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(17, 25, 63, 0.12);
    box-shadow: 0 12px 30px rgba(17, 25, 63, 0.18);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand span,
.brand strong,
.kicker,
.eyebrow,
.cta-link,
.hero-facts,
.admission-card span,
.admission-card p {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand span,
.hero-facts,
.admission-card span,
.admission-card p {
    font-size: 0.72rem;
}

.brand strong {
    display: block;
    margin-top: 0.15rem;
    font-size: 1rem;
    letter-spacing: 0.06em;
}

.brand-iead {
    width: min(15rem, 45vw);
    max-width: 100%;
    margin-top: 0.45rem;
}

.cta-link {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: clamp(620px, 78vh, 760px);
    gap: 0;
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(100%, 42rem);
    padding: 0;
    border-radius: 2rem;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    box-shadow: none;
}

.kicker,
.eyebrow {
    margin: 0 0 1rem;
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 800;
}

.kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    max-width: 350px;
}

.kicker-place {
    color: var(--coral);
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", serif;
    line-height: 0.95;
    margin: 0;
    color: var(--navy);
}

h1 {
    font-size: clamp(3.8rem, 8vw, 7.2rem);
    max-width: 11ch;
}

.text-coral {
    color: var(--coral);
}

h2 {
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    max-width: 14ch;
}

h3 {
    font-size: clamp(1.65rem, 2vw, 2.2rem);
    margin-bottom: 0.7rem;
}

.lead,
.story-copy p,
.pillar-card p,
.moment-copy p,
.admission-card strong {
    font-size: 1.04rem;
    line-height: 1.75;
}

.lead {
    max-width: 48ch;
    margin: 1.5rem 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.button-primary {
    background: var(--navy);
    color: white;
    box-shadow: var(--shadow);
}

.button-secondary {
    border: 1px solid rgba(17, 25, 63, 0.14);
    color: var(--navy);
    background: rgba(255, 255, 255, 0.72);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-facts li {
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(17, 25, 63, 0.08);
}

.daily-verse {
    display: inline;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.daily-verse-label {
    margin: 0;
    color: var(--coral);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.daily-verse-content {
    display: inline;
    min-height: 0;
}

.daily-verse-status,
.daily-verse-text,
.daily-verse-reference {
    display: inline;
    margin: 0;
}

.daily-verse-status {
    color: rgba(13, 27, 42, 0.72);
    font-size: 0.72rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: none;
}

.daily-verse-text {
    margin-left: 0.3rem;
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--navy);
}

.daily-verse-reference {
    margin-left: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sky-deep);
}

.story-photo-frame,
.moment-card,
.pillar-card,
.admission-card {
    box-shadow: var(--shadow);
}

.intro-band,
.story-grid,
.moments-section,
.admission-banner {
    padding: 2rem clamp(1.2rem, 3vw, 2.4rem) 5rem;
}

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

.section-heading.narrow {
    justify-content: start;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.pillar-card {
    padding: 1.6rem;
    border-radius: 1.8rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(17, 25, 63, 0.08);
}

.pillar-number {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: var(--navy);
    color: white;
    font-weight: 800;
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 2.4rem;
    align-items: center;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 1rem;
}

.program-list li {
    position: relative;
    padding: 1rem 1rem 1rem 3.7rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(17, 25, 63, 0.08);
}

.program-list li::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 1rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--coral));
}

.story-photo-frame {
    padding: 1rem;
    border-radius: 2rem;
    background: linear-gradient(160deg, rgba(17, 25, 63, 0.96), rgba(66, 184, 204, 0.92));
}

.story-photo-frame img {
    aspect-ratio: 4 / 5;
    width: 100%;
    object-fit: cover;
    border-radius: 1.4rem;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.moment-card {
    overflow: hidden;
    border-radius: 1.8rem;
    background: rgba(255, 255, 255, 0.78);
}

.moment-image {
    height: 290px;
}

.moment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moment-copy {
    padding: 1.4rem;
}

.admission-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: center;
    padding-bottom: 6rem;
}

.admission-card {
    padding: 1.8rem;
    border-radius: 1.8rem;
    color: white;
    background: linear-gradient(145deg, var(--navy), #0c6070);
}

.admission-card p,
.admission-card strong,
.admission-card span {
    display: block;
}

.admission-card strong {
    margin: 0.8rem 0;
    font-size: 1.45rem;
    line-height: 1.2;
}

.whatsapp-link {
    margin-top: 1.2rem;
    align-self: flex-start;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.site-footer {
    position: relative;
    margin-top: 2rem;
    padding: 0 clamp(1.2rem, 3vw, 2.4rem) 2.4rem;
}

.footer-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.1fr) minmax(220px, 0.8fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 2rem;
    color: white;
    background:
        radial-gradient(circle at top left, rgba(245, 210, 75, 0.22), transparent 30%),
        radial-gradient(circle at bottom right, rgba(127, 214, 221, 0.2), transparent 35%),
        linear-gradient(145deg, #0f1735, #0c6070);
    box-shadow: var(--shadow);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: inherit;
    text-decoration: none;
}

.footer-brand-mark {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.footer-brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand span,
.footer-brand strong,
.footer-meta {
    display: block;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-brand span,
.footer-meta {
    font-size: 0.72rem;
}

.footer-brand strong {
    margin-top: 0.2rem;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}

.footer-brand-iead {
    width: min(15rem, 48vw);
    max-width: 100%;
    margin-top: 0.5rem;
}

.footer-copy {
    max-width: 34rem;
}

.footer-title,
.footer-meta {
    margin: 0;
}

.footer-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.05;
}

.footer-meta {
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.74);
}

.footer-links {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.cta-link:hover,
.cta-link:focus-visible {
    color: var(--gold);
}

@media (max-width: 1100px) {
    .hero-grid,
    .story-grid,
    .admission-banner,
    .pillars,
    .moments-grid,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, max-content));
        column-gap: 1.2rem;
    }
}

@media (max-width: 720px) {
    .hero {
        padding-top: 1rem;
        min-height: auto;
    }

    .topbar {
        position: relative;
        align-items: center;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        flex-shrink: 0;
    }

    .topbar-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 0;
        z-index: 5;
        display: none;
        min-width: 220px;
        padding: 0.9rem;
        border-radius: 1.2rem;
        background: rgba(255, 252, 247, 0.96);
        box-shadow: 0 18px 40px rgba(17, 25, 63, 0.14);
        border: 1px solid rgba(17, 25, 63, 0.08);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    body.menu-open .topbar-links {
        display: flex;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .topbar-links .cta-link {
        font-size: 0.74rem;
    }

    h1 {
        font-size: clamp(3rem, 16vw, 4.6rem);
    }

    h2 {
        font-size: clamp(2.3rem, 12vw, 3.3rem);
    }

    .hero::before {
        background-position: 68% center;
    }

    .hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(248, 242, 232, 0.9) 0%,
                rgba(248, 242, 232, 0.74) 34%,
                rgba(248, 242, 232, 0.34) 58%,
                rgba(248, 242, 232, 0.08) 100%
            );
    }

    .hero-grid {
        min-height: clamp(540px, 68vh, 680px);
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        align-self: end;
        margin-top: auto;
    }

    .hero-copy > h1 {
        order: 1;
    }

    .hero-copy > .kicker {
        order: 2;
        margin: 1rem 0 0;
    }

    .hero-title-tail {
        display: none;
    }

    .hero-copy > .lead {
        order: 3;
    }

    .hero-copy > .hero-actions {
        order: 3;
    }

    .lead {
        display: none;
    }

    .hero-actions {
        display: flex;
        gap: 0.65rem;
        margin: 1rem 0 0;
    }

    .hero-actions .button {
        min-height: 36px;
        padding: 0.55rem 0.8rem;
        font-size: 0.72rem;
        line-height: 1.1;
    }

    .moment-image {
        height: 240px;
    }

    .intro-band,
    .story-grid,
    .moments-section,
    .admission-banner {
        padding-bottom: 3.5rem;
    }

    .footer-shell {
        padding: 1.6rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
