:root {
  --bg: #eef1ec;
  --bg-soft: #f8faf7;
  --bg-deep: #dfe5de;
  --surface: rgba(255, 255, 252, 0.88);
  --surface-strong: #ffffff;
  --text: #23312b;
  --muted: #55645c;
  --primary: #295344;
  --primary-deep: #1d3d32;
  --secondary: #b75b44;
  --secondary-deep: #8f4636;
  --accent: #9eab8c;
  --accent-soft: #e4eadf;
  --line: rgba(39, 72, 62, 0.14);
  --line-strong: rgba(39, 72, 62, 0.24);
  --shadow-sm: 0 18px 34px rgba(34, 51, 43, 0.08);
  --shadow-md: 0 28px 58px rgba(24, 40, 33, 0.12);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 6rem;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0 0, rgba(41, 83, 68, 0.08), transparent 22%),
    linear-gradient(180deg, #f7faf6 0%, #eef3ee 100%);
  line-height: 1.62;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, transparent 95px, rgba(39, 72, 62, 0.028) 95px, rgba(39, 72, 62, 0.028) 96px),
    linear-gradient(0deg, transparent 0, transparent 95px, rgba(41, 83, 68, 0.02) 95px, rgba(41, 83, 68, 0.02) 96px);
  opacity: 0.5;
  z-index: -1;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 6rem 0;
}

.section-quiet,
.section-programs,
.section-testimonials,
.section-team,
.section-faq,
.site-footer {
  position: relative;
}

.section-quiet::before,
.section-programs::before,
.section-testimonials::before,
.section-team::before,
.section-faq::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 72, 62, 0.18), transparent);
}

.section-quiet {
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.44), rgba(240, 245, 239, 0.2)),
    linear-gradient(90deg, rgba(39, 72, 62, 0.03) 0, rgba(39, 72, 62, 0.03) 1px, transparent 1px, transparent 118px);
  background-size: auto, 118px 100%;
}

.section-programs,
.section-contact {
  background: linear-gradient(180deg, rgba(255, 255, 253, 0.56), rgba(244, 248, 243, 0.4));
}

.section-experience,
.section-support,
.section-faq {
  background: linear-gradient(180deg, rgba(247, 250, 246, 0.78), rgba(237, 243, 237, 0.48));
}

.section-team {
  background:
    radial-gradient(circle at 12% 20%, rgba(41, 83, 68, 0.07), transparent 19%),
    linear-gradient(180deg, rgba(255, 255, 253, 0.54), rgba(236, 242, 236, 0.28));
}

.section-tour {
  background:
    linear-gradient(135deg, rgba(32, 60, 51, 0.98), rgba(25, 45, 38, 0.97)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 120px);
  background-size: auto, 120px 100%;
  color: #f8f3eb;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 246, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(39, 72, 62, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 58px;
}

.brand-copy {
  display: grid;
}

.brand-name {
  font-family: "Newsreader", serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-deep);
}

.brand-subtitle {
  font-size: 0.86rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.site-nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--secondary);
}

.nav-cta {
  padding: 0.78rem 1.18rem;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff !important;
  box-shadow: 0 14px 24px rgba(166, 85, 58, 0.22);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--primary-deep);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 600;
  line-height: 1.02;
  color: var(--primary-deep);
}

h1 {
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.45rem, 4vw, 3.85rem);
  letter-spacing: -0.028em;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.2rem;
  text-align: center;
}

