/* Togaku Yoga — cinematic theme A (shu, ai, gold, ChinaCyr) */
:root {
  --shu: #b0152c;
  --shu-deep: #8a1022;
  --shu-bright: #e31c3d;
  --ai: #1a365d;
  --ai-mid: #244a7a;
  --ai-deep: #070b14;
  --sakura: #f4a4b8;
  --sakura-deep: #d45a78;
  --yamabuki: #e8b000;
  --yamabuki-deep: #b88700;
  --matsuba: #2e6b3a;
  --matsuba-deep: #0c1410;
  --paper: #070b14;
  --panel: #10161f;
  --cream: #fff8f2;
  --ink: #fff8f2;
  --ink-soft: rgba(255, 248, 242, .82);
  --ink-faint: rgba(255, 248, 242, .58);
  --seal: var(--shu);
  --gold: var(--yamabuki);
  --line: rgba(255, 248, 242, .14);
  --line-strong: rgba(227, 28, 61, .45);
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, .6);
  --shadow-hover: 0 28px 60px -20px rgba(227, 28, 61, .28);
  --serif: "ChinaCyr", "Cormorant Garamond", "Iwanami Mincho", "Noto Serif", Georgia, serif;
  --italic: "Cormorant Garamond", "Iwanami Mincho", "Noto Serif", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Noto Sans", system-ui, sans-serif;
  --jp: "Togaku JP", "Noto Serif CJK JP", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --header-h: 5.25rem;
  --wide: 1180px;
  --gutter: clamp(1.1rem, 3.5vw, 2.4rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@font-face {
  font-family: "Togaku JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/yoga/fonts/jp-deco.woff2) format("woff2");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: .01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--yamabuki); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--yamabuki); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus, .skip:focus-visible {
  position: fixed; left: var(--gutter); top: .6rem; z-index: 80;
  background: var(--ai-deep); color: var(--yamabuki); padding: .5rem .8rem; text-decoration: none;
}
.wrap {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.sunrise-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--shu-bright) 0%, var(--sakura-deep) 36%, var(--yamabuki) 72%, var(--matsuba) 100%);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--ai-deep) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 0;
  color: var(--cream);
}
.is-home .site-header {
  position: absolute; left: 0; right: 0; width: 100%;
  background: linear-gradient(180deg, rgba(7,11,20,.72) 0%, rgba(7,11,20,0) 100%);
  backdrop-filter: none;
}
.site-header .sunrise-bar { position: absolute; left: 0; right: 0; bottom: 0; }
.is-home .site-header .sunrise-bar { opacity: .85; }
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; text-decoration: none; color: inherit; flex: none; }
.brand .logo { height: 56px; width: auto; }
.header-tools { display: flex; align-items: center; gap: .9rem; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 1.35rem;
}
.site-nav a {
  color: rgba(255, 248, 242, .84); text-decoration: none;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--yamabuki); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--yamabuki); }

.lang-switch {
  display: flex; align-items: baseline; gap: .45rem;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 248, 242, .5);
}
.lang-switch a, .lang-switch span { color: rgba(255, 248, 242, .84); text-decoration: none; }
.lang-switch a:hover, .lang-switch span[aria-current="true"] { color: var(--yamabuki); }
.lang-switch span[aria-current="true"] { border-bottom: 1px solid var(--yamabuki); padding-bottom: 1px; }

