/* ============================================================
   ABHINAYA FINE ARTS — style.css
   Palette: Navy #142850 · Gold #d4af37 · White #ffffff
   No black anywhere — shadows use deep navy tints.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
    --brand-blue:       #142850;
    --brand-blue-light: #1f3c73;
    --brand-blue-deep:  #0d1e3a;
    --accent-gold:      #d4af37;
    --accent-gold-dark: #b5952f;
    --accent-gold-pale: rgba(212,175,55,0.12);
    --accent-gold-line: rgba(212,175,55,0.28);
    --bg-light:         #ffffff;
    --bg-tint:          #f8f6f1;
    --text-main:        #2a3a5c;       /* was #333 — now warm navy */
    --text-muted:       #6b7fa3;
    --text-light:       #ffffff;
    --shadow-navy:      rgba(20,40,80,0.14);
    --shadow-navy-md:   rgba(20,40,80,0.22);
    --shadow-navy-lg:   rgba(20,40,80,0.32);
    --glass-bg:         rgba(255,255,255,0.82);
    --glass-border:     rgba(212,175,55,0.22);
    --tint-color:       255,255,255;
    --tint-opacity:     0.48;
    --shadow-blur:      20px;
    --shadow-spread:    -5px;
    --shadow-color:     rgba(255,255,255,0.42);
    --outer-shadow-blur:24px;
    --glass-radius:     56px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- BASE ---------- */
html, body {
    width: 100%; height: auto;
    font-family: 'Lato', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }

/* Subtle grain overlay on the whole page */
body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9000;
}

/* ============================================================
   GLASS UTILITY
   ============================================================ */
.glass-effect {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.3s ease, background 0.3s ease;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.5);
    z-index: 1000;
    box-shadow:
        0 4px 24px var(--shadow-navy),
        0 1px 0 rgba(255,255,255,0.6) inset;
    transition: all 0.5s cubic-bezier(0.25,1,0.5,1);
}

nav.hero-state {
    top: auto;
    bottom: 2rem;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 10px 40px var(--shadow-navy-md);
}

nav.scrolled {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 8px 32px var(--shadow-navy);
    width: 95%;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo-img {
    height: 34px; width: 34px;
    border-radius: 8px;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.logo-subtitle {
    color: var(--text-muted);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 1px;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 2.4rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--brand-blue); }
.nav-links a:hover::after { width: 100%; }

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 1.5rem;
}

.social-icons a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: transparent;
}

.social-icons a:hover {
    background: var(--accent-gold-pale);
    transform: scale(1.1);
}

.social-icons a img {
    filter: invert(15%) sepia(25%) saturate(600%) hue-rotate(195deg);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.hamburger span {
    width: 22px; height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.165,0.84,0.44,1);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(10px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scale(0); }

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.5rem;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    min-width: 200px;
    padding: 0.6rem 0;
    box-shadow: 0 12px 40px var(--shadow-navy-md);
    border: 1px solid var(--accent-gold-line);
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
    padding: 0.75rem 1.5rem;
    color: var(--brand-blue);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: var(--accent-gold-pale);
    color: var(--accent-gold-dark);
    padding-left: 2rem;
}

/* Focus styles */
.btn:focus-visible,
.carousel-arrow:focus-visible,
.dot:focus-visible,
.hamburger:focus-visible,
.mobile-menu a:focus-visible,
footer a:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

/* ============================================================
   ACCREDITATION LOGOS
   ============================================================ */
.apple-logo-hover {
    height: 45px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.35);
    transition: filter 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s ease;
    cursor: pointer;
}

.apple-logo-hover:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.06) translateY(-2px);
}

/* ============================================================
   PROGRAMME CARDS
   ============================================================ */
.programme-card {
    background: #ffffff;
    padding: 1.5rem !important;
    border-radius: 20px !important;
    box-shadow:
        0 8px 28px var(--shadow-navy),
        0 1px 0 rgba(255,255,255,0.9) inset !important;
    border: 1px solid rgba(212,175,55,0.08);
    transition: transform 0.4s cubic-bezier(0.165,0.84,0.44,1),
                box-shadow  0.4s cubic-bezier(0.165,0.84,0.44,1) !important;
}

.programme-card:hover,
.programme-card:focus-within {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow:
        0 22px 48px var(--shadow-navy-md),
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 0 0 1px var(--accent-gold-line) !important;
}

