/*
 Theme Name:   Manika Hatchery
 Theme URI:    https://manikakaur.com
 Description:  Custom Hatchery Theme for Manika
 Author:       Origenx
 Author URI:   https://origenx.io
 Template:     hatchery
 Version:      1.0.0
 Text Domain:  hatchery-child
*/
/* ============================================================
   MANIKA KAUR — THE DIGITAL DARBAR
   Identity: "Contemporary Communion" — the Darbar canvas
   Deep indigo-black night · Amritsar Gold light · Starlight text
   There is no white in this identity. Warmth comes from light,
   never from a light surface.
   ============================================================ */
@import url('assets/fonts/fonts.css');

/* ---------- Design tokens ---------- */
:root {
    --pearl: #F8F4EC;
    --sandstone: #EAE0CF;
    --sandstone-deep: #DED0B8;
    --ink: #2A241C;
    --ink-soft: #6B6152;
    --gold: #C9A227;
    --gold-bright: #D4AF37;
    --gold-dim: rgba(201, 162, 39, 0.28);
    --indigo: #161A33;
    --darbar: #0C0A12;
    --starlight: #F5F1E8;

    /* contextual — THE CANVAS IS ALWAYS DARBAR DARK. `.mk-dark` sections
       and body.mk-dark-page restate these for explicitness. */
    --mk-bg: var(--darbar);
    --mk-fg: var(--starlight);
    --mk-fg-soft: rgba(245, 241, 232, 0.66);
    --mk-line: rgba(245, 241, 232, 0.14);
    --mk-panel: rgba(245, 241, 232, 0.05);

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-ui: 'Montserrat', 'Segoe UI', sans-serif;
    --font-gurmukhi: 'Noto Serif Gurmukhi', 'Noto Sans Gurmukhi', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
}

/* Dark immersive mode (Seek, Live Darbar, Devocean, player overlay) */
.mk-dark {
    --mk-bg: var(--darbar);
    --mk-fg: var(--starlight);
    --mk-fg-soft: rgba(245, 241, 232, 0.66);
    --mk-line: rgba(245, 241, 232, 0.14);
    --mk-panel: rgba(22, 26, 51, 0.45);
    background: var(--darbar);
    color: var(--starlight);
}
/* Dark pages flip every --mk-* token so all element templates inherit light-on-dark text */
body.mk-dark-page {
    --mk-bg: var(--darbar);
    --mk-fg: var(--starlight);
    --mk-fg-soft: rgba(245, 241, 232, 0.66);
    --mk-line: rgba(245, 241, 232, 0.14);
    --mk-panel: rgba(22, 26, 51, 0.45);
    background: var(--darbar);
    color: var(--starlight);
}

/* ---------- Base ---------- */
/* The parent theme ships compiled GEUIKit CSS WITHOUT the global border-box
   reset — under content-box, full-width chrome with 4rem padding gets pushed
   outside the viewport (glued to the far right). Restore the universal
   reset here. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--darbar);
    color: var(--starlight);
    font-family: var(--font-ui);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}
/* Parent theme locks scrolling (body{overflow:hidden;overflow:clip}) — restore document scroll.
   Higher specificity than `body` so it wins regardless of stylesheet order. */
body.mk-cursor-on { overflow: visible; }
/* Parent theme paints html #121212 — reclaim the overscroll canvas for the Darbar night */
html[lang] { background: var(--darbar); }
::selection { background: var(--gold); color: var(--darbar); }
/* Darbar scrollbar — no white chrome anywhere in this identity */
html { scrollbar-color: rgba(201, 162, 39, 0.35) var(--darbar); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--darbar); }
::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.28); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201, 162, 39, 0.5); }

@media (pointer: fine) {
    body.mk-cursor-on, body.mk-cursor-on a, body.mk-cursor-on button,
    body.mk-cursor-on input, body.mk-cursor-on .interactive { cursor: none; }
}

/* Gold thread — signature underline motif */
.mk-thread {
    display: inline-block; position: relative;
}
.mk-thread::after {
    content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
    background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform 0.8s var(--ease-out);
}
.mk-thread:hover::after, .mk-thread.is-visible::after { transform: scaleX(1); }

/* ---------- Grain & cursor (fixed UI) ---------- */
.mk-noise {
    position: fixed; inset: 0; pointer-events: none; z-index: 9990; opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.mk-cursor-dot, .mk-cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999; display: none; }
@media (pointer: fine) {
    body.mk-cursor-on .mk-cursor-dot, body.mk-cursor-on .mk-cursor-ring { display: block; }
}
.mk-cursor-dot { width: 6px; height: 6px; background: var(--gold); transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s; }
.mk-cursor-ring {
    width: 40px; height: 40px; border: 1px solid var(--gold-dim);
    transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background 0.3s;
}
body.mk-cursor-hover .mk-cursor-dot { width: 0; height: 0; }
body.mk-cursor-hover .mk-cursor-ring { width: 74px; height: 74px; background: rgba(201, 162, 39, 0.08); }

/* ---------- Native YooTheme header (Darbar skin) ----------
   The header is the stock customizer header (Customizer ▸ Header):
   horizontal-left, expand, transparent + blend, sticky. We only skin
   the native markup — no replacement chrome. */
