:root {
  --pine: #1f3d2e;
  --ivory: #f5f2eb;
  --driftwood: #b7ada1;
  --slate: #4a4f52;
  --moss: #6b765b;
  --paper: #fffdf7;
  --ink: #23302b;
  --line: rgba(31, 61, 46, 0.18);
  --shadow: 0 24px 70px rgba(35, 48, 43, 0.16);
  --display: Canela, "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Suisse Regular", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 5vw;
  color: var(--ivory);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(245, 242, 235, 0.96);
  color: var(--pine);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--pine);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transform: translate(3px, 5px) scale(1.3);
}

.brand-text {
  display: grid;
  gap: 4px;
  text-transform: uppercase;
}

.brand-text span:first-child,
.footer-brand span:first-child {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
}

.brand-text span:last-child,
.footer-brand span:last-child {
  font-size: 11px;
  letter-spacing: 0.32em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-cta {
  min-height: 40px;
  padding: 9px 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ivory);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 29, 25, 0.82) 0%, rgba(20, 29, 25, 0.47) 45%, rgba(20, 29, 25, 0.08) 100%),
    linear-gradient(0deg, rgba(20, 29, 25, 0.75) 0%, rgba(20, 29, 25, 0.08) 46%);
}

.hero-content {
  position: relative;
  width: min(720px, 90vw);
  padding: 160px 0 76px 5vw;
}

.eyebrow,
.section-kicker,
.program-age {
  margin: 0 0 16px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--ivory);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 76px;
}

h2 {
  margin-bottom: 22px;
  color: var(--pine);
  font-size: 48px;
}

h3 {
  color: var(--pine);
  font-size: 30px;
}

.hero-line {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: 30px;
  font-style: italic;
}

.hero-copy {
  max-width: 620px;
  color: rgba(245, 242, 235, 0.9);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button.primary {
  border-color: var(--pine);
  background: var(--pine);
  color: var(--ivory);
}

.hero .button.primary {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--pine);
}

.button.secondary {
  color: inherit;
}

.notice-band {
  background: var(--pine);
  color: var(--ivory);
  padding: 22px 5vw;
  text-align: center;
}

.notice-band p {
  margin: 0 auto;
  max-width: 900px;
}

.section {
  padding: 96px 5vw;
}

.identity-lockup {
  width: min(430px, 82vw);
  margin: 0 auto 82px;
}

.identity-lockup img {
  width: 100%;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: 72px;
  align-items: start;
}

.intro-copy {
  max-width: 650px;
  color: var(--slate);
}

.image-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(300px, 1fr);
  gap: 64px;
  align-items: center;
  background: var(--paper);
}

.story-image img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-panel {
  max-width: 660px;
}

.story-panel p {
  color: var(--slate);
}

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

.stats div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.stats dt {
  color: var(--pine);
  font-family: var(--display);
  font-size: 30px;
}

.stats dd {
  margin: 0;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.35;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 48px;
}

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

.section-heading.compact {
  max-width: 880px;
  display: block;
}

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

.program-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 28px;
}

.program-card h3 {
  margin-bottom: 10px;
}

.program-card p:last-child {
  margin-top: auto;
  color: var(--slate);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  background: var(--pine);
  color: var(--ivory);
}

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

.split-copy {
  align-self: center;
  max-width: 650px;
  padding: 90px 7vw;
}

.split-copy h2,
.split-copy .eyebrow {
  color: var(--ivory);
}

.split-copy p,
.principles {
  color: rgba(245, 242, 235, 0.84);
}

.principles {
  display: grid;
  gap: 15px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.principles li {
  border-top: 1px solid rgba(245, 242, 235, 0.2);
  padding-top: 15px;
}

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

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

.steps div {
  border-left: 1px solid var(--line);
  padding: 6px 30px 0;
}

.steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--driftwood);
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
}

.steps p {
  color: var(--slate);
}

.tour {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px);
  gap: 60px;
  align-items: center;
  padding: 88px 5vw;
  background: var(--driftwood);
}

.tour h2 {
  color: var(--ink);
}

.tour-copy {
  max-width: 720px;
}

.contact-block {
  border: 1px solid rgba(31, 61, 46, 0.24);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.62);
  padding: 32px;
}

.contact-block .button {
  margin-top: 10px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 5vw;
  border-top: 1px solid var(--line);
  background: var(--ivory);
  color: var(--pine);
}

.footer-brand {
  width: min(360px, 100%);
  flex: 0 0 auto;
}

.footer-brand img {
  width: 100%;
}

.site-footer p {
  margin: 0;
  color: var(--slate);
  text-align: center;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 40px;
  }

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

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding: 14px 22px;
  }

  .brand-text span:first-child {
    font-size: 20px;
  }

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

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 73px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--pine);
    padding: 12px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 12px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(20, 29, 25, 0.82) 0%, rgba(20, 29, 25, 0.36) 62%, rgba(20, 29, 25, 0.3) 100%);
  }

  .hero-content {
    width: auto;
    padding: 132px 22px 58px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 27px;
  }

  .hero-line {
    font-size: 25px;
  }

  .section,
  .tour {
    padding: 70px 22px;
  }

  .intro-grid,
  .image-story,
  .section-heading,
  .split-section,
  .tour {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .story-image img {
    max-height: 520px;
  }

  .split-section {
    min-height: 0;
  }

  .split-media {
    min-height: 360px;
  }

  .split-copy {
    padding: 48px 22px 66px;
  }

  .stats,
  .steps {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .brand-text span:last-child {
    font-size: 10px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .program-card {
    min-height: 260px;
  }

  .steps div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
