/* ============================================================
   Yin&Sound — Yin Yoga & Sound Academy (v2)
   Editorial / serene / earthy / sage
   ============================================================ */

:root {
  /* Palette — "Bali Sage" (brand) */
  --cream: #F1EBDD;
  --cream-warm: #ECE3CE;
  --paper: #FAF5E9;
  --ink: #1B1F18;
  --ink-soft: #2F3A2D;
  --ink-mute: #6B7164;
  --rule: #D6CFBE;

  --clay: #6F8A4A;       /* sage primary */
  --clay-deep: #4D6635;
  --forest: #2C3A2C;
  --moss: #4D6635;
  --sage: #A3B587;
  --gold: #B89A5E;
  --terracotta: #B65A36;

  /* Type */
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
a { color: inherit; text-decoration: none; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--clay); color: var(--paper); }

/* Type system */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}

.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.center::before { display: none; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   NAV — full-width over hero, transforms to floating pill on scroll
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  color: var(--paper);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: 0 0 0 transparent;
  transition:
    top 0.45s cubic-bezier(.2,.7,.2,1),
    left 0.45s cubic-bezier(.2,.7,.2,1),
    right 0.45s cubic-bezier(.2,.7,.2,1),
    padding 0.4s ease,
    background 0.4s ease,
    color 0.35s ease,
    border-radius 0.45s cubic-bezier(.2,.7,.2,1),
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    transform 0.4s ease,
    opacity 0.4s ease;
}

.nav.scrolled {
  top: 16px;
  left: 24px;
  right: 24px;
  padding: 10px 14px 10px 22px;
  background: rgba(250, 246, 238, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--ink);
  border-radius: 999px;
  border-color: rgba(214, 207, 190, 0.6);
  box-shadow: 0 12px 36px -14px rgba(28, 26, 20, 0.28);
}

.nav__brand {
  display: flex;
  align-items: center;
}
.nav__logo {
  height: 44px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.nav.scrolled .nav__logo { height: 38px; }

/* Light logo over the hero; dark logo on the scrolled pill or when the menu is open */
.nav__logo--dark { display: none; }
.nav.scrolled .nav__logo--light,
body.menu-open .nav__logo--light { display: none; }
.nav.scrolled .nav__logo--dark,
body.menu-open .nav__logo--dark { display: block; }

.nav__menu {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  list-style: none;
  margin: 0; padding: 0;
  transition: gap 0.3s ease;
}
.nav.scrolled .nav__menu { gap: 28px; }

.nav__menu li { position: relative; display: flex; align-items: center; }
.nav__menu li > a,
.nav__menu li > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  line-height: 1;
}
.nav__menu li > button .caret {
  width: 8px; height: 8px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-bottom: 2px;
}
.nav__menu li.open > button .caret { transform: rotate(-135deg); margin-bottom: -2px; }

.nav__submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 8px;
  min-width: 320px;
  padding: 10px;
  list-style: none;
  margin: 0;
  box-shadow: 0 20px 60px -20px rgba(28, 26, 20, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav__menu li.open .nav__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 4px;
  transition: background 0.15s;
}
.nav__submenu a:hover { background: var(--cream); }

/* ============================================================
   NAV — Academy four-column mega-menu
   ============================================================ */
