/* =========================================================
   GOOGLE FONTS (Lora + Plus Jakarta Sans)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

/* =========================================================
   SITE THEME VARIABLES — Edit colors, fonts & spacing here
   ========================================================= */
:root {
  /* Colors */
  --color-mauve-light: #C69FA1;   /* Section 2 (About) background */
  --color-mauve-deep:  #A87D7E;   /* Section 4 (Courses) background */
  --color-blush-bg:    #F4EEEE;   /* Section 5 (Classes) background */
  --color-footer-bg:   #1F1C1B;   /* Footer background */
  --color-cream:       #F3EFEA;   /* Solid light button background */
  --color-cream-hover: #E5DDD3;

  --color-ink-dark:    #2D2424;   /* Primary dark text & headings */
  --color-ink-muted:   #4A3F3F;   /* Secondary body text on light bg */
  --color-white:       #FFFFFF;

  /* Typography */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Spacing */
  --container-max: 1140px;
  --section-pad-y: clamp(4rem, 7vw, 6.5rem);
  --radius-card:   18px;
  --radius-btn:    4px;
  --transition:    0.25s ease;
}

/* =========================================================
   RESET & BASE STYLES
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-ink-dark);
  background-color: var(--color-blush-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(90%, var(--container-max));
  margin-inline: auto;
}

.empty-offers-msg {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1rem;
  padding-block: 1.5rem;
  opacity: 0.9;
}

/* =========================================================
   SHARED TYPOGRAPHY & BUTTONS
   ========================================================= */
.section-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.text-dark {
  color: var(--color-ink-dark);
}

.text-light {
  color: var(--color-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-btn);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Outlined white button (Sections 1 & 6) */
.btn-outline-light {
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background-color: rgba(0, 0, 0, 0.14);
}

.btn-outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-ink-dark);
}

/* Outlined dark button (Section 2) */
.btn-outline-dark {
  color: var(--color-ink-dark);
  border: 1.5px solid rgba(45, 36, 36, 0.65);
  background-color: transparent;
}

.btn-outline-dark:hover {
  background-color: var(--color-ink-dark);
  color: var(--color-white);
}

/* Solid cream button (Section 3) */
.btn-solid-cream {
  background-color: var(--color-cream);
  color: var(--color-ink-dark);
  border: 1.5px solid var(--color-cream);
  line-height: 1.25;
  padding: 0.8rem 2rem;
}

.btn-solid-cream:hover {
  background-color: var(--color-cream-hover);
  border-color: var(--color-cream-hover);
}

/* =========================================================
   SECTION 1: HERO (Centered)
   ========================================================= */
.section-hero {
  position: relative;
  min-height: clamp(540px, 85vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 18, 0.34);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-block: var(--section-pad-y);
}

.hero-content {
  max-width: 620px;
  text-align: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.85rem, 6vw, 4.65rem);
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.45;
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   SECTION 2: ABOUT / BIO
   ========================================================= */
.section-about {
  background-color: var(--color-mauve-light);
  padding-block: var(--section-pad-y);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.about-media {
  display: flex;
  justify-content: center;
}

.about-portrait {
  width: min(100%, 400px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.about-content .section-heading {
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-ink-dark);
  margin-bottom: 1.25rem;
}

.about-cta {
  margin-top: 2rem;
}

/* =========================================================
   SECTION 3: 1:1 SUPPORT BANNER (Centered)
   ========================================================= */
.section-support {
  position: relative;
  min-height: clamp(500px, 75vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
}

.support-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.support-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 22, 18, 0.40);
  z-index: 1;
}

.support-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-block: var(--section-pad-y);
}

.support-content {
  max-width: 640px;
  text-align: center;
}

.support-quote {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
  margin-bottom: 2rem;
}

/* =========================================================
   SECTION 4: COURSES & PROGRAMS
   ========================================================= */
.section-courses {
  background-color: var(--color-mauve-deep);
  color: var(--color-white);
  padding-block: var(--section-pad-y);
}

.section-courses .section-heading {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 3.5vw, 3rem);
}

.course-card {
  text-align: center;
}

.card-link-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition);
}

.card-link-wrap:hover {
  transform: translateY(-4px);
}

.course-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.course-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card-link-wrap:hover .course-thumb-wrap img {
  transform: scale(1.03);
}

.course-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

.course-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 310px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.course-meta {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* =========================================================
   SECTION 5: CLASSES
   ========================================================= */
.section-classes {
  background-color: var(--color-blush-bg);
  color: var(--color-ink-dark);
  padding-block: var(--section-pad-y);
}

.section-classes .section-heading {
  text-align: center;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  gap: clamp(2.25rem, 4vw, 3.5rem) clamp(2rem, 4vw, 4rem);
}

.class-link-wrap {
  display: grid;
  grid-template-columns: minmax(160px, 235px) 1fr;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 520px;
  gap: 1.5rem;
  transition: transform var(--transition);
}

.class-link-wrap:hover {
  transform: translateY(-3px);
}

.class-thumb-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(45, 36, 36, 0.08);
}

.class-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.class-link-wrap:hover .class-thumb-wrap img {
  transform: scale(1.03);
}

.class-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  line-height: 1.2;
  color: var(--color-ink-dark);
  margin-bottom: 0.75rem;
}

.class-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-ink-muted);
  margin-bottom: 1rem;
}

.class-meta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ink-dark);
}

/* =========================================================
   SECTION 6: SUBSTACK / WRITING (Left Aligned)
   ========================================================= */
.section-writing {
  position: relative;
  min-height: clamp(480px, 75vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
}

.writing-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.writing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(24, 18, 14, 0.55) 0%,
    rgba(24, 18, 14, 0.30) 55%,
    rgba(24, 18, 14, 0.15) 100%
  );
  z-index: 1;
}

.writing-inner {
  position: relative;
  z-index: 2;
  padding-block: var(--section-pad-y);
}

.writing-content {
  max-width: 520px;
  text-align: left;
}

.writing-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  margin-bottom: 1rem;
}

.writing-subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.5;
  max-width: 400px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-cream-hover);
  padding-block: 1.5rem;
  font-size: 0.6875rem; /* 11px */
  line-height: 1.5;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
}

.footer-copy {
  font-size: 0.6875rem; /* 11px */
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.6875rem; /* 11px */
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile)
   ========================================================= */

/* Tablet (960px and below) */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-portrait {
    width: min(72vw, 320px);
  }

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

  .classes-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {
  .hero-content,
  .about-content,
  .support-content {
    padding-inline: 1.25rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .class-link-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .class-thumb-wrap {
    max-width: 360px;
    margin-inline: auto;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}
