@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --dark: #29331f;
  --olive: #465438;
  --mid: #667652;
  --soft: #e3e7d8;
  --pale: #f2f3eb;
  --cream: #fbf8ef;
  --paper: #fffdf8;
  --ink: #24291f;
  --muted: #62695b;
  --line: rgba(52, 64, 41, 0.18);
  --content-width: 1440px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 45px rgba(42, 52, 37, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
}

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

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

button,
input,
textarea,
select,
.button,
.header-button,
.time-chip,
.course-facts,
.course-meta,
.schedule-panel table {
  font-family: "Inter", Arial, sans-serif;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

button,
a,
input,
textarea {
  touch-action: manipulation;
}

/* Shared controls */
.button,
.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 13px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.header-button:hover {
  box-shadow: 0 10px 25px rgba(41, 51, 31, 0.18);
  transform: translateY(-2px);
}

.button:focus-visible,
.header-button:focus-visible,
.menu-toggle:focus-visible,
.site-header nav a:focus-visible {
  outline: 3px solid #aab88e;
  outline-offset: 4px;
}

.text-link {
  color: var(--olive);
  font-size: 0.9rem;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--mid);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.light {
  color: #cbd4b6;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  row-gap: 8px;
  align-items: center;
  min-height: 0;
  padding: 14px max(24px, 5vw) 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: saturate(140%) blur(12px);
}

.site-header .brand {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  display: flex;
  align-items: center;
}

.brand-logo {
  width: auto;
  height: 148px;
  max-width: min(520px, 86vw);
  object-fit: contain;
}

.site-header nav {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-header nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 7px 2px;
}

.site-header nav a.active,
.site-header nav a:hover {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 8px;
}

.site-header .header-button {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
}

/* Home hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(64px, 7vw, 104px) max(24px, 5vw);
  background: var(--cream);
}

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

.hero-title,
.hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--dark);
  font-size: clamp(2.75rem, 4.6vw, 4.65rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-align: left;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 30px;
}

.button-secondary {
  border: 1px solid var(--mid);
  background: transparent;
  color: var(--dark);
}

.button-secondary:hover {
  background: var(--pale);
}

.hero-image {
  min-width: 0;
}

.hero-image img {
  width: 100%;
  height: clamp(430px, 43vw, 620px);
  border-radius: 110px 18px 110px 18px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* Shared sections */
.section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(78px, 8vw, 112px) max(24px, 5vw);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.testimonials h2 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.section-heading > p:last-child {
  color: var(--muted);
}

.card-grid,
.team-grid,
.service-grid,
.course-card-grid,
.program-grid,
.placeholder-grid {
  display: grid;
  gap: 22px;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
}

.approach-card,
.team-card,
.program-card,
.course-card,
.service-grid article,
.notice-card,
.fit-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.approach-card:hover,
.team-card:hover,
.program-card:hover,
.course-card:hover,
.service-grid article:hover {
  border-color: rgba(70, 84, 56, 0.38);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.approach-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--pale);
}

.approach-card > span,
.service-grid article > span {
  color: var(--mid);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.approach-card h3 {
  min-height: 52px;
  margin: 16px 0;
  font-size: 1.45rem;
}

.approach-card img {
  width: 100%;
  height: clamp(180px, 16vw, 220px);
  border-radius: 12px;
  object-fit: cover;
}

.approach-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
  background: var(--dark);
  color: #fff;
}

.testimonials h2 {
  color: #fff;
}

.testimonial-row {
  display: grid;
  grid-template-columns: 55px 1fr 210px;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-row b {
  color: #cbd4b6;
  font: 600 4rem "Cormorant Garamond", Georgia, serif;
}

.testimonial-row p {
  margin: 0;
  font: 500 1.3rem/1.5 "Cormorant Garamond", Georgia, serif;
}

.testimonial-row small {
  color: #cbd4b6;
}

/* Interior page hero */
.page-hero {
  padding: 95px 10vw;
  background: var(--cream);
  text-align: center;
}

.page-hero h1 {
  max-width: 980px;
  margin: 0 auto 22px;
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  line-height: 1.05;
}

.page-hero > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Team */
.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card img {
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.team-card div {
  padding: 27px;
}

.team-card small {
  color: var(--mid);
  font-weight: 700;
  text-transform: uppercase;
}

.team-card h2 {
  margin: 10px 0;
}

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


.team-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-md);
}