.nav__mega {
  position: fixed;
  top: 90px; left: 24px; right: 24px;
  max-width: 1240px; margin: 0 auto;
  background: #F4EEDF;
  border: 1px solid #D9D2C0;
  border-radius: 16px;
  box-shadow: 0 30px 72px -24px rgba(28,26,20,.5);
  overflow: hidden;
  color: #1B1F18;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 60;
}
.nav.scrolled .nav__mega { top: 80px; }
.nav__mega::before { content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 34px; }
.nav__menu li.has-mega.open .nav__mega,
.nav__menu li.has-mega:hover .nav__mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.nav__mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.nav__mega-col { padding: 28px 28px 30px; border-right: 1px solid #E3DAC6; }
.nav__mega-col:last-child { border-right: 0; }
.nav__mega-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.nav__mega-head .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.nav__mega-head .label {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 600; font-size: 11px; line-height: 1;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.nav__mega-col > a {
  display: block; padding: 8px 0;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 400; font-size: 16px; line-height: 1.2;
  letter-spacing: 0; text-transform: none;
  color: #1B1F18; white-space: nowrap;
  transition: color .15s ease;
}
.nav__mega-col > a:hover { color: #6F8A4A; }
.nav__mega-col a.nav__mega-main { font-weight: 600; color: #1B1F18; padding-bottom: 11px; margin-bottom: 7px; border-bottom: 1px solid #E3DAC6; }
.nav__mega-col a.nav__mega-main:hover { color: #6F8A4A; }
.nav__mega-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; background: #EBE3CF; border-top: 1px solid #E3DAC6;
  gap: 16px; flex-wrap: wrap;
}
.nav__mega-foot__links { display: flex; gap: 26px; }
.nav__mega-foot__links a {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 400; font-size: 13.5px;
  letter-spacing: 0; text-transform: none;
  color: #4A4F44; transition: color .15s ease;
}
.nav__mega-foot__links a:hover { color: #1B1F18; }
.nav__mega-foot__cta {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 500; font-size: 13.5px;
  letter-spacing: 0; text-transform: none;
  color: #4D6635;
  display: inline-flex; align-items: center; gap: 7px;
}
@media (max-width: 1100px) { .nav__mega { display: none; } }


.nav__cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  transition: gap 0.3s ease;
}
.nav.scrolled .nav__cta { gap: 12px; }

/* ============================================================
   MOBILE NAV — burger + fullscreen menu
   ============================================================ */
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  color: currentColor;
  transition: background 0.2s, color 0.2s;
}
.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.6px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1), top 0.3s, opacity 0.2s;
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
body.menu-open .nav__burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Menu overlay is light, so force the nav logo + burger (X) dark while open
   even when the bar is still in its transparent/white over-hero state. */
body.menu-open .nav,
body.menu-open .nav__brand,
body.menu-open .nav__burger { color: var(--ink) !important; }
body.menu-open .nav__burger span { background: var(--ink) !important; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
body.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__inner {
  padding: 110px 28px 40px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.mobile-menu__eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.mobile-menu__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--clay);
}

.mobile-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu__list > li {
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
body.menu-open .mobile-menu__list > li {
  opacity: 1;
  transform: translateY(0);
}
body.menu-open .mobile-menu__list > li:nth-child(1) { transition-delay: 0.10s; }
body.menu-open .mobile-menu__list > li:nth-child(2) { transition-delay: 0.16s; }
body.menu-open .mobile-menu__list > li:nth-child(3) { transition-delay: 0.22s; }
body.menu-open .mobile-menu__list > li:nth-child(4) { transition-delay: 0.28s; }
body.menu-open .mobile-menu__list > li:nth-child(5) { transition-delay: 0.34s; }
body.menu-open .mobile-menu__list > li:nth-child(6) { transition-delay: 0.40s; }
body.menu-open .mobile-menu__list > li:nth-child(7) { transition-delay: 0.46s; }

.mobile-menu__list a,
.mobile-menu__list > li > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  text-align: left;
  line-height: 1;
  transition: color 0.2s, padding 0.25s;
}
.mobile-menu__list a:hover,
.mobile-menu__list a:active,
.mobile-menu__list > li > button:hover {
  color: var(--clay);
  padding-left: 14px;
}
.mobile-menu__list a em {
  font-style: italic;
  color: var(--clay);
  margin-left: 4px;
}
.mobile-menu__list .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* Submenu collapse inside mobile-menu */
.mobile-menu__list .has-sub > button .arr {
  width: 12px; height: 12px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s;
  margin-right: 6px;
  margin-bottom: 4px;
}
.mobile-menu__list .has-sub.open > button .arr {
  transform: rotate(-135deg);
  margin-bottom: -2px;
}
.mobile-menu__sub {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-menu__list .has-sub.open .mobile-menu__sub {
  max-height: 400px;
}
.mobile-menu__sub li {
  border-top: 1px solid var(--rule);
}
.mobile-menu__sub a {
  font-size: 16px !important;
  font-family: var(--sans) !important;
  padding: 14px 4px 14px 18px !important;
  color: var(--ink-soft) !important;
  letter-spacing: 0;
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.mobile-menu__contact span {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mobile-menu__contact a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.mobile-menu__cta {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.mobile-menu__cta .btn { flex: 1; justify-content: center; }
.mobile-menu__socials {
  display: flex;
  gap: 10px;
  padding-top: 24px;
  margin-top: 14px;
  border-top: 1px solid var(--rule);
}
.mobile-menu__socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink);
  transition: all 0.2s;
}
.mobile-menu__socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

body.menu-open { overflow: hidden; }

/* Scroll-to-top button — mobile only, appears after the 3rd section */
.scroll-top {
  position: fixed;
  bottom: 28px;
  left: 20px;
  z-index: 45;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--paper);
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  box-shadow: 0 16px 34px -12px rgba(28, 26, 20, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s ease;
}
.scroll-top:hover { background: var(--clay-deep); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--clay);
  color: var(--paper);
}
.btn--primary:hover { background: var(--clay-deep); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border-color: currentColor;
  opacity: 0.9;
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark:hover { background: var(--clay); }
.btn--sm { padding: 10px 18px; font-size: 11px; }

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 0.25s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 120px 40px 40px;
  overflow: hidden;
  color: var(--paper);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transform: scale(1.05);
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,12,0.4) 0%, rgba(20,18,12,0.1) 28%, rgba(20,18,12,0.7) 100%),
    linear-gradient(90deg, rgba(20,18,12,0.5) 0%, rgba(20,18,12,0) 38%, rgba(20,18,12,0) 55%, rgba(20,18,12,0.45) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  align-self: end;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  font-size: clamp(56px, 8vw, 130px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--cream-warm);
}
.hero__title .stroke {
  -webkit-text-stroke: 1px var(--cream-warm);
  color: transparent;
}

/* Logo as a kicker above the headline (homepage hero) */
.hero__title--logo img {
  display: block;
  width: clamp(220px, 30vw, 360px);
  height: auto;
  margin-bottom: 22px;
}
/* Descriptive headline under the logo — kept modest, not the giant hero size */
.hero__headline {
  margin: 0;
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(23px, 3vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 20ch;
}

/* Homepage hero: lift the whole block to vertically centered (not pinned to the bottom) */
.hero--home .hero__inner {
  align-self: center;
  align-items: start;
}
.hero--home .hero__meta { margin-bottom: 28px; }
/* Right column: a touch more breathing room between the two paragraphs and the buttons */
.hero--home .hero__lede { max-width: 480px; margin-bottom: 22px; }
.hero--home .hero__ctas { margin-top: 14px; }

.hero__lede {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(244, 238, 227, 0.92);
  margin: 0 0 28px;
  text-shadow: 0 1px 14px rgba(20, 18, 12, 0.55);
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, 0.7);
}
.hero__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }

/* Hero ticker */
.hero__ticker {
  border-top: 1px solid rgba(244, 238, 227, 0.2);
  margin-top: 80px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin-inline: auto;
  width: 100%;
}
.hero__stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.hero__stat .num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--paper);
}
.hero__stat .label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, 0.7);
  max-width: 140px;
}

