/* ==========================================================================
   lokeshchandela.in — main stylesheet
   Design tokens live in :root. Mobile-first; breakpoints at 640 / 900 / 1100px.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #14213d;            /* deep navy base */
  --ink-2: #24345c;
  --ink-soft: #4a5571;       /* body text on light */
  --paper: #fbf7f0;          /* warm off-white background */
  --paper-2: #f3ebdd;        /* tinted section */
  --card: #ffffff;
  --line: #e6dccb;
  --saffron: #e8821e;        /* primary accent */
  --saffron-deep: #c4650a;   /* accent text / hover (AA on paper) */
  --saffron-soft: #fde9d2;
  --green: #2e7d4f;          /* secondary accent */
  --green-soft: #dcefe3;
  --on-ink: #f4efe6;
  --on-ink-muted: #b9c0d3;

  /* Type */
  --font-display: "Fraunces", Georgia, "Noto Serif Devanagari", serif;
  --font-body: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  --fs-hero: clamp(2.6rem, 1.6rem + 5vw, 4.75rem);

  /* Space & shape */
  --gutter: 1rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(20 33 61 / 0.06), 0 8px 24px rgb(20 33 61 / 0.07);
  --shadow-lg: 0 2px 4px rgb(20 33 61 / 0.06), 0 18px 40px rgb(20 33 61 / 0.12);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Large-text toggle — everything is sized in rem, so this scales the page */
html.large-text { font-size: 118.75%; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }
h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:lang(hi) { font-family: var(--font-body); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 1.5rem; } }

.sr-only {
  position: absolute; 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: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: var(--on-ink); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* ---------- Placeholders (removed as real content arrives) ---------- */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  color: #a08f74; font-size: var(--fs-sm); font-weight: 500;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgb(160 143 116 / 0.08) 12px 24px),
    #efe6d6;
}
.ph i { font-size: 1.6rem; opacity: .8; }
.ph-square { aspect-ratio: 1 / 1; }
.ph-wide { aspect-ratio: 16 / 9; }
.ph-portrait { width: 100%; height: 100%; }
.ph-portrait i { font-size: 3rem; }
.ph-avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.ph-avatar i { font-size: 1.1rem; }
.placeholder-note { margin-top: 1.25rem; text-align: center; font-size: var(--fs-sm); color: var(--on-ink-muted); font-style: italic; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font: 600 1rem/1 var(--font-body); border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--saffron); color: #fff; box-shadow: 0 6px 18px rgb(232 130 30 / 0.35); }
.btn-primary:hover { background: var(--saffron-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-ink); }
.btn-outline { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-outline:hover { border-color: var(--saffron); color: var(--saffron-deep); }
.btn i { font-size: .85em; }

.text-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--saffron-deep); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link i { font-size: .8em; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 40px; padding: .4rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 500 .95rem/1 var(--font-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

.social-row { display: flex; gap: .6rem; }
.social-row a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
.social-row a:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(251 247 240 / 0.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgb(20 33 61 / 0.06); }
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 12px 12px 12px 2px; background: var(--ink); color: var(--saffron);
  font: 700 1.05rem/1 var(--font-display); letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.1rem/1.1 var(--font-display); color: var(--ink); }
.brand-sub { font-size: .85rem; color: var(--saffron-deep); font-weight: 500; }

.header-tools { display: flex; align-items: center; gap: .4rem; }
.tool-btn {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem;
  border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 600 .95rem/1 var(--font-body); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.tool-btn:hover { border-color: var(--ink); }
.tool-btn[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.tool-btn sup { font-size: .65em; }
.lang-btn { text-decoration: none; }

/* Mobile nav: slide-down panel */
.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: .5rem var(--gutter) 1.25rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.main-nav a {
  display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--line);
  font-weight: 500; font-size: 1.1rem; color: var(--ink);
}
.main-nav a[aria-current="page"] { color: var(--saffron-deep); }
.main-nav .nav-cta { margin-top: 1rem; border: 0; text-align: center; border-radius: 999px; background: var(--saffron); color: #fff; }

@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .main-nav {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: none; border: 0; box-shadow: none; padding: 0; order: 0;
  }
  .main-nav ul { display: flex; align-items: center; gap: .15rem; }
  .main-nav a { border: 0; padding: .5rem .7rem; font-size: 1rem; border-radius: 8px; position: relative; }
  .main-nav a:hover { color: var(--saffron-deep); }
  .main-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .15rem; height: 2px; background: var(--saffron);
  }
  .main-nav .nav-cta { margin: 0 0 0 .5rem; padding: .55rem 1.1rem; }
  .main-nav .nav-cta:hover { background: var(--saffron-deep); color: #fff; }
  .header-tools { margin-left: .5rem; }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--on-ink-muted); }
.section-ink h2, .section-ink h3 { color: var(--on-ink); }

.section-head { max-width: 640px; margin-bottom: 2.25rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .6rem;
  font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron-deep);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-ink .kicker { color: var(--saffron); }
.section-intro { margin-top: .9rem; font-size: var(--fs-lg); }
.section-foot { margin-top: 2.25rem; text-align: center; }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2rem, 1rem + 4vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 6rem);
}
.hero::before { /* faint rangoli-like dot texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(20 33 61 / 0.07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: .35rem .85rem; border-radius: 999px;
  background: var(--green-soft); color: var(--green); font-size: .9rem; font-weight: 600;
}
.hero-name { font: 700 var(--fs-hero)/1 var(--font-display); letter-spacing: -0.02em; }
.hero-name span { color: var(--saffron); }
.hero-name-hi { margin-top: .5rem; font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); font-weight: 600; color: var(--ink-2); }
.hero-mission { margin-top: 1.25rem; max-width: 34rem; font-size: var(--fs-lg); line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-copy .social-row { margin-top: 1.75rem; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 360px); }
.hero-sun {
  position: absolute; width: 78%; aspect-ratio: 1; right: -10%; top: -6%;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6b26b, var(--saffron) 70%);
  opacity: .9;
}
.arch-frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius); /* arch / doorway motif */
  border: 6px solid var(--card); box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; left: .75rem; bottom: 8%;
  display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: .95rem; color: var(--ink);
}
.hero-badge i { color: var(--green); font-size: 1.3rem; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .hero-visual { justify-self: end; width: 100%; max-width: 420px; }
  .hero-badge { left: -6%; }
}

