:root {
  --ink: #171717;
  --muted: #5f6362;
  --paper: #f7f4ed;
  --surface: #fffdf8;
  --line: #dad2c4;
  --green: #274f3f;
  --red: #a74335;
  --blue: #315b83;
  --yellow: #f0c45c;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 237, 0.92);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

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

.nav-cta {
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(40px, 6vw, 76px) clamp(18px, 6vw, 88px) 36px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 13vw, 168px);
  line-height: 0.86;
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  font-weight: 500;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.hero-lede {
  max-width: 760px;
  color: #2d302f;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
}

.hero-actions,
.assistant-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--surface);
}

.button-secondary {
  background: transparent;
}

.is-disabled {
  cursor: default;
  opacity: 0.82;
}

.nav-note {
  white-space: nowrap;
}

.hero-visual {
  margin: 0;
}

.hero-visual img,
.portrait img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  max-height: 68vh;
  object-fit: cover;
  object-position: center;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 76px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1;
}

.section-heading h2 {
  grid-column: 2;
}

.programs .programs-heading {
  display: block;
  text-align: center;
}

.programs .programs-heading h2 {
  max-width: none;
  margin-bottom: 0;
  font-family: inherit;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.intro-grid p,
.teacher-profile p,
.program-card p,
.workshop-detail p,
.assistant-panel p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

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

.program-card,
.teacher-profile {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.program-card-featured {
  border-color: rgba(167, 67, 53, 0.5);
  box-shadow: 0 18px 50px rgba(167, 67, 53, 0.12);
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.program-meta span,
.role {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  background: rgba(39, 79, 63, 0.1);
  color: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.program-card ul {
  margin: 18px 0 22px;
  padding-left: 20px;
  color: #383b3a;
}

.program-card li + li {
  margin-top: 8px;
}

.text-link {
  color: var(--red);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.media-copy {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.portrait {
  margin: 0;
}

.portrait img {
  max-height: 680px;
  object-fit: cover;
  object-position: center;
}

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

.studio-track {
  max-width: 920px;
  margin: -8px auto 28px;
  color: #383b3a;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  text-align: center;
}

.studio-track p {
  margin-bottom: 0;
}

.source-note {
  margin-bottom: 0;
  font-size: 14px;
}

.assistant {
  background: var(--green);
  color: var(--surface);
}

.assistant .eyebrow,
.assistant-panel p {
  color: #f4d984;
}

.assistant-panel {
  justify-content: space-between;
  gap: 28px;
}

.assistant-panel > div {
  max-width: 780px;
}

.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.assistant-choice {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.32);
  border-radius: 999px;
  color: var(--surface);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.assistant .button-primary {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
}

summary::marker {
  color: var(--red);
}

details p {
  max-width: 880px;
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 6vw, 88px);
  background: var(--ink);
  color: var(--surface);
}

.site-footer p {
  margin: 4px 0 0;
  color: #c9c6bd;
}

.site-footer .button-secondary {
  border-color: var(--surface);
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .media-copy {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow,
  .section-heading h2 {
    grid-column: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(64px, 24vw, 108px);
  }

  .hero-lede {
    font-size: 20px;
  }

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

  .button {
    width: 100%;
  }

  .assistant-panel {
    align-items: stretch;
  }

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