/* ============================================================
   VIMALANATHA BHAGWAN — SACRED DIGITAL SANCTUARY
   Design System & Stylesheet
   ============================================================ */

:root {
    /* Core palette */
    --ivory: #f7f2e9;
    --ivory-deep: #efe7d6;
    --parchment: #ebe1cb;
    --sandstone: #d8c4a0;
    --soft-gold: #c9a14a;
    --gold: #b8862a;
    --gold-deep: #8b6418;
    --maroon: #5a1a1f;
    --maroon-deep: #3d1014;
    --sage: #7c8a6e;
    --sage-deep: #4f5d44;
    --charcoal: #2c2620;
    --charcoal-soft: #514a40;
    --line: rgba(184, 134, 42, 0.25);

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-script: 'Cinzel', 'Cormorant Garamond', serif;
    --font-body: 'Inter', 'Manrope', system-ui, sans-serif;

    /* Spacing */
    --container: 1280px;
    --container-narrow: 980px;
    --section-y: 7rem;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--ivory);
    color: var(--charcoal);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.3s ease; }

::selection { background: var(--gold); color: var(--ivory); }

/* ============================================================
   PASSCODE GATE
   ============================================================ */

.gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background:
        radial-gradient(ellipse at top, #f3e8d2 0%, transparent 60%),
        radial-gradient(ellipse at bottom, #e9d6b3 0%, transparent 60%),
        linear-gradient(135deg, #f7f2e9 0%, #e9d6b3 50%, #d8c4a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

.gate.unlocked { opacity: 0; visibility: hidden; pointer-events: none; }

.gate::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(184,134,42,0.05) 0px, rgba(184,134,42,0.05) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(-45deg, rgba(184,134,42,0.05) 0px, rgba(184,134,42,0.05) 1px, transparent 1px, transparent 60px);
    pointer-events: none;
}

.gate-mandala {
    position: absolute;
    width: 720px;
    height: 720px;
    max-width: 90vmin;
    max-height: 90vmin;
    border-radius: 50%;
    border: 1px solid rgba(184,134,42,0.2);
    animation: rotateSlow 80s linear infinite;
    pointer-events: none;
}

.gate-mandala::before,
.gate-mandala::after {
    content: '';
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px dashed rgba(184,134,42,0.18);
}
.gate-mandala::after { inset: 18%; border-style: solid; border-color: rgba(184,134,42,0.12); }

@keyframes rotateSlow { to { transform: rotate(360deg); } }

.gate-card {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    background: rgba(255, 252, 244, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(184,134,42,0.3);
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 30px 80px rgba(58,30,15,0.18), 0 0 0 1px rgba(255,255,255,0.4) inset;
}

.gate-card::before, .gate-card::after {
    content: '';
    position: absolute;
    width: 30px; height: 30px;
    border: 1px solid var(--gold);
}
.gate-card::before { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.gate-card::after { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.gate-glyph {
    width: 64px; height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--gold);
}

.gate-eyebrow {
    font-family: var(--font-script);
    letter-spacing: 0.5em;
    font-size: 0.7rem;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.gate-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 500;
    color: var(--maroon-deep);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.gate-sub {
    color: var(--charcoal-soft);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gate-input-wrap { position: relative; }

.gate-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.75rem;
    font-family: var(--font-script);
}

.gate-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(184,134,42,0.4);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-align: center;
    transition: all 0.3s ease;
    outline: none;
}

.gate-input:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 0 4px rgba(201,161,74,0.15);
}

.gate-button {
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    background: var(--maroon);
    color: var(--ivory);
    border: none;
    font-family: var(--font-script);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gate-button:hover {
    background: var(--maroon-deep);
    letter-spacing: 0.4em;
}

.gate-error {
    color: var(--maroon);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2em;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-style: italic;
}

.gate-error.show {
    opacity: 1;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.gate-foot {
    margin-top: 2rem;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--charcoal-soft);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 242, 233, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: all 0.3s ease;
}

.nav {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.brand-mark {
    width: 38px; height: 38px;
    color: var(--gold);
}

.brand-text {
    line-height: 1.05;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--maroon-deep);
    letter-spacing: 0.04em;
    font-style: italic;
}

.brand-sub {
    font-family: var(--font-script);
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--charcoal-soft);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--maroon);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 22px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 42px; height: 42px;
    color: var(--maroon-deep);
}

.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
    .nav-links { gap: 1.5rem; }
    .nav-links a { font-size: 0.72rem; letter-spacing: 0.18em; }
}

@media (max-width: 920px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-links {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(360px, 85vw);
        background: var(--ivory);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2.5rem 2.5rem;
        gap: 1.6rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(.7,.0,.2,1);
        box-shadow: -20px 0 60px rgba(0,0,0,0.1);
        border-left: 1px solid var(--line);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 0.95rem; letter-spacing: 0.2em; }
}

/* ============================================================
   GLOBAL TYPOGRAPHY & UTILITIES
   ============================================================ */

h1,h2,h3,h4 {
    font-family: var(--font-display);
    color: var(--maroon-deep);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

p { color: var(--charcoal-soft); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 0.72rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 36px;
}

.eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.eyebrow.center { padding-left: 0; }

.eyebrow.center::before {
    left: 50%;
    transform: translate(calc(-50% - 50px), -50%);
}

.eyebrow.center::after {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--gold);
    transform: translate(calc(50% + 50px), -50%);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-style: italic;
    margin-bottom: 1rem;
}

.section-title em {
    font-style: normal;
    color: var(--gold-deep);
    font-family: var(--font-script);
    font-size: 0.7em;
    letter-spacing: 0.1em;
    display: block;
    margin-top: 0.35rem;
}

.lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--charcoal);
    line-height: 1.5;
    max-width: 720px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-script);
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.7,0,.2,1);
    border: 1px solid transparent;
    position: relative;
}

