/* =========================================================
   Bangladesh Shaktipeeth — Sacred Heritage Design System
   ========================================================= */

:root{
  --maroon:#5a0a16;
  --maroon-deep:#3d0710;
  --maroon-soft:#7a1a26;
  --gold:#c9a24a;
  --gold-light:#e6c885;
  --gold-deep:#a8842d;
  --ivory:#f8f3e8;
  --ivory-warm:#f3ecdc;
  --sandstone:#d9c5a3;
  --sandstone-light:#ece1c9;
  --midnight:#0d1a2e;
  --midnight-soft:#1a2842;
  --saffron:#e6863a;
  --saffron-deep:#c46a22;
  --ink:#1a1612;
  --ink-soft:#3a3128;
  --muted:#7a6e5e;
  --line:rgba(90,10,22,.16);
  --line-gold:rgba(201,162,74,.32);
  --shadow-soft:0 18px 60px -28px rgba(13,26,46,.45);
  --shadow-deep:0 30px 80px -30px rgba(13,26,46,.65);
  --serif:"Cormorant Garamond", "Cormorant", Georgia, serif;
  --display:"Cinzel", "Cormorant Garamond", serif;
  --decor:"Eczar", "Cormorant Garamond", serif;
  --body:"Spectral", "Cormorant Garamond", Georgia, serif;
  --ui:"Inter", system-ui, -apple-system, sans-serif;
  --max:1320px;
  --pad:clamp(20px, 4vw, 56px);
  --ease:cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--body);
  font-size:17px;
  line-height:1.7;
  color:var(--ink);
  background:var(--ivory);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}

h1,h2,h3,h4,h5{font-family:var(--display);font-weight:500;letter-spacing:.02em;line-height:1.15;color:var(--maroon-deep);margin:0 0 .5em}
h1{font-size:clamp(2.4rem,5.6vw,4.6rem);letter-spacing:.04em}
h2{font-size:clamp(1.9rem,3.4vw,2.9rem)}
h3{font-size:clamp(1.35rem,2vw,1.7rem)}
h4{font-size:1.18rem;letter-spacing:.06em;text-transform:uppercase;font-family:var(--ui);font-weight:600}
p{margin:0 0 1em}

.eyebrow{
  font-family:var(--ui);
  font-size:.78rem;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:var(--gold-deep);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:.7rem;
}
.eyebrow::before,.eyebrow::after{content:"";width:36px;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.eyebrow.left::before{display:none}
.eyebrow.left{justify-content:flex-start}
.eyebrow.left::after{background:linear-gradient(90deg,var(--gold),transparent)}

.sanskrit{font-family:var(--decor);color:var(--maroon);font-style:italic}

.container{max-width:var(--max);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.section{padding:clamp(70px,10vw,140px) 0;position:relative}
.section.tight{padding:clamp(50px,7vw,100px) 0}
.section.dark{background:var(--midnight);color:var(--ivory)}
.section.dark h1,.section.dark h2,.section.dark h3{color:var(--ivory)}
.section.maroon{background:linear-gradient(160deg,var(--maroon-deep) 0%,var(--maroon) 100%);color:var(--ivory)}
.section.maroon h1,.section.maroon h2,.section.maroon h3{color:var(--ivory)}
.section.sandstone{background:var(--ivory-warm)}

.divider-ornament{
  display:flex;align-items:center;justify-content:center;gap:.9rem;margin:1.5rem auto 2rem;color:var(--gold);
}
.divider-ornament::before,.divider-ornament::after{content:"";flex:1;max-width:90px;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.divider-ornament::after{background:linear-gradient(90deg,var(--gold),transparent)}
.divider-ornament .glyph{font-size:1.3rem;letter-spacing:.4em}

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.7rem;
  font-family:var(--ui);font-weight:600;font-size:.82rem;letter-spacing:.22em;text-transform:uppercase;
  padding:1.05rem 2rem;border-radius:2px;
  transition:all .4s var(--ease);
  position:relative;overflow:hidden;cursor:pointer;border:1px solid transparent;
}
.btn-primary{background:var(--maroon);color:var(--ivory);border-color:var(--maroon)}
.btn-primary:hover{background:var(--maroon-deep);transform:translateY(-2px);box-shadow:0 18px 40px -18px rgba(90,10,22,.6)}
.btn-gold{background:linear-gradient(135deg,var(--gold) 0%,var(--gold-deep) 100%);color:var(--maroon-deep);border:none}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 18px 40px -18px rgba(201,162,74,.7)}
.btn-ghost{background:transparent;color:var(--maroon);border-color:var(--maroon)}
.btn-ghost:hover{background:var(--maroon);color:var(--ivory)}
.btn-ghost-light{background:transparent;color:var(--ivory);border-color:rgba(248,243,232,.45)}
.btn-ghost-light:hover{background:var(--ivory);color:var(--maroon)}
.btn .arrow{display:inline-block;transition:transform .4s var(--ease)}
.btn:hover .arrow{transform:translateX(6px)}

/* ===== HEADER ===== */
.site-header{
  position:sticky;top:0;z-index:90;
  background:rgba(248,243,232,.92);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-gold);
  transition:background .3s,box-shadow .3s;
}
.site-header.scrolled{background:rgba(248,243,232,.98);box-shadow:0 6px 30px -18px rgba(13,26,46,.25)}
.nav-bar{
  display:flex;align-items:center;justify-content:space-between;gap:1.2rem;flex-wrap:nowrap;
  padding:12px var(--pad);max-width:var(--max);margin:0 auto;
}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--maroon-deep);flex-shrink:0;white-space:nowrap}
.brand .crest{
  width:40px;height:40px;border-radius:50%;
  background:radial-gradient(circle at 30% 30%,var(--gold-light),var(--gold) 60%,var(--gold-deep));
  display:grid;place-items:center;color:var(--maroon-deep);
  font-family:var(--decor);font-size:1.25rem;font-weight:700;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.4),0 6px 16px -8px rgba(201,162,74,.6);
  flex-shrink:0;
}
.brand-text{display:flex;flex-direction:column;line-height:1;white-space:nowrap}
.brand-name{font-family:var(--display);font-size:.95rem;letter-spacing:.16em;font-weight:600;color:var(--maroon-deep);text-transform:uppercase}
.brand-sub{font-family:var(--ui);font-size:.58rem;letter-spacing:.3em;color:var(--gold-deep);font-weight:600;text-transform:uppercase;margin-top:4px}

