/* ==========================================================================
   Disha Public School — site styles
   --------------------------------------------------------------------------
   Palette from the school emblem: the navy shield, the gold torch and
   laurel, on warm ivory paper. "Disha" means direction, so the ornament
   is an eight-point compass star. Fraunces (display) + Manrope (text).

   Page-specific styles live in css/pages/<page>.css (loaded per page).
   ========================================================================== */

/* Fonts (self-hosted, variable) ------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Design tokens ------------------------------------------------------------ */
:root {
  color-scheme: light;

  /* Navy — the emblem's shield (#00308a) */
  --navy-950: #050f2a;
  --navy-900: #0a1a45;
  --navy-800: #0c2766;
  --navy-700: #0a3290;
  --navy-600: #1d47a8;
  --navy-500: #3b63c4;
  --navy-200: #c7d4f1;
  --navy-100: #e3eaf8;
  --navy-50: #f2f5fc;

  /* Gold — the torch and laurel (#f0b400) */
  --gold-700: #8a5d00;
  --gold-600: #b98200;
  --gold-500: #f0b400;
  --gold-400: #f7c948;
  --gold-300: #fad877;
  --gold-200: #fbe5a3;
  --gold-100: #fdf2d0;

  /* Red — from the old "DPS" sunrise logo; used only for "New" and errors */
  --red-600: #c4202f;

  /* Paper and ink */
  --paper: #fbf8f2;
  --paper-2: #f4efe4;
  --sand: #e8e0cf;
  --ink: #0d1a36;
  --ink-soft: #44516b;
  --ink-mute: #5f6a7e; /* 4.8:1 on --paper-2, 5.2:1 on --paper: fine for small text */
  /* Non-text contrast (WCAG 1.4.11, 3:1): form-control borders and focus rings. */
  --field-border: rgb(13 26 54 / 0.5); /* ≈3.3:1 on white, ≈3.2:1 on --paper */
  --focus-ring: var(--navy-700); /* on light surfaces (≈10:1) */
  --focus-ring-on-dark: var(--gold-500); /* on navy surfaces (≈10:1) */
  --white: #fff;
  --green-700: #15803d;

  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 0.6rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 2.75rem;

  --shadow-soft: 0 1px 2px rgb(13 26 54 / 0.04), 0 10px 28px -12px rgb(13 26 54 / 0.14);
  --shadow-lift: 0 2px 4px rgb(13 26 54 / 0.05), 0 26px 52px -20px rgb(5 15 42 / 0.32);
  --shadow-gold: 0 18px 44px -16px rgb(240 180 0 / 0.65);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);

  --container: 80rem;
  --gutter: clamp(1.25rem, 0.6rem + 2.4vw, 2rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html.menu-open,
html.is-locked {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
  display: block;
}

main:focus {
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

/* :where() keeps this at zero specificity, so a component's own margin wins. */
:where(ul[role="list"], ol[role="list"]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

/* Focus ring: navy on light surfaces, gold on navy ones (both about 10:1).
   A navy surface sets --ring: var(--focus-ring-on-dark) for everything
   inside it; a light card inside a navy surface can set it back to
   var(--focus-ring). Page styles opt their own navy surfaces in the same way. */
:focus-visible {
  outline: 3px solid var(--ring, var(--focus-ring));
  outline-offset: 3px;
  border-radius: 6px;
}
.infobar,
.site-footer,
.cta-band__panel,
.section--navy,
.lightbox {
  --ring: var(--focus-ring-on-dark);
}

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

[hidden] {
  display: none !important;
}

/* Icons -------------------------------------------------------------------- */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}
.icon--xs {
  width: 0.8rem;
  height: 0.8rem;
}
.icon--sm {
  width: 1rem;
  height: 1rem;
}
.icon--lg {
  width: 1.6rem;
  height: 1.6rem;
}

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

.container--narrow {
  max-width: 52rem;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 3rem + 5.5vw, 8rem);
}
.section--tight {
  padding-block: clamp(3rem, 2rem + 3.5vw, 5rem);
}
.section--paper {
  background: var(--paper-2);
}
.section--white {
  background: var(--white);
}
.section--navy {
  background: var(--navy-950);
  color: rgb(255 255 255 / 0.8);
}
.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

/* Auto-fitting grid: style="--min: 18rem" to change the minimum column. */
.grid-auto {
  display: grid;
  gap: var(--gap, 1.25rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 16rem)), 1fr));
}

