/* ==========================================================================
   R.S. Model Senior Secondary School (Rashtriya Sanskrit), Ludhiana
   Handcrafted stylesheet — pure CSS, no frameworks.

   1.  Design tokens
   2.  Reset & base elements
   3.  Typography helpers
   4.  Layout primitives
   5.  Buttons & links
   6.  Header, navigation, mobile drawer
   7.  Footer
   8.  Hero (home)
   9.  Page hero (inner pages)
   10. Sections, cards & ornaments
   11. Accreditations ribbon
   12. Timeline
   13. Stats & counters
   14. Feature grid
   15. Quotes, messages & people
   16. Verses (Hindi song & prayer)
   17. Tabs, accordions, checklists, steps
   18. Gallery & lightbox
   19. News, notices & events
   20. Tables (toppers)
   21. Forms & contact
   22. Utilities, reveal & motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Forest greens */
  --green-900: #10241a;
  --green-800: #173425;
  --green-700: #1e4531;
  --green-600: #2a5a41;
  --green-500: #3a7355;
  --green-100: #e4ede6;

  /* Warm creams */
  --cream-50: #fdfbf6;
  --cream-100: #f9f4e9;
  --cream-200: #f2eada;
  --cream-300: #e7dcc6;

  /* Gold / amber */
  --gold-700: #8f6a1c;
  --gold-600: #ab7f24;
  --gold-500: #c99a35;
  --gold-400: #ddb662;
  --gold-200: #f0dfae;

  /* Saffron / terracotta */
  --clay-700: #8d4326;
  --clay-600: #a8542f;
  --clay-300: #e6c6b4;

  /* Neutrals */
  --ink-900: #1d1b18;
  --ink-700: #3b3730;
  --ink-500: #6a6359;
  --ink-300: #9c9384;
  --paper: #fffdf8;

  /* Semantic */
  --bg: var(--cream-50);
  --bg-alt: var(--cream-100);
  --surface: var(--paper);
  --text: var(--ink-700);
  --text-strong: var(--ink-900);
  --text-muted: var(--ink-500);
  --accent: var(--gold-600);
  --line: rgba(29, 27, 24, 0.1);
  --line-strong: rgba(29, 27, 24, 0.18);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", "Mangal", serif;

  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0: clamp(0.97rem, 0.94rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.12rem, 1.05rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.3vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.55rem + 2.3vw, 3.6rem);
  --step-5: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem);

  /* Space */
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --container: 1180px;
  --container-wide: 1340px;
  --container-narrow: 760px;

  --space-2xs: 0.35rem;
  --space-xs: 0.6rem;
  --space-sm: 0.95rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: clamp(3.5rem, 7vw, 6.5rem);
  --space-3xl: clamp(4.5rem, 9vw, 8.5rem);

  /* Form & shape */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --arch: 999px 999px 22px 22px;

  --shadow-xs: 0 1px 2px rgba(16, 36, 26, 0.05);
  --shadow-sm: 0 4px 14px -6px rgba(16, 36, 26, 0.16);
  --shadow-md: 0 16px 34px -22px rgba(16, 36, 26, 0.42);
  --shadow-lg: 0 34px 60px -34px rgba(16, 36, 26, 0.48);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.45s;

  --header-offset: 132px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 16px);
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(16, 36, 26, 0.022) 1px, transparent 1px);
  background-size: 3px 3px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  background-color: var(--cream-200);
}

a {
  color: var(--green-600);
  text-decoration-color: rgba(171, 127, 36, 0.5);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}

a:hover {
  color: var(--clay-600);
  text-decoration-color: currentColor;
}

ul,
ol {
  padding-inline-start: 1.15rem;
}

button {
  font: inherit;
  color: inherit;
}

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: var(--space-lg) 0;
}

::selection {
  background: var(--gold-200);
  color: var(--green-900);
}

:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 999;
  background: var(--green-800);
  color: var(--cream-100);
  padding: 0.7rem 1.4rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: var(--cream-100);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Typography helpers
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-strong);
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0 0 var(--space-sm);
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}

p {
  margin: 0 0 var(--space-sm);
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--text-strong);
  font-weight: 600;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--text);
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: var(--step--1);
  line-height: 1.62;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--center {
  justify-content: center;
}

.script {
  font-family: var(--font-deva);
  line-height: 1.85;
}

.dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: 0.82;
  font-weight: 400;
  padding: 0.06em 0.14em 0 0;
  color: var(--green-700);
}

/* Ornamental divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: var(--space-lg) 0;
  color: var(--gold-500);
}

.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: 0.55;
}

.ornament::after {
  background: linear-gradient(270deg, transparent, currentColor);
}

.ornament span {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  position: relative;
  padding-block: var(--space-2xl);
}

.section--tight {
  padding-block: var(--space-xl);
}

.section--cream {
  background: var(--bg-alt);
}

.section--paper {
  background: var(--cream-200);
}

.section--green {
  background: var(--green-800);
  color: rgba(249, 244, 233, 0.82);
}

.section--green h1,
.section--green h2,
.section--green h3,
.section--green h4 {
  color: var(--cream-100);
}

.section--green .eyebrow {
  color: var(--gold-400);
}

.section--green strong {
  color: var(--cream-100);
}

.section--ink {
  background: var(--green-900);
  color: rgba(249, 244, 233, 0.78);
}

.section--ink h2,
.section--ink h3 {
  color: var(--cream-100);
}

.section-head {
  max-width: 62ch;
  margin-bottom: var(--space-xl);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--text-muted);
  font-size: var(--step-1);
  line-height: 1.62;
}

.section--green .section-head p,
.section--ink .section-head p {
  color: rgba(249, 244, 233, 0.7);
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
}

.stack > * + * {
  margin-top: var(--space-sm);
}

.split {
  display: grid;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.split--start {
  align-items: start;
}

.split__media {
  position: relative;
}

.split__body > * + * {
  margin-top: var(--space-sm);
}

.arch {
  border-radius: var(--arch);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch--tall {
  aspect-ratio: 4 / 5;
}

.arch--wide {
  aspect-ratio: 5 / 6;
}

.frame-ghost {
  position: absolute;
  inset: auto -14px -16px auto;
  width: 68%;
  height: 62%;
  border: 1px solid var(--gold-400);
  border-radius: var(--arch);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.split__media--left .frame-ghost {
  inset: auto auto -16px -14px;
}

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.82rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--green-700);
  color: var(--cream-100);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn:hover {
  background: var(--green-600);
  color: var(--cream-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--gold {
  background: var(--gold-600);
  color: var(--green-900);
}

.btn--gold:hover {
  background: var(--gold-500);
  color: var(--green-900);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(29, 27, 24, 0.22);
  color: var(--green-800);
}

.btn--ghost:hover {
  background: rgba(30, 69, 49, 0.06);
  border-color: var(--green-700);
  color: var(--green-800);
}

.btn--light {
  background: var(--cream-100);
  color: var(--green-800);
}

.btn--light:hover {
  background: #fff;
  color: var(--green-900);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(249, 244, 233, 0.35);
  color: var(--cream-100);
}

.btn--outline-light:hover {
  background: rgba(249, 244, 233, 0.1);
  border-color: var(--cream-200);
  color: var(--cream-100);
}

.btn--sm {
  padding: 0.58rem 1.1rem;
  font-size: 0.7rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green-700);
}

.link-more::after {
  content: "\2192";
  transition: transform var(--dur) var(--ease);
}

.link-more:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Header, navigation, mobile drawer
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 120;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 246, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px -26px rgba(16, 36, 26, 0.7);
  background: rgba(253, 251, 246, 0.98);
}

/* Utility strip */
.topbar {
  background: var(--green-900);
  color: rgba(249, 244, 233, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  overflow: hidden;
  max-height: 44px;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
}

.site-header.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 44px;
  padding-block: 0.4rem;
  flex-wrap: wrap;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.topbar__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__list svg {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.8;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.topbar a {
  color: inherit;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--gold-400);
}

.topbar__tag {
  color: var(--gold-400);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Masthead */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 52px;
  height: 52px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  background: var(--paper);
  box-shadow: inset 0 0 0 3px rgba(201, 154, 53, 0.16);
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-4deg);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 0.85rem + 0.7vw, 1.32rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-800);
  letter-spacing: -0.005em;
}