.team-card-link .team-card {
  height: 100%;
}

.team-card-link:hover .team-card,
.team-card-link:focus-visible .team-card {
  border-color: rgba(70, 84, 56, 0.55);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.team-card-link:focus-visible {
  outline: 3px solid rgba(70, 84, 56, 0.35);
  outline-offset: 5px;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) max(24px, 5vw);
}

.profile-photo img {
  width: 100%;
  max-height: 640px;
  border-radius: 90px 16px 90px 16px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.profile-intro h1 {
  margin: 12px 0 20px;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
}

.profile-intro > p:not(.eyebrow):not(.profile-lead) {
  max-width: 720px;
  color: var(--muted);
}

.profile-lead {
  margin: 0 0 22px;
  color: var(--mid);
  font-weight: 700;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--dark);
  font-weight: 700;
}

.profile-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 max(24px, 5vw) clamp(78px, 8vw, 112px);
}

.profile-section {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
}

.profile-section h2 {
  margin-top: 0;
  font-size: 2rem;
}

.profile-section p,
.profile-list {
  color: var(--muted);
}

.profile-list {
  margin: 0;
  padding-left: 1.2rem;
}

.profile-list li + li {
  margin-top: 8px;
}

/* Legacy service-card layout */
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article {
  min-height: 270px;
  padding: 35px;
}

.service-grid p {
  color: var(--muted);
}

/* Services / programs overview */
.program-hero {
  padding-bottom: 78px;
}

.compact-section {
  padding-top: 78px;
}

.program-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 44px;
}

.program-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 28px;
}


.program-card h2 {
  min-height: 2.2em;
  margin: 18px 0 14px;
  font-size: 1.8rem;
}

.program-card > p:not(.status) {
  color: var(--muted);
}

.program-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.program-number {
  color: var(--mid);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.status {
  display: inline-block;
  width: max-content;
  margin: 16px 0 0;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.status.available {
  background: #dce8c9;
  color: var(--dark);
}

.status.pending {
  background: var(--soft);
  color: var(--olive);
}

.clean-list {
  flex-grow: 1;
  margin: 18px 0 30px;
  padding-left: 18px;
  color: var(--muted);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-layout aside {
  padding: 48px;
  background: var(--dark);
  color: #fff;
}

.contact-layout aside h2 {
  color: #fff;
  font-size: 2.2rem;
}

.contact-layout aside > p:not(.eyebrow) {
  color: var(--soft);
}

.contact-layout form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 48px;
  background: var(--pale);
}

.contact-layout label {
  display: grid;
  gap: 6px;
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-layout input,
.contact-layout textarea {
  padding: 13px;
  border: 1px solid var(--line);
  background: var(--paper);
}

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

.contact-layout .button {
  justify-self: start;
}

.form-note {
  color: var(--muted);
  font-size: 0.72rem;
}

/* Subject and course pages */
.subject-band,
.back-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 58px 8vw;
  background: var(--dark);
  color: #fff;
}

.subject-band > div {
  max-width: 760px;
}

.subject-band h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.subject-band p:not(.eyebrow) {
  color: var(--soft);
}

.button-light {
  background: var(--paper);
  color: var(--dark);
  white-space: nowrap;
}

.grade-section + .grade-section {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.grade-heading {
  max-width: 760px;
}

.grade-heading h2 {
  margin: 0 0 15px;
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.grade-heading > p:last-child {
  color: var(--muted);
}

.course-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 32px;
}

.course-card h3 {
  margin: 8px 0 16px;
  font-size: 1.65rem;
  font-weight: 600;
}

.course-card > p:not(.course-day) {
  color: var(--muted);
}

.course-card .button,
.course-card .text-link,
.course-card .status {
  align-self: flex-start;
  margin-top: auto;
}

.course-day {
  color: var(--mid);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 20px 0 25px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.course-facts > .course-fact {
  display: grid;
  gap: 0.25rem;
}

.course-facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.course-facts dd {
  margin: 0;
}

.course-fact-times {
  grid-column: 1 / -1;
}

.course-fact:not(.course-fact-times) {
  min-height: 76px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--pale);
}

.course-fact:not(.course-fact-times) dd {
  color: var(--dark);
  font: 600 1.05rem/1.25 "Inter", Arial, sans-serif;
}

.course-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.time-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.25rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pale);
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

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

.notice-card,
.fit-card {
  padding: 32px;
}

.notice-card {
  margin-bottom: 28px;
}

.notice-card strong {
  color: var(--dark);
  font: 600 1.35rem "Cormorant Garamond", Georgia, serif;
}

.notice-card p,
.fit-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.fit-card {
  margin-top: 32px;
}

.fit-card h3 {
  margin-top: 0;
}

.back-strip {
  padding-top: 34px;
  padding-bottom: 34px;
}

.back-strip .text-link {
  color: #fff;
}

.course-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  padding: 84px 8vw;
  background: var(--cream);
}

.course-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  letter-spacing: -0.04em;
}