.nav-list{display:flex;gap:1.15rem;list-style:none;margin:0;padding:0;align-items:center;flex-wrap:nowrap}
.nav-list a{
  font-family:var(--ui);font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-soft);font-weight:500;white-space:nowrap;
  position:relative;padding:6px 0;transition:color .3s;
}
.nav-list a::after{
  content:"";position:absolute;left:50%;bottom:-2px;width:0;height:1px;background:var(--gold);
  transition:all .35s var(--ease);transform:translateX(-50%);
}
.nav-list a:hover,.nav-list a.active{color:var(--maroon)}
.nav-list a:hover::after,.nav-list a.active::after{width:100%}

.nav-cta{display:flex;align-items:center;gap:.8rem;flex-shrink:0}
.nav-cta .btn{padding:.7rem 1.2rem;font-size:.68rem;letter-spacing:.18em;white-space:nowrap}

.menu-toggle{display:none;background:transparent;border:0;width:42px;height:42px;color:var(--maroon)}
.menu-toggle span{display:block;width:22px;height:1.5px;background:currentColor;margin:5px auto;transition:.3s}
.menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

@media (max-width:1080px){
  .nav-list{
    position:fixed;top:65px;right:0;left:0;flex-direction:column;align-items:flex-start;gap:0;
    background:var(--ivory);padding:1rem var(--pad) 2rem;
    border-bottom:1px solid var(--line-gold);
    transform:translateY(-120%);transition:transform .4s var(--ease);
    max-height:calc(100vh - 65px);overflow-y:auto;
  }
  .nav-list.open{transform:translateY(0)}
  .nav-list li{width:100%;border-bottom:1px solid var(--line-gold)}
  .nav-list a{display:block;padding:1rem 0;width:100%}
  .menu-toggle{display:block}
  .nav-cta .btn{display:none}
}

/* ===== HERO ===== */
.hero{
  position:relative;min-height:92vh;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  isolation:isolate;
}
.hero-bg{
  position:absolute;inset:0;z-index:-2;
}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-veil{
  position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(ellipse at 30% 100%,rgba(90,10,22,.55),transparent 60%),
    linear-gradient(180deg,rgba(13,26,46,.35) 0%,rgba(13,26,46,.55) 60%,rgba(13,26,46,.85) 100%);
}
.hero-content{
  position:relative;z-index:1;text-align:center;color:var(--ivory);
  padding:8rem var(--pad) 6rem;max-width:1100px;
}
.hero-content .eyebrow{color:var(--gold-light)}
.hero-content .eyebrow::before,.hero-content .eyebrow::after{background:linear-gradient(90deg,transparent,var(--gold-light))}
.hero h1{color:var(--ivory);font-family:var(--display);font-weight:400}
.hero h1 em{color:var(--gold-light);font-family:var(--serif);font-style:italic;font-weight:500}
.hero-sub{
  max-width:680px;margin:1.6rem auto 2.4rem;font-size:clamp(1rem,1.4vw,1.18rem);
  font-family:var(--serif);font-style:italic;color:rgba(248,243,232,.92);font-weight:400;line-height:1.7;
}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}
.hero-meta{
  position:absolute;left:0;right:0;bottom:32px;display:flex;justify-content:space-between;
  padding:0 var(--pad);font-family:var(--ui);font-size:.7rem;letter-spacing:.32em;text-transform:uppercase;
  color:rgba(248,243,232,.6);z-index:1;
}
.hero-meta .dot{color:var(--gold)}
@media (max-width:720px){.hero-meta{display:none}}

/* Sub hero (smaller heros for inner pages) */
.subhero{
  position:relative;min-height:62vh;display:flex;align-items:flex-end;
  overflow:hidden;isolation:isolate;color:var(--ivory);
}
.subhero .hero-bg{position:absolute;inset:0;z-index:-2}
.subhero .hero-bg img{width:100%;height:100%;object-fit:cover}
.subhero .hero-veil{
  position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(13,26,46,.25) 0%,rgba(13,26,46,.55) 50%,rgba(61,7,16,.85) 100%);
}
.subhero-inner{padding:5rem var(--pad) 3.5rem;max-width:var(--max);margin:0 auto;width:100%}
.subhero h1{color:var(--ivory);max-width:900px;font-family:var(--display);font-weight:400;font-size:clamp(2rem,4.4vw,3.6rem)}
.subhero p{max-width:680px;color:rgba(248,243,232,.86);font-style:italic;font-family:var(--serif);font-size:1.1rem}
.crumb{font-family:var(--ui);font-size:.72rem;letter-spacing:.3em;text-transform:uppercase;color:var(--gold-light);margin-bottom:1.5rem;display:inline-flex;gap:.6rem}
.crumb a{color:rgba(248,243,232,.7)}
.crumb a:hover{color:var(--gold-light)}