.brand__meta {
  display: block;
  margin: 0.18rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
}

.brand__meta span + span::before {
  content: "\2022";
  margin: 0 0.5rem;
  color: var(--gold-500);
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--green-800);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.icon-link:hover {
  background: rgba(30, 69, 49, 0.05);
  border-color: var(--green-600);
  color: var(--green-800);
}

.icon-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

/* Navigation row */
.nav {
  border-top: 1px solid var(--line);
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.62rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-700);
  text-decoration: none;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.34rem;
  height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover {
  color: var(--green-700);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--green-800);
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform 0.32s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
}

.nav-toggle__bars::before {
  transform: translateY(-6px);
}

.nav-toggle__bars::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg);
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--green-900);
  color: var(--cream-100);
  padding: 1rem var(--gutter) 1.6rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0.5s;
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateY(0);
  visibility: visible;
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(249, 244, 233, 0.14);
}

.drawer__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream-100);
}

.drawer__brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  padding: 2px;
  background: var(--cream-50);
}

.drawer__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(249, 244, 233, 0.28);
  border-radius: 50%;
  background: transparent;
  color: var(--cream-100);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}

.drawer__close:hover {
  background: rgba(249, 244, 233, 0.12);
}

.drawer__nav {
  padding-block: 1.2rem;
}

.drawer__nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: drawer;
}

.drawer__nav li {
  counter-increment: drawer;
  border-bottom: 1px solid rgba(249, 244, 233, 0.1);
}

.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 2.4vw, 1.9rem);
  color: var(--cream-100);
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
}

.drawer.is-open .drawer__nav a {
  animation: drawerIn 0.5s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 45ms + 100ms);
}

.drawer__nav a::before {
  content: counter(drawer, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--gold-400);
}

.drawer__nav a:hover,
.drawer__nav a[aria-current="page"] {
  color: var(--gold-400);
}

@keyframes drawerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer__foot {
  display: grid;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(249, 244, 233, 0.62);
  line-height: 1.6;
}

.drawer__foot a {
  color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--green-900);
  color: rgba(249, 244, 233, 0.7);
  padding-top: var(--space-2xl);
  font-size: 0.92rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400) 45%, var(--clay-600));
}

.footer__grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1.5fr 1fr 1.2fr;
  padding-bottom: var(--space-xl);
}

.footer__brand img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(221, 182, 98, 0.5);
  padding: 3px;
  background: var(--cream-50);
  margin-bottom: var(--space-sm);
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream-100);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.footer__motto {
  font-family: var(--font-deva);
  font-size: 1.05rem;
  color: var(--gold-400);
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(249, 244, 233, 0.55);
  font-size: 0.98rem;
}

.footer__title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-sm);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(249, 244, 233, 0.14);
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer__list a {
  color: rgba(249, 244, 233, 0.72);
  text-decoration: none;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer__list a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.footer__address {
  font-style: normal;
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.social-row {
  display: flex;
  gap: 0.55rem;
  margin-top: var(--space-sm);
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(249, 244, 233, 0.2);
  color: rgba(249, 244, 233, 0.78);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.social-row a:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--green-900);
  transform: translateY(-3px);
}

.social-row svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer__bottom {
  border-top: 1px solid rgba(249, 244, 233, 0.12);
  padding-block: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(249, 244, 233, 0.52);
}

.footer__bottom a {
  color: rgba(249, 244, 233, 0.7);
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 53, 0.14), transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
}

