@import "tailwindcss";

:root {
  --ink: #173e3d;
  --ink-deep: #102c2c;
  --petrol: #0b4a5a;
  --petrol-light: #dcebea;
  --paper: #f5efe6;
  --paper-deep: #e9ddcc;
  --white: #fffdf8;
  --ochre: #cb8b46;
  --line: rgba(23, 62, 61, 0.16);
  --muted: #657371;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-deep);
  font-family: Arial, Helvetica, sans-serif;
}

body.dialogOpen { overflow: hidden; }

button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

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

.siteHeader {
  width: min(1480px, calc(100% - 48px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.brandButton {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.brandMark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--petrol);
  color: white;
  font-size: 11px;
  letter-spacing: .06em;
}

.headerNav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.headerNav button,
.headerNav a {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.headerNav button:hover,
.headerNav button:focus-visible,
.headerNav button.active,
.headerNav a:hover,
.headerNav a:focus-visible,
.headerNav a.active { color: var(--petrol); border-color: currentColor; }

.contentBrand,
.memberBrand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.contentBrand img { width: 178px; height: auto; }
.memberBrand img { width: 190px; height: auto; }

.memberAccess,
.authBack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, .72);
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
}

.headerNav .memberAccess { margin-left: 2px; }

.memberAccess:hover,
.memberAccess:focus-visible,
.authBack:hover,
.authBack:focus-visible { border-color: var(--petrol); color: var(--petrol); }

.landingMain {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 253, 248, .95) 0, rgba(245, 239, 229, 0) 42%),
    var(--paper);
}

.landing {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(54px, 8vh, 100px) 0 80px;
}

.landingIntro {
  max-width: 820px;
  margin: 0 auto 54px;
  text-align: center;
}

.landingIntro .eyebrow { margin-bottom: 17px; }

.landingIntro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.05em;
}

.landingIntro h1 em {
  color: var(--petrol);
  font-weight: 400;
}

.landingIntro > p:last-child {
  max-width: 650px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.landingChoices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.landingChoice {
  appearance: none;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  color: var(--ink-deep);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 55px rgba(34, 55, 50, .08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.landingChoice:hover {
  transform: translateY(-7px);
  border-color: rgba(23, 98, 106, .34);
  box-shadow: 0 28px 70px rgba(34, 55, 50, .14);
}

.landingChoice:focus-visible {
  outline: 3px solid rgba(23, 98, 106, .4);
  outline-offset: 5px;
}

.choiceVisual {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper-deep);
  isolation: isolate;
}

.classesChoice .choiceVisual { background: var(--ink-deep); }

.choiceDisc {
  position: absolute;
  width: 310px;
  aspect-ratio: 1;
  border: 1px solid rgba(203, 139, 70, .4);
  border-radius: 50%;
  background: rgba(255, 253, 248, .48);
}

.classesChoice .choiceDisc {
  background: rgba(220, 235, 234, .08);
  border-color: rgba(143, 197, 194, .3);
}

.choiceVisual > img:not(.choicePose) {
  position: relative;
  z-index: 1;
  width: min(62%, 300px);
  max-height: 315px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(37, 47, 41, .13));
}

.choiceCount {
  position: absolute;
  z-index: 5;
  top: 22px;
  left: 22px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .92);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.choicePose {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, .24));
}

.choicePose-1 { z-index: 2; width: 34%; height: 65%; left: 9%; bottom: 2%; transform: rotate(-3deg); }
.choicePose-2 { z-index: 3; width: 42%; height: 78%; left: 29%; top: 8%; }
.choicePose-3 { z-index: 1; width: 35%; height: 60%; right: 8%; bottom: 1%; transform: rotate(3deg); opacity: .9; }

.choiceCopy {
  min-height: 235px;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 26px;
}

