/* ==========================================================================
   priyankadidi.com — design system
   Palette: maroon / saffron / peacock teal / ochre on ivory & parchment.
   Components reference these tokens only; change the look here.
   ========================================================================== */
:root {
    --ivory: #fcf8f2;
    --parchment: #f5ede1;
    --maroon: #6a1b2e;
    --maroon-dark: #4b101e;
    --saffron: #e06d1b;
    --saffron-soft: #fbe8d8;
    --teal: #136f78;
    --teal-soft: #e3f1f0;
    --ochre: #c68b17;
    --ochre-soft: #f5e8c7;
    --rose-soft: #f7e6df;
    --hairline: #e4d8ca;
    --ink: #261418;
    --muted: #664e53;
    --success: #2e7d32;
    --error: #b3261e;

    --font-mr: "Noto Sans Devanagari", "Mukta", sans-serif;
    --font-en: "Plus Jakarta Sans", "Noto Sans Devanagari", sans-serif;
    --font-display-en: "Cormorant Garamond", "Noto Sans Devanagari", serif;

    --radius: 16px;
    --radius-sm: 10px;
    --container: 1152px;
    --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--font-mr);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.lang-en { font-family: var(--font-en); }
::selection { background: var(--maroon); color: var(--ivory); }

h1, h2, h3 { color: var(--maroon); line-height: 1.25; margin: 0 0 .4em; font-weight: 700; letter-spacing: -0.01em; }
body.lang-en :is(h1, h2, h3) { font-family: var(--font-display-en); letter-spacing: 0; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; }
body.lang-en h3 { font-size: 1.4rem; }

a { color: var(--teal); }
a:hover { color: var(--maroon); }
img { max-width: 100%; display: block; }
p { margin: 0 0 .75em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
.narrow { max-width: 720px; }
.relative-layer { position: relative; z-index: 1; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--gutter); top: 8px; background: var(--ivory); padding: 8px 12px; z-index: 100; }

.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .25em; }
.eyebrow.c-teal { color: var(--teal); }
.eyebrow.c-saffron { color: var(--saffron); }
.lead { font-size: clamp(1rem, 2vw, 1.15rem); color: color-mix(in srgb, var(--ink) 90%, transparent); }
.muted, .meta { color: var(--muted); }
.meta { font-size: .9rem; margin: 0 0 .25em; }
.empty { color: var(--muted); font-style: italic; }

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .7em 1.3em;
    border-radius: 12px;
    border: 2px solid transparent;
    font: inherit; font-weight: 600; font-size: .95rem;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn-maroon { background: var(--maroon); color: var(--ivory); }
.btn-maroon:hover { background: var(--maroon-dark); color: var(--ivory); }
.btn-teal { background: var(--teal-soft); border-color: var(--teal); color: var(--teal); }
.btn-teal:hover { background: var(--teal); color: var(--ivory); }
.btn-teal-solid { background: var(--teal); color: var(--ivory); }
.btn-teal-solid:hover { background: var(--maroon); color: var(--ivory); }
.btn-saffron { background: var(--saffron); border-color: var(--saffron); color: var(--ivory); }
.btn-saffron:hover { background: var(--maroon); border-color: var(--maroon); color: var(--ivory); }
.btn-block { width: 100%; }
.link-arrow { font-weight: 700; font-size: .9rem; text-decoration: none; }