/* ===== HIGHLIGHT GRID (numbers) ===== */
.stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:0;
  border-top:1px solid var(--line-gold);border-bottom:1px solid var(--line-gold);
}
.stat{
  padding:2.5rem 1.6rem;text-align:center;border-right:1px solid var(--line-gold);
}
.stat:last-child{border-right:0}
.stat-num{font-family:var(--display);font-size:clamp(2.4rem,4vw,3.4rem);color:var(--maroon);font-weight:500;line-height:1}
.stat-num em{color:var(--gold);font-family:var(--serif);font-style:italic}
.stat-label{font-family:var(--ui);font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;color:var(--muted);margin-top:.7rem;font-weight:500}
@media (max-width:780px){.stats{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.stat:nth-child(1),.stat:nth-child(2){border-bottom:1px solid var(--line-gold)}}

/* ===== SPLIT (image + text) ===== */
.split{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.4rem,5vw,5rem);align-items:center;
}
.split.reverse .split-media{order:2}
.split-media{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--sandstone)}
.split-media img{width:100%;height:100%;object-fit:cover;transition:transform 1.4s var(--ease)}
.split:hover .split-media img{transform:scale(1.04)}
.split-media::after{
  content:"";position:absolute;inset:14px;border:1px solid rgba(248,243,232,.35);pointer-events:none;
}
.split-text h2{margin-bottom:1.3rem}
.split-text p{color:var(--ink-soft);font-size:1.05rem;line-height:1.85}
.split-text .lead{font-family:var(--serif);font-size:1.25rem;font-style:italic;color:var(--maroon);margin-bottom:1.5rem;line-height:1.5}
@media (max-width:880px){
  .split{grid-template-columns:1fr}
  .split.reverse .split-media{order:0}
  .split-media{aspect-ratio:4/3}
}

/* ===== PILLAR CARDS ===== */
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:3rem}
.pillar{
  background:var(--ivory);padding:2rem 1.6rem;border:1px solid var(--line-gold);
  text-align:center;position:relative;transition:all .5s var(--ease);
}
.pillar:hover{transform:translateY(-6px);box-shadow:var(--shadow-soft);border-color:var(--gold)}
.pillar-icon{
  width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 1.2rem;
  background:radial-gradient(circle,var(--gold-light),var(--gold) 80%);
  color:var(--maroon-deep);font-family:var(--decor);font-size:1.6rem;font-weight:700;
  box-shadow:0 8px 20px -10px rgba(201,162,74,.55);
}
.pillar h3{font-size:1.1rem;font-family:var(--display);letter-spacing:.04em;color:var(--maroon-deep);margin-bottom:.6rem}
.pillar p{font-size:.92rem;color:var(--muted);line-height:1.65;margin:0}
@media (max-width:980px){.pillars{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.pillars{grid-template-columns:1fr}}

/* ===== TEMPLE CARDS ===== */
.temple-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;margin-top:3rem}
.temple-card{
  position:relative;overflow:hidden;background:var(--midnight);color:var(--ivory);
  aspect-ratio:4/5;cursor:pointer;
}
.temple-card img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform 1.6s var(--ease),filter .8s ease;
  filter:saturate(.95) brightness(.85);
}
.temple-card::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(13,26,46,.05) 0%,rgba(13,26,46,.35) 50%,rgba(61,7,16,.92) 100%);
  pointer-events:none;
}
.temple-card-body{
  position:absolute;inset:auto 0 0 0;padding:2rem 1.8rem;z-index:2;
  transform:translateY(24px);transition:transform .55s var(--ease);
}
.temple-card .tag{
  font-family:var(--ui);font-size:.66rem;letter-spacing:.32em;text-transform:uppercase;color:var(--gold-light);font-weight:600;
}
.temple-card h3{color:var(--ivory);font-size:1.45rem;margin:.5rem 0 .4rem;font-family:var(--display);font-weight:500}
.temple-card .meta{font-family:var(--serif);font-style:italic;color:rgba(248,243,232,.78);font-size:.95rem;margin-bottom:.8rem}
.temple-card p{font-size:.88rem;color:rgba(248,243,232,.85);line-height:1.65;margin:0;
  max-height:0;overflow:hidden;opacity:0;transition:all .55s var(--ease);}
.temple-card:hover img{transform:scale(1.06);filter:saturate(1.05) brightness(.7)}
.temple-card:hover .temple-card-body{transform:translateY(0)}
.temple-card:hover p{max-height:200px;opacity:1;margin-top:.5rem}
.temple-card .ornament{
  position:absolute;top:1.4rem;right:1.4rem;color:var(--gold-light);
  font-family:var(--decor);font-size:1.4rem;opacity:.85;z-index:2;
}
@media (max-width:980px){.temple-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.temple-grid{grid-template-columns:1fr}.temple-card{aspect-ratio:4/3.4}}

/* ===== QUOTE BAND ===== */
.quote-band{
  text-align:center;padding:clamp(80px,12vw,140px) var(--pad);
  background:
    linear-gradient(180deg,rgba(248,243,232,.94),rgba(248,243,232,.94)),
    url("../images/Shakti-Peeths.jpg") center/cover fixed;
  position:relative;
}
.quote-band blockquote{
  font-family:var(--serif);font-style:italic;
  font-size:clamp(1.4rem,2.6vw,2.1rem);line-height:1.55;color:var(--maroon-deep);
  max-width:920px;margin:0 auto;font-weight:400;
}
.quote-band cite{
  display:block;margin-top:1.6rem;font-family:var(--ui);font-style:normal;
  font-size:.78rem;letter-spacing:.32em;text-transform:uppercase;color:var(--gold-deep);font-weight:600;
}
.quote-band .lotus{font-family:var(--decor);color:var(--gold);font-size:1.8rem;margin-bottom:1.2rem;letter-spacing:.5em}

