/* New Horizon School
   Mobile-first. Breakpoints:
   - base and max-width 480px: small phones
   - 481–767: phones
   - 768–1024: tablets, hamburger menu
   - 1025–1440: laptops, full menu
   - 1441 and up: large desktops
*/

:root {
  --navy: #10243f;
  --navy-2: #1a3356;
  --ink: #1c2838;
  --muted: #5c6775;
  --line: #e5ddd2;
  --cream: #f6f2eb;
  --white: #ffffff;
  --gold: #c9922a;
  --gold-2: #e4bc6a;
  --gold-deep: #8a6416;
  --teal: #0f6e5b;
  --danger: #8e2f2f;
  --shadow: 0 16px 40px rgba(16, 36, 63, 0.08);
  --radius: 1.15rem;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sticky-h: 7.4rem;
  --container: 1120px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sticky-h) + 0.75rem);
}

body {
  margin: 0;
  min-width: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.3vw + 0.94rem, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

h1,
h2,
h3,
p,
a,
li,
address {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--navy);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 4.2vw + 0.6rem, 4.5rem);
  margin-bottom: 0.7rem;
}

h2 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.85rem);
  margin-bottom: 0.75rem;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--navy);
  text-wrap: balance;
}

p {
  margin-bottom: 0.85rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: #efd7a4;
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  border-radius: 0.6rem;
  background: var(--gold-2);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.6rem;
}

.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;
}

.container {
  width: min(var(--container), calc(100% - 1.5rem));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.section-cream {
  background: var(--cream);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.3rem);
}

.section-head p:last-child,
.lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem 1.25rem;
  max-width: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: var(--gold);
}

.btn,
.site-nav a,
.nav-toggle,
.filter-bar button,
.lightbox-close,
.lightbox-prev,
.lightbox-next,
.to-top {
  touch-action: manipulation;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-gold {
  background: var(--gold-2);
  color: var(--navy);
}

.btn-gold:hover {
  background: #f3d7a1;
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-2);
  color: var(--white);
}

.btn-line {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-line:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.more:hover {
  color: var(--navy);
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
}

.site-header.is-stuck {
  box-shadow: 0 10px 28px rgba(16, 36, 63, 0.08);
}

.topbar {
  background: var(--navy);
  color: #f4efe6;
  font-size: 0.92rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 2.45rem;
  padding-block: 0.3rem;
}

.topbar p {
  margin: 0;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
}

.topbar a {
  color: var(--gold-2);
  font-weight: 600;
  text-decoration: none;
}

.header-bar {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
}

.brand span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand strong {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--white);
  color: var(--navy);
}

.nav-toggle-box {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 6px; }
.nav-toggle-box span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: var(--sticky-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  overflow: auto;
  background: var(--navy);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}

.site-nav.is-open {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.35s ease, visibility 0s linear 0s;
}

.site-nav ul {
  list-style: none;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f6f1e8;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--gold-2);
  font-weight: 700;
}

.site-nav a.btn {
  justify-content: center;
  width: 100%;
  margin-top: 0.8rem;
  border-bottom: 0;
  color: var(--navy);
}

/* Hero and inner banners */