.stack > * + * {
  margin-top: var(--stack, 1rem);
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.muted {
  color: var(--ink-mute);
}

.break-all {
  word-break: break-all;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus {
  transform: none;
}
/* On phones it sits over the navy info bar: an ivory halo keeps the navy
   ring visible there too. */
.skip-link:focus-visible {
  box-shadow: 0 0 0 3px var(--paper);
}

/* Scroll reveal ------------------------------------------------------------
   Hidden only when JavaScript runs (html.js, set by head.js); site.js adds
   .is-in as each element scrolls into view. Children of [data-stagger]
   get increasing delays. An animation (not a transition) so elements keep
   their own hover transitions; fill "backwards" so nothing sticks after.
   html.reveal-off (head.js, when site.js is slow to arrive) shows it all
   without the effect. */
html.js:not(.reveal-off) .reveal:not(.is-in),
html.js:not(.reveal-off) [data-stagger] > :not(.is-in) {
  opacity: 0;
}
html.js:not(.reveal-off) .reveal.is-in {
  animation: reveal-in 0.8s var(--ease-out) var(--reveal-delay, 0s) backwards;
}
@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.btn .icon {
  width: 1.05em;
  height: 1.05em;
}
.btn__icon {
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .btn__icon {
  transform: translateX(3px);
}
.btn--sm {
  min-height: 2.35rem;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
}
.btn--md {
  min-height: 2.85rem;
  padding: 0.55rem 1.35rem;
  font-size: 0.92rem;
}
.btn--lg {
  min-height: 3.35rem;
  padding: 0.7rem 1.75rem;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(180deg, var(--navy-600), var(--navy-800));
  color: var(--white);
  box-shadow:
    0 10px 28px -12px rgb(10 50 144 / 0.7),
    inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px -14px rgb(10 50 144 / 0.75),
    inset 0 1px 0 rgb(255 255 255 / 0.2);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  color: var(--navy-950);
  box-shadow:
    0 10px 30px -12px rgb(240 180 0 / 0.8),
    inset 0 1px 0 rgb(255 255 255 / 0.5);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px -14px rgb(240 180 0 / 0.85),
    inset 0 1px 0 rgb(255 255 255 / 0.5);
}

.btn--outline {
  border-color: rgb(13 26 54 / 0.16);
  background: rgb(255 255 255 / 0.6);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  border-color: rgb(10 50 144 / 0.45);
  background: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--navy-800);
  box-shadow: var(--shadow-lift);
}
.btn--light:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgb(255 255 255 / 0.32);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: rgb(255 255 255 / 0.75);
  background: rgb(255 255 255 / 0.08);
}

.btn--text {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--navy-700);
  font-size: 0.95rem;
}
.btn--text:hover {
  color: var(--navy-900);
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-decoration-thickness: 2px;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}
.btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}
.btn.is-loading .btn__icon {
  animation: spin 0.9s linear infinite;
}

/* Badges ------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--new {
  background: var(--red-600);
  color: var(--white);
}
.badge--outline {
  box-shadow: inset 0 0 0 1px rgb(13 26 54 / 0.18);
  color: var(--ink-soft);
}
.badge--gold {
  background: var(--gold-100);
  color: var(--gold-700);
  box-shadow: inset 0 0 0 1px rgb(240 180 0 / 0.35);
}
.badge--navy {
  background: var(--navy-100);
  color: var(--navy-800);
}
.badge--success {
  background: #dcf5e4;
  color: #14532d;
}
.badge--danger {
  background: #fde4e4;
  color: #8a1c1c;
}

/* Eyebrow & section headings --------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--gold-700); /* text needs 4.5:1; gold-600 is for icons and lines */
}
.eyebrow__star {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--gold-500);
}
.eyebrow--light,
.section-heading--light .eyebrow {
  color: var(--gold-400);
}

.section-heading {
  max-width: 44rem;
}
.section-heading--center {
  margin-inline: auto;
  text-align: center;
}
.section-heading--center .eyebrow::before,
.section-heading--center .eyebrow::after {
  content: "";
  width: clamp(1.5rem, 4vw, 3rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(185 130 0 / 0.65));
}
.section-heading--center .eyebrow::after {
  background: linear-gradient(270deg, transparent, rgb(185 130 0 / 0.65));
}
.section-heading__title {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.2rem);
  font-weight: 520;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.section-heading__title em,
