/* ============================================================
   Nritya Angan — Global Styles
   ============================================================ */

:root {
    --bg-dark:    #0d0d1a;
    --bg-section: #111124;
    --bg-card:    #181830;
    --gold:       #c8860a;
    --gold-light: #e8a820;
    --gold-pale:  #f5d78e;
    --text-light: #f0ede6;
    --text-muted: #9a97a8;
    --border:     rgba(200, 134, 10, 0.28);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── Typography helpers ── */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gold-light);
    text-align: center;
    letter-spacing: .02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-top: .35rem;
    font-size: .95rem;
}

.divider {
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.2rem auto 2.5rem;
}

/* ── Navigation ── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 2.5rem;
    background: rgba(13, 13, 26, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: padding .3s;
}

#navbar.scrolled { padding: .6rem 2.5rem; }

.nav-logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--gold-light);
    line-height: 1.2;
}

.nav-logo-text span {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: .65rem;
    letter-spacing: .22em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color .25s;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold-light);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-block;
    padding: .85rem 2.2rem;
    background: var(--gold);
    color: #0d0d1a;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background .3s, transform .2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-secondary {
    display: inline-block;
    padding: .85rem 2.2rem;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: .82rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background .3s;
}
.btn-secondary:hover { background: rgba(200,134,10,.12); }

/* ── Section wrapper ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }


/* ══════════════════════════════════════════
   HOME — Hero
══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 2rem 5rem;
    background:
        linear-gradient(105deg,
            rgba(10,8,20,0.92) 0%,
            rgba(10,8,20,0.82) 38%,
            rgba(10,8,20,0.52) 68%,
            rgba(10,8,20,0.32) 100%),
        url('../BackgroundIMage.png') center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

/* subtle rotating ring decoration */
.hero::after {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    border: 1px solid rgba(200,134,10,.08);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
    font-size: .78rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.2rem, 9vw, 6.5rem);
    color: var(--gold-light);
    line-height: 1.05;
}

.hero .subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.7rem);
    color: var(--text-muted);
    margin-top: .4rem;
}

.hero .announce {
    margin-top: 2rem;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text-light);
}
.hero .announce strong { color: var(--gold-light); }

.hero-meta {
    margin-top: .6rem;
    font-size: .88rem;
    letter-spacing: .12em;
    color: var(--text-muted);
}

.hero-buttons {
    margin-top: 2.4rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ══════════════════════════════════════════
   HOME — About
══════════════════════════════════════════ */
.about {
    background:
        linear-gradient(rgba(10,8,20,0.80), rgba(10,8,20,0.80)),
        url('../ghungroo.png') center / cover no-repeat;
}

.about-text {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.95;
}
.about-text p + p { margin-top: 1.2rem; }
.about-text strong { color: var(--gold-pale); }


/* ══════════════════════════════════════════
   HOME — Classes
══════════════════════════════════════════ */
.classes {
    background:
        linear-gradient(rgba(10,8,20,0.80), rgba(10,8,20,0.80)),
        url('../arches.png') center / cover no-repeat;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.class-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem 1.6rem;
    text-align: center;
    transition: border-color .3s, transform .3s;
}
.class-card:hover { border-color: var(--gold); transform: translateY(-4px); }

/* Sprite sheet icons — logos.png is a 2×2 grid:
   top-left: structured | top-right: personalized
   bottom-left: children | bottom-right: adult        */
.class-icon {
    width: 120px;
    height: 120px;
    background-image: url('../logos.png');
    background-size: 200% 200%;
    background-repeat: no-repeat;
    border-radius: 8px;
    margin: 0 auto 1.1rem;
}

.class-icon--structured   { background-position: 0%   0%;   }
.class-icon--personalized { background-position: 100% 0%;   }
.class-icon--children     { background-position: 0%   100%; }
.class-icon--adult        { background-position: 100% 100%; }

.class-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: .6rem;
}
.class-card p { color: var(--text-muted); font-size: .92rem; }


/* ══════════════════════════════════════════
   HOME — Guru Lineage
══════════════════════════════════════════ */
.guru {
    background:
        linear-gradient(rgba(10,8,20,0.82), rgba(10,8,20,0.82)),
        url('../columns.png') center / cover no-repeat;
}

