/* =====================================================================
   শ্ৰীশ্ৰীসন্ত সমাজ অসম · Sri Sri Santa Samaj Assam
   Design language: Namghar architecture + Gamosa weave
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette drawn from the gamosa, muga silk, bell metal and namghar timber */
  --ink:       #1A1108;   /* dark namghar timber */
  --ink-2:     #2C1E12;
  --ink-3:     #4A3726;
  --cream:     #FDF9F1;   /* gamosa cotton white */
  --sand:      #F4E9D6;   /* bamboo */
  --sand-2:    #E6D5B8;
  --red:       #C6252B;   /* gamosa red — primary */
  --red-deep:  #8E161B;
  --muga:      #C08A2E;   /* muga silk / bell metal */
  --muga-lite: #E0B457;
  --paddy:     #2E4A32;
  --muted:     #6F5F4C;
  --line:      rgba(26, 17, 8, 0.11);
  --line-2:    rgba(26, 17, 8, 0.20);
  --white:     #ffffff;

  /* Semantic aliases used by the compact mobile composition. */
  --paper:     var(--cream);
  --gold:      var(--muga-lite);
  --serif:     var(--display);
  --line-strong: var(--line-2);
  --max:       var(--maxw);

  --display: "Fraunces", Georgia, serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --beng:    "Noto Sans Bengali", sans-serif;
  --beng-s:  "Noto Serif Bengali", "Noto Sans Bengali", serif;

  --gut: clamp(20px, 4vw, 48px);
  --maxw: 1280px;
  --maxw-narrow: 940px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;

  /* gamosa divider + marquee, kept visible in the first screen */
  --strip-h: 112px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--red); color: var(--cream); }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: var(--maxw-narrow); }

.section { padding-block: clamp(58px, 7vw, 104px); }
.section-sm { padding-block: clamp(44px, 5vw, 72px); }

.bg-sand  { background: var(--sand); }
.bg-white { background: var(--white); }
.bg-ink   { background: var(--ink); color: var(--sand); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--cream); }

/* ---------- 4. Gamosa weave divider ---------- */
.gamosa {
  height: 26px;
  background: var(--cream) url("../assets/gamosa-border.svg") repeat-x center / auto 26px;
  border-block: 1px solid rgba(198, 37, 43, 0.18);
}
.gamosa-ink {
  background-color: var(--ink);
  opacity: 0.95;
  border-block-color: rgba(198, 37, 43, 0.32);
}
.gamosa-sand { background-color: var(--sand); }

/* ---------- 5. Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--beng);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: .55; }
.bg-ink .eyebrow { color: var(--muga-lite); }

.eyebrow-en {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 10px;
}
.bg-ink .eyebrow-en { color: rgba(253,249,241,.45); }

.h-display { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -0.032em; }
.h1 { font-size: clamp(34px, 5.2vw, 70px); }
.h2 { font-size: clamp(29px, 4.2vw, 56px); }
.h3 { font-size: clamp(20px, 2.1vw, 27px); line-height: 1.18; }
.h4 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; }

/* Assamese headline sitting above the English one */
.as-head {
  display: block;
  font-family: var(--beng-s);
  font-weight: 600;
  font-size: clamp(17px, 1.9vw, 25px);
  line-height: 1.45;
  color: var(--red);
  letter-spacing: 0;
  margin-bottom: 10px;
}
.bg-ink .as-head { color: var(--muga-lite); }

/* Assamese body paragraph */
.as-text {
  font-family: var(--beng);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.9;
  color: var(--muted);
  padding-left: 18px;
  border-left: 2px solid rgba(198, 37, 43, 0.28);
}
.bg-ink .as-text { color: rgba(253,249,241,.6); border-left-color: rgba(224,180,87,.35); }

.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.62; color: var(--muted); }
.bg-ink .lead { color: rgba(253, 249, 241, 0.66); }

.italic-accent {
  font-style: italic;
  color: var(--red);
}
.bg-ink .italic-accent { color: var(--muga-lite); }

.beng { font-family: var(--beng); }
.small-caps {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- 6. Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14.5px;
  font-weight: 600;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), color .35s var(--ease-soft);
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--cream); }
.btn .arw { transition: transform .45s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn-red { --btn-bg: var(--red); --btn-fg: var(--cream); }
.btn-red::before { background: var(--ink); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { --btn-fg: var(--cream); }

/* .hero is deliberately absent here — it is a light section now, so its ghost
   button keeps the default dark-on-paper treatment. */
.bg-ink .btn-ghost, .parallax .btn-ghost {
  --btn-fg: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(253,249,241,.28);
}
.bg-ink .btn-ghost::before, .parallax .btn-ghost::before { background: var(--cream); }
.bg-ink .btn-ghost:hover, .parallax .btn-ghost:hover { color: var(--ink); }

.btn-as {
  font-family: var(--beng);
  font-size: 13.5px;
  opacity: .78;
  font-weight: 500;
}

/* ---------- 7. Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.pre-mark {
  font-family: var(--beng-s);
  font-size: clamp(22px, 4vw, 34px);
  color: var(--cream);
  opacity: 0;
  animation: preIn 1.1s var(--ease) forwards;
  text-align: center;
}
.pre-mark span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .3em; color: var(--muga-lite); margin-top: 12px; text-transform: uppercase; }
.pre-bar {
  position: absolute; bottom: 0; left: 0;
  height: 3px; width: 100%;
  background: url("../assets/gamosa-border.svg") repeat-x center / auto 22px, var(--red);
  transform: scaleX(0); transform-origin: left;
  animation: preBar 1.1s var(--ease) forwards;
}
@keyframes preIn  { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: none; } }
@keyframes preBar { to { transform: scaleX(1); } }

/* ---------- 8. Progress + cursor ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--red), var(--muga));
  z-index: 1200;
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 1300;
  border-radius: 50%; mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: #fff; }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.6);
  transition: width .3s var(--ease), height .3s var(--ease);
}
.cursor-ring.grow { width: 62px; height: 62px; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- 9. Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  padding-block: 16px;
  transition: transform .55s var(--ease), background .45s var(--ease-soft),
              padding .45s var(--ease-soft), box-shadow .45s;
}
.header.scrolled {
  background: rgba(253, 249, 241, 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  padding-block: 9px;
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(26,17,8,.06);
}
.header.hidden { transform: translateY(-105%); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red);
  color: var(--cream);
  font-family: var(--beng-s);
  font-size: 20px; line-height: 1;
  transition: background .4s var(--ease-soft), transform .5s var(--ease);
}
.brand:hover .brand-mark { background: var(--ink); transform: rotate(-8deg); }
.brand-txt { line-height: 1.2; }
.brand-txt b {
  display: block;
  font-family: var(--beng-s);
  font-size: 16px; font-weight: 600;
}
.brand-txt span {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--red);
}

/* The hero is paper-light, so the header reads dark from the very top —
   it no longer needs the light-on-dark treatment it had over the old photo. */
.header:not(.scrolled) .nav a { color: var(--ink-3); }
.header:not(.scrolled) .nav a:hover { color: var(--red); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; font-size: 13.5px; font-weight: 500; color: var(--ink-3); transition: color .3s; }
.nav a i {
  display: block;
  font-family: var(--beng);
  font-style: normal;
  font-size: 11px;
  opacity: .62;
  line-height: 1.35;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: flex; align-items: center; gap: 13px; }
.btn-nav { padding: 11px 22px; font-size: 13px; }

.burger {
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 17px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .25s; }
.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 1050;
  background: var(--ink);
  padding: 108px var(--gut) 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .75s var(--ease);
  visibility: hidden;
  overflow-y: auto;
}
.menu-open .drawer { clip-path: inset(0 0 0 0); visibility: visible; }
.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav a {
  color: var(--cream);
  padding-block: 9px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.drawer nav a b { display: block; font-family: var(--beng-s); font-size: clamp(21px, 5.4vw, 28px); font-weight: 600; color: var(--muga-lite); }
.drawer nav a em { display: block; font-family: var(--display); font-style: normal; font-size: clamp(20px, 5vw, 27px); }
.menu-open .drawer nav a { opacity: 1; transform: none; }
.drawer-foot { color: rgba(253,249,241,.5); font-size: 13.5px; margin-top: 30px; }
.drawer-foot a { color: var(--muga-lite); }

/* ---------- 10. Hero (light) ----------
   The first screen used to be a dark photograph under a heavy scrim, with
   cream type sitting on top of it. Lightening that scrim only makes the type
   worse, so the hero is inverted instead: paper background, near-black
   headline (~14:1), and the photography given its own bright panel where it
   is never dimmed to keep words readable. */
.hero {
  position: relative;
  min-height: calc(100svh - var(--strip-h));
  display: flex; align-items: center;
  padding-top: clamp(96px, 12vh, 132px);
  padding-bottom: clamp(30px, 5vh, 58px);
  background: var(--cream);
  overflow: hidden;
}
/* a barely-there warm bloom so the paper is not flat white */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 58% at 78% 22%, rgba(224,180,87,.20), transparent 62%),
    radial-gradient(58% 52% at 6% 88%, rgba(198,37,43,.07), transparent 66%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

/* First-screen relief spotlight: the active work leads before credentials. */
.hero-relief-spotlight {
  position: relative;
  width: min(100%, 590px);
  min-height: 82px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 12px 14px 12px 12px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(253,249,241,.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 20%, rgba(224,180,87,.28), transparent 30%),
    linear-gradient(120deg, #3d1013 0%, #7c181e 60%, #aa242a 100%);
  color: var(--cream);
  box-shadow: 0 18px 44px rgba(91,18,23,.22), 6px 6px 0 rgba(224,180,87,.11);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.hero-relief-spotlight::after {
  content: "RELIEF";
  position: absolute;
  z-index: -1;
  right: 74px;
  bottom: -16px;
  color: rgba(253,249,241,.055);
  font: 800 50px/.9 var(--sans);
  letter-spacing: -.06em;
}
.hero-relief-spotlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(91,18,23,.29), 6px 8px 0 rgba(224,180,87,.13);
}
.relief-spotlight-mark {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(253,249,241,.26);
  border-radius: 17px;
  background: rgba(253,249,241,.1);
}
.relief-spotlight-mark i {
  position: absolute;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(224,180,87,.72);
  border-radius: 50%;
  animation: spotlightRipple 3.2s ease-in-out infinite;
}
.relief-spotlight-mark i:nth-child(2) { width: 25px; height: 25px; animation-delay: .35s; }
.relief-spotlight-mark i:nth-child(3) { width: 11px; height: 11px; background: var(--muga-lite); border: 0; animation-delay: .7s; }
@keyframes spotlightRipple {
  0%, 100% { opacity: .55; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.06); }
}
.relief-spotlight-copy { min-width: 0; }
.relief-spotlight-copy small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  color: var(--muga-lite);
  font: 700 8px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.relief-spotlight-copy small i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--muga-lite);
  box-shadow: 0 0 0 5px rgba(224,180,87,.12);
}
.relief-spotlight-copy strong {
  display: block;
  color: var(--cream);
  font: 650 clamp(14px, 1.2vw, 17px)/1.3 var(--sans);
}
.relief-spotlight-copy strong span {
  margin-right: 4px;
  color: var(--cream);
  font-family: var(--beng-s);
}
.relief-spotlight-action {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(253,249,241,.76);
  font: 700 9px/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.relief-spotlight-action i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--red-deep);
  font: 700 14px/1 var(--sans);
  transition: transform .4s var(--ease);
}
.hero-relief-spotlight:hover .relief-spotlight-action i { transform: translateX(3px); }

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid rgba(26,17,8,.14);
  color: var(--ink-2);
  font-size: 12.5px; font-weight: 600;
  margin-bottom: 14px;
}
.hero-pill i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px rgba(198,37,43,.16);
  font-style: normal;
}