.hero__scroll {
  position: absolute;
  left: 40px;
  bottom: 180px;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, 0.7);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 60px;
  background: rgba(244, 238, 227, 0.6);
  animation: scroll-line 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.4); opacity: 1; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  border-block: 1px solid rgba(244, 238, 227, 0.1);
}
.marquee__track {
  display: flex;
  gap: 60px;
  animation: marquee 40s linear infinite;
  width: max-content;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--cream-warm);
}
.marquee__track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee__track .sep { color: var(--clay); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section {
  position: relative;
}
.section-pad { padding: 140px 0; }
.section-pad--sm { padding: 100px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 80px;
}
.section-head h2 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-head h2 em { font-style: italic; color: var(--clay); }
.section-head__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 460px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--paper);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: start;
}
.about__media {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.about__media-main {
  border-radius: 2px;
  overflow: hidden;
  min-height: 100%;
}
.about__media-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
}
.about__media-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}
.about__media-side .a2 {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.92) contrast(0.98);
}
.about__media-side .a3 {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.92) contrast(0.98);
}
.about__stats {
  flex: 1;
  background: var(--cream-warm);
  border-radius: 2px;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.about__stats > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.about__stats > div + div {
  border-top: 1px solid rgba(58, 42, 34, 0.08);
}
.about__stats .n {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--clay);
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.about__stats .n sup {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 0;
}
.about__stats .n small {
  font-size: 0.55em;
  font-weight: 400;
}
.about__stats .l {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  line-height: 1.5;
}

.about__media .badge-yacep {
  position: absolute;
  left: -22px;
  top: -22px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--paper);
  padding: 6px;
  object-fit: contain;
  z-index: 3;
  box-shadow: 0 14px 30px -10px rgba(28, 26, 20, 0.3);
}

.about__copy h2 {
  font-size: clamp(40px, 5vw, 68px);
  margin: 18px 0 28px;
  line-height: 1.02;
}
.about__copy h2 em { font-style: italic; color: var(--clay); }

.about__subhead {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin: 30px 0 12px;
  max-width: 540px;
}
.about__subhead em { font-style: italic; color: var(--clay); }

.about__copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 540px;
}

.about__meta {
  margin-top: 36px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
}
.about__meta .dot-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.about__meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}

.about__feat {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 48px;
}
.about__feat > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.about__feat .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  line-height: 1.4;
  padding-top: 2px;
}
.about__feat h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--ink);
}
.about__feat p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============================================================
   COURSES
   ============================================================ */
.courses {
  background: var(--cream);
  padding-bottom: 100px;
}
.courses__head h2 em { color: var(--clay); }

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

.course {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.course:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px -40px rgba(28, 26, 20, 0.3);
}
.course__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.course__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.course:hover .course__media img { transform: scale(1.05); }
.course__hours {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  padding: 14px 18px 12px;
  border-radius: 10px;
  letter-spacing: -0.02em;
}
.course__hours small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}
.course__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.course__body h3 {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 500;
}
.course__body h3 em { font-style: italic; color: var(--clay); }
.course__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-block: 1px solid var(--rule);
  font-size: 13px;
}
.course__meta div { display: flex; justify-content: space-between; }
.course__meta dt { color: var(--ink-mute); }
.course__meta dd { color: var(--ink); margin: 0; }

.course__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}
.course__cta a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.course__cta a:hover { color: var(--clay); }
.course__cta .price {
  font-family: var(--serif);
  font-size: 22px;
}

