/* ==========================================================================
   Jeliatola Naba Durga Puja Samity — site styles
   Theme: laal-paar shada (the red-bordered white sari) — ivory, sindoor, marigold, alta
   ========================================================================== */

:root {
  --ivory: #fff8ec;
  --paper: #ffeccc;
  --paper-deep: #fbdcae;
  --sindoor: #d10f1f;
  --sindoor-deep: #960a18;
  --marigold: #ffa415;
  --gold: #b87400;
  --gold-soft: #ffd47e;
  --ink: #2a100a;
  --ink-soft: #5e3a2c;
  --muted: #7e5a48;
  --night: #2a0610;
  --night-2: #3d0a17;
  --alta: #d81b72;
  --line: rgba(42, 16, 10, 0.12);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-bn: "Tiro Bangla", "Hind Siliguri", serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(42, 16, 10, 0.06), 0 8px 24px rgba(42, 16, 10, 0.08);
  --shadow-lg: 0 2px 4px rgba(42, 16, 10, 0.08), 0 24px 48px rgba(42, 16, 10, 0.16);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sindoor); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sindoor-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; font-variation-settings: "SOFT" 50, "WONK" 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
[lang="bn"], .bn { font-family: var(--font-bn); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--sindoor); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

/* ---------- Signature: the laal-paar border band ---------- */
.paar {
  height: 16px;
  background:
    radial-gradient(circle at 8px 8px, var(--gold-soft) 0 2px, transparent 2.5px) 0 0 / 16px 16px repeat-x,
    linear-gradient(to bottom,
      var(--gold) 0 1px, transparent 1px 2px,
      var(--sindoor) 2px 14px,
      transparent 14px 15px, var(--gold) 15px 16px);
}
.paar--thin {
  height: 8px;
  background: linear-gradient(to bottom, var(--gold) 0 1px, var(--sindoor) 1px 7px, var(--gold) 7px 8px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 236, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.site-header .paar--thin { position: absolute; left: 0; right: 0; bottom: -8px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 46px; height: 46px; flex: none; color: var(--sindoor); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.15; }
.brand__bn { font-family: var(--font-bn); font-size: 0.9rem; color: var(--gold); line-height: 1.3; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--ivory); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav li { position: relative; list-style: none; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem;
}
.nav a:hover { background: var(--paper); color: var(--sindoor-deep); }
.nav a[aria-current="page"], .nav .is-section > a { color: var(--sindoor); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--marigold);
}
.nav .has-sub > a { padding-right: 6px; }
.sub-toggle {
  width: 28px; height: 28px; border: 0; background: transparent; color: var(--ink-soft);
  cursor: pointer; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
}
.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.sub-toggle:hover { background: var(--paper); }
.has-sub { display: flex; align-items: center; }
.nav .sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 6px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav .sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav .sub a { display: flex; border-radius: 6px; padding: 10px 12px; width: 100%; }
.nav .sub a small { margin-left: auto; padding-left: 12px; font-size: .78rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }

.nav a.nav-cta { background: var(--sindoor); color: #fff; padding-inline: 18px; margin-left: 8px; }
.nav a.nav-cta:hover { background: var(--sindoor-deep); color: #fff; }
.nav a.nav-cta[aria-current="page"]::after { background: var(--gold-soft); bottom: -10px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 8px) 0 auto 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h) - 8px); overflow-y: auto;
    display: none; padding: 12px var(--gutter) 24px;
  }
  .nav-open .nav { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav li { width: 100%; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 44px; height: 44px; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .sub {
    position: static; width: 100%; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--gold-soft); border-radius: 0;
    margin: 0 0 6px 14px; padding: 0 0 0 6px; display: none; background: transparent;
  }
  .has-sub.is-open > .sub { display: block; }
  .has-sub:hover > .sub { opacity: 1; }
  .nav a.nav-cta { margin: 10px 0 0; justify-content: center; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 0.95rem; }
  .brand__bn { font-size: 0.8rem; }
  .brand__mark { width: 40px; height: 40px; }
}