.nav-toggle {
  display: none; appearance: none; background: none; border: 1px solid rgba(255,248,242,.4);
  width: 2.6rem; height: 2.6rem; border-radius: 999px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: #fff8f2; }

/* Cinematic homepage hero */
.cine-hero {
  position: relative;
  min-height: 100svh; min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: #070b14;
  color: var(--cream);
}
.hero-media { position: absolute; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 0; }
.hero-media video,
.hero-media img,
.hero-fallback {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  position: absolute; inset: 0;
}
.hero-loop { z-index: 1; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(7,11,20,.82) 0%, rgba(7,11,20,.45) 32%, rgba(7,11,20,.08) 58%, rgba(7,11,20,0) 72%),
    linear-gradient(180deg, rgba(7,11,20,.45) 0%, rgba(7,11,20,.08) 28%, rgba(7,11,20,.2) 58%, rgba(7,11,20,.88) 100%);
}
.grain {
  position: absolute; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none; opacity: .2; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.cine-hero .hinomaru {
  position: absolute; z-index: 3; pointer-events: none;
  width: min(22rem, 34vw); aspect-ratio: 1; border-radius: 50%;
  background: var(--shu-bright);
  left: 6%; top: 18%;
  opacity: .92;
  box-shadow: 0 0 0 14px rgba(227,28,61,.18), 0 0 80px 12px rgba(227,28,61,.32);
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.04); opacity: .9; } }
.cine-hero .tategaki {
  position: absolute; z-index: 4; pointer-events: none;
  right: 1.4rem; top: 50%; transform: translateY(-40%);
  writing-mode: vertical-rl;
  font-family: var(--jp);
  font-size: 3.4rem;
  letter-spacing: .4em;
  color: var(--yamabuki);
  opacity: .85;
  text-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.hero-copy {
  position: relative; z-index: 4;
  padding: 7.5rem 2.2rem 2.4rem;
  max-width: 46rem;
  align-self: end;
}
.kicker {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--yamabuki); margin: 0 0 1rem; font-weight: 600;
}
.cine-hero h1,
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.8rem, 8.6vw, 7.6rem);
  line-height: .82;
  letter-spacing: -.03em;
  margin: 0 0 1.1rem;
  color: #fff8f2;
  text-shadow: 0 8px 40px rgba(0,0,0,.45);
}
.cine-hero h1 span { display: block; }
.cine-hero h1 em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  font-size: .42em;
  letter-spacing: 0;
  color: var(--sakura);
  display: block;
  margin-top: .25em;
  text-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.hero-copy .lead,