.hero__title {
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.022em;
}

.hero__title em {
  font-style: italic;
  color: var(--clay-600);
}

.hero__title .accent {
  color: var(--green-600);
}

.hero__lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.66;
}

.hero__motto {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: var(--space-md) 0;
  padding: 0.7rem 1.1rem;
  border-left: 2px solid var(--gold-500);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-deva);
  font-size: 1.05rem;
  color: var(--green-800);
  max-width: 40ch;
}

.hero__motto small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: var(--space-lg) 0 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

.hero__stats dt,
.hero__stats dd {
  margin: 0;
}

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--green-700);
  line-height: 1.1;
}

.hero__stat span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero collage */
.hero__collage {
  position: relative;
  padding-bottom: 3.25rem;
}

.hero__figure {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--arch);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 36, 26, 0.42));
}

.hero__figure figcaption {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  color: var(--cream-100);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__badge {
  position: absolute;
  top: 1.75rem;
  left: -0.75rem;
  z-index: 3;
  display: grid;
  gap: 0.1rem;
  padding: 0.85rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--gold-400);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero__badge b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green-700);
}

.hero__badge span {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__seal {
  position: absolute;
  right: -0.5rem;
  bottom: 0;
  z-index: 3;
  max-width: 15rem;
  padding: 1rem 1.15rem;
  background: var(--green-800);
  color: var(--cream-100);
  border-radius: var(--radius) var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-md);
}

.hero__seal strong {
  display: block;
  color: var(--gold-400);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.hero__seal p {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0;
}

/* Quick-access strip under hero */
.quickbar {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.quickbar__list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.quickbar__item {
  background: var(--paper);
}

.quickbar__item a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.25rem;
  text-decoration: none;
  color: var(--text-strong);
  height: 100%;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.quickbar__item a:hover {
  background: var(--cream-100);
  color: var(--green-700);
}

.quickbar__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--cream-200);
  color: var(--green-700);
}

.quickbar__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quickbar__item b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.quickbar__item span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, var(--green-800), var(--green-900));
  color: rgba(249, 244, 233, 0.8);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -30%;
  width: 46%;
  height: 160%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 154, 53, 0.2), transparent 62%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
}

.page-hero h1 {
  color: var(--cream-100);
  font-size: var(--step-4);
  font-weight: 400;
}

.page-hero__lead {
  font-size: var(--step-1);
  color: rgba(249, 244, 233, 0.72);
  max-width: 52ch;
  line-height: 1.62;
}

.page-hero .eyebrow {
  color: var(--gold-400);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 var(--space-md);
  padding: 0;
  list-style: none;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249, 244, 233, 0.5);
}

.breadcrumb a {
  color: rgba(249, 244, 233, 0.62);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(249, 244, 233, 0.3);
}

.page-hero__facts {
  border-left: 1px solid rgba(249, 244, 233, 0.18);
  padding-left: var(--space-md);
  display: grid;
  gap: 0.9rem;
}

.page-hero__facts div {
  display: grid;
  gap: 0.1rem;
}

.page-hero__facts dt,
.page-hero__facts b {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
}

.page-hero__facts span {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--cream-100);
  line-height: 1.4;
}

