/* ─────────────────────────────────────────────────────────────
   Eunoia Lune Yoga — Landing page
   ───────────────────────────────────────────────────────────── */

:root {
  --ey-paper:    #EDEDE8;
  --ey-paper-2:  #E3E3DB;
  --ey-btn:      #D3D1C9;
  --ey-ink:      #5D5B51;
  --ey-ink-soft: #84827d;
  --ey-line:     #C8C4B8;

  --ey-serif: "IBM Plex Serif", Georgia, serif;
  --ey-mono:  "IBM Plex Mono", ui-monospace, monospace;

  --ey-section-padding: 80px 106px;
  --ey-col-right-padding-left: 106px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
html, body { margin: 0; padding: 0; }
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
body {
  background: var(--ey-paper);
  color: var(--ey-ink);
  font-family: var(--ey-mono);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Logo ─────────────────────────────────────────────────── */
.logo { display: inline-block; line-height: 0; -webkit-tap-highlight-color: transparent; }
.logo img { display: block; height: 100%; width: auto; }
.logo--header { height: 32px; }
.logo--header img { height: 32px; }

/* Fix 4: footer logo larger */
.logo--footer { height: 124px; }
.logo--footer img { height: 124px; width: auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 10px 10px 10px 0;
  margin-left: 0;
  font-family: var(--ey-mono);
  font-weight: 400;
  font-size: 16px;
  color: var(--ey-ink);
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  word-spacing: -0.05em;
}
.btn-primary::before {
  content: "·";
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
}
.btn-primary span {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
/* Book a Class button — bordered pill */
.btn-book {
  background: transparent;
  border: 0.5px solid #615F56;
  border-radius: 14px;
  padding: 6px 20px;
  width: auto;
  align-self: flex-start;
  justify-content: center;
}
.btn-book::before {
  display: none;
}
.header .btn-book::before,
.nav-mobile .btn-book::before {
  display: inline;
  font-weight: 700;
}
.btn-book span {
  text-decoration: none;
}
.btn-book:hover span {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.header .btn-book { align-self: center; }
.hero__overlay .btn-book { background: rgba(237, 237, 232, 0.45); border-color: rgba(93, 91, 81, 0.6); margin-left: -4px; }
/* button_light — for use on dark backgrounds */
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 10px 10px 10px 0;
  margin-left: 0;
  font-family: var(--ey-mono);
  font-weight: 400;
  font-size: 16px;
  color: #FBFBFA;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
}
.btn-light::before {
  content: "•";
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.btn-light span {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ── Headings — IBM Plex Mono Light Italic ─────────────────── */
/* heading-h2: section titles (31px) */
.heading-serif {
  font-family: var(--ey-mono);
  font-style: italic;
  font-weight: 300;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ey-ink);
  margin: 0;
}
h2.heading-serif {
  text-decoration: none;
  margin-bottom: 32px;
  word-spacing: -0.1em;
  margin-left: -5px;
}
h2.heading-serif > span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: auto;
}
.heading-serif::first-letter {
  letter-spacing: 0.08em;
}
/* heading-h3: subsection titles (24px) */
.heading-serif-sm {
  font-family: var(--ey-mono);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ey-ink);
  margin: 0 0 10px 0;
}
.heading-serif-sm span {
  font-weight: 200;
  font-size: 21px;
  display: block;
}

/* ── Legacy CTA (kept for any remaining usage) ─────────────── */
.cta {
  font-family: var(--ey-mono);
  font-weight: 300;
  font-size: 14px;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
.cta::before {
  content: "\2022";
  font-weight: 900;
  font-size: 1.3em;
  line-height: 0.9;
  color: inherit;
  position: relative;
  top: -0.05em;
}
.cta > span {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ── Read more link ─────────────────────────────────────────── */
.read-more {
  font-family: var(--ey-mono);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: var(--ey-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
.read-more::before {
  content: "\2022";
  font-style: normal;
  font-weight: 900;
  font-size: 1.3em;
  line-height: 0.9;
  color: inherit;
  position: relative;
  top: -0.05em;
}
.read-more > span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
}

/* ── Body copy ──────────────────────────────────────────────── */
/* p1 — short paragraphs: hero subline, service descriptions */
.p1, .hero__overlay p {
  font-family: var(--ey-mono);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ey-ink);
}
/* p2 — medium body paragraphs */
.body-copy {
  font-family: var(--ey-mono);
  font-weight: 300;
  font-size: 15px;
  line-height: 25px;
  letter-spacing: 0;
  color: var(--ey-ink);
}
.body-copy p { margin: 0 0 1.1em 0; }
.body-copy p:last-child { margin-bottom: 0; }

/* ── HEADER ─────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 48px;
  background: var(--ey-paper);
  transition: transform 0.3s ease;
}
.header nav {
  display: flex;
  gap: 25px;
  font-family: var(--ey-mono);
  font-weight: 400;
  font-size: 16px;
}
.header nav a { color: var(--ey-ink); }
.header nav a:hover,
.header nav a.nav-active { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; color: var(--ey-ink); }
.header .btn-primary { font-size: 16px; }
.header .btn-primary::before { font-size: 16px; }

/* ── Hamburger toggle ──────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ey-ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile nav overlay ────────────────────────────────────── */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ey-paper);
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 100px 40px 60px;
  gap: 12px;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  font-family: var(--ey-mono);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: var(--ey-ink);
  text-decoration: none;
  line-height: 1.3;
}
.nav-mobile a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-mobile .btn-primary { font-size: 16px; margin-top: 24px; }
.nav-mobile .btn-book { align-self: flex-end; }

/* ── 1. HERO ─ */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
  overflow: hidden;
  background: var(--ey-paper-2);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 4%;
  transform: scale(1.12);
}
.hero-text-mobile { display: none !important; }
.hero__overlay {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 106px 120px 106px;
  text-align: left;
  color: #3d3b33;
}
/* h1 — hero headline */
.hero__overlay h1 {
  font-family: var(--ey-mono);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-spacing: -0.05em;
  margin: 0 0 20px 0;
  color: inherit;
}
/* p1 on hero — subline */
.hero__overlay p {
  font-family: var(--ey-mono);
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  color: inherit;
}

/* ── 2. PHILOSOPHY — section 3 (odd) → #EDEDE8 ─────────────────── */
.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  height: 50vh;
  align-items: center;
  background: var(--ey-paper-2);
}