/* ---------- 2. Impact ---------- */
.impact { background: var(--ink); color: var(--on-ink); padding: 2.75rem 0; position: relative; }
.impact::after { /* saffron + green band, a quiet nod without copying any flag/logo */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--saffron) 0 50%, var(--green) 50% 100%);
}
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
.impact-item { text-align: center; }
.impact-num { display: block; font: 700 clamp(2rem, 1.4rem + 2.5vw, 3.1rem)/1 var(--font-display); color: var(--saffron); font-variant-numeric: tabular-nums; }
.impact-label { display: block; margin-top: .45rem; font-size: 1rem; color: var(--on-ink-muted); }
@media (min-width: 900px) {
  .impact-grid { grid-template-columns: repeat(4, 1fr); }
  .impact-item + .impact-item { border-left: 1px solid rgb(255 255 255 / 0.12); }
}

/* ---------- 3. Areas of Work ---------- */
.work-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .work-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.work-card {
  position: relative; display: block; padding: 1.6rem 1.5rem 1.5rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; overflow: hidden;
}
.work-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--saffron); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.work-card:hover::before { transform: scaleY(1); }
.work-num {
  position: absolute; right: 1.25rem; top: .9rem;
  font: 700 2.4rem/1 var(--font-display); color: var(--paper-2);
}
.work-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem;
  border-radius: 14px; background: var(--saffron-soft); color: var(--saffron-deep); font-size: 1.35rem;
}
.work-card:nth-child(even) .work-icon { background: var(--green-soft); color: var(--green); }
.work-card h3 { margin-bottom: .4rem; }