.hero {
  background:
    radial-gradient(circle at 100% 0%, rgba(228, 188, 106, 0.35), transparent 26%),
    linear-gradient(180deg, #f8f4ee 0%, #ffffff 78%);
  padding: clamp(1.8rem, 4vw, 4.2rem) 0 clamp(2.2rem, 5vw, 4.5rem);
}

.hero-grid,
.split,
.contact-layout,
.news-events {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-copy .lede {
  max-width: 42rem;
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.trust-line {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-frame {
  position: relative;
  padding: 0 0.7rem 0.7rem 0;
}

.hero-frame img,
.split img,
.story img {
  width: 100%;
  border-radius: 1.3rem;
  object-fit: cover;
}

.hero-frame img,
.split img {
  aspect-ratio: 4 / 3;
}

.hero-frame img {
  box-shadow: 10px 10px 0 var(--gold-2);
}

.hero-float {
  position: absolute;
  left: 0.85rem;
  bottom: 1.45rem;
  max-width: calc(100% - 2rem);
  margin: 0;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 650;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: clamp(3rem, 8vw, 5.8rem) 0;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(115deg, rgba(16, 36, 63, 0.92) 8%, rgba(16, 36, 63, 0.62) 58%, rgba(16, 36, 63, 0.42) 100%),
    var(--hero);
  background-position: center;
  background-size: cover;
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero .lede {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero .eyebrow {
  color: var(--gold-2);
}

.bg-lawn { --hero: url("../images/stairs.jpg"); }
.bg-class { --hero: url("../images/classroom.jpg"); }
.bg-room { --hero: url("../images/hero.jpg"); }
.bg-library { --hero: url("../images/library.jpg"); }
.bg-study { --hero: url("../images/study.jpg"); }
.bg-art { --hero: url("../images/paint.jpg"); }
.bg-supplies { --hero: url("../images/supplies.jpg"); }
.bg-science { --hero: url("../images/science.jpg"); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  color: var(--gold-2);
  font-size: 0.92rem;
}

.crumbs a {
  color: var(--white);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--gold-2);
}

/* Stats, cards, grids */

.stats {
  background: var(--navy);
  color: var(--white);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}

.stat-grid li {
  padding: 1.35rem 0.6rem;
  text-align: center;
}

.stat-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-2);
}

.stat-grid span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.reason-grid,
.facility-grid,
.news-grid,
.quote-grid,
.team-grid,
.dept-grid,
.program-grid,
.achieve-grid,
.step-grid,
.elig-grid,
.doc-grid,
.method-grid,
.vision-grid,
.shot-grid,
.gallery-grid,
.info-list {
  display: grid;
  gap: 1rem;
}

.reason,
.facility-card,
.news-card,
.quote,
.person,
.dept,
.program,
.achieve,
.step,
.elig,
.doc,
.method,
.vision,
.info-list li,
.form-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.reason,
.person,
.dept,
.program,
.achieve,
.step,
.elig,
.doc,
.method,
.vision {
  padding: 1.15rem 1.15rem 1.25rem;
}

.reason-num,
.step-num,
.mono {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold-deep);
}

.mono {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-2);
  font-size: 1.45rem;
}

.person:nth-child(2) .mono { background: var(--teal); }
.person:nth-child(3) .mono { background: var(--gold-deep); }
.person:nth-child(4) .mono { background: #1d4e89; }

.facility-card,
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover,
.facility-card:hover,
.reason:hover,
.person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.media {
  overflow: hidden;
  background: var(--cream);
}

.media img,
.shot-grid img,
.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.shot-grid img,
.gallery-item img {
  aspect-ratio: 1;
}

.facility-card:hover .media img,
.news-card:hover .media img,
.shot-grid a:hover img,
.gallery-item:hover img {
  transform: scale(1.045);
}

.facility-body,
.news-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 1.1rem 1.2rem;
}

.news-card h3,
.facility-card h3 {
  margin-top: 0.15rem;
}

.news-card:hover h3 {
  color: var(--teal);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: #f4e4c4;
  color: var(--navy);
}

.icon-badge svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.quote {
  margin: 0;
  padding: 1.3rem 1.2rem 1.2rem;
  background: var(--cream);
}

.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.4vw + 0.8rem, 1.6rem);
  line-height: 1.3;
  color: var(--navy);
}

.quote figcaption {
  color: var(--muted);
}

.quote strong {
  display: block;
  color: var(--navy);
}

.shot-grid {
  gap: 0.75rem;
}

.shot-grid a {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--navy);
}

.event-list {
  display: grid;
}

.event-row,
.date-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.event-date {
  display: grid;
  place-items: center;
  min-width: 4.6rem;
  min-height: 4.6rem;
  padding: 0.4rem;
  border-radius: 1rem;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  line-height: 1;
}

.event-date strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.event-date span {
  margin-top: 0.25rem;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 0.8rem;
  list-style: none;
}