.btn-primary {
    background: var(--maroon);
    color: var(--ivory);
}
.btn-primary:hover { background: var(--maroon-deep); transform: translateY(-2px); }

.btn-ghost {
    background: transparent;
    color: var(--maroon-deep);
    border-color: var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: var(--ivory); }

.btn-arrow {
    width: 14px; height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    transition: transform 0.4s ease;
}

.btn:hover .btn-arrow { transform: translateX(4px); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 2rem;
}

section { padding: var(--section-y) 0; }

.divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto;
    color: var(--gold);
}

.divider-ornament::before, .divider-ornament::after {
    content: '';
    width: 60px; height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.divider-ornament svg { width: 22px; height: 22px; }

/* ============================================================
   PAGE BANNER (sub-pages)
   ============================================================ */

.banner {
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--ivory) 0%, var(--parchment) 60%, var(--sandstone) 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(184,134,42,0.08), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(90,26,31,0.06), transparent 40%);
    pointer-events: none;
}

.banner-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    text-align: center;
}

.banner h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--maroon-deep);
}

.banner p {
    max-width: 680px;
    margin: 0 auto;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--charcoal);
}

.crumb {
    margin-top: 2rem;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--charcoal-soft);
}
.crumb a { color: var(--gold-deep); }
.crumb span { color: var(--gold); margin: 0 0.6rem; }

/* ============================================================
   HOME — HERO
   ============================================================ */

.hero {
    position: relative;
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    background: var(--ivory);
    overflow: hidden;
}

.hero-content {
    padding: 6rem 5rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background:
        radial-gradient(circle at 0% 100%, rgba(184,134,42,0.08), transparent 50%),
        var(--ivory);
}

.hero-content::after {
    content: '';
    position: absolute;
    top: 5%; bottom: 5%; right: 0;
    width: 1px;
    background: var(--line);
}

.hero-eyebrow {
    font-family: var(--font-script);
    font-size: 0.78rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.6rem);
    font-style: italic;
    line-height: 0.98;
    margin-bottom: 1.5rem;
    color: var(--maroon-deep);
}

.hero-title .accent {
    display: block;
    font-style: normal;
    font-family: var(--font-script);
    font-size: 0.32em;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-top: 1.5rem;
    text-transform: uppercase;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--charcoal-soft);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-meta {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.hero-meta-item .label {
    font-family: var(--font-script);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.5rem;
}

.hero-meta-item .value {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--maroon-deep);
    font-style: italic;
}

.hero-image {
    position: relative;
    overflow: hidden;
    background: var(--sandstone);
}

.hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(1.05);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(58,30,15,0) 50%, rgba(58,30,15,0.45) 100%);
    z-index: 1;
}

.hero-frame {
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(247,242,233,0.4);
    pointer-events: none;
    z-index: 2;
}

.hero-frame::before, .hero-frame::after {
    content: '';
    position: absolute;
    width: 24px; height: 24px;
    border: 1px solid var(--gold);
}
.hero-frame::before { top: -6px; left: -6px; border-right: none; border-bottom: none; }
.hero-frame::after { bottom: -6px; right: -6px; border-left: none; border-top: none; }

.hero-caption {
    position: absolute;
    bottom: 48px; left: 48px; right: 48px;
    z-index: 3;
    color: var(--ivory);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    letter-spacing: 0.04em;
    border-left: 2px solid var(--gold);
    padding-left: 1rem;
}

@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-content { padding: 4rem 2rem 3rem; }
    .hero-content::after { display: none; }
    .hero-image { min-height: 60vh; }
    .hero-caption { bottom: 24px; left: 24px; right: 24px; }
    .hero-frame { inset: 12px; }
}

/* ============================================================
   PILLARS / VALUES
   ============================================================ */

.pillars {
    background: var(--ivory);
    position: relative;
}

.pillars-head {
    text-align: center;
    margin-bottom: 5rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.pillar {
    padding: 3rem 2rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
    transition: background 0.4s ease;
    position: relative;
}

.pillar:hover {
    background: var(--ivory-deep);
}

.pillar-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1.5rem;
    color: var(--gold);
    transition: transform 0.5s cubic-bezier(.7,0,.2,1);
}

.pillar:hover .pillar-icon { transform: scale(1.1) rotate(-4deg); }

.pillar h4 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    font-style: italic;
}

.pillar p { font-size: 0.92rem; line-height: 1.6; }

.pillar-no {
    position: absolute;
    top: 1.2rem; left: 1.2rem;
    font-family: var(--font-script);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--gold);
}

@media (max-width: 900px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .pillars-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SPLIT — image + text
   ============================================================ */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split.reverse > .split-image { order: 2; }

.split-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--sandstone);
}

.split-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.split-image::after {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,0.4);
    pointer-events: none;
}

.split-image .ornament {
    position: absolute;
    width: 50px; height: 50px;
    color: var(--gold);
    z-index: 2;
}
.split-image .ornament.tl { top: 12px; left: 12px; }
.split-image .ornament.br { bottom: 12px; right: 12px; transform: rotate(180deg); }

.split-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-style: italic; margin-bottom: 1.5rem; }

.split-content p { margin-bottom: 1.2rem; line-height: 1.8; font-size: 1.02rem; }

.split-content .signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold-deep);
}

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 3rem; }
    .split.reverse > .split-image { order: 0; }
}

/* ============================================================
   HIGHLIGHT STRIP (key facts)
   ============================================================ */

.facts {
    background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 100%);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.facts::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 80px);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 1;
}

.fact {
    padding: 2rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.12);
}
.fact:last-child { border-right: none; }

.fact .num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-style: italic;
    color: var(--soft-gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.fact .label {
    font-family: var(--font-script);
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(247,242,233,0.85);
}

@media (max-width: 720px) {
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .fact:nth-child(2) { border-right: none; }
    .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
}

/* ============================================================
   FEATURED TEACHINGS PREVIEW
   ============================================================ */

.teach-preview {
    background: var(--parchment);
    position: relative;
}

.teach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.teach-card {
    background: var(--ivory);
    padding: 2.5rem 2rem;
    border: 1px solid var(--line);
    transition: all 0.5s cubic-bezier(.7,0,.2,1);
    position: relative;
    overflow: hidden;
}

.teach-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.5s ease;
}

.teach-card:hover {
    background: #fffaf0;
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(58,30,15,0.1);
}

.teach-card:hover::before { width: 100%; }

.teach-card .num {
    font-family: var(--font-script);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.teach-card h4 {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.teach-card p { font-size: 0.95rem; }

.teach-card .read {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-script);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--maroon-deep);
    text-transform: uppercase;
}

.teach-card .read svg { width: 12px; height: 12px; transition: transform 0.3s ease; }
.teach-card:hover .read svg { transform: translateX(4px); }