/* Tabs / filters (plain links, work without JS) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.tab {
    padding: 8px 16px; border-radius: var(--radius-sm);
    border: 1px solid var(--hairline); background: var(--parchment);
    color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none;
}
.tab:hover { border-color: var(--teal); color: var(--ink); }
.tab.active { background: var(--maroon); border-color: var(--maroon); color: var(--ivory); }

/* Header ----------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--ivory) 95%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hairline);
}
.tricolor { display: flex; height: 4px; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--maroon); }
.tricolor span:nth-child(2) { background: var(--saffron); }
.tricolor span:nth-child(3) { background: var(--teal); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
@media (min-width: 640px) { .header-inner { min-height: 80px; } }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; flex: 1 1 auto; }
.brand-text { min-width: 0; overflow: hidden; }
.brand-logo { width: 46px; height: 46px; flex-shrink: 0; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.brand:hover .brand-logo { transform: scale(1.06) rotate(-2deg); }
@media (min-width: 640px) { .brand-logo { width: 60px; height: 60px; } }
.brand-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.1rem; font-weight: 700; color: var(--maroon); line-height: 1.25; }
@media (min-width: 640px) { .brand-name { font-size: 1.3rem; } }
.brand-sub { display: block; font-size: .75rem; color: var(--muted); line-height: 1.3; margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-nav { display: none; align-items: center; gap: 22px; font-size: .9rem; font-weight: 600; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--maroon); border-bottom-color: var(--saffron); }
@media (min-width: 1024px) { .site-nav { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-switch {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: var(--radius-sm);
    background: var(--maroon); color: var(--ivory); text-decoration: none; font-size: .85rem; font-weight: 600;
}
.lang-switch:hover { background: var(--maroon-dark); color: var(--ivory); }
.lang-switch svg { width: 16px; height: 16px; color: var(--saffron-soft); }
@media (max-width: 419px) { .lang-switch { padding: 8px 10px; } .lang-switch svg { display: none; } }
.menu-btn {
    padding: 9px; border-radius: var(--radius-sm); border: 1px solid var(--hairline);
    background: var(--parchment); color: var(--maroon); cursor: pointer; line-height: 0;
}
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.mobile-nav { display: none; padding: 8px 0 16px; border-top: 1px solid var(--hairline); }
.mobile-nav.open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .mobile-nav.open { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .mobile-nav.open { display: none; } }
.mobile-nav a { padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--maroon); }
.mobile-nav a:nth-child(4n+1) { background: color-mix(in srgb, var(--rose-soft) 70%, transparent); }
.mobile-nav a:nth-child(4n+2) { background: color-mix(in srgb, var(--teal-soft) 70%, transparent); color: var(--teal); }
.mobile-nav a:nth-child(4n+3) { background: color-mix(in srgb, var(--saffron-soft) 70%, transparent); }
.mobile-nav a:nth-child(4n+4) { background: color-mix(in srgb, var(--ochre-soft) 70%, transparent); }

/* Floating swaras -------------------------------------------------------- */
.floating-notes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; user-select: none; }
.fn { position: absolute; font-weight: 700; font-size: 1.9rem; opacity: .17; }
@media (min-width: 640px) { .fn { font-size: 2.6rem; } }
.fn-clef { width: 44px; height: 64px; opacity: .2; }
.fn-note { width: 32px; height: 48px; }
.fn-beam { width: 48px; height: 48px; }
.fn-fermata { width: 48px; height: 32px; }
.fn-chakra { width: 56px; height: 56px; }
.fn-taal { display: flex; gap: 8px; font-size: .85rem !important; border: 1px solid; border-radius: 999px; padding: 4px 12px; opacity: .22; }
.c-maroon { color: var(--maroon); }
.c-saffron { color: var(--saffron); }
.c-teal { color: var(--teal); }
.c-ochre { color: var(--ochre); }
@media (max-width: 639px) { .hide-sm { display: none; } }
@media (max-width: 767px) { .hide-md { display: none; } }
@media (max-width: 1023px) { .hide-lg { display: none !important; } }

@keyframes floatDriftUp {
    0%, 100% { transform: translate(0, 0) rotate(0) scale(1); }
    33% { transform: translate(7px, -18px) rotate(5deg) scale(1.04); }
    66% { transform: translate(-5px, -8px) rotate(-4deg) scale(.98); }
}
@keyframes floatSwayReverse {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    50% { transform: translate(-9px, 18px) rotate(-6deg); }
}
@keyframes harmonicPulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: .16; }
    50% { transform: translateY(-14px) scale(1.08); opacity: .26; }
}
@keyframes notePendulum {
    0%, 100% { transform: rotate(-7deg) translateY(0); }
    50% { transform: rotate(7deg) translateY(-12px); }
}
.float-a { animation: floatDriftUp 8.5s ease-in-out infinite; }
.float-b { animation: floatSwayReverse 10.5s ease-in-out infinite; }
.float-c { animation: harmonicPulse 7.5s ease-in-out infinite 1s; }
.float-d { animation: notePendulum 6.5s ease-in-out infinite .5s; }