/* ---------- Buttons & small parts ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--sindoor); color: #fff; }
.btn--primary:hover { background: var(--sindoor-deep); color: #fff; }
.btn--gold { background: var(--marigold); color: var(--night); }
.btn--gold:hover { background: #ffb83d; color: var(--night); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.actions .countdown { margin-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sindoor);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--marigold); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; text-wrap: balance; }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head .bn-sub { font-family: var(--font-bn); color: var(--gold); font-size: 1.2rem; margin: -4px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section--paper { background: var(--paper); }
.section--dark {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(209, 15, 31, 0.55), transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(216, 27, 114, 0.22), transparent 45%),
    radial-gradient(ellipse at 90% 100%, rgba(255, 164, 21, 0.24), transparent 50%),
    var(--night);
  color: #f4e9da;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-head p { color: #d8c6b4; }
.section--dark a:not(.btn) { color: var(--gold-soft); }

/* subtle alpana dots pattern for dark sections */
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 212, 126, 0.12) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.section--dark > * { position: relative; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end;
  color: #fff; background: var(--night); overflow: hidden; isolation: isolate;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 35%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(42, 6, 16, 0.94) 0%, rgba(42, 6, 16, 0.8) 38%, rgba(42, 6, 16, 0.1) 74%),
    linear-gradient(0deg, rgba(42, 6, 16, 0.85) 0%, rgba(42, 6, 16, 0) 45%);
}
.hero__content { padding-block: 72px 64px; max-width: 640px; }
.hero__bn { font-family: var(--font-bn); font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: var(--gold-soft); margin-bottom: 6px; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 600; margin-bottom: 18px; color: #fff; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--marigold); font-weight: 500; }
.hero__lead { font-size: clamp(1.08rem, 1.9vw, 1.28rem); color: #f1e4d2; max-width: 34em; }
.hero__org { font-size: 0.95rem; color: #d9c6b2; margin-bottom: 28px; }
.hero__org strong { color: #fff; font-weight: 600; }

.countdown {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff; font-size: 0.98rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.countdown[hidden] { display: none; }
.countdown__num {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px;
  border-radius: 999px; background: var(--marigold); color: var(--night);
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
}
.countdown--light { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); backdrop-filter: none; }

@media (max-width: 720px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero__img { position: relative; height: 62vw; min-height: 260px; object-position: 50% 30%; }
  .hero::after { background: linear-gradient(180deg, rgba(42, 6, 16,0) 0, rgba(42, 6, 16,0) calc(62vw - 110px), rgba(42, 6, 16,1) 62vw); }
  .hero__content { padding-block: 0 48px; margin-top: -28px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: var(--night); padding-block: clamp(64px, 10vw, 120px) clamp(48px, 7vw, 80px);
}
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(42, 6, 16,.95) 0%, rgba(42, 6, 16,.7) 50%, rgba(42, 6, 16,.35) 100%); }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); color: #fff; margin-bottom: 10px; }
.page-hero .bn-title { font-family: var(--font-bn); color: var(--gold-soft); font-size: clamp(1.1rem, 2.2vw, 1.35rem); margin-bottom: 6px; }
.page-hero p.lead { color: #eadbc8; max-width: 40em; font-size: 1.12rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .9rem; margin-bottom: 18px; color: #cdb8a3; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: #f3e3cf; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Intro / story ---------- */
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose p { color: var(--ink-soft); }
.prose p:first-of-type::first-letter {
  float: left; font-family: var(--font-display); font-size: 4.2rem; line-height: .82; padding: 6px 10px 0 0; color: var(--sindoor); font-weight: 600;
}
.prose--plain p:first-of-type::first-letter { all: unset; }
.prose h3 { font-size: 1.45rem; margin-top: 1.6em; }
.pull {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.4;
  color: var(--sindoor-deep); border-left: 3px solid var(--marigold); padding: 4px 0 4px 20px; margin: 28px 0;
}

.facts { list-style: none; display: grid; gap: 14px; }
.fact {
  display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
.fact__num { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; color: var(--sindoor); line-height: 1; }
.fact__num small { font-size: .95rem; display: block; color: var(--gold); font-weight: 600; margin-top: 4px; }
.fact p { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }
.fact strong { color: var(--ink); display: block; font-size: 1.02rem; }

/* ---------- Nine forms ---------- */
.forms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); list-style: none; }
.form-card {
  position: relative; display: flex; flex-direction: column; background: var(--night-2);
  border: 1px solid rgba(255, 212, 126, 0.18); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.form-card:hover { transform: translateY(-4px); border-color: rgba(255, 212, 126, 0.5); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.form-card__img { position: relative; aspect-ratio: 5 / 5.4; overflow: hidden; background: #000; }
.form-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .5s ease; }
.form-card:hover .form-card__img img { transform: scale(1.04); }
.form-card__no {
  position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-bn); font-size: 1.1rem;
  background: rgba(42, 6, 16, 0.78); color: var(--gold-soft); border: 1px solid rgba(255, 212, 126, .5);
}
.form-card__body { padding: 16px 18px 20px; }
.form-card__bn { font-family: var(--font-bn); color: var(--gold-soft); font-size: 1.3rem; line-height: 1.3; margin: 0; }
.form-card h3 { font-size: 1.2rem; margin: 2px 0 10px; color: #fff; }
.form-card__meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.form-card__meta li {
  font-size: .8rem; line-height: 1; padding: 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); color: #e6d5c2; border: 1px solid rgba(255,255,255,.08);
}
.form-card__meta .swatch { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; border: 1px solid rgba(255,255,255,.4); }
.form-card--featured { border-color: rgba(255, 164, 21, 0.7); box-shadow: 0 0 0 1px rgba(255, 164, 21, .35), 0 20px 50px rgba(209, 15, 31, .35); }
.form-card--featured .form-card__no { background: var(--marigold); color: var(--night); border-color: var(--marigold); }
.form-card--featured h3::after { content: " · The central idol"; font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--marigold); letter-spacing: .02em; }
@media (max-width: 860px) {
  .forms-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card--featured { grid-column: 1 / -1; order: -1; flex-direction: row; }
  .form-card--featured .form-card__img { flex: 0 0 46%; aspect-ratio: auto; min-height: 260px; }
  .form-card--featured .form-card__body { align-self: center; }
}
@media (max-width: 480px) {
  .forms-grid { gap: 12px; }
  .form-card__body { padding: 12px 12px 14px; }
  .form-card__bn { font-size: 1.1rem; }
  .form-card h3 { font-size: 1rem; }
  .form-card__meta li { font-size: .72rem; padding: 5px 8px; }
  .form-card--featured { flex-direction: column; }
  .form-card--featured .form-card__img { flex: none; min-height: 0; aspect-ratio: 4 / 3.4; }
  .form-card--featured .form-card__body { align-self: stretch; }
  .form-card--featured h3::after { display: block; content: "The central idol"; margin-top: 4px; }
}

/* ---------- Schedule tiles ---------- */
.schedule { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; list-style: none; }
.day {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 14px 16px; text-align: center; box-shadow: var(--shadow); overflow: hidden;
}
.day::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--sindoor), var(--alta)); }
.day__bn { font-family: var(--font-bn); color: var(--sindoor); font-size: 1.15rem; line-height: 1.3; }
.day__en { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.day__date { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; margin: 12px 0 2px; color: var(--ink); }
.day__month { font-size: .92rem; color: var(--ink-soft); }
.day--mahalaya { background: var(--paper); }
.day--mahalaya::before { background: linear-gradient(90deg, var(--gold), var(--marigold)); }
.day.is-today { border-color: var(--marigold); box-shadow: 0 0 0 3px rgba(255, 164, 21,.35), var(--shadow); }
.day.is-today::after { content: "Today"; position: absolute; top: 12px; right: 10px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sindoor); }
.day.is-past { opacity: .55; }
.schedule--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .schedule { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) {
  .schedule { grid-template-columns: repeat(2, 1fr); }
  .day__date { font-size: 2.1rem; }
}
/* puja timings, one card per day (event pages) */
.timings { margin-top: clamp(36px, 5vw, 56px); }
.timings__title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 18px; }
.timings__title .bn { font-size: .62em; font-weight: 400; color: var(--gold); margin-left: 8px; }
.timings__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.timing {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px 10px;
}
.timing::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--sindoor), var(--alta)); }
.timing header { padding-bottom: 10px; border-bottom: 2px solid var(--paper); }
.timing h4 { font-size: 1.2rem; margin: 0; }
.timing h4 .bn { color: var(--sindoor); font-weight: 400; margin-right: 4px; }
.timing header p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.timing ul { list-style: none; }
.timing li { display: grid; grid-template-columns: 7.4em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(42, 16, 10, .1); font-size: .97rem; line-height: 1.45; }
.timing li:last-child { border-bottom: 0; }
.timing li time { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.timing li span { color: var(--ink-soft); }
.timing li .bn { color: var(--gold); font-size: .92rem; margin-left: 4px; white-space: nowrap; }
.timing li small { display: block; color: var(--muted); font-size: .84rem; }
.timing li.is-key { margin: 0 -20px; padding-inline: 20px; background: rgba(255, 164, 21, .12); }
.timing li.is-key time { color: var(--sindoor); }
.timing.is-today { border-color: var(--marigold); box-shadow: 0 0 0 3px rgba(255, 164, 21, .35), var(--shadow); }
.timing.is-today header p::after { content: " · Today"; color: var(--sindoor); font-weight: 700; }
.timing.is-past { opacity: .6; }
.timings__note { margin: 16px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .timings__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .timings__grid { grid-template-columns: 1fr; } }

.note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 18px;
  background: rgba(255, 164, 21, 0.12); border: 1px solid rgba(184, 116, 0, 0.35); border-radius: var(--radius-sm);
  color: var(--ink-soft); font-size: .96rem;
}
.note svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--gold); }
.note p { margin: 0; }