/* Left panel: descriptor SVG centered in column */
.philosophy__descriptor {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 48px;
  padding-right: 48px;
  box-sizing: border-box;
}
.descriptor-img {
  display: block;
  width: 141px;
  height: auto;
  flex-shrink: 0;
}

/* Right panel: vertically centered */
.philosophy__copy {
  padding-left: 106px;
  padding-right: 48px;
  box-sizing: border-box;
}

/* ── 3. WAYS TO PRACTICE — section 4 (even) → #E3E3DB ──────────────── */
.ways {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--ey-paper-2);
  padding: 80px 48px;
}
.ways__right {
  padding: 0 48px 0 106px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ways__heading {
  text-align: left;
  margin-bottom: 0;
}
.ways__item {
  margin-bottom: 36px;
}
/* service descriptions use p2 style */
.ways__desc {
  font-weight: 300;
  font-size: 15px;
  line-height: 25px;
  letter-spacing: 0;
  color: var(--ey-ink);
  max-width: 486px;
  margin: 0;
}
.body-copy.ways__desc {
  font-weight: 300;
}
.ways__item:last-of-type {
  margin-bottom: 0;
}
.ways__cta {
  margin-top: 24px;
  display: inline-flex;
}

/* ── 4. ABOUT FIONA — section 5 (odd) → #EDEDE8 ───────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  overflow: hidden;
  background: var(--ey-paper);
}
.about__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 106px;
}
/* about heading inherits heading-serif (h2, 35px) */
.about__heading {
  margin-bottom: 32px;
}
/* fix #6: button_primary spec — no inline style; spacing handled here */
.about__copy .btn-primary {
  margin-top: 24px;
}
.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}

