/* =========================================================
   온도 ONDO — soft organic wellness
   ========================================================= */

/* ===== Fonts (self-hosted, no runtime CDN) ===== */
@font-face {
  font-family: 'Gowun Dodum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/gowun-dodum-korean-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Pretendard-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Pretendard-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Pretendard-Bold.woff2') format('woff2');
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* ===== Design Tokens ===== */
:root {
  --off-white: #faf6f1;
  --sand: #e9ddcd;
  --sand-soft: #f1e8db;
  --sage: #9caf88;
  --sage-deep: #7f936c;
  --terracotta: #c98a6e;
  --terracotta-deep: #b4745a;
  --clay: #3c3530;
  --clay-soft: #6b605a;
  --clay-faint: #9a8f84;
  --white: #fffdfa;

  --font-display: 'Gowun Dodum', 'Pretendard', sans-serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-pill: 999px;

  --shadow-soft: 0 18px 50px -28px rgba(60, 53, 48, 0.35);
  --shadow-card: 0 12px 36px -24px rgba(60, 53, 48, 0.4);
  --shadow-lift: 0 26px 60px -30px rgba(60, 53, 48, 0.45);

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ===== Base ===== */
body {
  font-family: var(--font-body);
  color: var(--clay);
  background: var(--off-white);
  line-height: 1.75;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; font-weight: 400; color: var(--clay); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
p { color: var(--clay-soft); }
strong { font-weight: 700; color: var(--clay); }

:focus-visible {
  outline: 3px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage-deep); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--sage); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--clay-soft); max-width: 56ch; }
.section__head { max-width: 64ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head.center .eyebrow { justify-content: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.9rem; border-radius: var(--r-pill);
  font-weight: 500; font-size: 1rem; border: 1.5px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), box-shadow 0.4s var(--ease), color 0.3s;
  text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--sage); color: var(--white); box-shadow: var(--shadow-card); }
.btn--primary:hover { background: var(--sage-deep); box-shadow: var(--shadow-lift); }
.btn--accent { background: var(--terracotta); color: var(--white); box-shadow: var(--shadow-card); }
.btn--accent:hover { background: var(--terracotta-deep); box-shadow: var(--shadow-lift); }
.btn--ghost { background: transparent; color: var(--clay); border-color: rgba(60,53,48,0.22); }
.btn--ghost:hover { border-color: var(--sage); color: var(--sage-deep); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 241, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(60,53,48,0.5); background: rgba(250,246,241,0.94); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 0.4rem; }
.nav__menu a {
  padding: 0.55rem 0.95rem; border-radius: var(--r-pill);
  font-size: 0.97rem; color: var(--clay-soft); font-weight: 500;
  transition: color 0.3s, background 0.3s;
}
.nav__menu a:hover { color: var(--clay); background: rgba(156,175,136,0.16); }
.nav__menu a[aria-current="page"] { color: var(--sage-deep); background: rgba(156,175,136,0.2); }
.nav__cta { display: inline-flex; align-items: center; gap: 1rem; }
.nav__cta .btn { padding: 0.65rem 1.35rem; font-size: 0.95rem; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent;
  border-radius: var(--r-sm); position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 12px; width: 22px; height: 2px;
  background: var(--clay); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav__toggle span { top: 22px; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero__blob {
  position: absolute; z-index: 0; pointer-events: none;
}
.hero__blob--1 { top: -8%; right: -6%; width: 46%; max-width: 620px; color: var(--sand); opacity: 0.7; }
.hero__blob--2 { bottom: -14%; left: -10%; width: 34%; max-width: 420px; color: rgba(156,175,136,0.22); }
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__copy { max-width: 38ch; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--terracotta); }
.hero__lead { margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.5rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.hero__meta div strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--sage-deep); }
.hero__meta div span { font-size: 0.88rem; color: var(--clay-faint); }

.hero__media { position: relative; }
.hero__media-frame {
  border-radius: 48% 48% 46% 46% / 54% 54% 46% 46%;
  overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 5; background: var(--sand);
}
.hero__media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; bottom: 6%; left: -6%;
  background: var(--white); border-radius: var(--r-md); padding: 1rem 1.3rem;
  box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 0.85rem; max-width: 230px;
}
.hero__badge .dot { width: 38px; height: 38px; flex: none; border-radius: 50%; background: rgba(156,175,136,0.25); display: grid; place-items: center; }
.hero__badge .dot svg { width: 20px; height: 20px; color: var(--sage-deep); }
.hero__badge p { font-size: 0.85rem; color: var(--clay-soft); line-height: 1.45; }
.hero__badge strong { display: block; font-size: 0.95rem; }