.page-hero__title em {
  font-style: italic;
  font-weight: 480;
  color: var(--navy-700);
}
.section-heading__lede {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.section-heading--light .section-heading__title {
  color: var(--white);
}
.section-heading--light .section-heading__title em {
  color: var(--gold-400);
}
.section-heading--light .section-heading__lede {
  color: rgb(255 255 255 / 0.74);
}

/* Decorative rays ---------------------------------------------------------- */
.rays {
  pointer-events: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes turn {
  to {
    rotate: 360deg;
  }
}

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header__surface {
  overflow-x: clip;
  transition:
    background-color 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}
.site-header.is-scrolled .site-header__surface {
  background: rgb(251 248 242 / 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-soft);
}

/* Height-collapsing wrapper (grid rows 1fr → 0fr) */
.collapse {
  display: grid;
  grid-template-rows: 1fr;
  transition:
    grid-template-rows 0.5s var(--ease-out),
    opacity 0.4s var(--ease-out),
    visibility 0.5s;
}
.collapse__inner {
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.site-header.is-scrolled .collapse {
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
}

/* Info bar */
.infobar {
  color: rgb(255 255 255 / 0.86);
  font-size: 0.78rem;
}
.infobar__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 2.4rem;
}
.infobar--full {
  background: var(--navy-950);
}
.infobar--curve {
  display: none;
}
.infobar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.infobar__link:hover {
  color: var(--white);
}
.infobar__link .icon {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--gold-400);
}
/* Phones show only the icon; the number stays in the link's name. */
.infobar__phone-number {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.infobar__divider {
  width: 1px;
  height: 0.9rem;
  flex: none;
  background: rgb(255 255 255 / 0.2);
}
.infobar__apply {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  font-weight: 700;
  color: var(--gold-400);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.infobar__apply:hover {
  color: var(--gold-300);
  text-decoration-color: rgb(250 216 119 / 0.6);
}
.infobar__apply .icon {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.3s var(--ease-out);
}
.infobar__apply:hover .icon {
  transform: translateX(2px);
}
.infobar__apply-now {
  display: none;
}

/* Notice ticker */
.ticker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1;
  min-width: 0;
  margin: 0;
}
.ticker__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgb(240 180 0 / 0.14);
  box-shadow: inset 0 0 0 1px rgb(240 180 0 / 0.32);
  color: var(--gold-400);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.ticker__pill .icon {
  display: none; /* small phones: the room goes to the notice title */
  width: 0.75rem;
  height: 0.75rem;
}
/* Pause/play (WCAG 2.2.2): only with JavaScript and when the ticker moves. */
.ticker__toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  color: var(--gold-400);
  transition:
    background-color 0.2s,
    border-color 0.2s;
}
.ticker__toggle:hover {
  border-color: rgb(255 255 255 / 0.6);
  background: rgb(255 255 255 / 0.14);
}
.ticker__toggle .icon {
  width: 0.7rem;
  height: 0.7rem;
  fill: currentColor;
}
html:not(.js) .ticker__toggle,
.ticker__play,
.ticker.is-paused .ticker__pause {
  display: none;
}
.ticker.is-paused .ticker__play {
  display: block;
}
.ticker__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 1.3rem;
  overflow: hidden;
}
.ticker__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-inline: 0.3rem;
  border-radius: 6px;
  color: rgb(255 255 255 / 0.86);
  text-decoration: none;
  opacity: 0;
  transform: translateY(110%);
  transition:
    transform 0.55s var(--ease-out),
    opacity 0.55s var(--ease-out);
}
.ticker__item.is-active {
  opacity: 1;
  transform: none;
}
.ticker__item.is-leaving {
  opacity: 0;
  transform: translateY(-110%);
}
.ticker__item:hover {
  color: var(--white);
}
/* The viewport clips anything outside it, so the ring sits inside. */
.ticker__item:focus-visible {
  outline-width: 2px;
  outline-offset: -2px;
}
.ticker__title,
.ticker__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticker__text {
  color: rgb(255 255 255 / 0.75);
}
.ticker__arrow {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--gold-400);
  transition: transform 0.3s var(--ease-out);
}
.ticker__item:hover .ticker__arrow {
  transform: translate(2px, -2px);
}

/* Brand lockup */
.site-header__row {
  display: flex;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  padding-block: 0.55rem;
  padding-right: 1rem;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: auto;
  height: 2.9rem;
  filter: drop-shadow(0 6px 12px rgb(10 50 144 / 0.2));
  transition:
    height 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.brand:hover .brand__mark {
  transform: rotate(-4deg);
}
.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy-800);
  white-space: nowrap;
  transition: font-size 0.5s var(--ease-out);
}
.brand__place {
  margin-top: 0.3rem;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--gold-700);
  white-space: nowrap;
}

.site-header__right {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.site-header__menu-row {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-height: 3.6rem;
}
.site-header__apply {
  display: none;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 1px solid rgb(13 26 54 / 0.1);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.65);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.2s;
}
.menu-toggle:hover {
  background: var(--white);
}
/* Without JavaScript the menu button can't open the menu: a link to the
   footer's site links takes its place. */
.menu-toggle--link,
html:not(.js) .menu-toggle[data-menu-open] {
  display: none;
}
html:not(.js) .menu-toggle--link {
  display: grid;
}

/* Desktop navigation */
.nav {
  display: none;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__link {
  position: relative;
  padding: 0.55rem 0.55rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover,
.nav__link.is-active,
.nav__item:hover > .nav__link {
  color: var(--navy-800);
}
.nav__link.is-active::after,
.nav__item:hover > .nav__link::after {
  transform: scaleX(1);
}
/* The chevron sits right after its link: the link gives up its right
   padding, so the 24px button never overlaps it (WCAG 2.5.8). */
.nav__item.has-menu > .nav__link {
  padding-right: 0.15rem;
}
.nav__item.has-menu > .nav__link::after {
  right: 0.15rem;
}
.nav__toggle {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-mute);
}
.nav__toggle .icon {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 0.3s var(--ease-out);
}
.nav__item:hover .nav__toggle .icon,
.nav__item.is-open .nav__toggle .icon {
  transform: rotate(180deg);
}
.nav__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 50;
  width: 19.5rem;
  padding-top: 0.7rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.25s var(--ease-out),
    transform 0.3s var(--ease-out),
    visibility 0.25s;
}
/* With JavaScript, keyboard users open a menu with its chevron button;
   without it, a menu opens while focus is inside it. */
