/* =========================================================
   Gyan Sarovar Senior Secondary School, Atru
   Design system and page styles
   ========================================================= */

:root {
  --lake-deep: #0c2c27;
  --lake: #123d36;
  --lake-soft: #1b4c43;
  --ink: #1c2b26;
  --ink-soft: #58645d;
  --paper: #fbf7ee;
  --cream: #f4ead8;
  --cream-deep: #eadcc3;
  --white: #fffdf8;
  --gold: #d6a04a;
  --gold-deep: #94631d;
  --terracotta: #a9502f;
  --terracotta-deep: #8c3f24;
  --line: rgba(28, 43, 38, 0.14);
  --line-strong: rgba(28, 43, 38, 0.24);
  --line-light: rgba(244, 234, 216, 0.18);
  --shadow-soft: 0 34px 80px -54px rgba(12, 44, 39, 0.6);
  --shadow-card: 0 20px 44px -34px rgba(12, 44, 39, 0.55);
  --radius: 16px;
  --radius-lg: 22px;
  --container: 1180px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hindi: "Tiro Devanagari Hindi", "Noto Serif Devanagari", "Mangal", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--lake-deep);
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.section--lake :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.page-hero :focus-visible {
  outline-color: var(--gold);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  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;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.section[id],
.academic-block[id],
.news-card[id],
.notice-board[id] {
  scroll-margin-top: 100px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--lake-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-card);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--lake);
  border-radius: 9px;
  background: var(--lake);
  color: var(--cream);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--lake-deep);
  border-color: var(--lake-deep);
  color: var(--white);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--lake-deep);
}

.btn--gold:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--lake-deep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--gold-deep);
  color: var(--lake-deep);
}

.btn-light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--lake-deep);
}

.btn-light:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--lake-deep);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(244, 234, 216, 0.38);
  color: var(--cream);
}

