@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Outfit:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --stone-50: #f4f1ec;
  --stone-100: #e8e3db;
  --stone-200: #d4cdc2;
  --stone-300: #b8afa3;
  --forest: #1e3a2f;
  --forest-mid: #2d5244;
  --forest-light: #4a7263;
  --moss: #6b8f7a;
  --ink: #1a2420;
  --muted: #5c6560;
  --line: #c9c2b8;
  --white: #faf8f5;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --max: 1140px;
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--stone-50);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-mid); text-decoration-thickness: 1px; }
a:hover { color: var(--forest-light); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.brand span {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.12rem;
}
.menu-toggle {
  display: none;
  background: var(--forest);
  color: #fff;
  border: none;
  padding: 0.5rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.35rem;
}
.nav-main a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-main a:hover,
.nav-main a.active {
  border-bottom-color: var(--forest-mid);
  color: var(--forest);
}
.btn {
  display: inline-block;
  background: var(--forest);
  color: #fff !important;
  padding: 0.65rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn:hover { background: var(--forest-mid); color: #fff !important; }
.btn-outline {
  background: transparent;
  color: var(--forest) !important;
  border: 1.5px solid var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: #fff !important;
}
.nav-main .btn-nav {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
  max-width: var(--max);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.hero-text {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border-right: 1px solid var(--line);
}
.hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--forest);
  margin-bottom: 1rem;
}
.hero-text .lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  max-width: 34ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-image {
  position: relative;
  min-height: 320px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split.reverse .split-text { order: 2; border-left: none; border-right: 1px solid var(--line); }
.split.reverse .split-img { order: 1; }
.split-text {
  padding: 2.75rem 2.5rem;
  background: var(--white);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 1rem;
}
.split-text p { color: var(--muted); margin-bottom: 0.85rem; }
.split-text p:last-of-type { margin-bottom: 0; }
.split-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

/* Section blocks */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.65rem;
}
.section-head p { color: var(--muted); font-size: 0.98rem; }
.section-head .link-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Class cards grid */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.class-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.class-card:hover {
  border-color: var(--forest-light);
  box-shadow: 0 4px 20px rgba(30, 58, 47, 0.08);
}
.class-card .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 0.5rem;
}
.class-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.class-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.class-card .meta {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--stone-300);
  font-weight: 500;
}

/* Teacher block */
.teacher-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: var(--radius);
}
.teacher-block img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}
.teacher-block h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 0.25rem;
}
.teacher-block .role {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1rem;
}
.teacher-block p { color: var(--muted); margin-bottom: 0.75rem; }

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}
.price-card.featured {
  border-color: var(--forest-mid);
  border-width: 2px;
  position: relative;
}
.price-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 2px;
}
.price-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 0.35rem;
}
.price-card .amount {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.5rem 0;
}
.price-card .amount small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}
.price-card ul {
  list-style: none;
  text-align: left;
  margin: 1rem 0 1.25rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.price-card li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--stone-100);
}
.price-card li:last-child { border-bottom: none; }

/* CTA band */
.cta-band {
  background: var(--forest);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  border-left: 1px solid var(--forest-mid);
  border-right: 1px solid var(--forest-mid);
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.65rem;
}
.cta-band p {
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  font-size: 0.98rem;
}
.cta-band .btn {
  background: var(--white);
  color: var(--forest) !important;
}
.cta-band .btn:hover {
  background: var(--stone-100);
}

/* Events teaser */
.events-list {
  display: grid;
  gap: 1rem;
}
.event-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
  border-radius: var(--radius);
}
.event-date {
  text-align: center;
  background: var(--stone-100);
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius);
}
.event-date .day {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}
.event-date .month {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.event-item h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.event-item p { font-size: 0.88rem; color: var(--muted); }

/* Quote band */
.quote-band {
  background: var(--stone-100);
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--forest);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote-band cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

/* Page hero (inner pages) */
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.page-hero p { color: var(--muted); max-width: 560px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.contact-info h2,
.contact-form-wrap h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--forest);
  margin-bottom: 1rem;
}
.contact-info dl { font-size: 0.92rem; }
.contact-info dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.85rem;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { color: var(--muted); margin-left: 0; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 1rem;
}
.hours-table th,
.hours-table td {
  padding: 0.45rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.hours-table th { font-weight: 600; color: var(--ink); }

.form-grid label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
}
.form-grid textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: none;
  background: var(--stone-100);
  border: 1px solid var(--forest-light);
  color: var(--forest);
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  border-radius: var(--radius);
}
.form-success.show { display: block; }

/* Legal */
.legal-doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.legal-doc h1 {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
}
.legal-doc h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--forest);
  margin: 1.75rem 0 0.5rem;
}
.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}
.legal-doc ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,0.78);
  padding: 2.5rem 1.5rem;
  font-size: 0.86rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.65rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: #fff;
  padding: 1.15rem 1.25rem;
  z-index: 200;
  display: none;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-inner p {
  flex: 1 1 240px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.cookie-inner a { color: #fff; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.cookie-actions button {
  border: none;
  padding: 0.5rem 0.9rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  border-radius: var(--radius);
}
.cookie-accept { background: var(--moss); color: #fff; }
.cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35) !important;
}
.cookie-settings { background: var(--white); color: var(--ink); }
.cookie-panel {
  display: none;
  max-width: var(--max);
  margin: 0.85rem auto 0;
  background: rgba(255,255,255,0.08);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
}
.cookie-panel.open { display: block; }
.cookie-panel label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.4rem 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero,
  .split,
  .contact-grid,
  .teacher-block,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-text { border-right: none; border-bottom: 1px solid var(--line); }
  .split-text { border-right: none; border-bottom: 1px solid var(--line); }
  .split.reverse .split-text { order: 1; border-right: none; }
  .split.reverse .split-img { order: 2; }
  .menu-toggle { display: block; }
  .nav-main {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
  }
  .nav-main.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .teacher-block img { max-width: 240px; }
}

@media (max-width: 560px) {
  .hero-text,
  .split-text,
  .section { padding-left: 1.15rem; padding-right: 1.15rem; }
  .event-item { grid-template-columns: 1fr; }
}
