:root {
  --bg: #f7f6f2;
  --bg-tint: #edf1f8;
  --surface: #ffffff;
  --text: #1c1c1a;
  --text-muted: #4a4a45;
  --border: #d4d0c8;
  --accent: #1b4f72;
  --accent-hover: #154060;
  --accent-soft: #ddeaf4;
  --warn-bg: #fdf6e8;
  --warn-border: #c9a227;
  --focus: #2563eb;
  --radius: 12px;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --max: 960px;
  --narrow: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* ── Layout ── */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: var(--narrow);
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent-hover);
}

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

.logo-hook {
  font-size: 1.5rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.35rem 0;
}

nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 999px;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  line-height: 1.2;
}

.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-soft);
}

.btn-block {
  width: 100%;
}

/* ── Hero ── */
.hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 9vw, 6rem);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 56rem;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-note {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

/* ── Sections ── */
.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-tint {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--accent);
  color: #fff;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 36rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 700;
}

.section-deck {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.section-dark .section-deck {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Card grid ── */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-span {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.65rem;
}

.card-accent {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}

.card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.card p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.card li {
  margin-bottom: 0.5rem;
}

.card li:last-child {
  margin-bottom: 0;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Stats row ── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  flex: 1 1 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ── Steps ── */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.steps > li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50%;
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
}

/* ── Callout / warning box ── */
.callout {
  background: var(--warn-bg);
  border: 2px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.callout h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #7a5a00;
}

.checklist {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
}

.checklist li {
  margin-bottom: 0.85rem;
}

.checklist li:last-child {
  margin-bottom: 0;
}

/* ── Newsletter ── */
.newsletter-section {
  background: var(--accent);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.newsletter-inner {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 720px) {
  .newsletter-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.newsletter-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  color: #fff;
}

.newsletter-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.newsletter-embed {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.newsletter-embed iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ── CTA banner ── */
.cta-banner {
  background: var(--accent-soft);
  border-top: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
}

.cta-banner h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.cta-banner p {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.cta-banner .btn {
  font-size: 1.15rem;
  padding: 1rem 2rem;
}

/* ── About page ── */
.about-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.about-photo {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}

.about-body h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.about-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* ── Classes page ── */
.class-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.9rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .class-card {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tag-accent {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  color: var(--accent);
}

.class-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.class-card p {
  margin: 0;
  color: var(--text-muted);
}

.class-price {
  text-align: right;
  flex-shrink: 0;
}

.price-amount {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.price-note {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.classes-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Booking page ── */
.booking-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .booking-grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}

.booking-info h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.booking-info p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.contact-methods {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-methods li {
  margin-bottom: 1.25rem;
}

.contact-methods strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.contact-methods a {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
}

.contact-methods a:hover {
  text-decoration: underline;
}

.calendly-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 680px;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 36rem;
}

/* ── Footer ── */
.site-footer {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-tint);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: baseline;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
}

.footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ── Responsive nav ── */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 0.25rem 1rem;
  }
}