/* Sections --------------------------------------------------------------- */
main { position: relative; z-index: 1; }
.section { padding: 56px 0; }
@media (min-width: 640px) { .section { padding: 64px 0; } }
.band-rose { background: color-mix(in srgb, var(--rose-soft) 55%, transparent); border-block: 1px solid var(--hairline); }
.band-teal { background: color-mix(in srgb, var(--teal-soft) 55%, transparent); border-top: 1px solid var(--hairline); }
.band-parchment { background: color-mix(in srgb, var(--parchment) 70%, transparent); border-block: 1px solid var(--hairline); }

.section-head {
    display: flex; flex-direction: column; gap: 20px; justify-content: space-between;
    padding-bottom: 28px; border-bottom: 1px solid var(--hairline);
}
@media (min-width: 768px) { .section-head { flex-direction: row; align-items: flex-end; } }
.section-head > div:first-child { max-width: 42rem; }
.section-head .sub { color: var(--muted); margin: .4em 0 0; }
.section-foot { margin-top: 28px; text-align: center; }

.page-head { padding: 40px 0 0; }

/* Instrument card used beside section headings */
.instrument-card {
    display: flex; align-items: center; gap: 16px; align-self: flex-start;
    border-radius: 12px; padding: 12px 16px; border: 1px solid;
}
@media (min-width: 768px) { .instrument-card { align-self: auto; } }
.instrument-card.teal { background: color-mix(in srgb, var(--teal-soft) 70%, transparent); border-color: color-mix(in srgb, var(--teal) 30%, transparent); }
.instrument-card.saffron { background: color-mix(in srgb, var(--saffron-soft) 70%, transparent); border-color: color-mix(in srgb, var(--saffron) 35%, transparent); }
.instrument-card p { margin: 0; font-size: .75rem; }
.instrument-card p:first-child { font-weight: 700; }
.instrument-card.teal p:first-child { color: var(--teal); }
.instrument-card.saffron p:first-child { color: var(--maroon); }
.instrument-svg { transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.instrument-card:hover .instrument-svg, .veena-card:hover .instrument-svg { transform: translateY(-3px) scale(1.03); }
.instrument-sm { width: 80px; height: 56px; flex-shrink: 0; }

/* Hero ------------------------------------------------------------------- */
.hero { padding: 32px 0 40px; }
@media (min-width: 640px) { .hero { padding-top: 48px; } }
.hero-panel {
    background: color-mix(in srgb, var(--parchment) 80%, transparent);
    border: 2px solid var(--hairline); border-radius: 24px;
    padding: 24px; position: relative; overflow: hidden;
}
@media (min-width: 640px) { .hero-panel { padding: 40px; } }
@media (min-width: 1024px) { .hero-panel { padding: 48px; } }
.rule { display: flex; gap: 6px; margin-bottom: 24px; }
.rule span { height: 6px; border-radius: 999px; }
.rule span:nth-child(1) { width: 48px; background: var(--maroon); }
.rule span:nth-child(2) { width: 24px; background: var(--saffron); }
.rule span:nth-child(3) { width: 16px; background: var(--teal); }

.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 40px; } }
.hero-text > * + * { margin-top: 20px; }
.hero-text h1 { margin: 0; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--saffron) 40%, transparent);
    background: var(--saffron-soft); color: var(--maroon); font-size: .85rem; font-weight: 600;
}
.badge-pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--saffron); flex-shrink: 0; }