.programme-card img {
    border-radius: 14px !important;
    transition: transform 0.4s ease;
}

.programme-card:hover img,
.programme-card:focus-within img {
    transform: scale(1.03);
}

.programme-card h3 {
    font-family: 'Cinzel', serif !important;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--brand-blue) !important;
    margin-top: 0.75rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--accent-gold);
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    border: 1.5px solid var(--accent-gold);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.btn:hover {
    background: var(--accent-gold-pale);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.28);
}

.btn-solid {
    background: var(--accent-gold);
    color: var(--brand-blue);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 16px rgba(212,175,55,0.35);
    font-weight: 700;
}

.btn-solid:hover {
    background: #e8c347;
    border-color: #e8c347;
    box-shadow: 0 8px 24px rgba(212,175,55,0.5);
    color: var(--brand-blue);
}

.btn-large { padding: 1rem 2.5rem; font-size: 0.9rem; }

/* ============================================================
   HERO / CAROUSEL
   ============================================================ */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel-track {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    transition: transform 0.65s cubic-bezier(0.77,0,0.175,1);
    z-index: 1;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%; height: 100%;
    display: flex; align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Gradient overlay — deep navy instead of near-black */
.carousel-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        105deg,
        rgba(13,30,58,0.70) 0%,
        rgba(13,30,58,0.45) 35%,
        rgba(13,30,58,0.18) 55%,
        rgba(13,30,58,0.00) 75%
    );
    z-index: 1;
    transition: background 0.6s ease;
}

.carousel-slide:hover::before {
    background: linear-gradient(
        105deg,
        rgba(20,40,80,0.55) 0%,
        rgba(20,40,80,0.28) 40%,
        rgba(20,40,80,0.06) 60%,
        rgba(20,40,80,0.00) 75%
    );
}

.bg-video {
    position: absolute; top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%,-50%) scale(1.02);
    object-fit: cover;
    z-index: 0;
    opacity: 0.72;
    filter: blur(1.6px);
    -webkit-filter: blur(1.6px);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* HERO TEXT BOX — refined liquid glass */
.hero-text-box {
    max-width: 520px;
    padding: 2.8rem 3.2rem;
    border-left: 3px solid var(--accent-gold);
    border-radius: var(--glass-radius);
    position: relative;
    isolation: isolate;
    animation: slideInUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.2s both;
    box-shadow:
        0 8px var(--outer-shadow-blur) rgba(20,40,80,0.2),
        0 2px 6px rgba(20,40,80,0.12);
}

.hero-text-box > * { position: relative; z-index: 2; }

.hero-text-box::before {
    content: '';
    position: absolute; inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: rgba(var(--tint-color), var(--tint-opacity));
    box-shadow: inset 0 0 var(--shadow-blur) var(--shadow-spread) var(--shadow-color);
    pointer-events: none;
}

.hero-text-box::after {
    content: '';
    position: absolute; inset: 0;
    z-index: -1;
    border-radius: inherit;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-category {
    color: var(--accent-gold);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.hero-category::before {
    content: '';
    display: block;
    width: 36px; height: 1.5px;
    background: var(--accent-gold);
    flex-shrink: 0;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 1.2rem;
    color: var(--brand-blue);
    text-shadow: 0 2px 20px rgba(255,255,255,0.4);
}

.hero-date {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2.2rem;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.hero-recognition {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin: -0.8rem 0 2rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.48);
    border: 1px solid rgba(212,175,55,0.3);
}

.hero-recognition-copy {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-blue);
    opacity: 0.9;
}

.hero-recognition-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) contrast(95%);
    opacity: 0.9;
}

/* Carousel Controls */
.carousel-arrow {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 20;
    opacity: 0.55;
    transition: opacity 0.3s, background 0.3s, transform 0.3s;
}

.carousel-arrow:hover {
    opacity: 1;
    background: rgba(212,175,55,0.25);
    transform: translateY(-50%) scale(1.08);
}

.arrow-left  { left:  2.5%; }
.arrow-right { right: 2.5%; }

.carousel-dots {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 10px; align-items: center;
    z-index: 20;
}

.dot {
    appearance: none; border: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background: var(--accent-gold);
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(212,175,55,0.6);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 5%;
    position: relative;
    z-index: 5;
}

/* ============================================================
   SECTION GLOBALS
   ============================================================ */
section {
    scroll-behavior: smooth;
    position: relative;
    z-index: 5;
    display: block;
    width: 100%;
}