@media (max-width: 900px) {
    .teach-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA STRIP
   ============================================================ */

.cta-strip {
    background: var(--ivory);
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta-strip h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-style: italic;
    margin-bottom: 1rem;
}
.cta-strip p { max-width: 580px; margin: 0 auto 2rem; }

/* ============================================================
   ABOUT PAGE — TIMELINE / BIO
   ============================================================ */

.bio-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
    align-items: start;
}

.bio-image {
    position: sticky;
    top: 110px;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--sandstone);
    border: 1px solid var(--line);
}
.bio-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.bio-image .frame { position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,0.4); pointer-events: none; }

.bio-content h2 { font-size: clamp(2rem, 4vw, 3rem); font-style: italic; margin-bottom: 1.5rem; }
.bio-content .lead { margin-bottom: 2rem; }
.bio-content p { margin-bottom: 1.2rem; line-height: 1.8; }

.detail-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.detail {
    padding: 1.5rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.detail .label {
    font-family: var(--font-script);
    font-size: 0.65rem;
    letter-spacing: 0.32em;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.detail .value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--maroon-deep);
    font-style: italic;
}

@media (max-width: 900px) {
    .bio-grid { grid-template-columns: 1fr; gap: 3rem; }
    .bio-image { position: static; max-width: 420px; }
}

/* ============================================================
   JOURNEY — TIMELINE
   ============================================================ */

.timeline {
    position: relative;
    max-width: 1080px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--gold) 8%, var(--gold) 92%, transparent 100%);
    transform: translateX(-50%);
}

.tl-item {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
    margin-bottom: 1.5rem;
}

.tl-item:nth-child(odd) { margin-left: 0; padding-right: 4rem; text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; padding-left: 4rem; }

.tl-item::before {
    content: '';
    position: absolute;
    top: 2.4rem;
    width: 13px; height: 13px;
    border-radius: 50%;
    background: var(--ivory);
    border: 2px solid var(--gold);
    z-index: 2;
}
.tl-item:nth-child(odd)::before { right: -7px; }
.tl-item:nth-child(even)::before { left: -7px; }

.tl-item::after {
    content: '';
    position: absolute;
    top: 2.55rem;
    width: 35px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}
.tl-item:nth-child(odd)::after { right: 6px; }
.tl-item:nth-child(even)::after { left: 6px; }

.tl-card {
    background: var(--ivory);
    padding: 2rem;
    border: 1px solid var(--line);
    transition: all 0.4s ease;
}
.tl-card:hover { background: #fffaf0; box-shadow: 0 12px 30px rgba(58,30,15,0.08); }

.tl-step {
    font-family: var(--font-script);
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tl-card h4 {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 0.6rem;
}

.tl-card p { font-size: 0.95rem; line-height: 1.65; }

@media (max-width: 800px) {
    .timeline::before { left: 16px; }
    .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) {
        width: 100%; margin-left: 0;
        padding: 1rem 0 1rem 2.5rem;
        text-align: left;
    }
    .tl-item::before, .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 10px; right: auto; }
    .tl-item::after, .tl-item:nth-child(odd)::after, .tl-item:nth-child(even)::after { left: 22px; right: auto; }
}

/* ============================================================
   TEACHINGS PAGE
   ============================================================ */

.teach-hero-quote {
    background: var(--parchment);
    text-align: center;
    padding: 6rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.quote-mark {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold);
    font-size: 5rem;
    line-height: 0.5;
    height: 30px;
}

.big-quote {
    max-width: 820px;
    margin: 1.5rem auto;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--maroon-deep);
    line-height: 1.5;
}