/* ---------- Gallery teaser mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 17vw, 220px); gap: 10px; }
.mosaic a { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--paper-deep); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
@media (max-width: 720px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .mosaic .wide { grid-column: span 2; }
}

/* ---------- Archive feature ---------- */
.archive-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)) 1fr; gap: clamp(20px, 3vw, 36px); align-items: center; }
.doc {
  display: block; background: #fff; padding: 10px; border-radius: 4px; box-shadow: var(--shadow-lg); text-decoration: none;
  transform: rotate(-2deg); transition: transform .3s;
}
.doc + .doc { transform: rotate(2.5deg); }
.doc:hover { transform: rotate(0) scale(1.02); }
.doc img { border-radius: 2px; }
.doc figcaption { font-size: .82rem; color: var(--muted); padding: 10px 4px 2px; line-height: 1.4; }
.motto { list-style: none; display: grid; gap: 18px; }
.motto dt { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.motto dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.35; color: var(--ink); }
@media (max-width: 960px) {
  .archive-feature { grid-template-columns: 1fr 1fr; }
  .archive-feature > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .archive-feature { gap: 16px; } .doc { padding: 6px; } }

/* ---------- Visit / map ---------- */
.visit { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.visit__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.visit__card h3 { font-size: 1.5rem; }
.info-list { list-style: none; display: grid; gap: 18px; margin: 20px 0 28px; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.info-list .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--sindoor); }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-list span { color: var(--ink); }
.map { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-deep); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* ---------- CTA band ---------- */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0; }
.cta-band p { margin: 6px 0 0; color: #d8c6b4; }

/* ---------- Timeline (about) ---------- */
.timeline { list-style: none; position: relative; display: grid; gap: 28px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--sindoor), var(--alta), var(--marigold)); }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ivory); border: 3px solid var(--sindoor);
}
.timeline .year { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--sindoor); line-height: 1.1; }
.timeline h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.timeline p { color: var(--ink-soft); margin: 0; }