.section-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.9rem;
    display: block;
}

.section-kicker-center { text-align: center; }
.section-kicker-light  { color: rgba(212,175,55,0.8); }

.section-title {
    font-family: 'Cinzel', serif;
    color: var(--brand-blue);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
    line-height: 1.15;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%; transform: translateX(-50%);
    bottom: -14px;
    width: 72px; height: 2.5px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    border-radius: 2px;
}

.section-description {
    color: var(--text-main);
    line-height: 1.85;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Featured & Dark section variants */
section.featured {
    background: linear-gradient(135deg,
        rgba(212,175,55,0.05) 0%,
        rgba(212,175,55,0.02) 100%);
    border-top: 1px solid var(--accent-gold-line);
    border-bottom: 1px solid var(--accent-gold-line);
}

section.dark {
    background: var(--brand-blue);
    color: #fff;
}

section.dark .section-title {
    color: var(--accent-gold);
}

.programs-section {
    background: rgba(20,40,80,0.04);
    padding: 6rem 8%;
    border-top: 1px solid var(--accent-gold-line);
}

.text-center { text-align: center; }
.text-center.section-description { max-width: 800px; margin-left: auto; margin-right: auto; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    display: flex; gap: 4rem; align-items: center;
    padding: 6rem 8%; max-width: 1400px; margin: 0 auto;
}

.about-content { flex: 1; }
.about-image-wrapper { flex: 1; position: relative; }

.about-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 24px 56px var(--shadow-navy-lg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image:hover {
    transform: translateY(-10px) rotate(0.3deg);
    box-shadow: 0 36px 72px var(--shadow-navy-lg);
}

/* ============================================================
   FEATURE / CARD LISTS
   ============================================================ */
.feature-list, .card-points {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
    color: var(--text-muted);
    text-align: left;
}

.feature-list li, .card-points li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.65rem;
    line-height: 1.65;
    font-size: 0.95rem;
}

.feature-list li::before, .card-points li::before {
    content: '◆';
    position: absolute; left: 0;
    color: var(--accent-gold);
    font-size: 0.45rem;
    top: 0.48em;
}

/* ============================================================
   ACCREDITATIONS SECTION
   ============================================================ */
#accreditations {
    position: relative;
    overflow: hidden;
    background: var(--bg-tint);
    border-top: 1px solid var(--accent-gold-line);
    border-bottom: 1px solid var(--accent-gold-line);
}

#accreditations::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%,
        rgba(212,175,55,0.06) 0%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}

#accreditations .container {
    position: relative; z-index: 1;
}

.accreditation-logo {
    transition: all 0.4s ease;
    cursor: pointer;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.accreditation-logo:hover {
    transform: translateY(-6px) scale(1.05);
    filter: grayscale(0%) opacity(1);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: linear-gradient(160deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
    color: var(--text-light);
    padding: 4.5rem 5% 2.5rem;
    border-top: 2px solid var(--accent-gold);
    position: relative; z-index: 10;
    margin-top: 6rem;
}

footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.5), transparent);
}

footer .footer-content {
    max-width: 1400px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(212,175,55,0.18);
}

footer .footer-section h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.05rem;
    margin-bottom: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

footer .footer-section p {
    color: rgba(255,255,255,0.72);
    line-height: 1.85;
    margin-bottom: 0.8rem;
    font-size: 0.92rem;
}

footer .footer-section ul { list-style: none; }

footer .footer-section ul li { margin-bottom: 0.75rem; }

footer .footer-section ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

footer .footer-section ul li a:hover {
    color: var(--accent-gold);
    padding-left: 0.5rem;
}

footer .footer-bottom {
    max-width: 1400px; margin: 0 auto;
    padding-top: 2rem;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.88rem;
}

footer .footer-social {
    display: flex; gap: 1.5rem; align-items: center;
}

footer .footer-social a {
    color: rgba(255,255,255,0.6);
    text-decoration: none; font-weight: 600;
    transition: color 0.3s ease;
}

footer .footer-social a:hover { color: var(--accent-gold); }

footer .copyright { color: rgba(255,255,255,0.45); }

footer a:hover {
    color: var(--accent-gold) !important;
}

/* ============================================================
   PROGRESS BAR & YEAR PIP (timeline pages)
   ============================================================ */