.cine-hero .lead {
  max-width: 28rem;
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255,248,242,.84);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero-credits {
  position: relative; z-index: 4;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 2.2rem 1.3rem;
  border-top: 1px solid rgba(255,248,242,.14);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,248,242,.62);
  background: linear-gradient(180deg, transparent, rgba(7,11,20,.55));
}
.hero-credits strong { color: var(--yamabuki); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.5rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid {
  background: var(--shu-bright); color: #fff;
  box-shadow: 0 12px 40px rgba(227, 28, 61, .35);
}
.btn-solid:hover { background: #ff2a4a; color: #fff; box-shadow: 0 0 28px 2px rgba(227,28,61,.5); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,248,242,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,248,242,.08); color: #fff; }

/* Sections */
.section { padding: clamp(3.2rem, 7vw, 6.5rem) 0; position: relative; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1.5rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
  position: relative; z-index: 1;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1; letter-spacing: -.02em; margin: 0;
  color: var(--cream);
}
.section-head .more { color: var(--yamabuki); font-size: .92rem; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.prose-wide { max-width: 40rem; }

.pattern-asanoha, .pattern-seigaiha { position: relative; }
.pattern-asanoha::before,
.pattern-seigaiha::before {
  content: "";
  position: absolute; inset: 0;
  background-color: currentColor;
  opacity: .11;
  pointer-events: none;
}
.pattern-asanoha::before {
  -webkit-mask: url(/yoga/img/deco/asanoha.svg) repeat;
  mask: url(/yoga/img/deco/asanoha.svg) repeat;
  -webkit-mask-size: 72px 83px; mask-size: 72px 83px;
}
.pattern-seigaiha::before {
  -webkit-mask: url(/yoga/img/deco/seigaiha.svg) repeat;
  mask: url(/yoga/img/deco/seigaiha.svg) repeat;
  -webkit-mask-size: 180px 90px; mask-size: 180px 90px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  position: relative; z-index: 1;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 5px solid var(--shu-bright);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card-grid .card:nth-child(5n+1) { border-top-color: var(--shu-bright); }
.card-grid .card:nth-child(5n+2) { border-top-color: #3a6ea5; }
.card-grid .card:nth-child(5n+3) { border-top-color: var(--sakura-deep); }
.card-grid .card:nth-child(5n+4) { border-top-color: var(--yamabuki); }
.card-grid .card:nth-child(5n+5) { border-top-color: var(--matsuba); }
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: color-mix(in srgb, var(--shu-bright) 45%, var(--line));
  color: inherit;
}
.card-media { overflow: hidden; aspect-ratio: 16 / 10; background: #0a0e16; }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card-body .meta {
  color: var(--shu-bright); font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .35rem;
}
.card-grid .card:nth-child(5n+2) .meta { color: #8eb4e0; }
.card-grid .card:nth-child(5n+3) .meta { color: var(--sakura); }
.card-grid .card:nth-child(5n+4) .meta { color: var(--yamabuki); }
.card-grid .card:nth-child(5n+5) .meta { color: #8fcaa0; }
.card-body h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.55rem; line-height: 1.15; margin: 0 0 .4rem;
}
.card-body p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.card-placeholder {
  height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); color: var(--ink-faint);
  background: radial-gradient(circle at 30% 20%, rgba(227,28,61,.18), transparent 50%), #0a0e16;
}

/* Feature */
.feature-split {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  background: var(--panel); border: 1px solid var(--line);
  overflow: hidden; position: relative; z-index: 1;
}
.feature-split .feature-media { min-height: 360px; min-width: 0; position: relative; aspect-ratio: 16 / 11; background: #0a0e16; }
.feature-split .feature-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.feature-copy { padding: clamp(1.6rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; background: #141018; }
.feature-copy h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; margin: 0 0 1rem;
  color: var(--cream);
}

/* Intro */
.intro-band {
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  background: #0c121c;
  color: var(--cream);
  position: relative;
}
.intro-band.pattern-asanoha { color: var(--shu-bright); }
.intro-band .wrap, .intro-band .intro-grid { position: relative; z-index: 1; color: var(--cream); }
.intro-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.intro-grid h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.05; margin: 0 0 1rem;
  color: var(--cream);
}
.intro-band .kicker { color: var(--yamabuki); }
.stat-row { display: flex; gap: 2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.stat-row strong {
  display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 400; line-height: 1;
  color: var(--yamabuki);
}
.stat-row span { color: var(--ink-faint); font-size: .86rem; letter-spacing: .06em; }

/* Quote */
.pull-quote {
  padding: clamp(3.4rem, 8vw, 6rem) 0;
  text-align: center;
  background: linear-gradient(180deg, #070b14 0%, #14284c 48%, #3a1530 100%);
  color: #fff8f2;
  position: relative; overflow: hidden;
}
.pull-quote.pattern-seigaiha { color: #fff8f2; }
.pull-quote.pattern-seigaiha::before { opacity: .16; background-color: #fff; }
.enso {
  position: absolute;
  width: min(26rem, 70vw); aspect-ratio: 1;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background-color: var(--yamabuki);
  opacity: .22;
  -webkit-mask: url(/yoga/img/deco/enso.svg) center / contain no-repeat;
  mask: url(/yoga/img/deco/enso.svg) center / contain no-repeat;
  pointer-events: none;
}
.pull-quote .wrap { position: relative; z-index: 1; }
.pull-quote blockquote {
  margin: 0 auto; max-width: 28ch;
  font-family: var(--italic); font-style: italic; font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.15;
  letter-spacing: -.02em; color: #fff8f2;
}
.pull-quote cite {
  display: block; margin-top: 1.1rem; font-style: normal;
  color: var(--yamabuki); letter-spacing: .16em; text-transform: uppercase; font-size: .72rem;
}

.band-asanas { background: var(--paper); }
.band-practices { background: var(--matsuba-deep); color: #8fcaa0; }
.band-practices.pattern-seigaiha { color: #3d7a4a; }
.band-practices .section-head h2, .band-practices .wrap { color: var(--cream); }
.band-practices .more { color: var(--yamabuki); }
.tategaki-inline {
  position: absolute; left: var(--gutter); top: 2.4rem;
  writing-mode: vertical-rl;
  font-family: var(--jp); font-size: 2.4rem; letter-spacing: .3em;
  color: #4a8a58; opacity: .55; pointer-events: none; z-index: 0;
}

.sub-panel {
  border: 0;
  background: linear-gradient(165deg, #070b14 0%, #1a365d 60%, #3a1530 100%);
  color: #fff8f2;
  padding: clamp(2.4rem, 5vw, 3.8rem) 1.6rem;
  text-align: center; position: relative; overflow: hidden;
}
.sub-panel.pattern-seigaiha { color: #fff8f2; }
.sub-panel.pattern-seigaiha::before { opacity: .14; background-color: #fff; }
.sub-panel .stamp {
  display: inline-block; border: 2px solid var(--yamabuki); color: var(--yamabuki);
  font-family: var(--serif); letter-spacing: .18em; text-transform: uppercase;
  padding: .35rem .8rem; margin-bottom: 1rem; transform: rotate(-4deg);
  position: relative; z-index: 1;
}
.sub-panel h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); margin: 0 0 .8rem; font-weight: 400; position: relative; z-index: 1; color: #fff8f2; }
.sub-panel p { margin: 0 auto 1.4rem; max-width: 36rem; color: rgba(255,248,242,.84); position: relative; z-index: 1; }
.sub-panel .btn { position: relative; z-index: 1; }
.band-subscribe { background: var(--paper); }

.band-blog { background: #0c0b09; }
.post-list { display: grid; gap: 0; position: relative; z-index: 1; }
.post-teaser {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.4rem;
  padding: 1.4rem 0; border-top: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.post-teaser:last-child { border-bottom: 1px solid var(--line); }
.post-teaser:hover h3 { color: var(--yamabuki); }
.post-teaser time { color: var(--shu-bright); font-size: .9rem; letter-spacing: .04em; padding-top: .35rem; }
.post-teaser h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.65rem;
  line-height: 1.2; margin: 0 0 .4rem; color: var(--cream);
}
.post-teaser p { margin: 0; color: var(--ink-soft); }

/* Inner pages */
.page-hero { padding: clamp(2rem, 4vw, 3rem) 0 1.6rem; position: relative; background: var(--paper); }
.page-hero.pattern-asanoha { color: rgba(227, 28, 61, .55); }
.page-hero.pattern-asanoha::before { opacity: .08; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95;
  letter-spacing: -.03em; margin: 0 0 1rem; color: var(--cream);
}
.page-hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40rem; margin: 0; }
.page-hero .kicker { color: var(--yamabuki); }
.post-body, .prose { max-width: 42rem; padding-bottom: 3.4rem; color: var(--ink-soft); }
.post-body p, .prose p { margin: 0 0 1.05rem; }
.post-body h2, .prose h2 {
  font-family: var(--serif); font-weight: 400; font-size: 1.9rem;
  margin: 2.1rem 0 .8rem; letter-spacing: -.01em; color: var(--cream);
}
.post-meta { color: var(--ink-faint); margin-bottom: 1.4rem; }
.video-slot {
  aspect-ratio: 16 / 9; background: #10161f;
  border: 1px dashed rgba(227,28,61,.4);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-faint); padding: 1.5rem; margin: 0 0 2rem;
  font-family: var(--italic); font-style: italic; font-size: 1.2rem;
}
.cine-still {
  margin: 0 auto 2.2rem;
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  overflow: hidden;
  border: 1px solid var(--line);
}
.cine-still img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; object-position: center top; background: #0a0e16; }
.asanas-table, .asana-meta { margin: 0 0 1.6rem; color: var(--ink-soft); }
.badge {
  display: inline-block; margin-left: .25rem; padding: .05rem .4rem;
  border: 1px solid var(--yamabuki); color: var(--yamabuki);
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  vertical-align: middle;
}

.faq-list { max-width: 46rem; }
.faq-item { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h2 { font-family: var(--serif); font-size: 1.55rem; margin: 0 0 .45rem; font-weight: 400; color: var(--cream); }
.faq-item p { margin: 0; color: var(--ink-soft); }

/* Footer */
.site-footer {
  border-top: 0;
  padding: 3.2rem 0 2.2rem;
  color: rgba(255, 248, 242, .86);
  background: #05070c;
  position: relative; overflow: hidden;
}
.site-footer.pattern-seigaiha { color: rgba(255, 248, 242, .86); }
.site-footer.pattern-seigaiha::before { opacity: .12; background-color: #fff; }
.fuji {
  position: absolute; right: 4%; bottom: 0;
  width: min(28rem, 60vw); height: 5.5rem;
  background-color: rgba(255, 248, 242, .28);
  -webkit-mask: url(/yoga/img/deco/fuji.svg) right bottom / contain no-repeat;
  mask: url(/yoga/img/deco/fuji.svg) right bottom / contain no-repeat;
  pointer-events: none;
}
.footer-wa {
  position: absolute; left: var(--gutter); bottom: 2.4rem;
  writing-mode: vertical-rl;
  font-family: var(--jp); font-size: 2.6rem; letter-spacing: .3em;
  color: var(--yamabuki); opacity: .55; pointer-events: none;
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2rem; position: relative; z-index: 1;
}
.site-footer .logo { height: 56px; width: auto; }
.site-footer nav { display: flex; flex-direction: column; gap: .4rem; }
.site-footer a { color: var(--yamabuki); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: rgba(255, 248, 242, .8); }
.footer-note { font-size: .88rem; border-top: 1px solid rgba(255,248,242,.16); padding-top: 1.1rem; padding-left: 3.2rem; color: rgba(255,248,242,.55); position: relative; z-index: 1; }
.footer-torii {
  width: 2.4rem; height: 1.7rem; display: block; margin-bottom: .6rem;
  background-color: var(--shu-bright);
  -webkit-mask: url(/yoga/img/deco/torii.svg) center / contain no-repeat;
  mask: url(/yoga/img/deco/torii.svg) center / contain no-repeat;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.reveal-2 { animation-delay: .12s; }
.reveal-3 { animation-delay: .24s; }
.js .reveal { animation: none; opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ChinaCyr is Regular only */
h1, h2, h3,
.section-head h2, .page-hero h1, .card-body h3, .feature-copy h2,
.intro-grid h2, .sub-panel h2, .faq-item h2, .post-teaser h3 {
  font-family: var(--serif);
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal, .js .reveal.is-in, .card, .card-media img, .btn,
  .hero-media video, .hero-media img, .hero-fallback, .cine-hero .hinomaru {
    animation: none !important; transition: none !important;
    opacity: 1 !important; transform: none !important;
  }
  .hero-loop { display: none; }
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: #070b14; border-bottom: 1px solid rgba(255,248,242,.16);
  }
  .site-nav.is-open ul { flex-direction: column; padding: .9rem var(--gutter) 1.2rem; gap: .75rem; align-items: flex-start; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid, .feature-split, .footer-grid { grid-template-columns: 1fr; }
  .feature-split .feature-media { min-height: 280px; height: 62vw; }
  .tategaki-inline { display: none; }
  .cine-hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-media {
    position: relative;
    top: auto;
    height: calc(46svh + var(--header-h));
    height: calc(46vh + var(--header-h));
    min-height: calc(250px + var(--header-h));
    flex: none;
  }
  .hero-media video, .hero-media img, .hero-fallback {
    top: var(--header-h);
    height: calc(100% - var(--header-h));
    object-position: 55% 0%;
  }
  .hero-media::after {
    top: var(--header-h);
    background: linear-gradient(180deg, rgba(7,11,20,.2) 0%, rgba(7,11,20,.05) 40%, rgba(7,11,20,.55) 100%);
  }
  .hero-copy { padding: 1.25rem 1.15rem .9rem; max-width: none; }
  .cine-hero h1, .hero-copy h1 { font-size: clamp(3.1rem, 15vw, 4.6rem); }
  .cine-hero .tategaki { font-size: 1.7rem; right: .7rem; top: 5.6rem; transform: none; }
  .cine-hero .hinomaru { display: none; }
  .hero-credits { padding: .8rem 1.15rem 1.2rem; }
  .grain { top: var(--header-h); height: auto; bottom: 0; }
  .page-hero { padding-top: 1.6rem; }
}
@media (max-width: 860px) {
  .post-teaser { grid-template-columns: 1fr; gap: .25rem; }
  .post-teaser time { padding-top: 0; }
}
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .brand .logo { height: 44px; }
  :root { --header-h: 4.4rem; }
}

/* Duo: instructors */
.duo-band { background: linear-gradient(180deg, #0c121c 0%, #10161f 100%); }
.duo-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.duo-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.05; margin: 0 0 1rem; color: var(--cream); }
.duo-copy .kicker { color: var(--yamabuki); }
.duo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 2vw, 1.4rem); }
.duo-card { margin: 0; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.duo-media { aspect-ratio: 4 / 5; background: #0a0e16; overflow: hidden; }
.duo-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.duo-card figcaption { padding: .9rem 1rem 1.1rem; border-top: 2px solid var(--shu); }
.duo-card figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--cream); line-height: 1.1; }
.duo-card figcaption span { display: block; margin-top: .3rem; color: var(--ink-faint); font-size: .86rem; line-height: 1.4; letter-spacing: .04em; }
@media (max-width: 980px) { .duo-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .duo-card figcaption strong { font-size: 1.3rem; } .duo-card figcaption span { font-size: .78rem; } }


/* Step-by-step asana sheets (Sofia + Leo) */
.asana-sheets-band { padding-top: 0; }
.asana-sheets { display: grid; gap: 1.5rem; margin: 0 0 2rem; }
.asana-sheets figure { margin: 0; background: #f4efe6; border: 1px solid var(--line, #1e2a3c); }
.asana-sheets img { width: 100%; height: auto; display: block; }
.asana-sheets figcaption { padding: .55rem .8rem .7rem; color: var(--muted, #9aa4b2); font-size: .9rem; }


/* /yoga mount: clickable instructor cards + story pages */
a.duo-card { display: block; text-decoration: none; color: inherit; }
a.duo-card:hover { border-color: var(--gold, #e8b000); }
a.duo-card:focus-visible { outline: 2px solid var(--gold, #e8b000); outline-offset: 3px; }
.instructor-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.2rem 0 2rem; }
.instructor-gallery figure, .instructor-hero { margin: 0; }
.instructor-hero img, .instructor-gallery img { width: 100%; height: auto; display: block; border: 1px solid var(--line, #1e2a3c); }
.instructor-hero { max-width: 420px; margin: 0 0 1.6rem; }