/* forms table (about) */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.forms-table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 560px; }
.forms-table th, .forms-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.forms-table thead th { background: var(--paper); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.forms-table tbody tr:last-child td { border-bottom: 0; }
.forms-table tbody tr:hover { background: #fffaf2; }
.forms-table .name { display: flex; align-items: center; gap: 12px; }
.forms-table .name img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; border: 2px solid var(--gold-soft); }
.forms-table .name b { display: block; font-family: var(--font-bn); font-weight: 400; font-size: 1.12rem; line-height: 1.2; }
.forms-table .name small { color: var(--muted); font-size: .85rem; }
.forms-table .swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.2); }
.forms-table tr.is-central { background: rgba(255, 164, 21, 0.1); }

.attributes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.attributes li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; }
.attributes li span { font-family: var(--font-bn); color: var(--sindoor); margin-right: 6px; }

/* Bengali original article */
.bn-article {
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); position: relative;
}
.bn-article::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(to bottom, var(--sindoor) 0 6px, var(--gold) 6px 8px); }
.bn-article h2 { font-family: var(--font-bn); font-weight: 400; text-align: center; font-size: clamp(1.6rem, 3.6vw, 2.2rem); color: var(--sindoor-deep); margin-bottom: 1.2em; }
.bn-article h3 { font-family: var(--font-bn); font-weight: 400; font-size: 1.35rem; color: var(--sindoor); margin: 1.6em 0 .4em; }
.bn-article p, .bn-article li { font-family: var(--font-bn); font-size: 1.12rem; line-height: 2; color: var(--ink); }
.bn-article ol { padding-left: 0; list-style: none; display: grid; gap: 4px; margin-bottom: 1em; }
.bn-article .sign { text-align: right; margin-top: 2em; color: var(--ink-soft); }
.bn-article .sign b { font-weight: 400; display: block; color: var(--ink); }