.highlights { display: grid; gap: 12px; }
@media (min-width: 640px) { .highlights { grid-template-columns: 1fr 1fr; } }
.highlight {
    background: var(--ivory); border: 1px solid var(--hairline); border-left-width: 4px;
    border-radius: 12px; padding: 14px;
}
.highlight p { margin: 0; }
.highlight .h-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.highlight .h-value { font-size: .9rem; font-weight: 600; margin-top: 4px; }
.accent-0 { border-left-color: var(--maroon); } .accent-0 .h-label { color: var(--maroon); }
.accent-1 { border-left-color: var(--saffron); } .accent-1 .h-label { color: var(--saffron); }
.accent-2 { border-left-color: var(--teal); } .accent-2 .h-label { color: var(--teal); }
.accent-3 { border-left-color: var(--ochre); } .accent-3 .h-label { color: var(--ochre); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.veena-card {
    width: 100%; max-width: 384px; margin: 0 auto;
    background: var(--ivory); border: 2px solid var(--hairline); border-radius: var(--radius);
    padding: 20px; transition: border-color .2s;
}
.veena-card:hover { border-color: color-mix(in srgb, var(--saffron) 60%, transparent); }
.veena-stage {
    position: relative; overflow: hidden; aspect-ratio: 4 / 3;
    border-radius: 12px; border: 1px solid var(--hairline);
    background: color-mix(in srgb, var(--rose-soft) 55%, transparent);
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px;
}
.veena-stage .portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.veena-svg { width: 100%; height: 100%; max-height: 208px; }
.veena-caption { margin-top: 4px; font-size: .75rem; font-weight: 700; color: var(--maroon); letter-spacing: .02em; text-align: center; }
.stage-note { position: absolute; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hairline); text-align: center; }
.stats > div:nth-child(2) { border-inline: 1px solid var(--hairline); padding-inline: 4px; }
.stat-num { font-size: clamp(1.25rem, 3vw, 1.5rem); font-weight: 700; margin: 0; }
.stats > div:nth-child(3n+1) .stat-num { color: var(--maroon); }
.stats > div:nth-child(3n+2) .stat-num { color: var(--saffron); }
.stats > div:nth-child(3n+3) .stat-num { color: var(--teal); }
.stat-label { font-size: .72rem; color: var(--muted); line-height: 1.35; margin: 0; }