.tm-header .ht-navbar-container { background: transparent; }
.tm-header .ht-container-expand { padding-left: 4rem; padding-right: 4rem; }
.tm-header .ht-navbar { min-height: 96px; }
.tm-header .ht-logo { padding: 0; }
.tm-header .ht-logo img, .tm-header .ht-logo svg { object-fit: contain; }
.tm-header .ht-navbar-toggle {
    color: var(--starlight); padding: 0.5rem 0 0.5rem 1.5rem;
    transition: color 0.3s;
}
.tm-header .ht-navbar-toggle:hover { color: var(--gold); }
/* The native toggle renders a "Menu" span (Customizer ▸ Header ▸ Dialog ▸
   Toggle Text) — give it the identity's letterspaced small-caps voice */
.tm-header .ht-navbar-toggle span {
    font-family: var(--font-ui); font-size: 0.62rem; font-weight: 400;
    letter-spacing: 0.32em; text-transform: uppercase;
}

/* ---------- Cinematic fullscreen menu (native dialog) ----------
   The menu is the native YooTheme dialog offcanvas (#tm-dialog /
   #tm-dialog-mobile) hosting the nav_menu + Gurmukhi text widgets
   (Customizer ▸ Widgets ▸ Dialog). The bar becomes the fullscreen
   Darbar panel; the identity grid lives on the native .ht-nav. */
#tm-dialog .ht-offcanvas-bar, #tm-dialog-mobile .ht-offcanvas-bar {
    width: 100%; max-width: none;
    background: radial-gradient(circle at center, #1a1612 0%, #0a090d 70%);
	backdrop-filter: blur(24px);
    padding: 5rem 4rem; justify-content: center;
}
/* Widget wrappers fill the bar so the menu grid can center itself */
#tm-dialog .ht-offcanvas-bar > div, #tm-dialog-mobile .ht-offcanvas-bar > div { width: 100%; }
#tm-dialog .widget, #tm-dialog-mobile .widget { margin: 0; }
#tm-dialog .ht-offcanvas-close, #tm-dialog-mobile .ht-offcanvas-close {
    top: 2.6rem; right: 4rem; color: var(--starlight); transition: color 0.3s;
}
#tm-dialog .ht-offcanvas-close:hover, #tm-dialog-mobile .ht-offcanvas-close:hover { color: var(--gold); }
/* Identity close: letterspaced CLOSE word instead of the stock X icon */
#tm-dialog .ht-offcanvas-close svg, #tm-dialog-mobile .ht-offcanvas-close svg { display: none; }
#tm-dialog .ht-offcanvas-close::after, #tm-dialog-mobile .ht-offcanvas-close::after {
    content: 'Close';
    font-family: var(--font-ui); font-size: 0.62rem; font-weight: 400;
    letter-spacing: 0.32em; text-transform: uppercase;
}
/* Widgets ▸ Dialog renders the menu as a ht-nav list and the Gurmukhi
   line as a text widget — style both like the old cinematic menu */
#tm-dialog .ht-nav, #tm-dialog-mobile .ht-nav {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; text-align: center;
}
#tm-dialog .ht-nav li, #tm-dialog-mobile .ht-nav li { padding: 0; margin: 0; }
#tm-dialog .ht-nav li a, #tm-dialog-mobile .ht-nav li a {
    display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 300;
    color: rgba(245, 241, 232, 0.72); text-decoration: none; margin-bottom: 0.9rem; padding: 0;
    transition: color 0.3s, transform 0.4s var(--ease-out), font-style 0.3s;
}
#tm-dialog .ht-nav li a:hover, #tm-dialog .ht-nav li.current-menu-item a,
#tm-dialog .ht-nav li.ht-active a,
#tm-dialog-mobile .ht-nav li a:hover, #tm-dialog-mobile .ht-nav li.current-menu-item a,
#tm-dialog-mobile .ht-nav li.ht-active a {
    color: var(--starlight); transform: translateX(8px); font-style: italic;
}
.mk-dialog-gurmukhi {
    margin-top: 3.5rem; font-family: var(--font-gurmukhi); font-size: 1.05rem;
    color: rgba(212, 175, 55, 0.5); letter-spacing: 0.2em;
}

/* ---------- Scroll progress ---------- */
.mk-progress-indicator {
    position: fixed; bottom: 2.4rem; left: 4rem; z-index: 900;
    display: flex; align-items: center; gap: 1rem; pointer-events: none;
}
.mk-progress-line { width: 150px; height: 1px; background: var(--mk-line); position: relative; }
.mk-progress-fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--gold); width: 0%; }
.mk-page-name { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
body.mk-dark-page .mk-progress-line { background: rgba(245,241,232,0.15); }

/* ---------- Swup page transitions ("breath") ---------- */
#swup { transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
body.mk-is-leaving #swup { opacity: 0; transform: translateY(-18px); transition: opacity 0.35s var(--ease-in), transform 0.35s var(--ease-in); }
body.mk-is-entering #swup { opacity: 0; transform: translateY(18px); transition: none; }

/* ---------- Scroll reveal ---------- */
.mk-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--mk-delay, 0s); }
.mk-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Shared chapter typography ---------- */
.mk-watermark {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-gurmukhi); font-size: clamp(12rem, 34vw, 30rem);
    color: var(--mk-fg); opacity: 0.035; white-space: nowrap; pointer-events: none; z-index: 0;
    line-height: 1;
}
.mk-chap-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); font-style: italic; margin-bottom: 1rem; }
.mk-gold-italic { color: var(--gold); font-style: italic; }