/* ---------- Team ---------- */
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 18px; }
.leader {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--alta), var(--sindoor) 45%, var(--sindoor-deep)); color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.leader::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255,255,255,.07); }
.avatar {
  flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .02em;
  background: var(--marigold); color: var(--night);
}
.leader .role { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.leader .person { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
@media (max-width: 640px) { .leaders { grid-template-columns: 1fr; } }

.team-groups { columns: 3 300px; column-gap: 18px; }
.team-group {
  break-inside: avoid; margin: 0 0 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow);
}
.team-group h3 { font-size: 1.12rem; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 2px solid var(--paper); }
.team-group h3 .count { font-family: var(--font-body); font-size: .78rem; font-weight: 600; color: var(--sindoor); background: rgba(209, 15, 31,.08); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.team-group ul { list-style: none; display: grid; gap: 2px; }
.team-group li { padding: 5px 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.45; border-bottom: 1px dashed rgba(42, 16, 10,.08); }
.team-group li:last-child { border-bottom: 0; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer;
}
.chip:hover { border-color: var(--sindoor); color: var(--sindoor); }
.chip[aria-pressed="true"] { background: var(--sindoor); border-color: var(--sindoor); color: #fff; }
.chip .n { font-weight: 500; opacity: .7; margin-left: 4px; }

.year-block + .year-block { margin-top: clamp(48px, 6vw, 72px); }
.year-block[hidden] { display: none; }
.year-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.year-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; color: var(--sindoor); }
.year-head span { color: var(--muted); font-size: .95rem; }
.year-head::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
.year-head h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; color: var(--sindoor); }
.year-head h3 span.bn { font-size: .62em; font-weight: 400; color: var(--gold); margin-left: 6px; }
.year-intro { color: var(--ink-soft); max-width: 46em; margin: -8px 0 20px; }
@media (max-width: 600px) {
  .year-head { flex-wrap: wrap; gap: 2px 12px; }
  .year-head::after { display: none; }
  .year-head h3 { flex-basis: 100%; }
}

/* ---------- Carousel (2026 "so far" sets) ---------- */
.carousel { --h: clamp(240px, 34vw, 380px); position: relative; }
.carousel__track {
  position: relative; display: flex; gap: 12px; list-style: none; margin: 0; padding: 0 0 4px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: 4px; }
.carousel__slide { flex: none; scroll-snap-align: start; }
.carousel__slide a { display: block; height: var(--h); border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-deep); }
.carousel__slide img { height: 100%; width: auto; max-width: min(78vw, 720px); object-fit: cover; transition: transform .5s ease; }
.carousel__slide a:hover img { transform: scale(1.03); }
.carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.carousel__controls[hidden] { display: none; }
.carousel__dots { display: flex; flex-wrap: wrap; gap: 4px; }
.carousel__dot {
  width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center;
}
.carousel__dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(42, 16, 10, .2); transition: width .2s, background .2s; }
.carousel__dot[aria-current="true"]::before { width: 22px; background: var(--sindoor); }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  display: inline-grid; place-items: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.carousel__prev { margin-left: auto; }
.carousel__next { margin-left: -8px; }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover:not(:disabled) { background: var(--sindoor); border-color: var(--sindoor); color: #fff; }
.carousel__btn:disabled { opacity: .35; cursor: default; }

.photo-grid { columns: 4 220px; column-gap: 12px; }
.photo-grid a {
  display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--paper-deep); position: relative;
}
.photo-grid img { width: 100%; transition: transform .5s ease, filter .3s; }
.photo-grid a:hover img { transform: scale(1.03); }
.photo-grid a::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42, 6, 16,.35), transparent 40%);
  opacity: 0; transition: opacity .3s;
}
.photo-grid a:hover::after { opacity: 1; }
@media (max-width: 480px) { .photo-grid { columns: 2; column-gap: 8px; } .photo-grid a { margin-bottom: 8px; } }