/* Anchored section header for in-page navigation */
.anchor-nav {
  position: sticky;
  top: var(--header-offset);
  z-index: 40;
  background: rgba(253, 251, 246, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.anchor-nav__list {
  display: flex;
  gap: 0.2rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.anchor-nav__list a {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-700);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.anchor-nav__list a:hover,
.anchor-nav__list a.is-active {
  background: var(--green-700);
  color: var(--cream-100);
}

/* --------------------------------------------------------------------------
   10. Sections, cards & ornaments
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card--hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(171, 127, 36, 0.35);
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card--green {
  background: var(--green-800);
  color: rgba(249, 244, 233, 0.78);
  border-color: transparent;
}

.card--green h3,
.card--green h4 {
  color: var(--cream-100);
}

.card__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 0.5rem;
}

.card--green .card__kicker {
  color: var(--gold-400);
}

.card__title {
  font-size: var(--step-1);
  margin-bottom: 0.45rem;
}

.card p {
  color: inherit;
}

.card--green p {
  color: rgba(249, 244, 233, 0.72);
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-200);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.card--hover:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  padding: clamp(1.15rem, 2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.card__body > .link-more {
  margin-top: auto;
  padding-top: 0.75rem;
}

/* Numbered card */
.card--numbered {
  position: relative;
  padding-top: 2.6rem;
}

.card--numbered::before {
  content: attr(data-step);
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold-200);
  font-weight: 400;
}

.panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.panel + .panel {
  margin-top: var(--space-md);
}

.panel > h2:first-child,
.panel > h3:first-child {
  margin-top: 0;
}

.panel--tint {
  background: var(--cream-100);
}

.panel--accent {
  border-left: 3px solid var(--gold-500);
}

/* Note / callout */
.note {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  background: rgba(168, 84, 47, 0.07);
  border: 1px solid rgba(168, 84, 47, 0.22);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.note svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  fill: none;
  stroke: var(--clay-600);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.note--green {
  background: rgba(30, 69, 49, 0.06);
  border-color: rgba(30, 69, 49, 0.2);
}

.note--green svg {
  stroke: var(--green-600);
}

.note b {
  display: block;
  margin-bottom: 0.2rem;
}

/* Icon medallion */
.medallion {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-sm);
  border-radius: 50%;
  background: linear-gradient(140deg, var(--cream-200), var(--gold-200));
  color: var(--green-700);
  border: 1px solid rgba(171, 127, 36, 0.28);
}

.medallion svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.medallion--sm {
  width: 42px;
  height: 42px;
}

.medallion--sm svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   11. Accreditations ribbon
   -------------------------------------------------------------------------- */
.ribbon {
  background: var(--green-800);
  color: var(--cream-100);
  padding-block: 0.85rem;
  overflow: hidden;
  --ribbon-gap: 3rem;
}

.ribbon__track {
  display: flex;
  width: max-content;
  animation: ribbonScroll 42s linear infinite;
}

.ribbon:hover .ribbon__track {
  animation-play-state: paused;
}

.ribbon__group {
  display: flex;
  align-items: center;
  gap: var(--ribbon-gap);
  padding-right: var(--ribbon-gap);
}

.ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(249, 244, 233, 0.82);
}

.ribbon__item::before {
  content: "";
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold-400);
  flex: none;
}

.ribbon__item b {
  color: var(--gold-400);
  font-weight: 600;
}

@keyframes ribbonScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   12. Timeline
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  padding-top: var(--space-md);
}

.timeline::before {
  content: "";
  position: absolute;
  top: calc(var(--space-md) + 7px);
  bottom: 7px;
  left: 7px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-400), rgba(201, 154, 53, 0.12));
}

.timeline__item {
  position: relative;
  padding-left: 2.4rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold-500);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline__item--major::before {
  background: var(--gold-500);
}

.timeline__year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--green-700);
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.timeline__tag {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--gold-200);
  color: var(--gold-700);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
}

.timeline__item h3 {
  font-size: var(--step-1);
  margin: 0.3rem 0 0.35rem;
}

.timeline__item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   13. Stats & counters
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  background: rgba(249, 244, 233, 0.14);
  border: 1px solid rgba(249, 244, 233, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  padding: 1.5rem 1.35rem;
  background: var(--green-800);
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem);
  font-weight: 400;
  color: var(--gold-400);
  line-height: 1.05;
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(249, 244, 233, 0.66);
}