.section-heading > p:not(.eyebrow) {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading-left {
  text-align: left;
}

.section-heading-left > p:not(.eyebrow) {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.92rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 16px 30px rgba(166, 85, 58, 0.18);
}

.button-secondary {
  background: transparent;
  color: var(--primary);
  border-color: rgba(39, 72, 62, 0.18);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

a,
button,
input,
.faq-question,
.gallery-group .photo-grid img,
.staff-card,
.testimonial-card,
.program-card,
.faq-item {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid rgba(176, 142, 84, 0.32);
  outline-offset: 3px;
}

.reveal-on-scroll {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.2, 0.85, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(24px);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal-soft {
  transform: scale(0.985) translateY(18px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.hero {
  padding: 5rem 0 4rem;
  overflow: clip;
}

.page-hero {
  padding: 4.8rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 12%, rgba(176, 142, 84, 0.16), transparent 22%),
    linear-gradient(125deg, transparent 0%, transparent 65%, rgba(39, 72, 62, 0.04) 65%, rgba(39, 72, 62, 0.04) 100%);
}

.hero-layout,
.page-hero-layout,
.support-layout,
.faq-layout,
.contact-shell {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: start;
  gap: 2.25rem;
}

.page-hero-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: 2.4rem;
}

.hero-copy,
.page-hero-copy,
.support-copy {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 42rem;
}

.page-hero-copy {
  max-width: 40rem;
}

.hero-lead {
  max-width: 40rem;
  font-size: 1.35rem;
  color: var(--primary);
}

.page-hero-lead {
  max-width: 38rem;
  font-size: 1.26rem;
  color: var(--primary);
}

.page-hero-copy > p:not(.eyebrow):not(.page-hero-lead) {
  color: var(--muted);
}

.page-hero-media {
  display: grid;
  gap: 1rem;
}

.hero-support {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.85rem;
}

.hero-actions-side {
  margin-top: 1.05rem;
}

.hero-details {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.2rem;
  max-width: none;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(39, 72, 62, 0.12);
}

.hero-meta-item {
  display: grid;
  gap: 0.25rem;
}

.hero-meta-label {
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta-item strong {
  font-size: 1rem;
  line-height: 1.35;
  color: var(--primary-deep);
}

.hero-note {
  max-width: 60rem;
  color: var(--secondary-deep);
  font-weight: 700;
}

.hero-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0;
  max-width: none;
}

.hero-video {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 28px 54px rgba(20, 35, 29, 0.18);
}

.hero-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.hero-video-primary {
  grid-column: auto;
  grid-row: auto;
}

.hero-video-primary iframe {
  aspect-ratio: 16 / 10.5;
}

.hero-stage-note {
  grid-column: auto;
  grid-row: auto;
  align-self: start;
  max-width: 34rem;
  padding-top: 0.9rem;
  background: transparent;
  border-top: 2px solid rgba(176, 142, 84, 0.72);
}

.hero-aside-label {
  margin-bottom: 0.35rem;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-stage-note p:not(.hero-aside-label) {
  color: var(--muted);
}

.hero-stage-note-small {
  margin-top: 0.8rem;
  color: var(--primary) !important;
  font-size: 0.95rem;
  font-weight: 700;
}

.proof-band {
  position: relative;
  padding: 1.55rem 0;
  background:
    linear-gradient(135deg, rgba(29, 52, 45, 0.98), rgba(39, 72, 62, 0.96)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 108px);
  background-size: auto, 108px 100%;
  color: #f7f1e7;
}

.proof-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.proof-band-grid article {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding-left: 1.2rem;
}

.proof-band-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 1px;
  background: rgba(248, 243, 235, 0.28);
}

.proof-band-grid strong {
  font-family: "Newsreader", serif;
  font-size: 1.38rem;
  color: #fffaf2;
}

.proof-band-grid span {
  color: rgba(247, 241, 231, 0.84);
  font-size: 0.95rem;
}

.trust-intro,
.experience-layout,
.testimonial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.trust-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1rem;
  align-items: stretch;
}

.trust-visual-side {
  display: grid;
  gap: 1rem;
}

.trust-visual-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.trust-visual-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.trust-visual-photo-large img {
  min-height: 100%;
  aspect-ratio: 4 / 5;
}

.trust-motif-copy {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem 0 1.2rem 1.4rem;
  border-left: 3px solid rgba(176, 142, 84, 0.72);
}

.trust-motif-title {
  font-family: "Newsreader", serif;
  font-size: 1.9rem;
  color: var(--primary-deep);
}

.trust-motif-copy p:last-child {
  color: var(--muted);
}

.trust-columns,
.experience-points,
.footer-links {
  display: grid;
  gap: 1.65rem;
}

.trust-columns,
.experience-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.trust-column {
  padding: 0.2rem 0 0 0;
  border-top: 2px solid rgba(176, 142, 84, 0.58);
}

.trust-column h3,
.experience-points h3 {
  margin-bottom: 0.55rem;
}

.trust-column p,
.program-card p,
.experience-points p,
.support-list p,
.testimonial-card p,
.testimonial-featured span,
.tour-note,
.contact-copy p,
.footer-brand p,
.faq-answer p,
.contact-steps span,
.form-followup {
  color: var(--muted);
}

.programs-grid,
.support-list,
.staff-grid {
  display: grid;
  gap: 1.8rem;
}

.programs-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.program-card {
  position: relative;
  padding: 0 0 0.4rem;
  background: transparent;
}

.program-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.85rem;
  width: 3.5rem;
  height: 2px;
  background: rgba(176, 142, 84, 0.72);
}

.program-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.program-card-primary img {
  aspect-ratio: 16 / 11;
}

.program-image-classwork-focus {
  object-position: center 26%;
}

.program-image-desk-focus {
  object-position: center 24%;
}

.program-label {
  margin-bottom: 0.8rem;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.program-survey-note {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(39, 72, 62, 0.12);
  color: var(--primary) !important;
  font-size: 0.95rem;
  font-weight: 700;
}

.resource-section .section-heading {
  margin-bottom: 2rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.resource-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding: 1.35rem 0 0.2rem;
  border-top: 2px solid rgba(176, 142, 84, 0.58);
}

.resource-card p {
  color: var(--muted);
}

.resource-card .button {
  justify-self: start;
  margin-top: 0.15rem;
}

.resource-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.resource-inline-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.resource-inline-link:hover,
.resource-inline-link:focus-visible {
  text-decoration: underline;
}

.experience-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
}

.experience-copy {
  display: grid;
  gap: 2rem;
  align-content: start;
}

.experience-copy .section-heading {
  margin-bottom: 0;
}

.experience-gallery {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(39, 72, 62, 0.12);
}

.gallery-group {
  display: grid;
  gap: 1rem;
}

.photo-grid {
  display: grid;
  gap: 1rem;
}

.photo-grid-featured {
  grid-template-columns: 1.12fr 0.88fr;
}

.photo-grid-featured img:first-child {
  grid-row: span 2;
  aspect-ratio: 4 / 5;
}

.photo-grid-featured img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.experience-points article {
  padding-top: 1rem;
  border-top: 1px solid rgba(39, 72, 62, 0.12);
}

.support-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.support-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.support-list article {
  padding: 0.1rem 0 0.9rem;
  border-bottom: 1px solid rgba(39, 72, 62, 0.12);
}

.support-note {
  margin-top: 1.4rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(176, 142, 84, 0.6);
  color: var(--primary);
  font-weight: 700;
}

.support-visuals {
  display: grid;
  gap: 1.35rem;
}

.support-visual-card {
  margin: 0;
  padding: 2rem 1.5rem 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(244, 235, 223, 0.72)),
    linear-gradient(90deg, rgba(39, 72, 62, 0.04) 0, rgba(39, 72, 62, 0.04) 1px, transparent 1px, transparent 92px);
  background-size: auto, 92px 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.support-visual-card img {
  width: min(100%, 285px);
  margin: 0 auto;
}

.support-visual-card figcaption {
  margin-top: 0.8rem;
  text-align: center;
  color: var(--muted);
}

.support-badges {
  display: grid;
  gap: 1rem;
}

.support-badge {
  padding: 1rem 0 0.1rem 1rem;
  border-left: 3px solid rgba(176, 142, 84, 0.62);
}

.handbook-hero-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: end;
}