/* one row per year on the gallery page; the rest live on the year's event page */
.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-row a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); background: var(--paper-deep); }
.photo-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-row a:hover img { transform: scale(1.04); }
.year-cta { margin-top: 18px; }
@media (max-width: 860px) { .photo-row { grid-template-columns: repeat(3, 1fr); } .photo-row a:nth-child(n+4) { display: none; } }
@media (max-width: 520px) { .photo-row { grid-template-columns: repeat(2, 1fr); gap: 8px; } .photo-row a:nth-child(n+3) { display: none; } }

/* poster (events) */
.poster-wrap { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.poster-wrap .poster { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); display: block; }
@media (max-width: 860px) { .poster-wrap { grid-template-columns: 1fr; } }
.poster-wrap--clip { grid-template-columns: minmax(0, 340px) 1fr; }
.clip { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--night); }
.clip video { width: 100%; height: auto; aspect-ratio: 9 / 16; }
@media (max-width: 860px) { .poster-wrap--clip { grid-template-columns: 1fr; } .poster-wrap--clip .clip { max-width: 340px; } }
.past-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.past-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.past-list .bn { color: var(--sindoor); }
.past-list time { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* rituals cards */
.rituals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.ritual { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ritual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ritual picture { display: block; }
.ritual div { padding: 16px 18px 20px; }
.ritual h3 { font-size: 1.15rem; margin-bottom: 2px; }
.ritual .bn { color: var(--gold); font-size: 1rem; display: block; margin-bottom: 8px; }
.ritual p { color: var(--ink-soft); font-size: .96rem; margin: 0; line-height: 1.6; }
@media (max-width: 860px) { .rituals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .rituals { grid-template-columns: 1fr; } }

/* ---------- Edition seal: which year of the sarbojanin puja (since 1938) ---------- */
.page-hero__row { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; }
.page-hero__row > div { min-width: 0; }
.page-hero__row .countdown { margin-top: 24px; }
.page-hero p.lead strong { color: var(--gold-soft); font-weight: 600; }
.edition {
  --s: clamp(132px, 17vw, 196px);
  position: relative; flex: none; width: var(--s); height: var(--s); margin: 0; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: #fff; background: radial-gradient(circle at 50% 30%, var(--sindoor), var(--sindoor-deep) 72%);
  border: 3px solid var(--marigold);
  box-shadow: 0 0 0 6px rgba(255, 164, 21, .2), 0 0 0 7px rgba(255, 212, 126, .55), 0 18px 40px rgba(0, 0, 0, .35);
}
.edition::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 1.5px dashed rgba(255, 212, 126, .55); pointer-events: none; }
.edition__num { font-family: var(--font-display); font-weight: 700; font-size: calc(var(--s) * .34); line-height: 1; letter-spacing: -.02em; }
.edition__num sup { position: relative; top: -.85em; vertical-align: baseline; font-size: .4em; font-weight: 600; color: var(--gold-soft); margin-left: .06em; }
.edition__label { font-size: max(.62rem, calc(var(--s) * .062)); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--gold-soft); line-height: 1.2; margin-top: 2px; }
.edition__bn { font-size: max(.8rem, calc(var(--s) * .085)); line-height: 1.3; margin-top: 2px; }
.edition--sm { --s: 104px; border-width: 2px; box-shadow: 0 0 0 4px rgba(255, 164, 21, .25), 0 10px 24px rgba(0, 0, 0, .3); }
.edition--sm .edition__bn { display: none; }
@media (max-width: 640px) {
  .page-hero__row { flex-direction: column-reverse; align-items: flex-start; }
  .edition:not(.edition--sm) { --s: 124px; }
}