#progress-bar {
    position: fixed; top: 0; left: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-gold-dark), var(--accent-gold));
    width: 0%; z-index: 2000;
    box-shadow: 0 0 8px rgba(212,175,55,0.5);
}

#year-pip {
    position: fixed; right: 32px; top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: 10px;
    z-index: 500; opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

#year-pip.visible { opacity: 1; }

.pip-line {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, var(--accent-gold), rgba(212,175,55,0.1));
}

.pip-year {
    font-family: 'Cinzel', serif;
    font-size: 10px; font-weight: 700;
    color: var(--brand-blue); letter-spacing: 0.15em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* ============================================================
   TIMELINE PAGE (chapter layout)
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 8vw 80px;
    background: var(--bg-light);
    position: relative; overflow: hidden;
}

.hero-ring {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.08);
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 10px; letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-gold); font-weight: 700;
    margin-bottom: 24px; opacity: 0;
}

/* hero-title already defined above */

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

.hero-rule {
    width: 80px; height: 2px;
    background: var(--accent-gold);
    margin: 28px auto;
    opacity: 0; transform: scaleX(0);
    transform-origin: center;
}

.hero-sub {
    font-size: 15px; font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.1em; opacity: 0;
}

.hero-scroll {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: 8px; opacity: 0;
}

.hero-scroll span {
    font-size: 9px; letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted); font-weight: 700;
}

.scroll-needle {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    animation: needle 2s ease-in-out infinite;
}

@keyframes needle {
    0%,100% { opacity: 1;    transform: scaleY(1); }
    50%      { opacity: 0.3; transform: scaleY(0.5); }
}

/* Gold Rule */
.gold-rule {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-gold-line), transparent);
    margin: 0 8vw; opacity: 0;
}

/* Chapter layout */
.chapter {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 80px 8vw; gap: 80px;
    background: var(--bg-light);
    position: relative;
}

.chapter.tint { background: var(--bg-tint); }

.chapter-meta { opacity: 0; transform: translateY(40px); }

.chapter-kicker {
    font-size: 9px; letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-gold); font-weight: 700;
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 12px;
}

.chapter-kicker::before {
    content: '';
    width: 30px; height: 1px;
    background: var(--accent-gold); flex-shrink: 0;
}

.year-ghost {
    font-family: 'Cinzel', serif;
    font-size: clamp(72px, 11vw, 140px);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(20,40,80,0.06);
    line-height: 0.85;
    margin-bottom: -8px;
    display: block;
    user-select: none;
}

.chapter-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(24px, 3.2vw, 42px);
    font-weight: 600; line-height: 1.2;
    color: var(--brand-blue); margin-bottom: 20px;
}

.chapter-body {
    font-size: 15px; line-height: 1.9;
    color: var(--text-muted); font-weight: 300;
    max-width: 420px;
}

/* Year pills */
.year-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.year-pill {
    padding: 5px 16px;
    border: 1px solid var(--accent-gold-line);
    border-radius: 50px;
    font-family: 'Cinzel', serif;
    font-size: 11px; font-weight: 600;
    color: var(--brand-blue-light);
    letter-spacing: 0.05em;
}

.year-pill.accent {
    border-color: rgba(212,175,55,0.55);
    color: var(--accent-gold);
}

/* Chapter visual side */
.chapter-visual {
    opacity: 0;
    transform: translateX(32px);
    display: flex; align-items: center; justify-content: center;
}

.chapter.flip .chapter-meta  { order: 2; }
.chapter.flip .chapter-visual {
    order: 1;
    transform: translateX(-32px);
}

/* Medallion */
.medallion {
    width: clamp(180px, 22vw, 300px);
    height: clamp(180px, 22vw, 300px);
    border-radius: 50%;
    border: 1px solid var(--accent-gold-line);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    background: var(--bg-light);
}

.chapter.tint .medallion { background: var(--bg-tint); }

.medallion::after {
    content: ''; position: absolute; inset: 13px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.14);
    pointer-events: none;
}

.medallion::before {
    content: ''; position: absolute; inset: 27px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.07);
    pointer-events: none;
}

.med-inner { position: relative; z-index: 2; text-align: center; }

.med-year {
    font-family: 'Cinzel', serif;
    font-size: clamp(28px, 3.8vw, 50px);
    font-weight: 700; color: var(--brand-blue);
    line-height: 1; display: block;
}

.med-label {
    font-size: 9px; letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold); font-weight: 700;
    margin-top: 8px; display: block;
}