/* Ribbon ----------------------------------------------------------------- */
.ribbon { background: var(--maroon); color: var(--ivory); border-block: 2px solid color-mix(in srgb, var(--ochre) 60%, transparent); padding: 14px 0; overflow: hidden; }
.ribbon-track { display: flex; align-items: center; gap: 32px; width: max-content; font-size: .875rem; font-weight: 500; animation: marquee 34s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: inherit; text-decoration: none; }
.ribbon-item strong:nth-of-type(1) { color: var(--saffron-soft); }
.ribbon-sep { font-weight: 700; }
.ribbon-sep:nth-of-type(odd) { color: var(--saffron); }
.ribbon-sep:nth-of-type(even) { color: var(--ochre); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Cards ------------------------------------------------------------------ */
.grid { display: grid; gap: 24px; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
    background: var(--ivory); border: 1px solid var(--hairline); border-radius: var(--radius);
    display: flex; flex-direction: column; justify-content: space-between;
    overflow: hidden; transition: border-color .2s; color: inherit;
}
.card:hover { border-color: color-mix(in srgb, var(--maroon) 60%, transparent); }
.card-body { padding: 24px; }
.card-foot { padding: 0 24px 24px; }
.card-foot.split { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-rule { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hairline); }

.mode-badge { display: inline-flex; padding: 4px 10px; border-radius: 6px; font-size: .75rem; font-weight: 700; border: 1px solid; }
.mode-Online { border-top: 4px solid var(--teal); } .mode-Online .mode-badge { background: var(--teal-soft); color: var(--teal); border-color: color-mix(in srgb, var(--teal) 35%, transparent); }
.mode-Offline { border-top: 4px solid var(--saffron); } .mode-Offline .mode-badge { background: var(--saffron-soft); color: var(--maroon); border-color: color-mix(in srgb, var(--saffron) 40%, transparent); }
.mode-Both { border-top: 4px solid var(--maroon); } .mode-Both .mode-badge { background: var(--ochre-soft); color: var(--maroon); border-color: color-mix(in srgb, var(--ochre) 40%, transparent); }
.course-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.course-level { font-size: .75rem; font-weight: 600; color: var(--teal); }
.course-facts { list-style: none; padding: 0; margin: 0 0 12px; font-size: .8rem; color: var(--muted); }
.course-facts li::before { content: "• "; }
.course-facts li:first-child { font-weight: 600; color: var(--ink); }
.course-card .cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.course-title { color: inherit; text-decoration: none; }
.course-title:hover { color: var(--maroon); }
.course-status { display: inline-block; margin: 0 0 8px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.course-status.soon { background: var(--ochre-soft); color: var(--maroon); }
.course-status.full { background: var(--saffron-soft); color: var(--maroon); }
.course-status.closed { background: var(--parchment); color: var(--muted); }
.course-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }

/* Price plans (_CoursePlans) */
.plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-link {
    display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px;
    padding: 10px 14px; border: 1px solid var(--hairline); border-radius: var(--radius-sm);
    background: var(--ivory); color: inherit; text-decoration: none; transition: border-color .2s, background .2s;
}
a.plan-link:hover { border-color: var(--teal); background: var(--teal-soft); }
.plan.recommended .plan-link { border: 2px solid var(--saffron); background: var(--saffron-soft); }
.plan-name { font-weight: 600; font-size: .9rem; }
.plan-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--saffron); color: #fff; font-size: .7rem; font-weight: 700; vertical-align: 1px; }
.plan-price { text-align: right; white-space: nowrap; }
.plan-price strong { font-size: 1.15rem; color: var(--maroon); }
.plan-price small { color: var(--muted); font-size: .75rem; }
.plan-rate { grid-column: 1 / -1; font-size: .75rem; color: var(--muted); }
.plan-rate b { margin-left: 6px; color: var(--success); }
.plan-contact { margin: 0; font-weight: 600; color: var(--maroon); }
.plan-note { margin: 8px 0 0; font-size: .75rem; color: var(--muted); }
.chosen-plan { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--teal-soft); color: var(--ink); }

/* Course details page */
.course-layout { display: grid; gap: 24px; margin: 20px 0 32px; grid-template-areas: "head" "side" "body"; }
.course-head { grid-area: head; }
.course-body { grid-area: body; }
.course-head h1 { margin: 4px 0 8px; }
.course-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 25%; border-radius: var(--radius); margin: 0 0 24px; }
.course-h2 { font-size: 1.25rem; margin: 28px 0 12px; }
.learn-list, .needs-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.learn-list li, .needs-list li { position: relative; padding-left: 28px; }
.learn-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }
.needs-list li::before { content: "•"; position: absolute; left: 8px; top: 0; color: var(--saffron); font-weight: 700; }
.course-video { max-width: 560px; border-radius: var(--radius); overflow: hidden; }
.course-side { grid-area: side; align-self: start; }
.course-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 20px 0; font-size: .85rem; }
.course-dl dt { color: var(--muted); }
.course-dl dd { margin: 0; font-weight: 600; }
@media (min-width: 900px) {
    .course-layout { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "head side" "body side"; grid-template-rows: auto 1fr; column-gap: 40px; }
    .course-side { position: sticky; top: 96px; }
}

/* Video card */
.video-thumb {
    position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
    padding: 0; border: 0; cursor: pointer; background: var(--maroon); overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(38 20 24 / .45), transparent 35%, transparent 65%, rgb(38 20 24 / .55)); }