.mk-hero-title, .mk-chapter-title, .mk-stats-title, .mk-archives-title,
.mk-quote-text, .mk-manifesto-title, .mk-cinema-title, .mk-connect-title {
    font-family: var(--font-display); font-weight: 300; line-height: 1.04; color: var(--mk-fg);
}

/* ---------- Hero (Origin) ---------- */
.mk-hero-prefix {
    font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 2rem;
}
.mk-hero-title--massive { font-size: clamp(3.4rem, 9vw, 8.4rem); }
.mk-hero-title--large { font-size: clamp(2.8rem, 6.5vw, 6rem); }
.mk-hero-title--default { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.mk-hero-desc {
    font-size: 1.05rem; line-height: 2; max-width: 540px; font-weight: 300;
    color: var(--mk-fg-soft); margin-top: 2.2rem;
}
.mk-hero-mark { color: var(--gold); width: 74px; margin-bottom: 2.4rem; display: block; }
/* Legibility scrim beneath the fixed header on photo heroes — Darbar night */
.mk-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, var(--darbar) 0%, rgba(12, 10, 18, 0.55) 16%, rgba(12, 10, 18, 0) 38%);
}

/* ---------- The Darbar Threshold (homepage hero) ---------- */
#swup > .ht-section:has([data-mk-threshold]) { padding: 0 !important; min-height: 100vh; min-height: 100svh; }
.mk-threshold { position: relative; width: 100%; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
/* Full-bleed layers escape the centered container */
.mk-threshold-media, .mk-threshold-aura, .mk-threshold .mk-jyot {
    position: absolute; top: 0; left: 50%; width: 100vw; height: 100%;
    transform: translateX(-50%); pointer-events: none;
}
.mk-threshold-media { z-index: 1; overflow: hidden; }
.mk-threshold-portrait {
    width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
    opacity: 0.62; filter: saturate(0.82) brightness(0.74) contrast(1.06);
    transform-origin: 50% 30%; animation: mk-breath 26s ease-in-out infinite alternate;
}
@keyframes mk-breath { from { transform: scale(1); } to { transform: scale(1.07); } }
/* Cinematic dark-warm grade over the portrait */
.mk-threshold-grade {
    position: absolute; inset: 0;
    background:
        linear-gradient(to bottom, var(--darbar) 0%, rgba(12, 10, 18, 0.42) 20%, rgba(12, 10, 18, 0.28) 52%, rgba(12, 10, 18, 0.94) 100%),
        radial-gradient(ellipse 72% 60% at 50% 62%, rgba(22, 26, 51, 0) 40%, rgba(12, 10, 18, 0.55) 100%);
}
/* Aura — soft gold light gathering behind the figure */
.mk-threshold-aura {
    z-index: 2;
    background: radial-gradient(ellipse 44% 36% at 50% 56%, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.05) 52%, transparent 74%);
    animation: mk-aura 9s ease-in-out infinite alternate;
}
@keyframes mk-aura { from { opacity: 0.65; } to { opacity: 1; } }
.mk-threshold .mk-jyot { z-index: 3; }
.mk-threshold .mk-watermark { z-index: 2; }
.mk-threshold .mk-hero-content { z-index: 10; }

/* Line-mask staged reveal — prefix -> title -> description */
.mk-mask { display: block; overflow: hidden; }
.mk-hero-title .mk-mask { display: inline-block; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.mk-mask-in { transform: translateY(112%); transition: transform 1.15s var(--ease-out); transition-delay: var(--mk-delay, 0s); will-change: transform; }
.mk-threshold.is-live .mk-mask-in { transform: translateY(0); }

/* "Step inside" scroll cue */
.mk-threshold-cue {
    position: absolute; bottom: 2.6rem; left: 50%; transform: translateX(-50%);
    z-index: 12; display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
    background: none; border: 0; cursor: pointer; padding: 0.6rem 1rem;
    opacity: 0; transition: opacity 1.2s var(--ease-out) 1.25s;
}
.mk-threshold.is-live .mk-threshold-cue { opacity: 1; }
.mk-threshold-cue-label {
    font-family: var(--font-ui); font-size: 0.58rem; font-weight: 300;
    letter-spacing: 0.46em; text-transform: uppercase; color: var(--mk-fg-soft);
    padding-left: 0.46em; /* optical centering for tracked caps */
}
.mk-threshold-cue-line { position: relative; width: 1px; height: 54px; background: rgba(245, 241, 232, 0.18); overflow: hidden; display: block; }
.mk-threshold-cue-line::after {
    content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%;
    background: var(--gold); transform: translateY(-100%);
    animation: mk-cue-drop 2.6s var(--ease-out) infinite;
}
@keyframes mk-cue-drop {
    0% { transform: translateY(-100%); }
    55% { transform: translateY(0); }
    100% { transform: translateY(102%); }
}
.mk-threshold-cue:hover .mk-threshold-cue-label { color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
    .mk-threshold-portrait, .mk-threshold-aura, .mk-threshold-cue-line::after { animation: none; }
    .mk-mask-in { transform: none; transition: none; }
    .mk-threshold-cue { opacity: 1; transition: none; }
}

/* ---------- Presence strip (full-bleed performance photograph) ---------- */
#swup > .ht-section:has(.mk-presence) { padding: 0 !important; min-height: 0; }
.mk-presence { position: relative; width: 100%; }
.mk-presence-frame { position: relative; height: min(78vh, 720px); overflow: hidden; }
.mk-presence-img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
    filter: saturate(0.86) brightness(0.82) contrast(1.05);
    transform: scale(1.06); transition: transform 2.4s var(--ease-out);
}
.mk-presence.is-visible .mk-presence-img { transform: scale(1); }
.mk-presence-grade {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(to bottom, var(--darbar) 0%, rgba(12, 10, 18, 0) 18%, rgba(12, 10, 18, 0) 72%, var(--darbar) 100%),
        radial-gradient(ellipse 90% 70% at 50% 50%, transparent 55%, rgba(12, 10, 18, 0.42) 100%);
}
.mk-presence-gurmukhi {
    position: absolute; right: 4vw; bottom: -0.12em; font-family: var(--font-gurmukhi);
    font-size: clamp(6rem, 16vw, 15rem); line-height: 1; color: var(--starlight);
    opacity: 0.06; pointer-events: none; user-select: none;
}
.mk-presence-caption {
    display: flex; align-items: center; justify-content: center; gap: 1.4rem;
    padding: 2rem 4vw 2.4rem; font-size: 0.62rem; letter-spacing: 0.38em;
    text-transform: uppercase; color: var(--mk-fg-soft);
}
.mk-presence-caption-line { width: 56px; height: 1px; background: var(--gold); flex: none; }