/* Award cards */
.award {
  display: grid;
  gap: 0.5rem;
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 154, 53, 0.28);
  background: linear-gradient(155deg, rgba(201, 154, 53, 0.1), rgba(249, 244, 233, 0.02));
}

.award__year {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold-400);
}

.award h3 {
  font-size: var(--step-1);
  margin: 0;
  color: var(--cream-100);
}

.award p {
  margin: 0;
  color: rgba(249, 244, 233, 0.7);
  font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   14. Feature grid
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature {
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  background: var(--surface);
  transition: background-color 0.35s var(--ease);
}

.feature:hover {
  background: var(--cream-100);
}

.feature h3 {
  font-size: 1.14rem;
  margin-bottom: 0.35rem;
}

.feature p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin: 0;
}

.feature__list {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.3rem;
}

.feature__list li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.feature__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  transform: rotate(45deg) translateY(-2px);
  background: var(--gold-500);
}

/* --------------------------------------------------------------------------
   15. Quotes, messages & people
   -------------------------------------------------------------------------- */
.quote {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: -0.15rem;
  left: 1.4rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-400);
  opacity: 0.5;
}

.quote p {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--green-800);
}

.quote footer {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.person {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.person__portrait {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
}

.person__photo {
  width: min(230px, 70vw);
  aspect-ratio: 1 / 1;
  border-radius: var(--arch);
  overflow: hidden;
  border: 1px solid rgba(201, 154, 53, 0.35);
  background: var(--cream-200);
  box-shadow: var(--shadow-sm);
}

.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-800);
  line-height: 1.25;
}

.person__role {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.person__body > p:first-of-type::first-letter {
  font-family: var(--font-display);
}

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--green-700);
  border-top: 1px solid var(--line);
  padding-top: var(--space-sm);
  margin-top: var(--space-sm);
}

.signature small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Leadership cards */
.leader {
  text-align: center;
  align-items: center;
}

.leader .person__photo {
  width: min(180px, 62vw);
}

/* --------------------------------------------------------------------------
   16. Verses (Hindi song & prayer)
   -------------------------------------------------------------------------- */
.verses {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.verse {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(165deg, var(--cream-50), var(--cream-200));
  border: 1px solid rgba(201, 154, 53, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.verse::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 154, 53, 0.2);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.verse__mark {
  font-family: var(--font-deva);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold-500);
  opacity: 0.6;
  margin-bottom: 0.4rem;
}

.verse__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-bottom: 0.15rem;
}

.verse__sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: var(--space-sm);
}

.verse__body {
  font-family: var(--font-deva);
  font-size: 1.06rem;
  line-height: 1.95;
  color: var(--ink-700);
  margin: 0;
}

.verse__body p {
  margin: 0 0 0.9rem;
}

.verse__body p:last-child {
  margin-bottom: 0;
}

.verse__body .refrain {
  color: var(--green-700);
  font-weight: 500;
}

.verse__credit {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px dashed rgba(171, 127, 36, 0.4);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.verse__credit b {
  color: var(--green-700);
}

/* --------------------------------------------------------------------------
   17. Tabs, accordions, checklists, steps
   -------------------------------------------------------------------------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 var(--space-lg);
  padding: 0;
  list-style: none;
}

.tab-btn {
  padding: 0.62rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-700);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.tab-btn:hover {
  border-color: var(--green-600);
  color: var(--green-700);
}

.tab-btn[aria-selected="true"] {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--cream-100);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel {
  animation: fadeUp 0.5s var(--ease);
}

/* Accordion built on <details> */
.accordion {
  display: grid;
  gap: 0.75rem;
}

.accordion details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.accordion details[open] {
  border-color: rgba(171, 127, 36, 0.4);
  box-shadow: var(--shadow-sm);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--green-800);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 1.6px solid var(--gold-600);
  border-bottom: 1.6px solid var(--gold-600);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.3s var(--ease);
}

.accordion details[open] summary::after {
  transform: rotate(225deg) translateY(-3px);
}