/* ===== CAROUSEL ===== */
.carousel-wrap{position:relative;margin-top:3rem}
.carousel{
  display:flex;gap:1.4rem;overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:1.5rem;scroll-padding:0 var(--pad);
  scrollbar-width:thin;scrollbar-color:var(--gold) transparent;
}
.carousel::-webkit-scrollbar{height:4px}
.carousel::-webkit-scrollbar-thumb{background:var(--gold)}
.carousel-card{
  flex:0 0 clamp(280px,32vw,420px);scroll-snap-align:start;
  background:var(--ivory);overflow:hidden;border:1px solid var(--line-gold);
}
.carousel-card .img{aspect-ratio:4/3;overflow:hidden;background:var(--sandstone)}
.carousel-card .img img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.carousel-card:hover .img img{transform:scale(1.06)}
.carousel-card .body{padding:1.5rem 1.6rem 1.8rem}
.carousel-card .tag{font-family:var(--ui);font-size:.66rem;letter-spacing:.32em;text-transform:uppercase;color:var(--gold-deep);font-weight:600}
.carousel-card h3{margin:.6rem 0 .5rem;font-size:1.25rem;color:var(--maroon-deep);font-family:var(--display);font-weight:500}
.carousel-card p{font-size:.92rem;color:var(--muted);line-height:1.65;margin:0}

/* ===== ESSENTIALS LIST ===== */
.essentials{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:3rem;border:1px solid var(--line-gold)}
.essential{padding:2.4rem 2rem;border-right:1px solid var(--line-gold);position:relative}
.essential:nth-child(3n){border-right:0}
.essential:nth-child(n+4){border-top:1px solid var(--line-gold)}
.essential .num{font-family:var(--display);font-size:2.6rem;color:var(--gold);line-height:1;font-weight:400}
.essential h3{font-size:1.1rem;margin:.7rem 0 .6rem;color:var(--maroon-deep);font-family:var(--display)}
.essential p{font-size:.92rem;color:var(--muted);line-height:1.7;margin:0}
@media (max-width:880px){.essentials{grid-template-columns:1fr 1fr}.essential:nth-child(3n){border-right:1px solid var(--line-gold)}.essential:nth-child(2n){border-right:0}.essential:nth-child(n+3){border-top:1px solid var(--line-gold)}}
@media (max-width:560px){.essentials{grid-template-columns:1fr}.essential{border-right:0!important;border-bottom:1px solid var(--line-gold)}.essential:last-child{border-bottom:0}}

/* ===== MAP PAGE ===== */
.map-board{
  position:relative;display:grid;grid-template-columns:1.4fr 1fr;gap:0;margin-top:3rem;
  background:var(--midnight);color:var(--ivory);
  min-height:680px;border:1px solid rgba(201,162,74,.25);
}
.map-canvas{position:relative;background:radial-gradient(ellipse at center,#1c2c47 0%,#0d1a2e 80%);overflow:hidden}
.map-canvas svg{position:absolute;inset:0;width:100%;height:100%}
.map-canvas .label{
  font-family:var(--ui);font-size:9px;letter-spacing:.2em;text-transform:uppercase;fill:rgba(248,243,232,.42);
}
.map-pin{cursor:pointer}
.map-pin .ring{fill:var(--gold);opacity:.18}
.map-pin .core{fill:var(--gold);stroke:var(--ivory);stroke-width:1.4}
.map-pin.active .core,.map-pin:hover .core{fill:var(--saffron);transform-origin:center}
.map-pin .pulse{fill:var(--gold);opacity:0;animation:pulse 2.4s infinite}
@keyframes pulse{0%{opacity:.6;r:6}100%{opacity:0;r:30}}
.map-info{padding:2.5rem 2rem;display:flex;flex-direction:column;justify-content:center;background:rgba(13,26,46,.96);border-left:1px solid rgba(201,162,74,.2)}
.map-info .tag{font-family:var(--ui);font-size:.7rem;letter-spacing:.32em;text-transform:uppercase;color:var(--gold-light);font-weight:600}
.map-info h3{color:var(--ivory);font-family:var(--display);font-size:1.7rem;margin:.5rem 0 .6rem;font-weight:500}
.map-info .sub{font-family:var(--serif);font-style:italic;color:rgba(248,243,232,.7);font-size:1.02rem;margin-bottom:1rem}
.map-info dl{display:grid;grid-template-columns:auto 1fr;gap:.55rem 1.4rem;margin-top:.6rem;font-size:.92rem}
.map-info dt{font-family:var(--ui);font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);font-weight:600;align-self:center}
.map-info dd{margin:0;color:rgba(248,243,232,.86)}
.pin-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}
.pin-list button{
  background:rgba(248,243,232,.06);border:1px solid rgba(201,162,74,.35);
  color:rgba(248,243,232,.85);padding:.55rem 1rem;font-family:var(--ui);
  font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;font-weight:500;
  transition:all .3s;
}
.pin-list button:hover,.pin-list button.active{background:var(--gold);color:var(--maroon-deep);border-color:var(--gold)}
@media (max-width:980px){.map-board{grid-template-columns:1fr;min-height:auto}.map-canvas{aspect-ratio:5/4}.map-info{border-left:0;border-top:1px solid rgba(201,162,74,.2)}}

/* ===== TRAVEL TIMELINE ===== */
.timeline{position:relative;margin-top:3rem;padding-left:2rem;border-left:1px solid var(--line-gold)}
.tl-item{position:relative;padding:0 0 2.2rem 1.6rem}
.tl-item::before{
  content:"";position:absolute;left:-2.6rem;top:.4rem;width:14px;height:14px;border-radius:50%;
  background:var(--gold);box-shadow:0 0 0 4px var(--ivory),0 0 0 5px var(--gold);
}
.tl-item h4{font-family:var(--display);font-size:1.25rem;letter-spacing:.04em;color:var(--maroon-deep);text-transform:none;font-weight:500;margin-bottom:.4rem}
.tl-item .day{font-family:var(--ui);font-size:.7rem;letter-spacing:.32em;text-transform:uppercase;color:var(--gold-deep);font-weight:600;display:block;margin-bottom:.4rem}
.tl-item p{margin:0;color:var(--muted);font-size:.96rem}

