:root {
    --green: #116149;
    --green-dark: #0b3f31;
    --green-soft: #e6f4ee;
    --gold: #f0b429;
    --ink: #10233e;
    --muted: #5f6f83;
    --line: #dce5ef;
    --surface: #ffffff;
    --wash: #f6f8fb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    color: var(--ink);
    background: var(--wash);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

.site-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #2fbf92);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(220, 229, 239, 0.9);
    backdrop-filter: blur(16px);
}

.top-strip {
    color: #e8fff6;
    background: var(--green-dark);
}

.top-link {
    color: #e8fff6;
    font-weight: 700;
    text-decoration: none;
}

.top-link:hover {
    color: var(--gold);
}

.main-nav {
    background: rgba(255, 255, 255, 0.92);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand-link strong,
.brand-link small {
    display: block;
    letter-spacing: 0;
}

.brand-link strong {
    font-size: 18px;
    font-weight: 900;
}

.brand-link small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-link,
.mobile-link {
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.nav-link {
    border-radius: 8px;
    padding: 10px 12px;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--green);
    background: var(--green-soft);
}

.mobile-link {
    border-radius: 8px;
    padding: 12px;
    background: #f8fafc;
}

.mobile-menu {
    border-top: 1px solid var(--line);
    background: white;
}

.mobile-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: white;
}

.portal-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--green);
    border-radius: 8px;
    padding: 10px 16px;
    color: white;
    background: var(--green);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.portal-button:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-1px);
}

.portal-button.secondary {
    color: var(--green-dark);
    background: #fff8e7;
    border-color: #f3d58b;
}

.portal-button.dark {
    background: var(--ink);
    border-color: var(--ink);
}

.site-main {
    min-height: 60vh;
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 116px);
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
    color: white;
    background: #0b3f31;
}

.hero-section::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, rgba(9, 45, 37, 0.94) 0%, rgba(9, 45, 37, 0.78) 40%, rgba(9, 45, 37, 0.18) 100%),
        linear-gradient(0deg, rgba(7, 23, 33, 0.78) 0%, rgba(7, 23, 33, 0.06) 45%);
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 96px 0 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    padding: 8px 12px;
    color: #fdf6df;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 900;
}

.hero-title {
    max-width: 850px;
    margin: 18px 0 0;
    font-size: 64px;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-title span {
    color: var(--gold);
}

.hero-copy {
    max-width: 680px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 760px;
    margin-top: 48px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-stat {
    min-height: 104px;
    padding: 20px;
    background: rgba(8, 33, 39, 0.54);
}

.hero-stat strong {
    display: block;
    color: var(--gold);
    font-size: 30px;
    font-weight: 900;
}

.hero-stat span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
}

.marquee {
    overflow: hidden;
    border-block: 1px solid #f4d48b;
    background: #fff5d6;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.marquee span {
    padding: 18px 28px;
    color: #4b3a10;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.section-band {
    padding: 84px 0;
}

.section-band.white {
    background: white;
}

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

.section-heading h2 {
    margin: 0;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.section-heading p {
    max-width: 460px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.portal-grid,
.program-grid,
.news-grid {
    display: grid;
    gap: 16px;
}

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

.program-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-card,
.program-card,
.notice-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.portal-card {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
}

.portal-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    color: var(--green);
    background: var(--green-soft);
    font-size: 20px;
}

.portal-card h3,
.program-card h3,
.notice-card h3 {
    margin: 18px 0 8px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
}

.portal-card p,
.program-card p,
.notice-card p {
    color: var(--muted);
    line-height: 1.65;
}

.program-card {
    min-height: 250px;
    padding: 22px;
}

.program-tag {
    display: inline-flex;
    border-radius: 8px;
    padding: 6px 9px;
    color: #62460b;
    background: #fff3ce;
    font-size: 12px;
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 32px;
    align-items: center;
}

.campus-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.notice-card {
    padding: 26px;
}

.timeline {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
}

.timeline-number {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    color: var(--green-dark);
    background: var(--gold);
    font-weight: 900;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

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

.site-footer {
    color: white;
    background: #082820;
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
    gap: 32px;
}

.footer-title {
    margin: 0 0 14px;
    color: #f8d77a;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-link,
.footer-text {
    display: block;
    color: rgba(236, 253, 245, 0.78);
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
}

.footer-link:hover,
.footer-bottom a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    color: rgba(236, 253, 245, 0.64);
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(236, 253, 245, 0.7);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .portal-grid,
    .program-grid,
    .split-section,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .top-strip {
        display: none;
    }

    .hero-section {
        min-height: 760px;
    }

    .hero-title {
        font-size: 39px;
    }

    .hero-copy {
        font-size: 17px;
    }

    .hero-panel,
    .portal-grid,
    .program-grid,
    .split-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .section-heading h2 {
        font-size: 32px;
    }

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