/*
=========================================================
 ST. AUGUSTINE SCHOOL
 Main stylesheet — Coming Soon homepage
 File: /assets/css/main.css
=========================================================
*/

/* 01. Global foundation */
:root {
    --sas-green: #064b38;
    --sas-green-deep: #043b2d;
    --sas-gold: #e7bd3e;
    --sas-ink: #18352d;
    --sas-muted: #68766f;
    --sas-cream: #f7f7f2;
    --sas-white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--sas-cream);
    color: var(--sas-ink);
    font-family: "DM Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

/* 02. Coming Soon homepage */
.coming-soon-main {
    width: 100%;
}

.coming-soon {
    position: relative;
    isolation: isolate;
    min-height: clamp(510px, 68vh, 760px);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 90px 24px;
    background: var(--sas-cream);
}

.coming-soon::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 15% 20%,
            rgba(231, 189, 62, 0.13),
            transparent 34%
        ),
        radial-gradient(
            ellipse at 85% 80%,
            rgba(6, 75, 56, 0.10),
            transparent 38%
        );
}

.coming-soon::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 22px;
    border: 1px solid rgba(6, 75, 56, 0.12);
    pointer-events: none;
}

.coming-inner {
    width: min(790px, 100%);
    text-align: center;
}

.coming-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--sas-green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.coming-kicker::before,
.coming-kicker::after {
    content: "";
    width: 27px;
    height: 1px;
    background: var(--sas-gold);
}

.coming-crest {
    display: block;
    width: 82px;
    height: 88px;
    object-fit: contain;
    margin: 0 auto 24px;
}

.coming-inner h1 {
    margin: 0;
    color: var(--sas-green);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(46px, 8vw, 88px);
    font-weight: 500;
    line-height: 0.99;
    letter-spacing: -0.045em;
}

.coming-inner h1 em {
    color: #b18a20;
    font-weight: 500;
}

.coming-description {
    max-width: 570px;
    margin: 25px auto 0;
    color: #64746b;
    font-size: 15px;
    line-height: 1.9;
}

.coming-rule {
    width: 54px;
    height: 2px;
    margin: 30px auto;
    background: var(--sas-gold);
}

.coming-location {
    color: #718078;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.coming-footnote {
    margin-top: 42px;
    color: #9aa39d;
    font-size: 10px;
    letter-spacing: 0.08em;
}

/* 03. Responsive adjustments */
@media (max-width: 600px) {
    .coming-soon {
        min-height: 510px;
        padding: 70px 22px;
    }

    .coming-soon::after {
        inset: 12px;
    }

    .coming-crest {
        width: 70px;
        height: 76px;
        margin-bottom: 21px;
    }

    .coming-description {
        font-size: 14px;
        line-height: 1.8;
    }

    .coming-footnote {
        margin-top: 32px;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