.hero-as {
  display: block;
  font-family: var(--beng-s); font-weight: 600;
  font-size: clamp(19px, 2.4vw, 30px);
  color: var(--red);
  margin-bottom: 6px;
  line-height: 1.3;
}
.hero h1 { color: var(--ink); max-width: 14ch; }

.hero-sub {
  margin-top: 15px; max-width: 46ch;
  color: var(--ink-3);
  font-size: clamp(16px, 1.32vw, 19px);
  line-height: 1.62;
}
.hero-sub-as {
  margin-top: 9px; max-width: 52ch;
  font-family: var(--beng);
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.85;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.hero-foot {
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.hero-facts { display: flex; gap: clamp(26px, 4.5vw, 62px); flex-wrap: wrap; }
.fact b {
  display: block; font-family: var(--display);
  font-size: clamp(26px, 3vw, 40px); font-weight: 500;
  color: var(--ink); line-height: 1; letter-spacing: -0.03em;
}
.fact span {
  display: block; margin-top: 7px;
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted);
}
.fact i {
  display: block; font-style: normal; font-family: var(--beng);
  font-size: 12.5px; color: var(--red);
}

/* ---------- 10b. Hero figure ---------- */
.hero-figure { position: relative; }
.hero-stage {
  position: relative;
  aspect-ratio: 4 / 4.5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand-2);
  border: 1px solid rgba(198,37,43,.16);
  box-shadow: 14px 14px 0 var(--sand-2), 0 34px 74px rgba(26,17,8,.18), 0 2px 0 rgba(255,255,255,.6) inset;
}
.hero-frame {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease-soft);
}
.hero-frame.on { opacity: 1; }
.hero-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, center 45%);
  /* shown at full brightness — no type sits on it */
  filter: var(--grade);
  transform: scale(1.1);
}
.hero-frame.on img { transform: scale(1); transition: transform 11s linear; }

/* only enough shading to seat the floating card, never across the subject */
.hero-stage::after {
  content: "";
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(0deg, rgba(26,17,8,.34) 0%, rgba(26,17,8,0) 26%);
}
.hero-meta {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 22px; margin-top: 18px;
}
.hero-cap {
  position: relative;
  flex: 1;
  min-height: 122px;
  padding: 14px 18px 13px 20px;
  border-left: 3px solid var(--red);
  background: linear-gradient(100deg, rgba(198,37,43,.055), rgba(198,37,43,0) 78%);
  transition: opacity .5s var(--ease-soft);
}
.hero-cap span { display: block; }
.hero-cap .cap-kicker {
  margin-bottom: 7px;
  font-size: 9px; font-weight: 700; line-height: 1.2;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
}
.hero-cap .cap-title {
  display: flex; align-items: baseline; gap: 9px 12px; flex-wrap: wrap;
}
.hero-cap .cap-title b {
  font-family: var(--beng-s); font-weight: 600;
  font-size: clamp(14px, 1.3vw, 17px); line-height: 1.45;
  color: var(--ink-2);
}
.hero-cap .cap-title strong {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(15px, 1.4vw, 19px); line-height: 1.25;
  letter-spacing: -.015em; color: var(--ink);
}
.hero-cap .cap-value {
  margin-top: 5px;
  max-width: 54ch;
  font-size: 11.5px; line-height: 1.55; color: var(--muted);
}
.hero-cap .cap-credit {
  margin-top: 6px;
  font-size: 8.5px; line-height: 1.3;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(26,17,8,.38);
}
.hero-cap.fade { opacity: 0; }

.hero-ticks { display: flex; gap: 8px; flex-shrink: 0; }
.hero-ticks button {
  width: 30px; height: 3px; border-radius: 2px;
  background: var(--sand-2);
  position: relative; overflow: hidden; padding: 0;
  transition: background .35s;
}
.hero-ticks button:hover { background: rgba(26,17,8,.28); }
.hero-ticks button i {
  position: absolute; inset: 0;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
}
.hero-ticks button.on i { animation: tickFill var(--hold, 7s) linear forwards; }
@keyframes tickFill { to { transform: scaleX(1); } }

/* Compact relief link kept fully inside the photograph. */
.live-card {
  position: absolute; z-index: 4;
  left: 18px; bottom: 18px;
  width: min(224px, calc(100% - 36px));
  min-height: 60px;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 9px 9px 13px;
  border-radius: 17px;
  background: rgba(26,17,8,.74);
  border: 1px solid rgba(253,249,241,.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(26,17,8,.28);
  max-width: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.live-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(26,17,8,.34); }
.live-body { min-width: 0; flex: 1; }
.live-tag {
  display: flex; align-items: center; gap: 7px;
  color: var(--muga-lite);
  font-size: 7.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.live-tag i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--muga-lite);
  box-shadow: 0 0 0 0 rgba(224,180,87,.65);
  animation: livePulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,180,87,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(224,180,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,180,87,0); }
}
.live-card b {
  display: block;
  margin-top: 4px;
  color: var(--cream);
  font: 700 12.5px/1.1 var(--sans);
}
.live-card b span {
  display: block;
  margin-top: 3px;
  color: rgba(253,249,241,.7);
  font: 500 9.5px/1.15 var(--sans);
}
.live-card .arw {
  width: 32px; height: 32px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--red); color: var(--white);
  font-size: 13px; transition: transform .45s var(--ease);
}
.live-card:hover .arw { transform: translateX(4px); }

.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
}
.scroll-cue i {
  display: block; width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--muted), transparent);
  animation: cue 2.1s var(--ease-soft) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: clamp(88px, 14vh, 108px); }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { max-width: 18ch; }
  .hero-sub, .hero-sub-as { max-width: 60ch; }
  .hero-stage { aspect-ratio: 4 / 3.2; }
  .live-card { left: 12px; bottom: 12px; }
}
@media (max-width: 620px) {
  .hero-stage { aspect-ratio: 4 / 3.6; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-cap { width: 100%; min-height: 0; padding: 13px 14px 12px 16px; }
  .hero-cap .cap-title { display: block; }
  .hero-cap .cap-title strong { display: block; margin-top: 1px; }
  .hero-cap .cap-value { font-size: 11px; }
  .live-card b span { display: none; }
}


/* ---------- 11. Marquee ---------- */
.marquee {
  padding-block: clamp(13px, 1.7vw, 21px);
  background: var(--ink);
  overflow: hidden; display: flex; user-select: none;
}
.marquee-track {
  display: flex; flex-shrink: 0; gap: 42px; padding-right: 42px;
  align-items: center;
  animation: slide 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
.marquee-track span {
  font-family: var(--beng-s);
  font-size: clamp(16px, 1.7vw, 25px);
  color: rgba(253,249,241,.36);
  white-space: nowrap;
}
.marquee-track span.on { color: var(--muga-lite); }
.marquee-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ---------- 12. Mission ---------- */
.mission-text {
  font-family: var(--display);
  font-size: clamp(23px, 3.3vw, 44px);
  line-height: 1.3; letter-spacing: -0.025em;
  margin-top: 30px;
}
.mission-text w { display: inline-block; color: rgba(26,17,8,.16); transition: color .45s var(--ease-soft); }
.mission-text w.lit { color: var(--ink); }
.mission-text w.key.lit { color: var(--red); font-style: italic; }

.mission-as {
  margin-top: 34px;
  font-family: var(--beng);
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 2;
  color: var(--muted);
  padding-left: 20px;
  border-left: 3px solid rgba(198,37,43,.3);
  max-width: 62ch;
}
.mission-sign { margin-top: 40px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mission-sign .rule { flex: 1; min-width: 40px; height: 1px; background: var(--line-2); }

/* ---------- 13. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: clamp(24px, 3.2vw, 42px) clamp(14px, 2vw, 28px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat b {
  display: block; font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px); font-weight: 500;
  line-height: 1; letter-spacing: -0.04em; color: var(--ink);
}
.stat b em { font-style: normal; color: var(--red); }
.stat p { margin: 11px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.stat p i { display: block; font-style: normal; font-family: var(--beng); font-size: 13px; color: var(--red); opacity: .85; margin-top: 3px; }

/* ---------- 14. Section head ---------- */
.sec-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 68px); align-items: end;
  margin-bottom: clamp(30px, 3.6vw, 52px);
}
.sec-head-single { grid-template-columns: 1fr; max-width: 760px; }
.sec-head h2 { margin-top: 14px; }

/* ---------- 15. Work list ---------- */
.worklist { border-top: 1px solid var(--line); }
.work-row {
  position: relative;
  display: grid; grid-template-columns: 66px 1fr auto;
  gap: clamp(14px, 2.4vw, 32px);
  align-items: center;
  padding-block: clamp(20px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line);
  transition: padding-inline .55s var(--ease);
}
.work-row::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease);
  z-index: 0;
}
.work-row > * { position: relative; z-index: 1; }
.work-num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--muted); transition: color .45s var(--ease-soft); }
.work-row h3 { transition: color .45s var(--ease-soft); }
.work-row h3 i {
  display: block; font-style: normal;
  font-family: var(--beng-s); font-weight: 600;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--red);
  margin-bottom: 4px;
  transition: color .45s var(--ease-soft);
}
.work-desc { font-size: 14.5px; color: var(--muted); max-width: 48ch; margin: 7px 0 0; transition: color .45s var(--ease-soft); }
.photo-pending {
  width: fit-content;
  margin: 16px 0 0;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font: 600 10px var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.work-desc-as {
  font-family: var(--beng);
  font-size: 14px; line-height: 1.85;
  color: var(--muted); opacity: .82;
  max-width: 54ch; margin: 8px 0 0;
  transition: color .45s var(--ease-soft), opacity .45s;
}
@media (hover: hover) {
  .work-row:hover .work-desc-as { color: rgba(253,249,241,.58); opacity: 1; }
}
.work-go {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  transition: all .5s var(--ease);
}
@media (hover: hover) {
  .work-row:hover::before { transform: scaleY(1); transform-origin: top; }
  .work-row:hover { padding-inline: clamp(14px, 2vw, 28px); }
  .work-row:hover .work-num { color: var(--muga-lite); }
  .work-row:hover h3 { color: var(--cream); }
  .work-row:hover h3 i { color: var(--muga-lite); }
  .work-row:hover .work-desc { color: rgba(253,249,241,.62); }
  .work-row:hover .work-go { background: var(--red); box-shadow: none; color: var(--cream); transform: rotate(-45deg); }
}
.work-row .thumb-inline { display: none; }

.work-preview {
  position: fixed; top: 0; left: 0;
  width: 258px; height: 320px;
  border-radius: var(--r-md);
  overflow: hidden; pointer-events: none; z-index: 1250;
  opacity: 0;
  transform: translate(-50%,-50%) scale(.86) rotate(-4deg);
  transition: opacity .4s var(--ease), transform .55s var(--ease);
  box-shadow: 0 30px 70px rgba(26,17,8,.4);
  border: 5px solid var(--cream);
}
.work-preview.show { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(-3deg); }
/* hide the floating preview where there isn't room to the right of the text */
@media (max-width: 1240px) { .work-preview { display: none; } }
.work-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s var(--ease-soft); }
.work-preview img.active { opacity: 1; }
@media (hover: none), (pointer: coarse) { .work-preview { display: none; } }