/* ===== FAQ ===== */
.faq{margin-top:3rem;border-top:1px solid var(--line-gold)}
.faq-item{border-bottom:1px solid var(--line-gold)}
.faq-q{
  width:100%;text-align:left;padding:1.5rem 0;display:flex;justify-content:space-between;align-items:center;gap:2rem;
  font-family:var(--display);font-size:1.18rem;color:var(--maroon-deep);font-weight:500;letter-spacing:.02em;
}
.faq-q .plus{font-family:var(--serif);font-size:1.6rem;color:var(--gold);transition:transform .4s var(--ease);font-weight:300;line-height:1}
.faq-item.open .faq-q .plus{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .5s var(--ease);color:var(--ink-soft);font-size:1rem;line-height:1.75}
.faq-a-inner{padding:0 0 1.5rem 0}
.faq-item.open .faq-a{max-height:400px}

/* ===== MYTHOLOGY CHAPTERS ===== */
.chapter{display:grid;grid-template-columns:1fr 1.2fr;gap:clamp(2rem,5vw,5rem);align-items:center;margin-bottom:clamp(60px,9vw,110px)}
.chapter:nth-child(even){grid-template-columns:1.2fr 1fr}
.chapter:nth-child(even) .chapter-media{order:2}
.chapter-media{aspect-ratio:5/6;overflow:hidden;position:relative}
.chapter-media img{width:100%;height:100%;object-fit:cover}
.chapter-media::after{content:"";position:absolute;inset:14px;border:1px solid rgba(201,162,74,.55);pointer-events:none}
.chapter-num{font-family:var(--display);font-size:.85rem;letter-spacing:.4em;color:var(--gold-deep);text-transform:uppercase;font-weight:600;margin-bottom:.8rem;display:block}
.chapter h2{margin-bottom:1rem}
.chapter .lead{font-family:var(--serif);font-style:italic;font-size:1.2rem;color:var(--maroon);line-height:1.55;margin-bottom:1rem}
.chapter p{color:var(--ink-soft);line-height:1.85;font-size:1.02rem}
@media (max-width:880px){
  .chapter,.chapter:nth-child(even){grid-template-columns:1fr}
  .chapter:nth-child(even) .chapter-media{order:0}
}

/* ===== GALLERY MASONRY ===== */
.gallery{
  columns:3;column-gap:1rem;margin-top:3rem;
}
@media (max-width:1080px){.gallery{columns:2}}
@media (max-width:600px){.gallery{columns:1}}
.gallery-item{
  break-inside:avoid;margin-bottom:1rem;position:relative;overflow:hidden;cursor:pointer;
  background:var(--sandstone);
}
.gallery-item img{width:100%;display:block;transition:transform 1.4s var(--ease)}
.gallery-item::after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(13,26,46,.7));
  opacity:0;transition:opacity .4s;
}
.gallery-item:hover img{transform:scale(1.06)}
.gallery-item:hover::after{opacity:1}
.gallery-item .cap{
  position:absolute;left:1rem;right:1rem;bottom:1rem;color:var(--ivory);
  font-family:var(--ui);font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;
  z-index:2;opacity:0;transform:translateY(8px);transition:all .4s var(--ease);font-weight:500;
}
.gallery-item:hover .cap{opacity:1;transform:translateY(0)}

/* lightbox */
.lightbox{
  position:fixed;inset:0;background:rgba(13,26,46,.94);z-index:120;
  display:none;align-items:center;justify-content:center;padding:5vh 4vw;
  backdrop-filter:blur(8px);
}
.lightbox.open{display:flex;animation:fadeIn .4s ease}
.lightbox img{max-width:100%;max-height:90vh;object-fit:contain;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.lightbox-close{
  position:absolute;top:24px;right:30px;color:var(--ivory);font-size:2rem;line-height:1;
  width:46px;height:46px;border:1px solid rgba(248,243,232,.3);border-radius:50%;
  display:grid;place-items:center;background:transparent;
}
.lightbox-close:hover{background:var(--maroon);border-color:var(--maroon)}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

/* ===== TEMPLE DETAIL CARDS (Sacred Temples page) ===== */
.t-detail{
  display:grid;grid-template-columns:1fr 1.1fr;gap:0;background:var(--ivory);
  border:1px solid var(--line-gold);overflow:hidden;margin-bottom:2.5rem;
}
.t-detail:nth-child(even){grid-template-columns:1.1fr 1fr}
.t-detail:nth-child(even) .t-img{order:2}
.t-img{position:relative;min-height:460px;overflow:hidden;background:var(--sandstone)}
.t-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.4s var(--ease)}
.t-detail:hover .t-img img{transform:scale(1.04)}
.t-img .badge{
  position:absolute;top:1.5rem;left:1.5rem;background:rgba(13,26,46,.78);color:var(--gold-light);
  font-family:var(--ui);font-size:.66rem;letter-spacing:.3em;text-transform:uppercase;font-weight:600;
  padding:.55rem 1rem;backdrop-filter:blur(4px);
}
.t-body{padding:clamp(2rem,4vw,3rem);display:flex;flex-direction:column;justify-content:center}
.t-body h2{font-size:clamp(1.6rem,2.6vw,2.2rem);margin-bottom:.4rem}
.t-body .deity{font-family:var(--serif);font-style:italic;color:var(--gold-deep);font-size:1.05rem;margin-bottom:1rem;display:block}
.t-body p{color:var(--ink-soft);font-size:1rem;line-height:1.8}
.t-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.5rem;margin-top:1.4rem;padding-top:1.4rem;border-top:1px solid var(--line-gold)}
.t-grid div{font-size:.92rem}
.t-grid dt{font-family:var(--ui);font-size:.66rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold-deep);font-weight:600;margin-bottom:.2rem}
.t-grid dd{margin:0;color:var(--ink)}
@media (max-width:880px){
  .t-detail,.t-detail:nth-child(even){grid-template-columns:1fr}
  .t-detail:nth-child(even) .t-img{order:0}
  .t-img{min-height:280px;aspect-ratio:4/3}
  .t-grid{grid-template-columns:1fr}
}