/* ============================================================
   WHY YIN (full bleed dark)
   ============================================================ */
.why {
  background: var(--forest);
  color: var(--paper);
  padding: 160px 40px;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1545389336-cf090694435e?w=1600&q=80") center/cover;
  opacity: 0.22;
  filter: grayscale(0.4);
}
.why__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 36px;
  justify-items: center;
}
.why__quote {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-style: italic;
}
.why__quote::before, .why__quote::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background: var(--clay);
  margin: 0 auto 30px;
}
.why__quote::after { margin: 30px auto 0; }

.why__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  width: 100%;
}
.why__pillars > div {
  text-align: left;
  padding: 32px 0 0;
  border-top: 1px solid rgba(244, 238, 227, 0.2);
}
.why__pillars .num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--clay);
  letter-spacing: 0.1em;
}
.why__pillars h4 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 14px 0 12px;
  color: var(--paper);
}
.why__pillars p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 238, 227, 0.75);
  margin: 0;
}

/* ============================================================
   TEACHERS
   ============================================================ */
.teachers { background: var(--paper); }
.teachers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.teacher {
  cursor: pointer;
  position: relative;
}
.teacher__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  background: var(--cream);
}
.teacher__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: saturate(0.85);
}
.teacher:hover .teacher__photo img { transform: scale(1.04); filter: saturate(1); }
.teacher__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,26,20,0.5), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.teacher:hover .teacher__photo::after { opacity: 1; }
.teacher__body {
  padding: 18px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.teacher__body h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}
.teacher__body small {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.teacher__roles {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ============================================================
   GALLERY STRIP
   ============================================================ */
.strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 0;
}
.strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: filter 0.3s;
  filter: saturate(0.85);
}
.strip img:hover { filter: saturate(1.1); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--cream);
  padding: 140px 0;
}
.testimonials__wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.testimonials__left h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  margin: 18px 0 24px;
}
.testimonials__left h2 em { font-style: italic; color: var(--clay); }
.testimonials__left p {
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 380px;
}

.testimonials__right {
  position: relative;
  min-height: 520px;
  padding-bottom: 50px;
}
.tcard {
  position: absolute;
  inset: 0 0 50px 0;
  background: var(--paper);
  padding: 36px 44px 100px;
  border-radius: 24px;
  border: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: visible;
}
.tcard.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tcard__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.tcard__stars {
  display: flex;
  gap: 4px;
  color: var(--clay);
}

.tcard__verified {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.tcard__verified .check {
  width: 22px; height: 22px;
  background: var(--clay);
  color: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
}
.tcard__verified .check svg { width: 12px; height: 12px; }

.tcard__bigmark {
  position: absolute;
  top: 14px;
  right: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 180px;
  line-height: 1;
  color: var(--clay);
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  letter-spacing: -0.05em;
}

.tcard__quote {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
  flex: 1;
  margin: 0;
  position: relative;
  z-index: 2;
}
.tcard__quote mark {
  background: rgba(163, 181, 135, 0.45);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.tcard__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 22px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.tcard__author {
  position: absolute;
  left: 16px;
  right: -8px;
  bottom: -10px;
  background: var(--cream-warm);
  border-radius: 999px;
  padding: 14px 28px 14px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  box-shadow: 0 20px 40px -20px rgba(28, 26, 20, 0.28);
}
.tcard__author img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.tcard__person strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}
.tcard__person span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.tcard__ago {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  white-space: nowrap;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.testimonials__controls button {
  width: 52px; height: 52px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.2s;
}
.testimonials__controls button:hover {
  background: var(--ink); color: var(--paper);
}
.testimonials__counter {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper); }
.faq__wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
}
.faq__intro h2 {
  font-size: clamp(40px, 5vw, 68px);
  margin: 18px 0 20px;
  line-height: 1;
}
.faq__intro h2 em { font-style: italic; color: var(--clay); }
.faq__intro p { color: var(--ink-soft); max-width: 320px; margin: 0 0 24px; }

.faq__list { border-top: 1px solid var(--rule); }
.faq__item {
  border-bottom: 1px solid var(--rule);
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.2s;
}
.faq__q:hover { color: var(--clay); }
.faq__q .plus {
  width: 22px; height: 22px;
  position: relative;
  flex-shrink: 0;
}
.faq__q .plus::before, .faq__q .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq__q .plus::before { width: 22px; height: 1.5px; }
.faq__q .plus::after  { width: 1.5px; height: 22px; transition: transform 0.3s; }
.faq__item.open .faq__q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq__a > div {
  padding: 0 0 28px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
}

/* ============================================================
   EBOOK / NEWSLETTER
   ============================================================ */
.ebook {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}
.ebook__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ebook__media {
  position: relative;
  display: grid;
  place-items: center;
}
.ebook__book {
  width: 320px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--clay) 0%, var(--clay-deep) 100%);
  border-radius: 4px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 60px 80px -30px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.05);
  transform: rotate(-6deg);
  position: relative;
  overflow: hidden;
}
.ebook__book::before {
  content: "";
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.2);
}
.ebook__book .eb-eyebrow {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.7;
}
.ebook__book .eb-title {
  font-family: var(--serif);
  font-size: 42px; line-height: 0.95;
  font-style: italic;
}
.ebook__book .eb-foot {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75;
  display: flex; justify-content: space-between;
}