/* ---------- 16. Feature ---------- */
.feature { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.feature-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.1; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.feature-media:hover img { transform: scale(1.05); }
.feature-inset {
  position: absolute; right: 16px; bottom: 16px;
  width: clamp(112px, 15vw, 168px);
  border-radius: var(--r-sm); overflow: hidden;
  border: 4px solid var(--cream);
  box-shadow: 0 16px 40px rgba(26,17,8,.3);
  aspect-ratio: 3 / 4; margin: 0;
}
.feature-inset img { width: 100%; height: 100%; object-fit: cover; }
.feature-inset figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(26,17,8,.92));
  color: var(--cream); font-size: 9.5px;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 16px 8px 7px; text-align: center;
}

.tag-live {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(198,37,43,.1); color: var(--red);
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.tag-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.9s ease-in-out infinite; }
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(198,37,43,.5); }
  50% { opacity: .65; box-shadow: 0 0 0 7px rgba(198,37,43,0); }
}

.feature-list { margin: 24px 0 30px; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 13px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.feature-list li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--red); }

/* Flood-relief left column: a large, directly scannable QR + the real photo */
.relief-left { display: grid; gap: 18px; align-content: start; }

.scan-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 32px);
  text-align: center;
  box-shadow: 0 14px 40px rgba(26,17,8,.08);
}
.scan-card .scan-head b {
  display: block;
  font-family: var(--beng-s); font-weight: 600;
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--red); line-height: 1.4;
}
.scan-card .scan-head span {
  display: block;
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink);
  margin-top: 2px;
}
.qr-big {
  width: min(320px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px;
  margin: 18px auto 16px;
  box-shadow: 0 8px 24px rgba(26,17,8,.09);
}
.scan-card .upi-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.scan-card .upi-row span {
  font-size: 10.5px; font-weight: 600; letter-spacing: .05em;
  padding: 5px 11px; border-radius: 999px;
  color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2);
}
.scan-note {
  margin: 16px 0 0; font-size: 13px; line-height: 1.65; color: var(--muted);
}
.scan-note a { color: var(--red); font-weight: 600; }

/* The source is a 3:4 portrait; a landscape box threw away half the frame. */
.relief-photo {
  position: relative; margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.relief-photo img { width: 100%; height: 100%; object-fit: cover; }
.relief-photo figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(transparent, rgba(26,17,8,.88));
  color: var(--cream);
  font-family: var(--beng); font-size: 12.5px;
}

/* ---------- 18. Panorama quote band ---------- */
/* The mustard-field source is 2000x698. The old parallax box cropped it to a
   sliver; here it runs at its true panoramic ratio and the type sits in the sky. */
.parallax { position: relative; isolation: isolate; background: var(--ink); }
.pano-media {
  position: relative;
  aspect-ratio: 2000 / 698;
  overflow: hidden;
}
/* Oversized so the parallax drift never exposes an edge */
.pano-bg { position: absolute; inset: -14% 0; will-change: transform; }
.pano-bg picture { display: block; width: 100%; height: 100%; }
.pano-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
  filter: var(--grade);
}
/* A flowering mustard field is the brightest surface on the site; the quote
   needs a scrim pooled behind it, not an even wash that would flatten the field. */
.pano-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(64% 52% at 50% 50%, rgba(26,17,8,.76) 0%, rgba(26,17,8,.4) 58%, rgba(26,17,8,0) 78%),
    linear-gradient(180deg, rgba(26,17,8,.72) 0%, rgba(26,17,8,.22) 34%,
                            rgba(26,17,8,.22) 62%, rgba(26,17,8,.76) 100%);
}
.pano-copy {
  position: absolute; inset: 0; z-index: 3;
  display: grid; align-content: center; justify-items: center;
  text-align: center;
  padding: clamp(20px, 4vw, 48px);
}
@media (max-width: 900px) {
  .pano-media { aspect-ratio: 4 / 3; }
}
.parallax .as-quote {
  font-family: var(--beng-s); font-weight: 600;
  font-size: clamp(18px, 2.2vw, 27px);
  color: var(--muga-lite);
  margin-bottom: 18px; line-height: 1.6;
}
.parallax blockquote {
  margin: 0 auto; max-width: 20ch;
  font-family: var(--display);
  font-size: clamp(28px, 4.6vw, 60px);
  line-height: 1.1; letter-spacing: -0.03em; color: var(--cream);
}
.parallax cite {
  display: block; margin-top: 26px;
  font-family: var(--sans); font-style: normal;
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muga-lite);
}

/* ---------- 19. Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 6; position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.tall { aspect-ratio: 4 / 5; }
.split.rev .split-media { order: 2; }

.badge-float {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--cream); border-radius: var(--r-md);
  padding: 15px 19px; box-shadow: 0 18px 44px rgba(26,17,8,.25);
  max-width: 215px;
}
.badge-float b { display: block; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--red); }
.badge-float span { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: block; margin-top: 5px; }

.crit-list { margin: 26px 0 32px; }
.crit-list li {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px;
  padding-block: 13px; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.55;
}
.crit-list li:first-child { border-top: 1px solid var(--line); }
.crit-list li i { font-style: normal; font-family: var(--display); font-size: 13px; color: var(--red); padding-top: 2px; }
.crit-list li em { display: block; font-style: normal; font-family: var(--beng); font-size: 13.5px; opacity: .72; margin-top: 2px; }
.bg-ink .crit-list li { border-color: rgba(253,249,241,.13); color: rgba(253,249,241,.78); }
.bg-ink .crit-list li:first-child { border-top-color: rgba(253,249,241,.13); }
.bg-ink .crit-list li i { color: var(--muga-lite); }

/* ---------- 20. Credentials ---------- */
.cred-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.cred { background: var(--cream); padding: 24px 22px; transition: background .4s var(--ease-soft); }
.cred:hover { background: var(--sand); }
.cred dt { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cred dt i { display: block; font-style: normal; font-family: var(--beng); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--red); margin-top: 3px; }
.cred dd { margin: 8px 0 0; font-family: var(--display); font-size: 16.5px; line-height: 1.3; color: var(--ink); word-break: break-word; }

/* ---------- 21. Support (contact-only, no online payment) ---------- */
.support-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(22px, 3vw, 44px); align-items: start; }
.panel {
  background: rgba(253,249,241,.05);
  border: 1px solid rgba(253,249,241,.13);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.2vw, 42px);
}
.give-list { margin: 26px 0 0; display: grid; gap: 2px; }
.give-list li {
  display: grid; grid-template-columns: 44px 1fr;
  gap: 16px; align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(253,249,241,.12);
}
.give-list li:last-child { border-bottom: 1px solid rgba(253,249,241,.12); }
.give-list .n {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(198,37,43,.22); color: var(--muga-lite);
  font-family: var(--display); font-size: 14px;
}
.give-list b { display: block; font-family: var(--display); font-size: 18px; font-weight: 500; color: var(--cream); }
.give-list i { display: block; font-style: normal; font-family: var(--beng); font-size: 13.5px; color: var(--muga-lite); opacity: .85; margin: 2px 0 5px; }
.give-list p { margin: 0; font-size: 14px; color: rgba(253,249,241,.6); line-height: 1.6; }

.note {
  display: flex; gap: 13px;
  padding: 16px 18px; border-radius: var(--r-sm);
  background: rgba(224,180,87,.09);
  border: 1px solid rgba(224,180,87,.22);
  font-size: 13.5px; line-height: 1.65;
  color: rgba(253,249,241,.75);
  margin-top: 26px;
}
.note b { color: var(--muga-lite); }

.reach-card { text-align: left; }
.reach-card .big-num {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--cream); line-height: 1.4;
  display: block; margin-bottom: 4px;
  transition: color .3s;
}
.reach-card a.big-num:hover { color: var(--muga-lite); }
.reach-sep { height: 1px; background: rgba(253,249,241,.13); margin: 22px 0; }

/* ---------- 22. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 76px); }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding-block: 21px; border-bottom: 1px solid var(--line); }
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--red); }
.contact-item dt { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.contact-item dt i { font-style: normal; font-family: var(--beng); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--red); margin-left: 7px; }
.contact-item dd { margin: 0; font-size: 15.5px; line-height: 1.6; }
.contact-item dd a { transition: color .3s; }
.contact-item dd a:hover { color: var(--red); }

.field { position: relative; margin-bottom: 25px; }
.field input, .field textarea {
  width: 100%; border: none;
  border-bottom: 1px solid var(--line-2);
  background: transparent;
  padding: 14px 0 11px;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  border-radius: 0; resize: vertical;
  transition: border-color .4s var(--ease-soft);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field label {
  position: absolute; left: 0; top: 14px;
  font-size: 15px; color: var(--muted);
  pointer-events: none; transform-origin: left top;
  transition: transform .4s var(--ease), color .3s;
}
.field label i { font-style: normal; font-family: var(--beng); font-size: 13px; opacity: .7; margin-left: 6px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-20px) scale(.72); color: var(--red);
}
.form-msg { margin-top: 15px; font-size: 13.5px; color: var(--red); min-height: 20px; }

/* ---------- 23. Footer ---------- */
.footer { background: var(--ink); color: rgba(253,249,241,.62); padding-top: clamp(52px, 6.5vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: clamp(26px, 4vw, 54px); padding-bottom: clamp(38px, 5vw, 60px); }
.footer h4 { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(253,249,241,.4); margin-bottom: 18px; }
.footer h4 i { display: block; font-style: normal; font-family: var(--beng); font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muga-lite); opacity: .75; margin-top: 3px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-links span { font-size: 14px; color: rgba(253,249,241,.72); transition: color .3s, padding-left .4s var(--ease); }
.footer-links a:hover { color: var(--muga-lite); padding-left: 5px; }
.footer .brand-mark { background: rgba(253,249,241,.12); color: var(--cream); }
.footer .brand-txt b { color: var(--cream); }
.footer-blurb { margin-top: 18px; font-size: 14px; max-width: 34ch; line-height: 1.7; }
.footer-blurb i { display: block; font-style: normal; font-family: var(--beng); font-size: 13.5px; color: rgba(253,249,241,.5); margin-top: 10px; line-height: 1.9; }

.footer-bottom {
  border-top: 1px solid rgba(253,249,241,.1);
  padding-block: 22px 28px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: rgba(253,249,241,.42);
}
.photo-credits { width: fit-content; max-width: 90ch; margin: 0 0 22px; }
.photo-credits summary {
  width: fit-content;
  cursor: pointer;
  color: rgba(253,249,241,.62);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.photo-credits summary:hover { color: var(--muga-lite); }
.photo-credits p { margin-top: 12px; font-size: 11.5px; line-height: 1.7; color: rgba(253,249,241,.38); }
.photo-credits a { color: rgba(253,249,241,.62); text-decoration: underline; text-underline-offset: 2px; }

.to-top {
  position: fixed; right: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px);
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center; z-index: 1000;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .5s var(--ease);
  box-shadow: 0 12px 30px rgba(26,17,8,.3);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }

/* ---------- 24. Reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
/* Mask reveal clips the CHILDREN, never the observed element itself.
   Clipping the target to zero height makes IntersectionObserver report it as
   non-intersecting, so `.in` would never be added and it would stay hidden. */
[data-reveal="mask"] { opacity: 1; transform: none; }
[data-reveal="mask"] > * {
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal="mask"].in > * { clip-path: inset(0 0 0% 0); }
[data-reveal="scale"] { opacity: 0; transform: scale(1.06); }
[data-reveal="scale"].in { opacity: 1; transform: scale(1); }

.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(110%); transition: transform .6s var(--ease); transition-delay: var(--ld, 0ms); }
.in .split-line > span, .split-line.in > span { transform: none; }

