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

:root {
  --ink: #10203f;
  --blue: #1557ff;
  --blue-deep: #0b2f8a;
  --blue-soft: #eaf0ff;
  --gold: #f4b942;
  --gold-deep: #b87905;
  --coral: #ff6f61;
  --mint: #22b8a7;
  --paper: #fffaf0;
  --white: #ffffff;
  --muted: #5c6780;
  --border: rgba(16, 32, 63, .14);
  --radius: 8px;
  --shadow: 0 18px 50px rgba(16, 32, 63, .12);
  --font: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(37, 105, 196, .42), rgba(37, 105, 196, 0));
}

.nav {
  display: flex;
  gap: clamp(12px, 2.4vw, 28px);
  font-size: .9rem;
  font-weight: 700;
}

.nav a { opacity: .9; }
.nav a:hover { opacity: 1; text-decoration-color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 800 .95rem/1 var(--font);
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--primary:hover { background: #ffd166; border-color: #ffd166; }
.btn--outline { background: rgba(255,255,255,.08); color: var(--ink); border-color: currentColor; }
.btn--sm { min-height: 38px; padding: 9px 16px; font-size: .86rem; }
.btn--full { width: 100%; }

.messages {
  position: fixed;
  top: 78px;
  left: 50%;
  z-index: 20;
  width: min(92vw, 720px);
  transform: translateX(-50%);
}

.message {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.message--success { border-left: 5px solid var(--mint); }
.message--error { border-left: 5px solid var(--coral); }

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--blue-deep);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 84, 150, .78), rgba(94, 181, 226, .44) 54%, rgba(196, 231, 255, .12)),
    linear-gradient(0deg, rgba(25, 72, 130, .78), rgba(160, 220, 255, .08) 48%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  padding: 132px clamp(18px, 6vw, 72px) 86px;
  color: var(--white);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.meditation-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(.9rem, 1.4vw, 1.08rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.meditation-logo__mark {
  position: relative;
  width: 42px;
  aspect-ratio: 1;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(244, 185, 66, .16);
}

.meditation-logo__mark::before,
.meditation-logo__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
}

.meditation-logo__mark::before {
  top: 8px;
  width: 10px;
  height: 10px;
}

.meditation-logo__mark::after {
  bottom: 7px;
  width: 24px;
  height: 12px;
}

.hero-word {
  display: inline-block;
  font-size: 1.2em;
  color: #fff2a8;
  font-weight: 800;
  text-shadow: 0 3px 18px rgba(7, 22, 62, .38);
}

.hero__line {
  max-width: 900px;
  margin-top: 0;
  font-size: clamp(2rem, 5.4vw, 3.78rem);
  line-height: 1.13;
  color: rgba(255,255,255,.82);
  font-weight: 500;
}

.hero__text {
  max-width: 860px;
  margin-top: 24px;
  color: rgba(255,255,255,.84);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.28;
  font-weight: 700;
}

.hero__text span {
  display: block;
  margin-top: 12px;
  color: #fff2a8;
  font-size: .72em;
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero__more { color: var(--white); }
.hero__actions .btn--primary {
  background: #ffd43b;
  border-color: #ffd43b;
}
.hero__actions .btn {
  min-height: 66px;
  padding: 17px 33px;
  font-size: 1.43rem;
}

.section {
  padding: clamp(58px, 8vw, 104px) 0;
}

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

.section__heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section--intro .section__heading {
  max-width: 620px;
}

.section--intro .section__heading h2 {
  font-size: clamp(1.6rem, 4vw, 3.36rem);
  color: #71809d;
  font-weight: 500;
}

.section--intro .section__heading h2 span {
  display: inline-block;
  font-size: 1.2em;
  color: var(--blue-deep);
  font-weight: 800;
}

.section__heading--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.section--intro {
  background: var(--white);
}

.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.idea-card {
  display: grid;
  gap: 16px;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.idea-card:nth-child(2),
.idea-card:nth-child(3) {
  box-shadow: none;
}

.idea-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.idea-card p {
  padding: 0 4px;
  color: var(--muted);
  font-size: 1.02rem;
}

.idea-card strong {
  color: var(--ink);
  font-size: 1.16rem;
}

.story-section {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 12%, rgba(255,255,255,.34) 0 72px, rgba(255,255,255,0) 73px),
    radial-gradient(circle at 76% 14%, rgba(244,185,66,.24) 0 130px, rgba(244,185,66,0) 132px),
    linear-gradient(145deg, #07142f 0%, #102553 48%, #1b3f77 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.story-title {
  grid-column: 1 / -1;
  max-width: 980px;
  margin-bottom: 6px;
}

.story-title h2 span {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.7);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.2;
  font-weight: 600;
}

.story-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.story-copy p:not(.eyebrow) {
  color: rgba(255,255,255,.84);
  font-size: 1.06rem;
}

.bio-card {
  margin-top: 30px;
}

.bio-card p + p {
  margin-top: 16px;
}

.bio-card__full {
  clear: both;
}

.bio-photo {
  float: right;
  width: 132px;
  aspect-ratio: 1;
  margin: 0 0 14px 20px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.82);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 44px rgba(2, 16, 48, .22);
}

.story-tabs {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  counter-reset: story-tabs;
}

.story-accordion {
  display: none;
}

.story-tabs button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 212, 59, .46);
  border-radius: var(--radius);
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.08);
  font: 800 1rem/1.18 var(--font);
  text-align: left;
  font-weight: 800;
  line-height: 1.18;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
  counter-increment: story-tabs;
}

