:root {
  --ink: #25312a;
  --forest: #294538;
  --forest-deep: #1d3328;
  --sage: #c5d2c1;
  --lime: #dce8a2;
  --cream: #f4efe5;
  --paper: #fffdf8;
  --line: #d9ddd4;
  --muted: #68746d;
  --coral: #e99577;
  --shadow: 0 24px 70px rgba(32, 52, 41, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.topbar { position: sticky; top: 0; z-index: 30; min-height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; border-bottom: 1px solid rgba(37,49,42,.12); background: rgba(255,253,248,.9); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--ink); border-radius: 50%; font-size: 0; line-height: 1; }
.brand-mark::before { content: 'अ'; display: block; font-family: Georgia, serif; font-size: 19px; line-height: 1; transform: translateY(2px); }
.brand > span:last-child { display: grid; gap: 2px; }
.brand strong { font-family: Georgia, serif; font-size: 17px; font-weight: 400; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.privacy { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; }
.privacy span { width: 7px; height: 7px; border-radius: 50%; background: #61a56f; box-shadow: 0 0 0 4px rgba(97,165,111,.12); }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.section-nav { display: flex; align-items: center; gap: 4px; }
.section-nav a { padding: 9px 11px; border-radius: 999px; color: var(--forest); font-size: 11px; text-decoration: none; }
.section-nav a:hover { background: #eef1e9; }

main { min-height: 100vh; }
.intro { display: grid; grid-template-columns: 1.15fr .65fr; align-items: end; gap: 8vw; padding: 76px 6vw 58px; background: var(--cream); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 20px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(52px, 6.4vw, 96px); font-weight: 400; line-height: .91; letter-spacing: -.055em; }
h1 em { color: var(--forest); font-weight: 400; }
.intro-copy { max-width: 440px; margin: 0 0 8px; color: #56645b; font-family: Georgia, serif; font-size: clamp(20px, 2vw, 28px); line-height: 1.35; }

.tools { position: relative; z-index: 2; padding: 36px 6vw 24px; background: var(--paper); }
.mode-switch { width: max-content; display: flex; gap: 4px; margin-bottom: 15px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #f4f3ed; }
.mode-switch button { min-height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.mode-switch button.active { background: var(--forest); color: #fff; box-shadow: 0 5px 18px rgba(37,49,42,.16); }
.search { min-height: 66px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 15px; padding: 0 22px; border: 1px solid #cfd5cc; border-radius: 18px; background: #fff; box-shadow: 0 12px 40px rgba(37,49,42,.06); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--forest); box-shadow: 0 15px 42px rgba(37,49,42,.1); }
.search svg { width: 24px; fill: none; stroke: var(--forest); stroke-width: 1.5; }
.search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; }
.search input::placeholder { color: #98a19b; }
kbd { padding: 5px 9px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 7px; color: #8a948e; background: #f8f8f4; font-size: 11px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.filter { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #56635b; font-size: 12px; cursor: pointer; transition: .18s ease; }
.filter:hover { border-color: #829087; }
.filter.active { border-color: var(--forest); background: var(--forest); color: #fff; }
.summary { min-height: 38px; display: flex; align-items: center; justify-content: space-between; margin-top: 14px; color: var(--muted); font-size: 11px; }
.summary-actions { display: flex; align-items: center; gap: 14px; }
.text-button { border: 0; background: transparent; cursor: pointer; color: var(--forest); font-size: 11px; }
.text-button.active { font-weight: 700; }

.workspace { display: block; padding: 0 6vw 90px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pose-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.pose-card:hover { transform: translateY(-3px); border-color: #aeb9b0; box-shadow: 0 16px 38px rgba(37,49,42,.09); }
.pose-card.selected { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.card-image { position: relative; aspect-ratio: 1; overflow: hidden; background: linear-gradient(145deg, #dfe6d8, #b9cbb8); }
.card-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: var(--photo-focus, 50% 50%); background: #f2f1ed; filter: contrast(1.02); cursor: pointer; }
.placeholder-art { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(41,69,56,.55); }
.placeholder-art::before { content: ''; position: absolute; width: 54%; height: 54%; border: 1px solid rgba(41,69,56,.25); border-radius: 50%; }
.placeholder-art span { position: relative; z-index: 1; font-family: Georgia, serif; font-size: 38px; }
.source-dot { position: absolute; left: 12px; top: 12px; padding: 6px 8px; border-radius: 999px; background: rgba(255,253,248,.9); color: var(--forest); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.source-dot.mine { background: var(--lime); color: var(--forest-deep); }
.variant-count { position: absolute; right: 10px; bottom: 10px; padding: 6px 9px; border-radius: 999px; background: rgba(29,51,40,.88); color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .06em; pointer-events: none; }
.favorite { position: absolute; z-index: 2; right: 10px; top: 10px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,253,248,.9); cursor: pointer; font-size: 17px; }
.favorite.on { background: var(--lime); }
.card-copy { padding: 15px 15px 17px; }
.card-category { display: block; margin-bottom: 8px; color: #89938d; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.card-copy h2 { margin: 0; overflow: hidden; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.card-copy p { margin: 6px 0 0; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.card-copy h2, .card-copy p, .detail-body h2, .sanskrit { user-select: text; cursor: text; }

.detail { display: none; position: fixed; z-index: 60; inset: 4vh 4vw; overflow-y: auto; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: var(--forest-deep); color: #fff; box-shadow: 0 0 0 100vmax rgba(14,24,19,.78), 0 32px 100px rgba(0,0,0,.35); }
.detail.open { display: block; }
.detail-hero { position: relative; width: 100%; min-height: 0; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: #e9e8e3; }
.detail-hero img { width: 100%; height: 100%; display: block; object-fit: contain; cursor: zoom-in; }
.detail-hero .placeholder-art { min-height: 285px; color: var(--forest); }
.detail-gallery-arrow { position: absolute; z-index: 3; top: 50%; width: 46px; height: 54px; display: grid; place-items: center; transform: translateY(-50%); border: 1px solid rgba(29,51,40,.12); border-radius: 999px; background: rgba(255,255,255,.92); color: var(--forest-deep); font-family: Arial, sans-serif; font-size: 36px; line-height: 1; cursor: pointer; box-shadow: 0 8px 24px rgba(29,51,40,.14); transition: background .18s, transform .18s; }
.detail-gallery-arrow:hover { background: var(--lime); transform: translateY(-50%) scale(1.04); }
.detail-gallery-arrow.previous { left: 16px; }
.detail-gallery-arrow.next { right: 16px; }
.detail-gallery-status { position: absolute; z-index: 3; left: 50%; bottom: 16px; max-width: calc(100% - 120px); display: flex; align-items: center; gap: 9px; transform: translateX(-50%); padding: 7px 11px; border-radius: 999px; background: rgba(29,51,40,.88); color: #fff; pointer-events: none; }
.detail-gallery-status span { flex: 0 0 auto; font-size: 9px; font-weight: 700; }
.detail-gallery-status small { overflow: hidden; font-size: 9px; opacity: .82; text-overflow: ellipsis; white-space: nowrap; }
.swipe-hint { display: none; }
.close-detail { display: grid; place-items: center; position: absolute; z-index: 4; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.96); color: transparent; font-size: 0; cursor: pointer; box-shadow: 0 4px 16px rgba(29,51,40,.16); }
.close-detail::before, .close-detail::after { content: ''; position: absolute; width: 17px; height: 2px; border-radius: 2px; background: var(--forest-deep); }
.close-detail::before { transform: rotate(45deg); }
.close-detail::after { transform: rotate(-45deg); }
.close-detail:hover { background: var(--lime); }
.detail-body { padding: 34px max(30px, 8vw) 46px; }
.detail-body > * { width: min(100%, 920px); margin-left: auto; margin-right: auto; }
.detail-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.local-label { color: var(--lime); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail-body h2 { margin: 12px 0 5px; font-family: Georgia, serif; font-size: 31px; font-weight: 400; line-height: 1; letter-spacing: -.025em; }
.detail-title-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.detail-title-row h2 { min-width: 0; }
.copy-title { flex: 0 0 auto; margin-bottom: 5px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent; color: #d6ded9; font-size: 9px; cursor: pointer; }
.copy-title:hover { border-color: var(--lime); color: var(--lime); }
.sanskrit { margin: 0; color: #b7c3bb; font-size: 12px; }
.detail-mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 16px; padding: 4px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.04); }
.detail-mode-switch button { min-height: 34px; border: 0; border-radius: 9px; background: transparent; color: #b7c3bb; font-size: 10px; cursor: pointer; }
.detail-mode-switch button.active { background: var(--lime); color: var(--forest-deep); font-weight: 700; }
.variant-picker { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.variant-picker button { padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: transparent; color: #c5d0c9; font-size: 9px; cursor: pointer; }
.variant-picker button.active { border-color: var(--lime); background: var(--lime); color: var(--forest-deep); }
.hold { display: inline-flex; margin-top: 15px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #d9e1dc; font-size: 10px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.compare > div { min-height: 78px; padding: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.04); }
.compare strong { display: block; margin-bottom: 6px; color: #fff; font-size: 10px; }
.compare span { color: #aebbb3; font-size: 9px; line-height: 1.4; }
.compare .waiting { border-style: dashed; }
.detail-section { margin-top: 23px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.detail-section h3 { margin: 0 0 11px; color: var(--lime); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.guide-copy { margin: 0; color: #d6ded9; font-size: 12px; line-height: 1.65; }
.detail-section ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.detail-section li { position: relative; padding-left: 15px; color: #d6ded9; font-size: 11px; line-height: 1.45; }
.detail-section li::before { content: '·'; position: absolute; left: 2px; color: var(--lime); }
.notes { width: 100%; min-height: 92px; resize: vertical; padding: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; outline: 0; background: rgba(255,255,255,.06); color: #fff; font-size: 11px; line-height: 1.5; }
.notes:focus { border-color: var(--lime); }
.notes::placeholder { color: #87978d; }
.note-status { display: block; min-height: 14px; margin-top: 6px; color: #93a49a; font-size: 9px; }
.empty { grid-column: 1 / -1; display: grid; justify-items: center; padding: 80px 20px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; }
.empty span { font-family: Georgia, serif; font-size: 54px; color: var(--sage); }
.empty h2 { margin: 12px 0 6px; font-family: Georgia, serif; font-weight: 400; }
.empty p { margin: 0; color: var(--muted); font-size: 12px; }
.lightbox { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 34px; background: rgba(14,24,19,.91); cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(94vw, 1500px); max-height: 92vh; object-fit: contain; border-radius: 8px; box-shadow: 0 28px 90px rgba(0,0,0,.42); cursor: default; }
.lightbox-close { position: fixed; z-index: 2; right: 22px; top: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--forest-deep); font-size: 28px; line-height: 1; cursor: pointer; }
body.lightbox-open { overflow: hidden; }
body.detail-open { overflow: hidden; }

.class-library { scroll-margin-top: 74px; padding: 74px 6vw 90px; border-top: 1px solid var(--line); background: var(--cream); }
.class-heading { display: grid; grid-template-columns: 1.1fr .75fr; align-items: end; gap: 8vw; }
.class-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(44px, 5vw, 76px); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.class-intro { max-width: 480px; }
.class-intro p { margin: 0 0 16px; color: #56645b; font-family: Georgia, serif; font-size: 19px; line-height: 1.4; }
.class-intro a { color: var(--forest); font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.class-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 38px 0 20px; }
.class-filter { padding: 11px 15px; border: 1px solid #c9cfc5; border-radius: 999px; background: rgba(255,255,255,.46); color: #56635b; font-size: 12px; cursor: pointer; }
.class-filter span { margin-left: 5px; opacity: .58; }
.class-filter:hover { border-color: #829087; }
.class-filter.active { border-color: var(--forest); background: var(--forest); color: #fff; }
.class-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.class-card { min-width: 0; overflow: hidden; border: 1px solid #d0d5ca; border-radius: 18px; background: var(--paper); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.class-card:hover { transform: translateY(-4px); border-color: #aab5a8; box-shadow: 0 18px 46px rgba(37,49,42,.12); }
.class-cover { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; background: #dce3d8; }
.class-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s; }
.class-card:hover .class-cover img { transform: scale(1.025); }
.play-mark { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(29,51,40,.83); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.play-mark i { width: 0; height: 0; margin-left: 4px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid #fff; }
.class-duration { position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 7px; background: rgba(18,29,23,.86); color: #fff; font-size: 10px; font-weight: 700; }
.class-copy { min-height: 150px; display: flex; flex-direction: column; padding: 17px 18px 18px; }
.class-copy small { margin-bottom: 10px; color: #7a877f; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.class-copy strong { display: -webkit-box; overflow: hidden; font-family: Georgia, serif; font-size: 20px; font-weight: 400; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.class-copy > span { margin-top: auto; padding-top: 17px; color: var(--forest); font-size: 11px; font-weight: 700; }
.class-copy b { font-size: 13px; }

.flow-library { scroll-margin-top: 74px; padding: 76px 6vw 92px; border-top: 1px solid var(--line); background: var(--paper); }
.flow-heading { display: grid; grid-template-columns: 1.1fr .75fr; align-items: end; gap: 8vw; }
.flow-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(44px, 5vw, 76px); font-weight: 400; line-height: .92; letter-spacing: -.045em; }
.flow-heading h2 em { color: var(--coral); font-weight: 400; }
.flow-intro { max-width: 480px; }
.flow-intro p { margin: 0 0 16px; color: #56645b; font-family: Georgia, serif; font-size: 19px; line-height: 1.4; }
.flow-intro a { color: var(--forest); font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.flow-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.flow-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.flow-card:hover { transform: translateY(-4px); border-color: #aab5a8; box-shadow: 0 18px 46px rgba(37,49,42,.12); }
.flow-number { position: absolute; z-index: 3; left: 12px; top: 12px; min-width: 31px; padding: 6px 8px; border-radius: 999px; background: rgba(255,253,248,.9); color: var(--forest-deep); font-size: 9px; font-weight: 700; text-align: center; }
.flow-cover { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; background: #dce3d8; }
.flow-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s; }
.flow-card:hover .flow-cover img { transform: scale(1.025); }
.flow-copy { min-height: 150px; display: flex; flex-direction: column; padding: 17px 18px 18px; }
.flow-copy small { margin-bottom: 10px; color: var(--coral); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.flow-copy strong { display: -webkit-box; overflow: hidden; font-family: Georgia, serif; font-size: 20px; font-weight: 400; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.flow-copy > span { margin-top: auto; padding-top: 17px; color: var(--forest); font-size: 11px; font-weight: 700; }

.contact-section { scroll-margin-top: 74px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw; padding: 78px 6vw 88px; background: var(--forest-deep); color: #fff; }
.contact-section .eyebrow { color: #aebbb3; }
.contact-section h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(48px, 5.5vw, 82px); font-weight: 400; line-height: .92; letter-spacing: -.05em; }
.contact-section h2 em { color: var(--lime); font-weight: 400; }
.contact-panel { align-self: end; }
.contact-panel > p { max-width: 510px; margin: 0 0 25px; color: #c4cec8; font-family: Georgia, serif; font-size: 19px; line-height: 1.45; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-link { position: relative; min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; color: #fff; text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
.contact-link:hover { transform: translateY(-3px); border-color: var(--lime); background: rgba(255,255,255,.05); }
.contact-link.primary { border-color: var(--lime); background: var(--lime); color: var(--forest-deep); }
.contact-link span { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.contact-link strong { font-family: Georgia, serif; font-size: 19px; font-weight: 400; }
.contact-link b { position: absolute; right: 16px; top: 15px; font-size: 16px; }

@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .intro { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail { inset: 10px; }
  .detail-hero { aspect-ratio: 4 / 3; }
  .detail-body { padding: 24px; }
  .detail-gallery-arrow { display: none; }
  .detail-gallery-status { bottom: 13px; max-width: calc(100% - 32px); }
  .swipe-hint { position: absolute; z-index: 3; left: 12px; top: 12px; display: block; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--forest-deep); font-size: 9px; pointer-events: none; }
  .class-heading { grid-template-columns: 1fr; gap: 24px; }
  .class-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-heading { grid-template-columns: 1fr; gap: 24px; }
  .flow-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-section { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .topbar { min-height: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 12px; padding: 10px 14px; }
  .topbar-actions { display: contents; }
  .privacy { width: 9px; height: 9px; padding: 0; border: 0; font-size: 0; background: #61a56f; border-radius: 50%; }
  .privacy span { display: none; }
  .privacy { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
  .section-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 13px; background: #f1f2ec; }
  .section-nav a { padding: 9px 4px; border-radius: 10px; font-size: 10px; text-align: center; }
  .section-nav a:hover { background: #fff; }
  .intro { padding: 54px 20px 42px; }
  h1 { font-size: 51px; }
  .intro-copy { font-size: 19px; }
  .tools { padding: 22px 16px 16px; }
  .mode-switch { width: 100%; }
  .mode-switch button { flex: 1; padding: 0 10px; }
  .search { min-height: 58px; padding: 0 16px; }
  kbd { display: none; }
  .workspace { padding: 0 16px 60px; }
  .summary { align-items: flex-start; gap: 10px; }
  .summary-actions { display: grid; justify-items: end; gap: 6px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 9px; }
  .card-copy { padding: 12px; }
  .card-copy h2 { font-size: 15px; }
  .favorite { right: 7px; top: 7px; }
  .source-dot { left: 8px; top: 8px; font-size: 7px; }
  .class-library { padding: 56px 16px 64px; }
  .class-intro p { font-size: 17px; }
  .class-filters { margin-top: 28px; }
  .class-cards { grid-template-columns: 1fr; }
  .class-copy { min-height: 132px; }
  .flow-library { padding: 56px 16px 64px; }
  .flow-intro p { font-size: 17px; }
  .flow-cards { grid-template-columns: 1fr; margin-top: 28px; }
  .flow-copy { min-height: 132px; }
  .contact-section { padding: 58px 16px 64px; }
  .contact-panel > p { font-size: 17px; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-link { min-height: 112px; }
}

/* Multi-page site shell */
.site-page { min-height: 100vh; background: var(--paper); }
.site-header { position: sticky; z-index: 40; top: 0; min-height: 82px; display: grid; grid-template-columns: minmax(190px,1fr) auto minmax(130px,1fr); align-items: center; gap: 20px; padding: 10px 4vw; border-bottom: 1px solid rgba(37,49,42,.12); background: rgba(255,253,248,.93); backdrop-filter: blur(18px); }
.site-brand { justify-self: start; display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.site-brand > span:last-child { display: grid; gap: 2px; }
.site-brand strong { font-family: Georgia, serif; font-size: 17px; font-weight: 400; }
.site-brand small { color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.site-tabs { justify-self: center; display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #f0f1eb; }
.site-tabs a { min-height: 40px; display: grid; place-items: center; padding: 0 15px; border-radius: 999px; color: #4f5e55; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .18s, color .18s, box-shadow .18s; }
.site-tabs a:hover { background: #fff; }
.site-tabs a.active { background: var(--forest); color: #fff; box-shadow: 0 6px 18px rgba(37,49,42,.18); }
.header-cta { justify-self: end; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border-radius: 999px; background: var(--lime); color: var(--forest-deep); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-cta:hover, .header-cta.active { background: var(--forest); color: #fff; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; }
.button.primary { background: var(--forest); color: #fff; }
.button.secondary { border-color: #bfc7bd; color: var(--forest); background: rgba(255,255,255,.55); }
.button.light { background: var(--lime); color: var(--forest-deep); }

.home-hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(330px,.68fr); align-items: center; gap: 6vw; padding: 42px 6vw 48px; background: var(--cream); }
.home-hero-copy { max-width: 730px; }
.home-hero h1 { margin: 0; font-size: clamp(40px,4.25vw,62px); line-height: .98; }
.home-hero h1 em { color: var(--forest); }
.home-lead { max-width: 650px; margin: 20px 0 0; color: #58655d; font-family: Georgia,serif; font-size: clamp(17px,1.45vw,21px); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.hero-motto { margin: 20px 0 0; color: var(--forest); font-family: Georgia,serif; font-size: 14px; font-style: italic; }
.direction-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin-top: 27px; color: var(--muted); }
.direction-tags::before { content: 'Направления'; margin-right: 13px; color: #89938d; font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.direction-tags span { padding: 0 12px; border-left: 1px solid #c8cec5; font-size: 10px; line-height: 1.35; }
.direction-tags span:first-of-type { padding-left: 0; border-left: 0; }
.home-visual { position: relative; justify-self: end; width: min(100%,400px); aspect-ratio: 4/4.8; overflow: hidden; border-radius: 26px; background: #d8dfd3; box-shadow: var(--shadow); }
.home-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.visual-caption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 3px; padding: 14px 16px; border-radius: 15px; background: rgba(255,253,248,.9); backdrop-filter: blur(12px); }
.visual-caption strong { font-family: Georgia,serif; font-size: 16px; font-weight: 400; }
.visual-caption span { color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.directions-section, .formats-section, .explore-section { padding: 38px 6vw 43px; }
.directions-section { background: var(--paper); }
.formats-section { scroll-margin-top: 82px; border-top: 1px solid var(--line); background: var(--cream); }
.explore-section { border-top: 1px solid var(--line); background: #f2f3ed; }
.section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.55fr); align-items: end; gap: 8vw; margin-bottom: 34px; }
.section-heading h2 { max-width: 760px; margin: 0; font-family: Georgia,serif; font-size: clamp(36px,4vw,58px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); font-family: Georgia,serif; font-size: 17px; line-height: 1.45; }
.direction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.direction-card { min-height: 245px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 22px; color: #fff; background: var(--forest-deep); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.direction-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.direction-card.flow-direction-card { color: var(--forest-deep); background: var(--lime); }
.direction-card small { font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; opacity: .7; }
.direction-card h3 { margin: 11px 0 10px; font-family: Georgia,serif; font-size: clamp(29px,3vw,42px); font-weight: 400; }
.direction-card p { max-width: 500px; margin: 0; font-size: 13px; line-height: 1.6; opacity: .78; }
.direction-card .card-link { align-self: flex-start; margin-top: 24px; color: inherit; font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: underline; text-underline-offset: 4px; }
.formats-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.format-card { min-width: 0; overflow: hidden; border: 1px solid #d0d5cb; border-radius: 20px; background: var(--paper); color: inherit; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.format-card:hover { transform: translateY(-4px); border-color: #aab5a8; box-shadow: var(--shadow); }
.format-media { position: relative; aspect-ratio: 16/10; display: block; overflow: hidden; background: #e5e8df; }
.format-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s; }
.format-card:hover .format-media img { transform: scale(1.025); }
.format-media-flow { background: #dfe6d8; }
.format-media-flow img { object-position: center 43%; }
.format-media-flow::before, .format-media-flow::after { content: ''; position: absolute; z-index: -1; width: 120%; height: 42%; left: -10%; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; transform: rotate(-8deg); }
.format-media-flow::before { top: 19%; }
.format-media-flow::after { top: 38%; transform: rotate(7deg); opacity: .56; }
.flow-placeholder-label { position: absolute; left: 16px; top: 15px; font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.flow-placeholder-word { font-family: Georgia,serif; font-size: clamp(38px,4vw,64px); font-style: italic; letter-spacing: -.04em; }
.format-copy { min-height: 238px; display: flex; flex-direction: column; padding: 20px; }
.format-copy small { margin-bottom: 11px; color: var(--coral); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.format-copy strong { font-family: Georgia,serif; font-size: 24px; font-weight: 400; line-height: 1.12; }
.format-copy > span { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.format-copy b { margin-top: auto; padding-top: 22px; color: var(--forest); font-size: 11px; }
.explore-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.explore-card { min-height: 265px; display: flex; flex-direction: column; padding: 23px; border: 1px solid #d0d5cb; border-radius: 19px; background: var(--paper); color: inherit; text-decoration: none; transition: transform .2s,box-shadow .2s; }
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.explore-card > span { color: var(--coral); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.explore-card h3 { margin: 34px 0 9px; font-family: Georgia,serif; font-size: 27px; font-weight: 400; }
.explore-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.explore-card b { margin-top: auto; color: var(--forest); font-size: 11px; }
.home-contact-strip, .inline-contact { display: grid; grid-template-columns: 1fr minmax(280px,.6fr) auto; align-items: end; gap: 5vw; padding: 55px 6vw; background: var(--forest-deep); color: #fff; }
.home-contact-strip h2, .inline-contact h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(31px,3.5vw,49px); font-weight: 400; }
.home-contact-strip .eyebrow, .inline-contact .eyebrow { color: #aebbb3; }
.home-contact-strip > p { margin: 0; color: #c4cec8; font-family: Georgia,serif; font-size: 17px; line-height: 1.45; }

.page-intro { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(300px,.65fr); align-items: end; gap: 8vw; padding: 64px 6vw 55px; border-bottom: 1px solid var(--line); background: var(--cream); }
.page-intro h1 { margin: 0; font-size: clamp(42px,4.8vw,68px); line-height: .96; }
.page-intro h1 em { color: var(--forest); }
.flow-page-intro h1 em { color: var(--coral); }
.flow-page-intro { align-items: center; grid-template-columns: minmax(0,1fr) minmax(280px,430px); }
.flow-intro-copy { max-width: 660px; }
.flow-intro-copy > p:not(.eyebrow) { max-width: 570px; margin: 24px 0 0; color: #56645b; font-family: Georgia,serif; font-size: 19px; line-height: 1.45; }
.flow-intro-copy > a:not(.return-link) { display: inline-block; margin-top: 18px; color: var(--forest); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.flow-preview { width: min(100%,430px); aspect-ratio: 4/5; justify-self: end; overflow: hidden; border-radius: 24px; background: #dfe6d8; box-shadow: var(--shadow); }
.flow-preview video { width: 100%; height: 100%; display: block; object-fit: cover; }
.page-intro > p, .page-intro-copy p { margin: 0; color: #56645b; font-family: Georgia,serif; font-size: 19px; line-height: 1.45; }
.page-intro-copy a { display: inline-block; margin-top: 16px; color: var(--forest); font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.content-list-section { padding: 36px 6vw 40px; }
.content-list-section .flow-cards { margin-top: 24px; }
.content-list-section .hatha-cards { margin-top: 24px; }
.list-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.list-heading span { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.list-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.inline-contact { grid-template-columns: 1fr auto; }

.practice-page-hero { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr); align-items: stretch; gap: 6vw; padding: 58px 6vw 68px; background: var(--cream); }
.practice-page-image { min-height: 520px; overflow: hidden; border-radius: 24px; background: #e2e5dd; box-shadow: var(--shadow); }
.practice-page-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.practice-page-hero--landscape .practice-page-image { min-height: 0; aspect-ratio: 7/4; align-self: center; }
.practice-page-hero--landscape .practice-page-image img { object-fit: contain; }
@media (min-width: 821px) and (max-width: 1100px) {
  .practice-page-hero--landscape { grid-template-columns: minmax(0,1fr); gap: 38px; }
  .practice-page-hero--landscape .practice-page-copy { max-width: 900px; }
}
.practice-page-copy { align-self: center; max-width: 680px; }
.practice-page-copy h1 { font-size: clamp(43px,4.7vw,68px); line-height: .96; }
.practice-lead { margin: 24px 0 17px; color: #46564d; font-family: Georgia,serif; font-size: 20px; line-height: 1.45; }
.practice-page-copy > p:not(.eyebrow):not(.practice-lead):not(.practice-highlight):not(.practice-audience) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.practice-highlight { margin: 20px 0 0; padding: 17px 18px; border-left: 3px solid var(--coral); background: rgba(255,255,255,.55); color: var(--forest-deep); font-family: Georgia,serif; font-size: 16px; line-height: 1.5; }
.practice-audience { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.practice-page-copy .button { margin-top: 22px; }
.return-link { display: inline-block; margin: 0 0 20px; color: var(--forest); font-size: 11px; font-weight: 700; text-decoration: underline; text-decoration-color: #a9b5ab; text-underline-offset: 4px; }
.return-link:hover { text-decoration-color: var(--forest); }
.page-intro-copy .return-link { margin-top: 0; margin-bottom: 17px; }
.practice-story { display: grid; grid-template-columns: minmax(0,.8fr) minmax(360px,1fr); gap: 8vw; padding: 66px 6vw 72px; background: var(--paper); }
.practice-story h2 { max-width: 620px; margin: 0; font-family: Georgia,serif; font-size: clamp(34px,3.7vw,54px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.practice-story-copy { max-width: 720px; }
.practice-story-copy > p:not(.practice-highlight) { margin: 0 0 17px; color: #56645b; font-family: Georgia,serif; font-size: 17px; line-height: 1.55; }
.flow-practice-story { border-bottom: 1px solid var(--line); background: var(--paper); }

.about-hero { display: grid; grid-template-columns: minmax(240px,300px) minmax(0,1fr); align-items: center; gap: 7vw; padding: 60px 6vw 70px; background: var(--cream); }
.about-photo { width: 100%; max-width: 300px; aspect-ratio: 4/5; justify-self: center; overflow: hidden; border-radius: 24px; background: #d9ded5; }
.about-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.about-copy { align-self: center; max-width: 700px; }
.about-copy h1, .contacts-main h1, .contacts-main h2 { margin: 0; font-size: clamp(46px,5vw,72px); line-height: .93; }
.about-copy h1 em, .contacts-main h1 em, .contacts-main h2 em { color: var(--forest); }
.about-lead { margin: 25px 0 0; color: #56645b; font-family: Georgia,serif; font-size: 20px; line-height: 1.5; }
.about-directions { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin-top: 25px; color: var(--muted); }
.about-directions::before { content: 'Направления'; width: 100%; margin-bottom: 10px; color: #89938d; font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.about-directions span { padding: 0 12px; border-left: 1px solid #c8cec5; font-size: 10px; line-height: 1.4; }
.about-directions span:first-of-type { padding-left: 0; border-left: 0; }
.about-certificate-link { display: inline-block; margin-top: 22px; color: var(--forest); font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.about-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; padding: 1px 6vw 80px; background: var(--line); }
.about-values article { min-height: 250px; padding: 25px; background: var(--paper); }
.about-values span { color: var(--coral); font-size: 10px; font-weight: 700; }
.about-values h2 { margin: 45px 0 10px; font-family: Georgia,serif; font-size: 25px; font-weight: 400; }
.about-values p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.contacts-main { min-height: 0; display: grid; grid-template-columns: 1fr; gap: 28px; padding: 40px 6vw; background: var(--cream); }
.contacts-main > div:first-child { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.65fr); align-items: end; column-gap: 6vw; row-gap: 18px; }
.contacts-main > div:first-child > p:last-child { grid-column: 2; grid-row: 1 / span 2; max-width: 570px; margin: 0; color: #56645b; font-family: Georgia,serif; font-size: 18px; line-height: 1.5; }
.contacts-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.contact-tile { position: relative; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 23px; border: 1px solid #c9d0c7; border-radius: 20px; background: var(--paper); color: inherit; text-decoration: none; }
.contact-tile.primary { border-color: rgba(41,69,56,.18); background: #5f6940; color: #fff; }
.contact-tile span { font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; opacity: .65; }
.contact-tile strong { font-family: Georgia,serif; font-size: clamp(22px,2.4vw,33px); font-weight: 400; }
.contact-tile p { margin: 0; font-size: 11px; opacity: .68; }
.contact-tile b { position: absolute; right: 20px; top: 18px; }
.schedule-section { scroll-margin-top: 82px; padding: 40px 6vw; border-top: 1px solid var(--line); background: #f2f3ed; }
.schedule-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.55fr); align-items: end; gap: 7vw; margin-bottom: 32px; }
.schedule-heading h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(40px,4.5vw,64px); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.schedule-heading > p { margin: 0; color: var(--muted); font-family: Georgia,serif; font-size: 17px; line-height: 1.45; }
.studio-block { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(330px,.75fr); gap: 16px; }
.studio-copy, .studio-map { overflow: hidden; border: 1px solid #c9d0c7; border-radius: 22px; background: var(--paper); }
.studio-copy { padding: 28px; }
.schedule-kicker { margin: 0; color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.studio-copy > h3, .online-schedule h3 { margin: 12px 0 26px; font-family: Georgia,serif; font-size: clamp(28px,3vw,40px); font-weight: 400; line-height: 1.08; }
.schedule-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.schedule-list article { min-height: 145px; padding: 16px; border-radius: 15px; background: var(--cream); }
.schedule-list article > strong { display: block; margin-bottom: 13px; font-family: Georgia,serif; font-size: 18px; font-weight: 400; }
.schedule-list p { display: grid; grid-template-columns: 95px 1fr; gap: 8px; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.schedule-list time { color: var(--forest); font-weight: 700; }
.studio-map { min-height: 560px; display: flex; flex-direction: column; }
.studio-map iframe { width: 100%; min-height: 0; flex: 1 1 auto; border: 0; background: #e1e4dc; }
.studio-map a { padding: 18px 20px; border-top: 1px solid var(--line); color: var(--forest); font-size: 13px; font-weight: 700; text-decoration: none; }
.online-schedule { display: grid; grid-template-columns: minmax(240px,1fr) repeat(2,minmax(210px,.65fr)); gap: 12px; margin-top: 16px; padding: 25px; border-radius: 20px; background: #5f6940; color: #fff; }
.online-schedule h3 { margin-bottom: 0; }
.online-schedule article { display: flex; flex-direction: column; justify-content: space-between; padding: 17px; border: 1px solid rgba(255,255,255,.22); border-radius: 15px; background: rgba(255,253,248,.11); }
.online-schedule article strong { color: var(--lime); font-size: 12px; }
.online-schedule article time { margin: 25px 0 8px; font-family: Georgia,serif; font-size: 25px; }
.online-schedule article span { color: #edf0e4; font-size: 13px; }
.pricing-section { padding: 70px 6vw 40px; border-top: 1px solid var(--line); background: var(--paper); }
.pricing-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.65fr); align-items: end; column-gap: 7vw; row-gap: 20px; margin-bottom: 30px; }
.pricing-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.pricing-heading h1, .pricing-heading h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(38px,4.4vw,62px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.pricing-heading > p:last-child { margin: 0; color: var(--muted); font-family: Georgia,serif; font-size: 17px; line-height: 1.45; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.price-card { min-height: 245px; display: flex; flex-direction: column; padding: 22px; border: 1px solid #c9d0c7; border-radius: 19px; background: var(--cream); }
.price-card small { color: var(--coral); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.price-card h3 { margin: 38px 0 18px; font-family: Georgia,serif; font-size: 23px; font-weight: 400; line-height: 1.18; }
.price-card strong { margin-top: auto; color: var(--forest); font-family: Georgia,serif; font-size: 31px; font-weight: 400; }
.practice-availability { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.25fr) auto; align-items: center; gap: 5vw; padding: 40px 6vw 44px; border-top: 1px solid var(--line); background: #f2f3ed; }
.practice-availability h2 { margin: 0 0 12px; font-family: Georgia,serif; font-size: clamp(30px,3.4vw,48px); font-weight: 400; line-height: 1; }
.practice-availability > div:first-child > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.availability-times, .availability-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.availability-times article, .availability-groups article { min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; padding: 15px; border: 1px solid #ccd2c9; border-radius: 14px; background: var(--paper); }
.availability-times strong, .availability-groups strong { font-size: 12px; }
.availability-times time, .availability-groups time { color: var(--forest); font-family: Georgia,serif; font-size: 20px; white-space: nowrap; }
.availability-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
.availability-groups small { color: var(--coral); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.availability-groups p { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 12px 0 0; }
.forming-group { grid-template-columns: minmax(0,1fr) auto; background: var(--lime); }
.forming-group .button { border-color: var(--forest); }
.certificate-section { padding: 44px 6vw 90px; background: var(--paper); }
.certificate-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.certificate-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #fff; color: inherit; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.certificate-card:hover { transform: translateY(-4px); border-color: #aab5a8; box-shadow: var(--shadow); }
.certificate-image { aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; padding: 18px; border-bottom: 1px solid var(--line); background: #f1eee6; }
.certificate-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.certificate-copy { min-height: 150px; display: flex; flex-direction: column; padding: 18px; }
.certificate-copy small { margin-bottom: 10px; color: var(--coral); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.certificate-copy strong { font-family: Georgia,serif; font-size: 21px; font-weight: 400; line-height: 1.2; }
.certificate-copy > span { margin-top: auto; padding-top: 17px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.site-footer { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 6vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.site-footer div { display: flex; gap: 18px; }
.site-footer a { color: var(--forest); }
.source-dot.sequence { background: #f7d892; color: var(--forest-deep); }
.sequence-art { background: radial-gradient(circle at 50% 45%,#f6d589 0 18%,#e6b866 19% 20%,#ece9dc 21% 100%); }
.sequence-art span { color: var(--forest-deep); font-size: 48px; }

@media (max-width: 1060px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 12px; padding-inline: 3vw; }
  .site-tabs a { padding-inline: 10px; font-size: 11px; }
  .site-brand small { display: none; }
  .home-hero { grid-template-columns: 1fr .7fr; gap: 4vw; }
  .practice-availability { grid-template-columns: 1fr; gap: 24px; }
  .practice-availability .button { justify-self: start; }
}
@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; padding: 10px 16px; }
  .site-tabs { grid-column: 1 / -1; grid-row: 2; width: 100%; display: grid; grid-template-columns: repeat(5,1fr); border-radius: 15px; }
  .site-tabs a { padding: 0 6px; border-radius: 11px; }
  .home-hero, .page-intro, .about-hero, .contacts-main { grid-template-columns: 1fr; }
  .flow-preview { justify-self: start; width: min(100%,390px); }
  .home-visual { justify-self: stretch; width: 100%; max-height: 620px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .explore-grid, .about-values { grid-template-columns: 1fr 1fr; }
  .formats-grid { grid-template-columns: 1fr 1fr; }
  .format-card:last-child { grid-column: 1 / -1; }
  .practice-page-hero, .practice-story { grid-template-columns: 1fr; }
  .practice-page-image { min-height: 440px; }
  .home-contact-strip { grid-template-columns: 1fr auto; }
  .home-contact-strip > p { grid-column: 1 / -1; grid-row: 2; }
  .about-photo { min-height: 460px; }
  .contacts-main { min-height: 0; }
  .contacts-main > div:first-child { grid-template-columns: 1fr; gap: 12px; }
  .contacts-main > div:first-child > p:last-child { grid-column: auto; grid-row: auto; margin-top: 4px; }
  .schedule-heading, .studio-block, .practice-availability { grid-template-columns: 1fr; }
  .studio-map { min-height: 420px; }
  .online-schedule { grid-template-columns: 1fr 1fr; }
  .online-schedule > div { grid-column: 1 / -1; }
  .practice-availability .button { justify-self: start; }
  .pricing-heading { grid-template-columns: 1fr; gap: 16px; }
  .pricing-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .certificate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .direction-card { min-height: 195px; padding: 18px; border-radius: 18px; }
  .direction-card h3 { margin: 7px 0; font-size: 27px; line-height: 1.02; }
  .direction-card p { font-size: 11px; line-height: 1.4; }
  .direction-card .card-link { margin-top: 14px; font-size: 14px; }
}
@media (max-width: 560px) {
  .site-header { position: relative; gap: 8px; padding-inline: 12px; }
  .site-brand strong { font-size: 15px; }
  .site-brand .brand-mark { width: 34px; height: 34px; }
  .header-cta { min-height: 38px; padding-inline: 11px; font-size: 11px; }
  .site-tabs { grid-template-columns: repeat(3,1fr); gap: 3px; }
  .site-tabs a { min-height: 40px; font-size: 11px; }
  .home-hero { position: relative; display: block; padding: 12px; }
  .home-visual { width: 100%; height: calc(100svh - 170px); min-height: 540px; max-height: 680px; aspect-ratio: auto; border-radius: 22px; }
  .home-visual img { object-position: 50% 50%; }
  .home-hero-copy { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 26px; max-width: none; padding: 18px; border: 1px solid rgba(36,79,62,.14); border-radius: 18px; background: rgba(255,253,248,.92); box-shadow: 0 14px 36px rgba(35,53,43,.14); backdrop-filter: blur(14px); }
  .home-hero-copy .eyebrow { margin-bottom: 9px; font-size: 8px; }
  .home-hero h1 { font-size: clamp(29px,8.3vw,34px); line-height: .98; }
  .home-lead { margin-top: 11px; font-size: 13px; line-height: 1.36; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
  .hero-actions .button { min-height: 40px; padding: 0 8px; font-size: 9px; line-height: 1.15; text-align: center; }
  .hero-motto { margin-top: 11px; font-size: 11px; }
  .direction-tags, .visual-caption { display: none; }
  .directions-section, .formats-section, .explore-section { padding: 27px 16px 30px; }
  .section-heading h2 { font-size: 35px; }
  .direction-grid, .explore-grid, .about-values { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: 1fr; }
  .format-card:last-child { grid-column: auto; }
  .format-copy { min-height: 205px; }
  .direction-card { min-height: 172px; padding: 19px 20px; border-radius: 18px; }
  .direction-card h3 { margin: 7px 0 6px; font-size: 29px; line-height: 1; }
  .direction-card p { font-size: 12px; line-height: 1.45; }
  .direction-card .card-link { margin-top: 17px; font-size: 14px; }
  .home-contact-strip, .inline-contact { grid-template-columns: 1fr; align-items: start; padding: 45px 18px; }
  .page-intro { grid-template-columns: 1fr; gap: 23px; padding: 45px 18px 40px; }
  .page-intro h1 { font-size: 40px; }
  .page-intro > p, .page-intro-copy p { font-size: 17px; }
  .flow-intro-copy > p:not(.eyebrow) { font-size: 17px; }
  .flow-preview { justify-self: center; width: min(100%,360px); border-radius: 20px; }
  .content-list-section { padding: 27px 16px 28px; }
  .list-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .about-hero { padding: 35px 16px 50px; }
  .about-photo { min-height: 390px; }
  .about-copy h1, .contacts-main h1, .contacts-main h2 { font-size: 43px; }
  .about-lead { font-size: 18px; }
  .about-values { padding: 1px 16px 55px; }
  .contacts-main { padding: 28px 16px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .schedule-section { padding: 28px 16px; }
  .schedule-heading { grid-template-columns: 1fr; gap: 18px; }
  .studio-copy { padding: 20px; }
  .schedule-list { grid-template-columns: 1fr; }
  .studio-map { min-height: 360px; }
  .online-schedule { grid-template-columns: 1fr; padding: 18px; }
  .online-schedule > div { grid-column: auto; }
  .pricing-section { padding: 52px 16px 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 205px; }
  .practice-availability { gap: 24px; padding: 28px 16px 32px; }
  .availability-times, .availability-groups { grid-template-columns: 1fr; }
  .practice-page-hero { gap: 30px; padding: 35px 16px 50px; }
  .practice-page-image { min-height: 0; aspect-ratio: 4/3; }
  .practice-page-copy h1 { font-size: 42px; }
  .practice-lead { font-size: 18px; }
  .practice-story { gap: 24px; padding: 52px 16px 58px; }
  .practice-story-copy > p:not(.practice-highlight) { font-size: 16px; }
  .contacts-grid { min-width: 0; }
  .contact-tile { min-height: 155px; }
  .certificate-section { padding: 28px 16px 60px; }
  .certificate-grid { grid-template-columns: 1fr; }
  .certificate-copy { min-height: 132px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 22px 16px; }
}

/* Readability: keep supporting text comfortable on desktop and mobile. */
.brand small,
.site-brand small,
.eyebrow,
.local-label,
.detail-section h3,
.card-category,
.class-copy small,
.flow-copy small,
.contact-link span,
.flow-placeholder-label,
.format-copy small,
.explore-card > span,
.about-directions::before,
.about-directions span,
.about-values span,
.contact-tile span,
.certificate-copy small,
.visual-caption span,
.direction-tags::before,
.direction-tags span { font-size: 12px; }

.source-dot,
.variant-count,
.flow-number,
.detail-gallery-status span,
.detail-gallery-status small,
.note-status { font-size: 12px; }

.privacy,
.section-nav a,
.mode-switch button,
.copy-title,
.detail-mode-switch button,
.variant-picker button,
.hold,
.class-intro a,
.flow-intro a,
.class-duration,
.class-copy > span,
.flow-copy > span,
.direction-card .card-link,
.format-copy b,
.explore-card b,
.page-intro-copy a,
.return-link,
.about-certificate-link,
.site-footer,
.summary,
.text-button,
kbd { font-size: 13px; }

.site-tabs a,
.header-cta,
.button,
.class-filter { font-size: 13px; }

.card-copy p,
.compare span,
.class-copy b,
.certificate-copy > span { font-size: 12px; }

.sanskrit,
.compare strong,
.detail-section li,
.notes,
.list-heading span,
.list-heading p { font-size: 13px; }

.guide-copy,
.direction-card p,
.format-copy > span,
.explore-card p,
.practice-audience,
.about-values p,
.contact-tile p { font-size: 14px; }

.practice-page-copy > p:not(.eyebrow):not(.practice-lead):not(.practice-highlight):not(.practice-audience) { font-size: 15px; }
.direction-card small { font-size: 12px; opacity: .9; }
.contact-tile span,
.contact-tile p { opacity: .82; }
.format-copy { min-height: 225px; }
.direction-card { min-height: 265px; }

@media (max-width: 820px) {
  .about-photo { width: min(56vw,280px); min-height: 0; aspect-ratio: 4/5; }
}

@media (max-width: 700px) {
  .direction-card { min-height: 225px; }
  .direction-card p { font-size: 13px; line-height: 1.45; }
  .direction-card .card-link { font-size: 14px; }
}

@media (max-width: 560px) {
  .home-hero-copy .eyebrow { font-size: 12px; }
  .hero-actions .button { font-size: 12px; }
  .hero-motto { font-size: 13px; }
  .site-tabs a { font-size: 12px; }
  .header-cta { font-size: 12px; }
  .direction-card { min-height: 195px; }
  .direction-card p { font-size: 14px; }
  .direction-card .card-link { font-size: 14px; }
  .format-copy { min-height: 230px; }
  .detail-title-row { display: grid; justify-items: start; gap: 10px; }
  .detail-title-row h2 { margin-bottom: 0; overflow-wrap: anywhere; }
  .copy-title { margin-bottom: 0; }
  .about-photo { width: min(64vw,240px); min-height: 0; aspect-ratio: 4/5; }
}