/* ── 5. UPCOMING CLASSES — section 6 (even) → #E3E3DB ────────────────────────────────────── */
.upcoming {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 48px;
  background: var(--ey-paper-2);
}
.upcoming__right {
  padding-left: 106px;
  padding-right: 48px;
  max-width: 460px;
}
.upcoming__heading {
  margin-bottom: 24px;
}
.upcoming__list {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 28px;
  row-gap: 32px;
  font-family: var(--ey-mono);
  font-size: 14px;
  margin-top: 24px;
}
.upcoming__time {
  color: var(--ey-ink);
  padding-top: 2px;
  white-space: nowrap;
}
.upcoming__details { font-family: var(--ey-mono); font-weight: 300; }
.upcoming__day {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
  margin-bottom: 2px;
}
.upcoming__where { color: var(--ey-ink); }
.upcoming__class {
  font-style: italic;
  color: var(--ey-ink-soft);
  font-size: 12px;
  margin-top: 2px;
}
.upcoming__cta { margin-top: 48px; display: inline-flex; }

/* ── FOOTER — #EDEDE8, no border, 2-row layout ──────── */
.footer {
  padding: 100px 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: var(--ey-paper);
  border-top: none;
  font-family: var(--ey-mono);
  font-weight: 300;
  font-size: 15px;
  color: var(--ey-ink-soft);
}
.footer__contact {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}
.footer__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 2;
  text-align: right;
}
.footer__info p { margin: 0; color: var(--ey-ink); }
.footer__info a { color: var(--ey-ink); }
.footer__info a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  color: var(--ey-ink);
}
.footer__info .dot-sep { margin: 0 4px; opacity: 0.55; }
.footer__bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  opacity: 0.6;
}
.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.footer__bottom a { color: var(--ey-ink-soft); }
.footer__bottom a:hover { color: var(--ey-ink); }
.footer__bottom .dot-sep { margin: 0 4px; opacity: 0.55; }
.footer__bottom p { margin: 0; }
.footer__legal {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
}
.footer__legal a { color: var(--ey-ink-soft); white-space: nowrap; }
.footer__legal a:hover { color: var(--ey-ink); }
.footer__legal .dot-sep { margin: 0 4px; opacity: 0.55; }

/* ── Interest buttons (subject of interest in contact form) ──── */
.btn-interest {
  font-size: 14px;
  font-weight: 300;
  padding: 2px 0;
}
.btn-interest::before {
  font-size: 14px;
  font-weight: 300;
}
.btn-interest span {
  text-decoration: none;
  font-weight: 300;
}
.btn-interest.selected span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 10px 10px 10px 0;
  font-family: var(--ey-mono);
  font-weight: 400;
  font-size: 16px;
  color: var(--ey-ink);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-submit::before {
  content: "•";
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.btn-submit span {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ── Contact Form ────────────────────────────────────────────── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}
.form-field label {
  font-family: var(--ey-mono);
  font-size: 14px;
  font-weight: 300;
  color: var(--ey-ink);
  opacity: 0.7;
}
.form-field input,
.form-field textarea {
  font-family: var(--ey-mono);
  font-size: 15px;
  font-weight: 300;
  color: var(--ey-ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--ey-line);
  border-radius: 0;
  outline: none;
  padding-bottom: 8px;
  width: 100%;
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--ey-ink); }
.field-error {
  font-family: var(--ey-mono);
  font-size: 12px;
  font-weight: 300;
  color: #b04040;
  display: none;
  margin-top: 2px;
}
.field-error.visible { display: block; }
.form-field input.input-error { border-bottom-color: #b04040; }
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 8px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ey-mono);
  font-size: 13px;
  font-weight: 300;
  color: var(--ey-ink);
}
.checkbox-item input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border: 1px solid var(--ey-ink);
  border-radius: 0;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox-item input[type="checkbox"]:checked { background: var(--ey-ink); }

/* ── Layout utilities ────────────────────────────────────────── */
.section-block {
  padding: var(--ey-section-padding);
}
.col-right {
  padding-left: var(--ey-col-right-padding-left);
  padding-right: var(--ey-col-right-padding-left);
}