.story-tabs button::before {
  content: counter(story-tabs, decimal-leading-zero);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: #ffd43b;
  font-size: .78rem;
}

.story-tabs button:hover {
  background: rgba(255,255,255,.16);
}

#story-love:checked ~ .story-copy button[data-story-tab="story-love"],
#story-music:checked ~ .story-copy button[data-story-tab="story-music"],
#story-sport:checked ~ .story-copy button[data-story-tab="story-sport"],
#story-god:checked ~ .story-copy button[data-story-tab="story-god"],
#story-service:checked ~ .story-copy button[data-story-tab="story-service"] {
  color: var(--ink);
  background: #ffd43b;
  border-color: #ffd43b;
}

#story-love:checked ~ .story-copy button[data-story-tab="story-love"]::before,
#story-music:checked ~ .story-copy button[data-story-tab="story-music"]::before,
#story-sport:checked ~ .story-copy button[data-story-tab="story-sport"]::before,
#story-god:checked ~ .story-copy button[data-story-tab="story-god"]::before,
#story-service:checked ~ .story-copy button[data-story-tab="story-service"]::before {
  color: var(--white);
  background: var(--ink);
}

.story-panels {
  position: relative;
  min-height: 640px;
}

.story-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.story-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-panel__overlay {
  position: relative;
  z-index: 1;
  margin: 18px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 30, 72, .54), rgba(10, 30, 72, .82));
}

.story-panel__overlay p {
  color: rgba(255,255,255,.86);
  font-size: 1.02rem;
  line-height: 1.62;
}

.story-panel__heading {
  color: #ffd43b;
  font-weight: 800;
}

#story-love:checked ~ .story-panels .story-panel--love,
#story-music:checked ~ .story-panels .story-panel--music,
#story-sport:checked ~ .story-panels .story-panel--sport,
#story-god:checked ~ .story-panels .story-panel--god,
#story-service:checked ~ .story-panels .story-panel--service {
  opacity: 1;
  pointer-events: auto;
}

.teacher-section {
  background: #fff0f7;
}

.teacher-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
}

.teacher-photo {
  position: sticky;
  top: 96px;
  width: 100%;
  max-height: 420px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 12px 12px 0 #ffd1e5;
}

.teacher-photo--mobile {
  display: none;
}

.teacher-layout p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.teacher-lead {
  color: var(--ink) !important;
  font-size: clamp(1.45rem, 2.8vw, 2.4rem) !important;
  line-height: 1.12;
  font-weight: 800;
}