.choiceKicker {
  color: var(--ochre);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.choiceCopy > strong {
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
}

.choiceCopy > span:nth-child(3) {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.choiceLink {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--petrol);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.hero {
  min-height: 660px;
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  padding: 70px 4vw 90px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--petrol);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .23em;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(66px, 7.6vw, 126px);
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.055em;
}

.hero h1 em {
  color: var(--petrol);
  font-weight: 400;
}

.heroText {
  max-width: 610px;
  margin: 38px 0 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.7;
}

.heroMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.heroMeta span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.heroMeta strong { color: var(--ink); }

.heroVisual {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.sunDisc {
  position: absolute;
  width: min(39vw, 550px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1px solid rgba(203, 139, 70, .35);
}

.sunDisc::before,
.sunDisc::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(23, 98, 106, .25);
}

.sunDisc::after { inset: -6%; border-color: rgba(23, 62, 61, .11); }

.heroVisual img {
  position: relative;
  z-index: 1;
  width: min(33vw, 450px);
  filter: drop-shadow(0 28px 38px rgba(39, 45, 38, .15));
  transform: rotate(2.5deg);
}

.heroStamp {
  position: absolute;
  z-index: 2;
  right: 1%;
  bottom: 8%;
  width: 145px;
  aspect-ratio: 1;
  border: 1px solid var(--petrol);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 25px;
  background: var(--paper);
  color: var(--petrol);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.8;
  transform: rotate(-8deg);
}

.flowsSection { padding: 110px max(24px, calc((100vw - 1480px) / 2)); background: var(--ink-deep); color: white; }
.flowsIntro { display: grid; grid-template-columns: 1fr minmax(300px, 440px); align-items: end; gap: 60px; margin-bottom: 48px; }
.flowsIntro .eyebrow { color: #8fc5c2; }
.flowsIntro h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 6vw, 88px); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.flowsIntroCopy { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.flowsIntroCopy p { max-width: 340px; margin: 0; color: #bac6c4; font-size: 15px; line-height: 1.7; }
.flowsIntroCopy > span { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #dcebea; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.flowGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.flowCard { appearance: none; min-width: 0; display: grid; grid-template-columns: minmax(210px,.72fr) minmax(0,1.28fr); overflow: hidden; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: #173e3d; color: white; text-align: left; cursor: pointer; animation: cardIn .55s both; animation-delay: var(--delay); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.flowCard:hover { transform: translateY(-5px); border-color: rgba(143,197,194,.45); box-shadow: 0 24px 50px rgba(0,0,0,.2); }
.flowCard:focus-visible { outline: 3px solid rgba(143,197,194,.65); outline-offset: 4px; }
.flowImage { position: relative; min-height: 430px; overflow: hidden; background: var(--paper-deep); }
.flowImage img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.flowCard:hover .flowImage img { transform: scale(1.025); }
.flowCount { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,253,248,.92); color: var(--ink); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; backdrop-filter: blur(8px); }
.flowBody { min-width: 0; display: flex; flex-direction: column; padding: 34px 32px 28px; }
.flowMeta { display: flex; justify-content: space-between; gap: 12px; color: #9fb5b2; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.flowBody h3 { margin: 42px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px,3vw,48px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.flowSanskrit { margin: 7px 0 20px !important; color: #d5a56f !important; font-family: Georgia, serif; font-style: italic; }
.flowBody > p { margin: 18px 0 0; color: #bac6c4; font-size: 13px; line-height: 1.65; }
.flowBody .focusTags span { background: rgba(220,235,234,.1); color: #b9dcda; }
.flowOpen { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); color: #b9dcda; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.librarySequences {
  margin: 0 0 70px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 28px;
  background: var(--ink-deep);
  color: white;
}

.librarySubheading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 430px);
  align-items: end;
  gap: 42px;
  margin-bottom: 34px;
}

.librarySubheading .eyebrow { margin-bottom: 13px; color: #8fc5c2; }
.librarySubheading h3,
.poseLibraryHeading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.04em;
}

.librarySubheading > p {
  margin: 0 0 6px;
  color: #bac6c4;
  font-size: 14px;
  line-height: 1.65;
}

.poseLibraryHeading { margin: 0 0 30px; }
.poseLibraryHeading .eyebrow { margin-bottom: 12px; }

.classesSection {
  padding: 110px max(24px, calc((100vw - 1480px) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.classesIntro {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 440px);
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}

.classesIntro h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
}

.classesIntro > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.classGrid { display: grid; grid-template-columns: minmax(0, 1fr); }

.classCard {
  appearance: none;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(390px, .95fr) minmax(0, 1.05fr);
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  color: var(--ink-deep);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 55px rgba(34, 55, 50, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.classCard:hover { transform: translateY(-5px); box-shadow: 0 26px 65px rgba(34, 55, 50, .12); }
.classCard:focus-visible { outline: 3px solid rgba(23, 98, 106, .35); outline-offset: 4px; }

.classCollage {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  background: var(--paper-deep);
  isolation: isolate;
}

.classCollage::before {
  content: "";
  position: absolute;
  width: 390px;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(203, 139, 70, .35);
  background: rgba(255, 253, 248, .45);
  transform: translate(-50%, -50%);
}

.classPose { position: absolute; display: grid; place-items: center; }
.classPose img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 25px rgba(37, 47, 41, .14)); }
.classPose-1 { z-index: 2; width: 42%; height: 66%; left: 7%; bottom: 2%; transform: rotate(-3deg); }
.classPose-2 { z-index: 3; width: 51%; height: 78%; left: 28%; top: 8%; }
.classPose-3 { z-index: 1; width: 43%; height: 58%; right: 3%; bottom: 0; transform: rotate(3deg); opacity: .9; }

.classDuration {
  position: absolute;
  z-index: 5;
  top: 24px;
  left: 24px;
  width: 88px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--petrol);
  color: white;
  font-family: Georgia, serif;
  font-size: 18px;
  transform: rotate(-6deg);
}

.classBody { min-width: 0; display: flex; flex-direction: column; padding: 52px 54px 38px; }
.classMeta { display: flex; justify-content: space-between; gap: 16px; color: var(--petrol); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.classBody h3 { margin: 68px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 5vw, 76px); font-weight: 400; line-height: .92; letter-spacing: -.045em; }
.classBody > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.classFacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.classFacts span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; }
.classFacts strong { color: var(--ink); }
.classBody .focusTags { margin-top: 18px; }
.classOpen { display: flex; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); color: var(--petrol); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }

.library {
  padding: 110px max(24px, calc((100vw - 1480px) / 2));
  background: var(--white);
  border-top: 1px solid var(--line);
}

.libraryIntro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.libraryIntro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 5vw, 78px);
  font-weight: 400;
  letter-spacing: -.04em;
}

.libraryIntro p:last-child {
  max-width: 420px;
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
}

.searchRow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: stretch;
}

.searchBox {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--petrol);
}

