*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f4f3e8;
  --green-dark: #1e3f22;
  --green-mid: #546c54;
  --green-light: #d1dce4;
  --sage: #89996f;
  --text-dark: #1e3f22;
  --text-body: #2a2a2a;
  --white: #ffffff;
  --font-heading: 'Forum', Georgia, serif;
  --font-body: 'Avenir', 'Avenir LT W01 35 Light', 'Century Gothic', Futura, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--cream);
  font-size: 17px;
  line-height: 1.6;
}

/* ── Google Fonts import fallback ── */
@import url('https://fonts.googleapis.com/css2?family=Forum&display=swap');

/* ──────────── HEADER ──────────── */
header {
  background-color: var(--cream);
  border-bottom: 1px solid rgba(30, 63, 34, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--green-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

nav a {
  text-decoration: none;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

nav a:hover,
nav a.active {
  opacity: 0.6;
}

/* ──────────── HERO ──────────── */
/* φ = 1.618 governs all proportions here */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 63, 34, 0.28);
}

/* Card: padding ratio 72:44 ≈ φ; width:height ≈ φ via content */
.hero-card {
  position: relative;
  z-index: 1;
  background: rgba(244, 243, 232, 0.91);
  border-radius: 18px;
  padding: 44px 72px;  /* 72 / 44 = 1.636 ≈ φ */
  text-align: center;
  max-width: 560px;
  width: 90%;
  backdrop-filter: blur(2px);
}

.hero-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 48px);  /* 48 / body-16 ≈ φ² */
  line-height: 1.18;
  color: var(--green-dark);
  margin-bottom: 28px;  /* 44 / φ ≈ 27 → 28 */
  font-weight: normal;
}

.hero-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ──────────── SECTIONS ──────────── */
section.content-section {
  padding: 80px 32px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ──────────── WHO AM I ──────────── */
.who-am-i {
  background-color: var(--cream);
}

.who-am-i .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.who-am-i .photo-col {
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  overflow: hidden;
}

.who-am-i .photo-col img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.who-am-i .text-col h2 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: normal;
  color: var(--green-dark);
  margin-bottom: 28px;
}

.who-am-i .text-col h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 12px;
  margin-top: 24px;
}

.who-am-i .text-col p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 16px;
}

/* ──────────── BUTTON ──────────── */
.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 32px;
  background-color: var(--green-dark);
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--green-dark);
  transition: background-color 0.2s, color 0.2s;
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--green-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--green-dark);
}

.btn-outline:hover {
  background-color: var(--green-dark);
  color: var(--cream);
}

/* ──────────── TESTIMONIALS ──────────── */
.testimonials {
  background-color: var(--green-dark);
  color: var(--cream);
  padding: 80px 32px;
}

.testimonials .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: center;
}

.carousel-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-wrapper {
  width: 500px;
  flex-shrink: 0;
}

.testimonials h2 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: normal;
  color: var(--cream);
  margin-bottom: 16px;
}

.testimonials .subtitle {
  font-size: 17px;
  opacity: 0.85;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 40px 56px;
  box-sizing: border-box;
}

.carousel-slide blockquote {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.5;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 20px;
}

.carousel-slide .author {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid rgba(244, 243, 232, 0.2);
}

.carousel-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  width: 24px;
  padding: 0;
  opacity: 0.55;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.carousel-btn:hover { opacity: 1; }
.carousel-btn svg { width: 100%; display: block; }

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(244, 243, 232, 0.3);
  transition: background 0.25s;
}

.dot.active { background: var(--cream); }

/* ──────────── EXPECTATIONS ──────────── */
.expectations {
  background-color: var(--cream);
  padding: 80px 32px;
}

.expectations .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.expectations h2 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: normal;
  color: var(--green-dark);
  margin-bottom: 48px;
}

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

.expectation-item {
  padding: 36px 28px;
  background-color: var(--white);
  border-top: 3px solid var(--green-dark);
}

.expectation-item h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.expectation-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ──────────── CTA BAND ──────────── */
.cta-band {
  background-color: var(--green-dark);
  color: var(--cream);
  text-align: center;
  padding: 80px 32px;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: normal;
  margin-bottom: 32px;
  line-height: 1.15;
}

/* ──────────── FOOTER ──────────── */
footer {
  background-color: var(--cream);
  border-top: 1px solid rgba(30, 63, 34, 0.2);
  padding: 48px 32px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand a {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--green-dark);
  text-decoration: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p,
.footer-contact a {
  font-size: 17px;
  color: var(--green-dark);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(30, 63, 34, 0.15);
  font-size: 13px;
  color: var(--green-mid);
  text-align: center;
}

/* ──────────── CLASSES PAGE ──────────── */
.page-hero {
  background-color: var(--green-dark);
  padding: 80px 32px 60px;
  color: var(--cream);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: normal;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 20px;
  opacity: 0.85;
}

.classes-content {
  padding: 64px 32px;
}

.classes-content .section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.class-card {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(30, 63, 34, 0.2);
}

.class-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.class-type-label {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--green-dark);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-radius: 2px;
}

.class-card h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: normal;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.class-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.class-card p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 700px;
}

/* ──────────── CONTACT PAGE ──────────── */
.contact-content {
  padding: 64px 32px;
}

.contact-content .section-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: normal;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.contact-info .detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.contact-info .detail a,
.contact-info .detail span {
  font-size: 17px;
  color: var(--green-dark);
  text-decoration: none;
}

.contact-info .detail a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background-color: var(--white);
  padding: 40px;
  border: 1px solid rgba(30, 63, 34, 0.15);
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: normal;
  color: var(--green-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(30, 63, 34, 0.3);
  background-color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 2px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ──────────── RESPONSIVE ──────────── */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }

  nav ul {
    gap: 20px;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-card {
    padding: 32px 28px;
    border-radius: 14px;
  }

  .who-am-i .section-inner {
    grid-template-columns: 1fr;
  }

  .who-am-i .photo-col img {
    height: 420px;
  }

  .testimonials .section-inner {
    grid-template-columns: 1fr;
  }

  .carousel-col,
  .carousel-wrapper {
    width: 100%;
  }


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

  .contact-content .section-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  section.content-section,
  .classes-content,
  .contact-content {
    padding: 48px 20px;
  }
}