.nav__item:hover .nav__menu,
html:not(.js) .nav__item:focus-within .nav__menu,
.nav__item.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__item.is-dismissed .nav__menu {
  opacity: 0;
  visibility: hidden;
}
.nav__panel {
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
  border: 1px solid rgb(232 224 207 / 0.9);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow-lift);
}
.nav__panel-star {
  position: absolute;
  top: -1.2rem;
  right: -1.2rem;
  width: 5.5rem;
  height: 5.5rem;
  color: rgb(240 180 0 / 0.12);
  pointer-events: none;
}
.nav__panel ul {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 1rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s;
}
.nav__menu-link:hover,
.nav__menu-link:focus-visible,
.nav__menu-link[aria-current="page"] {
  background: var(--paper);
}
.nav__menu-text {
  flex: 1;
  min-width: 0;
}
.nav__menu-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}
.nav__menu-desc {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink-mute);
}
.nav__menu-arrow {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.2rem;
  color: var(--gold-600);
  opacity: 0;
  transform: translate(-3px, 3px);
  transition:
    opacity 0.25s,
    transform 0.25s var(--ease-out);
}
.nav__menu-link:hover .nav__menu-arrow,
.nav__menu-link:focus-visible .nav__menu-arrow {
  opacity: 1;
  transform: none;
}

/* Phone menu (native <dialog>) */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[open] {
  display: flex;
  flex-direction: column;
  animation: menu-in 0.6s var(--ease-out);
}
.mobile-menu.is-closing {
  animation: menu-out 0.3s var(--ease-in) forwards;
}
.mobile-menu::backdrop {
  background: rgb(5 15 42 / 0.25);
}
@keyframes menu-in {
  from {
    clip-path: circle(0% at 100% 0%);
    opacity: 0.6;
  }
  to {
    clip-path: circle(150% at 100% 0%);
    opacity: 1;
  }
}
@keyframes menu-out {
  to {
    clip-path: circle(0% at 100% 0%);
    opacity: 0.4;
  }
}
.mobile-menu__top {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
}
.mobile-menu__close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
}
.mobile-menu__nav > ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.mobile-menu__nav > ul > li {
  border-bottom: 1px solid rgb(13 26 54 / 0.09);
}
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 520;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  list-style: none;
  cursor: pointer;
}
.mobile-menu__link::-webkit-details-marker {
  display: none;
}
.mobile-menu__link.is-active {
  color: var(--navy-700);
}
.mobile-menu__chevron {
  color: var(--gold-600);
  transition: transform 0.3s var(--ease-out);
}
.mobile-menu__group[open] .mobile-menu__chevron {
  transform: rotate(180deg);
}
.mobile-menu__sub {
  list-style: none;
  margin: 0 0 1rem 0.2rem;
  padding: 0 0 0 1rem;
  border-left: 2px solid rgb(240 180 0 / 0.4);
}
.mobile-menu__sub a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s;
}
.mobile-menu__sub a:hover,
.mobile-menu__sub a:active {
  background: var(--paper-2);
}
.mobile-menu__sub-label {
  display: block;
  font-weight: 700;
}
.mobile-menu__sub a[aria-current="page"] .mobile-menu__sub-label {
  color: var(--navy-700);
}
.mobile-menu__sub-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-mute);
}
.mobile-menu__foot {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
  padding-block: 2rem 2.5rem;
}
.mobile-menu__address {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--ink-mute);
}