/* Resonant divider — the voice striking outward (sarovar ripples) */
.mk-resonant-divider {
    position: relative; height: 74px; margin-top: 3.4rem;
    display: flex; align-items: center; justify-content: center;
}
.mk-resonant-line { position: absolute; width: 148px; height: 1px; background: var(--gold-dim); }
.mk-resonant-divider i {
    position: absolute; width: 46px; height: 46px; border: 1px solid var(--gold);
    border-radius: 50%; opacity: 0; animation: mk-sarov 4.2s var(--ease-out) infinite;
}
.mk-resonant-divider i:nth-child(3) { animation-delay: 1.4s; }
.mk-resonant-divider i:nth-child(4) { animation-delay: 2.8s; }
@keyframes mk-sarov {
    0% { transform: scale(0.18); opacity: 0.8; }
    100% { transform: scale(3.1); opacity: 0; }
}

/* ---------- Chapter gateway (navigation as craft) ---------- */
.mk-gateway { width: 100%; }
.mk-gateway-head { margin-bottom: 4rem; }
.mk-gateway-title {
    font-family: var(--font-display); font-weight: 300; line-height: 1.06;
    font-size: clamp(2.4rem, 5.4vw, 4.6rem); color: var(--mk-fg); margin-bottom: 1.2rem;
}
.mk-gateway-desc { font-size: 1rem; line-height: 2; color: var(--mk-fg-soft); font-weight: 300; max-width: 560px; }
.mk-gateway-list { border-top: 1px solid var(--mk-line); }
.mk-gateway-row {
    position: relative; display: flex; align-items: baseline; gap: 2.4rem;
    padding: 1.5rem 0.6rem; border-bottom: 1px solid var(--mk-line);
    color: var(--mk-fg); text-decoration: none; overflow: hidden;
    transition: padding-left 0.55s var(--ease-out), color 0.4s;
}
.mk-gateway-row::after {
    content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
    background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform 0.6s var(--ease-out);
}
.mk-gateway-num {
    font-size: 0.66rem; letter-spacing: 0.3em; color: var(--gold); flex: none;
    font-variant-numeric: tabular-nums;
}
.mk-gateway-name {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2;
    transition: color 0.4s;
}
.mk-gateway-arrow {
    margin-left: auto; color: var(--gold); font-size: 1.1rem;
    opacity: 0; transform: translateX(-14px);
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.mk-gateway-row:hover, .mk-gateway-row:focus-visible { padding-left: 1.6rem; }
.mk-gateway-row:hover::after, .mk-gateway-row:focus-visible::after { transform: scaleX(1); }
.mk-gateway-row:hover .mk-gateway-name { color: var(--gold-bright); }
.mk-gateway-row:hover .mk-gateway-arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 640px) { .mk-gateway-row { gap: 1.2rem; } }
@media (prefers-reduced-motion: reduce) {
    .mk-presence-img { transform: none; transition: none; }
    .mk-resonant-divider i { animation: none; opacity: 0.25; }
    .mk-gateway-row, .mk-gateway-row::after, .mk-gateway-arrow { transition: none; }
}

/* Invocation — Gurmukhi sacred line */
.mk-invocation {
    font-family: var(--font-gurmukhi); font-size: clamp(1.2rem, 2.4vw, 1.9rem);
    color: var(--gold); margin-top: 2.6rem; opacity: 0.9; line-height: 1.9;
}
.mk-invocation small {
    display: block; font-family: var(--font-display); font-style: italic;
    font-size: 1rem; color: var(--mk-fg-soft); margin-top: 0.6rem; letter-spacing: 0.04em;
}