.guru-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    position: relative;
}
.guru-card::before {
    content: '✦';
    position: absolute;
    top: -1px; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card);
    padding: 0 .8rem;
    color: var(--gold);
    font-size: 1.1rem;
}

.guru-label {
    font-size: .72rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .8rem;
}

.guru-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--gold-pale);
    margin-bottom: 1.2rem;
}

.guru-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.85;
}
.guru-desc strong { color: var(--text-light); }


/* ══════════════════════════════════════════
   HOME — Teachers
══════════════════════════════════════════ */
.teachers { background: var(--bg-section); }

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.teacher-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform .35s, box-shadow .35s;
}
.teacher-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(200,134,10,.18);
}

.teacher-img {
    width: 100%;
    height: 315px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.teacher-img-placeholder {
    width: 100%;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #181830 0%, #251906 100%);
    color: var(--gold);
    gap: .5rem;
}
.teacher-img-placeholder .initials {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
}
.teacher-img-placeholder .placeholder-label {
    font-size: .75rem;
    letter-spacing: .2em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.teacher-info {
    padding: 1.6rem;
    text-align: center;
}
.teacher-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: var(--gold-light);
    margin-bottom: .4rem;
}
.teacher-info p { color: var(--text-muted); font-size: .88rem; margin-bottom: 1.2rem; }

.btn-teacher::after {
    content: '';
    position: absolute;
    inset: 0;
}

.btn-teacher {
    display: inline-block;
    padding: .55rem 1.6rem;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    text-decoration: none;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background .3s;
}
.btn-teacher:hover { background: rgba(200,134,10,.13); }


/* ══════════════════════════════════════════
   HOME — Locations
══════════════════════════════════════════ */
.locations { background: var(--bg-dark); }

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.location-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem 1.8rem;
    text-align: center;
    transition: border-color .3s;
}
.location-card:hover { border-color: var(--gold); }

.location-card .pin { font-size: 1.8rem; margin-bottom: .8rem; }
.location-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    margin-bottom: .7rem;
}
.location-card address { color: var(--text-muted); font-style: normal; line-height: 1.75; }


/* ══════════════════════════════════════════
   HOME — Contact / Registration Form
══════════════════════════════════════════ */
.contact { background: var(--bg-section); }

/* ── Form layout ── */
.reg-form {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 2rem;
}

.form-group {
    grid-column: 1 / -1;   /* full width by default */
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.form-group.half { grid-column: span 1; }

/* ── Labels ── */
.form-group > label,
#locationGroup > label {
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.req { color: var(--gold); }

/* ── Inputs & Textarea ── */
.reg-form input[type="text"],
.reg-form input[type="number"],
.reg-form input[type="tel"],
.reg-form input[type="email"],
.reg-form textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: .75rem 1rem;
    color: var(--text-light);
    font-family: 'Lato', sans-serif;
    font-size: .95rem;
    width: 100%;
    transition: border-color .25s, box-shadow .25s;
    outline: none;
}

.reg-form input:focus,
.reg-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,134,10,.12);
}

.reg-form input::placeholder,
.reg-form textarea::placeholder { color: rgba(154,151,168,.55); }

.reg-form textarea { resize: vertical; min-height: 80px; }

/* Number input spinner hide */
.reg-form input[type="number"]::-webkit-inner-spin-button,
.reg-form input[type="number"]::-webkit-outer-spin-button { opacity: .4; }

/* ── Radio buttons ── */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: .2rem;
}

.radio-opt {
    display: flex;
    align-items: center;
    gap: .75rem;
    cursor: pointer;
}

.radio-opt input[type="radio"] { display: none; }

.radio-box {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-card);
    flex-shrink: 0;
    position: relative;
    transition: border-color .25s;
}

.radio-opt input[type="radio"]:checked + .radio-box {
    border-color: var(--gold);
}

.radio-opt input[type="radio"]:checked + .radio-box::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--gold);
}

.radio-opt:hover .radio-box { border-color: var(--gold-light); }

.radio-text { color: var(--text-light); font-size: .92rem; line-height: 1.4; }

/* ── Helper text ── */
.field-hint {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: -.2rem;
}

.char-count {
    font-size: .75rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: -.2rem;
}

/* ── Validation ── */
.reg-form input.field-error,
.reg-form textarea.field-error {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192,57,43,.15);
}