/* ── Full-screen standalone images ──────────────────────────── */
.full-img {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* ── Two-column section grid ─────────────────────────────────── */
.s-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── Events page layout ──────────────────────────────────────── */
.events-intro { padding: 20px 106px; }
.events-past { padding: 80px 106px; }
.events-past__header-grid { display: none !important; }
.past-events-card-title { display: block; }
.event-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .header { padding: 0 33px; z-index: 101; position: sticky; top: 0; align-items: center; height: 70px; }
  .logo--header { display: flex; align-items: center; }
  .header nav { display: none; }
  .header > .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .hero { height: calc(100vh - 70px); margin-top: 0; }
  .hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
  .full-img { height: 100vh; }
  .hero__overlay { display: none; }
  .hero-text-mobile { display: grid !important; }
  .philosophy { grid-template-columns: 1fr; height: auto; }
  .philosophy__descriptor { padding: 110px 33px 60px; justify-content: flex-start; }
  .philosophy__copy { padding: 0 33px 110px; }
  .ways { grid-template-columns: 1fr; height: auto; padding: 60px 33px; }
  .ways__right { padding: 0; }
  .ways__heading { text-align: left; }
  .about { grid-template-columns: 1fr; height: auto; }
  .about__copy { padding: 60px 33px; order: 2; }
  .about__img { height: 100vh; order: 1; }
  .upcoming { grid-template-columns: 1fr; min-height: auto; padding: 60px 33px; }
  .upcoming__right { padding: 0; max-width: none; }
  .footer { padding: 72px 33px 48px; gap: 80px; font-size: 15px; }
  .footer__contact { flex-direction: column; gap: 100px; }
  .footer__info { text-align: left; font-size: 15px; }
  .footer__bottom { flex-direction: column; gap: 8px; font-size: 14px; margin-top: 20px; }
  .footer__bottom nav { width: 100%; justify-content: flex-start; gap: 16px; flex-wrap: nowrap; }
  .footer__bottom nav .dot-sep { display: none; }
}

/* ── CLASSES PAGE ───────────────────────────────────────────── */

/* Hero */
.classes-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ey-paper-2);
}
.classes-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  align-self: stretch;
  min-height: 0;
}
.classes-hero__overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 106px 70px 106px;
  color: var(--ey-ink);
}
.classes-hero__overlay p {
  max-width: 700px;
}
.private-hero-p {
  max-width: 650px !important;
}
.classes-hero__overlay h1 {
  font-family: var(--ey-mono);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-spacing: -0.05em;
  margin: 0 0 20px 0;
  color: inherit;
}
.classes-hero__overlay .body-copy {
  margin: 0 0 40px 0;
}
.classes-hero__overlay .btn-primary::before {
  display: none;
}

/* Schedule placeholder */

/* Class Descriptions */
.class-desc {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  align-content: center;
  padding: 80px 106px;
  background: var(--ey-paper-2);
  gap: 60px;
}
.class-desc__label {
  align-self: start;
  padding-top: 0;
}
.class-desc__items {
  display: flex;
  flex-direction: column;
}
.class-desc__item + .class-desc__item {
  margin-top: 72px;
}
.class-desc__item h3 {
  margin-bottom: 20px;
}
.class-desc__meta {
  margin-top: 20px;
  font-style: italic;
  font-weight: 400;
  opacity: 0.8;
}

/* Pricing */
.pricing {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  align-content: center;
  padding: 80px 106px;
  background: var(--ey-paper);
  gap: 60px;
}
.pricing__label {
  align-self: start;
  padding-top: 0;
}
.pricing__items {
  display: flex;
  flex-direction: column;
}
.pricing__item + .pricing__item {
  margin-top: 56px;
}
.pricing__item h3 {
  margin-bottom: 12px;
}