/* ---------- Chapters generic ---------- */
.mk-chapter-content { position: relative; z-index: 10; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 4rem; flex-wrap: wrap; }
.mk-chapter-title { font-size: clamp(2.6rem, 6vw, 5.6rem); margin-bottom: 1.6rem; }
.mk-chapter-desc { font-size: 1.05rem; line-height: 2; max-width: 520px; font-weight: 300; color: var(--mk-fg-soft); }
.mk-chapter-img {
    width: min(440px, 40vw); aspect-ratio: 4/5; object-fit: cover;
    filter: grayscale(20%) sepia(12%); box-shadow: 0 30px 80px rgba(42, 36, 28, 0.25);
    border: 1px solid var(--mk-line);
}
.mk-dark .mk-chapter-img { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); border-color: rgba(212,175,55,0.18); }

/* Editorial timeline (The Artist) */
.mk-timeline { list-style: none; margin: 2.4rem 0 0; padding: 0; max-width: 560px; }
.mk-timeline li {
    display: grid; grid-template-columns: 90px 1fr; gap: 1.6rem; padding: 1.3rem 0;
    border-bottom: 1px solid var(--mk-line); font-size: 0.95rem; color: var(--mk-fg-soft);
}
.mk-timeline li strong {
    font-family: var(--font-display); font-weight: 400; font-style: italic;
    font-size: 1.25rem; color: var(--gold);
}

/* ---------- Quote ---------- */
.mk-quote-text { font-size: clamp(1.7rem, 3.6vw, 3rem); font-style: italic; max-width: 900px; line-height: 1.4; }
.mk-quote-text em { color: var(--gold); font-style: italic; }
.mk-quote-attr {
    margin-top: 2rem; font-size: 0.65rem; letter-spacing: 0.36em;
    text-transform: uppercase; color: var(--gold);
}

/* ---------- Manifesto ---------- */
.mk-manifesto-title { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 900px; }
.mk-manifesto-line {
    font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 300;
    line-height: 1.7; max-width: 820px; color: var(--mk-fg); margin-top: 1.4rem;
}
.mk-manifesto-line .mk-gold-italic { font-size: 1.1em; }

/* ---------- Stats / Impact dashboard ---------- */
.mk-stats-content { position: relative; z-index: 10; display: flex; align-items: flex-start; justify-content: space-between; gap: 5rem; flex-wrap: wrap; width: 100%; }
.mk-stats-left { max-width: 460px; }
.mk-stats-title { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 1.6rem; }
.mk-stats-desc { font-size: 1rem; line-height: 2; color: var(--mk-fg-soft); font-weight: 300; }
.mk-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3.5rem; flex: 1; min-width: 320px; }
.mk-stat { position: relative; }
.mk-stat-ring { width: 150px; height: 150px; margin-bottom: 1.6rem; transform: rotate(-90deg); }
.mk-stat-ring circle { fill: none; stroke-width: 1.5; }
.mk-stat-ring .ring-track { stroke: var(--mk-line); }
.mk-stat-ring .ring-value { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 440; stroke-dashoffset: 440; transition: stroke-dashoffset 1.8s var(--ease-out); }
.mk-stat.is-visible .ring-value { stroke-dashoffset: var(--ring-offset, 110); }
.mk-stat h3 { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.6rem); color: var(--gold); line-height: 1; font-weight: 300; }
.mk-stat h3 .mk-count { font-variant-numeric: tabular-nums; }
.mk-stat p { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 1rem; color: var(--mk-fg-soft); }
.mk-stat .mk-stat-sub { font-size: 0.8rem; letter-spacing: 0.05em; text-transform: none; margin-top: 0.6rem; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--mk-fg-soft); }

/* Seva project cards */
.mk-seva-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; width: 100%; position: relative; z-index: 10; }
.mk-seva-card {
    background: var(--mk-panel); border: 1px solid var(--mk-line); padding: 2.4rem;
    transition: transform 0.5s var(--ease-out), border-color 0.5s;
}
.mk-seva-card:hover { transform: translateY(-6px); border-color: var(--gold-dim); }
.mk-seva-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 1.6rem; filter: sepia(14%); }
.mk-seva-card h4 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--mk-fg); margin-bottom: 0.6rem; }
.mk-seva-card .mk-seva-loc { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.mk-seva-card p { font-size: 0.92rem; line-height: 1.9; color: var(--mk-fg-soft); }

/* ---------- Archives (albums) ---------- */
.mk-archives-content { position: relative; z-index: 10; width: 100%; }
.mk-archives-left { max-width: 620px; margin-bottom: 3.5rem; }
.mk-archives-title { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.mk-archives-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2.6rem; }
.mk-album { position: relative; }
.mk-album-cover {
    position: relative; width: 100%; aspect-ratio: 1; overflow: hidden;
    box-shadow: 0 24px 50px rgba(42, 36, 28, 0.22); border: 1px solid var(--mk-line);
    transition: transform 0.6s var(--ease-out);
}
.mk-dark .mk-album-cover { box-shadow: 0 24px 50px rgba(0,0,0,0.55); border-color: rgba(212,175,55,0.16); }
.mk-album:hover .mk-album-cover { transform: translateY(-8px); }
.mk-album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mk-album:hover .mk-album-cover img { transform: scale(1.05); }
.mk-album-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(12, 10, 18, 0.45); opacity: 0; transition: opacity 0.4s;
}
.mk-album:hover .mk-album-play, .mk-album-play:focus-visible { opacity: 1; }
.mk-album-play button {
    width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold);
    background: rgba(12,10,18,0.6); color: var(--gold); font-size: 1.2rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.mk-album h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-top: 1.2rem; color: var(--mk-fg); }