#locationGroup.field-error .radio-box { border-color: #c0392b; }

.error-msg {
    font-size: .78rem;
    color: #e74c3c;
    margin-top: .1rem;
}

/* ── Submit row ── */
.form-submit {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding-top: .5rem;
}

.form-note {
    grid-column: 1 / -1;
    font-size: .78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

/* ── Submit button loading state ── */
.btn-primary .btn-spinner { display: none; }

.btn-primary.loading .btn-label { display: none; }
.btn-primary.loading .btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(13,13,26,.35);
    border-top-color: #0d0d1a;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-primary:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* ── Submission error banner ── */
.form-error-banner {
    grid-column: 1 / -1;
    background: rgba(192,57,43,.12);
    border: 1px solid rgba(192,57,43,.45);
    border-radius: 4px;
    padding: 1rem 1.2rem;
    color: #e74c3c;
    font-size: .9rem;
    line-height: 1.6;
}
.form-error-banner a { color: #e74c3c; }

/* ── Success panel ── */
.form-success {
    max-width: 560px;
    margin: 2rem auto 0;
    text-align: center;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    animation: fadeInUp .5s ease both;
}

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

.success-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(200,134,10,.15);
    border: 2px solid var(--gold);
    color: var(--gold-light);
    font-size: 1.8rem;
    line-height: 60px;
    margin: 0 auto 1.5rem;
}

.form-success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--text-muted);
    margin-bottom: .6rem;
    font-size: .98rem;
    line-height: 1.7;
}

.form-success strong { color: var(--text-light); }

.success-sub {
    margin-top: 1.2rem;
    color: var(--gold-pale) !important;
    font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .reg-form { grid-template-columns: 1fr; }
    .form-group.half { grid-column: 1 / -1; }
}


/* ══════════════════════════════════════════
   Footer
══════════════════════════════════════════ */
footer {
    background: #080812;
    border-top: 1px solid var(--border);
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: .84rem;
}
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: .35rem;
}
footer p + p { margin-top: .3rem; }
footer a { color: var(--gold-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }


/* ══════════════════════════════════════════
   TEACHER PAGES — Hero
══════════════════════════════════════════ */
.page-hero {
    padding: 9rem 2rem 4.5rem;
    text-align: center;
    background:
        radial-gradient(ellipse 70% 50% at 50% 60%, rgba(200,134,10,.12) 0%, transparent 70%),
        linear-gradient(160deg, #0d0d1a 0%, #180f02 55%, #0d0d1a 100%);
    position: relative;
}

.breadcrumb {
    font-size: .75rem;
    letter-spacing: .14em;
    color: var(--text-muted);
    margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--gold-light);
    line-height: 1.1;
}

.page-hero .role {
    color: var(--text-muted);
    font-style: italic;
    margin-top: .5rem;
    font-size: 1rem;
    position: relative;
}

.guru-badge {
    display: inline-block;
    background: rgba(200,134,10,.1);
    border: 1px solid var(--border);
    color: var(--gold-pale);
    padding: .4rem 1.2rem;
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-top: 1.5rem;
    position: relative;
}


/* ══════════════════════════════════════════
   TEACHER PAGES — Gallery
══════════════════════════════════════════ */
.collage-section {
    background:
        linear-gradient(rgba(10,8,20,0.82), rgba(10,8,20,0.82)),
        url('../columns.png') center / cover no-repeat;
}

/* ── Carousel ── */
.carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    user-select: none;
}

.carousel-track-wrap {
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}