.handbook-hero-note {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 0.7rem;
  padding: 1.35rem 0 0 1.4rem;
  border-left: 1px solid rgba(39, 72, 62, 0.12);
}

.handbook-shell {
  display: grid;
  gap: 1.5rem;
}

.handbook-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
}

.handbook-toolbar-copy {
  display: grid;
  gap: 0.45rem;
}

.handbook-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.flipbook-viewer {
  display: grid;
  gap: 1rem;
}

.flipbook-status {
  color: var(--secondary-deep);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flipbook-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.flipbook-spread {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(244, 236, 224, 0.94)),
    linear-gradient(90deg, rgba(39, 72, 62, 0.035) 0, rgba(39, 72, 62, 0.035) 1px, transparent 1px, transparent 98px);
  background-size: auto, 98px 100%;
  box-shadow: var(--shadow-md);
  transform-origin: center center;
  transition: transform 320ms ease, opacity 320ms ease, box-shadow 320ms ease;
}

.flipbook-spread.is-turning-forward {
  transform: translateX(-10px) rotateY(-7deg);
  opacity: 0.78;
  box-shadow: 0 16px 34px rgba(12, 22, 18, 0.16);
}

.flipbook-spread.is-turning-backward {
  transform: translateX(10px) rotateY(7deg);
  opacity: 0.78;
  box-shadow: 0 16px 34px rgba(12, 22, 18, 0.16);
}

.flipbook-page {
  margin: 0;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.flipbook-page.is-empty {
  visibility: hidden;
}

.flipbook-page img {
  width: 100%;
  aspect-ratio: 612 / 792;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(12, 22, 18, 0.12);
}

.flipbook-page figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.flipbook-nav {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.flipbook-nav[disabled] {
  cursor: default;
  opacity: 0.45;
}

.flipbook-controls {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding-top: 0.3rem;
}

.flipbook-jump {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
}

.flipbook-jump-input {
  width: 110px;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(39, 72, 62, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.flipbook-help {
  max-width: 38rem;
  color: var(--muted);
}

.flipbook-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 0.75rem;
  padding-top: 0.3rem;
}

.flipbook-thumb {
  display: grid;
  gap: 0.35rem;
  padding: 0.45rem;
  border: 1px solid rgba(39, 72, 62, 0.12);
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.82);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.flipbook-thumb:hover,
.flipbook-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(39, 72, 62, 0.3);
}

.flipbook-thumb.is-active {
  border-color: rgba(176, 142, 84, 0.85);
  background: rgba(244, 235, 223, 0.96);
  box-shadow: 0 10px 20px rgba(12, 22, 18, 0.08);
}

.flipbook-thumb img {
  width: 100%;
  aspect-ratio: 612 / 792;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}

.flipbook-thumb span {
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.support-badge strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Newsreader", serif;
  font-size: 1.55rem;
  color: var(--primary);
}

.support-badge span {
  color: var(--muted);
}

.section-subsidy {
  padding: 4.4rem 0;
  background:
    linear-gradient(180deg, rgba(247, 242, 234, 0.7), rgba(255, 252, 247, 0.86)),
    linear-gradient(90deg, rgba(171, 108, 73, 0.04) 0, rgba(171, 108, 73, 0.04) 1px, transparent 1px, transparent 112px);
  background-size: auto, 112px 100%;
}

.subsidy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem 2.4rem;
  align-items: start;
}

.subsidy-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.subsidy-points article {
  padding-left: 1rem;
  border-left: 3px solid rgba(176, 142, 84, 0.56);
}

.subsidy-points p {
  margin-bottom: 0;
}

.subsidy-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.4rem;
  align-items: center;
  grid-column: 2;
  grid-row: 1;
}

.subsidy-logos img {
  width: 100%;
  max-width: 240px;
  max-height: 92px;
  object-fit: contain;
  justify-self: center;
  filter: saturate(0.92);
}

.subsidy-actions {
  display: grid;
  grid-column: 1 / -1;
  justify-items: center;
  gap: 0.8rem;
  margin-top: 1.35rem;
  padding-top: 0.7rem;
}

.subsidy-note {
  margin: 0;
  max-width: 34rem;
  text-align: center;
  color: var(--muted);
}