/* ---------- 25. Responsive ---------- */

/* Short laptop viewports: keep the whole hero — including the live
   flood-relief card — above the fold. */
@media (min-width: 901px) and (max-height: 880px) {
  .h-display { font-size: clamp(32px, 4.2vw, 55px); }
  .hero-relief-spotlight { min-height: 66px; margin-bottom: 9px; padding-block: 8px; }
  .relief-spotlight-mark { width: 44px; height: 44px; border-radius: 14px; }
  .hero-pill { margin-bottom: 9px; }
  .hero-as { font-size: clamp(16px, 1.8vw, 22px); margin-bottom: 4px; }
  .hero-sub { margin-top: 10px; font-size: 15.5px; }
  .hero-sub-as { margin-top: 6px; font-size: 13.5px; line-height: 1.65; }
  .hero-actions { margin-top: 15px; }
  .hero-foot { margin-top: 13px; padding-top: 12px; }
  .fact b { font-size: clamp(22px, 2.2vw, 28px); }
}

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid, .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav, .header-cta .btn-nav { display: none; }
  .burger { display: flex; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .feature, .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .split-media, .split-media.tall { aspect-ratio: 16 / 11; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  /* single-column now: keep the tall QR card + portrait photo from filling a tablet */
  .relief-left { max-width: 520px; margin-inline: auto; }

  .work-row { grid-template-columns: 1fr auto; align-items: start; }
  .work-num { grid-column: 1 / -1; }
  .work-row .thumb-inline { display: block; grid-column: 1 / -1; margin-top: 16px; aspect-ratio: 4 / 3; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { min-height: calc(94svh - var(--strip-h)); }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .feature-inset { width: 94px; right: 12px; bottom: 12px; }
  .btn { padding: 14px 22px; }
  .give-list li { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- 26. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .split-line > span { transform: none !important; }
  .mission-text w { color: var(--ink) !important; }
  .mission-text w.key { color: var(--red) !important; }
  .hero-frame img { transform: none; }
  .cursor-dot, .cursor-ring, .work-preview { display: none !important; }
}

/* ---------- 27. Static screenshot mode (?static=1) ---------- */
.static-shot .preloader,
.static-shot .cursor-dot,
.static-shot .cursor-ring,
.static-shot .work-preview,
.static-shot .to-top { display: none !important; }
.static-shot .progress { opacity: 0; }
.static-shot [data-reveal] { opacity: 1 !important; transform: none !important; }
.static-shot [data-reveal="mask"] > * { clip-path: none !important; }
.static-shot .mission-text w { color: var(--ink) !important; }
.static-shot .mission-text w.key { color: var(--red) !important; font-style: italic; }
.static-shot .hero-frame img { transform: none !important; animation: none !important; }
.static-shot .split-line > span { transform: none !important; }

/* Full-page video capture (?static=1&full=<vh>) */
.static-full .hero { min-height: var(--shot-vh); }
.static-full .parallax { min-height: calc(var(--shot-vh) * 0.8); }
.static-full .header { position: absolute; }   /* fixed would pin to the tall window */
.static-full .marquee-track { animation: none; }

/* =====================================================================
   28. PHOTOGRAPHIC SYSTEM
   The library spans three provenances — the Samaj's own phone photographs,
   Wikimedia documentary work, and licensed stock — shot on different
   cameras across two decades. A single plate treatment (warm wash,
   vignette, shared grade) is what makes them read as one publication.
   ===================================================================== */

:root {
  --grade: saturate(1.07) contrast(1.04);
  --plate-r: var(--r-md);
}

/* ---------- 28.1 Plate ---------- */
.plate {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--plate-r);
  /* the blur-up preview, set per-plate as --lqip-<name> from css/lqip.css */
  background-color: var(--ink-2);
  background-image: var(--lqip, none);
  background-size: cover;
  background-position: center;
}
.plate picture { display: block; width: 100%; height: 100%; }
.plate img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  filter: var(--grade);
  opacity: 0;
  transition: opacity .85s var(--ease-soft);
}
.plate img.ready { opacity: 1; }

/* Warm wash + vignette. Both ride the same soft-light layer so the grade
   stays subtle instead of muddying the shadows. */
.plate::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(125% 105% at 50% 45%, transparent 52%, rgba(26,17,8,.6) 100%),
    linear-gradient(150deg, rgba(198,37,43,.13), transparent 46%, rgba(192,138,46,.2));
  mix-blend-mode: soft-light;
}
.plate.flat::before { display: none; }

/* ---------- 28.2 Duotone ---------- */
/* Reserved for the two off-continent stock photographs. Reading them as
   graphic elements is honest; passing them off as documentary is not. */
.plate.duo { background-color: var(--muga-lite); }
.plate.duo img { filter: grayscale(1) contrast(1.1) brightness(1.04); mix-blend-mode: multiply; }
.plate.duo::before {
  background: var(--ink-2);
  mix-blend-mode: screen;
  opacity: .9;
}

/* ---------- 28.3 Captions ---------- */
.plate figcaption {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 3;
  padding: 52px clamp(14px, 1.6vw, 22px) clamp(12px, 1.4vw, 18px);
  background: linear-gradient(transparent, rgba(26,17,8,.55) 42%, rgba(26,17,8,.92));
  color: var(--cream);
  pointer-events: none;
}
.plate figcaption b {
  display: block;
  font-family: var(--beng-s); font-weight: 600;
  font-size: clamp(14px, 1.3vw, 16.5px);
  color: var(--muga-lite);
  line-height: 1.4;
}
.plate figcaption span {
  display: block;
  font-size: clamp(11.5px, 1.05vw, 13px);
  line-height: 1.5; opacity: .84;
  margin-top: 2px;
}
.plate figcaption em {
  display: block;
  font-style: normal;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  opacity: .48; margin-top: 6px;
}

/* ---------- 28.4 Full-bleed plate ---------- */
.plate-band { position: relative; background: var(--ink); }
.plate-band .plate { border-radius: 0; aspect-ratio: 16 / 8.2; }
.plate-band .plate::after {
  content: "";
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(96deg, rgba(26,17,8,.86) 0%, rgba(26,17,8,.42) 40%, rgba(26,17,8,0) 68%),
    linear-gradient(0deg, rgba(26,17,8,.74) 0%, rgba(26,17,8,0) 46%);
}
@media (max-width: 760px) { .plate-band .plate { aspect-ratio: 4 / 3; } }

/* Photo-book style plate number + title, set beside the frame */
.plate-label {
  position: absolute; z-index: 4;
  left: var(--gut); bottom: clamp(18px, 3vw, 38px);
  max-width: min(54ch, calc(100% - var(--gut) * 2));
  padding-left: clamp(18px, 2vw, 28px);
  color: var(--cream);
}
.plate-label::before {
  content: "";
  position: absolute; left: 0; top: 2px; bottom: 2px;
  width: 3px; border-radius: 2px;
  background: var(--red);
  box-shadow: 0 0 28px rgba(198,37,43,.55);
}
.plate-label .pl-no {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muga-lite);
  margin-bottom: 10px;
}
.plate-label .pl-no::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .6; }
.plate-label b {
  display: block;
  font-family: var(--beng-s); font-weight: 600;
  font-size: clamp(20px, 2.4vw, 31px);
  color: var(--cream); line-height: 1.4;
}
.plate-label strong {
  display: block; margin-top: 2px;
  font-family: var(--display);
  font-size: clamp(21px, 2.6vw, 36px); font-weight: 500;
  line-height: 1.08; letter-spacing: -.025em;
  color: var(--cream);
}
.plate-label .value-copy {
  display: block; margin-top: 10px;
  max-width: 48ch;
  font-family: var(--sans);
  font-size: clamp(12.5px, 1.15vw, 15px); line-height: 1.6;
  color: rgba(253,249,241,.74);
}
.plate-label em {
  display: block; margin-top: 12px;
  font-style: normal; font-size: 10.5px;
  letter-spacing: .13em; text-transform: uppercase;
  color: rgba(253,249,241,.42);
}
@media (max-width: 620px) {
  .plate-label { bottom: 16px; padding-left: 16px; }
  .plate-label .pl-no { margin-bottom: 7px; font-size: 8.5px; }
  .plate-label strong { font-size: 21px; }
  .plate-label .value-copy { margin-top: 6px; font-size: 11.5px; line-height: 1.45; }
  .plate-label em { margin-top: 7px; font-size: 8px; }
}

