/* ==========================================================
   Jijamata Mahila Vikas va Shikshan Sanstha, Jafrabad
   Identity: soft, warm and centred. Arches (mehrab), rounded
   cards, pill buttons. Colours from the seal: the plum of
   Rajmata Jijau's paithani, saffron, and blush.
   ========================================================== */

:root {
  --night: #2b0b20;
  --plum: #5f1a44;
  --plum-2: #7e2a5c;
  --rose: #f6e4ea;
  --blush: #fbf3f0;
  --cream: #fffaf5;
  --saffron: #e39a33;
  --saffron-deep: #a95f0f;
  --saffron-soft: #f5c27a;
  --ink: #2b1624;
  --muted: #6d5463;
  --line: rgba(43, 22, 36, 0.12);

  --display: "DM Serif Display", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
  --deva: "Tiro Devanagari Sanskrit", "Tiro Devanagari Marathi", serif;

  --wrap: 1180px;
  --r: 22px;
  --shadow: 0 24px 50px -30px rgba(43, 11, 32, 0.45);
  --ease: cubic-bezier(0.22, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 1.06rem; line-height: 1.75; font-weight: 400;
  color: var(--ink); background: var(--blush); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.005em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 em, h1 em { font-style: italic; color: var(--plum-2); }
::selection { background: var(--saffron); color: var(--night); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 100px; }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--night); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* ---------- Header: split navigation, centred emblem ---------- */
.mh-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 245, .92); backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.mh-header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
  padding-block: .9rem; transition: padding .3s var(--ease);
}
.scrolled .mh-header-inner, .mh-header.scrolled .mh-header-inner { padding-block: .5rem; }
.nav-open .mh-header { z-index: 80; }
.mh-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.mh-nav-left ul { justify-content: flex-end; }
.mh-nav-right ul { justify-content: flex-start; }
.mh-nav a {
  display: block; padding: .45rem .9rem; border-radius: 999px; font-weight: 500; font-size: .97rem; white-space: nowrap;
  transition: background .25s, color .25s;
}
.mh-nav a:hover { background: var(--rose); color: var(--plum); }
.mh-nav a[aria-current="page"] { background: var(--rose); color: var(--plum); }
.mh-nav .pill-link { background: var(--plum); color: var(--cream); padding-inline: 1.2rem; }
.mh-nav .pill-link:hover, .mh-nav .pill-link[aria-current="page"] { background: var(--night); color: var(--cream); }

.emblem { display: flex; align-items: center; gap: .8rem; }
.emblem img { width: 60px; height: 60px; border-radius: 50%; mix-blend-mode: multiply; transition: width .3s var(--ease), height .3s var(--ease); }
.mh-header.scrolled .emblem img { width: 46px; height: 46px; }
.emblem-text { display: flex; flex-direction: column; line-height: 1.15; }
.emblem-name { font-family: var(--display); font-size: 1.12rem; color: var(--plum); }
.emblem-sub { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-deep); font-weight: 500; }
.emblem-sub .deva { font-family: var(--deva); letter-spacing: 0; text-transform: none; font-size: .95rem; }

