:root {
  --bg: #f7f3ea;
  --surface: #fffdf8;
  --surface-2: #edf7f5;
  --ink: #17232f;
  --muted: #5f6d73;
  --line: #dbe7e4;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --blue: #214e73;
  --slate: #132836;
  --gold: #c4903f;
  --rust: #a35134;
  --shadow: 0 22px 70px rgba(19, 40, 54, 0.12);
  --font-base: "Afacad", "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-heading: "the-seasons", Georgia, "Times New Roman", serif;
  --font-accent: "Space Grotesk", "Poppins", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-base);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(247, 243, 234, 0.82);
  border-bottom: 1px solid rgba(219, 231, 228, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal), var(--blue));
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--slate);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.button,
.nav-cta,
.section-link {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.button.primary,
.nav-cta,
.section-link {
  background: var(--teal);
  color: white;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.2);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
  color: var(--teal-dark);
}

.button:hover,
.nav-cta:hover,
.section-link:hover {
  transform: translateY(-1px);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section-block {
  padding: clamp(68px, 9vw, 106px) 0;
}

.hero {
  background:
    radial-gradient(circle at 10% 15%, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(135deg, #f9f4e9 0%, #eef7f4 56%, #f7f3ea 100%);
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(58px, 8vw, 92px) 0;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  line-height: 1.05;
  font-weight: 700;
}

h1 {
  font-size: clamp(3.25rem, 7vw, 7.3rem);
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 4.1rem);
}

h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.18rem;
}

.hero-subhead {
  max-width: 620px;
  margin: 24px 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.32rem);
}

.hero-actions,
.metric-pills,
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metric-pills {
  margin: 34px 0 0;
}

.metric-pills div {
  min-width: 130px;
  padding: 12px 16px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.metric-pills dt {
  color: var(--teal-dark);
  font-size: 1.18rem;
  font-weight: 900;
}

.metric-pills dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p,
.research-panel p,
.founder-layout p,
.community-layout p {
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-grid,
.event-grid,
.testimonial-grid,
.blog-grid,
.research-grid {
  display: grid;
  gap: 20px;
}

.feature-grid,
.testimonial-grid,
.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.event-card,
.form-panel,
.teacher-panel,
.research-panel,
.testimonial-card,
.blog-card,
.question-panel,
details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(19, 40, 54, 0.07);
}

.feature-card {
  padding: 26px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--teal-dark);
  font-family: var(--font-accent);
  font-weight: 900;
}

.feature-card p,
.event-card p,
.testimonial-card p,
.blog-author span,
details p {
  color: var(--muted);
}

.event-band,
.resource-band {
  background: #eef7f4;
  border-block: 1px solid var(--line);
}

.event-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.event-card {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.event-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.type-tag,
.blog-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: #d7f0ec;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.type-tag.online,
.founder-legacy {
  background: #e6eef8;
  color: var(--blue);
}

.event-time {
  display: grid;
  gap: 2px;
  padding: 18px;
  border-radius: 12px;
  background: var(--slate);
  color: white;
}

.event-time strong {
  font-size: 1.45rem;
  line-height: 1.1;
}

.event-time span {
  color: #cfe7e4;
  font-weight: 700;
}

.registration-panel {
  scroll-margin-top: 110px;
}

.form-panel {
  padding: clamp(24px, 4vw, 34px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

label {
  display: grid;
  gap: 7px;
  color: var(--slate);
  font-size: 0.94rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfdedb;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.25);
  outline-offset: 3px;
}

.choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
  padding: 16px;
  border: 1px solid #cfdedb;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
}

.choice-group legend {
  padding: 0 8px;
  color: var(--slate);
  font-size: 0.94rem;
  font-weight: 900;
}

.choice-group label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.choice-group input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.full-width {
  grid-column: 1 / -1;
  width: 100%;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: stretch;
}

.teacher-panel {
  overflow: hidden;
}

.teacher-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.teacher-panel div,
.research-panel {
  padding: clamp(24px, 4vw, 34px);
}

.teacher-panel span {
  color: var(--teal);
  font-weight: 900;
}

.research-panel {
  display: grid;
  align-content: center;
}

.research-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

.research-grid div {
  padding: 18px;
  border-radius: 14px;
  background: var(--surface-2);
}

.research-grid strong,
.research-grid span {
  display: block;
}

.research-grid strong {
  color: var(--blue);
  font-size: 1.7rem;
  font-weight: 900;
}

.research-grid span {
  color: var(--muted);
}

.heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial-card {
  display: grid;
  min-height: 310px;
  align-content: space-between;
  padding: 26px;
}

.testimonial-card p {
  margin: 0;
  font-size: 1.04rem;
}

.testimonial-profile,
.blog-author {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.testimonial-profile img,
.author-avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.testimonial-profile img {
  object-fit: cover;
}

.author-avatar {
  display: grid;
  place-items: center;
  background: var(--slate);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.testimonial-card strong,
.testimonial-card span,
.blog-author strong,
.blog-author span {
  display: block;
}

.testimonial-card strong {
  color: var(--teal-dark);
}

.blog-heading-row {
  margin-top: 70px;
}

.blog-card {
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(19, 40, 54, 0.12);
}

.blog-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dcece8;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-meta {
  align-items: center;
  padding: 18px 20px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.special-events {
  background: #f2e3c5;
  color: #7a4d0c;
}

.helpful-articles {
  background: #d7f0ec;
  color: var(--teal-dark);
}

.blog-card h3 {
  min-height: 96px;
  margin: 12px 20px 0;
  font-family: var(--font-heading);
  font-size: clamp(1.22rem, 2vw, 1.46rem);
  line-height: 1.18;
}

.blog-card h3 a:hover {
  color: var(--teal);
}

.blog-author {
  padding: 0 20px 22px;
}

.blog-author strong {
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.founder-band {
  background: linear-gradient(135deg, #173447, #102530);
  color: white;
}

.founder-band h2,
.founder-band .eyebrow {
  color: white;
}

.founder-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 760px);
  gap: 24px;
  align-items: center;
}

.portrait {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #f5dfad;
  font-family: var(--font-heading);
  font-size: 2.2rem;
}

.founder-layout p {
  color: #d7e8e6;
}

.community-band {
  background: var(--slate);
  color: white;
}

.community-band h2,
.community-band .eyebrow {
  color: white;
}

.community-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.community-layout p {
  color: #c8d7d5;
}

.schedule-list {
  display: grid;
  gap: 14px;
}

.schedule-list a {
  display: grid;
  gap: 5px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.schedule-list span {
  color: #c8d7d5;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.accordion {
  display: grid;
  gap: 14px;
}

details {
  padding: 0;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--slate);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
}

.question-panel {
  position: sticky;
  top: 96px;
  padding: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.legal-copy {
  max-width: 880px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #063d1f;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 18px;
  box-shadow: 0 14px 34px rgba(10, 82, 44, 0.25);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal[aria-hidden="false"] {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 40, 54, 0.58);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-dialog form {
  display: grid;
  gap: 15px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 18px 20px;
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero-layout,
  .event-grid,
  .trust-layout,
  .community-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .testimonial-grid,
  .blog-grid,
  .research-grid {
    grid-template-columns: 1fr;
  }

  .question-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.1rem);
  }

  .hero-actions .button,
  .hero-actions a,
  .event-card .button {
    width: 100%;
  }

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

  .choice-group {
    grid-template-columns: 1fr;
  }

  .heading-row,
  .founder-layout {
    display: grid;
  }

  .site-footer {
    display: grid;
    padding-bottom: 82px;
  }
}