.ebook__copy h2 {
  color: var(--paper);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  margin: 16px 0 20px;
}
.ebook__copy h2 em { font-style: italic; color: var(--cream-warm); }
.ebook__copy p { color: rgba(244,238,227,0.75); max-width: 480px; margin: 0 0 30px; font-size: 16px; }

.ebook__form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  max-width: 540px;
}
.ebook__form input {
  background: transparent;
  border: 1px solid rgba(244,238,227,0.3);
  color: var(--paper);
  padding: 16px 18px;
  font: inherit;
  font-size: 14px;
  border-radius: 999px;
  outline: none;
  transition: border 0.2s;
}
.ebook__form input::placeholder { color: rgba(244,238,227,0.5); }
.ebook__form input:focus { border-color: var(--clay); }
.ebook__form button { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }

.ebook__legal {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(244,238,227,0.5);
  max-width: 480px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--cream);
  padding: 100px 40px 40px;
  color: var(--ink-soft);
}
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule);
}
.footer__brand h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 16px;
}
.footer__brand p { max-width: 320px; font-size: 14px; line-height: 1.6; }
.footer__socials {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}
.footer__socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: all 0.2s;
}
.footer__socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.footer__col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer__col a:hover { color: var(--clay); }

.footer__bottom {
  max-width: 1400px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom a:hover { color: var(--ink); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Counter pop */
.count {
  display: inline-block;
}

/* ============================================================
   HOMEPAGE — TWO WORLDS (doorways)
   ============================================================ */
.worlds { background: var(--paper); }
.worlds__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.world-card {
  display: flex;
  flex-direction: column;
}
.world-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cream);
}
.world-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.6s ease;
}
.world-card:hover .world-card__media img { transform: scale(1.04); }
.world-card__index {
  position: absolute;
  top: 16px; left: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--clay-deep);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  display: grid; place-items: center;
}
.world-card__body { padding: 26px 4px 0; }
.world-card__body .eyebrow { margin-bottom: 14px; }
.world-card__body h3 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 14px;
}
.world-card__body h3 em { font-style: italic; color: var(--clay); }
.world-card__body p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 46ch;
}
.world-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.world-card__link .arrow { width: 14px; height: 14px; transition: transform 0.25s ease; }
.world-card__link:hover .arrow { transform: translateX(4px); }

/* Instruments — wide banner across the bottom of the craft collage */
.about__media-banner {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.92) contrast(0.98);
}

/* ============================================================
   INSTRUMENTS — COLLECTION
   ============================================================ */
