/* Brand: change these to restyle the whole theme */
:root {
  --sage: #7d9a83;
  --sage-dark: #5f7d66;
  --sage-light: #e9efe6;
  --clay: #c9826b;
  --clay-light: #f3e2d9;
  --cream: #f8f4ec;
  --white: #ffffff;
  --ink: #2f3a33;
  --muted: #68736b;
  --line: #e3ddd1;
  --radius: 26px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.7; font-weight: 400; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(46px, 7vw, 84px); }
h2 { font-size: clamp(34px, 4.6vw, 52px); }
h3 { font-size: 27px; }
h1 em, h2 em { font-style: italic; color: var(--sage-dark); }
p { margin: 0 0 16px; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 10px 14px; }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.lead { font-size: 20px; color: var(--muted); max-width: 580px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
section { padding: 96px 0; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border: 0; border-radius: 999px; background: var(--sage-dark); color: var(--white); font: 500 16px var(--font-body); letter-spacing: 0.02em; padding: 14px 28px; text-decoration: none; cursor: pointer; transition: background 0.2s; }
.button:hover { background: var(--ink); }
.button-small { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.button-wide { width: 100%; }
.button-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.button-ghost:hover { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--clay-light); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248, 244, 236, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; font: 600 30px var(--font-display); text-decoration: none; min-height: 44px; }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: 16px; }
.primary-nav a { text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--sage-dark); box-shadow: 0 2px 0 var(--sage); }
.primary-nav a:not(.button):hover { color: var(--sage-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle span { width: 18px; height: 1.5px; background: var(--ink); }

/* Hero */
.hero { padding: 80px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-art { position: relative; aspect-ratio: 4 / 5; max-width: 440px; justify-self: end; width: 100%; }
.arch { position: absolute; inset: 0; border-radius: 220px 220px 30px 30px; background: linear-gradient(180deg, var(--clay-light), var(--sage-light)); overflow: hidden; }
.sun { position: absolute; width: 38%; aspect-ratio: 1; left: 31%; top: 22%; border-radius: 50%; background: var(--clay); opacity: 0.85; }
.hill { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 0 0 30px 30px; }
.hill-1 { height: 42%; background: var(--sage); clip-path: ellipse(80% 60% at 30% 100%); }
.hill-2 { height: 30%; background: var(--sage-dark); clip-path: ellipse(70% 60% at 85% 100%); }

/* Offer band */
.intro-offer { padding: 0 0 40px; }
.offer-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--sage-dark); color: var(--white); border-radius: var(--radius); padding: 28px 34px; }
.offer-band p { margin: 0; font-size: 18px; }

/* Styles */
.style-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.style-card { background: var(--white); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); }
.style-card p { color: var(--muted); }
.style-card a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sage-dark); font-weight: 500; }
.dot { display: block; width: 42px; height: 42px; border-radius: 50%; margin-bottom: 22px; }
.dot-sage { background: var(--sage); }
.dot-clay { background: var(--clay); }
.dot-sand { background: #d8c49c; }
.dot-dusk { background: #9c8fae; }

/* Teachers */
.teachers { background: var(--white); }
.teacher-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.teacher-grid p { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; max-width: 220px; border-radius: 50%; background: var(--tone); font: 500 54px var(--font-display); color: var(--ink); margin-bottom: 22px; }

/* Quote and CTA */
.quote { text-align: center; }
.quote p { font: italic 500 clamp(28px, 3.6vw, 40px)/1.3 var(--font-display); }
.quote cite { font-style: normal; color: var(--muted); }
.cta { padding: 0 0 96px; }
.cta-inner { background: var(--clay); color: var(--white); border-radius: var(--radius); padding: 64px 40px; text-align: center; }
.cta-inner p { font-size: 19px; }

/* Inner pages */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(42px, 6vw, 68px); }
.timetable-section { padding-top: 24px; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-bottom: 30px; }
.filters label { min-width: 220px; }
.filter-count { margin: 0 0 12px; color: var(--muted); }
.timetable { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day h3 { font: 600 15px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.session { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--c, var(--sage)); border-radius: 14px; padding: 12px; margin-bottom: 10px; font-size: 15px; line-height: 1.45; }
.session strong { display: block; font-size: 16px; }
.session time { font-weight: 600; }
.session small { display: block; color: var(--muted); }
.session[data-style="reformer"] { --c: var(--clay); }
.session[data-style="mat"] { --c: #d8c49c; }
.session[data-style="yin"] { --c: #9c8fae; }
.day-empty { color: var(--muted); font-size: 15px; }

.planner { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; margin-bottom: 36px; }
.planner label { display: block; font-size: 19px; }
.planner input[type="range"] { width: 100%; accent-color: var(--sage-dark); min-height: 44px; }
.planner-result { grid-column: 2; grid-row: 1 / span 2; background: var(--sage-light); border-radius: 20px; padding: 26px; }
.planner-result h2 { font-size: 38px; margin-bottom: 8px; }
.planner-result p:last-child { margin: 0; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: border-color 0.2s, box-shadow 0.2s; }
.plan.best { border-color: var(--sage-dark); box-shadow: 0 0 0 2px var(--sage-dark); }
.plan > p:not(.price) { color: var(--muted); }
.plan ul { padding-left: 18px; margin: 0; }
.price { font: 500 48px var(--font-display); margin-bottom: 4px; }
.price span { font-size: 20px; color: var(--muted); }
.fine-print { margin-top: 24px; color: var(--muted); font-size: 15px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 36px; align-items: start; }
.trial-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: grid; gap: 18px; scroll-margin-top: 100px; }
.trial-form h2 { font-size: 38px; }
.visit { display: grid; gap: 18px; }
.visit-card { background: var(--sage-light); border-radius: var(--radius); padding: 28px; }
.visit-card p:last-child { margin: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); color: var(--ink); font: 16px var(--font-body); padding: 10px 14px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.form-note { margin: 0; color: var(--sage-dark); font-weight: 500; min-height: 1.7em; }

/* Footer */
.site-footer { background: var(--ink); color: #dfe5dc; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer .brand { color: var(--white); }
.site-footer h3 { font-size: 24px; color: var(--white); }
.site-footer p { color: #b9c3b7; }
.site-footer a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 32px; padding-top: 22px; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; }

@media (max-width: 1000px) {
  .hero-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { justify-self: start; max-width: 340px; }
  .style-grid, .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timetable { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .planner { grid-template-columns: minmax(0, 1fr); }
  .planner-result { grid-column: auto; grid-row: auto; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: var(--cream); border-bottom: 1px solid var(--line); }
  .primary-nav.open { display: flex; }
  .primary-nav a:not(.button) { padding: 12px 0; }
  .primary-nav a[aria-current="page"] { box-shadow: none; }
  .offer-band { flex-direction: column; align-items: flex-start; }
  .teacher-grid { grid-template-columns: minmax(0, 1fr); }
  .avatar { max-width: 160px; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .style-grid, .plan-grid, .footer-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .timetable { grid-template-columns: minmax(0, 1fr); }
  .filters label { min-width: 0; width: 100%; }
  .footer-bottom { flex-direction: column; }
  .trial-form, .planner { padding: 22px; }
  .cta-inner { padding: 44px 22px; }
}