/* ---------- 28.5 Mosaic gallery ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(210px, 22vw, 320px);
  gap: clamp(10px, 1.2vw, 16px);
}
.mosaic .plate { width: 100%; height: 100%; cursor: zoom-in; }
.photo-zoom { cursor: zoom-in; }
.photo-zoom:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.mosaic .plate img { transition: opacity .85s var(--ease-soft), transform 1.3s var(--ease); }
@media (hover: hover) { .mosaic .plate:hover img.ready { transform: scale(1.055); } }

.mosaic .m1 { grid-column: span 2; grid-row: span 2; }
.mosaic .m2,
.mosaic .m3,
.mosaic .m4,
.mosaic .m5,
.mosaic .m6 { grid-column: span 1; grid-row: span 1; }

/* A zoom affordance that only appears where a pointer can act on it */
.mosaic .plate::after {
  content: "⤢";
  position: absolute; top: 12px; right: 12px; z-index: 4;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(26,17,8,.5);
  backdrop-filter: blur(8px);
  color: var(--cream); font-size: 13px;
  opacity: 0; transform: scale(.8);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
@media (hover: hover) { .mosaic .plate:hover::after { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .mosaic .plate { grid-column: span 1 !important; grid-row: auto !important; aspect-ratio: 4 / 3; }
  .mosaic .m1 { grid-column: span 2 !important; aspect-ratio: 16 / 10; }
  .mosaic .m2 { aspect-ratio: 3 / 4; }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .plate { grid-column: span 1 !important; }
}

/* ---------- 28.6 (removed) ----------
   The hero caption + progress ticks were defined here for the old dark,
   full-bleed hero. They now live with the light hero in section 10b. */

/* ---------- 28.7 Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  height: 100vh;
  height: 100dvh;
  background: rgba(12, 8, 4, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage {
  --lb-pad-x: clamp(16px, 7vw, 96px);
  --lb-pad-top: clamp(46px, 6vw, 76px);
  position: relative;
  flex: 1 1 auto;
  height: 0;
  padding: 0;
  min-height: 0;
  overflow: hidden;
}
.lb-stage img {
  position: absolute;
  top: var(--lb-pad-top);
  left: var(--lb-pad-x);
  width: calc(100% - (2 * var(--lb-pad-x)));
  height: calc(100% - var(--lb-pad-top) - 8px);
  max-width: none; max-height: none;
  object-fit: contain;
  border-radius: var(--r-sm);
  filter: drop-shadow(0 30px 42px rgba(0,0,0,.48)) var(--grade);
  opacity: 0;
  transform: scale(.97);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.lb-stage img.ready { opacity: 1; transform: none; }

.lb-foot {
  flex: 0 0 auto;
  max-height: min(28dvh, 190px);
  overflow-y: auto;
  padding: 14px clamp(16px, 7vw, 96px) clamp(20px, 3vw, 34px);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  color: var(--cream);
}
.lb-foot b {
  display: block;
  font-family: var(--beng-s); font-weight: 600;
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--muga-lite); line-height: 1.4;
}
.lb-foot span { display: block; font-size: 13.5px; opacity: .78; margin-top: 3px; }
.lb-foot em {
  display: block; font-style: normal;
  font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase;
  opacity: .42; margin-top: 8px;
}
.lb-count { font-size: 12px; letter-spacing: .16em; opacity: .5; white-space: nowrap; }

.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(253,249,241,.1);
  border: 1px solid rgba(253,249,241,.22);
  color: var(--cream); font-size: 19px;
  transition: background .35s, border-color .35s, transform .35s var(--ease);
}
.lb-btn:hover { background: var(--red); border-color: transparent; }
.lb-prev { left: clamp(8px, 2vw, 26px); }
.lb-next { right: clamp(8px, 2vw, 26px); }
.lb-close {
  position: absolute; top: clamp(12px, 2vw, 22px); right: clamp(12px, 2vw, 22px);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(253,249,241,.1);
  border: 1px solid rgba(253,249,241,.22);
  color: var(--cream); font-size: 17px;
  z-index: 5;
  transition: background .35s, transform .5s var(--ease);
}
.lb-close:hover { background: var(--red); transform: rotate(90deg); }
body.lb-open { overflow: hidden; }

/* ---------- 28.8 Archive strip (documents on record) ---------- */
.archive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(24px, 3vw, 38px);
}
.archive .plate {
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
  background-color: var(--sand-2);
  border: 1px solid var(--line);
}
/* Paper scans want to be read, not cropped or graded like a photograph */
.archive .plate img { object-fit: contain; filter: none; background: var(--white); }
.archive .plate::before { display: none; }
.archive figcaption {
  background: linear-gradient(transparent, rgba(26,17,8,.9));
  padding-top: 40px;
}

/* ---------- 28.9 Work-list preview ---------- */
.work-preview {
  width: 292px; height: 366px;
  border: 6px solid var(--cream);
  box-shadow: 0 34px 80px rgba(26,17,8,.45);
}
.work-preview img { filter: var(--grade); }
.work-preview.duo img { filter: grayscale(1) sepia(.42) contrast(1.06) brightness(1.02); }

/* ---------- 28.10 Split media ---------- */
.split-media .plate,
.split-media.plate { height: 100%; }
.split-media .badge-float { z-index: 4; }

/* ---------- 28.11 Reduced motion + static capture ---------- */
@media (prefers-reduced-motion: reduce) {
  .plate img { opacity: 1 !important; }
  .hero-frame img, .hero-frame.on img { transform: none !important; transition: none !important; }
  .hero-ticks button i { transform: scaleX(1) !important; animation: none !important; }
  .mosaic .plate:hover img.ready { transform: none !important; }
}
.static-shot .plate img { opacity: 1 !important; }
.static-shot .hero-frame img { transform: none !important; }
.static-shot .lightbox { display: none !important; }

/* =====================================================================
   29. THE 2025 RECORD (ledger)
   Deliberately not shaped like the charter list above it: that one states
   what the Samaj undertakes to do, this one states what was done. Numbered
   entries, each anchored to a photograph.
   ===================================================================== */
.ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(6px, 1vw, 14px) clamp(24px, 4vw, 64px);
  counter-reset: led;
  border-top: 1px solid var(--line-2);
}
.led {
  display: grid;
  grid-template-columns: 42px 84px 1fr;
  gap: clamp(12px, 1.5vw, 20px);
  align-items: center;
  padding-block: clamp(16px, 1.8vw, 22px);
  border-bottom: 1px solid var(--line);
  transition: transform .5s var(--ease);
}
@media (hover: hover) { .led:hover { transform: translateX(5px); } }