.nav-toggle {
  display: none; justify-self: end; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--cream); cursor: pointer; position: relative; z-index: 70;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 13px; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mh-drawer {
  position: fixed; inset: .8rem .8rem auto .8rem; z-index: 60; background: var(--cream);
  border-radius: var(--r); box-shadow: 0 30px 60px -20px rgba(43, 11, 32, .5);
  padding: 5.5rem 1.6rem 1.6rem; transform: translateY(-120%); transition: transform .5s var(--ease);
  display: none;
}
.mh-drawer ul { list-style: none; margin: 0; padding: 0; }
.mh-drawer li a { display: block; font-family: var(--display); font-size: 1.6rem; padding: .45rem 0; color: var(--plum); }
.mh-drawer .drawer-meta { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); display: grid; gap: .3rem; }
.nav-open .mh-drawer { transform: none; }
.scrim { position: fixed; inset: 0; background: rgba(43, 11, 32, .45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
.nav-open .scrim { opacity: 1; pointer-events: auto; }

/* ---------- Buttons & labels ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.6rem; border-radius: 999px;
  font-weight: 500; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; font-family: var(--sans);
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-saffron { background: var(--saffron); color: var(--night); }
.btn-saffron:hover { background: var(--saffron-soft); }
.btn-plum { background: var(--plum); color: var(--cream); }
.btn-plum:hover { background: var(--night); }
.btn-line-light { border-color: rgba(255, 240, 246, .4); color: #fbeaf1; }
.btn-line-light:hover { border-color: var(--saffron-soft); color: var(--saffron-soft); }
.btn-line { border-color: var(--plum); color: var(--plum); }
.btn-line:hover { background: var(--plum); color: var(--cream); }

.chip {
  display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background: var(--rose); color: var(--plum); padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.chip.on-dark { background: rgba(255, 255, 255, .08); color: var(--saffron-soft); border: 1px solid rgba(245, 194, 122, .3); }

/* ---------- Hero ---------- */
.mh-hero {
  position: relative; background: var(--night); color: #f6e7ee; text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0 0; overflow: visible;
  background-image:
    radial-gradient(60% 50% at 50% 0%, rgba(126, 42, 92, .75), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(227, 154, 51, .18), transparent 70%);
}
.mh-hero .motto { font-family: var(--deva); color: var(--saffron-soft); font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 1.2rem; }
.mh-hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 1; max-width: 13em; margin: 0 auto 1.4rem; color: #fff; }
.mh-hero h1 em { color: var(--saffron-soft); }
.mh-hero .lead { max-width: 40em; margin: 0 auto 2.2rem; color: #e3cbd6; font-size: 1.15rem; }
.mh-hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

.arches {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: end;
  max-width: 980px; margin: clamp(3rem, 6vw, 4.5rem) auto 0; position: relative; z-index: 2;
  transform: translateY(5rem); margin-top: clamp(3rem, 6vw, 4.5rem);
}
.arch {
  border-radius: 999px 999px var(--r) var(--r); overflow: hidden; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .7);
}
.arch-side { aspect-ratio: 3 / 3.8; padding: 2rem 1.4rem; }
.arch-main { aspect-ratio: 3 / 3.7; background: var(--cream); padding: 14% 9% 9%; }
.arch-main img { width: 100%; mix-blend-mode: multiply; }
.arch-year { background: var(--plum-2); color: #fbe7ef; }
.arch-year .big { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: #fff; }
.arch-year small { display: block; margin-top: .6rem; font-size: .95rem; line-height: 1.4; color: #f0d1de; }
.arch-award { background: var(--saffron); color: var(--night); }
.arch-award svg { width: 46px; height: 46px; margin-bottom: .8rem; }
.arch-award strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.15; display: block; }
.arch-award small { display: block; margin-top: .5rem; font-size: .9rem; line-height: 1.4; }

/* ---------- Sections ---------- */
.sec { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.sec-after-arches { padding-top: calc(5rem + clamp(4rem, 7vw, 6rem)); }
.sec-rose { background: var(--rose); }
.sec-cream { background: var(--cream); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.sec-head p { color: var(--muted); margin: 0; }

/* Intro */
.mh-intro { max-width: 860px; margin: 0 auto; text-align: center; }
.mh-intro .lede { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--ink); margin-bottom: 1.4rem; }
.mh-intro .lede em { color: var(--plum-2); }
.mh-intro p { color: var(--muted); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--cream); border-radius: var(--r);
  box-shadow: var(--shadow); margin-top: 3.5rem; overflow: hidden;
}
.stat { padding: 2rem 1.2rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--plum); }
.stat span { display: block; margin-top: .5rem; font-size: .92rem; color: var(--muted); line-height: 1.4; }

/* Arch cards: governing body */
.council-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; }
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.arch-card { text-align: center; }
.arch-card .frame {
  aspect-ratio: 3 / 3.6; border-radius: 999px 999px 18px 18px; overflow: hidden; margin-bottom: 1rem;
  background: linear-gradient(170deg, var(--plum-2), var(--plum)); display: grid; place-items: center;
  font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fbe3ec; position: relative;
}
.arch-card .frame::after {
  content: ""; position: absolute; inset: 8px; border-radius: 999px 999px 12px 12px; border: 1px solid rgba(245, 194, 122, .45);
}
.arch-card .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.arch-card .role { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron-deep); font-weight: 600; }
.arch-card .name { font-family: var(--display); font-size: 1.12rem; line-height: 1.25; margin-top: .2rem; }

/* President message block */
.mh-message { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.mh-message .quote {
  font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; color: var(--night); margin: 0 0 1.8rem; position: relative;
}
.mh-message .quote::before {
  content: "\201C"; display: block; font-size: 5.5rem; line-height: .6; color: var(--saffron); margin-bottom: .6rem;
}
.signature { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.signature::before { content: ""; width: 42px; height: 2px; background: var(--saffron); }
.signature strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.signature span { font-size: .92rem; color: var(--muted); }
.arch-photo { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.arch-photo::before {
  content: ""; position: absolute; inset: 0; transform: translate(18px, 18px); border-radius: 999px 999px var(--r) var(--r);
  background: var(--saffron); z-index: 0;
}
.arch-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 999px 999px var(--r) var(--r); }

/* Institution cards */
.inst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.inst-card {
  background: var(--cream); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.inst-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.inst-card.is-hidden { display: none; }
.inst-top {
  position: relative; padding: 1.4rem 1.5rem 3.2rem; color: #fff; background: var(--plum);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
}
.inst-top::after {
  /* arch window cut into the band */
  content: ""; position: absolute; left: 1.5rem; bottom: -1px; width: 64px; height: 40px;
  background: var(--cream); border-radius: 999px 999px 0 0;
}
.inst-card[data-type="junior"] .inst-top { background: var(--plum-2); }
.inst-card[data-type="school"] .inst-top { background: var(--saffron-deep); }
.inst-loc { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .9; }
.inst-num { font-family: var(--display); font-size: 2.2rem; line-height: .8; opacity: .45; }
.inst-body { padding: .6rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.inst-type { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron-deep); }
.inst-body h3 { font-size: 1.4rem; line-height: 1.2; margin: .3rem 0 .6rem; }
.inst-body .addr { color: var(--muted); font-size: .92rem; line-height: 1.5; margin-bottom: 1.2rem; }
.inst-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
.inst-links a {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 500;
  padding: .4rem .9rem; border-radius: 999px; background: var(--rose); color: var(--plum); transition: background .2s, color .2s;
}
.inst-links a:hover { background: var(--plum); color: var(--cream); }
.inst-links svg { width: 14px; height: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.6rem; }
.filter {
  font: inherit; font-size: .95rem; font-weight: 500; padding: .55rem 1.2rem; border-radius: 999px; cursor: pointer;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink); transition: all .25s;
}
.filter:hover { border-color: var(--plum); color: var(--plum); }
.filter.active { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.filter sup { font-size: .7rem; margin-left: .3rem; opacity: .7; }

/* Vision band */
.vision-band { background: var(--saffron); color: var(--night); text-align: center; padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden; }
.vision-band::before, .vision-band::after {
  content: ""; position: absolute; width: 320px; height: 400px; border-radius: 999px 999px 0 0;
  border: 1.5px solid rgba(43, 11, 32, .14); bottom: -120px;
}
.vision-band::before { left: -80px; }
.vision-band::after { right: -80px; }
.vision-band .chip { background: rgba(43, 11, 32, .1); color: var(--night); }
.vision-band h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 1.2rem; }
.vision-band p { max-width: 42em; margin: 0 auto; font-size: 1.12rem; }

/* Mission tiles */
.mission-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: m; }
.mission-tiles li {
  list-style: none; background: var(--cream); border-radius: var(--r); padding: 1.6rem 1.4rem; counter-increment: m;
  border: 1px solid var(--line); font-size: .98rem; line-height: 1.6;
}
.mission-tiles li::before {
  content: counter(m); display: grid; place-items: center; width: 44px; height: 52px; margin-bottom: 1rem;
  border-radius: 999px 999px 8px 8px; background: var(--rose); color: var(--plum); font-family: var(--display); font-size: 1.4rem;
}
.mission-tiles { padding: 0; margin: 0; }

/* Event */
.event-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2.2rem; align-items: center;
  background: var(--cream); border-radius: var(--r); padding: 1.8rem 2.2rem 1.8rem 1.8rem; border: 1px solid var(--line);
  max-width: 900px; margin: 0 auto;
}
.date-disc {
  width: 118px; height: 118px; border-radius: 50%; background: var(--plum); color: var(--cream);
  display: grid; place-content: center; text-align: center; line-height: 1;
}
.date-disc b { font-family: var(--display); font-weight: 400; font-size: 2.8rem; }
.date-disc span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-top: .3rem; }
.event-card h3 { font-size: 1.7rem; margin-bottom: .2rem; }
.event-card p { margin: 0; color: var(--muted); }