.timeline li {
  display: grid;
  gap: 0.25rem 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline b {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.pull {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.3;
  color: var(--navy);
}

.checklist {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.signoff {
  margin-top: 1rem;
  color: var(--navy);
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(16, 36, 63, 0.9), rgba(16, 36, 63, 0.72)),
    url("../images/stairs.jpg") center/cover no-repeat;
  color: var(--white);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-inner {
  display: grid;
  gap: 1.2rem;
  padding-block: clamp(2.5rem, 6vw, 4.2rem);
}

.story {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.8rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.story img {
  aspect-ratio: 16 / 9;
}

.story h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.2vw + 1rem, 2.15rem);
  line-height: 1.15;
}

.story:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

/* Gallery */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-bar button {
  min-height: 44px;
  padding: 0.35rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}

.filter-bar button.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.gallery-grid {
  gap: 0.75rem;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: var(--navy);
  cursor: zoom-in;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-empty {
  margin-top: 1rem;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 14, 24, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-dialog {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  width: min(960px, 100%);
}

.lightbox-img {
  width: auto;
  max-width: 100%;
  max-height: min(68vh, 720px);
  object-fit: contain;
  background: #000;
}

.lightbox-caption,
.lightbox-count {
  margin: 0;
  color: var(--white);
  text-align: center;
}

.lightbox-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next,
.to-top {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
}

.lightbox-close {
  justify-self: end;
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  border: 0;
  background: var(--navy);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Forms and FAQ */

.form-card {
  padding: clamp(1.1rem, 3vw, 1.8rem);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 1rem;
}

.field {
  min-width: 0;
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid #d9d1c6;
  border-radius: 0.8rem;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

::placeholder {
  color: #6d7682;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.15em;
  margin: 0.3rem 0 0;
  color: var(--danger);
  font-size: 0.88rem;
}

.form-success {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: #e7f4ef;
  color: #0d4d40;
}

.form-success a {
  font-weight: 700;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  position: relative;
  width: 100%;
  min-height: 52px;
  padding: 0.95rem 2rem 0.95rem 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 650;
  font-weight: 600;
  text-align: left;
}

.faq-question::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  right: 0.15rem;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question::after {
  top: 1.35rem;
  transform: rotate(225deg);
}

.faq-answer {
  padding: 0 0 1rem;
  color: var(--muted);
}

.info-list {
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem;
}

.info-list h3 {
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

.info-list p,
.info-list a {
  margin: 0;
}

.map-placeholder {
  display: grid;
  min-height: 240px;
  margin-top: 1rem;
  padding: 1.25rem;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #d5e4ea;
  background-image:
    linear-gradient(rgba(16, 36, 63, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 36, 63, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  text-align: center;
}

.map-card {
  max-width: 18rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-pin {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0 auto 0.7rem;
  border: 3px solid var(--gold-2);
  border-radius: 50% 50% 50% 0;
  background: var(--navy);
  transform: rotate(-45deg);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-top: 0.9rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
}

.socials.on-light a {
  border-color: var(--line);
  color: var(--navy);
}

.socials a:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.socials.on-light a:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* Footer */

.site-footer {
  padding: 3rem 0 1.2rem;
  background: var(--navy);
  color: #e7e1d7;
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.site-footer a {
  color: #f6f1e8;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-2);
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-links {
  display: grid;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.footer-brand .brand strong {
  color: var(--white);
}

.footer-brand .brand small,
.footer-brand p {
  color: #cfc6ba;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfc6ba;
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.break {
  overflow-wrap: anywhere;
}

/* No JavaScript: keep the menu in the page so phones can still move around. */
@media (max-width: 1024px) {
  .no-js .nav-toggle {
    display: none;
  }

  .no-js .header-inner {
    flex-wrap: wrap;
  }

  .no-js .site-nav {
    position: static;
    display: flex;
    width: 100%;
    padding: 0 0 1rem;
    visibility: visible;
    transform: none;
  }
}

/* Small phones */
@media (max-width: 480px) {
  :root {
    --sticky-h: 4.7rem;
  }

  .container {
    width: calc(100% - 1.25rem);
  }

  .topbar-links {
    display: none;
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 2.3rem;
    height: 2.3rem;
  }

  .brand strong {
    font-family: var(--sans);
    font-size: 0.98rem;
  }

  .header-inner {
    min-height: 4rem;
    gap: 0.5rem;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .stat-grid li {
    padding: 1.1rem 0.4rem;
  }

  .page-hero {
    padding: 2.5rem 0;
  }

  .form-card {
    padding: 1rem;
  }

  .event-date {
    min-width: 4.1rem;
    min-height: 4.1rem;
  }

  .footer-grid {
    gap: 1.3rem;
  }

  .to-top {
    right: 0.7rem;
    bottom: 0.7rem;
  }
}

/* Phones */
@media (min-width: 481px) and (max-width: 767px) {
  :root {
    --sticky-h: 7.1rem;
  }

  .topbar .email-link {
    display: none;
  }

  .shot-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    min-width: 12rem;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  :root {
    --sticky-h: 7.3rem;
    --container: 1040px;
  }

  .hero-grid,
  .split,
  .vision-grid,
  .method-grid,
  .story {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .reason-grid,
  .facility-grid,
  .news-grid,
  .quote-grid,
  .team-grid,
  .dept-grid,
  .program-grid,
  .achieve-grid,
  .step-grid,
  .elig-grid,
  .doc-grid,
  .info-list,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-grid,
  .shot-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cta-inner {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }

  .timeline li {
    grid-template-columns: 6rem 1fr;
    align-items: start;
  }
}

/* Shared laptop and desktop navigation */
@media (min-width: 1025px) {
  :root {
    --sticky-h: 7.35rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    width: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.15rem 0.7rem;
  }

  .site-nav a {
    min-height: 44px;
    padding: 0.2rem 0;
    border-bottom: 0;
    color: var(--navy);
    white-space: nowrap;
  }

  .site-nav a[aria-current="page"] {
    color: var(--gold-deep);
    font-weight: 700;
    box-shadow: inset 0 -2px 0 var(--gold);
  }

  .site-nav a.btn {
    width: auto;
    margin: 0 0 0 0.35rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
  }

  .contact-layout {
    align-items: start;
  }

  .news-events {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 2.5rem;
  }

  .reason-grid,
  .news-grid,
  .quote-grid,
  .program-grid,
  .achieve-grid,
  .step-grid,
  .elig-grid,
  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .facility-grid,
  .dept-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-grid,
  .team-grid,
  .gallery-grid,
  .stat-grid,
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .vision-grid,
  .method-grid,
  .doc-grid,
  .form-row,
  .story {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    grid-template-columns: 1.5fr auto;
    align-items: center;
  }

  .timeline li {
    grid-template-columns: 7rem 1fr;
  }

  .map-placeholder {
    min-height: 280px;
  }
}

/* Laptops */
@media (min-width: 1025px) and (max-width: 1440px) {
  .brand small {
    display: none;
  }

  .site-nav ul {
    gap: 0.1rem 0.55rem;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .header-inner {
    gap: 0.6rem;
  }

  .home-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .facility-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) and (max-width: 1440px) {
  .brand small {
    display: block;
  }

  .site-nav ul {
    gap: 0.15rem 0.75rem;
  }

  .site-nav a {
    font-size: 0.98rem;
  }
}

/* Large desktops */
@media (min-width: 1441px) {
  :root {
    --container: 1240px;
    --sticky-h: 7.6rem;
  }

  .section {
    padding: 6rem 0;
  }

  .site-nav a {
    font-size: 1.02rem;
  }

  .site-nav ul {
    gap: 0.2rem 1rem;
  }

  .hero-grid,
  .split {
    gap: 4rem;
  }

  .facility-grid,
  .dept-grid,
  .home-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .gallery-grid,
  .shot-grid {
    gap: 1rem;
  }

  .stat-grid strong {
    font-size: 3.5rem;
  }

  .page-hero {
    padding: 6.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .news-card:hover,
  .facility-card:hover,
  .reason:hover,
  .person:hover,
  .gallery-item:hover img,
  .shot-grid a:hover img {
    transform: none;
  }
}