.searchBox > span:first-child { font-size: 26px; transform: rotate(-20deg); }
.searchBox input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.searchBox input::placeholder { color: #87918f; }
.searchBox:focus-within { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(23, 98, 106, .1); }
.searchBox button { border: 0; background: transparent; color: var(--petrol); font-size: 24px; cursor: pointer; }

.resultCount {
  min-width: 118px;
  display: grid;
  place-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.resultCount strong { color: var(--ink); font-family: Georgia, serif; font-size: 21px; }

.filterRow {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 18px 0 36px;
  scrollbar-width: none;
}

.filterRow::-webkit-scrollbar { display: none; }

.filterChip {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.filterChip:hover { border-color: var(--petrol); color: var(--petrol); }
.filterChip.active { border-color: var(--petrol); background: var(--petrol); color: white; }

.poseGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
}

.poseCard {
  appearance: none;
  padding: 0;
  color: inherit;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  animation: cardIn .55s both;
  animation-delay: var(--delay);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.poseCard:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(34, 55, 50, .1); }

.imageFrame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--paper);
}

.imageFrame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 4px 6px;
  object-fit: contain;
  object-position: 50% 50%;
  transition: transform .45s ease;
}
.poseCard:hover .imageFrame img { transform: scale(1.025); }

.level {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.level-fortgeschritten { background: rgba(23, 62, 61, .9); color: white; }

.cardBody { padding: 22px 20px 20px; }
.cardCategory { margin: 0 0 10px; color: var(--ochre); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.cardBody h3 { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.05; letter-spacing: -.025em; }
.sanskrit { margin: 6px 0 14px; color: var(--petrol); font-size: 12px; font-style: italic; }
.cardSummary { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.focusTags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.focusTags span { padding: 5px 8px; border-radius: 999px; background: var(--petrol-light); color: var(--petrol); font-size: 9px; font-weight: 700; }

.detailLink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--petrol);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.poseCard:focus-visible { outline: 3px solid rgba(23, 98, 106, .35); outline-offset: 3px; }

.dialogBackdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(12, 34, 34, .72);
  backdrop-filter: blur(10px);
  animation: backdropIn .25s both;
}

.poseDialog {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(860px, calc(100vh - 56px));
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(440px, 1.18fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .3);
  animation: dialogIn .32s both;
}

.flowDialog { position: relative; width: min(1180px,100%); max-height: min(900px,calc(100vh - 56px)); display: grid; grid-template-columns: minmax(350px,.9fr) minmax(460px,1.1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 28px; background: var(--white); box-shadow: 0 30px 100px rgba(0,0,0,.3); animation: dialogIn .32s both; }
.flowDialogImage { min-height: 680px; overflow-y: auto; padding: 24px; background: var(--paper-deep); }
.flowDialogImage img { width: 100%; border-radius: 16px; box-shadow: 0 16px 38px rgba(50,47,38,.12); }
.flowDialogContent { overflow-y: auto; padding: 58px 54px 42px; }
.flowDialogContent .eyebrow { margin-bottom: 12px; }
.flowDialogContent h2 { margin: 0; padding-right: 34px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px,5vw,70px); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.flowFacts { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 28px 0; }
.flowFacts span { min-width: 0; padding: 13px 12px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); font-size: 11px; font-weight: 700; }
.flowFacts small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.flowPractice { margin: 0 0 30px; padding: 16px 18px; border-left: 3px solid var(--ochre); background: var(--paper); color: var(--muted); font-size: 12px; line-height: 1.65; }
.flowSteps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flowSteps li { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stepNumber { color: var(--ochre); font-family: Georgia, serif; font-size: 12px; }
.flowSteps h3 { margin: 0; font-size: 12px; letter-spacing: .02em; }
.flowSteps p { margin: 4px 0 0; color: var(--petrol); font-family: Georgia, serif; font-size: 11px; font-style: italic; }
.stepBreath { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.classBackdrop { place-items: center; }
.classDialog { position: relative; width: min(1380px, 100%); max-height: calc(100vh - 56px); overflow-y: auto; border: 1px solid rgba(255,255,255,.24); border-radius: 28px; background: var(--white); box-shadow: 0 30px 100px rgba(0,0,0,.3); animation: dialogIn .32s both; }
.classDialogHeader { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: end; padding: 60px 62px 42px; background: var(--paper); border-bottom: 1px solid var(--line); }
.classDialogHeader .eyebrow { margin-bottom: 13px; }
.classDialogHeader h2 { margin: 0; padding-right: 40px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 6vw, 82px); font-weight: 400; line-height: .9; letter-spacing: -.05em; }
.classDialogHeader .classSummary { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.classHeaderFacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.classHeaderFacts span { min-width: 0; padding: 15px 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,248,.65); color: var(--ink); font-size: 11px; font-weight: 700; }
.classHeaderFacts small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.classDialogLayout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 34px; padding: 42px 62px 58px; }
.classTimeline { min-width: 0; }
.classSectionBlock { padding: 0 0 34px; }
.classSectionBlock + .classSectionBlock { padding-top: 34px; border-top: 1px solid var(--line); }
.classSectionBlock > header { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: start; margin-bottom: 18px; }
.classSectionBlock > header > span { color: var(--ochre); font-family: Georgia, serif; font-size: 12px; }
.classSectionBlock h3 { margin: 0; font-family: Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1; }
.classSectionBlock header p { max-width: 690px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.classSectionBlock header > strong { padding: 7px 10px; border-radius: 999px; background: var(--petrol-light); color: var(--petrol); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.classSteps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-left: 52px; }
.classStep { appearance: none; min-width: 0; min-height: 74px; display: grid; grid-template-columns: 28px 56px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); text-align: left; }
.classStep.linked { cursor: pointer; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.classStep.linked:hover { border-color: rgba(23,98,106,.45); background: #fbfaf5; transform: translateY(-2px); }
.classStep.linked:focus-visible { outline: 3px solid rgba(23,98,106,.25); outline-offset: 2px; }
.classStep:disabled { opacity: 1; }
.classStepNumber { color: var(--ochre); font-family: Georgia, serif; font-size: 11px; }
.classStep img, .sequenceMini { width: 54px; height: 54px; object-fit: contain; object-position: center; border-radius: 10px; background: var(--paper); }
.sequenceMini { display: grid; place-items: center; color: var(--ochre); font-family: Georgia, serif; font-size: 22px; }
.classStepName { min-width: 0; }
.classStepName strong { display: block; overflow: hidden; color: var(--ink); font-size: 11px; line-height: 1.25; text-overflow: ellipsis; }
.classStepName small { display: block; margin-top: 4px; overflow: hidden; color: var(--petrol); font-family: Georgia, serif; font-size: 9px; font-style: italic; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.classStepDetail { padding: 5px 7px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.classStepArrow { color: var(--petrol); font-size: 11px; }
.teacherPanel { position: sticky; top: 22px; display: grid; gap: 12px; }
.teacherPanel > section { padding: 24px; border-radius: 18px; background: var(--ink-deep); color: white; }
.teacherPanel > section + section { background: var(--petrol); }
.teacherKicker { margin: 0 0 9px; color: #a9cfcc; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.teacherPanel h3 { margin: 0 0 18px; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.checkpointList { margin: 0; padding: 0; list-style: none; }
.checkpointList { display: grid; gap: 9px; }
.checkpointList li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.13); color: #dce8e6; font-size: 10px; line-height: 1.4; }
.classLegend { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 9px; line-height: 1.55; }

.classEffect {
  max-width: 760px;
  margin-top: 24px;
  padding: 17px 19px;
  border-left: 3px solid var(--ochre);
  background: rgba(255, 253, 248, .72);
}

.classDialogHeader .classEffect strong {
  display: block;
  margin-bottom: 6px;
  color: var(--petrol);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.classDialogHeader .classEffect p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.dialogUnderlay {
  visibility: hidden;
  pointer-events: none;
}

.dialogClose {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 248, .9);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dialogClose:hover { background: var(--ink); color: white; }

.dialogImage {
  position: relative;
  min-height: 620px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-deep);
}

.dialogImage img {
  width: min(100%, 420px);
  max-height: 72vh;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(50, 47, 38, .13));
}

.dialogImageMeta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.dialogImageMeta span { padding: 8px 10px; border-radius: 999px; background: rgba(255, 253, 248, .82); backdrop-filter: blur(8px); }

.dialogContent {
  overflow-y: auto;
  padding: 62px 62px 42px;
}

.dialogContent .eyebrow { margin-bottom: 14px; }

.dialogContent h2 {
  margin: 0;
  padding-right: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.04em;
}

.dialogSanskrit { margin: 10px 0 26px; color: var(--ochre); font-family: Georgia, serif; font-size: 18px; font-style: italic; }
.dialogLead { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.dialogFocus { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 34px; }
.dialogFocus span { padding: 7px 11px; border-radius: 999px; background: var(--petrol-light); color: var(--petrol); font-size: 10px; font-weight: 800; }

.detailSections { border-top: 1px solid var(--line); }
.detailSections article { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.detailNumber { color: var(--ochre); font-family: Georgia, serif; font-size: 12px; }
.detailSections h3 { margin: 0 0 7px; color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.detailSections p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.poseRelations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.poseRelations > section {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.relationKicker {
  margin: 0 0 5px;
  color: var(--ochre);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.poseRelations h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
}

.relationExplanation {
  min-height: 46px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.relationLinks { display: grid; gap: 7px; }

.relationLinks button {
  appearance: none;
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.relationLinks button:hover {
  border-color: rgba(23, 98, 106, .35);
  background: white;
  transform: translateY(-1px);
}

.relationLinks button:focus-visible {
  outline: 3px solid rgba(23, 98, 106, .25);
  outline-offset: 2px;
}

.relationLinks img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--paper-deep);
}

.relationLinks button > span:nth-child(2) {
  min-width: 0;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.relationLinks small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--petrol);
  font-family: Georgia, serif;
  font-size: 8px;
  font-style: italic;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.relationLinks button > span:last-child { color: var(--petrol); font-size: 10px; }

.safetyNote { margin: 24px 0 0; color: #7d8987; font-size: 10px; line-height: 1.55; }

.emptyState { padding: 100px 24px; text-align: center; border: 1px dashed var(--line); border-radius: 24px; background: var(--paper); }
.emptyState > span { color: var(--ochre); font-size: 50px; }
.emptyState h3 { margin: 12px 0 8px; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.emptyState p { color: var(--muted); }
.emptyState button { margin-top: 12px; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--petrol); color: white; cursor: pointer; }

footer {
  min-height: 180px;
  padding: 55px max(24px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 30px;
  align-items: center;
  background: var(--ink-deep);
  color: white;
}

footer > span { font-family: Georgia, serif; font-size: 25px; }
footer p { color: #bac6c4; font-size: 13px; }
footer button { width: fit-content; padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }

.authShell,
.memberShell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 25%, rgba(255, 253, 248, .92), transparent 38%),
    var(--paper);
}

.authHeader {
  width: min(1180px, calc(100% - 48px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.authHeader form { margin: 0; }
.authHeader button.authBack { font: inherit; }

.authStage {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .65fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding: 70px 0 90px;
}

.authIntro h1,
.memberHero h1,
.memberState h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6.5vw, 92px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.05em;
}

.authIntro h1 em,
.memberHero h1 em { color: var(--petrol); font-weight: 400; }

.authIntro > p:last-child,
.memberHero > div > p:last-child,
.memberState > p {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.authCard {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(34, 55, 50, .12);
}

.authKicker {
  margin: 0 0 8px;
  color: var(--ochre);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.authCard h2 { margin: 0; font-family: Georgia, serif; font-size: 42px; font-weight: 400; }
.authCard label { display: grid; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 800; }
.authCard input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-deep);
  outline: none;
}
.authCard input:focus { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(23, 98, 106, .12); }
.authCard > button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--petrol);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.authCard > button:hover { background: var(--ink); }
.authError { margin: 0; padding: 12px 14px; border-radius: 10px; background: #f8e7e0; color: #793c2b; font-size: 12px; line-height: 1.5; }
.authSuccess { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--petrol-light); color: var(--petrol); font-size: 12px; line-height: 1.5; }
.authHint { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.setupSuccess p { margin: 0; color: var(--muted); line-height: 1.65; }
.primaryLink,
.memberAdminLink {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--petrol);
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.memberHero {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding: 70px 0 90px;
}

.memberStatus {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.memberStatus.active { background: var(--petrol-light); color: var(--petrol); }
.memberStatus.pending { background: #f5e5cf; color: #875921; }

.memberAccount {
  display: grid;
  gap: 10px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}
.memberAccount > span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.memberAccount > strong { overflow-wrap: anywhere; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.memberAccount button,
.memberState > a { width: fit-content; margin-top: 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); text-decoration: none; font-size: 11px; font-weight: 800; cursor: pointer; }
.memberAdminLink { margin-top: 14px; }

.publicHome {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 17%, rgba(255, 253, 248, .92) 0, rgba(245, 239, 230, 0) 32%),
    var(--paper);
}

.publicHeader {
  position: relative;
  z-index: 10;
  width: min(1380px, calc(100% - 64px));
  height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(11, 74, 90, .16);
}

.publicBrand { display: inline-flex; text-decoration: none; }
.publicBrand img { width: 205px; height: auto; }
.publicHeader nav { display: flex; align-items: center; gap: 30px; }
.publicHeader nav > a { color: var(--petrol); text-decoration: none; font-size: 12px; font-weight: 800; }
.publicLogin {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 0 16px;
  border: 1px solid rgba(11, 74, 90, .24);
  border-radius: 999px;
  background: rgba(255, 253, 248, .6);
}

.publicHero {
  width: min(1380px, calc(100% - 64px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(480px, .98fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding: 60px 0 90px;
}

.publicHeroCopy h1 {
  margin: 0;
  color: var(--petrol);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 8vw, 132px);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.06em;
}

.publicHeroCopy h1 em { color: var(--ochre); font-weight: 400; }
.publicHeroCopy > p:last-of-type {
  max-width: 610px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.75;
}

.publicHeroActions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.publicPrimary {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--paper);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.publicSecondary { padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--petrol); text-decoration: none; font-size: 12px; font-weight: 800; }

.publicLogoStage {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.publicLogoStage > img {
  position: relative;
  z-index: 3;
  width: min(63%, 440px);
  height: auto;
}

.publicSun {
  position: absolute;
  z-index: 1;
  width: min(78%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eadcc8;
}

.publicOrbit {
  position: absolute;
  z-index: 2;
  aspect-ratio: 1;
  border: 1px solid rgba(11, 74, 90, .18);
  border-radius: 50%;
}
.orbitOne { width: min(91%, 650px); }
.orbitTwo { width: min(66%, 475px); border-color: rgba(203, 139, 70, .36); }

.publicStamp {
  position: absolute;
  z-index: 4;
  right: 3%;
  bottom: 11%;
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--petrol);
  border-radius: 50%;
  background: var(--paper);
  color: var(--petrol);
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: .12em;
  transform: rotate(-9deg);
}

.publicStatement {
  padding: 120px max(32px, calc((100vw - 1180px) / 2));
  background: var(--petrol);
  color: var(--paper);
}
.publicStatement .eyebrow { color: #d7b17d; }
.publicStatement h2,
.publicMemberTeaser h2 {
  max-width: 1060px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.05em;
}
.publicStatement h2 em { color: #d7b17d; font-weight: 400; }
.publicStatementGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin: 58px 0 0 27%; }
.publicStatementGrid p { margin: 0; color: rgba(245, 239, 230, .76); font-size: 15px; line-height: 1.8; }

.publicMemberTeaser {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(340px, 440px);
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
  padding: 120px 0;
}
.publicMemberTeaser h2 { color: var(--petrol); }
.publicMemberTeaser h2 em { color: var(--ochre); font-weight: 400; }
.publicMemberCard { display: grid; gap: 24px; padding: 34px; border: 1px solid rgba(11, 74, 90, .16); border-radius: 30px; background: var(--white); }
.publicMemberCard img { width: 92px; border-radius: 22px; }
.publicMemberCard p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.publicMemberCard a { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); color: var(--petrol); text-decoration: none; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.publicFooter {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  padding: 32px max(32px, calc((100vw - 1380px) / 2));
  border-top: 1px solid rgba(11, 74, 90, .16);
}
.publicFooter img { width: 175px; }
.publicFooter p { margin: 0; color: var(--muted); font-size: 12px; }
.publicFooter a { color: var(--petrol); font-size: 11px; font-weight: 800; }

.memberDashboard {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 62px 0 100px;
}
.memberDashboardIntro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: end;
  gap: clamp(48px, 8vw, 110px);
  margin-bottom: 52px;
}
.memberDashboardIntro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7.4vw, 104px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.055em;
}
.memberDashboardIntro h1 em { color: var(--petrol); font-weight: 400; }
.memberDashboardIntro > div > p:last-child { max-width: 660px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.memberChoices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.memberChoice {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  color: var(--ink-deep);
  text-decoration: none;
  box-shadow: 0 18px 55px rgba(34, 55, 50, .08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.memberChoice:hover { transform: translateY(-6px); border-color: rgba(11, 74, 90, .34); box-shadow: 0 28px 70px rgba(34, 55, 50, .14); }
.memberChoiceVisual { position: relative; min-height: 330px; display: grid; place-items: center; overflow: hidden; background: var(--paper-deep); isolation: isolate; }
.memberChoiceClasses .memberChoiceVisual { background: var(--petrol); }
.memberChoiceDisc { position: absolute; width: 295px; aspect-ratio: 1; border: 1px solid rgba(203, 139, 70, .42); border-radius: 50%; background: rgba(255, 253, 248, .5); }
.memberChoiceClasses .memberChoiceDisc { border-color: rgba(245, 239, 230, .3); background: rgba(245, 239, 230, .07); }
.memberChoiceVisual > img:not(.memberChoicePose) { position: relative; z-index: 2; width: min(60%, 285px); max-height: 300px; object-fit: contain; }
.memberChoiceCount { position: absolute; z-index: 6; top: 20px; left: 20px; padding: 8px 11px; border-radius: 999px; background: rgba(255, 253, 248, .92); color: var(--petrol); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.memberChoicePose { position: absolute; object-fit: contain; }
.memberChoicePose-1 { z-index: 2; width: 34%; height: 65%; left: 9%; bottom: 2%; transform: rotate(-3deg); }
.memberChoicePose-2 { z-index: 3; width: 42%; height: 78%; left: 29%; top: 8%; }
.memberChoicePose-3 { z-index: 1; width: 35%; height: 60%; right: 8%; bottom: 1%; transform: rotate(3deg); opacity: .9; }
.memberChoiceCopy { min-height: 225px; display: flex; flex-direction: column; padding: 28px 30px 26px; }
.memberChoiceCopy > strong { margin-top: 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 3.5vw, 52px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.memberChoiceCopy > span:nth-child(3) { margin-top: 13px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.adminShell { min-height: 100vh; background: var(--paper); }
.adminHeaderActions { display: flex; align-items: center; gap: 10px; }
.adminContent { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 68px 0 100px; }
.adminIntro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: end; margin-bottom: 46px; }
.adminIntro h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 8vw, 110px); font-weight: 400; line-height: .9; letter-spacing: -.055em; }
.adminIntro h1 em { color: var(--petrol); font-weight: 400; }
.adminIntro > div > p:last-child { max-width: 610px; margin: 22px 0 0; color: var(--muted); line-height: 1.7; }
.adminStats { display: grid; grid-template-columns: repeat(3, minmax(92px, 1fr)); border: 1px solid var(--line); border-radius: 22px; background: var(--white); overflow: hidden; }
.adminStats div { min-width: 110px; display: grid; gap: 4px; padding: 22px 24px; border-right: 1px solid var(--line); }
.adminStats div:last-child { border-right: 0; }
.adminStats strong { font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.adminStats span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.adminPanel { border: 1px solid var(--line); border-radius: 26px; background: var(--white); box-shadow: 0 20px 60px rgba(34, 55, 50, .08); overflow: hidden; }
.adminPanelHeader { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 30px; border-bottom: 1px solid var(--line); }
.adminPanelHeader h2 { margin: 0; font-family: Georgia, serif; font-size: 32px; font-weight: 400; }
.adminPanelHeader > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.memberTableWrap { overflow-x: auto; }
.memberTable { width: 100%; border-collapse: collapse; text-align: left; }
.memberTable th { padding: 14px 20px; background: rgba(238, 232, 218, .46); color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.memberTable td { padding: 19px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.memberTable tbody tr:first-child td { border-top: 0; }
.memberTable td strong { color: var(--ink-deep); font-size: 13px; }
.roleBadge,
.accessBadge { display: inline-flex; width: fit-content; padding: 7px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.roleBadge.admin { background: #f2e4c9; color: #7a531e; }
.roleBadge.member { background: #edf0ec; color: var(--ink); }
.accessBadge.active { background: var(--petrol-light); color: var(--petrol); }
.accessBadge.pending { background: #f8e7e0; color: #793c2b; }
.memberAction { text-align: right; }
.memberAction form { margin: 0; }
.memberAction button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.memberAction button.primary { border-color: var(--petrol); background: var(--petrol); color: white; }
.memberAction button.secondary { background: transparent; color: var(--ink); }
.protectedAdmin { color: var(--muted); font-size: 10px; font-weight: 800; }
.adminEmpty { margin: 0; padding: 40px 30px; color: var(--muted); }
.srOnly { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.memberState {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(80px, 13vh, 150px) 0;
}
.memberState h1 { font-size: clamp(46px, 6vw, 78px); }
.memberState > a { display: inline-flex; margin-top: 28px; }

@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1100px) {
  .publicHero { grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr); }
  .publicLogoStage { min-height: 560px; }
  .hero { grid-template-columns: 1fr 1fr; padding-left: 0; padding-right: 0; }
  .flowCard { grid-template-columns: minmax(180px,.8fr) minmax(0,1.2fr); }
  .flowBody { padding: 28px 24px 24px; }
  .poseGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .classCard { grid-template-columns: minmax(330px, .85fr) minmax(0, 1.15fr); }
  .classBody { padding: 42px 38px 32px; }
  .classDialogLayout { grid-template-columns: minmax(0, 1fr) 280px; padding-left: 42px; padding-right: 42px; }
  .classSteps { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .siteHeader { width: calc(100% - 32px); height: 72px; }
  .headerNav { gap: 14px; }
  .headerNav button,
  .headerNav a { font-size: 11px; }
  .headerNav .memberAccess { display: none; }
  .contentBrand img { width: 145px; }
  .publicHeader { width: calc(100% - 32px); height: 78px; }
  .publicBrand img { width: 168px; }
  .publicHeader nav > a:first-child { display: none; }
  .publicHero { width: calc(100% - 32px); min-height: auto; grid-template-columns: 1fr; gap: 14px; padding: 72px 0 58px; }
  .publicHeroCopy h1 { font-size: clamp(68px, 17vw, 104px); }
  .publicLogoStage { min-height: 500px; }
  .publicLogoStage > img { width: min(66%, 380px); }
  .publicSun { width: min(77%, 470px); }
  .publicStamp { right: 4%; bottom: 6%; width: 108px; }
  .publicStatement { padding: 90px 24px; }
  .publicStatementGrid { grid-template-columns: 1fr; gap: 24px; margin: 46px 0 0; }
  .publicMemberTeaser { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 42px; padding: 90px 0; }
  .publicMemberCard { max-width: 520px; }
  .publicFooter { grid-template-columns: 1fr auto; gap: 18px; padding: 28px 20px; }
  .publicFooter p { display: none; }
  .authHeader { width: calc(100% - 32px); height: 72px; }
  .authStage, .memberHero { width: calc(100% - 32px); min-height: auto; grid-template-columns: 1fr; gap: 42px; padding: 54px 0 70px; }
  .authCard { max-width: 520px; width: 100%; }
  .memberAccount { max-width: 520px; }
  .memberDashboard { width: calc(100% - 32px); padding: 50px 0 72px; }
  .memberDashboardIntro { grid-template-columns: 1fr; gap: 30px; margin-bottom: 38px; }
  .memberChoices { grid-template-columns: 1fr; }
  .memberChoiceVisual { min-height: 310px; }
  .adminContent { width: calc(100% - 32px); padding: 54px 0 72px; }
  .adminIntro { grid-template-columns: 1fr; gap: 30px; }
  .adminStats { width: 100%; }
  .landing { width: calc(100% - 32px); padding: 54px 0 58px; }
  .landingIntro { margin-bottom: 38px; }
  .landingChoices { grid-template-columns: 1fr; }
  .choiceVisual { min-height: 310px; }
  .hero { width: calc(100% - 32px); grid-template-columns: 1fr; padding: 70px 0 55px; gap: 30px; }
  .hero h1 { font-size: clamp(58px, 18vw, 90px); }
  .heroVisual { min-height: 430px; }
  .sunDisc { width: min(92vw, 420px); }
  .heroVisual img { width: min(64vw, 300px); }
  .heroStamp { right: 0; bottom: 2%; width: 118px; }
  .flowsSection { padding-top: 80px; padding-bottom: 80px; }
  .librarySubheading { grid-template-columns: 1fr; gap: 14px; }
  .flowsIntro { grid-template-columns: 1fr; gap: 20px; }
  .flowsIntroCopy { align-items: start; }
  .flowGrid { grid-template-columns: 1fr; }
  .flowCard { grid-template-columns: minmax(145px,.72fr) minmax(0,1.28fr); }
  .flowImage { min-height: 350px; }
  .flowBody h3 { margin-top: 28px; }
  .classesSection { padding-top: 80px; padding-bottom: 80px; }
  .classesIntro { grid-template-columns: 1fr; gap: 18px; }
  .classCard { grid-template-columns: 1fr; }
  .classCollage { min-height: 430px; }
  .classBody h3 { margin-top: 42px; }
  .library { padding-top: 80px; }
  .libraryIntro { align-items: start; flex-direction: column; gap: 14px; }
  .searchRow { grid-template-columns: 1fr; }
  .resultCount { min-height: 52px; display: flex; gap: 5px; align-items: center; justify-content: center; }
  .poseGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .cardBody { padding: 16px 14px; }
  .cardBody h3 { font-size: 21px; }
  .cardSummary { display: none; }
  .focusTags { display: none; }
  .detailLink { margin-top: 13px; font-size: 9px; }
  .dialogBackdrop { place-items: end center; padding: 10px; }
  .poseDialog { max-height: calc(100dvh - 10px); grid-template-columns: 1fr; overflow-y: auto; border-radius: 24px 24px 0 0; }
  .dialogImage { min-height: auto; height: 42vh; padding: 22px; }
  .dialogImage img { width: auto; height: 100%; }
  .dialogContent { overflow: visible; padding: 36px 24px 34px; }
  .dialogContent h2 { font-size: 48px; }
  .poseRelations { grid-template-columns: 1fr; }
  .dialogClose { position: fixed; top: 22px; right: 22px; }
  .flowDialog { max-height: calc(100dvh - 10px); grid-template-columns: 1fr; overflow-y: auto; border-radius: 24px 24px 0 0; }
  .flowDialogImage { min-height: auto; max-height: 56vh; padding: 14px; }
  .flowDialogContent { overflow: visible; padding: 36px 24px 34px; }
  .flowDialogContent h2 { font-size: 48px; }
  .classBackdrop { place-items: end center; }
  .classDialog { max-height: calc(100dvh - 10px); border-radius: 24px 24px 0 0; }
  .classDialogHeader { grid-template-columns: 1fr; gap: 26px; padding: 42px 24px 30px; }
  .classDialogHeader h2 { padding-right: 22px; font-size: 48px; }
  .classHeaderFacts { grid-template-columns: repeat(3, 1fr); }
  .classDialogLayout { grid-template-columns: 1fr; gap: 20px; padding: 30px 24px 38px; }
  .teacherPanel { position: static; grid-template-columns: 1fr 1fr; }
  .classLegend { grid-column: 1 / -1; }
  .classSteps { padding-left: 0; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .brand { letter-spacing: .08em; }
  .brand > span:last-child { display: none; }
  .headerNav button:first-child,
  .headerNav a:first-child { display: none; }
  .contentBrand img { width: 132px; }
  .headerNav { gap: 10px; }
  .headerNav a { font-size: 10px; }
  .memberAccess, .authBack { padding: 8px 11px; font-size: 10px; }
  .authHeader .brand > span:last-child { display: none; }
  .memberBrand img { width: 150px; }
  .publicHeader { height: 72px; }
  .publicBrand img { width: 148px; }
  .publicLogin { min-height: 40px; gap: 16px; padding: 0 12px; font-size: 10px !important; }
  .publicHero { padding-top: 56px; }
  .publicHeroCopy h1 { font-size: clamp(60px, 19vw, 82px); }
  .publicHeroActions { align-items: stretch; flex-direction: column; }
  .publicPrimary { width: 100%; }
  .publicSecondary { width: fit-content; }
  .publicLogoStage { min-height: 400px; }
  .publicLogoStage > img { width: min(68%, 280px); }
  .publicStamp { right: 0; width: 92px; font-size: 7px; }
  .publicStatement h2,
  .publicMemberTeaser h2 { font-size: 51px; }
  .publicMemberCard { padding: 26px; border-radius: 24px; }
  .publicFooter img { width: 145px; }
  .publicFooter a { font-size: 10px; }
  .memberChoiceVisual { min-height: 265px; }
  .memberChoiceDisc { width: 240px; }
  .memberChoiceCopy { min-height: 215px; padding: 25px 22px 22px; }
  .adminHeaderActions .authBack:first-child { display: none; }
  .adminStats div { min-width: 0; padding: 18px 12px; }
  .memberTable,
  .memberTable tbody,
  .memberTable tr,
  .memberTable td { display: block; width: 100%; }
  .memberTable thead { display: none; }
  .memberTable tr { padding: 18px 20px; border-top: 1px solid var(--line); }
  .memberTable tr:first-child { border-top: 0; }
  .memberTable td { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px 0; border: 0; }
  .memberTable td::before { content: attr(data-label); color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
  .memberTable .memberAction { display: flex; justify-content: flex-end; padding-top: 13px; text-align: left; }
  .landing { width: calc(100% - 30px); padding: 42px 0 50px; }
  .landingIntro { margin-bottom: 32px; }
  .landingIntro h1 { font-size: clamp(48px, 16vw, 68px); }
  .landingIntro > p:last-child { font-size: 15px; }
  .choiceVisual { min-height: 260px; }
  .choiceDisc { width: 235px; }
  .choiceCopy { min-height: 220px; padding: 25px 22px 22px; }
  .heroVisual { min-height: 390px; }
  .flowCard { grid-template-columns: 1fr; }
  .flowImage { min-height: 0; aspect-ratio: 4 / 3; }
  .flowBody { padding: 24px 20px 20px; }
  .flowBody h3 { margin-top: 22px; }
  .classCollage { min-height: 350px; }
  .classBody { padding: 28px 22px 22px; }
  .classBody h3 { margin-top: 34px; font-size: 46px; }
  .classHeaderFacts { grid-template-columns: 1fr; }
  .classSectionBlock > header { grid-template-columns: 28px minmax(0, 1fr); }
  .classSectionBlock header > strong { grid-column: 2; justify-self: start; }
  .classStep { grid-template-columns: 24px 48px minmax(0, 1fr) auto; }
  .classStep img, .sequenceMini { width: 46px; height: 46px; }
  .classStepDetail { grid-column: 3; justify-self: start; }
  .classStepArrow { grid-column: 4; grid-row: 1 / span 2; }
  .teacherPanel { grid-template-columns: 1fr; }
  .classLegend { grid-column: auto; }
  .flowFacts { grid-template-columns: 1fr; }
  .flowSteps li { grid-template-columns: 30px 1fr; }
  .stepBreath { grid-column: 2; }
  .poseGrid { grid-template-columns: 1fr 1fr; }
  .imageFrame { aspect-ratio: 2 / 3; }
  .level { left: 8px; bottom: 8px; padding: 5px 7px; }
  .cardBody h3 { font-size: 18px; }
  .sanskrit { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.loadingState {
  min-height: 55vh;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.adminNotice {
  margin: 0 0 18px;
}

.authHeader form,
.memberAccount form,
.memberAction form {
  margin: 0;
}

.memberAction button {
  white-space: nowrap;
}

button[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .headerNav {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .headerNav::-webkit-scrollbar {
    display: none;
  }
}