.section-survey {
  padding: 4.4rem 0;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.86), rgba(245, 237, 226, 0.54)),
    linear-gradient(90deg, rgba(39, 72, 62, 0.03) 0, rgba(39, 72, 62, 0.03) 1px, transparent 1px, transparent 108px);
  background-size: auto, 108px 100%;
}

.survey-panel {
  display: grid;
  gap: 1.8rem;
}

.survey-heading {
  margin-bottom: 0;
}

.survey-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.survey-stat {
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(176, 142, 84, 0.58);
}

.survey-stat strong {
  font-family: "Newsreader", serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--primary-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.survey-stat span,
.survey-context {
  color: var(--muted);
}

.survey-context {
  font-size: 0.92rem;
}

.testimonial-layout {
  gap: 2rem;
}

.testimonial-featured {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding-right: 1rem;
}

.testimonial-quote {
  position: relative;
  padding-left: 1.4rem;
  font-family: "Newsreader", serif;
  font-size: 1.82rem;
  line-height: 1.45;
  color: var(--primary-deep);
}

.testimonial-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 3px;
  background: rgba(176, 142, 84, 0.72);
}

.testimonial-grid {
  display: grid;
  gap: 1.2rem;
}

.testimonial-card {
  display: grid;
  gap: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(39, 72, 62, 0.14);
}

.staff-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.35rem;
}

.staff-card.is-collapsed {
  display: none;
}

.staff-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 252, 247, 0.76);
  border-radius: 24px 24px 0 0;
}

.staff-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-deep);
}

.staff-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e9e2d1 0%, #d8ccb2 100%);
  color: var(--primary);
}

.staff-placeholder span {
  font-family: "Newsreader", serif;
  font-size: 2.8rem;
}

.staff-tenure-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.76rem;
  border-radius: 999px;
  background: rgba(28, 52, 45, 0.88);
  color: #f8f3eb;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.staff-copy {
  display: grid;
  gap: 0.45rem;
  padding: 1.05rem 0.15rem 0.1rem;
}

.staff-copy h3 {
  font-size: 1.28rem;
}

.staff-copy > p,
.staff-meta,
.staff-bio,
.staff-certifications {
  color: var(--muted);
}

.staff-meta strong,
.staff-certifications strong {
  color: var(--text);
}

.staff-certification-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.staff-certification-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.88rem;
  padding: 0.24rem 0.72rem;
  border-radius: 999px;
  background: rgba(176, 142, 84, 0.12);
  color: var(--primary);
  font-size: 0.81rem;
  font-weight: 700;
}

.staff-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.staff-toggle {
  min-width: 220px;
}

.tour-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2.25rem;
  align-items: center;
}

.section-tour .eyebrow,
.section-tour h2,
.section-tour p,
.section-tour .tour-note {
  color: #f8f3eb;
}

.tour-copy {
  position: relative;
  padding-left: 1.2rem;
}

.tour-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 3px;
  background: rgba(176, 142, 84, 0.78);
}

.tour-actions {
  display: grid;
  gap: 1rem;
}

.tour-photo {
  margin: 0 0 0.25rem;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(12, 22, 18, 0.26);
}

.tour-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-tour .button-secondary {
  border-color: rgba(249, 245, 239, 0.34);
  color: #f8f3eb;
}

.faq-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: rgba(255, 252, 247, 0.8);
  border-bottom: 1px solid rgba(39, 72, 62, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1rem 1.2rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.faq-question span:first-child {
  font-weight: 700;
}

.faq-icon {
  color: var(--secondary);
  font-size: 1.55rem;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1rem 1.15rem 0;
}

.contact-shell {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 1.4rem;
}

.contact-steps {
  display: grid;
  gap: 1rem;
}

.contact-steps article {
  display: grid;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(176, 142, 84, 0.6);
}

.contact-steps strong {
  color: var(--primary-deep);
}

.contact-direct {
  display: grid;
  gap: 0.65rem;
}

.contact-direct a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(245, 238, 226, 0.92)),
    linear-gradient(90deg, rgba(39, 72, 62, 0.035) 0, rgba(39, 72, 62, 0.035) 1px, transparent 1px, transparent 98px);
  background-size: auto, 98px 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.contact-form-intro {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-form-intro h3 {
  font-size: 1.8rem;
}

.contact-form-intro p:not(.eyebrow) {
  color: var(--muted);
}

.form-grid,
.interest-grid {
  display: grid;
  gap: 1rem;
}

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

.form-grid label,
.interest-grid label {
  display: grid;
  gap: 0.45rem;
}

.form-grid span,
.interest-grid legend {
  font-weight: 700;
}

.form-grid input {
  min-height: 50px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(39, 72, 62, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
}

.form-grid select,
.form-block textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(39, 72, 62, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
}

.form-grid input:focus-visible,
.form-grid select:focus-visible,
.form-block textarea:focus-visible {
  border-color: rgba(39, 72, 62, 0.36);
  box-shadow: 0 0 0 4px rgba(39, 72, 62, 0.08);
}

.form-block {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.form-block span {
  font-weight: 700;
}

.checkbox-field {
  align-self: end;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.interest-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.35rem;
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: rgba(251, 247, 240, 0.82);
}

.interest-grid legend {
  padding: 0 0.3rem;
}

.form-note {
  margin: 1rem 0 0;
  color: var(--secondary-deep);
  font-weight: 700;
}

.form-followup {
  margin-top: 0.45rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.3rem;
}

.job-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 246, 0.95)),
    linear-gradient(90deg, rgba(31, 107, 79, 0.045) 0, rgba(31, 107, 79, 0.045) 1px, transparent 1px, transparent 86px);
  background-size: auto, 86px 100%;
  border: 1px solid rgba(31, 107, 79, 0.14);
  border-radius: 22px;
  box-shadow: 0 20px 52px rgba(31, 45, 40, 0.08);
}

