/* ============================================================
   Public Marketing Website — Design System
   Built entirely on the existing --navy/--gold/--navy-dark theme
   variables (set per-school in Settings -> Appearance), so every
   color here automatically follows whatever theme the school has
   picked. Nothing in this file hardcodes a specific palette.
   ============================================================ */

:root {
    --site-cream: #faf7f0;
    --site-cream-dark: #f3ede0;
    --site-ink: #2a2620;
    --site-ink-soft: #5a564d;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-body {
    margin: 0;
    background: #fff;
    color: var(--site-ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}
.site-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.site-body h1, .site-body h2, .site-body h3 { font-family: var(--font-display); }

.reveal { opacity: 1; transform: none; }
.reveal.reveal-pending { opacity: 0; transform: translateY(18px); }
.reveal.reveal-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

/* ================= Header / Mega menu ================= */
.site-header { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,0,0,.06); position: sticky; top: 0; z-index: 200; }
.site-header-inner { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 19px; font-family: var(--font-display); }
.site-brand img { height: 42px; }
.site-nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--navy); }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a { padding: 9px 14px; border-radius: 7px; text-decoration: none; color: var(--site-ink-soft); font-size: 14.5px; font-weight: 600; transition: background .15s ease, color .15s ease; }
.site-nav a:hover, .site-nav a.active { background: var(--site-cream); color: var(--navy); }
.site-nav-login { background: var(--navy); color: #fff !important; margin-left: 10px; padding: 9px 20px !important; border-radius: 24px !important; }
.site-nav-login:hover { opacity: .9; background: var(--navy) !important; }

.site-nav-dropdown { position: relative; }
.site-nav-dropdown-toggle {
    background: none; border: none; cursor: pointer; font: inherit;
    padding: 9px 14px; border-radius: 7px; color: var(--site-ink-soft); font-size: 14.5px; font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}
.site-nav-dropdown-toggle:hover, .site-nav-dropdown.open .site-nav-dropdown-toggle { background: var(--site-cream); color: var(--navy); }
.site-nav-caret { font-size: 10px; transition: transform .15s ease; }
.site-nav-dropdown.open .site-nav-caret { transform: rotate(180deg); }
.site-nav-dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 200px;
    background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(20,20,30,.14);
    padding: 8px; z-index: 50; margin-top: 8px;
}
.site-nav-dropdown.open .site-nav-dropdown-menu { display: block; }
.site-nav-dropdown-menu a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 14px; }
.site-nav-dropdown-menu a:hover, .site-nav-dropdown-menu a.active { background: var(--site-cream); color: var(--navy); }

/* ================= Hero ================= */
.hero-slider { position: relative; height: 620px; overflow: hidden; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(10,15,30,.82) 0%, rgba(10,15,30,.55) 45%, rgba(10,15,30,.25) 75%);
    display: flex; align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--gold, #d4a017); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 18px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold, #d4a017); display: inline-block; }