.mk-album .mk-album-year { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-top: 0.4rem; }

/* Track list rows (Music page) */
.mk-track-list { list-style: none; margin: 0; padding: 0; width: 100%; position: relative; z-index: 10; }
.mk-track-row {
    display: flex; align-items: baseline; gap: 2rem; padding: 1.6rem 0;
    border-bottom: 1px solid var(--mk-line); transition: padding-left 0.4s var(--ease-out), color 0.3s;
    background: none; border-left: none; border-right: none; border-top: none; width: 100%;
    text-align: left; font-family: inherit; color: inherit;
}
.mk-track-row:hover { padding-left: 1.6rem; }
.mk-track-row .mk-track-idx { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.1rem; min-width: 2.4rem; }
.mk-track-row .mk-track-name { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 300; color: var(--mk-fg); flex: 1; }
.mk-track-row:hover .mk-track-name { color: var(--gold); }
.mk-track-row .mk-track-gurmukhi { font-family: var(--font-gurmukhi); font-size: 1.05rem; color: var(--mk-fg-soft); }
.mk-track-row .mk-track-dur { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--mk-fg-soft); }
.mk-track-row.is-playing .mk-track-name { color: var(--gold); font-style: italic; }

/* ---------- Cinema ---------- */
.mk-cinema-content { position: relative; z-index: 10; width: 100%; }
.mk-cinema-title { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 3rem; }
.mk-cinema-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; }
.mk-film { position: relative; }
.mk-film-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--mk-line); }
.mk-film-frame img, .mk-film-frame video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(25%) sepia(15%); transition: filter 0.6s, transform 1.2s var(--ease-out); }
.mk-film:hover .mk-film-frame img, .mk-film:hover .mk-film-frame video { filter: none; transform: scale(1.03); }
.mk-film h4 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; margin-top: 1.2rem; color: var(--mk-fg); }
.mk-film p { font-size: 0.9rem; color: var(--mk-fg-soft); line-height: 1.8; margin-top: 0.5rem; max-width: 420px; }

/* ---------- Tour / Live Darbar ---------- */
.mk-tour-dates { width: 100%; max-width: 820px; position: relative; z-index: 10; }
.mk-tour-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 2rem;
    border-bottom: 1px solid var(--mk-line); padding: 2rem 0; text-decoration: none;
    font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 300;
    color: var(--mk-fg); transition: color 0.4s, padding-left 0.4s var(--ease-out);
}
.mk-tour-row:hover { color: var(--gold); font-style: italic; padding-left: 2rem; }
.mk-tour-row .mk-tour-meta { font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mk-fg-soft); white-space: nowrap; }
.mk-tour-empty {
    font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.4rem);
    color: var(--mk-fg-soft); padding: 3rem 0; border-bottom: 1px solid var(--mk-line);
}

/* ---------- Connect / forms ---------- */
.mk-connect-content { position: relative; z-index: 10; width: 100%; }
.mk-connect-title { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 2rem; }
.mk-connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; width: 100%; }
.mk-field { margin-bottom: 2rem; }
.mk-field label { display: block; font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.mk-field input, .mk-field textarea, .mk-field select {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--mk-line);
    color: var(--mk-fg); font-family: var(--font-display); font-size: 1.4rem; padding: 0.6rem 0;
    outline: none; transition: border-color 0.3s; border-radius: 0;
}
.mk-field input:focus, .mk-field textarea:focus { border-bottom-color: var(--gold); }
.mk-field textarea { resize: vertical; min-height: 110px; }
.mk-btn {
    display: inline-flex; align-items: center; gap: 1rem; border: 1px solid var(--gold);
    background: transparent; color: var(--gold); font-family: var(--font-ui);
    font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
    padding: 1.1rem 2.6rem; cursor: pointer; text-decoration: none;
    transition: background 0.4s, color 0.4s;
}
.mk-btn:hover { background: var(--gold); color: var(--darbar); }
.mk-social-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.mk-social-list a {
    display: inline-block; font-family: var(--font-display); font-size: 1.5rem; color: var(--mk-fg);
    text-decoration: none; margin-bottom: 0.8rem; transition: color 0.3s, transform 0.3s;
}
.mk-social-list a:hover { color: var(--gold); transform: translateX(8px); }