@media (min-width: 30rem) {
  .ticker__pill .icon {
    display: block;
  }
  .infobar__phone-number {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
  .brand__name {
    font-size: 1.25rem;
  }
  .brand__place {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }
}

@media (min-width: 48rem) {
  .infobar--full {
    display: none;
  }
  .infobar--curve {
    display: grid;
  }
  .infobar--curve .collapse__inner {
    position: relative;
    overflow: visible;
    overflow-y: clip;
  }
  .infobar__fill {
    position: absolute;
    inset: 0 -100vw 0 0;
    display: flex;
    pointer-events: none;
  }
  .infobar__curve {
    width: 6.5rem;
    height: 100%;
    flex: none;
    fill: var(--navy-950);
  }
  .infobar__fill-rest {
    flex: 1;
    background: var(--navy-950);
  }
  .infobar--curve .infobar__row {
    position: relative;
    height: 2.6rem;
    padding-left: 7rem;
  }
  /* Tablets: beside the brand the curved bar has room only for the phone
     number and "Apply now"; the ticker (squeezed to nothing, its pill over
     the number) waits for 64rem. */
  .infobar--curve .ticker {
    display: none;
  }
  .infobar__apply-now {
    display: inline;
  }
  .brand {
    padding-right: 1.5rem;
  }
  .brand__mark {
    height: 3.6rem;
  }
  .brand__name {
    font-size: 1.45rem;
  }
  .brand__place {
    font-size: 0.62rem;
  }
  .site-header__menu-row {
    min-height: 3rem;
  }
  .site-header.is-scrolled .brand__mark {
    height: 2.9rem;
  }
  .site-header.is-scrolled .site-header__apply {
    display: inline-flex;
  }
}

/* 64–70rem: the full menu just fits beside the brand; once scrolled there is
   no room for "Apply now" too (it would push the menu over the school's
   name), so it waits for 70rem. The Admission menu links to the form. */
@media (min-width: 64rem) and (max-width: 69.99rem) {
  .site-header.is-scrolled .site-header__apply {
    display: none;
  }
}

@media (min-width: 64rem) {
  .nav {
    display: block;
  }
  .infobar--curve .ticker {
    display: flex;
  }
  .menu-toggle,
  html:not(.js) .menu-toggle--link {
    display: none;
  }
  .site-header.is-scrolled .site-header__apply {
    margin-left: 0.75rem;
  }
}

@media (min-width: 80rem) {
  .brand {
    padding-right: 2.5rem;
  }
  .brand__mark {
    height: 4.2rem;
  }
  .brand__name {
    font-size: 1.62rem;
  }
  .brand__place {
    font-size: 0.66rem;
  }
  .infobar--curve .infobar__row {
    height: 2.8rem;
  }
  .site-header__menu-row {
    min-height: 3.3rem;
  }
  .nav__link {
    padding-inline: 0.75rem;
    font-size: 0.93rem;
  }
  .nav__link::after {
    left: 0.75rem;
    right: 0.75rem;
  }
}

/* Page hero (inner pages) -------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--sand);
  background:
    radial-gradient(60rem 30rem at 100% 0%, rgb(240 180 0 / 0.09), transparent 60%),
    var(--paper-2);
}
.page-hero__rays {
  position: absolute;
  top: 50%;
  right: -17rem;
  z-index: -1;
  width: 36rem;
  height: 36rem;
  color: var(--gold-500);
  opacity: 0.2;
  transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(circle closest-side, black 8%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, black 8%, transparent 100%);
  animation: turn 150s linear infinite;
}
.page-hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  display: none;
  width: 44%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 0.55) 35%, black 70%);
  mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 0.55) 35%, black 70%);
}
.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__inner {
  padding-block: 1.9rem 2.6rem;
}
.page-hero__title {
  margin-top: 1.4rem;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.55rem + 3vw, 4rem);
  font-weight: 520;
  line-height: 1.03;
  letter-spacing: -0.026em;
  color: var(--ink);
  text-wrap: balance;
}
.page-hero__eyebrow + .page-hero__title {
  margin-top: 1rem;
}
.page-hero__eyebrow {
  margin-top: 1.4rem;
}
.page-hero__title--long {
  max-width: 32ch;
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
}
.page-hero__lede {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.page-hero__aside {
  margin-top: 2rem;
}
@media (min-width: 48rem) {
  .page-hero__inner {
    padding-block: 2.5rem 3.5rem;
  }
}
@media (min-width: 64rem) {
  .page-hero__photo {
    display: block;
  }
  .page-hero--photo .page-hero__text {
    max-width: 58%;
  }
  .page-hero--aside .page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 3rem;
  }
  .page-hero__aside {
    margin-top: 0;
  }
}

/* Breadcrumbs */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ink-mute);
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--navy-700);
  text-decoration: underline;
}
.breadcrumbs__sep {
  width: 0.8rem;
  height: 0.8rem;
  color: var(--gold-600);
}
.breadcrumbs [aria-current] {
  color: var(--navy-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 28ch;
}

/* Cards -------------------------------------------------------------------- */
.card {
  border: 1px solid rgb(232 224 207 / 0.9);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.card--pad {
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
}
.card--hover {
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.4s;
}
.card--hover:hover {
  transform: translateY(-4px);
  border-color: rgb(240 180 0 / 0.45);
  box-shadow: var(--shadow-lift);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 1rem;
  background: linear-gradient(160deg, var(--navy-50), var(--navy-100));
  color: var(--navy-700);
  box-shadow: inset 0 0 0 1px rgb(10 50 144 / 0.08);
}
.icon-tile .icon {
  width: 1.4rem;
  height: 1.4rem;
}
.icon-tile--gold {
  background: linear-gradient(160deg, var(--gold-100), var(--gold-200));
  color: var(--gold-700);
  box-shadow: inset 0 0 0 1px rgb(240 180 0 / 0.35);
}
.icon-tile--navy {
  background: linear-gradient(160deg, var(--navy-600), var(--navy-800));
  color: var(--gold-300);
}

/* Date badge */
.date-badge {
  display: grid;
  flex: none;
  align-content: center;
  justify-items: center;
  width: 3.5rem;
  height: 3.75rem;
  border-radius: 1rem;
  background: linear-gradient(170deg, var(--navy-700), var(--navy-900));
  color: var(--white);
  line-height: 1;
  text-align: center;
  box-shadow: 0 8px 20px -10px rgb(10 50 144 / 0.6);
}
.date-badge b {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}
.date-badge span {
  margin-top: 0.28rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.date-badge--empty {
  background: var(--paper-2);
  color: var(--navy-700);
  box-shadow: inset 0 0 0 1px var(--sand);
}

/* Notice card */
.notice-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.1rem 0.95rem 0.95rem;
  border: 1px solid rgb(232 224 207 / 0.95);
  border-radius: 1.25rem;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s;
}
.notice-card:hover {
  transform: translateY(-2px);
  border-color: rgb(240 180 0 / 0.55);
  box-shadow: var(--shadow-lift);
}
.notice-card__body {
  display: grid;
  flex: 1;
  gap: 0.35rem;
  min-width: 0;
}
.notice-card__title {
  font-weight: 700;
  line-height: 1.4;
  text-wrap: pretty;
}
.notice-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-mute);
}
.notice-card__arrow {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold-600);
  transition: transform 0.3s var(--ease-out);
}
.notice-card:hover .notice-card__arrow {
  transform: translate(2px, -2px);
}