.accordion__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.accordion__body > :last-child {
  margin-bottom: 0;
}

/* Checklist */
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 15px;
  height: 8px;
  border-left: 1.8px solid var(--green-600);
  border-bottom: 1.8px solid var(--green-600);
  transform: rotate(-45deg);
}

.checklist--compact {
  gap: 0.45rem;
  font-size: 0.9rem;
}

/* Numbered rules list */
.rules-list {
  counter-reset: rule;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list > li {
  position: relative;
  counter-increment: rule;
  padding: 1.05rem 0 1.05rem 3.4rem;
  border-bottom: 1px dashed var(--line-strong);
}

.rules-list > li:last-child {
  border-bottom: 0;
}

.rules-list > li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-600);
  line-height: 1;
}

.rules-list b {
  display: block;
  color: var(--text-strong);
}

.rules-list p {
  margin: 0.15rem 0 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step {
  padding: 1.35rem 1.25rem;
  background: var(--surface);
}

.step b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.step h3 {
  font-size: 1.04rem;
  margin-bottom: 0.25rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Document list with tags */
.docs {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0.9rem;
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.55;
}

.docs li svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 0.15rem;
  fill: none;
  stroke: var(--green-600);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   18. Gallery & lightbox
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  padding: 0;
  list-style: none;
}

.filter-btn {
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-700);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  border-color: var(--green-600);
  color: var(--green-700);
}

.filter-btn[aria-pressed="true"] {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--cream-100);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-auto-rows: 190px;
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-200);
  cursor: zoom-in;
  text-align: left;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.9rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(16, 36, 26, 0.86));
  color: var(--cream-100);
  font-size: 0.82rem;
  line-height: 1.4;
}

.gallery-item figcaption b {
  display: block;
  color: var(--gold-400);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.gallery-item[hidden] {
  display: none;
}

/* Anchors that navigate elsewhere should not advertise zooming. */
.gallery-item[href] {
  cursor: pointer;
}

.gallery-empty {
  padding: var(--space-lg);
  text-align: center;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  width: min(1000px, 92vw);
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--green-900);
  color: var(--cream-100);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(10, 22, 16, 0.86);
  backdrop-filter: blur(3px);
}

.lightbox__figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: var(--green-900);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.9rem 1.15rem;
  border-top: 1px solid rgba(249, 244, 233, 0.14);
  font-size: 0.85rem;
}

.lightbox__nav {
  display: flex;
  gap: 0.45rem;
}

.lightbox__nav button,
.lightbox__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(249, 244, 233, 0.28);
  background: transparent;
  color: var(--cream-100);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease);
}

.lightbox__nav button:hover,
.lightbox__close:hover {
  background: rgba(249, 244, 233, 0.14);
}

.lightbox__nav svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  background: rgba(16, 36, 26, 0.6);
}

/* --------------------------------------------------------------------------
   19. News, notices & events
   -------------------------------------------------------------------------- */
.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.notice {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 0.93rem;
}

.notice:last-child {
  border-bottom: 0;
}

.notice time {
  flex: none;
  font-family: var(--font-display);
  font-size: 0.86rem;
  color: var(--gold-700);
  min-width: 4.6rem;
}

.notice--live b {
  color: var(--clay-600);
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 0.5rem;
}

.news-card__meta span {
  color: var(--text-muted);
}

.news-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--green-900);
  overflow: hidden;
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.7s var(--ease);
}

.card--hover:hover .news-card__thumb img {
  transform: scale(1.05);
}

.news-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(253, 251, 246, 0.92);
  color: var(--green-800);
}

.news-card__play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 3px;
}

.event-row {
  display: grid;
  gap: 0.85rem 1.5rem;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.event-row:last-child {
  border-bottom: 0;
}

.event-row time {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-700);
  line-height: 1;
  min-width: 3.2rem;
}

.event-row time small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.event-row h3 {
  font-size: 1.06rem;
  margin-bottom: 0.2rem;
}