.hero-slide-content { max-width: 1180px; margin: 0 auto; padding: 0 24px; color: #fff; }
.hero-slide-content h1 { font-size: 52px; font-weight: 600; line-height: 1.1; margin: 0 0 18px; max-width: 680px; }
.hero-slide-content p { font-size: 18px; margin: 0 0 32px; max-width: 540px; opacity: .92; line-height: 1.6; font-family: var(--font-body); }
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--gold, #d4a017); color: #1a1a1a; font-weight: 700; padding: 15px 30px; border-radius: 8px; text-decoration: none; font-size: 15px; transition: transform .2s ease, box-shadow .2s ease; }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.hero-cta-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.hero-cta-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); border: none; cursor: pointer; padding: 0; transition: background .2s ease, transform .2s ease; }
.hero-dot.active { background: var(--gold, #d4a017); transform: scale(1.25); }
.hero-fallback { background: linear-gradient(135deg, var(--navy), var(--navy-dark, #0f1e33)); color: #fff; text-align: center; padding: 110px 24px; }
.hero-fallback h1 { font-size: 40px; margin-bottom: 14px; font-weight: 600; }
.hero-fallback p { font-size: 17px; opacity: .85; max-width: 520px; margin: 0 auto; }

/* ================= Stat strip ================= */
.site-stat-strip { background: var(--navy); padding: 0; }
.site-stat-strip-inner { max-width: 1180px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-stat { text-align: center; color: #fff; }
.site-stat-value { font-family: var(--font-display); font-size: 38px; font-weight: 600; color: var(--gold, #d4a017); line-height: 1; }
.site-stat-label { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 8px; font-weight: 500; letter-spacing: .02em; }

/* ================= CTA strip ================= */
.site-cta-strip { background: var(--gold, #d4a017); }
.site-cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 24px; flex-wrap: wrap; }
.site-cta-strip h2 { margin: 0 0 6px; font-size: 25px; color: #1a1a1a; font-weight: 600; }
.site-cta-strip p { margin: 0; color: #3a3a3a; font-size: 15px; }
.site-cta-strip-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-site { padding: 13px 26px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 14.5px; transition: transform .15s ease; }
.btn-site:hover { transform: translateY(-2px); }
.btn-site-primary { background: var(--navy); color: #fff; }
.btn-site-outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }

/* ================= Sections ================= */
.site-section { padding: 88px 0; }
.site-section-alt { background: var(--site-cream); }
.site-section-eyebrow { text-align: center; color: var(--gold, #d4a017); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.site-section-title { font-size: 34px; font-weight: 600; color: var(--navy); text-align: center; margin: 0 0 16px; }
.site-section-sub { text-align: center; color: var(--site-ink-soft); font-size: 16px; max-width: 560px; margin: 0 auto 48px; line-height: 1.6; }
.site-section-more { text-align: center; margin-top: 36px; }
.site-section-more a { color: var(--navy); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.site-section-more a:hover { gap: 12px; transition: gap .2s ease; }

.site-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.site-feature-card { text-align: center; padding: 8px; }
.site-feature-icon {
    width: 64px; height: 64px; border-radius: 16px; background: var(--site-cream); color: var(--navy);
    display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 20px;
}
.site-feature-card h3 { font-size: 19px; color: var(--navy); margin: 0 0 10px; font-weight: 600; }
.site-feature-card p { font-size: 14.5px; color: var(--site-ink-soft); line-height: 1.6; margin: 0; }

.site-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.site-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 16px rgba(20,20,30,.07); text-decoration: none; color: inherit; display: block; transition: transform .25s ease, box-shadow .25s ease; }
.site-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(20,20,30,.14); }
.site-card img { width: 100%; height: 190px; object-fit: cover; }
.site-card-body { padding: 22px; }
.site-card-date { font-size: 11.5px; color: var(--gold, #d4a017); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.site-card h3 { font-size: 18px; margin: 8px 0 10px; color: var(--navy); font-weight: 600; }
.site-card p { font-size: 14px; color: var(--site-ink-soft); margin: 0; line-height: 1.6; }
.site-event-card { cursor: default; }
.site-event-card:hover { transform: none; }

.site-testimonial-carousel { position: relative; max-width: 720px; margin: 0 auto; }
.site-testimonial-track { position: relative; min-height: 220px; }
.site-testimonial { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; text-align: center; padding: 8px; }
.site-testimonial.active { opacity: 1; visibility: visible; position: relative; }
.site-testimonial-photo { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 3px solid var(--site-cream); }
.site-testimonial-quote { font-family: var(--font-display); font-style: italic; color: var(--site-ink); font-size: 20px; line-height: 1.6; margin: 0 0 20px; font-weight: 500; }
.site-testimonial-name { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.site-testimonial-name span { display: block; font-weight: 400; color: var(--site-ink-soft); font-size: 13px; margin-top: 2px; }
.site-testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.site-testimonial-dots button { width: 8px; height: 8px; border-radius: 50%; background: #ddd; border: none; cursor: pointer; padding: 0; transition: background .2s ease, transform .2s ease; }
.site-testimonial-dots button.active { background: var(--gold, #d4a017); transform: scale(1.3); }

/* ================= Footer ================= */
.site-footer { background: var(--navy-dark, #0f1e33); color: #dfe4ee; }
.site-footer-inner { max-width: 1180px; margin: 0 auto; padding: 64px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer-brand { font-family: var(--font-display); font-size: 21px; color: #fff; font-weight: 600; margin: 0 0 14px; }
.site-footer-col h3 { color: #fff; font-size: 14px; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.site-footer-col p, .site-footer-col a { display: block; font-size: 14px; color: #aab4cb; margin-bottom: 11px; text-decoration: none; line-height: 1.6; }
.site-footer-col a:hover { color: #fff; }
.site-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.site-footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; margin: 0; }
.site-footer-social a:hover { background: var(--gold, #d4a017); color: #1a1a1a; }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 20px 24px; font-size: 12.5px; color: #8b96b0; }

.site-back-to-top {
    position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
    background: var(--navy); color: #fff; border: none; font-size: 18px; cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .15s ease; z-index: 200;
}
.site-back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.site-back-to-top:hover { background: var(--gold, #d4a017); }

/* ---- Centering wrapper for standalone forms embedded in the site
   layout (e.g. admission apply/status) - .public-card itself already
   has its own width/padding/shadow styling from style.css; this just
   centers it on the page, which the site layout doesn't do on its own
   the way the old minimal admission-only layout used to. ---- */
.page-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* ================= Generic content page ================= */
.site-page-banner {
    height: 300px; background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center;
    background-color: var(--navy); background-image: linear-gradient(135deg, var(--navy), var(--navy-dark, #0f1e33));
    position: relative;
}
.site-page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(10,15,30,.35); }
.site-page-banner h1 { color: #fff; font-size: 38px; font-weight: 600; position: relative; z-index: 1; }
.site-page-content { max-width: 800px; margin: 0 auto; padding: 64px 24px; line-height: 1.75; font-size: 16px; color: var(--site-ink); }
.site-page-content h1, .site-page-content h2 { color: var(--navy); }

.site-faq-item { border-bottom: 1px solid #e8e4d8; padding: 20px 0; }
.site-faq-question { font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-family: var(--font-display); }
.site-faq-question span:last-child { font-size: 18px; color: var(--gold, #d4a017); transition: transform .2s ease; }
.site-faq-item.open .site-faq-question span:last-child { transform: rotate(45deg); }
.site-faq-answer { margin-top: 14px; color: var(--site-ink-soft); font-size: 14.5px; line-height: 1.7; display: none; }
.site-faq-item.open .site-faq-answer { display: block; }

.site-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.site-gallery-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; transition: transform .3s ease; }
.site-gallery-grid img:hover { transform: scale(1.03); }

.site-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 960px; margin: 0 auto; padding: 64px 24px; }
.site-contact-grid h2 { color: var(--navy); font-size: 22px; font-weight: 600; margin: 0 0 20px; }
.site-contact-item { display: flex; gap: 14px; margin-bottom: 18px; }
.site-contact-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--site-cream); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 700px) { .site-contact-grid { grid-template-columns: 1fr; } }

@media (max-width: 960px) {
    .site-stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .site-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .site-nav-toggle { display: block; }
    .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding-top: 12px; }
    .site-nav.site-nav-open { display: flex; }
    .site-header-inner { flex-wrap: wrap; }
    .site-nav-login { margin-left: 0; text-align: center; }
    .hero-slider { height: 520px; }
    .hero-slide-content h1 { font-size: 34px; }
    .hero-slide-content p { font-size: 15.5px; }
    .site-nav-dropdown-toggle { width: 100%; justify-content: space-between; }
    .site-nav-dropdown-menu { display: none; position: static; box-shadow: none; padding: 0 0 0 14px; margin-top: 0; }
    .site-nav-dropdown.open .site-nav-dropdown-menu { display: block; }
    .site-section { padding: 56px 0; }
    .site-section-title { font-size: 26px; }
}
@media (max-width: 600px) {
    .hero-slider { height: 460px; }
    .site-stat-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .site-stat-value { font-size: 30px; }
    .site-footer-inner { grid-template-columns: 1fr; }
}