/* Cancellation */
.cancellation {
  min-height: 50vh;
  background: var(--ey-paper-2);
  padding: 80px 106px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  align-content: center;
  gap: 60px;
}
.cancellation__inner {
  max-width: 740px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cancellation__summary {
  margin: 0 0 24px 0;
  align-self: stretch;
}
.cancellation__detail {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ey-line);
}
.cancellation__detail p {
  margin: 0 0 16px 0;
}
.cancellation__toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* ── POP-UP (A) ─────────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(93, 91, 81, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.popup-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.popup {
  background: var(--ey-paper);
  width: min(680px, 90vw);
  height: 360px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  padding: 60px;
  gap: 40px;
  position: relative;
}
.popup__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.popup__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.popup__top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.popup__footer {
  display: flex;
  align-items: center;
  gap: 16px;
}
.popup__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--ey-ink-soft);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.popup__datetime {
  font-family: var(--ey-mono);
  font-size: 18px;
  font-weight: 200;
  color: var(--ey-ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
  letter-spacing: 0.05em;
  margin: 0;
}
.popup__name {
  font-family: var(--ey-mono);
  font-weight: 300;
  font-style: italic;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 4px 0;
}
.popup__location {
  font-family: var(--ey-mono);
  font-weight: 200;
  font-style: italic;
  font-size: 20px;
  color: var(--ey-ink-soft);
  margin: 0;
}
.popup__price {
  font-family: var(--ey-mono);
  font-weight: 300;
  font-style: italic;
  font-size: 18px;
  margin: 0;
}

/* ── BOOKING PAGE (B) ──────────────────────────────────────── */
.booking-overlay {
  position: fixed;
  inset: 0;
  background: rgba(93, 91, 81, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  overflow-y: auto;
}
.booking-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.booking-page {
  background: var(--ey-paper);
  width: min(1000px, 92vw);
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 72px 60px;
  gap: 60px;
  position: relative;
  margin: auto;
}
.booking-page__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--ey-ink-soft);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.booking-page__datetime {
  font-family: var(--ey-mono);
  font-size: 13px;
  font-weight: 300;
  color: var(--ey-ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
  margin: 0 0 10px 0;
}
.booking-page__name {
  margin: 0 0 6px 0;
}
.booking-page__location {
  color: var(--ey-ink-soft);
  font-style: italic;
  margin: 0 0 48px 0;
}
.booking-page__policy {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.8;
}
.booking-page__policy p { margin: 0; }
.booking-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.booking-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ey-mono);
  font-size: 14px;
  font-weight: 300;
  color: var(--ey-ink);
  cursor: pointer;
}
.booking-radio input[type="radio"],
.booking-radio input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border: 1px solid var(--ey-ink);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.booking-radio input[type="checkbox"] {
  border-radius: 0;
}
.booking-radio input[type="radio"]:checked,
.booking-radio input[type="radio"][data-checked="true"],
.booking-radio input[type="checkbox"]:checked {
  background: var(--ey-ink);
}
.booking-radio span {
  text-decoration: none;
}
.booking-radio input[type="radio"]:checked + span,
.booking-radio input[type="radio"][data-checked="true"] + span,
.booking-radio input[type="checkbox"]:checked + span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
}
.booking-radio input[type="radio"]:checked + span:has(.booking-radio__label),
.booking-radio input[type="radio"][data-checked="true"] + span:has(.booking-radio__label) {
  text-decoration: none;
}
.booking-radio input[type="radio"]:checked + span .booking-radio__label,
.booking-radio input[type="radio"][data-checked="true"] + span .booking-radio__label {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
}
.booking-policy-check span {
  font-size: 14px;
}
.booking-policy-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.booking-page__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--ey-line);
}
.booking-page__price {
  font-style: italic;
}