.collection { background: var(--cream); }
.instrument-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.instrument-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.instrument-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px -40px rgba(28, 26, 20, 0.3);
}
.instrument-card__glyph {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--clay);
}
.instrument-card__glyph svg { width: 34px; height: 34px; }
.instrument-card h3 {
  font-size: 24px;
  font-weight: 500;
}
.instrument-card p {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.instrument-card__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--rule);
}
.instrument-card__cta .price {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}
.instrument-card__cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.instrument-card__cta a .arrow { width: 14px; height: 14px; transition: transform 0.25s ease; }
.instrument-card__cta a:hover .arrow { transform: translateX(4px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .container, .hero, .ebook, .footer { padding-left: 28px; padding-right: 28px; }
  /* Logo left, burger right. Transparent (white) over hero, pill on scroll — like desktop. */
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
  }
  .nav.scrolled {
    top: 12px; left: 14px; right: 14px;
    padding: 8px 10px 8px 20px;
  }
  .nav > nav { display: none; }
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .hero { min-height: 88vh; }

  /* Past the 3rd section: hide the nav pill, reveal scroll-to-top */
  body.scrolled-deep .nav,
  body.scrolled-deep .nav.scrolled {
    opacity: 0;
    transform: translateY(-170%);
    pointer-events: none;
  }
  .scroll-top { display: flex; }
  body.scrolled-deep .scroll-top {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__ticker { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero__stat .num { font-size: 42px; }
  .hero__scroll { display: none; }
  .about__grid, .testimonials__wrap, .faq__wrap, .ebook__inner { grid-template-columns: 1fr; gap: 60px; }
  .about__media { position: static; top: auto; }
  .courses__grid { grid-template-columns: 1fr; }
  .worlds__grid { grid-template-columns: 1fr; gap: 44px; }
  .instrument-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers__grid { grid-template-columns: repeat(2, 1fr); }
  .why__pillars { grid-template-columns: 1fr; gap: 30px; }
  .section-head { grid-template-columns: 1fr; gap: 30px; }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .section-pad { padding: 90px 0; }
  .ebook__form { grid-template-columns: 1fr; }
  .ebook__book { width: 240px; }
}

@media (max-width: 700px) {
  .about__media { grid-template-columns: 1fr; }
  .about__media-side .a2 { aspect-ratio: 16/10; }
  .about__media-side .a3 { aspect-ratio: 3/2; flex: none; }
  .about__feat { grid-template-columns: 1fr; }
  .about__meta { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Phones: size hero text relative to viewport width so every phone renders the
   same proportions regardless of its CSS viewport width / display-size setting.
   Calibrated so a wider phone (e.g. Pixel 8 Pro) keeps ~its current size while a
   narrower one (e.g. Pixel 9 Pro) scales down to match instead of looking bigger. */
@media (max-width: 700px) {
  .hero__title { font-size: clamp(40px, 10.4vw, 60px); }
  .hero__lede { font-size: clamp(13.5px, 3.15vw, 17px); }
  .hero__meta { font-size: clamp(10px, 2.3vw, 12px); }
  .hero__ctas { gap: 10px; }
  .hero__ctas .btn { font-size: clamp(11px, 2.5vw, 13px); padding: 13px 20px; }
  .hero__stat .num { font-size: clamp(34px, 8vw, 44px); }
  .hero__stat .label { font-size: clamp(10px, 2.2vw, 12px); }

  /* Section headings: same viewport-relative scaling so every section matches across phones */
  .section-head h2,
  .about__copy h2,
  .testimonials__left h2,
  .faq__intro h2,
  .ebook__copy h2 { font-size: clamp(30px, 7.4vw, 46px); }
  .why__quote { font-size: clamp(26px, 6.3vw, 40px); }
  .sound__copy h2,
  .daily__head h2 { font-size: clamp(30px, 7.4vw, 46px); }

  /* Hide the about credentials row + feature blocks on phones */
  .about__meta,
  .about__feat { display: none; }
}

@media (max-width: 600px) {
  .hero, .ebook, .footer, .container { padding-left: 20px; padding-right: 20px; }
  .nav { padding: 16px 20px; }
  .nav.scrolled { top: 10px; left: 10px; right: 10px; padding: 7px 8px 7px 18px; }
  .nav__logo { height: 38px; }
  .nav.scrolled .nav__logo { height: 33px; }
  .mobile-menu__inner { padding: 96px 24px 36px; }
  .mobile-menu__list a, .mobile-menu__list > li > button { font-size: 28px; padding: 20px 4px; }
  .hero { min-height: 82vh; padding-top: 90px; }
  .hero__ticker { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
  .teachers__grid { grid-template-columns: 1fr 1fr; }
  .instrument-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .tcard { padding: 28px 22px 100px; }
  .tcard__quote { font-size: 20px; line-height: 1.4; }
  .tcard__bigmark { font-size: 130px; top: 6px; right: 18px; }
  .tcard__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tcard__author { left: 8px; right: 8px; padding: 12px 20px 12px 12px; gap: 14px; grid-template-columns: auto 1fr; }
  .tcard__author img { width: 48px; height: 48px; }
  .tcard__person strong { font-size: 18px; }
  .tcard__ago { display: none; }
}

/* Secondary pillar links under the "Two paths" cards (homepage) */
.worlds__more {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  justify-content: center;
  margin-top: 48px;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.worlds__more a {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.worlds__more a:hover { color: var(--clay); border-color: var(--clay); }


/* ============================================================
   YIN YOGA TRAINING PAGE (.yyt-)
   ============================================================ */
.yyt-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 24px; }
.yyt-dates .lbl { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244,238,227,0.7); margin-right: 4px; }
.yyt-dates .pill { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid rgba(244,238,227,0.45); border-radius: 999px; font-size: 13px; color: var(--paper); white-space: nowrap; text-shadow: 0 1px 8px rgba(20,18,12,0.4); }

.yyt-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.yyt-feat { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 34px 32px; }
.yyt-feat .num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--clay); letter-spacing: 0.04em; }
.yyt-feat h3 { font-size: 23px; font-weight: 500; margin: 12px 0 12px; line-height: 1.15; }
.yyt-feat h3 em { font-style: italic; color: var(--clay); }
.yyt-feat p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; margin: 0; }

.yyt-video { max-width: 980px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px -44px rgba(28,26,20,0.55); aspect-ratio: 16 / 9; background: var(--ink); }
.yyt-video iframe { width: 100%; height: 100%; border: 0; display: block; }

.yyt-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.yyt-list-col h3 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 22px; line-height: 1; }
.yyt-list-col h3 em { font-style: italic; color: var(--clay); }
.yyt-list { list-style: none; margin: 0; padding: 0; }
.yyt-list li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.yyt-list li:last-child { border-bottom: 0; }
.yyt-list li::before { content: "\2713"; color: var(--clay); font-weight: 700; flex-shrink: 0; }

.yyt-teacher { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.yyt-teacher__photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); }
.yyt-teacher__photo img { width: 100%; height: 100%; object-fit: cover; }
.yyt-teacher__body .eyebrow { margin-bottom: 14px; }
.yyt-teacher__body h3 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 6px; line-height: 1; }
.yyt-teacher__body h3 em { font-style: italic; color: var(--clay); }
.yyt-teacher__role { display: block; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-mute); margin-bottom: 24px; }
.yyt-teacher__body p { color: var(--ink-soft); font-size: 16px; line-height: 1.78; margin: 0 0 16px; }