.video-thumb .chip { position: absolute; top: 12px; z-index: 1; padding: 2px 10px; border-radius: 4px; font-size: .7rem; font-weight: 600; color: var(--ivory); }
.chip-cat { left: 12px; background: rgb(252 248 242 / .22); backdrop-filter: blur(4px); }
.chip-time { right: 12px; background: rgb(38 20 24 / .6); font-family: ui-monospace, monospace; }
.play {
    position: absolute; inset: 0; margin: auto; z-index: 1;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--ivory); color: var(--maroon); display: grid; place-items: center;
    transition: transform .2s;
}
.video-thumb:hover .play { transform: scale(1.06); }
.play svg { width: 20px; height: 20px; margin-left: 3px; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.cat-Lessons .video-thumb { background: var(--teal); }
.cat-Bhajan .video-thumb { background: var(--saffron); }

/* Chronicle (kirtan post) card */
.chronicle { background: color-mix(in srgb, var(--parchment) 80%, transparent); border-top: 4px solid var(--saffron); }
.chronicle .date { font-size: .75rem; font-weight: 700; color: var(--saffron); margin: 0; }
.chronicle h3 { margin-top: 8px; }
.chronicle h3 a { color: inherit; text-decoration: none; }
.abhang {
    margin: 12px 0; padding: 8px 12px; border-radius: 8px;
    background: color-mix(in srgb, var(--saffron-soft) 60%, transparent); border-left: 4px solid var(--saffron);
    color: var(--maroon); font-weight: 600; font-size: .9rem;
}
.abhang-lg { padding: 16px; border-left-color: var(--ochre); background: var(--parchment); font-style: italic; font-size: 1.05rem; }
.cover { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* Events */
.event-card { flex-flow: row wrap; justify-content: flex-start; align-items: stretch; }
.event-card .cover { flex: 0 0 100%; }
.event-date {
    background: var(--maroon); color: var(--ivory); min-width: 84px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; text-align: center;
}
.event-day { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.event-month { font-size: .78rem; color: var(--saffron-soft); }
.event-card .card-body { padding: 16px 20px; }
.event-card h3 { font-size: 1.05rem; margin-bottom: .2em; }
body.lang-en .event-card h3 { font-size: 1.25rem; }
.event-card .card-body { flex: 1 1 0; min-width: 0; }
.event-card .meta { margin: 0 0 2px; }
.event-desc { margin: 8px 0 10px; font-size: .9rem; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Testimonials */
.testimonial { padding: 24px; margin: 0; }
.testimonial blockquote { margin: 0 0 12px; font-style: italic; }
.testimonial figcaption span { display: block; color: var(--muted); font-size: .85rem; }

/* About */
.about-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 5fr 7fr; } }
.prose { max-width: 70ch; }
.prose p { margin-bottom: 1em; }
.veena-stage:has(.portrait) { aspect-ratio: 4 / 5; }
.veena-stage .portrait { object-position: center 20%; }
.role-line { font-weight: 600; color: var(--teal); margin: 0; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; }
.jump-links a {
    padding: 6px 12px; border-radius: var(--radius-sm); border: 1px solid var(--hairline);
    background: var(--ivory); color: var(--maroon); font-size: .85rem; font-weight: 600; text-decoration: none;
}
.jump-links a:hover { border-color: var(--saffron); }

/* Degrees */
.degrees { margin-top: 32px; }
.degree-card {
    position: relative; background: var(--ivory); border: 1px solid var(--hairline); border-top-width: 5px;
    border-radius: var(--radius); padding: 28px 24px 24px;
}
.degree-card.accent-0 { border-top-color: var(--maroon); }
.degree-card.accent-1 { border-top-color: var(--teal); }
.degree-card.accent-2 { border-top-color: var(--saffron); }
.degree-card.accent-3 { border-top-color: var(--ochre); }
.degree-card h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin: 0 0 .3em; }
body.lang-en .degree-card h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.degree-year {
    position: absolute; top: 20px; right: 20px; margin: 0;
    font-size: .8rem; font-weight: 700; color: var(--saffron);
    padding: 2px 10px; border-radius: 999px; background: var(--saffron-soft);
}
.degree-card h3 { padding-right: 72px; }
.degree-inst { font-weight: 600; margin: 0 0 12px; }
.degree-grade {
    display: inline-block; margin: 0; padding: 4px 10px; border-radius: 6px;
    background: var(--teal-soft); color: var(--teal); font-size: .8rem; font-weight: 700;
}

.degree-card.teaching { border-top-color: var(--teal); background: color-mix(in srgb, var(--teal-soft) 45%, var(--ivory)); }
.degree-card.teaching h3 { color: var(--teal); }
.other-degrees { margin-top: 28px; }
.other-degrees ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.other-degrees li { padding: 10px 16px; border: 1px solid var(--hairline); border-left: 3px solid var(--saffron); border-radius: 10px; background: var(--ivory); }
.other-degrees strong { color: var(--maroon); margin-right: 6px; }
.other-degrees span { font-size: .85rem; color: var(--muted); }

/* Teacher registration line on course sections */
.trust-line {
    display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 12px 16px;
    border: 1px solid var(--hairline); border-left: 4px solid var(--teal); border-radius: 10px;
    background: var(--ivory); font-size: .92rem;
}
.trust-line strong { color: var(--teal); }
.trust-mark {
    flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
    background: var(--teal); color: var(--ivory); font-size: .75rem; font-weight: 700;
}

/* Journey + gurus */
.journey-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .journey-grid { grid-template-columns: 7fr 5fr; gap: 56px; } }
.journey-grid .prose { margin-top: 20px; }
.guru-panel { background: color-mix(in srgb, var(--parchment) 80%, transparent); border: 2px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.guru-panel h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.guru-list { list-style: none; margin: 16px 0 0; padding: 0; }
.guru-list li { padding: 14px 0 14px 16px; border-left: 3px solid var(--saffron); }
.guru-list li + li { margin-top: 10px; }
.guru-list li:nth-child(even) { border-left-color: var(--teal); }
.guru-list p { margin: 0; }
.guru-role { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.guru-name { font-weight: 700; color: var(--maroon); font-size: 1.05rem; }

/* Awards timeline */
.timeline { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.timeline li {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--ivory); border: 1px solid var(--hairline); border-radius: 12px; padding: 14px 16px;
}
.tl-year {
    flex-shrink: 0; min-width: 76px; text-align: center;
    padding: 4px 8px; border-radius: 8px; background: var(--maroon); color: var(--ivory);
    font-size: .8rem; font-weight: 700; white-space: nowrap;
}
.tl-body p { margin: 0; }
.tl-result { font-size: .78rem; font-weight: 700; color: var(--saffron); text-transform: uppercase; letter-spacing: .04em; }
.tl-title { font-weight: 600; line-height: 1.45; }
.tl-body .meta { margin-top: 2px; font-size: .85rem; }
.timeline-head { margin: 40px 0 0; }
.timeline.honours .tl-year { background: var(--teal); }

/* Trophy photos above the awards timeline: scrolls sideways on phones */
.trophy-strip {
    list-style: none; margin: 32px 0 0; padding: 0 0 8px;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
}
@media (min-width: 900px) {
    .trophy-strip { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); overflow: visible; }
}
.trophy-strip li { scroll-snap-align: start; }
.trophy-strip a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--hairline); background: var(--ivory); }
.trophy-strip img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .3s; }
.trophy-strip a:hover img { transform: scale(1.04); }
.trophy-strip p { margin: 8px 2px 0; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.trophy-strip strong { color: var(--maroon); }

/* Media cards */
.media-card { background: var(--ivory); border: 1px solid var(--hairline); border-left-width: 4px; border-radius: 12px; padding: 16px 18px; }
.media-card p { margin: 0; }
.media-card .h-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.media-show { font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-top: 4px !important; }
.media-card .meta { margin-top: 4px; font-size: .85rem; }

/* Home credentials strip */
.credentials { padding: 28px 0; }
.credentials-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .credentials-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.degree-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.degree-list li { padding-left: 14px; border-left: 3px solid var(--maroon); }
.degree-list li:nth-child(2) { border-left-color: var(--teal); }
.degree-list li:nth-child(3) { border-left-color: var(--saffron); }
.degree-list strong { display: block; color: var(--maroon); font-size: 1.05rem; }
.degree-list span { font-size: .85rem; color: var(--muted); }
.chip-list { list-style: none; margin: 8px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--ivory); font-size: .85rem; font-weight: 600; color: var(--maroon); }

