@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --bg: #f4f2ee;
  --bg-alt: #ece9e2;
  --ink: #151515;
  --muted: #5a5a5a;
  --accent: #2b5d50;
  --accent-light: #e0ede9;
  --line: #d6d2c7;
  --card: #ffffff;
  --shadow: 0 30px 60px rgba(20, 20, 20, 0.12);
}

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

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(140deg, #f9f7f3 0%, #f0ede7 45%, #f6f4f0 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(244, 242, 238, 0.8);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
}

.nav {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.nav-link.active,
.nav-link:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--ink);
  color: #fdfbf7;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-dark {
  background: var(--accent);
  color: #fdfbf7;
}

.hero {
  padding: 60px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
}

.banner {
  padding: 70px 0 40px;
}

.banner-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}

.banner-contact {
  justify-self: end;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.banner-contact a {
  color: var(--accent);
  font-weight: 600;
}

.banner-dark {
  background: #101010;
  color: #fdfbf7;
}

.banner-dark .eyebrow {
  color: rgba(253, 251, 247, 0.7);
}

.banner-dark-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.banner-dark .btn-ghost {
  border-color: rgba(253, 251, 247, 0.4);
  color: #fdfbf7;
}

.section-title.compact {
  margin-top: 32px;
  margin-bottom: 16px;
}

html {
  scroll-behavior: smooth;
}

.hero-actions {
  margin: 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.metric-value {
  font-weight: 600;
  display: block;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-media {
  display: grid;
  gap: 24px;
}

.hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-note {
  padding: 28px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.checklist {
  list-style: none;
  margin-top: 20px;
}

.checklist li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.section {
  padding: 70px 0;
}

.section-title {
  max-width: 640px;
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.contrast {
  background: var(--bg-alt);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 500;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.schedule-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--accent);
}

.center {
  text-align: center;
  margin-top: 28px;
}

.signup-button {
  margin-top: 18px;
}

.cta {
  padding: 70px 0;
  background: linear-gradient(120deg, #101010, #1f3d36);
  color: #fdfbf7;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.page-hero {
  padding: 80px 0 40px;
}

.table {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.table-row.header {
  background: var(--accent-light);
  font-weight: 600;
}

.table-row:last-child {
  border-bottom: none;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.price-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.price-card.highlight {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.price {
  font-size: 2rem;
  font-weight: 600;
  margin: 10px 0;
}

.price-tag {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 16px 0;
}

.note {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.cert-note {
  margin-top: 12px;
  font-weight: 600;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.video-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.video-thumb {
  height: 120px;
  border-radius: 16px;
  background: linear-gradient(120deg, #d9e4df, #f0ede7);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.class-media {
  margin-bottom: 24px;
}

.class-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 75%;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.resource-card {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.bio-card {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.portrait-card {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.portrait-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

.stack {
  display: grid;
  gap: 18px;
}

.list {
  list-style: none;
}

.list li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 10px;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.form {
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: inherit;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .nav {
    flex-wrap: wrap;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