/* ===== MANAGEMENT / TEAM ===== */
.team-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,260px));gap:2.5rem;margin:3rem auto 0;
  justify-content:center;align-items:stretch;
}
.team-card{
  background:var(--ivory);border:1px solid var(--line-gold);
  display:flex;flex-direction:column;overflow:hidden;text-align:center;height:100%;
  transition:all .5s var(--ease);
}
.team-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft);border-color:var(--gold)}
.team-photo{
  position:relative;aspect-ratio:1/1;overflow:hidden;background:var(--sandstone);
}
.team-photo img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;
  transition:transform 1.4s var(--ease);
}
.team-card:hover .team-photo img{transform:scale(1.04)}
.team-body{
  padding:1.3rem 1.2rem 1.6rem;display:flex;flex-direction:column;align-items:center;justify-content:center;
  flex:1;border-top:1px solid var(--line-gold);
}
.team-card h3{
  font-family:var(--display);color:var(--maroon-deep);font-size:1.2rem;font-weight:500;
  letter-spacing:.04em;margin:0 0 .4rem;line-height:1.25;
}
.team-role{
  font-family:var(--serif);font-style:italic;color:var(--maroon);font-size:.95rem;
  margin:0;line-height:1.5;
}
@media (max-width:620px){
  .team-grid{grid-template-columns:1fr;gap:1.5rem;max-width:280px}
}
.team-card[data-profile]{cursor:pointer}
.team-card[data-profile] .team-photo::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(13,26,46,0) 55%,rgba(13,26,46,.55) 100%);
  opacity:0;transition:opacity .4s var(--ease);z-index:2;pointer-events:none;
}
.team-card[data-profile] .team-photo::after{
  content:"View Profile \2192";
  position:absolute;left:0;right:0;bottom:14px;text-align:center;z-index:3;
  font-family:var(--ui);font-size:.66rem;letter-spacing:.32em;text-transform:uppercase;
  color:var(--ivory);font-weight:600;opacity:0;transform:translateY(8px);
  transition:all .45s var(--ease);pointer-events:none;background:none;
}
.team-card[data-profile]:hover .team-photo::before,
.team-card[data-profile]:hover .team-photo::after{opacity:1}
.team-card[data-profile]:hover .team-photo::after{transform:translateY(0)}