/* Gallery photos */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 28px; }
.photo-grid figure { margin: 0; }
.photo-grid img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.photo-grid figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }

.pager { display: flex; justify-content: space-between; margin-top: 32px; font-weight: 600; }

/* Contact & forms -------------------------------------------------------- */
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 48px; } }
.contact-grid > div:first-child > * + * { margin-top: 20px; }
.info-card { background: var(--ivory); border: 2px solid var(--hairline); border-radius: var(--radius); padding: 20px; }
.info-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.info-row p { margin: 0; }
.info-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid; }
.info-icon svg { width: 16px; height: 16px; }
.info-icon.teal { background: var(--teal-soft); color: var(--teal); border-color: color-mix(in srgb, var(--teal) 40%, transparent); }
.info-icon.saffron { background: var(--saffron-soft); color: var(--saffron); border-color: color-mix(in srgb, var(--saffron) 40%, transparent); }
.info-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.info-label.teal { color: var(--teal); } .info-label.saffron { color: var(--saffron); }
.info-value { font-size: .9rem; font-weight: 600; color: var(--maroon); }
.info-value a { color: inherit; }

.form { background: var(--ivory); border: 2px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
@media (min-width: 640px) { .form { padding: 32px; } }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .875rem; font-weight: 600; color: var(--maroon); }
.field input, .field select, .field textarea {
    font: inherit; font-size: .9rem; width: 100%;
    padding: 10px 14px; border-radius: 12px;
    border: 1px solid var(--hairline); background: color-mix(in srgb, var(--parchment) 40%, transparent); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 15%, transparent); }
