:root {
  /* ---- Color: warm apothecary palette (paper, herb sage, amber oil-bottle accent) ---- */
  --paper: #F1ECDD;
  --white: #FBF9F2;
  --ink: #2B2A1E;
  --ink-soft: #6B6656;
  --sage: #6E7D5C;
  --sage-deep: #384330;
  --amber: #C79A44;
  --rose: #A15B54;
  --line: #DCD3B8;

  /* ---- Type ---- */
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Jost", sans-serif;
  --font-label: "Space Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }
a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ---- Sprig divider: the site's one recurring signature mark ---- */
.sprig {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0.25rem 0 1.1rem;
  color: var(--sage);
}
.sprig.center { margin-left: auto; margin-right: auto; }

/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(241, 236, 221, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--sage); }
.nav-cta {
  background: var(--sage-deep);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  border-bottom: none !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta { border-radius: 0; text-align: center; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--sage-deep);
  color: var(--white);
  padding: 6rem 0 5rem;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(56, 67, 48, 0.55), rgba(56, 67, 48, 0.85));
}
.hero .container { position: relative; text-align: center; max-width: 720px; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { margin: 0.4rem 0 1rem; }
.hero .lede { color: #E7E2D0; font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.hero-studio {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9C0A0;
  margin-bottom: 0.3rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--sage-deep); }
.btn-sage { background: var(--sage); color: var(--white); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---- Sections ---- */
section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 620px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--ink-soft); }

/* ---- Class preview cards (home) ---- */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.class-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem;
}
.class-card .eyebrow { margin-bottom: 0.5rem; }
.class-card p { color: var(--ink-soft); font-size: 0.94rem; }
.class-card .meta {
  font-family: var(--font-label);
  font-size: 0.82rem;
  color: var(--sage);
  margin: 0.9rem 0 1.2rem;
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  background: var(--sage) center / cover no-repeat;
  border: 6px solid var(--white);
  box-shadow: 0 10px 30px rgba(56, 67, 48, 0.18);
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
}
.education-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  border-top: 1px dashed var(--line);
}
.education-list li {
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---- Groups / tags ---- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
}
.tag-list li {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  border: 1px solid var(--sage);
  color: var(--sage-deep);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: var(--white);
}
.groups-cta {
  background: var(--sage-deep);
  color: var(--white);
  border-radius: 18px;
  padding: 2.5rem;
  text-align: center;
}
.groups-cta h3 { color: var(--white); }
.groups-cta p { color: #D9D3BC; max-width: 480px; margin: 0 auto 1.5rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--sage-deep);
  color: var(--white);
  padding: 3.5rem 0 2rem;
  text-align: center;
}
.site-footer .lede { color: #D9D3BC; max-width: 480px; margin: 0 auto 1.8rem; font-family: var(--font-display); font-size: 1.3rem; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
}
.footer-links a { text-decoration: none; color: #E7E2D0; font-size: 0.92rem; }
.footer-social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.6rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-decoration: none;
  font-family: var(--font-label); font-size: 0.75rem;
}
.footer-copy { font-size: 0.78rem; color: #A9A188; }

/* ---- Page header (non-home pages) ---- */
.page-header {
  background: var(--sage-deep);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.page-header p { color: #D9D3BC; max-width: 520px; margin: 0.6rem auto 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ==========================================================================
   Motion — fluent, minimal, cozy. A slow fade/rise on load for the hero,
   and gentle slide-ins as content enters the viewport while scrolling.
   ========================================================================== */

/* Scroll-triggered reveal (paired with js/motion.js) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Staggered load-in for hero / page-header content */
.hero-anim > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroRise 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-anim > *:nth-child(1) { animation-delay: 0.05s; }
.hero-anim > *:nth-child(2) { animation-delay: 0.2s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.35s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.5s; }
.hero-anim > *:nth-child(5) { animation-delay: 0.65s; }
@keyframes heroRise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .hero-anim > * { animation: none !important; opacity: 1 !important; transform: none !important; }
}