/* ===== PROFILE MODAL ===== */
.profile-modal{
  position:fixed;inset:0;z-index:140;display:none;align-items:flex-start;justify-content:center;
  padding:4vh 3vw;overflow-y:auto;
  background:radial-gradient(ellipse at center,rgba(13,26,46,.78) 0%,rgba(13,26,46,.95) 80%);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
.profile-modal.open{display:flex;animation:fadeIn .4s ease}
.profile-panel{
  position:relative;width:100%;max-width:1040px;background:var(--ivory);
  border:1px solid rgba(201,162,74,.45);box-shadow:0 50px 120px -30px rgba(0,0,0,.6);
  animation:rise .55s var(--ease) both;margin:auto;
}
.profile-panel::before,.profile-panel::after{
  content:"";position:absolute;width:46px;height:46px;border:1px solid var(--gold);pointer-events:none;
}
.profile-panel::before{top:-1px;left:-1px;border-right:0;border-bottom:0}
.profile-panel::after{bottom:-1px;right:-1px;border-left:0;border-top:0}
.profile-close{
  position:absolute;top:18px;right:18px;width:42px;height:42px;border-radius:50%;
  border:1px solid var(--line-gold);color:var(--maroon);background:var(--ivory);
  font-size:1.4rem;line-height:1;display:grid;place-items:center;z-index:5;
  transition:all .3s;
}
.profile-close:hover{background:var(--maroon);color:var(--ivory);border-color:var(--maroon);transform:rotate(90deg)}

.profile-hero{
  display:grid;grid-template-columns:280px 1fr;gap:2.4rem;align-items:center;
  padding:clamp(2rem,4vw,3rem) clamp(2rem,4vw,3rem) 2rem;
  background:linear-gradient(135deg,#fbf6ea 0%,var(--ivory-warm) 100%);
  border-bottom:1px solid var(--line-gold);
}
.profile-portrait{
  aspect-ratio:4/5;overflow:hidden;border:1px solid var(--line-gold);
  box-shadow:0 18px 50px -25px rgba(13,26,46,.5);background:var(--sandstone);
}
.profile-portrait img{width:100%;height:100%;object-fit:cover;object-position:center top}
.profile-head .eyebrow{justify-content:flex-start}
.profile-head h2{
  font-family:var(--display);color:var(--maroon-deep);font-weight:500;
  font-size:clamp(1.9rem,3.4vw,2.7rem);margin:.6rem 0 .4rem;letter-spacing:.04em;
}
.profile-head .titles{
  font-family:var(--serif);font-style:italic;color:var(--maroon);font-size:1.1rem;line-height:1.5;margin:0 0 .9rem;
}
.profile-head .roles{
  font-family:var(--ui);font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold-deep);font-weight:600;line-height:1.7;
}
.profile-head .roles span+span::before{content:" \00B7 ";color:var(--gold);margin:0 .3rem}

.profile-body{padding:clamp(1.8rem,3.5vw,2.6rem) clamp(2rem,4vw,3rem) clamp(2rem,4vw,3rem)}
.profile-intro{
  font-family:var(--serif);font-size:1.06rem;line-height:1.85;color:var(--ink-soft);
  padding-bottom:1.6rem;margin-bottom:2rem;border-bottom:1px solid var(--line-gold);
}
.profile-section{margin-bottom:2rem}
.profile-section:last-child{margin-bottom:0}
.profile-section h3{
  font-family:var(--display);color:var(--maroon-deep);font-size:1.25rem;font-weight:500;
  letter-spacing:.04em;margin:0 0 1rem;display:flex;align-items:center;gap:.8rem;text-transform:none;
}
.profile-section h3::before{content:"";width:24px;height:1px;background:var(--gold);flex-shrink:0}

.profile-bullets{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.95rem}
.profile-bullets li{
  position:relative;padding-left:1.6rem;color:var(--ink-soft);font-size:.98rem;line-height:1.7;
}
.profile-bullets li::before{
  content:"";position:absolute;left:0;top:.65rem;width:7px;height:7px;border-radius:50%;
  background:var(--gold);box-shadow:0 0 0 3px rgba(201,162,74,.18);
}
.profile-bullets li strong{font-family:var(--display);color:var(--maroon-deep);font-weight:600;letter-spacing:.02em;font-size:1.05rem}

.torus-table{
  display:grid;grid-template-columns:240px 1fr;gap:0;border:1px solid var(--line-gold);background:var(--ivory);
}
.torus-table>div{padding:1rem 1.2rem;border-bottom:1px solid var(--line-gold);font-size:.93rem;line-height:1.65}
.torus-table>div:nth-last-child(-n+2){border-bottom:0}
.torus-table .domain{
  font-family:var(--ui);font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;font-weight:600;
  color:var(--maroon-deep);background:var(--ivory-warm);border-right:1px solid var(--line-gold);
  display:flex;align-items:center;
}
.torus-table .entities{color:var(--ink-soft)}

.profile-relevance{
  background:linear-gradient(135deg,rgba(201,162,74,.1),rgba(201,162,74,.04));
  border-left:3px solid var(--gold);padding:1.4rem 1.6rem;font-size:.96rem;line-height:1.8;
  color:var(--ink-soft);margin-top:.5rem;
}

.profile-foot{
  margin-top:2rem;padding:1.8rem clamp(2rem,4vw,3rem);
  background:var(--maroon-deep);color:var(--ivory);text-align:center;
}
.profile-foot .nm{font-family:var(--display);color:var(--ivory);font-size:1.3rem;font-weight:500;letter-spacing:.04em}
.profile-foot .ti{font-family:var(--serif);font-style:italic;color:var(--gold-light);font-size:.98rem;margin:.3rem 0 .8rem}
.profile-foot .links{
  font-family:var(--ui);font-size:.78rem;letter-spacing:.1em;display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem 1.4rem;
}
.profile-foot .links a{color:var(--ivory);border-bottom:1px solid rgba(201,162,74,.4);padding-bottom:2px}
.profile-foot .links a:hover{color:var(--gold-light);border-color:var(--gold-light)}
.profile-foot .links span{color:var(--gold)}

@media (max-width:760px){
  .profile-hero{grid-template-columns:1fr;gap:1.4rem;text-align:center}
  .profile-portrait{max-width:220px;margin:0 auto}
  .profile-head .eyebrow{justify-content:center}
  .torus-table{grid-template-columns:1fr}
  .torus-table .domain{border-right:0;border-bottom:1px solid var(--line-gold)}
  .torus-table>div{border-bottom:1px solid var(--line-gold)}
}

/* ===== CONTACT ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:0;margin-top:3rem;border:1px solid var(--line-gold)}
.contact-info{padding:clamp(2rem,4vw,3.5rem);background:var(--maroon-deep);color:var(--ivory)}
.contact-info h3{color:var(--ivory);font-family:var(--display);font-size:1.7rem}
.contact-info p{color:rgba(248,243,232,.78)}
.contact-info .row{display:flex;gap:1rem;align-items:flex-start;padding:1.2rem 0;border-bottom:1px solid rgba(248,243,232,.14)}
.contact-info .row:last-of-type{border-bottom:0}
.contact-info .row .ic{
  width:42px;height:42px;border-radius:50%;background:rgba(201,162,74,.18);color:var(--gold-light);
  display:grid;place-items:center;flex-shrink:0;font-family:var(--decor);font-size:1.1rem;font-weight:700;
  border:1px solid rgba(201,162,74,.4);
}
.contact-info .row .lbl{font-family:var(--ui);font-size:.68rem;letter-spacing:.3em;text-transform:uppercase;color:var(--gold-light);font-weight:600;margin-bottom:.25rem}
.contact-info .row a,.contact-info .row span{color:var(--ivory);font-family:var(--serif);font-size:1.05rem;display:block}
.contact-info .row a:hover{color:var(--gold-light)}
.contact-form{padding:clamp(2rem,4vw,3.5rem);background:var(--ivory)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}
.field{display:flex;flex-direction:column;gap:.4rem}
.field label{font-family:var(--ui);font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold-deep);font-weight:600}
.field input,.field textarea,.field select{
  padding:.95rem 1rem;border:1px solid var(--line);background:var(--ivory-warm);color:var(--ink);
  font-family:var(--body);font-size:1rem;outline:none;transition:border-color .3s;
}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--gold);background:#fff}
.field textarea{resize:vertical;min-height:140px}
.form-msg{margin-top:1rem;padding:1rem;background:rgba(201,162,74,.14);border-left:3px solid var(--gold);color:var(--maroon-deep);font-style:italic;display:none}
.form-msg.show{display:block;animation:slideDown .4s ease}
@keyframes slideDown{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:880px){.contact-grid{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}}

/* ===== FOOTER ===== */
.site-footer{
  background:var(--midnight);color:rgba(248,243,232,.78);
  padding:clamp(60px,8vw,90px) 0 0;border-top:3px solid var(--gold);position:relative;
}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:3rem;padding-bottom:3rem}
.footer-brand .brand{color:var(--ivory)}
.footer-brand .brand-name{color:var(--ivory)}
.footer-brand p{margin:1.2rem 0 1.4rem;font-size:.95rem;line-height:1.8;color:rgba(248,243,232,.7);max-width:360px}
.footer-col h4{
  color:var(--gold-light);font-family:var(--ui);font-size:.72rem;letter-spacing:.32em;text-transform:uppercase;
  font-weight:600;margin-bottom:1.4rem;
}
.footer-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.7rem}
.footer-col a{color:rgba(248,243,232,.78);font-family:var(--serif);font-size:.98rem;transition:color .3s}
.footer-col a:hover{color:var(--gold-light)}
.footer-contact a,.footer-contact div{font-family:var(--serif);font-size:.98rem;color:rgba(248,243,232,.86);display:block;margin-bottom:.5rem}
.footer-contact a:hover{color:var(--gold-light)}
.socials{display:flex;gap:.7rem;margin-top:1.2rem}
.socials a{
  width:40px;height:40px;border-radius:50%;border:1px solid rgba(248,243,232,.22);display:grid;place-items:center;
  color:rgba(248,243,232,.78);transition:all .3s;
}
.socials a:hover{background:var(--gold);color:var(--maroon-deep);border-color:var(--gold);transform:translateY(-3px)}
.socials svg{width:16px;height:16px;fill:currentColor}
.footer-bottom{
  border-top:1px solid rgba(248,243,232,.12);padding:1.6rem 0;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;align-items:center;
  font-family:var(--ui);font-size:.78rem;letter-spacing:.06em;color:rgba(248,243,232,.55);
}
.footer-bottom a{color:var(--gold-light);font-weight:500}
.footer-bottom a:hover{color:var(--gold)}
.footer-credit{display:flex;align-items:center;gap:.4rem;letter-spacing:.18em;text-transform:uppercase;font-size:.68rem}
@media (max-width:980px){.footer-top{grid-template-columns:1fr 1fr;gap:2rem}}
@media (max-width:560px){.footer-top{grid-template-columns:1fr}}