/* Avatar & person card */
.avatar {
  display: grid;
  flex: none;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--navy-600), var(--navy-900));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow:
    0 0 0 4px var(--white),
    0 0 0 5px rgb(240 180 0 / 0.55);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar--sm {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.9rem;
}
.avatar--md {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.1rem;
}
.avatar--lg {
  width: 5.5rem;
  height: 5.5rem;
  font-size: 1.6rem;
}
.avatar--xl {
  width: 8rem;
  height: 8rem;
  font-size: 2.4rem;
}
.person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.25rem 1.75rem;
  border: 1px solid rgb(232 224 207 / 0.95);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.person-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.person-card__name {
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 560;
  line-height: 1.2;
}
.person-card__post {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-mute);
}
.person-card--lg .person-card__name {
  font-size: 1.45rem;
}
.person-card--dark {
  border-color: rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.05);
  box-shadow: none;
}
.person-card--dark .person-card__name {
  color: var(--white);
}
.person-card--dark .person-card__post {
  color: rgb(255 255 255 / 0.62);
}
.person-card--dark .avatar {
  box-shadow:
    0 0 0 4px var(--navy-900),
    0 0 0 5px rgb(240 180 0 / 0.6);
}

/* Empty state, sample banner, alerts -------------------------------------- */
.empty-state {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 3rem 1.5rem;
  border: 1.5px dashed rgb(13 26 54 / 0.16);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.55);
  text-align: center;
}
.empty-state__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 560;
}
.empty-state__body {
  max-width: 32rem;
  color: var(--ink-soft);
}
.empty-state__action {
  margin-top: 0.5rem;
}

.sample-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid #f1d07a;
  border-radius: var(--radius);
  background: #fff7df;
  color: #6b4b00;
  font-size: 0.85rem;
  line-height: 1.5;
}
.sample-banner .icon {
  margin-top: 0.15rem;
}

.alert {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid;
  border-radius: var(--radius);
  font-size: 0.94rem;
  line-height: 1.55;
}
.alert__icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.12rem;
}
.alert__body {
  min-width: 0;
}
.alert__body > * + * {
  margin-top: 0.4rem;
}
.alert--info {
  border-color: var(--navy-100);
  background: var(--navy-50);
  color: var(--navy-900);
}
.alert--success {
  border-color: #bfe6cb;
  background: #effaf2;
  color: #14532d;
}
.alert--warning {
  border-color: #f2d68a;
  background: #fff8e6;
  color: #6b4b00;
}
.alert--error {
  border-color: #f1c2c2;
  background: #fdf0f0;
  color: #7f1d1d;
}