.yyt-schedule { max-width: 880px; margin: 0 auto; }
.yyt-slot { display: grid; grid-template-columns: 168px 1fr; gap: 30px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.yyt-slot:last-child { border-bottom: 0; }
.yyt-slot .time { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--clay); white-space: nowrap; }
.yyt-slot .what { font-size: 17px; color: var(--ink); }

.yyt-cta { background: var(--clay); color: var(--paper); text-align: center; padding: 110px 36px; }
.yyt-cta .eyebrow { color: rgba(244,238,227,0.8); justify-content: center; }
.yyt-cta .eyebrow::before { background: rgba(244,238,227,0.6); }
.yyt-cta h2 { color: var(--paper); font-size: clamp(38px, 5vw, 64px); margin: 18px 0 18px; line-height: 1; }
.yyt-cta h2 em { font-style: italic; color: var(--cream-warm); }
.yyt-cta p { max-width: 580px; margin: 0 auto 32px; color: rgba(244,238,227,0.9); font-size: 17px; line-height: 1.6; }
.yyt-cta .btn { background: var(--ink); color: var(--paper); }
.yyt-cta .btn:hover { background: var(--clay-deep); }

@media (max-width: 900px) {
  .yyt-feat-grid { grid-template-columns: 1fr; }
  .yyt-lists { grid-template-columns: 1fr; gap: 44px; }
  .yyt-teacher { grid-template-columns: 1fr; gap: 28px; }
  .yyt-teacher__photo { max-width: 360px; aspect-ratio: 4/4.6; }
  .yyt-slot { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .yyt-slot .time { font-size: 18px; }
}

/* training-page grid variants + in-card bullet lists (shared by training pages) */
.yyt-feat-grid--2 { grid-template-columns: repeat(2, 1fr); }
.yyt-feat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.yyt-feat .yyt-list { margin-top: 14px; }
.yyt-feat .yyt-list li { border-bottom: 0; padding: 5px 0; font-size: 14px; }
.yyt-feat .price { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 15px; }
@media (min-width: 901px) and (max-width: 1180px) { .yyt-feat-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .yyt-feat-grid--2, .yyt-feat-grid--4 { grid-template-columns: 1fr; } }

/* 100H Yin page: gallery, split, image band, pricing, auto grid */
.yyt-feat-grid--auto { grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); }
.yyt-gallery { display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.yyt-gallery img { width:100%; height: 360px; object-fit: cover; border-radius: 16px; display:block; }
.yyt-split { display:grid; grid-template-columns: 1fr 0.82fr; gap: 56px; align-items: center; }
.yyt-split__img { width:100%; border-radius: 20px; object-fit: cover; display:block; box-shadow: 0 30px 60px -30px rgba(28,26,20,.45); }
.yyt-band { position: relative; min-height: 360px; background-size: cover; background-position: center; display:flex; align-items:center; justify-content:center; text-align:center; }
.yyt-band::after { content:""; position:absolute; inset:0; background: rgba(28,32,24,0.48); }
.yyt-band__quote { position: relative; z-index:1; color:#F4EEDF; font-family: var(--serif); font-style: italic; font-size: clamp(23px, 3vw, 35px); max-width: 820px; padding: 0 24px; line-height:1.45; }
.yyt-price { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 22px; margin-top: 18px; }
.yyt-price small { display:block; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); margin-top: 5px; }
.yyt-socials { display:flex; gap:14px; margin-top:20px; }
.yyt-socials a { font-size:13px; letter-spacing:.04em; color: var(--clay-deep); text-decoration:none; border-bottom:1px solid currentColor; padding-bottom:2px; }
@media (max-width: 900px){ .yyt-split { grid-template-columns: 1fr; gap: 36px; } .yyt-split__img { order:-1; } }
@media (max-width: 820px){ .yyt-gallery{ grid-template-columns: 1fr 1fr; } .yyt-gallery img{ height: 240px; } .yyt-gallery img:nth-child(3){ grid-column: span 2; } }
@media (max-width: 560px){ .yyt-feat-grid--auto{ grid-template-columns: 1fr; } .yyt-gallery{ grid-template-columns: 1fr; } .yyt-gallery img{ height: 220px; } .yyt-gallery img:nth-child(3){ grid-column: auto; } }

/* "What you'll walk away able to do" — compact, practical outcomes band */
.why--outcomes { padding: 96px 40px; }
.why--outcomes .why__inner { gap: 16px; }
.why__h2 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 47px); font-weight: 400; line-height: 1.12; margin: 0; color: var(--paper); letter-spacing: -0.01em; }
.why__h2 em { font-style: italic; color: var(--sage); }
.why__lede { max-width: 600px; font-size: 16px; line-height: 1.7; color: rgba(250,245,233,0.82); margin: 4px 0 0; }
.yyt-gains { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 52px; width: 100%; max-width: 940px; margin-top: 30px; text-align: left; }
.yyt-gain { display: flex; gap: 14px; align-items: flex-start; }
.yyt-gain .tick { color: var(--sage); font-weight: 700; flex-shrink: 0; font-size: 15px; line-height: 1.55; }
.yyt-gain h4 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--paper); margin: 0 0 5px; }
.yyt-gain p { font-size: 14.5px; line-height: 1.6; color: rgba(250,245,233,0.72); margin: 0; }
@media (max-width: 760px) { .why--outcomes { padding: 70px 24px; } .yyt-gains { grid-template-columns: 1fr; gap: 24px; } }