.quote-attr {
    font-family: var(--font-script);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.principle {
    padding: 3rem 2.5rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.4s ease;
    position: relative;
}
.principle:hover { background: var(--ivory-deep); }

.principle .roman {
    font-family: var(--font-script);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.principle-icon {
    width: 52px; height: 52px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.principle h3 {
    font-size: 1.6rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.principle .sanskrit {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold-deep);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.principle p { font-size: 0.95rem; line-height: 1.7; }

@media (max-width: 900px) {
    .principles-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HERITAGE PAGE
   ============================================================ */

.heritage-hero {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    background: var(--sandstone);
}

.heritage-hero img {
    width: 100%; height: 100%;
    position: absolute; inset: 0;
    object-fit: cover;
    object-position: center;
}

.heritage-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(58,30,15,0.55) 0%, rgba(58,30,15,0.25) 100%);
    z-index: 1;
}

.heritage-hero-text {
    position: relative; z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 8rem 2rem 5rem;
    color: var(--ivory);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heritage-hero-text .eyebrow { color: var(--soft-gold); }
.heritage-hero-text .eyebrow::before { background: var(--soft-gold); }
.heritage-hero-text h1 {
    color: var(--ivory);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-style: italic;
    max-width: 720px;
}
.heritage-hero-text p {
    color: rgba(247,242,233,0.85);
    max-width: 580px;
    font-style: italic;
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.heritage-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.h-card {
    background: var(--ivory);
    border: 1px solid var(--line);
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    transition: all 0.4s ease;
}
.h-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(58,30,15,0.1); }

.h-card-img {
    aspect-ratio: 4/5;
    background: var(--sandstone);
    overflow: hidden;
}
.h-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.h-card-body { padding: 2rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.h-card-body .roman {
    font-family: var(--font-script);
    font-size: 0.65rem; letter-spacing: 0.4em; color: var(--gold);
    margin-bottom: 0.8rem;
}
.h-card-body h3 { font-size: 1.4rem; font-style: italic; margin-bottom: 0.8rem; }
.h-card-body p { font-size: 0.92rem; line-height: 1.65; }

@media (max-width: 800px) {
    .heritage-cards { grid-template-columns: 1fr; }
    .h-card { grid-template-columns: 1fr; }
    .h-card-img { aspect-ratio: 16/10; }
}

/* Symbolism block */
.symbol-block {
    background: var(--parchment);
    text-align: center;
    padding: 6rem 2rem;
}
.symbol-block .glyph-row {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 4rem;
    margin-top: 4rem;
}
.glyph {
    text-align: center;
    max-width: 180px;
}
.glyph svg { width: 64px; height: 64px; color: var(--gold); margin-bottom: 1rem; }
.glyph .label {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--maroon-deep);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.glyph .desc { font-size: 0.85rem; color: var(--charcoal-soft); line-height: 1.5; }

/* ============================================================
   GALLERY
   ============================================================ */

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--line);
    padding: 0.7rem 1.5rem;
    font-family: var(--font-script);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--charcoal-soft);
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--maroon);
    color: var(--ivory);
    border-color: var(--maroon);
}

.masonry {
    column-count: 3;
    column-gap: 1.25rem;
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    background: var(--sandstone);
}
.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s cubic-bezier(.7,0,.2,1);
}
.masonry-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(58,30,15,0.55) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item:hover::after { opacity: 1; }
.masonry-item .cap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.2rem;
    color: var(--ivory);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}
.masonry-item:hover .cap { transform: translateY(0); opacity: 1; }

@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 540px) { .masonry { column-count: 1; } }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 6, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 90%;
    max-height: 88vh;
    object-fit: contain;
    border: 1px solid rgba(184,134,42,0.3);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.lightbox-close {
    position: absolute;
    top: 24px; right: 28px;
    background: transparent;
    border: 1px solid rgba(247,242,233,0.4);
    color: var(--ivory);
    width: 44px; height: 44px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.lightbox-close:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-cap {
    position: absolute;
    bottom: 24px; left: 0; right: 0;
    text-align: center;
    color: var(--soft-gold);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* ============================================================
   ARTICLES
   ============================================================ */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.article-card {
    background: var(--ivory);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(58,30,15,0.1);
}

.article-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--sandstone);
}
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; object-position: center top; }
.article-card:hover .article-img img { transform: scale(1.05); }

.article-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.article-meta {
    font-family: var(--font-script);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 1rem;
}
.article-meta .dot { color: var(--gold); margin: 0 0.5rem; }
.article-card h3 {
    font-size: 1.35rem;
    font-style: italic;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}
.article-card p { font-size: 0.92rem; flex: 1; }
.article-card .read-more {
    margin-top: 1.2rem;
    font-family: var(--font-script);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--maroon);
    text-transform: uppercase;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 900px) {
    .articles-grid { grid-template-columns: 1fr; }
}