/* ---------- 4. Social feed (rendered by js/feed.js) ---------- */
:root { --ig: #d62976; --fb: #1877f2; --x: #0f1419; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip[hidden] { display: none; }
.chip[data-filter="instagram"] i { color: var(--ig); }
.chip[data-filter="facebook"] i { color: var(--fb); }
.chip.is-active i { color: inherit; }

.feed-live {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem;
  font-size: var(--fs-sm); color: var(--ink-soft);
}
.feed-live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22a35a;
  box-shadow: 0 0 0 0 rgb(34 163 90 / .5); animation: live-pulse 2s infinite;
}
@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px rgb(34 163 90 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 163 90 / 0); } }

/* Masonry wall — posts keep their natural height */
.feed-wall { display: flex; align-items: flex-start; gap: 1.25rem; min-height: 240px; }
.feed-col { flex: 1; min-width: 0; display: grid; gap: 1.25rem; }
.feed-wall[aria-busy="true"] {
  border-radius: var(--radius);
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .6) 50%, transparent 70%) 0 0 / 200% 100%, var(--paper-2);
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0, 0 0; } }

.fpost {
  display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  border-top: 3px solid var(--brand, var(--line));
  transition: transform .25s var(--ease), box-shadow .25s;
  animation: fpost-in .5s var(--ease) both;
}
.fpost:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
@keyframes fpost-in { from { opacity: 0; transform: translateY(14px); } }
.fpost-instagram { --brand: var(--ig); }
.fpost-facebook { --brand: var(--fb); }
.fpost-x { --brand: var(--x); }