/* Forms -------------------------------------------------------------------- */
.form-grid {
  display: grid;
  gap: 1.15rem 1.25rem;
}
@media (min-width: 40rem) {
  .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field--full {
  grid-column: 1 / -1;
}
.field {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  min-width: 0;
}
.field__label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}
.field__label .req {
  margin-left: 0.15rem;
  color: var(--red-600);
}
.field__hint {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-mute);
}
.field__error {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--red-600);
}
.field__error:empty {
  display: none;
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--field-border);
  border-radius: 0.9rem;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--ink-mute);
  opacity: 1;
}
/* Rest: 1px grey (3:1). Hover: darker. Focus: 2px navy and a soft halo. */
.input:not(:disabled):hover,
.select:not(:disabled):hover,
.textarea:not(:disabled):hover {
  border-color: var(--ink-soft);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--focus-ring);
  box-shadow:
    0 0 0 1px var(--focus-ring),
    0 0 0 5px rgb(10 50 144 / 0.14);
}
.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px rgb(196 32 47 / 0.1);
}
.input[aria-invalid="true"]:focus,
.select[aria-invalid="true"]:focus,
.textarea[aria-invalid="true"]:focus {
  box-shadow:
    0 0 0 1px var(--red-600),
    0 0 0 5px rgb(196 32 47 / 0.16);
}
.textarea {
  min-height: 8rem;
  resize: vertical;
}
.select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a3290' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 0.9rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
}
input[type="file"].input {
  padding: 0.5rem;
}
input[type="file"].input::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.5rem 0.9rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--navy-50);
  color: var(--navy-800);
  font-weight: 700;
  cursor: pointer;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.93rem;
  line-height: 1.5;
}
.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.17rem 0 0;
  flex: none;
  accent-color: var(--navy-700);
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* Tables ------------------------------------------------------------------- */
.table-wrap {
  position: relative; /* keeps .sr-only text inside the scroll box */
  overflow-x: auto;
  border: 1px solid var(--sand);
  border-radius: 1.25rem;
  background: var(--white);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.table th {
  padding: 0.85rem 1rem;
  background: var(--paper);
  color: var(--ink-mute);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Row headers (<th scope="row">) read as ordinary cell text, not column labels. */
.table tbody th {
  background: none;
  color: var(--ink);
  font-size: inherit;
  font-weight: 650;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  border-top: 1px solid rgb(232 224 207 / 0.85);
  vertical-align: top;
}
.table td {
  padding: 0.9rem 1rem;
  border-top: 1px solid rgb(232 224 207 / 0.85);
  vertical-align: top;
}
.table tbody tr:hover td,
.table tbody tr:hover th {
  background: rgb(251 248 242 / 0.7);
}

/* Long text ---------------------------------------------------------------- */
.prose {
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 2em;
  font-size: 1.65rem;
  line-height: 1.2;
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 1.2rem;
}
.prose ul,
.prose ol {
  padding-left: 1.3rem;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose li::marker {
  color: var(--gold-600);
}
.prose a {
  color: var(--navy-700);
  font-weight: 650;
}
.prose strong {
  color: var(--ink);
}

/* Lists, facts, frames ----------------------------------------------------- */
.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check-list li::before {
  content: "";
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a3290' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.78rem no-repeat;
  box-shadow: inset 0 0 0 1px rgb(240 180 0 / 0.55);
}
.section--navy .check-list li::before {
  background-color: rgb(240 180 0 / 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7c948' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--sand);
  border-radius: 1.25rem;
  background: var(--sand);
}
.facts > div {
  padding: 1.1rem 1.25rem;
  background: var(--white);
}
.facts dt {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.facts dd {
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 520;
  line-height: 1.3;
  color: var(--ink);
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--paper-2);
  box-shadow: var(--shadow-lift);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Gold outline set behind a photo, offset down-right. */
.frame-offset {
  position: relative;
  isolation: isolate;
}
.frame-offset::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  z-index: -1;
  border: 2px solid rgb(240 180 0 / 0.65);
  border-radius: var(--radius-xl);
}

.map-frame {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: var(--shadow-soft);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* The frame clips its corners, so a focused map gets the ring on the frame. */
.map-frame:focus-within {
  outline: 3px solid var(--ring, var(--focus-ring));
  outline-offset: 3px;
}

/* Pagination --------------------------------------------------------------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
}
.pagination__step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgb(13 26 54 / 0.14);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.pagination__step:hover {
  border-color: rgb(10 50 144 / 0.45);
}
.pagination__step.is-disabled {
  opacity: 0.4;
}
.pagination__pages {
  display: flex;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagination__page,
.pagination__gap {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
}
.pagination__gap {
  width: 1.5rem;
  color: var(--ink-mute);
}
.pagination__page:hover {
  background: var(--white);
}
.pagination__page.is-current {
  background: var(--navy-800);
  color: var(--white);
}
/* Phones: arrows only for Newer / Older, so everything fits on one line. */
@media (max-width: 29.99rem) {
  .pagination {
    gap: 0.5rem;
  }
  .pagination__step {
    width: 2.5rem;
    padding: 0;
    justify-content: center;
  }
  .pagination__step span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .pagination__pages {
    gap: 0.1rem;
  }
}

/* Social links ------------------------------------------------------------- */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.socials a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgb(13 26 54 / 0.14);
  border-radius: 999px;
  color: var(--ink-soft);
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.socials a:hover {
  border-color: var(--navy-700);
  background: var(--navy-700);
  color: var(--white);
}
.socials .icon {
  width: 1.05rem;
  height: 1.05rem;
}
.socials--light a {
  border-color: rgb(255 255 255 / 0.16);
  color: rgb(255 255 255 / 0.82);
}
.socials--light a:hover {
  border-color: var(--gold-500);
  background: var(--gold-500);
  color: var(--navy-950);
}

/* Closing call-to-action band ---------------------------------------------- */
.cta-band {
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
}
.cta-band__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(2.25rem, 1.4rem + 3.5vw, 4.25rem);
  border-radius: 2.25rem;
  background: radial-gradient(120% 130% at 100% 0%, var(--navy-700) 0%, var(--navy-900) 52%, var(--navy-950) 100%);
  color: var(--white);
  box-shadow: 0 30px 80px -34px rgb(5 15 42 / 0.65);
}
.cta-band__rays {
  position: absolute;
  top: 50%;
  right: -15rem;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  color: var(--gold-500);
  opacity: 0.15;
  transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(circle closest-side, black 15%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, black 15%, transparent 100%);
  animation: turn 130s linear infinite;
}
.cta-band__title {
  margin-top: 1rem;
  max-width: 18ch;
  font-size: clamp(2rem, 1.45rem + 2.2vw, 3.1rem);
  font-weight: 520;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}
.cta-band__body {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.76);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (min-width: 64rem) {
  .cta-band__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
  }
  .cta-band__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Footer ------------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-950);
  color: rgb(255 255 255 / 0.78);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 30%, var(--gold-300) 50%, var(--gold-500) 70%, transparent);
  opacity: 0.85;
}
.site-footer__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 0.35) 25%, black 80%);
  mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 0.35) 25%, black 80%);
}
.site-footer__glow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(90rem, 100%);
  height: 18rem;
  transform: translate(-50%, 50%);
  border-radius: 999px;
  background: radial-gradient(closest-side, rgb(240 180 0 / 0.14), transparent);
}
.site-footer__rays {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max(190vw, 110rem);
  height: auto;
  aspect-ratio: 1;
  color: var(--gold-500);
  opacity: 0.07;
  transform: translate(-50%, 50%);
  -webkit-mask-image: radial-gradient(circle closest-side, black 0%, rgb(0 0 0 / 0.9) 28%, rgb(0 0 0 / 0.6) 58%, rgb(0 0 0 / 0.25) 82%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, black 0%, rgb(0 0 0 / 0.9) 28%, rgb(0 0 0 / 0.6) 58%, rgb(0 0 0 / 0.25) 82%, transparent 100%);
  animation: turn 160s linear infinite;
}
.site-footer__inner {
  position: relative;
  padding-top: clamp(4rem, 3rem + 4vw, 6rem);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2rem;
  padding-bottom: 3.5rem;
}
.site-footer__brand,
.site-footer__contact {
  grid-column: 1 / -1;
}
.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}
.site-footer__logo img {
  width: auto;
  height: 4.2rem;
  filter: drop-shadow(0 8px 16px rgb(0 0 0 / 0.35));
  transition: transform 0.5s var(--ease-out);
}
.site-footer__logo:hover img {
  transform: rotate(-4deg);
}
.site-footer__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 560;
  line-height: 1.1;
  color: var(--white);
}
.site-footer__estd {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.site-footer__about {
  margin-top: 1.5rem;
  max-width: 23rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.6);
}
.site-footer__heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.site-footer__links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
  font-size: 0.93rem;
}
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgb(255 255 255 / 0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__links a:hover {
  color: var(--white);
}
.site-footer__links .icon {
  opacity: 0;
  transition: opacity 0.2s;
}
.site-footer__links a:hover .icon {
  opacity: 1;
}
.site-footer__contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
  font-size: 0.93rem;
}
.site-footer__contact-list li,
.site-footer__contact-list a {
  display: flex;
  gap: 0.75rem;
  color: rgb(255 255 255 / 0.76);
  text-decoration: none;
}
.site-footer__contact-list a:hover {
  color: var(--white);
}
.site-footer__contact-list .icon {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  color: var(--gold-500);
}
.site-footer__map {
  margin-top: 1.5rem;
}
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.48);
}
.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: rgb(255 255 255 / 0.72);
  text-decoration: none;
}
.site-footer__top:hover {
  color: var(--gold-400);
}
.site-footer__top .icon {
  transition: transform 0.3s var(--ease-out);
}
.site-footer__top:hover .icon {
  transform: translateY(-2px);
}
@media (min-width: 48rem) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
@media (min-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: 1.45fr 0.9fr 1fr 1.35fr;
  }
  .site-footer__brand,
  .site-footer__contact {
    grid-column: auto;
  }
}