.event-row p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   20. Tables (toppers)
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 620px;
}

table.data caption {
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-800);
  border-bottom: 1px solid var(--line);
}

table.data th {
  text-align: left;
  padding: 0.75rem 1.25rem;
  background: var(--cream-100);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-800);
  white-space: nowrap;
}

table.data td {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

table.data tbody tr {
  transition: background-color 0.25s var(--ease);
}

table.data tbody tr:hover {
  background: var(--cream-50);
}

.rank {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream-200);
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 0.92rem;
  border: 1px solid rgba(201, 154, 53, 0.3);
}

.rank--gold {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--green-900);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-200);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--green-700);
  flex: none;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.who b {
  display: block;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.3;
}

.who span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   21. Forms & contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
}

.form {
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-800);
}

.field label span {
  color: var(--clay-600);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  color: var(--text-strong);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold-600);
  box-shadow: 0 0 0 3px rgba(201, 154, 53, 0.18);
}

.field--error input,
.field--error textarea {
  border-color: var(--clay-600);
  box-shadow: 0 0 0 3px rgba(168, 84, 47, 0.14);
}

.field__error {
  font-size: 0.78rem;
  color: var(--clay-600);
  min-height: 1em;
}

.form__status {
  display: none;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.form__status.is-visible {
  display: block;
}

.form__status--ok {
  background: rgba(30, 69, 49, 0.08);
  border: 1px solid rgba(30, 69, 49, 0.24);
  color: var(--green-700);
}

.form__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.contact-card:hover {
  border-color: rgba(171, 127, 36, 0.4);
  transform: translateY(-3px);
}

.contact-card b {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.contact-card b svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text);
}

.contact-card a {
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 69, 49, 0.2);
}

.contact-card a:hover {
  color: var(--clay-600);
  border-color: currentColor;
}

.map-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-200);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 46vw, 460px);
  border: 0;
}

/* --------------------------------------------------------------------------
   22. Utilities, reveal & motion
   -------------------------------------------------------------------------- */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}
.mt-md {
  margin-top: var(--space-md);
}
.mt-lg {
  margin-top: var(--space-lg);
}
.mb-0 {
  margin-bottom: 0;
}
.mb-md {
  margin-bottom: var(--space-md);
}

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-plain li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line-strong);
}

.list-plain li:last-child {
  border-bottom: 0;
}

/* Fade-up reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-26px);
}

[data-reveal="right"] {
  transform: translateX(26px);
}

[data-reveal="scale"] {
  transform: scale(0.96);
}

/* Back to top */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 154, 53, 0.5);
  border-radius: 50%;
  background: var(--green-800);
  color: var(--gold-400);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s, background-color 0.3s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--green-600);
}

.to-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-hero__facts {
    border-left: 0;
    border-top: 1px solid rgba(249, 244, 233, 0.18);
    padding-left: 0;
    padding-top: var(--space-md);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    display: grid;
  }
}

@media (max-width: 940px) {
  :root {
    --header-offset: 84px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .masthead__actions .icon-link span {
    display: none;
  }

  .masthead__actions .icon-link {
    padding: 0.55rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .person {
    justify-items: center;
    text-align: center;
  }

  .person__body {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .topbar__list--secondary {
    display: none;
  }

  .brand__meta {
    display: none;
  }

  .hero__stats {
    gap: 1.1rem;
  }

  .hero__badge {
    left: 0;
    top: 1rem;
    padding: 0.65rem 0.9rem;
  }

  .hero__seal {
    right: 0;
    max-width: 12.5rem;
  }

  .gallery-grid {
    grid-auto-rows: 160px;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ribbon {
    overflow: visible;
  }

  .ribbon__track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
  }

  .ribbon__group[aria-hidden="true"] {
    display: none;
  }
}

@media print {
  .site-header,
  .drawer,
  .to-top,
  .scroll-progress,
  .anchor-nav,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