/* CTA panel */
.cta-panel {
  background: var(--plum); color: #fbe7ef; border-radius: calc(var(--r) * 1.6); text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem; position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; left: 50%; top: 1.2rem; width: min(560px, 80%); height: 140%;
  transform: translateX(-50%); border-radius: 999px 999px 0 0; border: 1px solid rgba(245, 194, 122, .3);
}
.cta-panel h2 { color: #fff; max-width: 18em; margin: 0 auto 1.6rem; position: relative; }
.cta-panel h2 em { color: var(--saffron-soft); }
.cta-panel .btn { position: relative; }

/* ---------- Footer ---------- */
.mh-footer { background: var(--night); color: #dcc3cf; text-align: center; padding: 4.5rem 0 0; margin-top: 0; }
.mh-footer .seal { width: 96px; height: 96px; border-radius: 50%; background: var(--cream); margin: 0 auto 1.2rem; display: grid; place-items: center; overflow: hidden; }
.mh-footer .seal img { width: 92%; mix-blend-mode: multiply; }
.mh-footer .fname { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #fff; margin-bottom: .3rem; }
.mh-footer .fmotto { font-family: var(--deva); font-size: 1.5rem; color: var(--saffron-soft); margin-bottom: 2rem; }
.flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.8rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.flinks a { font-weight: 500; color: #f3dde7; }
.flinks a:hover { color: var(--saffron-soft); }
.fcontact { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-bottom: 3rem; }
.fcontact a, .fcontact span {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(255, 230, 240, .16); font-size: .95rem;
}
.fcontact a:hover { border-color: var(--saffron-soft); color: var(--saffron-soft); }
.fcontact svg { width: 15px; height: 15px; }
.fbottom { border-top: 1px solid rgba(255, 230, 240, .12); padding: 1.3rem 0; font-size: .86rem; color: #a98b9a; }

/* ---------- Inner page hero ---------- */
.mh-page-hero {
  background: var(--night); color: #f3e2ea; text-align: center; padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(5rem, 9vw, 7rem);
  border-radius: 0 0 50% 50% / 0 0 80px 80px;
  background-image: radial-gradient(60% 70% at 50% 0%, rgba(126, 42, 92, .7), transparent 70%);
}
.crumbs { display: inline-flex; gap: .5rem; font-size: .85rem; padding: .35rem 1rem; border-radius: 999px; background: rgba(255,255,255,.07); margin-bottom: 1.6rem; color: #e6cdd8; }
.crumbs a { color: var(--saffron-soft); }
.mh-page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); color: #fff; max-width: 14em; margin: 0 auto 1rem; }
.mh-page-hero h1 em { color: var(--saffron-soft); }
.mh-page-hero p { max-width: 38em; margin: 0 auto; color: #dfc6d1; font-size: 1.12rem; }

/* About story */
.story { max-width: 760px; margin: 0 auto; }
.story p { color: #4d3744; }
.story p:first-of-type { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.45; color: var(--ink); margin-bottom: 1.6rem; }
.award-pill {
  display: flex; gap: 1.2rem; align-items: center; background: var(--cream); border-radius: var(--r);
  padding: 1.4rem 1.6rem; margin: 2.4rem 0; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.award-pill .ico { width: 64px; height: 76px; flex: none; border-radius: 999px 999px 10px 10px; background: var(--saffron); display: grid; place-items: center; color: var(--night); }
.award-pill .ico svg { width: 34px; height: 34px; }
.award-pill strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.award-pill span { font-size: .95rem; color: var(--muted); }

.motto-panel { text-align: center; }
.motto-panel .big { font-family: var(--deva); font-size: clamp(2.2rem, 6vw, 4.4rem); color: var(--plum); line-height: 1.3; margin: 0 0 .6rem; }
.motto-panel .translit { font-family: var(--display); font-style: italic; font-size: 1.3rem; margin-bottom: .4rem; }
.motto-panel .meaning { max-width: 36em; margin: 0 auto; color: var(--muted); }

/* President page: stacked letter */
.letter-top { margin-top: clamp(-9rem, -11vw, -5.5rem); position: relative; z-index: 2; text-align: center; }
.letter-top .arch-photo { max-width: 320px; margin: 0 auto 2rem; }
.letter-top strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
.letter-top span { color: var(--muted); }
.letter-card {
  max-width: 780px; margin: 3rem auto 0; background: var(--cream); border-radius: calc(var(--r) * 1.4);
  padding: clamp(2rem, 5vw, 4rem); box-shadow: var(--shadow); font-size: 1.12rem; line-height: 1.85;
}
.letter-card .salute { font-family: var(--display); font-size: 1.6rem; color: var(--plum); font-style: italic; }
.letter-card .pull {
  margin: 2.2rem -1rem; padding: 1.8rem 2rem; background: var(--rose); border-radius: var(--r);
  font-family: var(--display); font-size: 1.45rem; line-height: 1.45; color: var(--night);
}
.letter-card .closing { margin-top: 2.4rem; text-align: center; padding-top: 2rem; border-top: 1px dashed var(--line); }
.letter-card .closing span { display: block; color: var(--muted); font-size: .98rem; }
.letter-card .closing strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: .3rem 0; }
.letter-card .closing .deva { font-family: var(--deva); color: var(--plum); font-size: 1.3rem; margin-top: .8rem; }

/* Locations */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.loc {
  background: var(--cream); border-radius: 999px 999px var(--r) var(--r); padding: 3.4rem 1.8rem 2rem; text-align: center;
  border: 1px solid var(--line);
}
.loc h3 { font-size: 1.9rem; margin-bottom: .2rem; }
.loc .count { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron-deep); font-weight: 600; }
.loc ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.loc li { padding: .6rem 0; border-top: 1px dashed var(--line); line-height: 1.4; font-weight: 500; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: -4.5rem; position: relative; z-index: 2; }
.c-card { background: var(--cream); border-radius: var(--r); padding: 2rem; text-align: center; box-shadow: var(--shadow); }
.c-card .ico { width: 58px; height: 58px; border-radius: 50%; background: var(--rose); color: var(--plum); display: grid; place-items: center; margin: 0 auto 1rem; }
.c-card .ico svg { width: 24px; height: 24px; }
.c-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.c-card p { margin: 0; color: var(--muted); }
.c-card a { color: var(--plum); font-weight: 500; }
.c-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.form { background: var(--cream); border-radius: var(--r); padding: clamp(1.8rem, 4vw, 2.8rem); border: 1px solid var(--line); }
.form h3 { font-size: 2rem; }
.form .note { color: var(--muted); font-size: .95rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--plum); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--blush);
  border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { margin-top: 1rem; color: var(--plum); min-height: 1.5em; font-size: .95rem; }
.map-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--rose); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Photography ---------- */
.arch-img { padding: 0; background: var(--plum-2); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; }

.inst-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--plum); }
.inst-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.inst-card:hover .inst-photo img { transform: scale(1.05); }
.inst-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(43, 11, 32, .55) 0%, transparent 45%);
}
.inst-photo::after {
  content: ""; position: absolute; left: 1.5rem; bottom: -1px; width: 64px; height: 38px; z-index: 2;
  background: var(--cream); border-radius: 999px 999px 0 0;
}
.inst-photo .inst-loc, .inst-photo .inst-num { position: absolute; z-index: 2; color: #fff; }
.inst-photo .inst-loc { left: 1.4rem; top: 1.1rem; }
.inst-photo .inst-num { right: 1.4rem; top: 1rem; opacity: .8; }

.mh-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.feature-arch { position: relative; }
.feature-arch .main { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.feature-arch .main img { width: 100%; height: 100%; object-fit: cover; }
.feature-arch .inset {
  position: absolute; right: -8%; bottom: -8%; width: 44%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid var(--blush); box-shadow: var(--shadow);
}
.feature-arch .inset img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .8rem; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; }
.ticks li::before {
  content: ""; width: 22px; height: 26px; margin-top: .2rem; border-radius: 999px 999px 4px 4px; background: var(--saffron);
}

.mh-page-hero.has-photo {
  background-image:
    linear-gradient(180deg, rgba(43, 11, 32, .78), rgba(43, 11, 32, .93)),
    var(--bg);
  background-size: cover; background-position: center 35%;
}

.photo-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; max-width: 980px; margin: 3.5rem auto 0; }
.photo-pair figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.photo-pair figure:last-child { border-radius: 999px 999px var(--r) var(--r); aspect-ratio: auto; }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .mh-feature { grid-template-columns: 1fr; }
  .feature-arch { max-width: 380px; }
}
@media (max-width: 640px) {
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair figure:last-child { display: none; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .council-grid { grid-template-columns: repeat(4, 1fr); }
  .mission-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1120px) {
  .mh-nav { display: none; }
  .mh-drawer { display: block; }
  .nav-toggle { display: block; }
  .mh-header-inner { grid-template-columns: 1fr auto; }
}
@media (max-width: 960px) {
  .emblem img { width: 48px; height: 48px; }
  .emblem-name { font-size: 1rem; }
  .arches { grid-template-columns: 1fr; max-width: 340px; transform: translateY(4rem); }
  .arch-side { display: none; }
  .sec-after-arches { padding-top: calc(4rem + 4rem); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .mh-message, .contact-split { grid-template-columns: 1fr; }
  .arch-photo { max-width: 340px; }
  .inst-grid, .loc-grid { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: 1fr; margin-top: -3.5rem; }
  .event-card { grid-template-columns: auto 1fr; }
  .event-card .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .wrap { width: min(var(--wrap), 100% - 2.2rem); }
  .emblem-name { font-size: .9rem; max-width: 15em; }
  .emblem-sub { font-size: .7rem; }
  .council-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .council-grid > * { scroll-snap-align: start; }
  .mission-tiles, .inst-grid, .loc-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .field-row { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; text-align: left; padding: 1.6rem; }
  .date-disc { width: 92px; height: 92px; }
  .date-disc b { font-size: 2.2rem; }
  .letter-card .pull { margin-inline: 0; padding: 1.4rem; }
  .award-pill { flex-direction: column; text-align: center; }
  .mh-page-hero { border-radius: 0 0 50% 50% / 0 0 40px 40px; }
}