.btn-outline-light:hover {
  background: rgba(244, 234, 216, 0.1);
  border-color: var(--cream);
  color: var(--cream);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.66rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(148, 99, 29, 0.45);
  color: var(--lake-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.2s var(--ease), gap 0.25s var(--ease),
    border-color 0.2s var(--ease);
}

.text-link svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.text-link:hover {
  gap: 12px;
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.text-link--light {
  border-color: rgba(244, 234, 216, 0.35);
  color: var(--cream);
}

.text-link--light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Top bar ---------- */

.topbar {
  position: relative;
  z-index: 90;
  background: var(--lake-deep);
  color: rgba(244, 234, 216, 0.74);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 38px;
}

.topbar-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-loc svg {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--gold);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: none;
}

.topbar-sanskrit {
  color: var(--gold);
  font-family: var(--hindi);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.topbar-tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 247, 238, 0.95);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header {
    background: rgba(251, 247, 238, 0.88);
    backdrop-filter: blur(14px);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 18px 40px -34px rgba(12, 44, 39, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  flex: none;
}

.brand-mark {
  width: 51px;
  height: 60px;
  object-fit: contain;
  filter: contrast(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-name {
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.36rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
}

.brand-sub {
  color: var(--ink-soft);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 8px;
  left: 11px;
  height: 1.5px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.primary-nav a:hover {
  color: var(--lake-deep);
}

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

.primary-nav a[aria-current="page"] {
  color: var(--lake-deep);
}

.header-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--gold-deep);
  background: var(--white);
}

.nav-toggle-bars {
  position: relative;
  width: 19px;
  height: 12px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--lake-deep);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.nav-toggle-bars span:first-child {
  top: 1px;
}

.nav-toggle-bars span:last-child {
  top: 9px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
  top: 5px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 75;
  max-height: calc(100dvh - 92px);
  overflow: auto;
  padding: 20px 0 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 36px 70px -40px rgba(12, 44, 39, 0.55);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-inner {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.mobile-nav a:not(.btn) {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.mobile-nav a:not(.btn):hover {
  color: var(--gold-deep);
}

.mobile-nav a[aria-current="page"] {
  color: var(--gold-deep);
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 22px;
}

.mobile-nav-address {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: none;
  background: currentColor;
}

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

.section--lake .eyebrow,
.section--dark .eyebrow,
.cta-band .eyebrow,
.page-hero .eyebrow {
  color: var(--gold);
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 112px) 0;
}

.section--tight {
  padding: clamp(54px, 7vw, 82px) 0;
}

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

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

.section--white {
  background: var(--white);
}

.section--lake {
  background: var(--lake);
  color: var(--cream);
}

.section-head {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-head h2 {
  margin: 0 0 18px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.9vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.09;
}

.section-head h2 em {
  color: var(--gold-deep);
  font-weight: 400;
}

.section-head p:not(.eyebrow) {
  max-width: 60ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.section-head .lead {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.72;
}

.section--lake .section-head h2,
.section--lake h2 {
  color: var(--cream);
}

.section--lake .section-head p,
.section--lake p {
  color: rgba(244, 234, 216, 0.76);
}

.section-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  max-width: none;
}

.section-head--row h2 {
  margin-bottom: 0;
}

.section-head--row > p {
  padding-bottom: 6px;
}

.section-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 34px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

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

.split .section-head {
  margin-bottom: 0;
}

.hindi-line {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--gold-deep);
  font-family: var(--hindi);
  font-size: 1.16rem;
  line-height: 1.7;
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 76px) 0 clamp(90px, 10vw, 126px);
  background:
    radial-gradient(460px 340px at 88% 8%, rgba(214, 160, 74, 0.2), transparent 72%),
    radial-gradient(780px 540px at -5% 104%, rgba(169, 80, 47, 0.1), transparent 72%),
    linear-gradient(180deg, #fbf6eb 0%, #f5ead8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(148, 99, 29, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(148, 99, 29, 0.03),
    0 0 0 140px rgba(148, 99, 29, 0.022);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

.hero-copy > * {
  animation: rise 0.85s var(--ease) both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.24s;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 0.32s;
}

.hero h1 {
  max-width: 14ch;
  margin: 0 0 24px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: clamp(2.85rem, 5.2vw, 4.65rem);
  font-weight: 500;
  letter-spacing: -0.034em;
  line-height: 1.01;
}

.hero h1 em {
  color: var(--gold-deep);
  font-weight: 400;
}

.hero-lead {
  max-width: 52ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.075rem;
  line-height: 1.76;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 33px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 38px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-facts li {
  padding: 0 22px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-figure {
  position: relative;
  max-width: 480px;
  margin-left: auto;
  padding: 0 10px 28px 0;
}

.hero-photo-frame {
  position: relative;
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: -13px;
  z-index: 0;
  border: 1px solid rgba(148, 99, 29, 0.48);
  border-radius: 250px 250px 32px 32px;
  pointer-events: none;
}

.hero-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 230px 230px 22px 22px;
  background: var(--cream-deep);
  box-shadow: var(--shadow-soft);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(9, 35, 30, 0.34));
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.hero-chip {
  position: absolute;
  top: 21px;
  right: -3px;
  z-index: 4;
  padding: 9px 15px;
  border: 1px solid rgba(12, 44, 39, 0.12);
  border-radius: 999px;
  background: var(--gold);
  color: var(--lake-deep);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
  transform: rotate(2.5deg);
  box-shadow: 0 12px 24px -16px rgba(12, 44, 39, 0.55);
}

.hero-seal {
  position: absolute;
  bottom: 0;
  left: -14px;
  z-index: 3;
  display: flex;
  width: 212px;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 22px 19px 17px;
  border: 1px solid rgba(148, 99, 29, 0.28);
  border-radius: 13px;
  background: var(--white);
  box-shadow: 0 28px 46px -32px rgba(12, 44, 39, 0.6);
}

.hero-seal::before {
  content: "";
  position: absolute;
  top: 0;
  right: 19px;
  left: 19px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-seal img {
  width: 58px;
  height: 68px;
  margin-inline: auto;
  object-fit: contain;
}

.hero-seal figcaption {
  display: block;
}

.hero-seal .motto {
  display: block;
  color: var(--lake-deep);
  font-family: var(--hindi);
  font-size: 0.89rem;
  line-height: 1.5;
  text-align: center;
}

.hero-seal .translation {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 68px;
  pointer-events: none;
}

/* ---------- Promise cards ---------- */

.promise-grid {
  display: grid;
  gap: 13px;
}

.promise-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 17px;
  padding: 23px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.promise-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: var(--cream);
  color: var(--gold-deep);
}

.promise-icon svg {
  width: 22px;
  height: 22px;
}

.promise-card h3 {
  margin: 0 0 5px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.17rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.promise-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

@media (hover: hover) {
  .promise-card:hover {
    transform: translateY(-3px);
    border-color: rgba(148, 99, 29, 0.38);
  }
}

/* ---------- Learning stages ---------- */

.stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.stage-card {
  position: relative;
  display: flex;
  min-height: 268px;
  flex-direction: column;
  padding: 23px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.stage-num {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.stage-classes {
  margin: 24px 0 5px;
  color: var(--gold-deep);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.stage-card h3 {
  margin: 0;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.stage-card p {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.62;
}

.stage-card--accent {
  border-color: var(--lake);
  background: var(--lake);
}

.stage-card--accent .stage-num,
.stage-card--accent .stage-classes {
  color: var(--gold);
}

.stage-card--accent h3 {
  color: var(--cream);
}

.stage-card--accent p {
  color: rgba(244, 234, 216, 0.72);
}

@media (hover: hover) {
  .stage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 99, 29, 0.45);
    box-shadow: var(--shadow-card);
  }

  .stage-card--accent:hover {
    border-color: rgba(214, 160, 74, 0.6);
  }
}

/* ---------- Arts band ---------- */

.arts-band {
  overflow: hidden;
  background: var(--lake-deep);
  color: var(--cream);
}

.arts-band::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -150px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(214, 160, 74, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(214, 160, 74, 0.035),
    0 0 0 140px rgba(214, 160, 74, 0.02);
  pointer-events: none;
}

.arts-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
}

.arts-copy h2 {
  max-width: 14ch;
  margin: 0 0 22px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.07;
}

.arts-copy h2 em {
  color: var(--gold);
  font-weight: 400;
}

.arts-copy p {
  max-width: 56ch;
  margin: 0 0 30px;
  color: rgba(244, 234, 216, 0.76);
  font-size: 1rem;
  line-height: 1.78;
}

.subject-panel {
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid rgba(244, 234, 216, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.subject-group + .subject-group {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 234, 216, 0.12);
}

.subject-group h3 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.subject-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subject-list span {
  padding: 7px 13px;
  border: 1px solid rgba(244, 234, 216, 0.2);
  border-radius: 999px;
  background: rgba(244, 234, 216, 0.03);
  color: var(--cream);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.subject-panel .note {
  margin: 24px 0 0;
  color: rgba(244, 234, 216, 0.68);
  font-size: 0.71rem;
  line-height: 1.6;
}

/* ---------- Campus gallery ---------- */

.campus-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: 16px;
}

.campus-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--cream);
}

.campus-gallery .gallery-main {
  grid-row: span 2;
}

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

.campus-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 46px 20px 16px;
  background: linear-gradient(transparent, rgba(8, 29, 25, 0.8));
  color: var(--cream);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (hover: hover) {
  .campus-gallery figure:hover img {
    transform: scale(1.035);
  }
}

/* ---------- Real-photo slideshow ---------- */

.gallery-slider {
  background: var(--lake-deep);
}

.gallery-slides {
  position: absolute;
  inset: 0;
}

.campus-gallery .gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.campus-gallery .gallery-slide.is-active {
  opacity: 1;
}

.campus-gallery .gallery-slider:hover .gallery-slide {
  transform: none;
}

.gallery-slider .gallery-caption {
  z-index: 2;
  padding-bottom: 56px;
  pointer-events: none;
}

.gallery-caption span {
  display: block;
  max-width: 44ch;
}

.gallery-ui {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.gallery-slider.is-live .gallery-ui {
  display: flex;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 253, 248, 0.45);
  border-radius: 999px;
  background: rgba(8, 29, 25, 0.55);
  color: var(--white);
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}

.gallery-slider.is-live .gallery-arrow {
  display: grid;
}

.gallery-arrow svg {
  width: 17px;
  height: 17px;
}

.gallery-arrow--prev {
  left: 14px;
}

.gallery-arrow--prev svg {
  transform: rotate(180deg);
}

.gallery-arrow--next {
  right: 14px;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  border-color: var(--gold);
  background: rgba(8, 29, 25, 0.82);
}

.gallery-dots {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(8, 29, 25, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.gallery-dot {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.gallery-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 253, 248, 0.85);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: width 0.25s, background 0.25s, border-color 0.25s;
}

.gallery-dot.is-active::before {
  width: 18px;
  border-color: var(--gold);
  background: var(--gold);
}

.gallery-dot:focus-visible {
  border-radius: 999px;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-pause {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 253, 248, 0.45);
  border-radius: 999px;
  background: rgba(8, 29, 25, 0.55);
  color: var(--white);
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.gallery-pause svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.gallery-pause .icon-play {
  display: none;
}

.gallery-pause[aria-pressed="true"] .icon-pause {
  display: none;
}

.gallery-pause[aria-pressed="true"] .icon-play {
  display: block;
}

.gallery-pause:hover,
.gallery-pause:focus-visible {
  border-color: var(--gold);
}

@media (max-width: 560px) {
  .gallery-slider.is-live .gallery-arrow {
    display: none;
  }

  .gallery-ui {
    bottom: 10px;
  }

  .gallery-slider .gallery-caption {
    padding-bottom: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campus-gallery .gallery-slide {
    transition: none;
  }

  .gallery-slider .gallery-pause {
    display: none;
  }
}

/* ---------- News cards ---------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.news-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.news-card-media--note {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(214, 160, 74, 0.2), transparent 55%),
    var(--cream);
}

.news-card-media--note img {
  width: 78px;
  height: auto;
  object-fit: contain;
  opacity: 0.5;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 21px 22px 23px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.news-tag {
  color: var(--gold-deep);
  font-weight: 800;
}

.news-card h3 {
  margin: 0;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.27rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.24;
}

.news-card h3 a {
  display: inline;
  background-image: linear-gradient(var(--gold-deep), var(--gold-deep));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.3s var(--ease), color 0.2s var(--ease);
}

.news-card h3 a:hover {
  color: var(--gold-deep);
  background-size: 100% 1px;
}

.news-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.news-card .text-link {
  margin-top: auto;
  padding-top: 6px;
}

.news-card.is-hidden,
[hidden] {
  display: none !important;
}

@media (hover: hover) {
  .news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 99, 29, 0.35);
    box-shadow: var(--shadow-card);
  }

  .news-card:hover .news-card-media img {
    transform: scale(1.035);
  }

  .news-card:hover .news-card-media--note img {
    transform: none;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 98px) 0;
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(214, 160, 74, 0.18), transparent 70%),
    var(--terracotta);
  color: var(--cream);
}

.cta-watermark {
  position: absolute;
  top: -70px;
  right: -30px;
  width: 390px;
  opacity: 0.09;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.cta-inner h2 {
  max-width: 15ch;
  margin: 0 0 17px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.cta-inner p:not(.eyebrow) {
  max-width: 56ch;
  margin: 0;
  color: rgba(255, 250, 240, 0.8);
  font-size: 1rem;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.visit-card {
  padding: 28px 26px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: var(--radius);
  background: rgba(60, 20, 10, 0.18);
  font-style: normal;
}

.visit-card-label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.visit-card p {
  margin: 0 0 20px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.55;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 68px 0 0;
  background: var(--lake-deep);
  color: rgba(244, 234, 216, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 0.9fr 1.05fr;
  gap: 42px;
  padding-bottom: 54px;
}

.brand--footer .brand-mark {
  width: 68px;
  height: 80px;
}

.brand--footer .brand-name {
  color: var(--cream);
  font-size: 1.5rem;
}

.brand--footer .brand-sub {
  color: rgba(244, 234, 216, 0.65);
}

.footer-desc {
  max-width: 34ch;
  margin: 20px 0 18px;
  font-size: 0.88rem;
  line-height: 1.72;
}

.footer-motto {
  margin: 0;
  color: var(--gold);
  font-family: var(--hindi);
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-col h3 {
  margin: 0 0 17px;
  color: var(--gold);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-col a {
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-col address {
  margin: 0 0 12px;
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.68;
}

.footer-note {
  margin: 12px 0 0;
  color: rgba(244, 234, 216, 0.62);
  font-size: 0.76rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 0;
  border-top: 1px solid rgba(244, 234, 216, 0.12);
  font-size: 0.7rem;
  line-height: 1.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:last-child {
  color: var(--gold);
  font-family: var(--hindi);
  font-size: 0.83rem;
}

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 68px) 0 clamp(58px, 7vw, 82px);
  background:
    radial-gradient(760px 420px at 88% 4%, rgba(214, 160, 74, 0.15), transparent 68%),
    linear-gradient(180deg, #123d36 0%, #0c2c27 100%);
  color: var(--cream);
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -170px;
  z-index: 0;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(244, 234, 216, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(244, 234, 216, 0.025),
    0 0 0 120px rgba(244, 234, 216, 0.015);
  pointer-events: none;
}

.page-hero .crest-watermark {
  position: absolute;
  top: -46px;
  right: -20px;
  z-index: 0;
  width: 420px;
  max-width: 46vw;
  opacity: 0.1;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: rgba(244, 234, 216, 0.7);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.breadcrumb a {
  transition: color 0.2s var(--ease);
}

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

.breadcrumb .sep {
  color: var(--gold);
}

.page-hero h1 {
  max-width: 18ch;
  margin: 0 0 20px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(2.55rem, 4.8vw, 4.15rem);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.04;
}

.page-hero h1 em {
  color: var(--gold);
  font-weight: 400;
}

.page-hero .page-lead {
  max-width: 62ch;
  margin: 0;
  color: rgba(244, 234, 216, 0.76);
  font-size: 1.05rem;
  line-height: 1.78;
}

/* ---------- Inner content components ---------- */

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.photo-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.photo-frame--arch {
  border-radius: 220px 220px 20px 20px;
}

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

.photo-frame--tall img {
  height: 100%;
}

.photo-caption {
  margin: 11px 0 0;
  color: var(--ink-soft);
  font-size: 0.73rem;
  line-height: 1.55;
}

.prose > * + * {
  margin-top: 1.05em;
}

.prose h2 {
  margin: 0 0 0.5em;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.prose h3 {
  margin: 1.5em 0 0.4em;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.prose p {
  margin: 0;
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose .lead {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.75;
}

.plain-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 24px;
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 160, 74, 0.14);
}

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

.fact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.5;
}

.fact-list li:first-child {
  padding-top: 0;
}

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

.fact-list span:first-child {
  color: var(--ink-soft);
}

.fact-list span:last-child {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.side-card {
  position: sticky;
  top: 108px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.side-card h2,
.side-card h3 {
  margin: 0 0 18px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.side-card .btn,
.side-card .text-link {
  margin-top: 20px;
}

.side-card .btn {
  width: 100%;
}

.side-note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.6;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-strip > div {
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.fact-strip > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact-strip span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.fact-strip strong {
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 27px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.info-card .icon-chip {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 11px;
  background: var(--cream);
  color: var(--gold-deep);
}

.info-card .icon-chip svg {
  width: 21px;
  height: 21px;
}

.info-card h3 {
  margin: 0 0 8px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

.info-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.68;
}

.info-card--dark {
  border-color: var(--lake);
  background: var(--lake);
}

.info-card--dark h3 {
  color: var(--cream);
}

.info-card--dark p {
  color: rgba(244, 234, 216, 0.72);
}

.info-card--dark .icon-chip {
  background: rgba(244, 234, 216, 0.1);
  color: var(--gold);
}

.motto-panel {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 6vw, 66px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 340px at 95% 0%, rgba(214, 160, 74, 0.17), transparent 70%),
    var(--lake-deep);
  color: var(--cream);
}

.motto-panel::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(244, 234, 216, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(244, 234, 216, 0.025);
  pointer-events: none;
}

.motto-panel > img {
  width: 180px;
  margin-inline: auto;
  filter: contrast(1.02);
}

.motto-panel figure {
  position: relative;
  z-index: 1;
  margin: 0;
}

.motto-panel blockquote {
  margin: 0;
}

.motto-panel .motto-sanskrit {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--hindi);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.55;
}

.motto-panel .motto-translit {
  margin: 0 0 14px;
  color: rgba(244, 234, 216, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
}

.motto-panel figcaption {
  max-width: 54ch;
  color: rgba(244, 234, 216, 0.78);
  font-size: 0.98rem;
  line-height: 1.75;
}

.motto-panel figcaption cite {
  display: block;
  margin-top: 15px;
  color: rgba(244, 234, 216, 0.62);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.06em;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.facility {
  padding: 27px 25px;
  background: var(--white);
}

.facility svg {
  width: 23px;
  height: 23px;
  margin-bottom: 18px;
  color: var(--gold-deep);
}

.facility h3 {
  margin: 0 0 6px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

.facility p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.62;
}

.visit-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: clamp(30px, 4vw, 44px) clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(480px 260px at 100% 0%, rgba(214, 160, 74, 0.13), transparent 70%),
    var(--cream);
}

.visit-strip h2 {
  margin: 0 0 7px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.visit-strip p {
  max-width: 60ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.visit-strip .btn {
  flex: none;
}

/* ---------- Academics ---------- */

.academic-list {
  border-top: 1px solid var(--line);
}

.academic-block {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.academic-index {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.academic-label h2 {
  margin: 9px 0 0;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.13;
}

.academic-label .classes {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.academic-body p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.8;
}

.subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}

.subject-chips span {
  padding: 6px 12px;
  border: 1px solid rgba(28, 43, 38, 0.17);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.74rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.stream-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 15px 17px;
  border: 1px solid rgba(148, 99, 29, 0.22);
  border-radius: 10px;
  background: rgba(214, 160, 74, 0.08);
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.65;
}

.stream-note svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  color: var(--gold-deep);
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.assessment-card {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.assessment-card h2 {
  margin: 0 0 14px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.assessment-card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.72;
}

/* ---------- Admissions ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  position: relative;
  padding: 25px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-number {
  display: block;
  margin-bottom: 22px;
  color: rgba(148, 99, 29, 0.45);
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.step-card h3 {
  margin: 0 0 8px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.65;
}

.admission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.list-card {
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.list-card h2,
.list-card h3 {
  margin: 0 0 18px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.62;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 1px;
  width: 13px;
  height: 7px;
  border-bottom: 2px solid var(--gold-deep);
  border-left: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.form-card > h2,
.form-card > h3 {
  margin: 0 0 6px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.form-intro {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.field .req {
  color: var(--terracotta);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid rgba(28, 43, 38, 0.2);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #8c958f;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(148, 99, 29, 0.13);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #9b3a2a;
}

.field-error {
  display: none;
  color: #8d3223;
  font-size: 0.72rem;
  line-height: 1.4;
}

.field.has-error .field-error {
  display: block;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.6;
}

.checkbox-field input,
.field .checkbox-field input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: none;
  margin-top: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  accent-color: var(--lake);
}

.field .checkbox-field {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.form-note {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.6;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 8px;
  background: #edf3e8;
  color: #2c4d30;
  font-size: 0.83rem;
  line-height: 1.6;
}

.form-status.is-visible {
  display: block;
}

.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.13rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 74ch;
  margin: -4px 0 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ---------- News page ---------- */

.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--lake);
  color: var(--cream);
}

.featured-media {
  position: relative;
  min-height: 360px;
}

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

.featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  padding: clamp(28px, 4.5vw, 52px);
}

.featured-body .news-meta {
  color: rgba(244, 234, 216, 0.7);
}

.featured-body .news-tag {
  color: var(--gold);
}

.featured-body h2 {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.featured-body p {
  margin: 0;
  color: rgba(244, 234, 216, 0.76);
  font-size: 0.95rem;
  line-height: 1.75;
}

.featured-body .text-link {
  margin-top: 9px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 30px;
}

.filter-btn {
  min-height: 39px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--gold-deep);
  color: var(--lake-deep);
}

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

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.filter-row .filter-bar {
  margin-bottom: 0;
}

.filter-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 13px;
}

.contact-card {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 16px;
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 11px;
  background: var(--cream);
  color: var(--gold-deep);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card h3 {
  margin: 0 0 5px;
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-card p {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.65;
}

.contact-card a {
  border-bottom: 1px solid rgba(148, 99, 29, 0.35);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contact-card a:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.contact-card .muted {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.55;
}

.map-wrap {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: sepia(0.08) saturate(0.9);
}

.map-card {
  position: absolute;
  bottom: 22px;
  left: 22px;
  max-width: 315px;
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.map-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
}

.map-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.6;
}

.map-card .text-link {
  margin-top: 11px;
}

/* ---------- Parents' corner and direct contact ---------- */

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-actions .btn {
  min-height: 48px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.quick-action {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.quick-action:hover {
  border-color: rgba(148, 99, 29, 0.42);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.quick-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: var(--cream);
  color: var(--gold-deep);
}

.quick-icon svg {
  width: 20px;
  height: 20px;
}

.quick-action--whatsapp .quick-icon,
.contact-card--whatsapp .contact-icon {
  background: #e9f2e8;
  color: #2f6642;
}

.quick-copy {
  display: block;
  min-width: 0;
}

.quick-copy strong {
  display: block;
  margin-bottom: 2px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.quick-copy > span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.parents-top {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.sample-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  padding: 12px 15px;
  border: 1px dashed rgba(148, 99, 29, 0.42);
  border-radius: 9px;
  background: #fdf6e8;
  color: #6a5229;
  font-size: 0.74rem;
  line-height: 1.6;
}

.sample-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
}

.sample-note strong {
  color: #513d1d;
}

.notice-board {
  border-top: 1px solid var(--line);
}

.notice-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.notice-date {
  display: flex;
  flex-direction: column;
  padding-top: 2px;
  color: var(--ink-soft);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.notice-date span {
  margin-bottom: 3px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.notice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--gold-deep);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.notice-body h3 {
  margin: 0 0 5px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

.notice-body p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.89rem;
  line-height: 1.68;
}

.notice-body .text-link {
  margin-top: 11px;
}

.parents-side .fact-list a {
  border-bottom: 1px solid rgba(148, 99, 29, 0.35);
  overflow-wrap: anywhere;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.parents-side .fact-list a:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.parents-side .btn + .btn,
.side-card .btn + .btn {
  margin-top: 9px;
}

.parents-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 46px);
  align-items: start;
}

.schedule-card {
  padding: clamp(24px, 3.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.schedule-card h3 {
  margin: 0 0 4px;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.card-note {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.6;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th {
  padding: 0 0 9px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--gold-deep);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
}

.schedule-table th:last-child {
  text-align: right;
}

.schedule-table td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.55;
  vertical-align: top;
}

.schedule-table td:first-child {
  padding-right: 16px;
  color: var(--ink);
  font-weight: 700;
}

.schedule-table td:last-child {
  color: var(--ink-soft);
  text-align: right;
  white-space: nowrap;
}

.schedule-table tr:last-child td {
  border-bottom: 0;
}

.schedule-card .form-note {
  margin-top: 16px;
}

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

.holiday-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.55;
}

.holiday-list li:first-child {
  padding-top: 0;
}

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

.holiday-list span:last-child {
  color: var(--ink-soft);
  text-align: right;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.download-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 5px;
  place-items: center;
  border-radius: 11px;
  background: var(--cream);
  color: var(--gold-deep);
}

.download-icon svg {
  width: 20px;
  height: 20px;
}

.doc-meta {
  margin: 0;
  color: var(--gold-deep);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.download-card h3 {
  margin: 0;
  color: var(--lake-deep);
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

.download-card p:not(.doc-meta) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.65;
}

.download-card .text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 15px;
}

.records-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 320px at 100% 0%, rgba(214, 160, 74, 0.2), transparent 70%),
    var(--lake);
  color: var(--cream);
}

.records-band h2 {
  margin: 0 0 14px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.records-band h2 em {
  color: var(--gold);
  font-weight: 400;
}

.records-band p {
  max-width: 60ch;
  margin: 0;
  color: rgba(244, 234, 216, 0.78);
  font-size: 0.94rem;
  line-height: 1.75;
}

.records-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.records-actions .btn {
  min-height: 48px;
}

.direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status.is-error {
  background: #fbebe7;
  color: #7d2d1f;
}

.form-fallback {
  margin: 12px 0 0;
  padding: 11px 13px;
  border: 1px dashed rgba(148, 99, 29, 0.4);
  border-radius: 8px;
  background: #fdf6e8;
  color: #6a5229;
  font-size: 0.76rem;
  line-height: 1.6;
}

.form-fallback a {
  border-bottom: 1px solid rgba(148, 99, 29, 0.45);
  font-weight: 700;
}

.form-fallback a:hover {
  color: var(--gold-deep);
}

/* ---------- Reveal animation ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stage-card {
    min-height: 238px;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 1024px) {
  .primary-nav {
    display: none;
  }

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

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    gap: 48px;
  }

  .arts-grid,
  .split,
  .content-grid,
  .contact-layout,
  .admission-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-card {
    position: static;
  }

  .promise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promise-card {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .three-grid,
  .news-grid,
  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facility:last-child {
    grid-column: 1 / -1;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.9fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
    padding-top: 26px;
    border-top: 1px solid rgba(244, 234, 216, 0.12);
  }

  .footer-col:last-child h3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  }

  .featured-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 46px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero-figure {
    width: min(100%, 480px);
    margin: 0 auto;
    padding: 0 0 26px;
  }

  .hero-chip {
    right: 8px;
  }

  .hero-seal {
    left: -4px;
  }

  .section-head--row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .section-head--row > p {
    max-width: 62ch;
  }

  .campus-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 300px 210px;
  }

  .campus-gallery .gallery-main {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .motto-panel {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .motto-panel > img {
    width: 135px;
    margin: 0;
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .visit-card {
    max-width: 430px;
  }

  .academic-block {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 34px 0;
  }

  .academic-label h2 {
    margin-top: 6px;
  }

  .featured-story {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-media {
    min-height: 290px;
    aspect-ratio: 16 / 9;
  }

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

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

@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }

  .topbar-inner {
    min-height: 34px;
  }

  .topbar-right {
    display: none;
  }

  .topbar-loc {
    width: 100%;
    justify-content: center;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-mark {
    width: 44px;
    height: 52px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-sub {
    font-size: 0.53rem;
    letter-spacing: 0.15em;
  }

  .hero-facts li {
    padding: 0 15px;
    font-size: 0.61rem;
  }

  .hero-seal {
    width: 185px;
    padding: 17px 15px 14px;
  }

  .hero-seal img {
    width: 48px;
    height: 57px;
  }

  .hero-seal .motto {
    font-size: 0.79rem;
  }

  .hero-seal .translation {
    font-size: 0.54rem;
  }

  .promise-grid,
  .three-grid,
  .news-grid,
  .facility-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .facility:last-child {
    grid-column: auto;
  }

  .promise-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-card {
    min-height: 225px;
  }

  .campus-gallery {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .campus-gallery figure {
    aspect-ratio: 4 / 3;
  }

  .campus-gallery .gallery-main {
    aspect-ratio: 4 / 3;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field--full {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .map-card {
    position: static;
    max-width: none;
    margin: 14px;
  }

  .map-wrap iframe {
    height: 330px;
  }

  .filter-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .page-hero {
    padding-top: 38px;
  }

  .page-hero .crest-watermark {
    width: 300px;
    opacity: 0.05;
  }

  .breadcrumb {
    margin-bottom: 20px;
  }

  .gallery-caption {
    font-size: 0.6rem;
  }

  .fact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-strip > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .fact-strip > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .fact-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .topbar {
    display: none;
  }

  .header-inner {
    min-height: 70px;
  }

  .mobile-nav {
    max-height: calc(100dvh - 70px);
  }

  .hero {
    padding-bottom: 92px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12.5vw, 3.3rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    padding-top: 18px;
  }

  .hero-facts li {
    padding: 0 0 0 14px;
    border-left: 2px solid rgba(148, 99, 29, 0.3);
    font-size: 0.62rem;
  }

  .hero-figure {
    padding-top: 12px;
  }

  .hero-photo-frame::before {
    inset: -9px;
  }

  .hero-chip {
    top: 12px;
    right: 2px;
    font-size: 0.53rem;
  }

  .hero-seal {
    bottom: -12px;
    left: -2px;
  }

  .stages {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-card {
    min-height: 0;
  }

  .stage-classes {
    margin-top: 14px;
  }

  .section-head h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .section-head--row .text-link {
    justify-self: start;
  }

  .section-foot {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer-brand,
  .footer-col:last-child {
    grid-column: auto;
  }

  .news-meta {
    font-size: 0.59rem;
  }

  .cta-inner h2 {
    font-size: 2.15rem;
  }

  .cta-actions {
    display: grid;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .visit-card {
    padding: 22px 20px;
  }

  .page-hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 3rem);
  }

  .page-hero .page-lead {
    font-size: 0.98rem;
  }

  .motto-panel {
    padding: 30px 24px;
  }

  .map-card {
    margin: 10px;
  }

  .map-wrap iframe {
    height: 290px;
  }

  .filter-btn {
    min-height: 37px;
    padding: 0 12px;
    font-size: 0.6rem;
  }
}

@media (max-width: 1024px) {
  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parents-top,
  .parents-split,
  .records-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .records-actions {
    margin-top: 4px;
  }

  .admission-grid > .form-card,
  .contact-layout > .form-card {
    width: 100%;
    max-width: 780px;
  }
}

@media (max-width: 900px) {
  .download-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .notice-item {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
  }

  .notice-date span {
    font-size: 1.65rem;
  }

  .download-card {
    padding: 24px 22px;
  }

  .download-card .text-link {
    padding-top: 10px;
  }
}

@media (max-width: 560px) {
  .page-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin-top: 24px;
  }

  .page-actions .btn,
  .records-actions .btn {
    width: 100%;
  }

  .quick-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .quick-action {
    padding: 17px 18px;
  }

  .notice-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .notice-date {
    font-size: 0.58rem;
  }

  .notice-date span {
    font-size: 1.5rem;
  }

  .notice-body h3 {
    font-size: 1.12rem;
  }

  .records-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .form-footer .btn {
    flex: 1 1 100%;
  }
}

@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;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .cta-band,
  .page-actions,
  .quick-actions,
  .records-actions,
  .direct-actions,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .page-hero {
    background: #fff;
    color: #000;
  }

  .page-hero h1,
  .page-hero .page-lead {
    color: #000;
  }
}