.led-no {
  font-family: var(--display);
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--red);
  letter-spacing: -0.02em;
  align-self: start;
  padding-top: 4px;
}
.led-shot {
  width: 84px; height: 84px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.led-body b {
  display: block;
  font-family: var(--beng-s); font-weight: 600;
  font-size: clamp(14.5px, 1.35vw, 17px);
  line-height: 1.55;
  color: var(--ink);
}
.led-body span {
  display: block; margin-top: 4px;
  font-size: clamp(12.5px, 1.1vw, 14px);
  line-height: 1.55;
  color: var(--muted);
}
.led-body i { font-style: italic; }

.magazine-record {
  position: relative;
  grid-template-rows: auto auto;
  row-gap: 5px;
  cursor: pointer;
}
.magazine-record .led-no,
.magazine-record .led-shot { grid-row: 1 / span 2; }
.magazine-record .led-body { grid-column: 3; grid-row: 1; }
.magazine-open {
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  min-height: 30px;
  padding: 2px 0;
  color: var(--red-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: left;
}
.magazine-open span { margin-left: 5px; font-size: 13px; }
.magazine-record:hover .magazine-open { color: var(--red); }

.magazine-viewer {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(12, 8, 4, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.magazine-viewer[hidden] { display: none; }
.magazine-viewer.open { opacity: 1; visibility: visible; }
.magazine-dialog {
  width: min(920px, 100%);
  height: min(92dvh, 900px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: 0 36px 100px rgba(0,0,0,.55);
}
.magazine-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 3vw, 30px) 14px;
  border-bottom: 1px solid var(--line);
}
.magazine-dialog-head span {
  display: block;
  margin-bottom: 3px;
  color: var(--red-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.magazine-dialog-head h2 { font-size: clamp(23px, 3vw, 34px); }
.magazine-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
}
.magazine-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px clamp(18px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}
.magazine-tabs button {
  min-height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.magazine-tabs button[aria-selected="true"] {
  border-color: var(--red);
  background: var(--red);
  color: var(--cream);
}
.magazine-pages {
  min-height: 0;
  overflow: auto;
  padding: clamp(14px, 2.5vw, 24px);
}
.magazine-pages figure {
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 10px;
}
.magazine-pages figure[hidden] { display: none; }
.magazine-pages img {
  width: auto;
  height: 100%;
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 18px 50px rgba(26,17,8,.18);
}
.magazine-pages figcaption {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
body.magazine-open-body { overflow: hidden; }

.ledger-src {
  display: flex; gap: 11px;
  margin-top: clamp(22px, 2.6vw, 32px);
  font-size: 13px; line-height: 1.6;
  color: var(--muted);
}
.ledger-src span[aria-hidden] { color: var(--red); }
.archive-photo-note {
  margin: -8px 0 20px;
  padding: 13px 15px;
  border-left: 3px solid var(--red);
  background: rgba(198,37,43,.05);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.archive-photo-note b { color: var(--ink); }

@media (max-width: 900px) {
  .ledger { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .led { grid-template-columns: 30px 64px 1fr; gap: 12px; }
  .led-shot { width: 64px; height: 64px; }
  .magazine-dialog {
    height: 100dvh;
    border-radius: 0;
  }
  .magazine-dialog-head { padding-top: max(14px, env(safe-area-inset-top)); }
  .magazine-pages { padding: 12px; }
}

/* =====================================================================
   30. KEYBOARD ACCESS
   The custom cursor replaced the pointer, and with it every focus
   affordance — a keyboard user had no way to tell where they were.
   ===================================================================== */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 3000;
  padding: 13px 22px; border-radius: 999px;
  background: var(--red); color: var(--cream);
  font-size: 14px; font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

:where(a, button, [tabindex], input, textarea, summary):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
.bg-ink :focus-visible,
.hero :focus-visible,
.parallax :focus-visible,
.footer :focus-visible,
.lightbox :focus-visible,
.drawer :focus-visible { outline-color: var(--muga-lite); }

/* The mosaic tiles are focusable; give them a ring that clears the image */
.mosaic .plate:focus-visible,
.archive .plate:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

/* Fields already show a red underline on :focus — keep it for pointer users
   and add the ring only for keyboard */
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }

/* =====================================================================
   31. MOBILE EDITION
   A phone is treated as its own editorial canvas: fewer simultaneous
   elements, shorter reading measures, useful photography earlier, and
   compact evidence cards instead of a compressed desktop composition.
   ===================================================================== */
@media (max-width: 620px) {
  :root {
    --gut: 18px;
    --r-md: 13px;
    --r-lg: 20px;
    --strip-h: 74px;
  }

  body { font-size: 15px; line-height: 1.62; }
  [data-reveal],
  [data-reveal="mask"] > *,
  .split-line > span { transition-delay: 0ms !important; }
  .section { padding-block: 52px; }
  .section-sm { padding-block: 40px; }
  .h-display { font-size: clamp(39px, 12vw, 48px); line-height: .98; }
  .h2 { font-size: clamp(32px, 9.5vw, 40px); line-height: 1.02; }
  .h3 { font-size: 21px; }
  .lead { font-size: 15px; line-height: 1.6; }
  .as-head { font-size: 17px; margin-bottom: 7px; }
  .as-text { font-size: 14px; line-height: 1.75; padding-left: 12px; }
  .eyebrow { gap: 8px; font-size: 12.5px; }
  .eyebrow::before { width: 18px; }
  .eyebrow-en { font-size: 9px; letter-spacing: .15em; margin-left: 5px; }

  .header,
  .header.scrolled {
    padding-block: 9px;
    background: rgba(253,249,241,.94);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--line);
  }
  .header .wrap { gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand-mark { width: 40px; height: 40px; font-size: 17px; }
  .brand-txt { min-width: 0; }
  .brand-txt b { font-size: 14px; white-space: nowrap; }
  .brand-txt span { font-size: 8px; letter-spacing: .1em; white-space: nowrap; }
  .burger { width: 40px; height: 40px; flex: 0 0 40px; }
  .drawer { padding: 82px var(--gut) 28px; }
  .drawer nav a { padding-block: 6px; }
  .drawer nav a b { font-size: 19px; }
  .drawer nav a em { font-size: 18px; }

  .hero {
    min-height: 0;
    padding-top: 88px;
    padding-bottom: 34px;
    align-items: start;
  }
  .hero::before {
    background:
      radial-gradient(90% 32% at 86% 10%, rgba(224,180,87,.18), transparent 68%),
      linear-gradient(180deg, rgba(198,37,43,.025), transparent 46%);
  }
  .hero-grid { gap: 26px; }
  .hero-pill {
    max-width: 100%;
    padding: 7px 11px 7px 9px;
    margin-bottom: 12px;
    font-size: 10.5px;
    line-height: 1.35;
  }
  .hero-as { font-size: 16px; margin-bottom: 5px; }
  .hero h1 { max-width: 9.5ch; }
  .hero-sub { margin-top: 14px; font-size: 15px; line-height: 1.55; }
  .hero-sub-as { margin-top: 8px; font-size: 13px; line-height: 1.68; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .hero-actions .btn { justify-content: center; min-height: 47px; padding: 12px 14px; font-size: 12.5px; text-align: center; }
  .hero-foot { display: none; }

  .hero-stage { aspect-ratio: 5 / 4; border-radius: 18px; box-shadow: 0 18px 42px rgba(26,17,8,.16); }
  .hero-frame img { transform: none; }
  .hero-frame.on img { transition: none; }
  .live-card {
    left: 10px; right: 10px; bottom: 10px;
    max-width: none;
    gap: 9px;
    padding: 8px 12px 8px 8px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(26,17,8,.22);
  }
  .live-tag { font-size: 8px; letter-spacing: .1em; }
  .live-card b { font-size: 12.5px; }
  .hero-meta { margin-top: 11px; display: block; }
  .hero-cap { padding: 9px 0 8px 12px; border-left-width: 2px; background: none; }
  .hero-cap .cap-kicker { margin-bottom: 3px; font-size: 8px; }
  .hero-cap .cap-title b { font-size: 13px; }
  .hero-cap .cap-title strong { font-size: 14px; }
  .hero-cap .cap-value,
  .hero-cap .cap-credit,
  .hero-ticks { display: none; }

  .gamosa { height: 18px; background-size: auto 18px; }
  .marquee { padding-block: 11px; }
  .marquee-track { gap: 24px; padding-right: 24px; }
  .marquee-track span { font-size: 14px; }

  .mission-text { margin-top: 22px; font-size: 28px; line-height: 1.24; }
  .mission-text w { color: var(--ink); }
  .mission-text w.key { color: var(--red); font-style: italic; }
  .mission-as { margin-top: 22px; font-size: 14px; line-height: 1.75; }
  .mission-sign { margin-top: 25px; gap: 10px; }
  .mission-sign .small-caps { width: 100%; font-size: 9px; }

  .plate-band { padding-bottom: 0; }
  .plate-band .plate { aspect-ratio: 16 / 11; }
  .plate-band .plate::after { background: linear-gradient(0deg, rgba(26,17,8,.28), transparent 48%); }
  .plate-label {
    position: relative;
    left: auto; bottom: auto;
    max-width: none;
    padding: 20px 18px 24px 34px;
    background: var(--ink);
  }
  .plate-label::before { left: 18px; top: 22px; bottom: 26px; }
  .plate-label .pl-no { font-size: 8px; }
  .plate-label b { font-size: 17px; }
  .plate-label strong { font-size: 24px; }
  .plate-label .value-copy { font-size: 12.5px; line-height: 1.55; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 14px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat b { font-size: 38px; }
  .stat p { margin-top: 8px; font-size: 11.5px; }

  .sec-head { gap: 17px; margin-bottom: 28px; }
  .sec-head h2 { margin-top: 10px; }

  .work-row { display: block; padding-block: 19px; }
  .work-row::before,
  .work-go { display: none; }
  .work-num { display: block; margin-bottom: 8px; font-size: 10px; color: var(--red); }
  .work-row > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 94px;
    grid-template-rows: auto auto;
    gap: 7px 14px;
    align-items: start;
  }
  .work-row h3 { grid-column: 1; grid-row: 1; }
  .work-row h3 i { font-size: 14px; line-height: 1.4; }
  .work-desc { grid-column: 1; grid-row: 2; margin: 0; font-size: 12.5px; line-height: 1.48; }
  .work-desc-as { display: none; }
  .work-row .thumb-inline {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 94px;
    height: 94px;
    margin: 0;
    aspect-ratio: 1;
    border-radius: 11px;
  }

  .split, .feature { gap: 26px; }
  .split-media, .split-media.tall { aspect-ratio: 4 / 3; border-radius: 16px; }
  .feature-media { aspect-ratio: 4 / 3; border-radius: 16px; }
  .badge-float { right: 10px; bottom: 10px; max-width: 138px; padding: 12px; }
  .badge-float b { font-size: 27px; }
  .badge-float span { font-size: 9.5px; }

  .parallax { min-height: 470px; }
  .pano-media { height: 210px; }
  .pano-copy { position: relative; padding: 28px 18px 38px; background: var(--ink); }
  .pano-copy blockquote { font-size: 31px; }

  .mosaic { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mosaic .plate { grid-column: span 1 !important; aspect-ratio: 1 !important; }
  .mosaic .m1 { grid-column: span 2 !important; aspect-ratio: 16 / 10 !important; }
  .mosaic figcaption { padding: 34px 10px 10px; }
  .mosaic figcaption b { font-size: 12.5px; }
  .mosaic figcaption span { font-size: 10px; }

  .ledger { gap: 0; }
  .led { grid-template-columns: 25px 58px 1fr; gap: 10px; padding-block: 13px; }
  .led-shot { width: 58px; height: 58px; }
  .led-body b { font-size: 13px; }
  .led-body span { font-size: 11.5px; line-height: 1.4; }

  .archive { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .cred { padding: 18px 14px; }
  .cred dd { font-size: 14px; }

  .panel { padding: 22px 18px; border-radius: 16px; }
  .big-num { font-size: clamp(21px, 7vw, 27px); }
  .contact-grid { gap: 28px; }
  .field input, .field textarea { font-size: 16px; }
  .footer { padding-top: 46px; }
  .footer-top { gap: 28px; }
  .footer-bottom { align-items: flex-start; }
  .to-top { width: 44px; height: 44px; right: 14px; bottom: 14px; }
}

/* Cleanliness-drive photograph beneath the registered office address. */
.office-shot {
  margin-top: 16px;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
}
.contact-item dd + .office-shot { max-width: 420px; }

/* Elements below form the deliberately shorter phone edition. Desktop keeps
   the original long-form editorial composition unchanged. */
.mobile-only { display: none !important; }

@media (max-width: 768px) {
  :root {
    --gut: 18px;
    --r-md: 12px;
    --r-lg: 16px;
  }

  html, body { max-width: 100%; overflow-x: clip; }
  body { font-size: 16px; line-height: 1.58; }
  .preloader { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-reveal="mask"] > * { clip-path: none !important; }
  .split-line > span { transform: none !important; }
  .mobile-only { display: block !important; }
  .mobile-hero-actions,
  .mobile-support-actions { display: grid !important; }
  summary.mobile-only { display: flex !important; }
  .section { padding-block: 46px; }
  .section-sm { padding-block: 34px; }
  .wrap { width: min(100% - (2 * var(--gut)), var(--max)); }

  /* Keep the phone journey to eight purposeful blocks. */
  .gamosa,
  .marquee,
  #mission,
  .plate-band,
  .parallax,
  .scholarship-section,
  .credentials-section,
  .worklist,
  #involve > .wrap > .split,
  #support .support-grid,
  #contact .contact-grid > :first-child,
  .drawer a[href="#mission"] { display: none !important; }

  .header,
  .header.scrolled { padding-block: 8px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-txt b { font-size: 13px; }
  .brand-txt span { font-size: 7.5px; }
  .burger { width: 44px; height: 44px; }

  /* 1. Hero: purpose, place, photograph and actions in one screen. */
  .hero { padding-top: 78px; padding-bottom: 38px; }
  .hero-grid { gap: 20px; }
  .hero-pill { margin-bottom: 10px; }
  .hero-as { font-size: 14px; }
  .hero h1 { max-width: 12ch; font-size: clamp(35px, 10.5vw, 46px); line-height: .98; }
  .hero-sub { margin-top: 11px; font-size: 15px; line-height: 1.48; }
  .hero-sub-as,
  .hero-copy > .hero-actions { display: none !important; }
  .hero-foot { display: none !important; }
  .mobile-hero-location {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
  }
  .mobile-hero-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .mobile-hero-actions .btn {
    min-height: 46px;
    padding: 11px 12px;
    justify-content: center;
    font-size: 12px;
  }
  .hero-stage { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
  .hero-frame:not(.on) { display: none; }
  .live-card { display: none; }
  .hero-meta { display: none !important; }
  .hero-mobile-photo-note {
    margin-top: 9px;
    padding-left: 11px;
    border-left: 2px solid var(--red);
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
  }

  /* 2. Four proof points, kept compact enough to scan. */
  .stats { background: var(--paper); }
  .stat { min-height: 116px; padding: 18px 12px; }
  .stat b { font-size: 34px; line-height: 1; }
  .stat p { font-size: 11px; line-height: 1.35; }
  .stat p i { color: var(--red-deep); }

  .sec-head { margin-bottom: 24px; gap: 10px; }
  .sec-head .lead { display: none; }
  #heritage .sec-head .lead {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
  }
  .sec-head h2 { font-size: clamp(30px, 9vw, 38px); }
  .sec-head .as-head { font-size: 14px; }

  /* 3. Seven commitments: visual summaries, details only when requested. */
  .mobile-programmes { border-top: 1px solid var(--line); }
  .mobile-programme { border-bottom: 1px solid var(--line); }
  .mobile-programme summary {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 28px;
    gap: 13px;
    align-items: center;
    min-height: 96px;
    padding: 10px 0;
    cursor: pointer;
    list-style: none;
  }
  .mobile-programme summary::-webkit-details-marker,
  .mobile-payment-details > summary::-webkit-details-marker,
  .mobile-membership summary::-webkit-details-marker,
  .mobile-registration summary::-webkit-details-marker { display: none; }
  .mobile-programme summary::after {
    content: '+';
    grid-column: 3;
    grid-row: 1;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--red);
    font-size: 18px;
    transition: transform .2s ease;
  }
  .mobile-programme[open] summary::after { transform: rotate(45deg); }
  .mobile-programme summary > i { display: none; }
  .mobile-programme summary img {
    grid-column: 1;
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 10px;
  }
  .mobile-programme summary img.objective-illustration {
    object-fit: contain;
    padding: 3px;
    background: #eadfca;
  }
  .mobile-programme summary .programme-mark {
    grid-column: 1;
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border: 1px solid rgba(130, 28, 31, .22);
    border-radius: 10px;
    background: var(--cream);
    color: var(--red);
    font: 700 16px var(--sans);
    letter-spacing: .12em;
  }
  .mobile-programme summary > span {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .mobile-programme small { order: 2; margin-top: 3px; color: var(--muted); font-size: 11px; }
  .mobile-programme b { order: 1; font-family: var(--serif); font-size: 18px; line-height: 1.12; }
  .mobile-programme > p {
    margin: 0 0 16px 87px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
  }

  /* 4. Evidence ledger: three proof records by default. */
  .ledger .led:nth-child(n+4) { display: none; }
  .ledger.mobile-expanded .led:nth-child(n+4) { display: grid; }
  .led { grid-template-columns: 24px 64px minmax(0, 1fr); min-height: 86px; }
  .led-shot { width: 64px; height: 64px; border-radius: 9px; }
  .mobile-record-toggle {
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: 700 12px var(--sans);
    letter-spacing: .04em;
  }
  .mobile-record-toggle span { color: var(--red); margin-left: 6px; }
  .ledger-source { margin-top: 14px; font-size: 10px; }

  /* 5. Current initiative: result first, payment evidence on demand. */
  #now .feature { display: flex; flex-direction: column; gap: 22px; }
  #now .feature > :last-child { order: 1; }
  #now .feature > .relief-left { order: 2; }
  #now .feature-media { aspect-ratio: 4 / 3; }
  #now .feature-list li { font-size: 13px; }
  #now .feature-list li:nth-child(n+4) { display: none; }
  #now .hero-actions { margin-top: 18px; }
  #now .hero-actions .btn { min-height: 46px; }
  #now .hero-actions .btn:nth-child(n+2) { display: none; }
  #now .tag-live { color: var(--red-deep); }
  .mobile-payment-details {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--paper);
    overflow: hidden;
  }
  .mobile-payment-details > summary {
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 13px 15px;
    cursor: pointer;
    color: var(--ink);
    font: 700 12px var(--sans);
  }
  .mobile-payment-details[open] > summary span { transform: rotate(45deg); }
  .mobile-payment-details .scan-card { margin: 0 12px 12px; }

  /* 6. Heritage becomes a real swipe gallery; lightbox remains available. */
  .mosaic {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut));
    padding: 0 var(--gut) 8px;
  }
  .mosaic::-webkit-scrollbar { display: none; }
  .mosaic .plate,
  .mosaic .m1 {
    flex: 0 0 min(82vw, 360px);
    grid-column: auto !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: var(--r-lg);
    scroll-snap-align: start;
  }
  .mosaic figcaption { padding: 42px 14px 13px; }
  .mosaic figcaption b { font-size: 15px; }
  .mosaic figcaption span { font-size: 11px; }

  /* 7. Membership: a warm, light action block rather than another dark wall. */
  #involve { background: var(--sand); color: var(--ink); }
  #involve h2 { color: var(--ink); }
  .mobile-kicker { color: var(--red-deep); }
  .mobile-membership > p { color: var(--muted); font-size: 14px; }
  .mobile-membership details { margin-top: 18px; border-block: 1px solid var(--line-2); }
  .mobile-membership summary,
  .mobile-registration-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
  }
  .mobile-membership summary { color: var(--ink); }
  .mobile-membership ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); font-size: 13px; }
  .mobile-membership .btn { width: 100%; justify-content: center; min-height: 48px; margin-top: 18px; }

  /* 8. Trust, support and one consolidated contact form. */
  #support { background: var(--cream); color: var(--ink); }
  #support h2 { color: var(--ink); }
  #support .eyebrow { color: var(--red-deep); }
  #support .italic-accent { color: var(--red); }
  .mobile-support-actions { gap: 16px; }
  .mobile-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .mobile-trust-row span {
    min-width: 0;
    padding: 12px 7px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    text-align: center;
  }
  .mobile-trust-row b { display: block; color: var(--red-deep); font: 700 17px var(--serif); }
  .mobile-trust-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.25; }
  .mobile-support-warning {
    padding: 14px;
    border-left: 3px solid var(--red);
    background: rgba(198,37,43,.055);
    font-size: 12px;
  }
  .mobile-contact-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 58px;
    padding: 10px 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-md);
    background: var(--white);
    color: var(--ink);
  }
  .mobile-contact-action span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
  .mobile-contact-action b { margin-top: 2px; font-size: 14px; overflow-wrap: anywhere; }
  .mobile-registration-details { border-top: 1px solid var(--line-2); }
  .mobile-registration-details summary { color: var(--ink); }
  .mobile-registration-details dl { margin: 0 0 14px; }
  .mobile-registration-details dl div { padding-block: 9px; border-top: 1px solid var(--line); }
  .mobile-registration-details dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
  .mobile-registration-details dd { margin: 3px 0 0; color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
  #support .eyebrow-en { color: var(--muted); }

  #contact { padding-top: 38px; }
  #contact .contact-grid { display: block; }
  #contact .panel { padding: 20px 16px; }
  #contact .field input,
  #contact .field textarea,
  #contact button { min-height: 46px; }
  #contact .field label i { color: var(--muted); }

  .footer { padding-block: 30px 22px; }
  .footer-top { display: block; }
  .footer-top > :not(:first-child),
  .footer-blurb i { display: none; }
  .footer-blurb { max-width: 30ch; margin-top: 14px; font-size: 12px; }
  .photo-credits { margin: 18px 0 0; }
  .photo-credits summary { min-height: 44px; display: flex; align-items: center; font-size: 10px; }
  .photo-credits p { margin-top: 6px; font-size: 10px; }
  .footer .brand-txt span { color: var(--muga-lite); }
  .footer-bottom { margin-top: 22px; padding-top: 15px; color: rgba(253,249,241,.72); font-size: 9px; }

  summary:focus-visible,
  .mobile-record-toggle:focus-visible,
  .mosaic .plate:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
  }
}

@media (min-width: 621px) and (max-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 26px;
    align-items: center;
  }
  .hero h1 { font-size: clamp(39px, 5.7vw, 44px); }
  .hero-sub { font-size: 14px; }
  .hero-stage { aspect-ratio: 4 / 3; }
}

@media (max-width: 350px) {
  :root { --gut: 16px; }
  .brand-txt span { display: none; }
  .hero h1 { font-size: 34px; }
  .mobile-programme summary { grid-template-columns: 66px minmax(0, 1fr) 26px; gap: 10px; }
  .mobile-programme summary img { width: 66px; height: 66px; }
  .mobile-programme summary .programme-mark { width: 66px; height: 66px; }
  .mobile-programme > p { margin-left: 76px; }
}

/* =====================================================================
   32. MOBILE STORY REFINEMENT
   The phone edition leads with a real programme photograph, gives each
   action block a distinct rhythm, and keeps the three useful destinations
   reachable without reopening the menu.
   ===================================================================== */
@media (max-width: 620px) {
  html { scroll-padding-top: 72px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  .header,
  .header.scrolled { padding-block: 7px; }
  .header .wrap { min-height: 48px; }
  .brand-mark { box-shadow: 0 8px 22px rgba(198,37,43,.18); }

  /* Put the one verified Barsabah photograph directly after the promise. */
  .hero { padding-top: 78px; padding-bottom: 40px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero-relief-spotlight {
    order: 1;
    min-height: 70px;
    margin: 0 0 20px;
    grid-template-columns: 44px minmax(0,1fr) 34px;
    gap: 11px;
    padding: 10px;
    border-radius: 19px;
    box-shadow: 0 15px 36px rgba(91,18,23,.24), 5px 5px 0 rgba(224,180,87,.12);
  }
  .hero-relief-spotlight::after { right: 38px; bottom: -10px; font-size: 40px; }
  .relief-spotlight-mark { width: 44px; height: 44px; border-radius: 14px; }
  .relief-spotlight-mark i { width: 32px; height: 32px; }
  .relief-spotlight-mark i:nth-child(2) { width: 21px; height: 21px; }
  .relief-spotlight-mark i:nth-child(3) { width: 9px; height: 9px; }
  .relief-spotlight-copy small { margin-bottom: 5px; font-size: 6.8px; }
  .relief-spotlight-copy strong { font-size: 12px; line-height: 1.25; }
  .relief-spotlight-copy strong span { display: block; margin: 0 0 1px; font-size: 12px; }
  .relief-spotlight-action { font-size: 0; }
  .relief-spotlight-action i { width: 32px; height: 32px; font-size: 13px; }
  .hero-pill { display: none !important; }
  .hero-as { order: 2; margin: 0 0 8px; }
  .hero h1 { display: none !important; }
  .mobile-hero-statement {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .statement-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--red-deep);
    font: 700 9px/1 var(--sans);
    letter-spacing: .17em;
    text-transform: uppercase;
  }
  .statement-kicker::after {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--red), transparent);
  }
  .statement-copy { display: block; }
  .statement-copy strong,
  .statement-copy em {
    display: block;
    font: 500 clamp(39px, 11.7vw, 47px)/.98 var(--display);
    letter-spacing: -.055em;
  }
  .statement-copy strong { color: var(--ink); }
  .statement-copy em { color: var(--red); font-style: italic; }
  .statement-focus {
    display: inline-grid;
    grid-template-columns: auto minmax(72px, auto) 18px;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin-top: 15px;
    padding: 7px 10px 7px 12px;
    border: 1px solid rgba(198,37,43,.15);
    border-radius: 999px;
    background: rgba(255,255,255,.56);
    box-shadow: 0 7px 18px rgba(26,17,8,.045);
  }
  .statement-focus small {
    color: var(--muted);
    font: 600 8px/1 var(--sans);
    letter-spacing: .13em;
    text-transform: uppercase;
  }
  .statement-focus b {
    color: var(--red-deep);
    font: 700 11px/1 var(--sans);
    transition: opacity .16s ease, transform .16s ease;
  }
  .statement-focus b.changing { opacity: 0; transform: translateY(4px); }
  .statement-focus i {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font: 600 9px/1 var(--sans);
  }
  .hero-figure { order: 4; width: 100%; margin-top: 20px; }
  .mobile-hero-location { display: none !important; }
  .mobile-hero-summary {
    order: 5;
    margin: 10px 0 0;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.58;
  }
  .mobile-hero-actions { order: 6; margin-top: 18px; }
  .hero-sub,
  .hero-sub-as,
  .hero-copy > .hero-actions,
  .hero-foot { display: none !important; }

  .hero-stage {
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(198,37,43,.2);
    border-radius: 24px;
    box-shadow: 9px 9px 0 rgba(224,180,87,.16), 0 24px 54px rgba(26,17,8,.18);
  }
  .hero-stage::after {
    background: linear-gradient(0deg, rgba(26,17,8,.48), rgba(26,17,8,0) 46%);
  }
  .hero-stage .live-card {
    display: flex;
    left: 12px;
    right: auto;
    bottom: 12px;
    width: min(208px, calc(100% - 24px));
    max-width: none;
    gap: 9px;
    min-height: 48px;
    padding: 7px 8px 7px 11px;
    border-color: rgba(253,249,241,.34);
    border-radius: 16px;
    background: rgba(26,17,8,.72);
    box-shadow: 0 12px 28px rgba(26,17,8,.24);
  }
  .hero-stage .live-body { flex: 1; }
  .hero-stage .live-tag {
    gap: 6px;
    color: var(--muga-lite);
    font-size: 6.5px;
    letter-spacing: .13em;
    white-space: nowrap;
  }
  .hero-stage .live-tag i { width: 6px; height: 6px; }
  .hero-stage .live-card b {
    margin-top: 3px;
    color: var(--cream);
    font: 700 11.5px/1.1 var(--sans);
  }
  .hero-stage .live-card b span {
    display: block;
    margin-top: 2px;
    color: rgba(253,249,241,.72);
    font-size: 8.5px;
    line-height: 1.15;
  }
  .hero-stage .live-card .arw {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 13px;
  }
  .hero-mobile-photo-note {
    position: relative;
    z-index: 5;
    width: auto;
    margin: 10px 4px 0;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 2px solid var(--red);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--muted);
    font: 600 10px/1.45 var(--sans);
  }

  /* A tighter, more useful trust strip. */
  .section-sm.bg-sand { padding-block: 24px; }
  .stats { gap: 8px; background: transparent; }
  .stat {
    min-height: 102px;
    padding: 16px 12px;
    border: 1px solid var(--line) !important;
    border-radius: 14px;
    background: rgba(253,249,241,.72);
  }
  .stat b { font-size: 31px; }
  .stat p { margin-top: 6px; }

  .section { padding-block: 50px; }
  #work .sec-head,
  #record .sec-head,
  #heritage .sec-head { margin-bottom: 22px; }
  .sec-head h2 { letter-spacing: -.025em; }

  .mobile-programme summary { min-height: 90px; }
  .mobile-programme summary img,
  .mobile-programme summary .programme-mark { width: 68px; height: 68px; }
  .mobile-programme summary { grid-template-columns: 68px minmax(0,1fr) 28px; }
  .mobile-programme b { font-size: 17px; }
  .mobile-programme > p { margin-left: 81px; }

  #record { background: linear-gradient(180deg, var(--sand), #f5ecd9); }
  #record .archive-photo-note {
    margin: -4px 0 12px;
    padding: 12px 14px;
    border-radius: 0 12px 12px 0;
    font-size: 11.5px;
  }
  .led { padding-block: 12px; }
  .mobile-record-toggle { background: rgba(253,249,241,.58); }

  /* Current relief record: show the supplied evidence before the explanation. */
  #now { background: #f2e7d1; }
  #now .h2 { font-size: clamp(34px, 10vw, 42px); }
  .now-proof {
    margin: 18px 0 16px;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(140,32,39,.14);
    border-radius: 22px;
    background: var(--cream);
    box-shadow: 0 20px 44px rgba(92,31,24,.16), 7px 7px 0 rgba(217,163,58,.13);
  }
  .now-proof img { object-position: center 49%; filter: none; }
  .now-proof-digital figcaption {
    inset: auto 12px 12px;
    padding: 10px 12px;
    border: 1px solid rgba(253,249,241,.22);
    border-radius: 12px;
    background: rgba(55,14,17,.91);
    backdrop-filter: blur(8px);
  }
  .now-proof figcaption,
  .mobile-membership-photo figcaption {
    padding: 42px 14px 13px;
  }
  .now-proof figcaption b,
  .mobile-membership-photo figcaption b { font-size: 14px; }
  .now-proof figcaption span,
  .mobile-membership-photo figcaption span { font-size: 10px; }
  #now .lead { font-size: 14px; line-height: 1.55; }
  #now .feature-list { margin-top: 18px; }
  #now .feature-list li { padding-block: 8px; }

  /* The archive reads as a tactile strip, not another document table. */
  #heritage .sec-head .lead { font-size: 13px; line-height: 1.55; }
  #heritage .sec-head .as-text { display: none !important; }
  #heritage .mosaic { padding-bottom: 14px; }
  #heritage .mosaic .plate,
  #heritage .mosaic .m1 {
    flex-basis: min(86vw, 350px);
    aspect-ratio: 5 / 4 !important;
    box-shadow: 0 14px 30px rgba(26,17,8,.12);
  }

  /* Membership becomes human and specific. */
  #involve { background: linear-gradient(160deg, #efe2c9, #f8f1e3); }
  .mobile-membership h2 {
    max-width: 10ch;
    margin-top: 8px;
    font: 500 clamp(33px, 9.5vw, 40px)/1.02 var(--display);
    letter-spacing: -.025em;
  }
  .mobile-membership-photo {
    margin-top: 20px;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(26,17,8,.14);
  }
  .mobile-membership details { margin-top: 16px; }

  #support { background: #fbf6ec; }
  .mobile-trust-row > span {
    display: flex;
    min-height: 72px;
    margin: 0;
    padding: 10px 6px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(26,17,8,.045);
  }
  .mobile-contact-action { box-shadow: 0 8px 20px rgba(26,17,8,.045); }

  #contact .panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.5);
  }
  #contact .panel .h2 { font-size: 36px; }
  .to-top { display: none !important; }

  .mobile-action-dock {
    position: fixed; z-index: 1250;
    left: 12px; right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    min-height: 58px;
    padding: 5px;
    border: 1px solid rgba(253,249,241,.16);
    border-radius: 20px;
    background: rgba(26,17,8,.94);
    box-shadow: 0 18px 44px rgba(26,17,8,.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity .2s ease, transform .2s ease;
  }
  .mobile-action-dock.is-visible { opacity: 1; pointer-events: auto; transform: none; }
  .mobile-action-dock a {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 15px;
    color: rgba(253,249,241,.78);
  }
  .mobile-action-dock a:first-child { background: var(--red); color: var(--white); }
  .mobile-action-dock span { color: var(--muga-lite); font-size: 13px; }
  .mobile-action-dock a:first-child span { color: var(--white); }
  .mobile-action-dock b { font: 600 11px var(--sans); white-space: nowrap; }
  body.lb-open .mobile-action-dock,
  body.menu-open .mobile-action-dock { opacity: 0; pointer-events: none; transform: translateY(14px); }
}