/* ===== Mobile menu: drill-down ===== */
.mobile-menu { overflow: hidden; }
.mobile-menu__inner { min-height: 0; }
.mm-views { position: relative; flex: 1; min-height: 0; overflow: hidden; margin-top: 2px; }
.mm-view { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; padding: 4px 1px 24px; transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s ease; }
.mm-root { transform: translateX(0); }
.mm-drill { transform: translateX(100%); visibility: hidden; }
.mobile-menu.drilled .mm-root { transform: translateX(-24%); opacity: 0; pointer-events: none; }
.mobile-menu.drilled .mm-drill { transform: translateX(0); visibility: visible; }

.mm-group { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); display: flex; align-items: center; gap: 11px; margin: 26px 0 5px; padding: 9px 0; text-decoration: none; }
.mm-group:first-child { margin-top: 2px; }
.mm-group:active { color: var(--clay); }
.mm-group--solo { border-bottom: 1px solid var(--rule); padding-bottom: 18px; }
.mm-group::before { content: ""; width: 24px; height: 1px; background: var(--clay); }

.mm-world { display: flex; align-items: center; gap: 13px; width: 100%; padding: 18px 2px; background: none; border: none; border-bottom: 1px solid var(--rule); text-align: left; cursor: pointer; color: var(--ink); }
.mm-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.mm-world__label { flex: 1; font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1; color: var(--ink); }
.mm-world__label em { font-style: italic; color: var(--clay); }
.mm-world__count { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--ink-mute); }
.mm-chev { width: 8px; height: 8px; border-right: 1.6px solid #B6AE97; border-bottom: 1.6px solid #B6AE97; transform: rotate(-45deg); flex-shrink: 0; margin-left: 4px; }

.mm-link { display: flex; align-items: center; justify-content: space-between; padding: 18px 2px; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--ink); }
.mm-link .num { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--ink-mute); }

.mm-pane { display: none; flex-direction: column; }
.mm-pane.is-active { display: flex; }
.mm-pane__head { display: flex; align-items: center; gap: 14px; padding: 2px 0 16px; border-bottom: 1px solid var(--rule); }
.mm-back { width: 42px; height: 42px; border: none; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.mm-back:active { background: var(--cream-warm); }
.mm-back__arr { width: 9px; height: 9px; border-left: 1.7px solid var(--ink); border-bottom: 1.7px solid var(--ink); transform: rotate(45deg); margin-left: 3px; }
.mm-pane__eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.mm-pane__main { display: block; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.12; color: var(--ink); padding: 20px 2px; }
.mm-pane__item { display: flex; align-items: center; justify-content: space-between; padding: 17px 2px; border-top: 1px solid var(--rule); font-size: 17px; color: var(--ink-soft); }
.mm-pane__item::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid #C4BCA6; border-bottom: 1.5px solid #C4BCA6; transform: rotate(-45deg); flex-shrink: 0; }

/* staggered reveal of the root rows on open */
.mm-root > * { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
body.menu-open .mm-root > * { opacity: 1; transform: translateY(0); }
body.menu-open .mm-root > *:nth-child(1){transition-delay:.08s}
body.menu-open .mm-root > *:nth-child(2){transition-delay:.12s}
body.menu-open .mm-root > *:nth-child(3){transition-delay:.16s}
body.menu-open .mm-root > *:nth-child(4){transition-delay:.20s}
body.menu-open .mm-root > *:nth-child(5){transition-delay:.24s}
body.menu-open .mm-root > *:nth-child(6){transition-delay:.28s}
body.menu-open .mm-root > *:nth-child(7){transition-delay:.32s}
body.menu-open .mm-root > *:nth-child(8){transition-delay:.36s}
body.menu-open .mm-root > *:nth-child(9){transition-delay:.40s}
body.menu-open .mm-root > *:nth-child(10){transition-delay:.43s}
body.menu-open .mm-root > *:nth-child(11){transition-delay:.46s}
body.menu-open .mm-root > *:nth-child(12){transition-delay:.49s}
body.menu-open .mm-root > *:nth-child(13){transition-delay:.52s}