.medallion.highlight { border-color: rgba(212,175,55,0.5); }
.medallion.highlight .med-year { color: var(--accent-gold); }

/* Coda */
.coda {
    min-height: 60vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 80px 8vw;
    background: var(--brand-blue);
    position: relative; overflow: hidden;
}

.coda-ring {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.12);
    pointer-events: none;
}

.coda-eyebrow {
    font-size: 9px; letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(212,175,55,0.65); font-weight: 700;
    margin-bottom: 20px; opacity: 0;
    transform: translateY(20px);
}

.coda-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 700; color: #fff;
    line-height: 1.1; opacity: 0;
    transform: translateY(24px);
    position: relative; z-index: 1;
}

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

.coda-sub {
    font-size: 15px; color: rgba(255,255,255,0.48);
    font-weight: 300; max-width: 460px;
    line-height: 1.85; margin-top: 20px;
    opacity: 0; transform: translateY(16px);
    position: relative; z-index: 1;
}

.coda-btn {
    display: inline-block; margin-top: 36px;
    padding: 0.75rem 2.4rem;
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    opacity: 0; transform: translateY(16px);
    position: relative; z-index: 1;
}

.coda-btn:hover {
    background: var(--accent-gold);
    color: var(--brand-blue);
    box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    nav { padding: 1rem 3%; }
    .nav-links { gap: 1.2rem; font-size: 0.88rem; }
    .container { padding: 6rem 3%; }
}

@media (max-width: 1024px) {
    .nav-links  { gap: 1rem; font-size: 0.84rem; }
    .social-icons { gap: 0.6rem; }
    .hero-title { font-size: 2.8rem; }
    .about-section { flex-direction: column; gap: 2rem; padding: 4rem 3%; }
    .section-title { font-size: 2.2rem; }
    .chapter { grid-template-columns: 1fr; padding: 60px 6vw; gap: 40px; min-height: auto; }
    .chapter.flip .chapter-meta  { order: 0; }
    .chapter.flip .chapter-visual { order: 0; transform: none !important; }
    .chapter-visual { transform: none !important; }
    .chapter-meta   { transform: none !important; }
    .medallion { width: 160px; height: 160px; }
    .chapter-body { max-width: 100%; }
}

@media (max-width: 768px) {
    nav { padding: 0.8rem 3%; flex-wrap: wrap; }
    .logo-container { gap: 0.7rem; }
    .logo { font-size: 1rem; }
    .logo-subtitle { font-size: 0.58rem; }
    .nav-links  { display: none !important; }
    .social-icons { display: none !important; }
    .hamburger  { display: flex !important; }
    .hero-text-box {
        max-width: 100%; padding: 2rem;
        margin: 0 1rem; border-left: 2.5px solid var(--accent-gold);
    }
    .hero-title { font-size: 2rem; }
    .hero-category { font-size: 0.72rem; }
    .hero-recognition {
        gap: 0.65rem;
        padding: 0.55rem 0.75rem;
        margin-bottom: 1.7rem;
    }
    .hero-recognition-copy {
        font-size: 0.65rem;
        letter-spacing: 0.14em;
    }
    .hero-recognition-logo { height: 20px; }
    .carousel-arrow {
        width: 38px; height: 38px;
        font-size: 1rem; opacity: 0.5;
    }
    .section-title { font-size: 1.8rem; }
    .about-section { padding: 2rem 3%; gap: 1.5rem; }
    .programs-section { padding: 2rem 3%; }
    .container { padding: 3rem 3%; }
    #year-pip { display: none; }
}

@media (max-width: 480px) {
    nav { padding: 0.7rem 2%; }
    .logo-img { height: 30px; width: 30px; }
    .logo { font-size: 0.85rem; }
    .hero-text-box { padding: 1.5rem; margin: 0 0.5rem; }
    .hero-title { font-size: 1.6rem; }
    .hero-date  { font-size: 0.92rem; }
    .hero-recognition {
        border-radius: 16px;
        padding: 0.5rem 0.7rem;
        gap: 0.55rem;
    }
    .hero-recognition-copy {
        width: 100%;
        font-size: 0.62rem;
    }
    .hero-recognition-logo { height: 18px; }
    .section-title { font-size: 1.45rem; }
    .carousel-dots { bottom: 14px; gap: 8px; }
    .dot { width: 7px; height: 7px; }
}