/* =====================================================================
   33. MOBILE MOTION + RELIEF CAMPAIGN
   Motion is used as navigation: sections arrive as they enter the screen,
   photographs carry a restrained depth shift, and the archive visibly
   behaves like a touch gallery. Reduced-motion users retain the still layout.
   ===================================================================== */
@media (max-width: 768px) {
  .relief-campaign-card {
    position: relative;
    min-height: 500px;
    margin: 20px 0 18px;
    padding: 22px 18px 18px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(253,249,241,.18);
    border-radius: 24px;
    background:
      radial-gradient(circle at 84% 12%, rgba(224,180,87,.28), transparent 26%),
      linear-gradient(150deg, #391012 0%, #741a20 56%, #9b2026 100%);
    color: var(--cream);
    box-shadow: 0 22px 54px rgba(87,18,23,.25), 8px 8px 0 rgba(217,163,58,.14);
  }
  .relief-campaign-card::before {
    content: "RELIEF";
    position: absolute;
    z-index: -1;
    right: -12px;
    top: 88px;
    color: rgba(253,249,241,.055);
    font: 700 clamp(66px, 22vw, 94px)/.82 var(--sans);
    letter-spacing: -.07em;
    writing-mode: vertical-rl;
  }
  .relief-ripples { position: absolute; z-index: -1; inset: auto -82px -95px auto; width: 250px; height: 250px; }
  .relief-ripples i {
    position: absolute;
    inset: 50%;
    border: 1px solid rgba(253,249,241,.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .relief-ripples i:nth-child(1) { width: 96px; height: 96px; }
  .relief-ripples i:nth-child(2) { width: 166px; height: 166px; }
  .relief-ripples i:nth-child(3) { width: 236px; height: 236px; }
  .relief-campaign-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(253,249,241,.18);
  }
  .relief-campaign-top span {
    display: flex;
    align-items: center;
    gap: 7px;
    font: 700 8px/1.2 var(--sans);
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .relief-campaign-top span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--muga-lite);
    box-shadow: 0 0 0 5px rgba(224,180,87,.13);
  }
  .relief-campaign-top > b { color: var(--muga-lite); font: 600 11px/1.25 var(--beng-s); }
  .relief-campaign-copy { position: relative; max-width: 290px; padding: 42px 0 34px; }
  .relief-campaign-copy small {
    display: block;
    margin-bottom: 8px;
    color: var(--muga-lite);
    font: 600 12px/1.45 var(--beng-s);
  }
  .relief-campaign-copy h3 {
    margin: 0;
    color: var(--cream);
    font: 500 clamp(37px, 10.8vw, 46px)/.95 var(--display);
    letter-spacing: -.045em;
  }
  .relief-campaign-copy h3 em { color: var(--muga-lite); font-style: italic; }
  .relief-campaign-copy > p { max-width: 28ch; margin: 17px 0 0; color: rgba(253,249,241,.73); font-size: 12px; line-height: 1.55; }
  .relief-record-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid rgba(253,249,241,.16);
  }
  .relief-record-strip span { padding: 13px 8px 13px 0; color: rgba(253,249,241,.67); font-size: 8.5px; line-height: 1.35; }
  .relief-record-strip b { display: block; margin-bottom: 4px; color: var(--muga-lite); font: 700 9px/1 var(--sans); letter-spacing: .12em; }
  .relief-verify {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    margin-top: 17px;
    padding: 12px;
    border: 1px solid rgba(253,249,241,.22);
    border-radius: 15px;
    background: rgba(253,249,241,.11);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .relief-verify > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--muga-lite);
    color: var(--red-deep);
    font-weight: 900;
  }
  .relief-verify p { margin: 0; color: rgba(253,249,241,.68); font-size: 8.5px; line-height: 1.4; }
  .relief-verify p b { display: block; margin-bottom: 2px; color: var(--cream); font-size: 10px; }
  .relief-verify a {
    min-height: 38px;
    display: grid;
    place-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--red-deep);
    font: 700 10px/1 var(--sans);
  }

  .mobile-gallery-guide {
    align-items: center;
    grid-template-columns: auto minmax(56px,1fr) auto;
    gap: 11px;
    margin: -4px 0 14px;
    color: var(--muted);
    font: 700 8.5px/1 var(--sans);
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .mobile-gallery-guide.mobile-only { display: grid !important; }
  .mobile-gallery-guide > i { height: 2px; overflow: hidden; border-radius: 999px; background: var(--line-strong); }
  .mobile-gallery-guide > i b {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--red);
    transform: scaleX(.1667);
    transform-origin: left center;
    transition: transform .18s linear;
  }
  .mobile-gallery-guide strong { color: var(--red-deep); font-size: 9px; letter-spacing: .08em; }
  #heritage .mosaic .plate {
    opacity: .68;
    transform: scale(.955);
    transform-origin: center;
    transition: opacity .35s ease, transform .45s var(--ease), box-shadow .45s var(--ease);
  }
  #heritage .mosaic .plate.is-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 42px rgba(26,17,8,.2);
  }
  #heritage .mosaic .plate::after {
    content: "↗";
    opacity: 1;
    transform: none;
    background: rgba(26,17,8,.66);
  }
  .mobile-action-dock.is-suppressed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0 !important;
    transform: translate3d(0, 22px, 0) scale(.988) !important;
    transition: opacity .62s var(--ease-soft), transform .72s var(--ease) !important;
    transition-delay: var(--d, 0ms) !important;
  }
  [data-reveal].in { opacity: 1 !important; transform: none !important; }
  [data-reveal="mask"] > * { clip-path: none !important; }
  .mobile-motion-photo {
    transform: translate3d(0, var(--photo-y, 0px), 0) scale(1.075) !important;
    transition: opacity .65s var(--ease-soft), transform .16s linear !important;
    will-change: transform;
  }
  .relief-ripples i { animation: reliefRipple 4.5s ease-in-out infinite; }
  .relief-ripples i:nth-child(2) { animation-delay: .45s; }
  .relief-ripples i:nth-child(3) { animation-delay: .9s; }
}

@keyframes reliefRipple {
  0%, 100% { opacity: .48; transform: translate(-50%, -50%) scale(.94); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}