.fpost-head { display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem; }
.fpost-avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 10%;
  background: var(--paper-2);
}
.fpost-instagram .fpost-avatar { padding: 2px; background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.fpost-who { display: grid; line-height: 1.25; min-width: 0; }
.fpost-who strong { color: var(--ink); font-weight: 600; }
.fpost-who > span { font-size: var(--fs-sm); color: #7a7f8f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fpost-brand {
  margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border-radius: 50%; color: #fff; background: var(--brand); font-size: .95rem;
}
.fpost-instagram .fpost-brand { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

.fpost-open {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left;
  font: inherit; color: inherit; cursor: zoom-in;
}
.fpost-open:focus-visible { outline: 3px solid var(--saffron); outline-offset: -3px; }
.fpost-media { position: relative; display: block; overflow: hidden; background: var(--paper-2); }
.fpost-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.fpost:hover .fpost-media img { transform: scale(1.04); }
.fpost-x .fpost-media { margin: 0 1rem; border-radius: 12px; border: 1px solid var(--line); }
.fpost-x .fpost-open { display: flex; flex-direction: column-reverse; }

.fpost-play {
  position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: rgb(20 33 61 / .55); color: #fff; font-size: 1.2rem; padding-left: 4px;
  backdrop-filter: blur(4px); border: 2px solid rgb(255 255 255 / .8);
  transition: transform .25s var(--ease), background-color .25s;
}
.fpost:hover .fpost-play, a.fpost-play:hover { transform: scale(1.1); background: var(--saffron); }
.fpost-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .55rem; border-radius: 999px; background: rgb(0 0 0 / .6); color: #fff;
  font-size: .78rem; font-weight: 600; line-height: 1.4;
}
.fpost-dur { left: .6rem; bottom: .6rem; }
.fpost-count { right: .6rem; top: .6rem; }
.fpost-dots { position: absolute; left: 0; right: 0; bottom: .6rem; display: flex; justify-content: center; gap: 4px; }
.fpost-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / .55); }
.fpost-dots i.on { background: #fff; }

.fpost-text {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  padding: .85rem 1rem 0; color: var(--ink); line-height: 1.55;
}
.fpost-x .fpost-text { padding-top: 0; margin-bottom: .85rem; -webkit-line-clamp: 6; }
.fpost-textonly .fpost-text { font-size: 1.12rem; -webkit-line-clamp: 8; }
.fpost-text .tag, .fviewer-text .tag { color: var(--brand); font-weight: 500; }
.fpost-instagram .tag { color: #a3215f; }
.fpost-x .tag { color: #1d72b8; }

.fpost-foot {
  display: flex; align-items: center; gap: .5rem; margin-top: .85rem; padding: .7rem 1rem;
  border-top: 1px solid #f0e9dd;
}
.fpost-stats { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: var(--fs-sm); color: #6b7183; }
.fpost-stats > span { display: inline-flex; align-items: center; gap: .35rem; }
.fpost-instagram .fpost-stats .fa-heart { color: #e0245e; }
.fpost-facebook .fpost-stats .fa-thumbs-up { color: var(--fb); }
.fpost-ext {
  margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  color: #7a7f8f; font-size: .85rem; transition: background-color .2s, color .2s;
}
.fpost-ext:hover { background: var(--paper-2); color: var(--brand); }
.feed-toolbar { align-items: center; margin-bottom: 1.75rem; }
.feed-toolbar .feed-live { margin: 0; }
.fpost-empty { flex: 1; padding: 2rem 1rem; text-align: center; color: var(--ink-soft); }

/* Post viewer */
html.has-modal { overflow: hidden; }
.fviewer {
  width: min(1040px, 100vw - 2rem); max-height: calc(100dvh - 2rem); padding: 0; border: 0;
  border-radius: var(--radius); background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.fviewer::backdrop { background: rgb(14 22 42 / .82); backdrop-filter: blur(3px); }
.fviewer[open] { animation: fviewer-in .3s var(--ease); }
@keyframes fviewer-in { from { opacity: 0; transform: scale(.97); } }
.fviewer-inner { display: grid; max-height: calc(100dvh - 2rem); overflow: auto; }
@media (min-width: 860px) {
  .fviewer-inner { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); overflow: hidden; }
  .fviewer.is-textonly { width: min(560px, 100vw - 2rem); }
  .fviewer.is-textonly .fviewer-inner { grid-template-columns: 1fr; }
  .fviewer-side { overflow: auto; max-height: calc(100dvh - 2rem); }
}
.fviewer-media { position: relative; display: grid; place-items: center; background: #0e162a; min-height: 260px; }
.fviewer-media[hidden] { display: none; }
.fviewer-media img { max-width: 100%; max-height: calc(100dvh - 2rem); object-fit: contain; }
@media (max-width: 859px) { .fviewer-media img { max-height: 60dvh; } }
.fviewer-nav {
  position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .9); color: var(--ink); box-shadow: var(--shadow);
}
.fviewer-nav:disabled { opacity: 0; pointer-events: none; }
.fviewer-nav.prev { left: .75rem; }
.fviewer-nav.next { right: .75rem; }
.fviewer-side { display: flex; flex-direction: column; padding-bottom: 1.25rem; }
.fviewer-side .fpost-head { padding: 1rem 4rem 1rem 1.25rem; border-bottom: 1px solid #f0e9dd; }
.fviewer-text { padding: 1rem 1.25rem 0; line-height: 1.65; }
.fviewer.is-textonly .fviewer-text { font-size: 1.2rem; }
.fviewer-text a { color: #1d72b8; word-break: break-all; }
.fviewer-date { margin: 1rem 1.25rem 0; font-size: var(--fs-sm); color: #7a7f8f; }
.fviewer .fpost-stats { margin: .6rem 1.25rem 0; padding: .7rem 0; border-block: 1px solid #f0e9dd; }
.fviewer-actions { display: flex; align-items: center; gap: .6rem; margin: 1rem 1.25rem 0; }
.fviewer-actions .share-btn { width: 44px; height: 44px; }
.fviewer-close {
  position: absolute; z-index: 2; right: .7rem; top: .7rem; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .92); color: var(--ink); font-size: 1.1rem; box-shadow: var(--shadow);
}

/* ---------- 5. Journey ---------- */
.timeline { display: grid; gap: 0; position: relative; }
.tl-item { position: relative; padding: 0 0 2rem 2.25rem; }
.tl-item::before { /* line */
  content: ""; position: absolute; left: 7px; top: 8px; bottom: -8px; width: 2px; background: var(--line);
}
.tl-item:last-child::before { display: none; }
.tl-item::after { /* dot */
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--saffron);
}
.tl-item:last-child::after { background: var(--saffron); }
.tl-year { display: inline-block; font: 700 1.05rem/1 var(--font-display); color: var(--saffron-deep); margin-bottom: .45rem; }
.tl-item h3 { margin-bottom: .3rem; }

@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .tl-item { padding: 2.5rem 0 0; }
  .tl-item::before { left: 8px; right: -1.5rem; top: 7px; bottom: auto; width: auto; height: 2px; }
  .tl-item::after { top: 0; }
}

/* ---------- 6. Events ---------- */
.events-layout { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .events-layout { grid-template-columns: 1.3fr 1fr; gap: 1.5rem; } }
.event-feature {
  position: relative; display: flex; gap: 1.25rem; padding: 1.5rem;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--green);
}
.event-tag {
  position: absolute; top: -.85rem; right: 1.25rem; padding: .2rem .75rem; border-radius: 999px;
  background: var(--green); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.event-date {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 72px; height: 80px; border-radius: 12px; background: var(--ink); color: var(--on-ink);
}
.event-date .d { font: 700 1.9rem/1 var(--font-display); }
.event-date .m { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--saffron); }
.event-date.small { width: 56px; height: 60px; background: var(--paper-2); color: var(--ink); }
.event-date.small .d { font-size: 1.4rem; }
.event-date.small .m { color: var(--saffron-deep); font-size: .75rem; }
.event-info { display: grid; gap: .45rem; }
.event-meta { display: flex; align-items: center; gap: .45rem; font-size: .95rem; color: var(--ink-2); }
.event-meta i { width: 1rem; color: var(--saffron-deep); }
.event-list { display: grid; gap: .75rem; align-content: start; }
.event-row { display: flex; gap: 1rem; align-items: center; padding: .85rem; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.event-row h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.event-list .text-link { margin-top: .5rem; }
@media (max-width: 479px) {
  .event-feature { flex-direction: column; }
  .event-feature .event-date { flex-direction: row; gap: .5rem; width: auto; height: auto; padding: .5rem .9rem; align-self: flex-start; }
}

.share-row { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; font-size: var(--fs-sm); color: #7a7f8f; }
.share-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; transition: transform .2s; }
.share-btn:hover { transform: scale(1.08); }
.share-btn.wa { background: #25d366; }
.share-btn.fb { background: #1877f2; }
.share-btn.x { background: #111; }

/* ---------- 7. Media ---------- */
.media-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .media-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.media-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s;
}
.media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.media-body { padding: 1rem 1.15rem 1.25rem; }
.media-outlet { font-size: var(--fs-sm); font-weight: 600; color: var(--saffron-deep); margin-bottom: .35rem; }
.media-card h3 { font-size: 1.1rem; }

/* ---------- 8. Testimonials ---------- */
.quote-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.quote-card {
  margin: 0; padding: 1.75rem 1.5rem 1.5rem; position: relative;
  background: var(--ink-2); border-radius: var(--radius); display: flex; flex-direction: column; gap: 1.25rem;
}
.quote-card::before {
  content: "“"; position: absolute; top: -.2rem; right: 1.1rem;
  font: 700 5rem/1 var(--font-display); color: var(--saffron); opacity: .5;
}
.quote-card blockquote { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--on-ink); }
.quote-card figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; font-size: .95rem; line-height: 1.35; }
.quote-card figcaption strong { color: var(--on-ink); }
.section-ink .ph { background: rgb(255 255 255 / 0.08); color: var(--on-ink-muted); }

/* ---------- 9. Connect ---------- */
.connect { background: linear-gradient(180deg, var(--paper) 0%, var(--saffron-soft) 100%); }
.connect .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.connect-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .connect-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.connect-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem;
  padding: 1.5rem 1rem; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s; min-width: 0;
}
.connect-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.connect-card > i { font-size: 1.6rem; color: var(--saffron-deep); margin-bottom: .35rem; }
.connect-card .fa-whatsapp { color: #1fa855; }
.connect-label { font-weight: 600; color: var(--ink); }
.connect-value { font-size: .92rem; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 3.5rem 0 0; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .brand-name { color: var(--on-ink); }
.site-footer .brand-mark { background: var(--saffron); color: var(--ink); }
.site-footer .brand-sub { color: var(--saffron); }
.footer-brand p { margin: 1rem 0 1.25rem; max-width: 26rem; }
.site-footer .social-row a { background: transparent; border-color: rgb(255 255 255 / 0.2); color: var(--on-ink); }
.site-footer .social-row a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.footer-links h2 { font: 600 .85rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 1rem; }
.footer-links li + li { margin-top: .55rem; }
.footer-links a:hover { color: var(--saffron); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 1.25rem; padding-bottom: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.12); font-size: var(--fs-sm);
}
.site-footer .text-link { color: var(--saffron); }

/* ---------- Scroll reveal (enabled by main.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.25rem, 1.5rem + 3vw, 4rem) 0 clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(20 33 61 / 0.07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to left, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
}
.page-hero::after { /* small sun motif, echoes the home hero */
  content: ""; position: absolute; width: 220px; aspect-ratio: 1; right: -60px; top: -80px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6b26b, var(--saffron) 70%); opacity: .85;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: .5rem; font-size: var(--fs-sm); margin-bottom: 1rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--saffron-deep); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font: 700 clamp(2.2rem, 1.5rem + 3.5vw, 3.6rem)/1.05 var(--font-display); letter-spacing: -0.02em; }
.page-hero-hi { margin-top: .35rem; font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); font-weight: 600; color: var(--saffron-deep); }
.page-hero-intro { margin-top: 1rem; max-width: 40rem; font-size: var(--fs-lg); }
@media (max-width: 639px) { .page-hero::after { width: 140px; right: -50px; top: -60px; } }

.section-sm { padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0; }
.filter-bar.spaced { margin-bottom: 1.75rem; }
[data-cat][hidden] { display: none !important; }

.notice {
  display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.15rem; margin-bottom: 1.75rem;
  border-radius: var(--radius); background: var(--saffron-soft); color: var(--ink); font-size: .98rem;
}
.notice i { color: var(--saffron-deep); margin-top: .3rem; }
.notice.green { background: var(--green-soft); }
.notice.green i { color: var(--green); }

.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.center { text-align: center; }

/* ---------- Prose (bio, privacy) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); margin: 2.25rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5rem 0 .5rem; }
.prose p, .prose ul { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose li + li { margin-top: .35rem; }
.prose a { color: var(--saffron-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: var(--fs-lg); color: var(--ink); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 360px 1fr; gap: 4rem; } }
.about-aside { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .about-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.about-aside .arch-frame { max-width: 360px; }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem 1.25rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

.values-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .values-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.value-card { padding: 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.value-card .work-icon { margin-bottom: .85rem; }
.value-card h3 { margin-bottom: .35rem; }

/* Vertical timeline (full journey) */
.timeline-v { position: relative; max-width: 52rem; }
.timeline-v .tl-item { padding: 0 0 2.25rem 2.5rem; }
.timeline-v .tl-item::before { left: 7px; right: auto; top: 8px; bottom: -8px; width: 2px; height: auto; }
.timeline-v .tl-item::after { top: 4px; }
.timeline-v .tl-item p { max-width: 40rem; }
@media (min-width: 900px) {
  .timeline-v { display: block; }
  .timeline-v .tl-item { display: grid; grid-template-columns: 7rem 1fr; gap: 0 1.5rem; padding-left: 2.5rem; }
  .timeline-v .tl-year { grid-row: span 2; padding-top: .1rem; }
}

.award-list { display: grid; gap: .75rem; }
@media (min-width: 760px) { .award-list { grid-template-columns: repeat(2, 1fr); } }
.award {
  display: flex; gap: 1rem; align-items: center; padding: 1rem 1.15rem;
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
}
.award i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--saffron-soft); color: var(--saffron-deep); font-size: 1.15rem; }
.award h3 { font-size: 1.05rem; }
.award p { font-size: var(--fs-sm); }