/* ---------- Seek Engine ---------- */
.mk-seek-wrap { width: 100%; max-width: 1000px; margin: 0 auto; position: relative; z-index: 10; text-align: center; }
.mk-seek-label { font-size: 0.6rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin-bottom: 2.4rem; }
.mk-seek-input {
    background: transparent; border: none; border-bottom: 1px solid var(--gold);
    color: var(--starlight); font-family: var(--font-display); font-weight: 300;
    font-size: clamp(2.2rem, 5vw, 4rem); width: 100%; outline: none; padding-bottom: 1.2rem;
    text-align: center; border-radius: 0;
}
.mk-seek-input::placeholder { color: rgba(245, 241, 232, 0.22); font-style: italic; }
.mk-seek-results { margin-top: 3.5rem; text-align: left; }
.mk-seek-hit {
    display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 2rem; padding: 1.6rem 0;
    border-bottom: 1px solid rgba(245,241,232,0.1); text-decoration: none;
    transition: padding-left 0.4s var(--ease-out); cursor: pointer; width: 100%;
    background: none; border-left: none; border-right: none; border-top: none; color: inherit; font-family: inherit; text-align: left;
}
.mk-seek-hit:hover { padding-left: 1.4rem; }
.mk-seek-hit .hit-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 300; color: var(--starlight); }
.mk-seek-hit .hit-title mark, .mk-seek-hit .hit-line mark { background: none; color: var(--gold-bright); font-style: italic; }
.mk-seek-hit .hit-line { font-size: 0.9rem; color: rgba(245,241,232,0.6); }
.mk-seek-hit .hit-line--pa { font-family: var(--font-gurmukhi); font-size: 1.05rem; }
.mk-seek-hit .hit-album { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); align-self: center; }
.mk-seek-count { margin-top: 2.4rem; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(245,241,232,0.4); }
.mk-seek-suggest { margin-top: 4rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.mk-seek-chip {
    border: 1px solid rgba(245,241,232,0.18); background: none; color: rgba(245,241,232,0.55);
    font-family: var(--font-ui); font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
    padding: 0.8rem 1.7rem; cursor: pointer; transition: color 0.3s, border-color 0.3s;
}
.mk-seek-chip:hover, .mk-seek-chip:focus-visible { color: var(--gold-bright); border-color: var(--gold); }
.mk-seva-metrics { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--mk-line); font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }

/* ---------- Literature shelf ---------- */
.mk-books-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3rem; width: 100%; position: relative; z-index: 10; }
.mk-book { text-align: center; }
.mk-book-cover {
    width: 100%; max-width: 300px; aspect-ratio: 3/4; object-fit: cover; margin: 0 auto;
    box-shadow: 0 26px 60px rgba(42, 36, 28, 0.3); border: 1px solid var(--mk-line);
    transition: transform 0.6s var(--ease-out);
}
.mk-book:hover .mk-book-cover { transform: translateY(-8px) rotate(-1deg); }
.mk-book h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-top: 1.6rem; color: var(--mk-fg); }
.mk-book p { font-size: 0.85rem; color: var(--mk-fg-soft); line-height: 1.8; margin-top: 0.5rem; }

/* ---------- Communion orb & dock ---------- */
#mk-communion-orb {
    position: fixed; bottom: 2.4rem; right: 4rem; z-index: 920;
    display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
    transition: opacity 0.5s;
}
.mk-orb-ring {
    width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--gold-dim);
    display: flex; align-items: center; justify-content: center; position: relative;
    background: rgba(12, 10, 18, 0.6); backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.08), 0 0 26px rgba(201, 162, 39, 0.14);
    transition: transform 0.4s var(--ease-out), border-color 0.4s;
    -webkit-user-select: none; user-select: none; touch-action: none;
}
body.mk-dark-page .mk-orb-ring { background: rgba(12, 10, 18, 0.6); }
.mk-orb-ring:hover { transform: scale(1.06); border-color: var(--gold); }
#mk-communion-orb.mk-holding .mk-orb-ring { transform: scale(0.94); }
.mk-orb-core { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; transition: transform 0.3s; }
#mk-communion-orb.mk-playing .mk-orb-core { animation: mk-pulse 2.4s ease-in-out infinite; }
@keyframes mk-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.9); opacity: 0.55; } }
.mk-orb-progress {
    position: absolute; inset: -2px; border-radius: 50%;
    border: 2px solid transparent; border-top-color: var(--gold);
    transform: rotate(-90deg); opacity: 0; transition: opacity 0.2s;
}
#mk-communion-orb.mk-holding .mk-orb-progress { opacity: 1; }
.mk-orb-label { font-size: 0.5rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); }
.mk-orb-eq { display: none; gap: 3px; align-items: flex-end; height: 14px; }
#mk-communion-orb.mk-playing .mk-orb-eq { display: flex; }
#mk-communion-orb.mk-playing .mk-orb-label { display: none; }
.mk-orb-eq span { width: 2px; background: var(--gold); animation: mk-eq 1s infinite alternate; height: 40%; }
.mk-orb-eq span:nth-child(2) { animation-delay: 0.25s; }
.mk-orb-eq span:nth-child(3) { animation-delay: 0.5s; }
@keyframes mk-eq { 0% { height: 25%; } 100% { height: 100%; } }

/* ---------- Darbar overlay (full communion player) ---------- */
#mk-darbar-overlay {
    position: fixed; inset: 0; z-index: 1005; display: flex; flex-direction: column;
    background: radial-gradient(ellipse at 50% 110%, rgba(22, 26, 51, 0.9), rgba(12, 10, 18, 0.985) 65%);
    backdrop-filter: blur(26px);
    opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease-out);
    color: var(--starlight); padding: 6rem 4rem 3rem;
}
#mk-darbar-overlay.open { opacity: 1; pointer-events: auto; }
.mk-darbar-close {
    position: absolute; top: 2.4rem; right: 4rem; background: none; border: none;
    color: var(--starlight); font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase;
    font-family: var(--font-ui); cursor: pointer; transition: color 0.3s;
}
.mk-darbar-close:hover { color: var(--gold); }
/* While the Darbar overlay is open, hide all other chrome (CLOSE vs hamburger collision, stray orb).
   Z-index sits above GEUIkit's sticky header (980) and offcanvas dialog (1000). */
