:root {
  --ink: #24302b;
  --muted: #67756e;
  --paper: #fffaf3;
  --surface: #f4ece1;
  --sage: #788f75;
  --moss: #4c674f;
  --clay: #b66f4b;
  --cream: #fffdf8;
  --line: rgba(36, 48, 43, 0.16);
  --shadow: 0 24px 60px rgba(47, 50, 40, 0.16);
}

* {
  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.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--cream);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 250, 243, 0.95);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(37, 43, 38, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.95rem;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  background: #2d312a;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 60% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(26, 32, 27, 0.72), rgba(26, 32, 27, 0.36) 40%, rgba(26, 32, 27, 0.08) 72%),
    linear-gradient(0deg, rgba(20, 24, 22, 0.26), rgba(20, 24, 22, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(680px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 88px);
  padding-top: 90px;
  color: var(--cream);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c7a8;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 8.8rem);
  line-height: 0.92;
  font-weight: 500;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--clay);
  color: #fff;
}

.button-secondary {
  border-color: rgba(255, 253, 248, 0.6);
  color: #fff;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: 0.5fr 1.25fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--cream);
}

.section-label {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-text p,
.visit-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-stats {
  display: grid;
  gap: 14px;
}

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

.intro-stats strong {
  display: block;
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 500;
}

.intro-stats span {
  color: var(--muted);
}

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

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

.class-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.class-card span {
  display: block;
  margin-bottom: 70px;
  color: var(--clay);
  font-weight: 800;
}

.class-card p,
.teacher-grid p,
.schedule-row span,
.site-footer {
  color: var(--muted);
}

.schedule {
  background: #e8eee4;
}

.schedule-list {
  border-top: 1px solid rgba(36, 48, 43, 0.2);
}

.schedule-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(36, 48, 43, 0.2);
}

.schedule-row time {
  color: var(--moss);
  font-weight: 800;
}

.schedule-row a {
  color: var(--clay);
  font-weight: 800;
}

.teacher-grid article {
  min-width: 0;
}

.teacher-photo {
  height: 320px;
  margin-bottom: 20px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.teacher-photo-one {
  background:
    linear-gradient(140deg, rgba(120, 143, 117, 0.2), rgba(182, 111, 75, 0.16)),
    url("assets/yoga-hero.png") right center / cover;
}

.teacher-photo-two {
  background:
    linear-gradient(140deg, rgba(67, 84, 77, 0.38), rgba(255, 250, 243, 0.12)),
    url("assets/yoga-hero.png") center / cover;
}

.teacher-photo-three {
  background:
    linear-gradient(140deg, rgba(182, 111, 75, 0.28), rgba(120, 143, 117, 0.22)),
    url("assets/yoga-hero.png") left center / cover;
}

.visit {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(28px, 8vw, 96px);
  align-items: start;
  background: var(--ink);
  color: var(--cream);
}

.visit-copy {
  position: sticky;
  top: 110px;
}

.visit-copy p {
  color: rgba(255, 253, 248, 0.72);
}

.visit-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.06);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  font: inherit;
  padding: 0 14px;
}

.visit-form .button {
  width: 100%;
  min-height: 54px;
  font: inherit;
  font-weight: 800;
}

.form-note {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.68);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: #1b2420;
  color: rgba(255, 253, 248, 0.68);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

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

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    align-self: end;
    margin: 0;
    padding: 120px 20px 56px;
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(25, 31, 27, 0.82), rgba(25, 31, 27, 0.2) 66%),
      linear-gradient(90deg, rgba(25, 31, 27, 0.46), rgba(25, 31, 27, 0.08));
  }

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

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

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .visit-copy {
    position: static;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 4.9rem);
  }

  .teacher-photo {
    height: 260px;
  }
}