/* year cards (events hub) */
.editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 28px); list-style: none; }
.edition-card {
  display: flex; flex-direction: column; height: 100%; background: #fff; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s;
}
.edition-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.edition-card__img { position: relative; aspect-ratio: 16 / 9; background: var(--night); overflow: hidden; }
.edition-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.edition-card__img .edition { position: absolute; right: 16px; bottom: 16px; }
.edition-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.edition-card__status {
  align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(209, 15, 31, .08); color: var(--sindoor);
}
.edition-card__status--past { background: var(--paper); color: var(--muted); }
.edition-card h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 4px; }
.edition-card__dates { color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.edition-card__dates [lang="bn"] { font-weight: 400; }
.edition-card__body p { color: var(--ink-soft); }
.edition-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--sindoor); font-weight: 600; }
.edition-card__more svg { width: 18px; height: 18px; transition: transform .2s; }
.edition-card:hover .edition-card__more svg { transform: translateX(3px); }
@media (max-width: 720px) { .editions { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(24, 3, 9, 0.94); padding: 56px 64px;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox figcaption { color: #d8c6b4; font-size: .92rem; margin-top: 12px; text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 24px; left: 20px; color: #bba795; font-size: .9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .lightbox { padding: 64px 8px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
body.lb-lock { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--night-2), var(--night) 45%); color: #cdb9a5; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 36px; padding-block: 64px 40px; }
.site-footer h2 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--marigold); font-weight: 600; margin-bottom: 16px; }
.site-footer a { color: #f1e2cf; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand__mark { color: var(--marigold); }
.footer-brand p { max-width: 30em; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); }
.social a:hover { background: var(--sindoor); border-color: var(--sindoor); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: #a08b78; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 48px 28px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--sindoor); font-weight: 600; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .lightbox, .nav-toggle { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