/* ===== Philosophy ===== */
.philosophy__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.philosophy__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 5 / 4; }
.philosophy__media img { width: 100%; height: 100%; object-fit: cover; }
.philosophy blockquote { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.5; color: var(--clay); margin: 1.5rem 0; }
.philosophy blockquote span { color: var(--terracotta); }

/* ===== Programs grid ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.9rem); }
.card {
  background: var(--white); border-radius: var(--r-lg); padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-card); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.card__icon { width: 64px; height: 64px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: 1.4rem; background: rgba(156,175,136,0.18); }
.card__icon svg { width: 34px; height: 34px; color: var(--sage-deep); }
.card--accent .card__icon { background: rgba(201,138,110,0.18); }
.card--accent .card__icon svg { color: var(--terracotta-deep); }
.card h3 { margin-bottom: 0.65rem; }
.card p { font-size: 0.98rem; margin-bottom: 1.2rem; }
.card__link { margin-top: auto; color: var(--sage-deep); font-weight: 500; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.card__link .arrow { transition: transform 0.4s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(4px); }
.card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.tag { font-size: 0.78rem; padding: 0.25rem 0.7rem; border-radius: var(--r-pill); background: var(--sand); color: var(--clay-soft); }

/* ===== Instructor teaser ===== */
.instructor__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.instructor__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/5; position: relative; }
.instructor__media img { width: 100%; height: 100%; object-fit: cover; }
.instructor__sig { font-family: var(--font-display); font-size: 1.4rem; color: var(--terracotta); margin-top: 1.5rem; }
.instructor__role { font-size: 0.9rem; color: var(--clay-faint); }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.9rem); }
.review {
  background: var(--white); border-radius: var(--r-lg); padding: 2rem 1.9rem;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 1.1rem;
}
.review__stars { color: var(--terracotta); letter-spacing: 2px; font-size: 0.95rem; }
.review p { font-size: 1rem; color: var(--clay); line-height: 1.7; }
.review__who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: var(--white); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); flex: none; }
.review__who strong { font-size: 0.95rem; display: block; }
.review__who span { font-size: 0.82rem; color: var(--clay-faint); }

/* ===== CTA band ===== */
.cta-band { position: relative; overflow: hidden; }
.cta-band__panel {
  background: var(--sage); color: var(--white); border-radius: var(--r-lg);
  padding: clamp(2.75rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.cta-band__panel h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band__panel p { color: rgba(255,255,255,0.88); max-width: 50ch; margin: 0 auto 2rem; }
.cta-band__panel .btn--primary { background: var(--white); color: var(--sage-deep); }
.cta-band__panel .btn--primary:hover { background: var(--off-white); }
.cta-band__panel .blob-accent { position: absolute; pointer-events: none; opacity: 0.16; }
.cta-band__panel .blob-accent--1 { top: -30%; left: -8%; width: 280px; color: #fff; }
.cta-band__panel .blob-accent--2 { bottom: -40%; right: -6%; width: 320px; color: #fff; }

/* ===== Page hero (interior pages) ===== */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(1rem, 2vw, 2rem); position: relative; overflow: hidden; }
.page-hero__inner { max-width: 62ch; position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero .blob { position: absolute; top: -30%; right: -8%; width: 38%; max-width: 480px; color: var(--sand); opacity: 0.6; z-index: 0; }
.breadcrumb { font-size: 0.85rem; color: var(--clay-faint); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--sage-deep); }
.breadcrumb span { margin-inline: 0.4rem; }

/* ===== About ===== */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.9rem); }
.value { background: var(--white); border-radius: var(--r-lg); padding: 2rem 1.8rem; box-shadow: var(--shadow-card); }
.value .num { font-family: var(--font-display); font-size: 1.4rem; color: var(--sage); }
.value h3 { margin: 0.6rem 0 0.6rem; }
.value p { font-size: 0.98rem; }
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.media-grid figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/3; }
.media-grid figure.tall { aspect-ratio: 3/4; }
.media-grid img { width: 100%; height: 100%; object-fit: cover; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 5/4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.prose p + p { margin-top: 1.1rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.6rem; }

/* ===== Programs page ===== */
.program-list { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.program {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-card); display: grid; grid-template-columns: 0.85fr 1.15fr;
}
.program:nth-child(even) { grid-template-columns: 1.15fr 0.85fr; }
.program:nth-child(even) .program__media { order: 2; }
.program__media { position: relative; min-height: 280px; }
.program__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.program__body { padding: clamp(1.8rem, 3.5vw, 2.75rem); }
.program__body h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 0.4rem; }
.program__kicker { color: var(--sage-deep); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem; }
.program__body > p { margin-bottom: 1.3rem; }
.benefits { display: grid; gap: 0.6rem; margin-bottom: 1.4rem; }
.benefits li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.97rem; color: var(--clay-soft); }
.benefits li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(156,175,136,0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f936c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.program__foot { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; padding-top: 1.2rem; border-top: 1px solid var(--sand); }
.program__level { font-size: 0.88rem; color: var(--clay-faint); }
.program__level strong { color: var(--clay); }

/* level cards */
.levels { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.25rem,2.5vw,1.9rem); }
.level { background: var(--sand-soft); border-radius: var(--r-lg); padding: 2rem 1.8rem; }
.level .pill { display: inline-block; font-size: 0.78rem; padding: 0.3rem 0.85rem; border-radius: var(--r-pill); background: var(--sage); color: var(--white); margin-bottom: 1rem; }
.level h3 { margin-bottom: 0.6rem; }
.level p { font-size: 0.96rem; }