.job-form .contact-form-intro {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(31, 107, 79, 0.13);
}

.job-form input[type="text"],
.job-form input[type="email"],
.job-form input[type="tel"],
.job-form input[type="number"],
.job-form textarea,
.job-form select {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(39, 72, 62, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font: inherit;
}

.job-form textarea {
  min-height: 118px;
  resize: vertical;
}

.job-form input[type="text"]:focus-visible,
.job-form input[type="email"]:focus-visible,
.job-form input[type="tel"]:focus-visible,
.job-form input[type="number"]:focus-visible,
.job-form textarea:focus-visible,
.job-form select:focus-visible,
.job-form input[type="radio"]:focus-visible,
.job-form input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: rgba(31, 107, 79, 0.48);
  box-shadow: 0 0 0 4px rgba(31, 107, 79, 0.12);
}

.job-form input[type="radio"],
.job-form input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.08rem;
  height: 1.08rem;
  margin: 0.15rem 0 0;
  accent-color: var(--primary);
}

.job-form .interest-grid {
  gap: 0.75rem;
  padding: 1.15rem;
  border: 1px solid rgba(31, 107, 79, 0.13);
  border-radius: 16px;
  background: rgba(248, 251, 249, 0.92);
}

.job-form .interest-grid legend {
  grid-column: 1 / -1;
  margin-bottom: 0.2rem;
  padding: 0;
  color: var(--secondary-deep);
  font-size: 1.02rem;
}

.job-form .interest-grid label,
.job-form .checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(31, 107, 79, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
}

.job-form .interest-grid label:has(input:checked),
.job-form .checkbox-field:has(input:checked) {
  border-color: rgba(31, 107, 79, 0.32);
  background: rgba(232, 244, 238, 0.82);
}

.job-form .checkbox-field {
  margin-top: 1rem;
}

.job-form .form-block {
  margin-top: 1.15rem;
}

.job-form .form-note {
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: rgba(232, 244, 238, 0.78);
  color: var(--text);
  font-weight: 700;
}

.job-form .form-actions {
  align-items: center;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 1rem 0 0;
  color: var(--primary);
  font-weight: 700;
}

.form-status.is-error {
  color: #9f2f25;
}

.site-footer {
  padding: 3.2rem 0;
  background:
    linear-gradient(180deg, rgba(239, 231, 218, 0.96), rgba(231, 221, 204, 0.96)),
    linear-gradient(90deg, rgba(39, 72, 62, 0.03) 0, rgba(39, 72, 62, 0.03) 1px, transparent 1px, transparent 110px);
  background-size: auto, 110px 100%;
  border-top: 1px solid rgba(39, 72, 62, 0.1);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: grid;
  gap: 1rem;
}

.brand-footer {
  align-items: flex-start;
}

.footer-brand p {
  max-width: 33rem;
}

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

.footer-links h3 {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
}