/* Lightbox (built by site.js for links with data-lightbox) ----------------- */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(4 9 24 / 0.95);
  color: var(--white);
}
.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  animation: fade-in 0.3s var(--ease-out);
}
.lightbox::backdrop {
  background: transparent;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
.lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgb(255 255 255 / 0.7);
}
.lightbox__stage {
  position: relative;
  display: grid;
  /* A bounded track, so the image's max-height: 100% fits it to the screen. */
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  min-height: 0;
  padding: 0 clamp(0.75rem, 6vw, 5rem);
  touch-action: pan-y;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.5);
  user-select: none;
}
.lightbox__caption {
  min-height: 3.5rem;
  padding: 0.9rem 1.25rem 1.4rem;
  font-size: 0.95rem;
  text-align: center;
  color: rgb(255 255 255 / 0.86);
}
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.07);
  color: var(--white);
  transition: background-color 0.2s;
}
.lightbox__btn:hover {
  background: rgb(255 255 255 / 0.16);
}
.lightbox__btn[disabled] {
  opacity: 0.3;
}
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__prev {
  left: clamp(0.5rem, 2vw, 1.5rem);
}
.lightbox__next {
  right: clamp(0.5rem, 2vw, 1.5rem);
}

/* Reduced motion ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js:not(.reveal-off) .reveal:not(.is-in),
  html.js:not(.reveal-off) [data-stagger] > :not(.is-in) {
    opacity: 1;
  }
  /* No fade and no stagger delay: with fill "backwards" a delay would hold
     the item at opacity 0. */
  html.js .reveal.is-in,
  html.js [data-stagger] > .is-in {
    animation: none !important;
  }
  .ticker__toggle {
    display: none;
  }
}

/* Print -------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .skip-link {
    display: none !important;
  }
  body {
    background: var(--white);
  }
  html.js .reveal,
  html.js [data-stagger] > * {
    opacity: 1 !important;
    animation: none !important;
  }
}