/* ===== Schedule table ===== */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-card); background: var(--white); }
table.schedule { width: 100%; border-collapse: collapse; min-width: 680px; }
table.schedule caption { text-align: left; padding: 1.25rem 1.5rem 0; font-size: 0.9rem; color: var(--clay-faint); }
table.schedule th, table.schedule td { padding: 0.95rem 1rem; text-align: center; border-bottom: 1px solid var(--sand); font-size: 0.94rem; }
table.schedule thead th { background: var(--sage); color: var(--white); font-weight: 500; }
table.schedule thead th:first-child { border-top-left-radius: 0; }
table.schedule tbody th { background: var(--sand-soft); color: var(--clay); font-weight: 500; white-space: nowrap; }
table.schedule tbody tr:last-child td, table.schedule tbody tr:last-child th { border-bottom: 0; }
.slot { display: inline-block; border-radius: var(--r-pill); padding: 0.3rem 0.75rem; font-size: 0.82rem; }
.slot--machine { background: rgba(156,175,136,0.2); color: var(--sage-deep); }
.slot--mat { background: rgba(201,138,110,0.18); color: var(--terracotta-deep); }
.slot--private { background: var(--sand); color: var(--clay-soft); }
.slot--rest { color: var(--clay-faint); }
.legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.5rem; font-size: 0.88rem; color: var(--clay-soft); }
.legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.25rem,2.5vw,1.9rem); align-items: stretch; }
.plan { background: var(--white); border-radius: var(--r-lg); padding: 2.2rem 1.9rem; box-shadow: var(--shadow-card); display: flex; flex-direction: column; position: relative; }
.plan--featured { background: var(--clay); color: var(--white); box-shadow: var(--shadow-lift); }
.plan--featured h3, .plan--featured .plan__price { color: var(--white); }
.plan--featured p, .plan--featured .plan__features li { color: rgba(255,255,255,0.84); }
.plan--featured .plan__features li::before { background-color: rgba(156,175,136,0.4); }
.plan__flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--terracotta); color: #fff; font-size: 0.76rem; padding: 0.3rem 1rem; border-radius: var(--r-pill); white-space: nowrap; }
.plan h3 { margin-bottom: 0.4rem; }
.plan__sub { font-size: 0.9rem; min-height: 2.6em; }
.plan__price { font-family: var(--font-display); font-size: 2.2rem; color: var(--clay); margin: 1rem 0 0.2rem; }
.plan__price span { font-size: 0.9rem; color: var(--clay-faint); font-family: var(--font-body); }
.plan--featured .plan__price span { color: rgba(255,255,255,0.7); }
.plan__features { display: grid; gap: 0.65rem; margin: 1.4rem 0 1.8rem; }
.plan__features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.94rem; color: var(--clay-soft); }
.plan__features li::before { content:""; flex:none; width:16px; height:16px; margin-top:4px; border-radius:50%; background: rgba(156,175,136,0.3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f936c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; justify-content: center; }
.plan--featured .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.plan--featured .btn--ghost:hover { background: rgba(255,255,255,0.12); border-color:#fff; color:#fff; }
.price-note { font-size: 0.86rem; color: var(--clay-faint); margin-top: 1.5rem; text-align: center; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 2.6rem); box-shadow: var(--shadow-card); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.92rem; font-weight: 500; margin-bottom: 0.5rem; }
.field label .req { color: var(--terracotta); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1.05rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--sand); background: var(--off-white);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); background: var(--white);
  box-shadow: 0 0 0 4px rgba(156,175,136,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
.form__note { font-size: 0.84rem; color: var(--clay-faint); margin-top: 1rem; text-align: center; }

.info-card { background: var(--sand-soft); border-radius: var(--r-lg); padding: clamp(1.8rem,4vw,2.4rem); margin-bottom: 1.5rem; }
.info-list { display: grid; gap: 1.3rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ic { flex: none; width: 44px; height: 44px; border-radius: var(--r-sm); background: rgba(156,175,136,0.2); display: grid; place-items: center; }
.info-list .ic svg { width: 22px; height: 22px; color: var(--sage-deep); }
.info-list strong { display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.info-list p, .info-list a { font-size: 0.94rem; color: var(--clay-soft); }
.info-list a:hover { color: var(--sage-deep); }
.map-embed { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); position: relative; aspect-ratio: 16/10; background: var(--sand); }
.map-embed svg { width: 100%; height: 100%; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours-table td { padding: 0.5rem 0; border-bottom: 1px dashed var(--sand); font-size: 0.93rem; }
.hours-table td:last-child { text-align: right; color: var(--clay); font-weight: 500; }
.hours-table tr:last-child td { border-bottom: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--clay); color: rgba(255,255,255,0.78); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: var(--section-y); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 3rem; }
.footer__brand img { height: 40px; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 1.1rem; }
.footer__brand p { color: rgba(255,255,255,0.6); font-size: 0.93rem; max-width: 32ch; }
.footer h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; margin-bottom: 1.1rem; letter-spacing: 0.02em; }
.footer ul { display: grid; gap: 0.65rem; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.92rem; transition: color 0.3s; }
.footer a:hover { color: #fff; }
.footer__contact p { font-size: 0.92rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.footer__contact strong { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer__bottom small { color: rgba(255,255,255,0.5); font-size: 0.84rem; }
.legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.legal-open { background: none; border: 0; padding: 0; color: rgba(255,255,255,0.7); font: inherit; font-size: 0.88rem; text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s; }
.legal-open:hover { color: #fff; }

/* ===== Modal ===== */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: var(--gutter); }
.modal__backdrop { position: absolute; inset: 0; background: rgba(60,53,48,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade 0.3s var(--ease); }
.modal__panel {
  position: relative; z-index: 1; width: min(720px, 100%); max-height: 86vh; overflow-y: auto;
  background: var(--off-white); color: var(--clay); padding: clamp(1.8rem, 4vw, 2.75rem);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lift); animation: pop 0.4s var(--ease);
}
.modal__panel h2 { margin-bottom: 0.4rem; }
.modal__panel > p.modal__intro { font-size: 0.95rem; margin-bottom: 1.5rem; }
.modal__panel h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin: 1.6rem 0 0.6rem; color: var(--clay); }
.modal__panel h3:first-of-type { margin-top: 0; }
.modal__panel p, .modal__panel li { font-size: 0.92rem; line-height: 1.7; color: var(--clay-soft); }
.modal__panel ul, .modal__panel ol { padding-left: 1.2rem; margin: 0.5rem 0; display: grid; gap: 0.35rem; }
.modal__panel ul { list-style: disc; }
.modal__panel ol { list-style: decimal; }
.modal__panel table { width: 100%; border-collapse: collapse; margin: 0.8rem 0; font-size: 0.88rem; }
.modal__panel table th, .modal__panel table td { border: 1px solid var(--sand); padding: 0.6rem 0.8rem; text-align: left; }
.modal__panel table th { background: var(--sand-soft); font-weight: 500; }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; background: var(--sand-soft); border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--clay); display: grid; place-items: center; transition: background 0.3s, transform 0.3s; }
.modal__close:hover { background: var(--sand); transform: rotate(90deg); }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ===== 404 ===== */
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.notfound__blob { position: absolute; width: 60%; max-width: 600px; color: var(--sand); opacity: 0.5; z-index: 0; }
.notfound__inner { position: relative; z-index: 1; }
.notfound h1 { font-size: clamp(4rem, 14vw, 8rem); color: var(--sage); }
.notfound p { margin: 0.5rem 0 2rem; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner, .philosophy__inner, .instructor__inner, .split, .contact__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .cards, .reviews-grid, .values, .levels, .pricing { grid-template-columns: repeat(2, 1fr); }
  .program, .program:nth-child(even) { grid-template-columns: 1fr; }
  .program:nth-child(even) .program__media { order: 0; }
  .program__media { min-height: 240px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav__menu, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .site-header.nav-open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--off-white); padding: 1rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-card); border-top: 1px solid var(--sand);
  }
  .site-header.nav-open .nav__menu a { padding: 0.85rem 1rem; }
  .hero__badge { position: static; margin-top: 1.25rem; max-width: none; }
  .hero__media-frame { border-radius: var(--r-lg); }
}

@media (max-width: 560px) {
  .cards, .reviews-grid, .values, .levels, .pricing, .media-grid, .field-row { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .hero__meta { gap: 1.25rem; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