.events-section {
  color: var(--white);
  background: linear-gradient(135deg, #061632, #102b67 48%, #061632);
}

.events-section .eyebrow {
  color: #ffd43b;
}

.events-section .btn--outline {
  color: var(--white);
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-row {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.event-row__date {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.event-row__date span {
  margin-bottom: -16px;
  font-size: 1.45rem;
  font-weight: 800;
}

.event-row__date small {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.event-row__body p {
  margin-top: 3px;
  color: var(--muted);
}

.signup-section {
  background: #dff2ff;
  color: var(--ink);
}

.signup-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
}

.signup-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
}

.contact-form {
  padding: 26px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--gold);
}

.form-group { margin-bottom: 18px; }

.form-group label,
.form-label--block {
  display: block;
  margin-bottom: 7px;
  font-size: .88rem;
  font-weight: 800;
}

.contact-form input[type="text"],
.contact-form input[type="tel"] {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  font: 500 .98rem/1.2 var(--font);
}

.contact-form input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.form-error {
  display: block;
  margin-top: 5px;
  color: #b42318;
  font-size: .82rem;
  font-weight: 700;
}

.checkbox-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
}

.checkbox-list input[type="checkbox"],
.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.checkbox-with-input {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.own-city-input { min-width: 160px; }

.form-group--consent {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--blue-soft);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.consent-label span {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
  font-weight: 500;
}

.videos-section {
  background: var(--paper);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-grid iframe {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.instagram-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.muted {
  color: var(--muted);
  font-weight: 600;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 28px 18px;
  color: rgba(255,255,255,.72);
  background: #09142a;
  font-size: .88rem;
}

.footer a { color: var(--gold); }

@media (max-width: 860px) {
  .site-header {
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(18, 66, 150, .78), rgba(18, 66, 150, .08));
  }

  .nav {
    width: 100%;
    max-width: none;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 6px;
    font-size: .82rem;
  }

  .hero {
    min-height: 94svh;
  }

  .hero__content {
    width: 100%;
    padding: 104px 18px 56px;
  }

  .idea-grid,
  .story-grid,
  .teacher-layout,
  .signup-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .idea-card {
    min-height: 0;
  }

  .idea-card img {
    aspect-ratio: 16 / 10;
  }

  .bio-photo {
    width: 112px;
  }

  .story-tabs {
    margin-top: 22px;
  }

  .story-panels {
    min-height: 600px;
  }

  .teacher-photo {
    position: static;
    max-width: 260px;
  }

  .section__heading--row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav { gap: 8px 12px; font-size: .76rem; }

  .nav a {
    padding: 4px 0;
  }

  .hero__video {
    object-position: center top;
  }

  .hero__content {
    padding: 96px 28px 42px;
  }

  .hero h1 {
    font-size: clamp(1.36rem, 7.2vw, 2.16rem);
    max-width: 95vw;
  }

  .hero__line {
    font-size: clamp(1.24rem, 6.6vw, 1.78rem);
    margin-top: 18px;
  }

  .hero__text {
    font-size: 1rem;
    margin-top: 14px;
  }

  .hero__actions .btn {
    min-height: 54px;
    padding: 14px 20px;
    font-size: 1.08rem;
  }

  .hero__actions,
  .hero__actions .btn {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .section__inner {
    width: min(100% - 56px, 1120px);
  }

  .section--intro .section__heading h2,
  h2 {
    line-height: 1.04;
  }

  .idea-grid {
    gap: 26px;
  }

  .idea-card {
    gap: 12px;
  }

  .idea-card img {
    aspect-ratio: 1.25 / 1;
    width: min(80%, 360px);
    justify-self: center;
  }

  .event-row {
    grid-template-columns: 58px 1fr;
  }

  .event-row .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .event-row__date {
    width: 54px;
    height: 54px;
  }

  .contact-form {
    padding: 20px;
    box-shadow: 7px 7px 0 var(--gold);
  }

  .checkbox-with-input {
    grid-template-columns: 1fr;
  }

  .bio-photo {
    width: 118px;
    margin: 0 0 12px 16px;
  }

  .teacher-photo {
    position: static;
    float: right;
    width: min(42%, 160px);
    max-width: 160px;
    margin: 0 0 14px 18px;
  }

  .teacher-photo--desktop {
    display: none;
  }

  .teacher-photo--mobile {
    display: block;
  }

  .story-tabs,
  .story-panels {
    display: none;
  }

  .story-accordion {
    display: grid;
    gap: 12px;
  }

  .story-accordion details {
    overflow: hidden;
    border: 1px solid rgba(255, 212, 59, .46);
    border-radius: var(--radius);
    background: rgba(255,255,255,.08);
  }

  .story-accordion summary {
    padding: 12px 14px;
    color: rgba(255,255,255,.9);
    font: 800 .9rem/1.2 var(--font);
    cursor: pointer;
  }

  .story-accordion details[open] summary {
    color: var(--ink);
    background: #ffd43b;
  }

  .story-accordion__panel {
    display: grid;
    gap: 0;
    background: rgba(7, 20, 47, .72);
  }

  .story-accordion__panel img {
    width: 100%;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
  }

  .story-accordion__panel p {
    padding: 16px;
    color: rgba(255,255,255,.86);
    font-size: .94rem;
    line-height: 1.52;
  }

  .story-tabs button {
    grid-template-columns: 30px 1fr;
    gap: 9px;
    padding: 10px 11px;
    font-size: .88rem;
  }

  .story-tabs button::before {
    width: 30px;
    height: 30px;
    font-size: .7rem;
  }

  .story-panels {
    min-height: 660px;
  }

  .story-panel__overlay {
    margin: 12px;
    padding: 16px;
    max-height: calc(100% - 24px);
    overflow-y: auto;
  }

  .story-panel__overlay p {
    font-size: .94rem;
    line-height: 1.52;
  }

  .signup-grid {
    gap: 28px;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }
}