/* ── Classes page responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .classes-hero { display: flex; flex-direction: column; height: auto; margin-top: 0; }
  .classes-hero__img { position: static; inset: auto; width: 100%; height: calc(100vh - 70px); object-fit: cover; }
  .classes-hero__overlay { position: static; inset: auto; width: 100%; padding: 60px 33px; color: var(--ey-ink); background: var(--ey-paper); }
  .classes-hero__overlay h1 { margin-bottom: 20px; }
  .classes-hero__overlay .body-copy,
  .classes-hero__overlay .btn-primary { color: var(--ey-ink); }
  .class-desc, .pricing { grid-template-columns: 1fr; padding: 60px 33px; gap: 40px; min-height: auto; }
  .cancellation { grid-template-columns: 1fr; padding: 60px 33px; gap: 16px; }
  .cancellation__inner { margin-left: 0; }
  .cancellation__summary { margin-top: 0; }
  .popup { grid-template-columns: 1fr; min-height: auto; padding: 40px 32px; }
  .booking-page { grid-template-columns: 1fr; padding: 60px 33px; min-height: auto; }
}

/* ── h3 global style ─────────────────────────────────────── */
h3 {
  font-family: var(--ey-mono);
  font-style: italic;
  font-weight: 300;
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
}
h3 span {
  font-weight: 200;
  font-size: 24px;
  display: block;
}

.pricing__btn {
  margin-top: 8px;
}

