/* Astro Breathing – site styles. Self-hosted fonts, no external requests. */
.session-details { margin-block: 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.session-details > summary { min-height: 44px; display: list-item; padding: .5rem; color: var(--gold-light); cursor: pointer; font-weight: 600; overflow-wrap: anywhere; }
.session-details > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.session-details[open] > summary { margin-bottom: 1rem; }
.is-coming-soon .mystery-art { position: absolute; inset: -24px; background: radial-gradient(ellipse at 35% 35%, rgba(53, 200, 222, .22), transparent 55%), radial-gradient(ellipse at 70% 60%, rgba(216, 174, 75, .16), transparent 50%), var(--bg-2); filter: blur(20px); pointer-events: none; }
@font-face { font-family: 'Cinzel'; src: url('../fonts/Cinzel-var.woff') format('woff'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/PlusJakartaSans-var.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/Lora-var.woff') format('woff'); font-weight: 400 700; font-display: swap; }

:root {
  --void: #02060c;
  --bg: #04101c;
  --bg-2: #071a2b;
  --ocean: #0b2c44;
  --teal: #35c8de;
  --teal-soft: #9be8f2;
  --gold: #d8ae4b;
  --gold-light: #f2d993;
  --gold-deep: #b98a2c;
  --ink: #eef4f7;
  --muted: #b3c5d2;
  --line: rgba(155, 232, 242, .18);
  --card: rgba(6, 22, 36, .72);
  --radius: 14px;
  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); padding-bottom: 44px; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.gold, .display.gold { color: var(--gold-light); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .gold, .hero h1, .page-hero h1 { background: linear-gradient(180deg, #fbefc8 0%, #e9c977 45%, #c99a3a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold-light); color: #111; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand .emblem { width: 44px; height: 44px; color: var(--gold-light); }
.brand-text { display: flex; flex-direction: column; font-family: var(--display); text-transform: uppercase; line-height: 1.05; letter-spacing: .08em; font-size: 15px; }
.brand-text span:last-child { font-size: 19px; letter-spacing: .07em; }
.main-nav { margin-left: auto; margin-right: auto; }
.main-nav ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.main-nav a:hover { color: var(--gold-light); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; border: 1px solid rgba(255, 255, 255, .45); border-radius: 8px; padding: 5px 10px; font-size: 14px; font-weight: 600; background: rgba(2, 8, 14, .35); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang summary svg:last-child { width: 12px; height: 12px; }
.lang[open] summary svg:last-child { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; list-style: none; margin: 0; padding: 6px; background: #071a2b; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.lang li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang li a:hover, .lang li a[aria-current="true"] { background: rgba(155, 232, 242, .1); }
.lang li a[aria-current="true"]::before { content: '✓'; order: 2; color: var(--gold-light); }
.lang-review { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #f6c46a; border: 1px solid rgba(246, 196, 106, .5); border-radius: 4px; padding: 0 5px; margin-left: auto; align-self: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-light { background: #eef7fb; color: #071523; box-shadow: 0 0 30px rgba(155, 232, 242, .35); }
.btn-light:hover { background: #fff; color: #071523; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, .75); color: var(--ink); background: rgba(2, 8, 14, .25); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 22px; font-size: 14px; }
.btn.is-disabled { opacity: .78; cursor: default; box-shadow: none; }
.btn.is-disabled:hover { transform: none; background: #eef7fb; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(500px, 36vw, 580px); display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 100%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 30% 46% at var(--hero-x, 50%) 50%, rgba(2, 8, 16, .5), transparent 72%),
  linear-gradient(180deg, rgba(2, 6, 12, .65) 0%, transparent 20%, transparent 84%, var(--bg) 100%); }
.hero-bg::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  radial-gradient(1.5px 1.5px at 72% 22%, rgba(255,255,255,.9), transparent), radial-gradient(1px 1px at 86% 12%, rgba(255,255,255,.8), transparent),
  radial-gradient(1.5px 1.5px at 18% 14%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 58% 8%, rgba(255,255,255,.8), transparent);
  animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
@media (min-width: 1101px) { .hero { --hero-x: 39%; } .hero-content { translate: -11vw 0; } }
.hero-content { padding: 96px 16px 48px; max-width: 760px; }
.hero-emblem { width: 50px; height: 50px; margin: 0 auto 10px; color: var(--gold-light); filter: drop-shadow(0 0 12px rgba(242, 217, 147, .45)); }
.hero h1 { margin: 0; font-size: clamp(42px, 4.4vw, 68px); line-height: 1; letter-spacing: .03em; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .55)); }
.hero h1 span { display: block; }
.hero-tagline { text-shadow: 0 1px 12px rgba(0, 0, 0, .7); font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; margin: 16px auto 12px; max-width: 14em; color: #f3f7f9; }
.hero-sub { color: #d3e0e8; text-shadow: 0 1px 10px rgba(0, 0, 0, .8); max-width: 26em; margin: 0 auto 24px; font-size: 15px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- panels ---------- */
.panels { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.panel { position: relative; min-height: 300px; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.panel + .panel { border-left: 1px solid var(--line); }
.panel-bg { position: absolute; inset: 0; z-index: -1; }
.panel-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; transition: transform 1.2s ease; }
.panel:hover .panel-bg img { transform: scale(1.03); }
.panel-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 8, 15, .78) 0%, rgba(2, 8, 15, .55) 45%, rgba(2, 8, 15, 0) 70%), linear-gradient(0deg, rgba(2, 8, 15, .35), transparent 40%); }
.panel-content { position: relative; z-index: 2; padding: 36px 40px 48px max(40px, calc((100vw - var(--wrap)) / 2)); max-width: 540px; }
.panel-safety .panel-content { padding-left: 64px; }
.panel-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.icon-ring { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); display: grid; place-items: center; color: var(--ink); }
.icon-ring svg { width: 28px; height: 28px; }
.panel h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(19px, 1.7vw, 24px); margin: 0; }
.panel p { color: #d3e0e8; margin: 0 0 22px; font-size: 15px; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.panel-content { max-width: 470px !important; }
/* V1.6.11: wide screens. The left panel's left padding ((100vw - wrap) / 2) grows with the window (340px at 1920, 660px at 2560) and used to eat the whole
   470px box, squeezing the text into a one-word column. Up to ~1500px nothing changes (text column 430px minus padding). Above that the text column keeps
   a fixed 300px width and its right edge is held at 31vw, i.e. left of the figure in the panel picture (the figure starts at ~63% of the panel). */
@media (min-width: 901px) {
  .panel-practice .panel-content { --pl: min(calc((100vw - var(--wrap)) / 2), calc(31vw - 300px)); padding-left: max(40px, var(--pl)); max-width: max(470px, calc(max(40px, var(--pl)) + 340px)) !important; }
}

/* ---------- library band ---------- */
.library-band { position: relative; isolation: isolate; overflow: hidden; padding: 40px 0 48px; }
.band-bg { position: absolute; inset: 0; z-index: -1; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: .55; filter: blur(2px) saturate(1.1); transform: scaleY(-1); }
.band-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(4, 16, 28, .45) 35%, rgba(4, 16, 28, .8) 100%); }
.band-inner { display: grid; grid-template-columns: minmax(250px, 330px) 1fr; gap: 44px; align-items: center; }
.band-intro .book { display: block; width: 44px; color: var(--ink); margin-bottom: 10px; }
.band-intro h2 { overflow-wrap: anywhere; hyphens: manual; font-size: clamp(26px, 2.3vw, 36px); margin: 0 0 14px; line-height: 1.05; }
.band-intro p { color: var(--muted); margin: 0 0 22px; }
.band-intro .free-note { font-size: 13px; margin: 12px 0 0 6px; color: var(--muted); }
.carousel { position: relative; min-width: 0; }
.cards { list-style: none; margin: 0; padding: 14px 6px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.cards > li { scroll-snap-align: start; }
.carousel-next { position: absolute; right: -22px; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(2, 8, 14, .6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.carousel-next svg { width: 22px; height: 22px; }
.carousel-next[hidden] { display: none; }

/* ---------- session card ---------- */
.session-card { --accent: 155, 232, 242; position: relative; display: block; aspect-ratio: 29 / 20; border-radius: 16px; overflow: hidden; border: 1px solid rgba(var(--accent), .45); color: var(--ink); text-decoration: none; background: #061523; box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 34px rgba(var(--accent), .16); transition: transform .35s ease, box-shadow .35s ease, border-color .35s; }
.card-solar-breath { --accent: 242, 190, 100; }
a.session-card:hover, a.session-card:focus-visible { transform: translateY(-5px); box-shadow: 0 26px 54px rgba(0, 0, 0, .55), 0 0 48px rgba(var(--accent), .32); border-color: rgba(var(--accent), .85); }
.session-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .6s; filter: saturate(1.08) brightness(1.04); }
.session-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 8, 14, .1) 0%, transparent 35%, rgba(2, 8, 14, .9) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
a.session-card:hover img { transform: scale(1.06); filter: saturate(1.15) brightness(1.1); }
a.session-card:hover { color: var(--ink); }
.badge { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(2, 8, 14, .7); border: 1px solid rgba(255, 255, 255, .45); }
.play { position: absolute; left: 50%; top: 37%; translate: -50% -50%; z-index: 2; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .9); background: rgba(2, 8, 14, .4); backdrop-filter: blur(4px); display: grid; place-items: center; box-shadow: 0 0 24px rgba(var(--accent, 155, 232, 242), .45); transition: transform .3s; }
a.session-card:hover .play { transform: scale(1.08); }
.play svg { width: 22px; height: 22px; margin-left: 3px; }
.card-text { position: absolute; inset: auto 12px 14px; z-index: 2; text-align: center; display: grid; gap: 2px; }
.card-title { font-family: var(--serif); font-size: 24px; line-height: 1.15; text-shadow: 0 1px 10px rgba(0, 0, 0, .8); }
.card-sub { font-family: var(--serif); font-size: 17px; color: rgb(var(--accent)); }
.card-tags { font-size: 13px; color: #d3e0e8; margin-top: 4px; }
.session-card.coming { box-shadow: none; display: grid; place-items: center; border-style: dashed; border-color: rgba(155, 232, 242, .3); background: radial-gradient(ellipse at 50% 120%, rgba(53, 200, 222, .22), transparent 60%), linear-gradient(160deg, rgba(120, 90, 220, .14), rgba(4, 16, 28, .8) 60%); }
.session-card.coming::after { display: none; }
.coming-text { padding: 24px; text-align: center; color: var(--muted); font-family: var(--serif); font-size: 17px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 150px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 80% at 75% 10%, rgba(53, 200, 222, .28), transparent 60%), radial-gradient(ellipse 50% 70% at 15% 0%, rgba(40, 90, 160, .35), transparent 60%), var(--bg); }
.page-hero.veil .page-hero-bg { background:
  radial-gradient(ellipse 40% 70% at 30% -10%, rgba(80, 230, 190, .30), transparent 65%),
  radial-gradient(ellipse 35% 60% at 62% -5%, rgba(140, 100, 240, .30), transparent 65%),
  radial-gradient(ellipse 50% 80% at 90% 0%, rgba(53, 200, 222, .25), transparent 60%), var(--bg); }
.page-hero.nebula .page-hero-bg { background:
  radial-gradient(ellipse 45% 80% at 80% 20%, rgba(53, 200, 222, .30), transparent 60%),
  radial-gradient(ellipse 30% 50% at 70% 60%, rgba(216, 174, 75, .16), transparent 60%), var(--bg); }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero-bg img.page-hero-art { opacity: .5; object-position: 60% 70%; }
.page-hero:not(.session) .page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 16, 28, .9) 0%, rgba(4, 16, 28, .55) 55%, rgba(4, 16, 28, .2) 100%), linear-gradient(180deg, rgba(2, 6, 12, .55) 0%, transparent 35%, var(--bg) 100%); }
.page-hero.session .page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 16, 28, .96) 0%, rgba(4, 16, 28, .82) 45%, rgba(4, 16, 28, .35) 100%), linear-gradient(180deg, rgba(2, 6, 12, .6) 0%, transparent 30%, var(--bg) 100%); }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 56px); margin: 10px 0 16px; max-width: 18em; }
.page-hero .lead { font-size: 18px; color: #d9e5ec; max-width: 44em; margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.pill-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.pill-facts li { font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(242, 217, 147, .45); color: var(--gold-light); background: rgba(2, 8, 14, .4); }

/* ---------- content ---------- */
.section { padding: 48px 0 72px; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.prose { max-width: 760px; }
.prose-narrow { margin-inline: auto; }
.prose h2 { font-family: var(--display); font-weight: 500; letter-spacing: .05em; font-size: 24px; color: var(--gold-light); margin: 44px 0 14px; padding-top: 8px; }
.prose h3 { font-family: var(--serif); font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { color: #dbe6ed; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--gold); }
.prose strong { color: #fff; }
.prose a.ext { word-break: break-word; }
.prose blockquote { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--gold); background: rgba(216, 174, 75, .08); border-radius: 0 8px 8px 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
thead th { background: rgba(155, 232, 242, .07); font-weight: 600; color: var(--ink); }
tbody tr:last-child td { border-bottom: 0; }
.chapters time { font-variant-numeric: tabular-nums; color: var(--gold-light); font-weight: 600; }
.chapters .key-row td { background: rgba(53, 200, 222, .06); }
.small, .note { font-size: 14px; color: var(--muted); }
.callout { padding: 14px 18px; border-radius: 10px; margin: 0 0 24px; }
.callout-draft { border: 1px solid rgba(246, 196, 106, .55); background: rgba(246, 196, 106, .1); color: #fbe3b0; }
mark.todo { background: rgba(246, 196, 106, .18); color: #fbe3b0; border: 1px dashed rgba(246, 196, 106, .7); border-radius: 4px; padding: 0 4px; }
.video { margin: 24px 0 8px; }
.video img, .video iframe, .yt-facade { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; }
.video iframe { height: auto; }
.video-pending, .yt-facade { position: relative; }
.yt-facade { padding: 0; background: none; cursor: pointer; overflow: hidden; }
.yt-facade img { border: 0; border-radius: 0; }
.video-pending img { filter: brightness(.45) saturate(.8); }
.video-pending figcaption { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; padding: 20px; color: #eaf3f7; font-family: var(--serif); font-size: 18px; }
.video-pending .play { position: static; translate: none; opacity: .7; }
.video figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.more { position: sticky; top: 24px; }
.more h2 { font-family: var(--display); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; font-size: 18px; margin: 4px 0 16px; }
.cards-aside { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 0; margin-bottom: 18px; }

/* library page */
.lib-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.lib-item { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 32px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.lib-body h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 8px; }
.lib-body p { color: var(--muted); margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 20px; margin: 0 0 20px; }
.facts div { border-left: 2px solid rgba(242, 217, 147, .5); padding-left: 10px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #030b14; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0 14px; flex-wrap: wrap; }
.brand-footer .emblem { width: 36px; height: 36px; }
.brand-line { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 17px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-small { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 0 0 26px; font-size: 13px; color: #8ea3b2; }
.footer-small p { margin: 0; }

/* ---------- prototype / review status bar ---------- */
.status-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding: 8px 16px; font-size: 12.5px; font-weight: 600; background: rgba(28, 20, 4, .94); border-top: 1px solid rgba(246, 196, 106, .6); color: #fbe3b0; text-align: center; }
.status-review { color: #ffd27a; }

/* ---------- root language page ---------- */
.page-root { padding: 0; min-height: 100vh; display: grid; place-items: center; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(53, 200, 222, .25), transparent 70%), var(--bg); }
.root-choose { text-align: center; padding: 40px 16px; }
.root-choose .emblem { width: 64px; height: 64px; margin: 0 auto 12px; color: var(--gold-light); }
.root-choose h1 { font-size: clamp(34px, 6vw, 56px); margin: 0 0 10px; color: var(--gold-light); }
.root-choose p { color: var(--muted); }
.root-langs { list-style: none; padding: 0; display: grid; gap: 10px; margin: 24px auto 0; max-width: 320px; }
.root-langs a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; background: var(--card); }
.root-langs a:hover { border-color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .band-inner { grid-template-columns: 1fr; } /* V1.6.11: stack the library band earlier – between 901 and ~1100 px its cards were only 150–230 px wide */
  .main-nav ul { gap: 26px; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .more { position: static; }
  .cards-aside { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 900px) {
  .panels { grid-template-columns: 1fr; }
  .panel + .panel { border-left: 0; border-top: 1px solid var(--line); }
  .panel-content, .panel-safety .panel-content { padding: 40px 24px; }
  .band-inner { grid-template-columns: 1fr; }
  .carousel-next { right: 4px; }
  .lib-item { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: 6px 12px; min-height: 0; padding: 14px 0 6px; }
  .main-nav { order: 3; width: 100%; margin: 0; }
  .main-nav ul { justify-content: space-between; gap: 6px; }
  .main-nav a { font-size: 15px; display: inline-block; padding: 12px 2px; }
  .brand { min-height: 44px; }
  .crumbs a { display: inline-block; padding: 10px 0; }
  .page-hero h1 { font-size: clamp(24px, 7vw, 34px); overflow-wrap: break-word; }
  .lang { margin-left: auto; }
  .lang summary { min-height: 44px; padding: 6px 12px; }
  .lang li a { padding: 12px 14px; }
  .brand .emblem { width: 36px; height: 36px; }
  .hero { min-height: 600px; }
  .hero-content { padding-top: 150px; }
  .hero-art { object-position: 66% 100%; }
  .hero-bg::after { background: radial-gradient(ellipse 85% 42% at 50% 50%, rgba(2, 8, 16, .72), rgba(2, 8, 16, .25) 80%), linear-gradient(180deg, rgba(2, 6, 12, .75) 0%, transparent 22%, transparent 80%, var(--bg) 100%); }
  .band-intro h2 { font-size: clamp(22px, 6vw, 34px); overflow-wrap: anywhere; }
  .status-bar { font-size: 11px; padding: 6px 10px; gap: 2px 10px; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .page-hero { padding-top: 140px; }
  .panel { min-height: 360px; align-items: flex-end; }
  .panel-bg img { object-position: 72% 50%; }
  .panel-bg::after { background: linear-gradient(0deg, rgba(2, 8, 15, .92) 0%, rgba(2, 8, 15, .7) 45%, rgba(2, 8, 15, .1) 80%); }
  .panel-content, .panel-safety .panel-content { padding: 120px 20px 32px; }
  .footer-nav a { display: inline-block; padding: 12px 0; }
  .cards { grid-auto-columns: 82%; }
  .footer-small { flex-direction: column; }
  body { padding-bottom: 64px; }
}

/* V1.1 – desktop library: two featured session cards, smaller placeholder */
@media (min-width: 901px) {
  .library-band .cards { grid-auto-flow: row; grid-template-columns: 1.25fr 1.25fr .7fr; overflow: visible; }
  .library-band .session-card.coming { aspect-ratio: auto; height: 100%; }
}