body.mk-darbar-open .tm-header,
body.mk-darbar-open #mk-communion-orb,
body.mk-darbar-open .mk-progress-indicator { display: none; }
.mk-darbar-head { text-align: center; margin-bottom: 2rem; }
.mk-darbar-head .mk-d-album { font-size: 0.58rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); }
.mk-darbar-head h3 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 300; margin-top: 0.6rem; }
.mk-lyrics-viewport {
    flex: 1; overflow: hidden; position: relative; max-width: 1200px; width: 100%; margin: 0 auto;
    -webkit-mask-image: linear-gradient(transparent, black 18%, black 82%, transparent);
    mask-image: linear-gradient(transparent, black 18%, black 82%, transparent);
}
.mk-lyrics-scroll { transition: transform 0.7s var(--ease-out); will-change: transform; }
.mk-lyric-pair {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 1.5rem 0;
    text-align: center; opacity: 0.28; transition: opacity 0.6s;
}
.mk-lyric-pair.is-active { opacity: 1; }
.mk-lyric-pa { font-family: var(--font-gurmukhi); font-size: clamp(1.25rem, 2.4vw, 1.9rem); line-height: 2; }
.mk-lyric-en { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--gold-bright); line-height: 2; align-self: center; }
.mk-darbar-transport {
    max-width: 760px; width: 100%; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 1.2rem;
}
.mk-d-seek-bar { width: 100%; height: 24px; display: flex; align-items: center; cursor: pointer; }
.mk-d-seek-track { width: 100%; height: 1px; background: rgba(245,241,232,0.2); position: relative; }
.mk-d-seek-fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--gold); width: 0%; }
.mk-d-times { display: flex; justify-content: space-between; font-size: 0.62rem; letter-spacing: 0.2em; color: rgba(245,241,232,0.5); margin-top: 0.4rem; }
.mk-d-controls { display: flex; align-items: center; justify-content: center; gap: 2.6rem; }
.mk-d-controls button { background: none; border: none; color: var(--starlight); cursor: pointer; font-size: 1rem; transition: color 0.3s, transform 0.3s; font-family: var(--font-ui); }
.mk-d-controls button:hover { color: var(--gold); transform: scale(1.1); }
.mk-d-play {
    width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold) !important;
    display: flex; align-items: center; justify-content: center;
}
.mk-d-meaning { text-align: center; max-width: 640px; margin: 1.6rem auto 0; font-size: 0.85rem; line-height: 1.9; color: rgba(245,241,232,0.55); }

/* ---------- Footer ---------- */
.mk-footer {
    padding: 5rem 4rem 3rem; display: flex; justify-content: space-between; align-items: flex-end;
    gap: 2rem; flex-wrap: wrap; border-top: 1px solid var(--mk-line); position: relative; z-index: 10;
}
.mk-footer .mk-footer-brand { display: flex; align-items: center; gap: 1rem; color: var(--mk-fg); }
.mk-footer .mk-footer-brand svg { width: 34px; height: auto; color: var(--gold); }
.mk-footer .mk-footer-note { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mk-fg-soft); }
.mk-footer .mk-footer-mool { font-family: var(--font-gurmukhi); color: var(--gold); font-size: 1rem; opacity: 0.8; }

/* Footer now renders through the YooTheme footer builder: the builder section
   hosting manika_footer must stay flush and dark (parent paints it #121212). */
.tm-page > footer .mk-footer-section { background: var(--darbar); padding: 0 !important; }
.tm-page > footer .mk-footer-section .ht-container { max-width: none; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .tm-header .ht-container-expand { padding-left: 1.8rem; padding-right: 1.8rem; }
    .mk-progress-indicator { left: 1.8rem; bottom: 1.8rem; }
    #mk-communion-orb { right: 1.8rem; bottom: 1.8rem; }
    #tm-dialog .ht-nav, #tm-dialog-mobile .ht-nav { grid-template-columns: 1fr; gap: 2.6rem; }
    #tm-dialog .ht-nav li a, #tm-dialog-mobile .ht-nav li a { font-size: 1.8rem; }
    .mk-connect-grid { grid-template-columns: 1fr; gap: 3rem; }
    .mk-chapter-content { flex-direction: column; align-items: flex-start; }
    .mk-chapter-img { width: 100%; }
    .mk-lyric-pair { grid-template-columns: 1fr; gap: 0.4rem; }
    #mk-darbar-overlay { padding: 5rem 1.6rem 2rem; }
    .mk-footer { padding: 3rem 1.8rem 2rem; }
    .mk-track-row .mk-track-gurmukhi { display: none; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
    .mk-reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
button:focus-visible, a:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* YooTheme builder container spacing harmony.
   Front-end builder sections are direct children of #swup (NOT #js-builder,
   which only exists inside the admin page builder). */
#swup > .ht-section {
    padding: 9rem 4vw !important; min-height: 60vh; display: flex; align-items: center;
    position: relative; overflow: hidden; background: var(--mk-bg);
}
#swup > .ht-section.mk-dark { background: var(--darbar); }
@media (max-width: 960px) { #swup > .ht-section { padding: 6rem 1.6rem !important; } }
#swup .ht-container { max-width: 1400px; width: 100%; margin: 0 auto; }