/* ── CANCELLATION POLICY PAGE ───────────────────────────── */
.policy-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  align-content: center;
  padding: 100px 106px;
  background: var(--ey-paper-2);
  gap: 60px;
}
.policy-section__label {
  align-self: start;
}
.policy-section__content {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.policy-block h3 {
  margin-bottom: 24px;
}
.policy-block .heading-serif-sm {
  font-size: 19px;
  font-style: normal;
}
.policy-faq {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.policy-faq__item {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.policy-faq__item > * { margin-top: 0 !important; }
.policy-faq__q {
  margin-bottom: 4px !important;
}
.policy-faq__q {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
  margin: 0;
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
}

@media (max-width: 900px) {
  .policy-section {
    grid-template-columns: 1fr;
    padding: 60px 33px;
    min-height: auto;
  }
  .policy-section__label {
    position: static;
  }
}

/* ── btn-primary sin bullet ─────────────────────────────── */
.btn-primary-plain {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 10px 10px 10px 0;
  font-family: var(--ey-mono);
  font-weight: 400;
  font-size: 16px;
  color: var(--ey-ink);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary-plain span {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ── PRIVATE PAGE ───────────────────────────────────────── */
.private-ways {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  align-content: center;
  padding: 80px 0;
  background: var(--ey-paper);
  gap: 0;
}
.private-ways__label {
  align-self: start;
  padding: 0 106px;
}
.private-ways__items {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 0 106px;
  box-sizing: border-box;
}
.private-ways__item h3 {
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .private-ways {
    grid-template-columns: 1fr;
    padding: 60px 33px;
    min-height: auto;
  }
}

/* ── SCHEDULE ─────────────────────────────────────────────── */
.schedule {
  width: 100%;
  min-height: 100vh;
  padding: 80px 106px;
  box-sizing: border-box;
  background: var(--ey-paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.schedule__nav {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 28px 0 24px;
}

.schedule__nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  color: var(--ey-ink-soft);
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.schedule__nav-btn:hover {
  color: var(--ey-ink);
}

.schedule__month {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 27px;
  font-weight: 300;
  font-style: italic;
  color: var(--ey-ink);
  margin-bottom: 48px;
}

.schedule__day {
  display: grid;
  grid-template-columns: 280px 1fr;
  padding: 16px 0;
  border-top: 1px solid var(--ey-line);
}

.schedule__day:last-child {
  border-bottom: 1px solid var(--ey-line);
}

.schedule__day-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: flex-start;
  padding-top: 2px;
  gap: 6px;
}

.schedule__day-date {
  font-style: italic;
  font-weight: 400;
  color: var(--ey-ink-soft);
  font-size: 17px;
  white-space: nowrap;
}

.schedule__day-name {
  font-style: italic;
  font-weight: 400;
  color: var(--ey-ink-soft);
  font-size: 17px;
}

.schedule__day-classes {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.schedule__class {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 16px;
  align-items: start;
  width: 460px;
}

.schedule__class-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.schedule__time {
  font-size: 16px;
  font-weight: 300;
  color: var(--ey-ink-soft);
  white-space: nowrap;
  text-align: right;
  padding-top: 2px;
}

.schedule__name {
  font-size: 17px;
  font-weight: 400;
  color: var(--ey-ink);
}

.schedule__type {
  font-size: 15px;
  font-style: italic;
  color: var(--ey-ink-soft);
  text-transform: capitalize;
  white-space: nowrap;
}

.schedule__book {
  background: none;
  border: none;
  padding: 0;
  margin-top: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 300;
  color: var(--ey-ink);
  text-decoration: none;
  cursor: pointer;
  align-self: flex-start;
}
.schedule__book::before {
  content: none;
}
.schedule__book:hover span,
.schedule__book:focus span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: auto;
}

.schedule__loading,
.schedule__empty {
  color: var(--ey-ink-soft);
  font-size: 14px;
  opacity: 0.6;
}

.booking-radio__label {
  font-style: normal;
}

/* ── Responsive — inline-grid pages ──────────────────────────── */
@media (max-width: 900px) {
  .s-2col { grid-template-columns: 1fr; min-height: auto !important; }
  .col-empty { display: none; }
  .section-block { padding: 60px 33px; }
  .col-right { padding-left: 33px; padding-right: 33px; }
  .schedule__day { grid-template-columns: 1fr; padding: 24px 0; }
  .schedule__day-label { padding-bottom: 16px; }
  .schedule__day-classes { flex-direction: column; gap: 28px; }
  .schedule__class { width: 100%; grid-template-columns: 1fr; }
  .schedule__time { text-align: left; }
  .schedule__type { white-space: normal; }
  .schedule { padding: 60px 33px; min-height: auto; }
  .schedule h2.heading-serif { text-align: left; }
  .schedule .schedule__header-grid { display: block !important; }
  .schedule .schedule__header-grid > div:first-child { display: none; }
  .schedule .schedule__header-grid > div:last-child { text-align: left !important; padding-left: 0 !important; }
  .events-past__header-grid { display: block !important; } /* overrides desktop display:none !important */
  .events-past__header-grid > div { display: none; }
  .events-past__header-grid > h2 { text-align: left !important; }
  .past-events-card-title { display: none !important; }
  .blog-img-wrap { padding: 0 !important; order: 2; }
  .blog-img-wrap img { max-width: 100% !important; width: 100% !important; height: 55vh !important; object-fit: cover !important; }
  .blog-main .s-2col { padding-top: 0 !important; }
  .blog-main .section-block { padding-top: 16px !important; padding-bottom: 16px !important; }
  .blog-hero { height: auto; display: flex; flex-direction: column; }
  .blog-hero .classes-hero__img { position: relative; inset: auto; height: 100vh; }
  .blog-hero .classes-hero__overlay { position: static; color: var(--ey-ink); padding: 60px 33px; }
  .blog-hero .classes-hero__overlay .body-copy,
  .blog-hero .classes-hero__overlay .btn-primary { color: var(--ey-ink) !important; }
  .s-2col .section-block:not(.col-right) { padding-bottom: 24px; }
  .s-2col .col-right { padding-top: 0; }
  #her-story .col-right { align-items: flex-end !important; justify-content: flex-start !important; order: -1; padding-top: 60px !important; padding-bottom: 24px !important; background: transparent !important; }
  #her-story .section-block:not(.col-right) { padding-top: 0 !important; padding-bottom: 60px !important; background: transparent !important; }
  #upcoming-events .col-right { padding-top: 60px !important; }
  .form-box { padding: 0 !important; min-height: auto !important; }
  .events-intro { display: none; }
  .events-past { padding: 60px 33px; min-height: auto; }
  .event-card-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 120px; }
  .event-card-grid:last-child { margin-bottom: 0; }
  .event-card-grid img { margin: 0 !important; }
  .contact-form-section { background: var(--ey-paper-2) !important; }
  #private-1on1 { background: var(--ey-paper-2) !important; }
}
@media (max-width: 1200px) {
  .contact-response-note { display: none; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .schedule { display: flex; flex-direction: column; justify-content: center; }
  .schedule__day-classes { flex-direction: column; gap: 24px; }
  .schedule__class { width: 100%; }
}