.footer-links a {
  display: block;
  margin-top: 0.55rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox.is-hidden {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 28, 25, 0.84);
  backdrop-filter: blur(3px);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  margin: 0;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(88vh - 3rem);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-figure figcaption {
  color: #fff;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
}

.lightbox-close {
  top: 0.75rem;
  right: 0.75rem;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 3.2rem;
  font-size: 2.4rem;
  line-height: 1;
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

@media (max-width: 1180px) {
  .staff-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .handbook-hero-layout {
    grid-template-columns: 1fr;
  }

  .handbook-toolbar,
  .flipbook-controls {
    display: grid;
    align-items: start;
  }

  .handbook-hero-note {
    padding: 1.1rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(39, 72, 62, 0.12);
  }

  .hero-layout,
  .page-hero-layout,
  .trust-intro,
  .experience-layout,
  .support-layout,
  .subsidy-layout,
  .faq-layout,
  .contact-shell,
  .tour-panel,
  .footer-layout,
  .testimonial-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .page-hero-copy {
    max-width: 100%;
  }

  .proof-band-grid,
  .programs-grid,
  .trust-columns,
  .support-list,
  .subsidy-logos,
  .staff-grid,
  .resource-grid,
  .survey-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-visual {
    grid-template-columns: 1fr;
  }

  .trust-visual-side {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .support-visual-card img {
    width: min(100%, 250px);
  }

  .subsidy-logos img {
    max-width: 220px;
  }
}

@media (max-width: 820px) {
  .flipbook-stage {
    grid-template-columns: 1fr;
  }

  .flipbook-spread {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .flipbook-page-right {
    display: none;
  }

  .flipbook-nav {
    width: 100%;
    border-radius: 14px;
  }

  .flipbook-thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(247, 242, 232, 0.98);
    border: 1px solid rgba(39, 72, 62, 0.1);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .section {
    padding: 4.8rem 0;
  }

  .proof-band-grid,
  .trust-columns,
  .programs-grid,
  .support-list,
  .subsidy-logos,
  .testimonial-grid,
  .staff-grid,
  .resource-grid,
  .survey-stats,
  .footer-links,
  .form-grid,
  .interest-grid,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-layout,
  .page-hero-layout {
    gap: 2rem;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .hero-video-primary {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-stage-note {
    grid-column: auto;
    grid-row: auto;
  }

  .trust-visual-side {
    grid-template-columns: 1fr;
  }

  .photo-grid-featured {
    grid-template-columns: 1fr;
  }

  .photo-grid-featured img:first-child {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .experience-gallery {
    padding-left: 0;
    border-left: 0;
  }

  .experience-points {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .hero-actions {
    flex-direction: column;
  }

  .job-form .interest-grid {
    grid-template-columns: 1fr;
  }

  .nav-cta,
  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .handbook-toolbar-actions,
  .flipbook-controls {
    display: grid;
  }

  .flipbook-help {
    font-size: 0.95rem;
  }

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

  .site-nav {
    top: 76px;
  }

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

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .hero {
    padding-top: 4rem;
  }

  .contact-form {
    padding: 1.4rem;
  }

  .lightbox {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* Heading readability refinements */
h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  line-height: 1.02;
  letter-spacing: -0.018em;
  font-weight: 600;
}

h2 {
  line-height: 1.08;
  letter-spacing: -0.012em;
  font-weight: 600;
}

h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

/* Hero headline sizing refinement */
.hero-copy {
  max-width: 700px;
}

.hero-copy h1 {
  font-size: clamp(3.75rem, 5.7vw, 6rem);
  line-height: 1.01;
  letter-spacing: -0.018em;
}

.hero-layout {
  grid-template-columns: minmax(520px, 1fr) minmax(520px, 1fr);
  align-items: center;
}

.hero-copy h1 .heading-emphasis {
  font-weight: 700;
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-copy h1 {
    font-size: clamp(3.4rem, 8vw, 5.5rem);
  }
}

@media (max-width: 760px) {
  .hero-copy h1 {
    font-size: clamp(2.85rem, 13vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -0.012em;
  }
}

/* Final hero headline adjustment */
.hero-copy h1 {
  font-size: clamp(3.4rem, 4.9vw, 5.15rem);
  line-height: 1.03;
  letter-spacing: -0.016em;
}

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

.hero-layout {
  grid-template-columns: minmax(460px, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}

@media (max-width: 1100px) {
  .hero-copy h1 {
    font-size: clamp(3.25rem, 7vw, 4.8rem);
  }
}

@media (max-width: 760px) {
  .hero-copy h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }
}

/* Final hero line break and scale polish */
.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  font-size: clamp(3.25rem, 4.45vw, 4.85rem);
  line-height: 1.04;
  letter-spacing: -0.014em;
}

.hero-lead {
  max-width: 620px;
}

@media (max-width: 1100px) {
  .hero-copy h1 {
    font-size: clamp(3.15rem, 7vw, 4.75rem);
  }
}

@media (max-width: 760px) {
  .hero-copy h1 {
    font-size: clamp(2.65rem, 11vw, 3.85rem);
  }

  .hero-copy h1 br {
    display: none;
  }
}

/* Hero quick facts card layout */
.hero-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.hero-meta-item {
  padding: 1.25rem;
  border: 1px solid rgba(38, 66, 55, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 40px rgba(35, 54, 46, 0.06);
}

.hero-meta-item strong {
  display: block;
  font-size: clamp(1rem, 1.1vw, 1.18rem);
  line-height: 1.35;
}

.hero-note {
  max-width: 980px;
  margin-top: 1.25rem;
}

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

@media (max-width: 760px) {
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-meta-item {
    padding: 1.1rem;
  }
}

/* Make hero quick facts easier to read */
.hero-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.hero-meta-item {
  min-height: 0;
}

.hero-meta-item strong {
  font-size: clamp(1.05rem, 1vw, 1.2rem);
  line-height: 1.38;
}

@media (min-width: 1201px) {
  .hero-meta-item:nth-child(4) {
    grid-column: 1 / span 2;
  }

  .hero-meta-item:nth-child(5) {
    grid-column: 3;
  }
}

@media (max-width: 900px) {
  .hero-meta {
    grid-template-columns: 1fr;
  }
}

/* Footer link wrapping fix */
.footer-links {
  gap: clamp(2rem, 6vw, 5rem);
}

.footer-links a {
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.45;
}

.footer-links > div {
  min-width: 0;
}

/* Inline term pop-up */
.term-popover {
  position: relative;
  display: inline-block;
}

.term-popover-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  cursor: help;
}

.term-popover-card {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.6rem);
  z-index: 20;
  width: min(20rem, 80vw);
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: #ffffff;
  color: var(--primary-deep);
  box-shadow: 0 18px 45px rgba(35, 54, 46, 0.18);
  border: 1px solid rgba(38, 66, 55, 0.14);
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.25rem);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.term-popover:hover .term-popover-card,
.term-popover:focus-within .term-popover-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hero responsive layout fix */
@media (max-width: 1300px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .hero-copy h1 {
    font-size: clamp(3.1rem, 7vw, 5rem);
  }

  .hero-stage {
    max-width: 820px;
    width: 100%;
  }

  .hero-video iframe {
    width: 100%;
  }
}

@media (min-width: 1301px) {
  .hero-copy h1 {
    font-size: clamp(3.25rem, 4.45vw, 4.85rem);
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 2.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 3.75rem);
  }

  .hero-lead {
    font-size: 1.15rem;
    line-height: 1.55;
  }

  .hero-support {
    font-size: 1rem;
    line-height: 1.55;
  }
}

/* Affordable Care responsive layout fix */
@media (max-width: 1150px) {
  .subsidy-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .subsidy-copy {
    max-width: 760px;
  }

  .section-subsidy h2 {
    font-size: clamp(2.8rem, 8vw, 4.4rem);
    line-height: 1.04;
  }

  .subsidy-copy .section-heading > p:not(.eyebrow) {
    max-width: 720px;
  }

  .subsidy-logos {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .subsidy-actions {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .section-subsidy h2 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .subsidy-logos {
    gap: 1.25rem;
  }

  .subsidy-logos img {
    max-width: min(300px, 80vw);
    margin-left: auto;
    margin-right: auto;
  }

  .subsidy-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Strong Affordable Care layout correction */
@media (max-width: 1250px) {
  .section-subsidy .subsidy-layout {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 2.75rem;
  }

  .section-subsidy .subsidy-copy {
    width: 100%;
    max-width: 900px;
  }

  .section-subsidy .section-heading {
    max-width: 900px;
  }

  .section-subsidy .section-heading > p:not(.eyebrow) {
    max-width: 850px;
  }

  .section-subsidy h2 {
    max-width: 850px;
    font-size: clamp(3rem, 7vw, 4.75rem);
    line-height: 1.04;
  }

  .section-subsidy .subsidy-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 900px;
  }

  .section-subsidy .subsidy-logos {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .section-subsidy .subsidy-points {
    grid-template-columns: 1fr;
  }

  .section-subsidy h2 {
    font-size: clamp(2.5rem, 10vw, 3.6rem);
  }

  .section-subsidy .subsidy-copy,
  .section-subsidy .section-heading,
  .section-subsidy .section-heading > p:not(.eyebrow) {
    max-width: none;
  }
}

/* Final Affordable Care layout fix */
.section-subsidy .subsidy-layout {
  display: block !important;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.section-subsidy .subsidy-copy,
.section-subsidy .section-heading,
.section-subsidy .section-heading > p:not(.eyebrow) {
  width: 100% !important;
  max-width: 850px !important;
}

.section-subsidy h2 {
  max-width: 850px !important;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.05;
}

.section-subsidy .subsidy-points {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  gap: 1.5rem;
  width: 100% !important;
  max-width: 850px !important;
  margin-top: 2rem;
}

.section-subsidy .subsidy-points article {
  min-width: 0;
}

.section-subsidy .subsidy-logos {
  width: 100% !important;
  max-width: 850px !important;
  margin: 3rem auto 0;
}

@media (max-width: 760px) {
  .section-subsidy .subsidy-points {
    grid-template-columns: 1fr !important;
  }

  .section-subsidy h2 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }
}

/* Affordable Care logo grid polish */
.section-subsidy .subsidy-logos {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(180px, 1fr)) !important;
  gap: 1.5rem 2rem !important;
  align-items: center;
  justify-items: center;
  max-width: 760px !important;
  margin: 3rem auto 0 !important;
}

.section-subsidy .subsidy-logos img {
  width: auto;
  max-width: 280px;
  max-height: 95px;
  object-fit: contain;
}

.section-subsidy .subsidy-actions {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
}

.section-subsidy .subsidy-actions .button {
  width: auto;
  max-width: 360px;
  justify-content: center;
  text-align: center;
}

.section-subsidy .subsidy-note {
  max-width: 620px;
  text-align: center;
}

@media (max-width: 640px) {
  .section-subsidy .subsidy-logos {
    grid-template-columns: 1fr !important;
  }

  .section-subsidy .subsidy-logos img {
    max-width: min(280px, 80vw);
  }

  .section-subsidy .subsidy-actions .button {
    width: 100%;
    max-width: 100%;
  }
}

/* Final tablet and mobile polish */
@media (max-width: 900px) {
  .container {
    width: min(100% - 2rem, var(--container));
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .tour-copy h2,
  .survey-heading h2 {
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 11vw, 4rem);
    line-height: 1.04;
  }

  .hero-lead {
    font-size: 1.12rem;
    line-height: 1.55;
  }

  .hero-support {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-stage,
  .hero-video,
  .hero-video iframe {
    width: 100%;
    max-width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr !important;
  }

  .programs-grid,
  .experience-layout,
  .support-layout,
  .contact-shell,
  .footer-layout {
    grid-template-columns: 1fr !important;
  }

  .program-card h3,
  .trust-column h3,
  .experience-points h3,
  .support-list h3,
  .subsidy-points h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.08;
  }

  .section-subsidy .subsidy-points {
    grid-template-columns: 1fr !important;
  }

  .section-subsidy .subsidy-logos {
    grid-template-columns: 1fr !important;
  }

  .section-subsidy .subsidy-logos img {
    max-width: min(280px, 82vw);
  }

  .footer-links {
    grid-template-columns: 1fr !important;
  }

  .footer-links a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  .brand img {
    max-width: 58px;
  }

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

  .brand-subtitle {
    font-size: 0.85rem;
  }

  .hero-copy h1 br {
    display: none;
  }

  .button,
  .nav-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

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

  .term-popover-card {
    left: 50%;
    transform: translateX(-50%) translateY(0.25rem);
    width: min(18rem, 86vw);
  }

  .term-popover:hover .term-popover-card,
  .term-popover:focus-within .term-popover-card {
    transform: translateX(-50%) translateY(0);
  }
}

/* Center hero side note on mobile */
@media (max-width: 760px) {
  .hero-stage-note {
    text-align: center;
  }

  .hero-stage-note::before,
  .hero-stage-note::after {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-side {
    justify-items: center;
  }

  .hero-actions-side .button {
    width: 100%;
  }
}


/* Strong mobile centering for hero note */
@media (max-width: 760px) {
  .hero-stage .hero-stage-note,
  .hero-stage .hero-stage-note p,
  .hero-stage .hero-stage-note .hero-aside-label,
  .hero-stage .hero-stage-note .hero-stage-note-small {
    text-align: center !important;
  }

  .hero-stage .hero-stage-note {
    display: grid;
    justify-items: center;
  }

  .hero-stage .hero-stage-note > * {
    max-width: 36rem;
  }

  .hero-stage .hero-actions,
  .hero-stage .hero-actions-side {
    width: 100%;
    display: grid;
    justify-items: stretch;
  }

  .hero-stage .hero-actions-side .button {
    width: 100%;
  }
}

/* Center hero side note on tablet and mobile */
@media (max-width: 1000px) {
  .hero-stage-note,
  .hero-stage-note p,
  .hero-aside-label,
  .hero-stage-note-small {
    text-align: center !important;
  }

  .hero-stage-note {
    display: grid !important;
    justify-items: center !important;
  }

  .hero-stage-note > * {
    max-width: 42rem;
  }

  .hero-actions-side {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .hero-actions-side .button {
    width: 100%;
  }
}

/* Prevent small mobile/tablet horizontal overflow */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

iframe,
img,
video {
  max-width: 100%;
}

/* Mobile swipe gallery for experience photos */
@media (max-width: 700px) {
  .experience-gallery {
    width: 100%;
    overflow: hidden;
  }

  .photo-grid-featured {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-template-columns: none !important;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    padding: 0 1rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    -webkit-overflow-scrolling: touch;
  }

  .photo-grid-featured img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    scroll-snap-align: center;
    border-radius: 1.35rem;
  }

  .photo-grid-featured::-webkit-scrollbar {
    height: 0.45rem;
  }

  .photo-grid-featured::-webkit-scrollbar-thumb {
    background: rgba(38, 66, 55, 0.25);
    border-radius: 999px;
  }
}

@media (max-width: 430px) {
  .photo-grid-featured {
    grid-auto-columns: 88%;
  }

  .photo-grid-featured img {
    height: 300px;
  }
}


/* Compact team section on mobile */
@media (max-width: 700px) {
  .section-team .section-heading {
    text-align: center;
  }

  .section-team .section-heading h2 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
    line-height: 1.04;
  }

  .staff-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .staff-card {
    display: grid !important;
    grid-template-columns: 96px 1fr !important;
    gap: 1rem !important;
    align-items: center !important;
    padding: 1rem !important;
    border-radius: 1.25rem !important;
  }

  .staff-card img,
  .staff-placeholder {
    width: 96px !important;
    height: 112px !important;
    max-width: 96px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    border-radius: 1rem !important;
  }

  .staff-copy {
    padding: 0 !important;
  }

  .staff-copy h3 {
    font-size: 1.35rem !important;
    line-height: 1.1 !important;
  }

  .staff-bio {
    display: none !important;
  }

  .staff-tenure-badge {
    top: 0.65rem !important;
    left: 0.65rem !important;
    font-size: 0.65rem !important;
    padding: 0.3rem 0.5rem !important;
    max-width: 84px;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
  }
}

/* Compact team section on tablet and smaller screens */
@media (max-width: 1100px) {
  .staff-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .staff-card {
    display: grid !important;
    grid-template-columns: 140px 1fr !important;
    gap: 1.25rem !important;
    align-items: center !important;
    padding: 1.1rem !important;
    border-radius: 1.35rem !important;
  }

  .staff-card img,
  .staff-placeholder {
    width: 140px !important;
    height: 160px !important;
    max-width: 140px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    border-radius: 1rem !important;
  }

  .staff-copy {
    padding: 0 !important;
  }

  .staff-bio {
    display: none !important;
  }

  .staff-tenure-badge {
    top: 0.75rem !important;
    left: 0.75rem !important;
    max-width: 120px;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
  }
}

@media (max-width: 700px) {
  .staff-card {
    grid-template-columns: 96px 1fr !important;
  }

  .staff-card img,
  .staff-placeholder {
    width: 96px !important;
    height: 112px !important;
    max-width: 96px !important;
  }

  .staff-tenure-badge {
    max-width: 84px;
    font-size: 0.65rem !important;
    padding: 0.3rem 0.5rem !important;
  }
}

/* Tighten team intro on mobile */
@media (max-width: 700px) {
  .section-team {
    padding-top: 3.25rem;
  }

  .section-team .section-heading {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .section-team .section-heading h2 {
    font-size: clamp(2.15rem, 8.5vw, 2.95rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.014em;
  }

  .section-team .section-heading > p:not(.eyebrow) {
    font-size: 1rem !important;
    line-height: 1.45 !important;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
}