/* Featured article */
.featured-article {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--parchment);
    margin-bottom: 4rem;
    border: 1px solid var(--line);
    overflow: hidden;
}
.featured-article-img {
    aspect-ratio: auto;
    background: var(--sandstone);
    overflow: hidden;
}
.featured-article-img img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; object-position: center top; }
.featured-article-body { padding: 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.featured-article-body h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-style: italic;
    margin: 1rem 0;
}
@media (max-width: 900px) {
    .featured-article { grid-template-columns: 1fr; }
    .featured-article-body { padding: 2rem; }
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-style: italic; margin-bottom: 1.5rem; }

.contact-info .lead { margin-bottom: 2.5rem; }

.contact-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}
.contact-block:last-child { border-bottom: none; }
.contact-block .label {
    font-family: var(--font-script);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.contact-block .value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--maroon-deep);
    font-style: italic;
}
.contact-block a { color: var(--maroon-deep); transition: color 0.3s ease; }
.contact-block a:hover { color: var(--gold); }

.contact-form {
    background: var(--parchment);
    padding: 3rem;
    border: 1px solid var(--line);
}

.field { margin-bottom: 1.5rem; position: relative; }
.field label {
    display: block;
    font-family: var(--font-script);
    font-size: 0.65rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.6rem;
}
.field input, .field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    outline: none;
    transition: all 0.3s ease;
}
.field input:focus, .field textarea:focus {
    border-color: var(--gold);
    background: var(--ivory);
}
.field textarea { resize: vertical; min-height: 130px; font-family: var(--font-body); }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
@media (max-width: 540px) {
    .field-row { grid-template-columns: 1fr; }
    .contact-form { padding: 2rem 1.5rem; }
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.map-band {
    background: var(--ivory-deep);
    padding: 5rem 0 0;
}
.map-frame {
    position: relative;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--sandstone);
    height: 380px;
    overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: sepia(0.18) saturate(1.1) contrast(0.97); }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: var(--maroon-deep);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px);
}

.footer-top {
    max-width: var(--container);
    margin: 0 auto;
    padding: 5rem 2rem 3rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
    position: relative;
}

.footer-brand .brand-name { color: var(--ivory); }
.footer-brand .brand-sub { color: var(--soft-gold); }
.footer-brand .brand-mark { color: var(--soft-gold); }

.footer-brand p {
    color: rgba(247,242,233,0.7);
    margin-top: 1.5rem;
    font-style: italic;
    font-family: var(--font-display);
    max-width: 360px;
    line-height: 1.6;
}

.footer-col h5 {
    font-family: var(--font-script);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--soft-gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a {
    color: rgba(247,242,233,0.75);
    font-size: 0.92rem;
    transition: all 0.3s ease;
}
.footer-col ul a:hover { color: var(--soft-gold); padding-left: 4px; }

.footer-col .contact-line {
    color: rgba(247,242,233,0.85);
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
    font-style: italic;
    font-family: var(--font-display);
}
.footer-col .contact-line a { color: var(--soft-gold); }
.footer-col .contact-line a:hover { color: var(--ivory); }

.footer-socials {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.footer-socials a {
    width: 38px; height: 38px;
    border: 1px solid rgba(247,242,233,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(247,242,233,0.85);
    transition: all 0.3s ease;
}
.footer-socials a:hover {
    background: var(--soft-gold);
    border-color: var(--soft-gold);
    color: var(--maroon-deep);
    transform: translateY(-2px);
}
.footer-socials svg { width: 16px; height: 16px; }

.footer-bottom {
    border-top: 1px solid rgba(247,242,233,0.15);
    padding: 1.5rem 2rem;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: rgba(247,242,233,0.6);
    position: relative;
}

.footer-bottom a { color: var(--soft-gold); }
.footer-bottom a:hover { color: var(--ivory); }

@media (max-width: 900px) {
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(.7,0,.2,1), transform 0.9s cubic-bezier(.7,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* ============================================================
   MISC
   ============================================================ */

@media (max-width: 540px) {
    .container, .container-narrow { padding: 0 1.5rem; }
    section { padding: 4.5rem 0; }
    .hero-content { padding: 3rem 1.5rem 2.5rem; }
    .hero-meta { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .hero-meta-item:last-child { grid-column: 1 / -1; }
}