.carousel-track {
    display: flex;
    /* width is set dynamically by JS based on slide count */
    transition: transform .45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.carousel-slide {
    /* width is set dynamically by JS based on slide count */
    flex-shrink: 0;
    height: 360px;
    background: #0a0814;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Arrow buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 1.5rem)); /* offset up to clear the dots */
    z-index: 10;
    background: rgba(10,8,20,.65);
    border: 1px solid rgba(200,134,10,.45);
    color: var(--gold-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, border-color .25s, transform .25s;
    padding: 0;
}
.carousel-btn:hover {
    background: rgba(200,134,10,.28);
    border-color: var(--gold);
    transform: translateY(calc(-50% - 1.5rem)) scale(1.1);
}
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

/* Dot indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: .55rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .25s, transform .25s;
}
.carousel-dot.active {
    background: var(--gold);
    transform: scale(1.35);
}

/* Gallery placeholder (Aarti page) */
.gallery-placeholder {
    max-width: 1000px;
    margin: 0 auto;
    height: 300px;
    border: 1px dashed var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-placeholder-inner {
    text-align: center;
    color: var(--text-muted);
}
.gallery-placeholder-inner p:first-child { font-size: 2.5rem; margin-bottom: .6rem; }
.gallery-placeholder-inner p { font-size: .9rem; }
.gallery-placeholder-inner em { font-size: .82rem; }


/* ══════════════════════════════════════════
   TEACHER PAGES — Bio
══════════════════════════════════════════ */
.bio-section {
    background:
        linear-gradient(rgba(10,8,20,0.80), rgba(10,8,20,0.80)),
        url('../arches.png') center / cover no-repeat;
    padding: 4rem 2rem;
}

.bio-inner { max-width: 800px; margin: 0 auto; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--gold);
    text-decoration: none;
    font-size: .82rem;
    letter-spacing: .1em;
    margin-bottom: 2rem;
    transition: color .25s;
}
.back-link:hover { color: var(--gold-light); }

.bio-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.bio-inner p {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 1.1rem;
    font-size: 1rem;
}

.bio-quote {
    border-left: 3px solid var(--gold);
    padding: .75rem 1.5rem;
    margin: 0 0 2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gold-pale);
    line-height: 1.7;
}

.bio-sub-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: var(--gold-light);
    margin: 2.5rem 0 1rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--border);
}

.bio-sub-sub-title {
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 1.6rem 0 .5rem;
}

.bio-list {
    color: var(--text-light);
    line-height: 1.85;
    padding-left: 1.4rem;
    margin-bottom: 1.1rem;
}

.bio-list li { margin-bottom: .4rem; }

/* ── Guru Collage ── */
.guru-collage {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 1.5rem 0 0.5rem;
}

.guru-collage-item {
    flex: 0 0 calc(33.333% - 8px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guru-collage-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.guru-collage-item.guru-small img {
    height: 150px;
}

.guru-collage-item.guru-tall img {
    height: 300px;
    object-position: center;
}

.guru-caption {
    font-size: .75rem;
    text-align: center;
    margin-top: 6px;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: .05em;
}

@media (max-width: 640px) {
    .guru-collage-item {
        flex: 0 0 calc(50% - 6px);
    }
}

.placeholder-text {
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: .95rem;
    line-height: 1.75;
}


/* ══════════════════════════════════════════
   Responsive
══════════════════════════════════════════ */
@media (max-width: 768px) {
    /* On narrow screens the 105deg gradient puts the entire viewport in the
       dark zone, hiding the silhouette. Switch to a vertical gradient that
       is lighter on the right where the dancer appears.
       background-position 75% shifts the dancer's face (~70% into the image)
       into the visible portion of the portrait viewport. */
    .hero {
        background:
            linear-gradient(to bottom,
                rgba(10,8,20,0.82) 0%,
                rgba(10,8,20,0.38) 45%,
                rgba(10,8,20,0.70) 100%),
            url('../BackgroundIMage.png') 75% center / cover no-repeat;
    }

    .hero-eyebrow {
        font-weight: 700;
        text-shadow: 0 1px 6px rgba(0,0,0,0.9);
    }

    .hero .subtitle {
        font-size: 1.45rem;
        color: var(--gold-pale);
        font-weight: 600;
        text-shadow: 0 1px 6px rgba(0,0,0,0.85);
    }

    .hero-meta {
        color: var(--text-light);
        font-weight: 600;
        text-shadow: 0 1px 6px rgba(0,0,0,0.9);
    }

    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        background: rgba(13,13,26,.97);
        padding: 1.5rem 2rem;
        gap: 1.2rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }

    .hero-buttons { flex-direction: column; align-items: center; }

    .collage-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 180px 180px;
    }
    .collage-grid img:nth-child(3) { display: none; }
    .collage-grid img.wide { grid-column: span 2; }
}

@media (max-width: 500px) {
    .collage-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .collage-grid img { height: 260px; }
    .collage-grid img.wide { grid-column: span 1; }
    .collage-grid img:nth-child(3) { display: block; }
}