.course-meta,
.course-meta-grid {
  align-self: center;
  margin: 0;
}

.course-meta {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.course-meta > div:not(.schedule-time-grid) {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.course-meta > div:last-child {
  border-bottom: 0;
}

.course-meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.course-meta dd {
  margin: 0;
}

.course-meta-grid {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.course-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.course-meta-grid .course-meta-item {
  display: block;
  min-height: 104px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.course-meta-grid .course-meta-item dt,
.course-schedule-heading span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.course-meta-grid .course-meta-item dt {
  margin-bottom: 8px;
}

.course-meta-grid .course-meta-item dd {
  margin: 0;
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.course-schedule {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.course-schedule-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.course-schedule-heading strong {
  color: var(--dark);
  font-size: 1.08rem;
  font-weight: 700;
}

.course-meta .schedule-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
}

.schedule-time-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--pale);
  color: var(--olive);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.course-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 65px;
  align-items: start;
}

.course-copy h2,
.schedule-panel h2 {
  margin: 0 0 26px;
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
}

.course-copy > p {
  color: var(--muted);
}

.content-warning {
  margin-top: 25px;
  padding: 22px;
  border-left: 5px solid #b88746;
  background: #fff7e8;
}

.content-warning p {
  margin-bottom: 0;
  color: #66543e;
}

.schedule-panel {
  position: sticky;
  top: 110px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--pale);
}

.table-wrap {
  overflow-x: auto;
}

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

.schedule-panel th,
.schedule-panel td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.schedule-panel thead th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-panel tbody th {
  width: 85px;
  font-size: 0.85rem;
}

.break-row {
  background: rgba(102, 118, 82, 0.08);
}

.break-row th,
.break-row td {
  color: var(--muted);
  font-style: italic;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 38px max(24px, 5vw);
  background: var(--dark);
  color: #fff;
}

.site-footer span {
  color: #cbd4b6;
  font-size: 0.8rem;
}

/* Large tablet / small desktop */
@media (max-width: 1180px) {
  .program-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .program-card h2 {
    min-height: 0;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 38px;
  }

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

  .profile-content {
    grid-template-columns: 1fr 1fr;
  }
  .brand-logo {
    height: 118px;
    max-width: min(430px, 80vw);
  }

  .site-header {
    padding-inline: 4vw;
  }

  .site-header nav {
    gap: 20px;
  }

  .site-header nav a {
    font-size: 0.82rem;
  }

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

  .testimonial-row {
    grid-template-columns: 48px 1fr 180px;
  }

  .contact-layout,
  .course-hero,
  .course-layout {
    grid-template-columns: 1fr;
  }

  .schedule-panel {
    position: static;
  }

  .course-meta {
    width: 100%;
  }

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

/* Mobile */
@media (max-width: 760px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 0;
    padding: 9px 18px;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: auto;
  }

  .brand-logo {
    height: 82px;
    max-width: min(285px, 72vw);
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: var(--dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    display: grid;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.28s ease, border-color 0.2s ease;
  }

  .site-header.nav-open nav {
    max-height: 430px;
    border-color: var(--line);
    opacity: 1;
    padding: 10px 0 4px;
    pointer-events: auto;
  }

  .site-header nav a {
    width: 100%;
    padding: 13px 8px;
    font-size: 0.95rem;
    text-align: left;
  }

  .site-header nav a.active,
  .site-header nav a:hover {
    background: var(--pale);
    text-decoration: none;
  }

  .site-header .header-button {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 22px 58px;
  }

  .hero-title,
  .hero h1 {
    max-width: 680px;
    font-size: clamp(2.35rem, 11vw, 3.6rem);
    line-height: 1.08;
    text-align: left;
  }

  .lead {
    margin: 20px 0 0;
    font-size: 1rem;
  }

  .actions {
    display: grid;
    justify-content: stretch;
    gap: 14px;
    margin-top: 26px;
  }

  .actions .button,
  .actions .text-link {
    width: 100%;
    text-align: center;
  }

  .actions .text-link {
    padding: 8px;
  }

  .hero-image {
    min-height: 0;
  }

  .hero-image img {
    height: 360px;
    border-radius: 70px 12px 70px 12px;
  }

  .section {
    padding: 68px 22px;
  }

  .page-hero {
    padding: 64px 22px;
    text-align: left;
  }

  .page-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .page-hero > p:last-child {
    margin-left: 0;
  }

  .card-grid,
  .team-grid,
  .service-grid,
  .course-card-grid,
  .program-grid,
  .placeholder-grid {
    grid-template-columns: 1fr;
  }

  .approach-card,
  .program-card,
  .course-card,
  .service-grid article {
    padding: 24px;
  }

  .approach-card h3,
  .program-card h2 {
    min-height: 0;
  }

  .approach-card img {
    height: 220px;
  }

  .team-card img {
    height: 300px;
  }

  .testimonial-row {
    grid-template-columns: 30px 1fr;
    padding: 28px 0;
  }

  .testimonial-row b {
    font-size: 3rem;
  }

  .testimonial-row p {
    font-size: 1.15rem;
  }

  .testimonial-row small {
    grid-column: 2;
  }

  .profile-hero {
    grid-template-columns: 1fr;
    padding: 58px 22px 68px;
  }

  .profile-photo {
    max-width: 460px;
  }

  .profile-content {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .profile-section {
    padding: 26px;
  }

  .contact-layout form {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }

  .wide {
    grid-column: 1;
  }

  .contact-layout aside {
    padding: 35px 25px;
  }

  .subject-band,
  .back-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 46px 22px;
  }

  .subject-band .button,
  .back-strip .button {
    width: 100%;
    text-align: center;
  }

  .course-hero {
    padding: 52px 22px;
  }

  .course-layout {
    padding-inline: 22px;
  }

  .course-meta {
    padding: 0;
  }

  .course-fact-grid {
    grid-template-columns: 1fr;
  }

  .course-meta-grid .course-meta-item {
    min-height: 0;
    padding: 16px;
  }

  .course-meta-grid .course-meta-item dd {
    font-size: 1rem;
  }

  .course-meta .schedule-time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 22px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    height: 72px;
    max-width: 235px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-image img {
    height: 300px;
  }

  .approach-card img {
    height: 190px;
  }

  .course-meta .schedule-time-grid {
    grid-template-columns: 1fr;
  }

  .course-schedule-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .time-chip {
    min-width: 0;
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Fall 2026 course updates */
.schedule-note{margin:0;padding:.9rem 1rem;border:1px solid var(--line);border-radius:12px;background:var(--pale);color:var(--muted);font-size:.92rem;}
.profile-list a{color:var(--olive);font-weight:800;text-decoration-thickness:1px;text-underline-offset:3px;}
.profile-list a:hover{color:var(--dark);}
.schedule-panel table th,.schedule-panel table td{vertical-align:top;}
@media (min-width: 1100px){.course-card-grid:has(.course-card:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr));}}