/* ===== ENTRY (PASSCODE) PAGE ===== */
.entry{
  min-height:100vh;position:relative;display:flex;align-items:center;justify-content:center;
  padding:2rem;overflow:hidden;color:var(--ivory);
}
.entry-bg{position:absolute;inset:0;z-index:-2}
.entry-bg img{width:100%;height:100%;object-fit:cover;object-position:center}
.entry-veil{
  position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(ellipse at center,rgba(13,26,46,.45) 0%,rgba(13,26,46,.85) 80%),
    linear-gradient(160deg,rgba(61,7,16,.4),rgba(13,26,46,.7));
}
.entry-card{
  width:100%;max-width:520px;background:rgba(248,243,232,.06);
  border:1px solid rgba(201,162,74,.45);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  padding:clamp(2.4rem,5vw,3.5rem);text-align:center;color:var(--ivory);
  position:relative;animation:rise .9s var(--ease) both;
}
@keyframes rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
.entry-card::before,.entry-card::after{
  content:"";position:absolute;width:42px;height:42px;border:1px solid var(--gold);
}
.entry-card::before{top:-1px;left:-1px;border-right:0;border-bottom:0}
.entry-card::after{bottom:-1px;right:-1px;border-left:0;border-top:0}
.entry-crest{
  width:80px;height:80px;border-radius:50%;margin:0 auto 1.5rem;
  background:radial-gradient(circle at 30% 30%,var(--gold-light),var(--gold) 60%,var(--gold-deep));
  display:grid;place-items:center;color:var(--maroon-deep);
  font-family:var(--decor);font-size:2.2rem;font-weight:700;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.35),0 12px 40px -10px rgba(201,162,74,.5);
}
.entry-card .eyebrow{color:var(--gold-light);justify-content:center}
.entry-card .eyebrow::before,.entry-card .eyebrow::after{background:linear-gradient(90deg,transparent,var(--gold-light))}
.entry-card h1{
  color:var(--ivory);font-family:var(--display);font-size:clamp(1.6rem,3vw,2.2rem);font-weight:500;
  margin:1rem 0 .5rem;letter-spacing:.04em;
}
.entry-card .sub{color:rgba(248,243,232,.78);font-family:var(--serif);font-style:italic;font-size:1rem;margin-bottom:2rem}
.entry-form{display:flex;flex-direction:column;gap:1rem}
.entry-form input{
  background:rgba(248,243,232,.08);border:1px solid rgba(201,162,74,.4);
  color:var(--ivory);padding:1rem 1.2rem;font-family:var(--body);font-size:1.05rem;
  letter-spacing:.18em;text-align:center;outline:none;transition:all .3s;
}
.entry-form input::placeholder{color:rgba(248,243,232,.38);letter-spacing:.18em}
.entry-form input:focus{border-color:var(--gold);background:rgba(248,243,232,.12)}
.entry-form input.error{border-color:#e15050;animation:shake .55s}
@keyframes shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}
.entry-error{
  color:#ffcf60;font-family:var(--serif);font-style:italic;font-size:.95rem;
  min-height:1.4em;letter-spacing:.02em;
}
.entry-error.show{animation:fadeIn .35s ease both}
.entry-foot{margin-top:2.4rem;font-family:var(--ui);font-size:.66rem;letter-spacing:.32em;text-transform:uppercase;color:rgba(248,243,232,.42)}
.entry-foot a{color:var(--gold-light)}
.entry-loading{position:fixed;inset:0;background:var(--midnight);z-index:200;display:none;align-items:center;justify-content:center;flex-direction:column;color:var(--ivory)}
.entry-loading.show{display:flex;animation:fadeIn .3s ease}
.entry-loading .ring{
  width:80px;height:80px;border-radius:50%;border:2px solid rgba(201,162,74,.18);
  border-top-color:var(--gold);animation:spin 1s linear infinite;margin-bottom:1.4rem;
}
@keyframes spin{to{transform:rotate(360deg)}}
.entry-loading p{font-family:var(--serif);font-style:italic;color:rgba(248,243,232,.7);letter-spacing:.06em}

/* ===== UTIL ===== */
.text-center{text-align:center}
.fade-in{opacity:0;transform:translateY(24px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.fade-in.visible{opacity:1;transform:translateY(0)}
.delay-1{transition-delay:.1s}.delay-2{transition-delay:.2s}.delay-3{transition-delay:.3s}.delay-4{transition-delay:.4s}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}