/* FAQ */
.faq { max-width: 52rem; display: grid; gap: .75rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-body); color: var(--saffron-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.15rem; }

/* ---------- Work ---------- */
.area-block { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.area-block:first-of-type { border-top: 0; padding-top: 0; }
.area-head { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 900px) { .area-head { grid-template-columns: 1fr auto; align-items: end; } }
.area-title { display: flex; align-items: center; gap: 1rem; }
.area-title .work-icon { margin: 0; }
.area-title .work-num { position: static; font-size: 1rem; color: var(--saffron-deep); display: block; }
.area-head p { max-width: 40rem; margin-top: .5rem; }
.area-stat { display: flex; gap: 1.5rem; }
.area-stat div { text-align: right; }
.area-stat strong { display: block; font: 700 1.7rem/1 var(--font-display); color: var(--ink); }
.area-stat span { font-size: var(--fs-sm); }
@media (max-width: 899px) { .area-stat div { text-align: left; } }
.area-block:nth-of-type(even) .work-icon { background: var(--green-soft); color: var(--green); }

.card-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.init-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.init-body { display: grid; gap: .4rem; padding: 1rem 1.15rem 1.15rem; }
.init-card h3 { font-size: 1.1rem; }
.init-card .share-row { margin-top: .35rem; }

/* ---------- Updates ---------- */
.follow-band { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2.5rem; }
.btn-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; }
.btn-facebook { background: var(--fb); color: #fff; }
.btn-x { background: var(--x); color: #fff; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.gallery-item figcaption { padding: .6rem .8rem .75rem; font-size: .92rem; color: var(--ink); line-height: 1.35; }
.gallery-item figcaption span { display: block; font-size: .8rem; color: var(--ink-soft); }
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item.is-wide .ph { aspect-ratio: 2 / 1; }
.play-badge {
  position: absolute; top: .6rem; right: .6rem; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: rgb(20 33 61 / 0.85); color: #fff; font-size: .8rem;
}

/* ---------- Media ---------- */
.media-type {
  display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .5rem; padding: .15rem .6rem;
  border-radius: 999px; background: var(--paper-2); color: var(--ink); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
}
.kit-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .kit-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.kit-card { display: grid; gap: .5rem; justify-items: start; padding: 1.5rem; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.kit-card > i { font-size: 1.6rem; color: var(--saffron-deep); }

/* ---------- Events ---------- */
.event-cards { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .event-cards.two { grid-template-columns: repeat(2, 1fr); } }
.past-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .past-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .past-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.past-card { position: relative; }
.past-card .event-date.small { position: absolute; top: .75rem; left: .75rem; background: var(--card); box-shadow: var(--shadow); }
.list-heading { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); font-family: var(--font-display); margin: 0 0 1.25rem; }
.list-heading + * { margin-bottom: 3rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.3fr; gap: 2rem; } }
.info-card { padding: 1.5rem; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.info-card h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.info-card address { font-style: normal; color: var(--ink); line-height: 1.6; }
.hours { margin-top: 1.25rem; display: grid; gap: .4rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .4rem; border-bottom: 1px dashed var(--line); }
.hours dt { color: var(--ink-soft); }
.hours dd { margin: 0; font-weight: 600; color: var(--ink); }
.map-ph { border-radius: var(--radius); overflow: hidden; min-height: 320px; background: var(--paper-2); box-shadow: var(--shadow); }
.map-ph .ph { height: 100%; min-height: 320px; }
.map-embed { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--radius); }
.text-link[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.main-nav .nav-cta[aria-current="page"] { color: #fff; }
.main-nav .nav-cta[aria-current="page"]::after { display: none; }

/* Portrait photo inside the arch (white studio background) */
.arch-frame:has(.portrait) { background: #fff; }
.portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* ---------- Photos (stock stand-ins until real photos arrive) ---------- */
img.cover { width: 100%; object-fit: cover; display: block; background: var(--paper-2); }
.ar-square { aspect-ratio: 1 / 1; }
.ar-wide { aspect-ratio: 16 / 9; }
.gallery-item.is-wide img.cover { aspect-ratio: 2 / 1; }
img.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; }
.post-card img.cover, .media-card img.cover, .init-card img.cover, .gallery-item img.cover { transition: transform .5s var(--ease); }
.post-card:hover img.cover, .media-card:hover img.cover, .gallery-item:hover img.cover { transform: scale(1.04); }

/* BJP lotus in front of the name (header + footer) */
.brand-lotus { display: block; flex: none; width: auto; height: 46px; }
.site-footer .brand-lotus { height: 54px; padding: 6px; background: #fff; border-radius: 12px; }
@media (max-width: 380px) { .brand-lotus { height: 40px; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blog-grid:not(.two) { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card img.cover { transition: transform .5s var(--ease); }
.blog-card:hover img.cover { transform: scale(1.04); }
.blog-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.25rem 1.3rem; flex: 1; }
.blog-card h2, .blog-card h3 { font: 700 1.25rem/1.4 var(--font-body); color: var(--ink); }
.blog-card:hover h2, .blog-card:hover h3 { color: var(--saffron-deep); }
.blog-body p { color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-body .blog-meta { margin-top: auto; padding-top: .35rem; font-size: var(--fs-sm); color: #7a7f8f; }
.blog-tag {
  align-self: flex-start; display: inline-block; padding: .2rem .7rem; border-radius: 999px;
  background: var(--saffron-soft); color: var(--saffron-deep); font-size: .85rem; font-weight: 600;
}

.article-hero h1 { max-width: 48rem; margin-top: .75rem; font: 700 clamp(1.8rem, 1.3rem + 2.4vw, 2.8rem)/1.3 var(--font-body); letter-spacing: 0; }
.article-meta { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.5; }
.article-meta strong { color: var(--ink); font-size: 1rem; }
.article-section { padding-top: 2.5rem; }
.article-section .container { max-width: calc(46rem + 2 * var(--gutter)); }
.article-cover { margin: 0 0 2.25rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { font-size: 1.15rem; line-height: 1.85; }
.article-body .lead { font-size: 1.3rem; line-height: 1.75; }
.article-body h2 { font-family: var(--font-body); font-weight: 700; }
.article-share { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ---------- Editable sections (js/content.js) ---------- */
[data-content][aria-busy="true"] { min-height: 160px; }
.content-empty { color: var(--ink-soft); }

/* ---------- Custom sections (data/sections.json, built in /admin) ---------- */
.cs-banner { padding: .9rem 0; color: #fff; background: var(--saffron-deep); }
.cs-banner.cs-green { background: var(--green); }
.cs-banner.cs-ink { background: var(--ink); }
.cs-banner-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.cs-banner-inner > i { font-size: 1.15rem; opacity: .9; }
.cs-banner-inner p { flex: 1 1 16rem; margin: 0; font-weight: 500; line-height: 1.45; }
.btn-light { min-height: 40px; padding: .5rem 1.1rem; background: #fff; color: var(--ink); font-size: .95rem; }
.btn-light:hover { background: var(--paper); }

.cs-story-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) {
  .cs-story-inner { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
  .cs-story-inner.is-flipped .cs-collage { order: 2; }
}
.cs-copy .section-head { margin-bottom: 1rem; }
.cs-copy .prose { margin-bottom: 1.5rem; }
.cs-collage { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.cs-collage img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.cs-collage.n1 { grid-template-columns: 1fr; }
.cs-collage.n1 img { aspect-ratio: 4 / 3; }
.cs-collage.n2 img { aspect-ratio: 3 / 4; }
.cs-collage.n3 img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.cs-collage:empty { display: none; }

.cs-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .cs-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1100px) { .cs-grid { grid-template-columns: repeat(4, 1fr); } }
.cs-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }

.cs-video { position: relative; aspect-ratio: 16 / 9; max-width: 56rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.cs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-caption { margin-top: .75rem; color: var(--ink-soft); font-size: var(--fs-sm); }
.gallery-item > a { display: block; color: inherit; }