.field-error { color: var(--error); font-size: .85rem; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px; border-radius: 12px; font-size: .9rem; font-weight: 500; }
.notice-success { border: 1px solid var(--saffron); background: var(--saffron-soft); color: var(--maroon); }

/* Footer ----------------------------------------------------------------- */
.site-footer { position: relative; z-index: 1; background: var(--maroon); color: var(--ivory); border-top: 4px solid var(--saffron); }
.footer-top { display: flex; flex-direction: column; gap: 24px; justify-content: space-between; padding: 40px 0 32px; border-bottom: 1px solid rgb(252 248 242 / .15); }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: center; } }
.footer-identity { display: flex; align-items: center; gap: 20px; }
.footer-logo { width: 120px; height: auto; flex-shrink: 0; }
@media (min-width: 640px) { .footer-logo { width: 170px; } }
.footer-brand { font-size: 1.1rem; font-weight: 700; margin: 0; }
.footer-tagline { font-size: .85rem; opacity: .8; margin: 4px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: .875rem; }
.footer-links a { color: rgb(252 248 242 / .9); text-decoration: none; }
.footer-links a:hover { color: var(--saffron-soft); }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: space-between; padding: 24px 0; font-size: .78rem; opacity: .85; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { margin: 0; }
.sargam { font-weight: 600; color: var(--saffron-soft); letter-spacing: .04em; }

.whatsapp-fab {
    position: fixed; right: 16px; bottom: 16px; z-index: 30;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center;
    box-shadow: 0 4px 14px rgb(0 0 0 / .25);
}
.whatsapp-fab:hover { color: #fff; transform: scale(1.05); }
.whatsapp-fab svg { width: 28px; height: 28px; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: #d2c2b0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--maroon); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .float-a, .float-b, .float-c, .float-d, .ribbon-track { animation: none !important; }
    .ribbon-track { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--gutter); }
    .ribbon-track [aria-hidden="true"] { display: none; }
}
