:root {
  --bg: #141414;
  --surface: #f2f0e9;
  --surface-strong: #e5e6e1;
  --surface-soft: #ece9e1;
  --ink: #171513;
  --muted: #58554f;
  --line: rgba(23, 21, 19, 0.12);
  --line-strong: rgba(23, 21, 19, 0.2);
  --white: #fffdf8;
  --sage: #aebbba;
  --lavender: #bbb2ce;
  --rose: #cb9da2;
  --bone: #e4b976;
  --panel-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
  --radius-panel: 42px;
  --radius-card: 32px;
  --radius-inner: 26px;
  --radius-pill: 999px;
  --page-width: 1388px;
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", "IBM Plex Mono", "Cascadia Code", Consolas, monospace;
  --header-offset: 106px;
  --hero-title: clamp(2.9rem, 2.1rem + 2.55vw, 4.95rem);
  --h1-inner: clamp(2.3rem, 1.75rem + 1.85vw, 4rem);
  --h2-size: clamp(2rem, 1.45rem + 1.8vw, 3rem);
  --h3-size: clamp(1.45rem, 1.1rem + 1vw, 2.15rem);
  --body-size: 1rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--body-size);
  background: var(--bg);
  overflow-x: clip;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding-left: 1.15rem;
}

section[id],
article[id] {
  scroll-margin-top: calc(var(--header-offset) + 18px);
}

.page {
  width: calc(100% - 16px);
  max-width: none;
  margin: 0 auto;
}

.home-page main,
.inner-page main {
  padding-bottom: 6px;
}

.home-page main > section,
.inner-page main > section {
  padding-bottom: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 12px 0 18px;
}

.header-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--panel-shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 4px;
  font-weight: 650;
  letter-spacing: 0.005em;
}

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-nav > a,
.nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.15;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.site-nav > a[aria-current="page"],
.dropdown-panel a[aria-current="page"],
.site-nav > a:hover,
.nav-dropdown > summary:hover,
.nav-dropdown[open] > summary {
  background: var(--surface-strong);
  color: var(--ink);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "+";
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

.nav-dropdown[open] > summary::after {
  content: "−";
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 288px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-soft);
  box-shadow: var(--panel-shadow);
}

.nav-dropdown:not([open]) .dropdown-panel {
  display: none;
}

.dropdown-panel a {
  display: block;
  padding: 13px 14px;
  border-radius: 18px;
  color: var(--muted);
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.dropdown-panel a:hover {
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.97rem;
  font-weight: 650;
  letter-spacing: 0.005em;
  transition:
    transform 0.24s var(--ease),
    background-color 0.24s var(--ease),
    border-color 0.24s var(--ease),
    color 0.24s var(--ease);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 253, 248, 0.62);
}

.header-cta {
  justify-self: end;
  min-height: 46px;
  padding: 0 18px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1;
}

.language-switch--header {
  justify-self: end;
}

.site-nav > .language-switch--menu {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 750;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--ink);
}

.hero,
.page-hero,
.section-shell {
  padding: 0;
}

.scene {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--scene-fill, var(--surface));
  box-shadow: var(--panel-shadow);
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 140px);
}

.tone-paper {
  --scene-fill: var(--white);
}

.tone-sage {
  --scene-fill: var(--sage);
}

.tone-lavender {
  --scene-fill: var(--lavender);
}

.tone-rose {
  --scene-fill: var(--rose);
}

.tone-bone {
  --scene-fill: var(--bone);
}

.formats-section .page,
.about-section .page,
.telegram-section .page,
.inner-page .section-shell .page {
  position: relative;
  padding: clamp(28px, 2.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: var(--panel-shadow);
}

.stack {
  display: grid;
  gap: 16px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.15;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 21, 19, 0.64);
}

.section-copy,
.hero-subtitle,
.feed-card__caption,
.panel-caption,
.comparison-note p,
.detail-card p,
.route-card p,
.note-card p,
.fact-card p,
.footer-meta p,
.footer-links,
.micro-card strong {
  color: var(--muted);
  line-height: 1.6;
}

.hero {
  padding-bottom: 6px;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: stretch;
  gap: clamp(22px, 2.3vw, 34px);
  min-height: clamp(620px, calc(100svh - var(--header-offset) - 24px), 780px);
  padding: clamp(24px, 2vw, 34px);
  background: var(--surface);
}

.hero-copy {
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-width: 0;
  padding: 6px 2px 4px;
}

.hero-title {
  margin: 0;
  max-width: 11ch;
  font-size: var(--hero-title);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  max-width: 33rem;
  font-size: clamp(1rem, 0.93rem + 0.32vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.micro-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.micro-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 17px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface-strong);
}

.micro-card__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 21, 19, 0.58);
}

.micro-card strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 600;
}

.hero-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}

.feed-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--scene-fill, var(--surface-strong));
}

.feed-photo {
  padding: 14px;
}

.hero-feed > .feed-photo:first-child {
  grid-column: 1 / -1;
  min-height: 324px;
}

.feed-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 24px;
  aspect-ratio: 1.28;
}

.feed-photo .feed-card__caption {
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.feed-photo--small img {
  aspect-ratio: 1.04;
}

.feed-card__caption {
  font-size: 0.92rem;
}

.evidence-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  align-items: stretch;
  gap: 18px;
}

.evidence-card__copy {
  display: grid;
  gap: 14px;
  align-content: space-between;
}

.evidence-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.46);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(23, 21, 19, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 248, 0.44);
  font-size: 0.82rem;
  line-height: 1;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading .stack {
  max-width: 48rem;
}

.section-heading .section-copy {
  max-width: 34rem;
}

.formats-aside h2,
.section-heading h2,
.cta-copy h2 {
  margin: 0;
  font-size: var(--h2-size);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.formats-layout {
  display: grid;
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.formats-aside {
  position: sticky;
  top: calc(var(--header-offset) + 18px);
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface-soft);
}

.formats-aside h2 {
  max-width: 13ch;
}

.format-tabs {
  display: grid;
  gap: 8px;
}

.format-tab {
  display: grid;
  gap: 7px;
  padding: 15px 16px;
  border: 1px solid transparent;
  border-radius: 24px;
  color: var(--muted);
  background: transparent;
  transition:
    background-color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    color 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.format-tab span {
  font-family: var(--font-mono);
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 21, 19, 0.54);
}

.format-tab strong {
  max-width: 15ch;
  font-size: 1.03rem;
  line-height: 1.28;
}

.format-tab.is-current {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.format-tab.is-current span {
  color: rgba(23, 21, 19, 0.72);
}

.formats-stack {
  display: grid;
  gap: 20px;
  padding-bottom: 0;
}

.format-panel {
  position: relative;
  top: auto;
  min-height: 0;
  padding: 0;
  transition:
    border-color 0.42s var(--ease),
    box-shadow 0.42s var(--ease);
}

.format-panel:nth-child(1) {
  z-index: 1;
}

.format-panel:nth-child(2) {
  top: auto;
  z-index: 2;
}

.format-panel:nth-child(3) {
  top: auto;
  z-index: 3;
}

.format-panel + .format-panel {
  margin-top: 0;
}

.format-panel.is-current {
  border-color: var(--line-strong);
}

.panel-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px 18px;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.16);
}

.panel-step {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(23, 21, 19, 0.88);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-caption {
  max-width: 34ch;
  font-size: 0.93rem;
}

.format-panel-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: 28px;
  align-items: start;
  padding: 26px 24px 24px;
}

.format-copy,
.format-media {
  display: grid;
  gap: 18px;
  align-content: start;
}

.format-copy h3,
.about-summary h3,
.notes-summary h3,
.cta-side h3,
.note-card h3 {
  margin: 0;
  font-size: var(--h3-size);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.point-list,
.compact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  line-height: 1.6;
}

.point-list.compact {
  gap: 8px;
}

.format-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

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

.comparison-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  background: rgba(255, 253, 248, 0.46);
}

.comparison-card figcaption {
  margin-bottom: 12px;
  padding: 0 2px 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 21, 19, 0.62);
}

.comparison-card img {
  width: 100%;
  border-radius: 20px;
  object-fit: contain;
  aspect-ratio: 1.34;
  background: rgba(255, 255, 255, 0.46);
}

.media-single img {
  aspect-ratio: 1.16;
}

.comparison-note,
.route-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.42);
}

.comparison-note {
  display: grid;
  gap: 8px;
}

.comparison-note strong,
.route-card strong,
.micro-card strong,
.footer-meta strong {
  color: var(--ink);
}

.placeholder-text {
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.4);
  color: rgba(23, 21, 19, 0.78);
  line-height: 1.56;
}

.placeholder-inline {
  color: rgba(23, 21, 19, 0.74);
}

.about-scene {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.about-photo-card {
  position: static;
  top: auto;
  padding: 14px;
}

.about-photo-card img {
  display: block;
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 0.74;
  image-rendering: auto;
  transform: none;
}

.about-content {
  display: grid;
  gap: 20px;
}

.about-summary,
.fact-card,
.notes-summary,
.detail-card,
.cta-scene {
  padding: 26px;
}

.fact-card,
.detail-card,
.about-summary,
.notes-summary {
  display: grid;
  gap: 14px;
  align-content: start;
}

.about-facts-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (min-width: 769px) {
  .about-facts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-facts-grid .fact-card:last-child {
    grid-column: auto;
  }
}

.detail-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .about-facts-grid .fact-card:last-child {
    grid-column: 1 / -1;
  }
}

.fact-card img,
.detail-card img {
  width: 100%;
  border-radius: 20px;
}

.conference-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.detail-grid .conference-card {
  width: 100%;
  max-width: 520px;
  justify-self: start;
}

.compact-list {
  padding-left: 1rem;
}

.telegram-section .section-heading .stack {
  max-width: 44rem;
}

.notes-scene {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.notes-summary {
  grid-column: 1 / 5;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.notes-scene > .note-card:nth-child(2) {
  grid-column: 5 / 9;
  grid-row: 1;
}

.notes-scene > .note-card:nth-child(3) {
  grid-column: 9 / 13;
  grid-row: 1;
}

.notes-scene > .note-card:nth-child(4) {
  grid-column: 5 / 13;
  grid-row: 2;
}

.note-card {
  padding: 14px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  color: inherit;
}

.note-card .stack {
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.note-media img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 1.02;
}

.notes-scene > .note-card:nth-child(4) .note-media img {
  aspect-ratio: 2.14;
}

.cta-section .page {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cta-section .cta-scene {
  --scene-fill: var(--bone);
}

.cta-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.cta-copy h2 {
  max-width: 12ch;
}

.cta-copy .section-copy {
  max-width: 33rem;
}

.cta-side {
  display: grid;
  gap: 16px;
}

.page-hero {
  padding-bottom: 6px;
}

.inner-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.84fr);
  gap: 24px;
  align-items: stretch;
  min-height: clamp(500px, calc(100svh - var(--header-offset) - 160px), 620px);
  padding: 26px;
  background: var(--surface);
}

.inner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: 4px 6px 4px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--muted);
}

.inner-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-size: var(--h1-inner);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.inner-media {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.38);
}

.inner-media img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.inner-media.media-contain img {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.44);
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-list {
  display: grid;
  gap: 6px;
  list-style: none;
  padding: 0;
}

.timeline-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.timeline-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.timeline-list strong {
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quote-note {
  font-size: clamp(1.4rem, 1.08rem + 0.95vw, 1.95rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.site-footer {
  padding: 0 0 18px;
}

.footer-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--panel-shadow);
}

.footer-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.footer-meta > div {
  display: grid;
  gap: 4px;
}

.footer-brand-mark {
  width: 36px;
  height: 36px;
}

.footer-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  align-items: center;
}

.footer-nav {
  justify-content: center;
}

.footer-nav a,
.footer-links a {
  color: var(--muted);
}

html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.72s var(--ease),
    transform 0.72s var(--ease);
}

html.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (hover: hover) {
  .button:hover,
  .back-link:hover,
  .site-nav > a:hover,
  .nav-dropdown > summary:hover {
    transform: translateY(-1px);
  }

  .note-card:hover,
  .format-tab:hover {
    transform: translateY(-2px);
  }
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 1240px) {
  .page {
    width: calc(100% - 16px);
    max-width: none;
  }

  .hero-stage,
  .inner-stage {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .hero-title,
  .inner-copy h1 {
    max-width: 12ch;
  }

  .formats-layout,
  .about-scene,
  .cta-scene {
    grid-template-columns: minmax(0, 1fr);
  }

  .formats-aside,
  .about-photo-card {
    position: static;
  }

  .formats-aside h2 {
    max-width: 16ch;
  }

  .formats-stack {
    padding-bottom: 0;
    gap: 18px;
  }

  .format-panel,
  .format-panel:nth-child(2),
  .format-panel:nth-child(3) {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .format-panel + .format-panel {
    margin-top: 0;
  }

  .format-panel.is-current {
    transform: none;
  }

  .format-panel-body,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-scene {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-summary,
  .notes-scene > .note-card:nth-child(2),
  .notes-scene > .note-card:nth-child(3),
  .notes-scene > .note-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .notes-summary {
    min-height: auto;
  }

  .notes-scene > .note-card:nth-child(4) .note-media img {
    aspect-ratio: 1.12;
  }
}

@media (max-width: 960px) {
  :root {
    --header-offset: 96px;
    --radius-panel: 34px;
    --radius-card: 28px;
  }

  html:not(.js-ready) .header-shell {
    grid-template-columns: auto 1fr auto;
  }

  html:not(.js-ready) .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-shell {
    grid-template-columns: auto 1fr auto auto;
  }

  html.js-ready .menu-toggle {
    display: inline-flex;
  }

  html.js-ready .site-nav {
    display: none;
  }

  html.js-ready body.nav-open .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--panel-shadow);
  }

  html.js-ready body.nav-open .site-nav > a,
  html.js-ready body.nav-open .site-nav > details > summary {
    justify-content: flex-start;
    padding: 14px 16px;
  }

  html.js-ready body.nav-open .site-nav > .language-switch--menu {
    align-self: flex-start;
    width: auto;
    min-width: 46px;
  }

  html.js-ready body.nav-open .nav-dropdown {
    width: 100%;
  }

  html.js-ready body.nav-open .dropdown-panel {
    position: static;
    min-width: 100%;
    margin-top: 8px;
    background: var(--surface-soft);
  }

  .header-cta {
    min-height: 44px;
    padding: 0 15px;
    font-size: 0.92rem;
  }

  .micro-cards,
  .about-facts-grid,
  .route-cards,
  .comparison-grid,
  .detail-grid,
  .format-panel-body,
  .notes-scene {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .hero-feed > .feed-photo:first-child,
  .evidence-card {
    grid-column: auto;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-shell {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .page {
    width: calc(100% - 16px);
    max-width: none;
  }

  .site-header {
    top: 10px;
    padding: 10px 0 14px;
  }

  .header-shell {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 28px;
  }

  .brand {
    min-height: 40px;
    font-size: 0.94rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .language-switch--header {
    width: 40px;
    height: 40px;
    font-size: 0.76rem;
  }

  .menu-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero-stage,
  .inner-stage,
  .formats-section .page,
  .about-section .page,
  .telegram-section .page,
  .inner-page .section-shell .page,
  .about-summary,
  .fact-card,
  .detail-card,
  .notes-summary,
  .cta-scene {
    padding: 20px;
  }

  .hero-title {
    max-width: 11ch;
    font-size: clamp(2.45rem, 1.96rem + 4.6vw, 3.6rem);
  }

  .hero-subtitle,
  .section-copy {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .header-cta {
    width: auto;
  }

  .hero-actions,
  .format-actions {
    flex-direction: column;
  }

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

  .formats-aside {
    padding: 20px;
  }

  .panel-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison-card img,
  .evidence-card img,
  .note-media img {
    aspect-ratio: 1.08;
  }
}

/* About, consultation and media refinements. */
.about-page .inner-stage {
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  min-height: 0;
  align-items: stretch;
}

.about-page .inner-copy h1 {
  max-width: none;
  font-size: clamp(2.65rem, 2rem + 1.35vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: pretty;
}

.about-page .inner-copy {
  justify-content: flex-start;
}

.education-grid,
.science-grid {
  align-items: start;
}

.research-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 38rem);
  padding: 16px 18px;
  border: 1px solid var(--line);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.35;
}

.research-jump span {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.story-photo img,
.story-illustration img,
.story-photo--landscape img {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.publications-card {
  gap: 18px;
}

.publication-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 1.4rem;
}

.publication-list li {
  padding-left: 0.35rem;
  line-height: 1.55;
}

.evidence-gallery--self {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.evidence-gallery--self .evidence-item {
  grid-template-rows: minmax(280px, auto) auto;
}

.evidence-gallery--self .evidence-item img {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.consultation-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  margin-top: 12px;
}

.consultation-process-grid .longread-copy {
  max-width: none;
}

.consultation-process-art {
  display: block;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.consultation-process-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
}

.feed-visual {
  grid-template-rows: minmax(0, 1fr) auto;
}

.home-page .hero-feed .feed-visual--contained img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  aspect-ratio: 1.24;
  background: rgba(255, 253, 248, 0.48);
  object-fit: contain;
}

.contact-card {
  align-content: start;
  gap: 10px;
}

.contact-card__icon {
  display: block;
  width: 62px;
  height: 62px;
  margin-bottom: 8px;
  object-fit: contain;
}

@media (min-width: 1241px) {
  .about-page .about-hero-photo img {
    min-height: 0;
    max-height: 680px;
  }
}

@media (max-width: 960px) {
  .about-page .inner-stage,
  .consultation-process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page .inner-copy h1 {
    max-width: none;
    font-size: clamp(2.45rem, 8vw, 4rem);
  }

  .consultation-process-art {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .evidence-gallery--self {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .research-jump {
    font-size: 0.9rem;
  }

  .contact-card__icon {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .header-shell {
    grid-template-columns: auto 1fr auto auto;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .hero-title,
  .inner-copy h1,
  .section-heading h2,
  .cta-copy h2,
  .format-copy h3,
  .about-summary h3,
  .note-card h3 {
    text-wrap: pretty;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Reference-aligned motion and panel rhythm for the home page. */
.home-page .scene::before {
  display: none;
}

.home-page .site-header {
  position: relative;
  top: 0;
}

.home-page .hero-feed [data-reveal] {
  opacity: 1;
  transform: none;
}

.home-page .format-panel[data-reveal] {
  opacity: 1;
  transform: none;
}

.hero-feed-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  will-change: transform;
  animation: hero-rail-y 32s linear infinite;
}

.hero-feed-group {
  display: grid;
  flex: none;
  gap: 12px;
  width: 100%;
  padding-bottom: 12px;
}

@keyframes hero-rail-y {
  to {
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes hero-rail-x {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (hover: hover) {
  .hero-feed:hover .hero-feed-track {
    animation-play-state: paused;
  }
}

@media (min-width: 961px) {
  .home-page .site-header {
    position: relative;
    top: 0;
    padding: 0 0 6px;
  }

  .home-page .site-header .page {
    width: calc(100% - 16px);
    max-width: none;
  }

  .home-page .hero .page {
    width: 100%;
    max-width: none;
  }

  .home-page .header-shell {
    min-height: 72px;
    padding: 12px 16px;
    border-radius: 0 0 40px 40px;
  }

  .home-page .hero-stage {
    grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
    gap: 0;
    height: clamp(610px, calc(100svh - 94px), 684px);
    min-height: 0;
    padding: 0;
    border-radius: 40px;
  }

  .home-page .hero-copy {
    align-content: space-between;
    gap: 24px;
    padding: 42px clamp(44px, 8vw, 102px) 46px;
  }

  .home-page .hero-copy .stack {
    gap: 20px;
  }

  .home-page .hero-title {
    max-width: none;
    font-size: 3.5rem;
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: pretty;
  }

  .home-page .hero-subtitle {
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .home-page .micro-cards {
    display: none;
  }

  .home-page .hero-feed {
    position: relative;
    display: block;
    height: 100%;
    padding: 12px 16px;
    overflow: hidden;
    border-left: 1px solid var(--line-strong);
  }

  .home-page .hero-feed .feed-card {
    width: 100%;
    min-height: 0;
    border-radius: 30px;
  }

  .home-page .hero-feed .feed-photo img {
    aspect-ratio: 1.45;
  }

  .home-page .hero-feed .feed-photo--small img {
    aspect-ratio: 1.32;
  }

  .home-page .hero-feed .evidence-card {
    grid-template-columns: minmax(0, 1fr) 126px;
  }

  .home-page .formats-section .formats-layout {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0 0 72px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-page .formats-aside {
    display: none;
  }

  .home-page .formats-stack {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 0;
    gap: 20px;
  }

  .home-page .format-panel,
  .home-page .format-panel:nth-child(2),
  .home-page .format-panel:nth-child(3) {
    position: relative;
    top: auto;
    min-height: 0;
    height: auto;
    max-height: none;
    border-radius: 40px;
    --scene-fill: var(--white);
  }

  .home-page .format-panel {
    top: auto;
  }

  .home-page .format-panel:nth-child(2) {
    top: auto;
  }

  .home-page .format-panel:nth-child(3) {
    top: auto;
  }

  .home-page .format-panel + .format-panel {
    margin-top: 0;
  }

  .home-page .format-panel.is-current {
    transform: none;
  }

  .home-page .panel-topbar {
    min-height: 64px;
    padding: 0 28px;
    align-items: center;
  }

  .home-page .panel-step {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    letter-spacing: 0;
  }

  .home-page .panel-caption {
    max-width: 34ch;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .home-page .format-panel-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: auto;
    gap: 34px;
    padding: 30px 28px 28px;
    overflow: visible;
  }

  .home-page .format-copy {
    gap: 14px;
  }

  .home-page .format-copy .stack {
    gap: 12px;
  }

  .home-page .format-copy h3 {
    font-size: 2.15rem;
    letter-spacing: 0;
  }

  .home-page .format-copy p,
  .home-page .format-copy .point-list {
    font-size: 0.92rem;
    line-height: 1.46;
  }

  .home-page .format-copy .point-list {
    gap: 6px;
  }

  .home-page .format-actions {
    gap: 10px;
    padding-top: 12px;
  }

  .home-page .format-actions .button {
    min-height: 46px;
  }

  .home-page .format-media {
    align-content: center;
    gap: 14px;
    padding: 18px;
    border-radius: 32px;
  }

  .home-page .format-panel.tone-sage .format-media {
    background: var(--sage);
  }

  .home-page .format-panel.tone-lavender .format-media {
    background: var(--lavender);
  }

  .home-page .format-panel.tone-rose .format-media {
    background: var(--rose);
  }

  .home-page .comparison-card,
  .home-page .comparison-note {
    background: rgba(255, 253, 248, 0.64);
  }

}

@media (max-width: 960px) {
  .home-page .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    height: auto;
    padding: 0;
  }

  .home-page .hero-copy {
    gap: 22px;
    padding: 34px 30px 30px;
  }

  .home-page .hero-title {
    max-width: none;
    font-size: 2.8rem;
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: pretty;
  }

  .home-page .hero-subtitle {
    max-width: 40rem;
    line-height: 1.5;
  }

  .home-page .micro-cards {
    display: none;
  }

  .home-page .hero-feed {
    display: block;
    height: 250px;
    padding: 12px 0;
    overflow: hidden;
    border-top: 1px solid var(--line-strong);
  }

  .home-page .hero-feed-track {
    flex-direction: row;
    width: max-content;
    height: 100%;
    animation-name: hero-rail-x;
  }

  .home-page .hero-feed-group {
    display: flex;
    width: max-content;
    height: 100%;
    padding: 0 12px 0 0;
  }

  .home-page .hero-feed .feed-card {
    flex: 0 0 280px;
    width: 280px;
    height: 100%;
    overflow: hidden;
  }

  .home-page .hero-feed .feed-photo {
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .home-page .hero-feed .feed-photo img,
  .home-page .hero-feed .feed-photo--small img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .home-page .hero-feed .evidence-card {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .home-page .formats-section .formats-layout {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-page .formats-aside {
    display: none;
  }

  .home-page .formats-stack {
    width: 100%;
    padding: 0;
    gap: 12px;
  }

  .home-page .format-panel,
  .home-page .format-panel:nth-child(2),
  .home-page .format-panel:nth-child(3) {
    position: relative;
    top: auto;
    min-height: 0;
    height: auto;
    max-height: none;
    margin-top: 0;
    --scene-fill: var(--white);
  }

  .home-page .format-panel.is-current {
    transform: none;
  }

  .home-page .panel-step {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    letter-spacing: 0;
  }

  .home-page .format-panel-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .format-copy h3 {
    letter-spacing: 0;
  }

  .home-page .format-media {
    padding: 14px;
    border-radius: 28px;
  }

  .home-page .format-panel.tone-sage .format-media {
    background: var(--sage);
  }

  .home-page .format-panel.tone-lavender .format-media {
    background: var(--lavender);
  }

  .home-page .format-panel.tone-rose .format-media {
    background: var(--rose);
  }

  .home-page .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-page .hero-stage {
    border-radius: 24px;
  }

  .home-page .hero-copy {
    padding: 24px 22px 26px;
  }

  .home-page .hero-copy .stack {
    gap: 16px;
  }

  .home-page .hero-title {
    max-width: 100%;
    font-size: 2.35rem;
    line-height: 1.05;
    overflow-wrap: normal;
    word-break: normal;
  }

  .home-page .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .home-page .hero-actions {
    flex-direction: row;
    gap: 8px;
  }

  .home-page .hero-actions .button {
    width: auto;
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .home-page .hero-actions .button-secondary {
    border-color: transparent;
    background: transparent;
  }

  .home-page .hero-feed {
    height: 220px;
  }

  .home-page .hero-feed .feed-card {
    flex-basis: 264px;
    width: 264px;
    border-radius: 24px;
  }

  .home-page .format-panel {
    border-radius: 24px;
  }

  .home-page .panel-topbar {
    gap: 10px;
    padding: 18px;
  }

  .home-page .panel-caption {
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .home-page .format-panel-body {
    gap: 18px;
    padding: 18px;
  }

  .home-page .format-copy h3 {
    font-size: 1.65rem;
  }

  .home-page .format-copy p,
  .home-page .format-copy .point-list {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .home-page .comparison-card img {
    aspect-ratio: 1.34;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .home-page .hero-copy {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .home-page .hero-title {
    font-size: 3rem;
  }

  .home-page .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feed-track {
    animation: none !important;
    transform: none !important;
  }
}

.home-page .generated-visual {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
}

html.js-ready .home-page .format-panel[data-reveal],
html.js-ready .home-page .format-panel[data-reveal].is-visible {
  transform: none;
}

.home-page #format-consultation .generated-visual {
  background: #dee4e1;
}

.home-page #format-athletes .generated-visual {
  background: #e2dfe9;
}

.home-page #format-training .generated-visual {
  background: #e4d9d8;
}

.home-page .generated-visual picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.home-page .generated-visual img,
.home-page #format-training .generated-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  filter: none;
  image-rendering: auto;
  transform: none;
}

@media (min-width: 1600px) {
  .home-page .formats-section .page {
    width: calc(100% - 16px);
    max-width: none;
  }

  .home-page .format-panel-body {
    grid-template-columns: minmax(0, 0.86fr) minmax(680px, 1.14fr);
  }
}

@media (min-width: 961px) {
  .home-page .generated-media {
    align-self: start;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
  }

  .home-page .generated-visual {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .home-page .generated-media .comparison-note {
    grid-column: 1;
    grid-row: 2;
    align-self: auto;
    padding: 16px;
  }

  .home-page .generated-visual img,
  .home-page #format-training .generated-visual img {
    height: 100%;
    min-height: 0;
    max-height: none;
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  .home-page .generated-media {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .home-page .generated-visual,
  .home-page .generated-media .comparison-note {
    grid-column: auto;
    grid-row: auto;
  }

  .home-page .generated-visual img,
  .home-page #format-training .generated-visual img {
    height: auto;
  }

  .home-page .generated-visual picture {
    height: auto;
  }
}

/* Formats are a compact three-card gallery and return to normal flow on mobile. */
.home-page .formats-section .formats-layout {
  padding-bottom: 0;
}

.home-page .formats-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
}

.home-page .format-panel,
.home-page .format-panel:nth-child(2),
.home-page .format-panel:nth-child(3) {
  position: relative;
  top: auto;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 0;
  height: auto;
  max-height: none;
  margin: 0;
  overflow: hidden;
  border-radius: 36px;
}

.home-page #format-consultation {
  --scene-fill: #dee4e1;
}

.home-page #format-athletes {
  --scene-fill: #e2dfe9;
}

.home-page #format-training {
  --scene-fill: #e4d9d8;
}

.home-page .format-panel-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  height: auto;
  padding: 22px;
  overflow: visible;
}

.home-page .format-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 260px;
}

.home-page .format-copy h3 {
  font-size: clamp(1.65rem, 1.2rem + 0.8vw, 2.15rem);
  line-height: 1.05;
}

.home-page .format-copy p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-page .format-copy .point-list,
.home-page .generated-media .comparison-note {
  display: none;
}

.home-page .format-actions {
  padding-top: 0;
}

.home-page .generated-media {
  display: block;
  width: 100%;
  height: auto;
  padding: 12px;
  overflow: hidden;
  border-radius: 26px;
}

.home-page .generated-visual,
.home-page #format-training .generated-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
}

.home-page .generated-visual picture {
  width: 100%;
  height: 100%;
}

.home-page .generated-visual img,
.home-page #format-training .generated-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 960px) {
  .home-page .formats-stack {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 12px;
    padding: 0;
    overflow: visible;
    overscroll-behavior-x: auto;
    scroll-snap-type: none;
  }

  .home-page .format-panel,
  .home-page .format-panel:nth-child(2),
    .home-page .format-panel:nth-child(3) {
    min-height: 0;
    scroll-snap-align: none;
  }

  .home-page .panel-topbar {
    min-height: 72px;
  }

  .home-page .format-panel-body {
    align-content: space-between;
    padding: 20px;
  }

  .home-page .format-copy {
    min-height: 0;
  }

  .home-page .generated-visual,
  .home-page #format-training .generated-visual {
    max-width: none;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
  }

  .home-page .generated-visual img,
  .home-page #format-training .generated-visual img {
    object-fit: contain;
  }
}

/* Content revision: credentials, longread, research evidence and balanced grids. */
.institution {
  font-weight: 800;
}

.credentials-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.5;
}

.credentials-list.hero-subtitle {
  max-width: 48rem;
}

.speaking-list {
  display: grid;
  gap: 8px;
}

.speaking-card img {
  margin-top: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tone-bone p,
.tone-bone li,
.tone-bone .section-kicker {
  color: rgba(23, 21, 19, 0.82);
}

.telegram-section .page {
  padding: 14px;
}

.telegram-section__kicker {
  margin: 4px 4px 14px;
}

.notes-scene {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.notes-summary,
.notes-scene > .note-card:nth-child(2),
.notes-scene > .note-card:nth-child(3),
.notes-scene > .note-card:nth-child(4) {
  grid-column: auto;
  grid-row: auto;
}

.notes-summary {
  min-height: 100%;
  padding: 22px;
}

.note-card {
  min-width: 0;
  padding: 12px;
}

.note-card h3,
.notes-summary h3 {
  font-size: clamp(1.35rem, 1.05rem + 0.65vw, 1.9rem);
  line-height: 1.06;
}

.note-card p,
.notes-summary p {
  font-size: 0.92rem;
  line-height: 1.48;
}

.notes-scene .note-media img,
.notes-scene > .note-card:nth-child(4) .note-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-page .inner-stage {
  min-height: min(680px, calc(100svh - var(--header-offset) - 80px));
}

.about-hero-lead {
  max-width: 42rem;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.38;
}

.about-hero-photo {
  overflow: hidden;
  border-radius: var(--radius-card);
}

.about-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  transform: none;
}

.longread-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.longread-card h2,
.science-intro h2,
.evidence-section h2,
.results-detail-grid h2 {
  margin: 0;
  font-size: var(--h2-size);
  line-height: 1;
}

.longread-copy {
  display: grid;
  gap: 22px;
  max-width: 54rem;
}

.longread-copy p {
  font-size: clamp(1.02rem, 0.98rem + 0.22vw, 1.18rem);
  line-height: 1.68;
}

.training-longread {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  grid-template-areas:
    "kicker art"
    "heading art"
    "copy art";
  column-gap: clamp(30px, 4vw, 64px);
  align-items: start;
  padding: clamp(28px, 4vw, 56px);
}

.training-longread > .section-kicker {
  grid-area: kicker;
}

.training-longread > h2 {
  grid-area: heading;
  max-width: none;
  text-wrap: balance;
}

.training-longread-columns {
  grid-area: copy;
  display: block;
  margin-top: clamp(26px, 4vw, 44px);
}

.training-longread-art {
  grid-area: art;
  align-self: start;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.58);
}

.training-longread-art picture {
  display: block;
}

.training-longread-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
}

.training-longread-columns .longread-copy {
  max-width: none;
  align-content: start;
}

.quote-tile {
  margin: 8px 0;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bone);
  font-size: clamp(1.7rem, 1.25rem + 1.2vw, 2.7rem);
  font-weight: 750;
  line-height: 1.05;
}

.story-visuals {
  display: grid;
  gap: 18px;
}

.story-photo,
.story-illustration {
  padding: 12px;
}

.story-photo img,
.story-illustration img {
  width: 100%;
  max-height: 560px;
  border-radius: 22px;
  object-fit: cover;
}

.story-photo img {
  aspect-ratio: 1;
}

.story-illustration img {
  aspect-ratio: 3 / 4;
}

.education-grid {
  align-items: start;
}

.science-intro {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
}

.science-intro img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.science-grid .conference-card {
  width: 100%;
  max-width: none;
}

.evidence-section {
  display: grid;
  gap: 24px;
}

.evidence-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.evidence-item {
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  gap: 12px;
  min-width: 0;
  padding: 12px;
}

.evidence-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 340px;
  border-radius: 22px;
  background: var(--white);
  object-fit: contain;
}

.evidence-item span {
  padding: 4px 8px 8px;
  font-weight: 700;
  line-height: 1.3;
}

.image-zoom {
  display: block;
}

.image-zoom img {
  width: 100%;
}

.detail-hero-image {
  height: 100%;
  min-height: 420px;
  padding: 12px;
}

.detail-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 394px;
  border-radius: 22px;
  object-fit: cover;
}

.results-detail-grid > figure img {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
}

.cta-section .cta-scene {
  --scene-fill: var(--bone);
}

@media (max-width: 1240px) {
  .notes-scene {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .notes-scene,
  .longread-grid,
  .evidence-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .science-intro img {
    max-width: 520px;
  }

  .about-hero-photo img {
    min-height: 0;
    max-height: 440px;
  }

  .story-visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-item {
    grid-template-rows: auto auto;
  }
}

@media (max-width: 620px) {
  .story-visuals {
    grid-template-columns: minmax(0, 1fr);
  }

  .notes-summary,
  .note-card,
  .longread-card,
  .detail-card {
    padding: 20px;
  }

  .home-page .format-panel-body {
    padding: 18px;
  }
}

@media (max-width: 960px) {
  .home-page .generated-visual picture {
    align-items: stretch;
  }

  .home-page .generated-visual img,
  .home-page #format-training .generated-visual img {
    height: 100%;
    aspect-ratio: auto;
  }
}

/* Final content and layout refinements. */
.format-copy h3,
.about-summary h3,
.notes-summary h3,
.cta-side h3,
.note-card h3 {
  letter-spacing: 0;
}

.home-page .about-facts-grid {
  align-items: start;
}

.home-page .about-facts-grid > * {
  height: auto;
}

.home-page .format-copy {
  justify-content: flex-start;
  min-height: 0;
}

.home-page .format-actions {
  margin-top: 2px;
  padding-top: 0;
  border-top: 0;
}

.home-page .format-panel-body {
  grid-template-rows: auto 1fr;
}

.home-page .generated-media {
  align-self: end;
}

.format-hero-art {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 248, 0.58);
}

.format-hero-art picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.format-hero-art img {
  width: 100%;
  height: 100%;
  max-height: 590px;
  border-radius: 22px;
  object-fit: contain;
}

.inner-page .longread-card {
  width: 100%;
  padding: clamp(26px, 4vw, 54px);
}

.longread-route-cards {
  margin: 8px 0;
}

.longread-list {
  display: grid;
  gap: 8px;
  max-width: 46rem;
}

.recovery-section {
  display: grid;
  gap: 18px;
}

.recovery-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.78fr);
  gap: 18px;
  align-items: stretch;
}

.recovery-comparison {
  min-width: 0;
}

.recovery-comparison .comparison-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.recovery-comparison .image-zoom {
  display: grid;
  place-items: center;
  height: 100%;
}

.recovery-comparison .comparison-card img {
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
  object-fit: contain;
}

.recovery-gallery .evidence-item {
  height: 100%;
  grid-template-rows: minmax(320px, 1fr) auto;
}

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

.contact-card {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 150px;
  padding: 22px;
}

.contact-card strong {
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.35rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.image-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.image-lightbox::backdrop {
  background: rgba(12, 12, 12, 0.86);
  backdrop-filter: blur(4px);
}

.image-lightbox__surface {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.image-lightbox__image {
  display: block;
  width: auto;
  max-width: min(94vw, 1680px);
  height: auto;
  max-height: 88vh;
  border-radius: 12px;
  background: var(--white);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.image-lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.82);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

@media (hover: hover) {
  .contact-card:hover,
  .image-zoom:hover,
  .evidence-item:hover {
    transform: translateY(-2px);
  }
}

@media (min-width: 1241px) {
  .home-page .about-scene {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    align-items: start;
  }

  .home-page .about-content {
    display: contents;
  }

  .home-page .about-photo-card {
    grid-column: 1;
    grid-row: 1;
  }

  .home-page .about-summary {
    grid-column: 2;
    grid-row: 1;
  }

  .home-page .about-facts-grid {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 960px) {
  .format-hero-art img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 680px;
    aspect-ratio: auto;
  }

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

  .recovery-gallery .evidence-item {
    grid-template-rows: auto auto;
  }
}

@media (max-width: 720px) {
  .recovery-comparison {
    grid-template-columns: minmax(0, 1fr);
  }

  .recovery-comparison .comparison-card img {
    min-height: 0;
  }

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

  .image-lightbox {
    padding: 14px;
  }

  .image-lightbox__close {
    top: 6px;
    right: 6px;
  }
}

/* Final overrides for the revised content blocks. */
.story-photo img,
.story-illustration img,
.story-photo--landscape img {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.about-page .evidence-gallery--self {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page .evidence-gallery--self .evidence-item {
  grid-template-rows: auto auto;
}

.about-page .evidence-gallery--self .evidence-item img {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.home-page .hero-feed .feed-visual--contained img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  aspect-ratio: 1.24;
  background: rgba(255, 253, 248, 0.48);
  object-fit: contain;
}

.contact-card {
  align-content: start;
  gap: 10px;
}

@media (max-width: 960px) {
  .about-page .evidence-gallery--self {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .about-page .inner-copy h1 {
    font-size: 2.15rem;
  }
}

/* Science, athlete longread and carousel refinements. */
.science-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.science-layout .science-intro {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
}

.science-intro .stack {
  max-width: 82rem;
}

.science-intro p:not(.section-kicker) {
  max-width: 78rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.science-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.science-column .publications-card {
  width: 100%;
}

.science-column .publication-list {
  gap: 12px;
}

.science-column .publication-list li {
  font-size: 0.94rem;
  line-height: 1.5;
}

.science-researcher {
  padding: 12px;
}

.science-researcher img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 22px;
  background: #e0cac6;
  object-fit: contain;
}

.science-layout .conference-card {
  align-self: start;
}

.athlete-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  margin-top: 12px;
}

.athlete-process-grid .longread-copy {
  max-width: none;
}

.athlete-process-art {
  display: block;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.athlete-process-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 22px;
  background: #f0ded4;
  object-fit: contain;
}

.home-page .hero-feed .feed-visual--contained img {
  background: var(--feed-media-bg, #fffdf8);
}

.contact-card__icon--phone {
  transform: scale(1.1);
  transform-origin: left center;
}

.inner-page .inner-copy h1 {
  max-width: none;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: pretty;
}

.mobile-format-links {
  display: none;
}

.about-fact-column {
  display: grid;
  min-width: 0;
  gap: 18px;
  align-content: start;
}

.about-profile-button {
  width: fit-content;
  justify-self: start;
}

.personal-training-page .inner-copy .hero-actions {
  align-items: flex-start;
}

.personal-training-page .inner-copy .hero-actions .button {
  width: fit-content;
}

.fact-card--media {
  padding: 12px;
}

.fact-card--media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: 20px;
  background: #ffffff;
  object-fit: contain;
}

.fact-card--media strong {
  padding: 2px 6px 6px;
  line-height: 1.3;
}

@media (max-width: 1400px) {
  .inner-page .inner-copy h1 {
    font-size: 3.35rem;
  }
}

@media (min-width: 1241px) {
  .inner-page .format-hero-art {
    width: fit-content;
    max-width: 100%;
    height: auto;
    justify-self: center;
    align-self: center;
  }

  .inner-page .format-hero-art picture {
    width: auto;
    height: auto;
  }

  .inner-page .format-hero-art img {
    width: auto;
    max-width: 100%;
    height: min(590px, calc(100svh - 220px));
    min-height: 460px;
  }
}

@media (max-width: 1240px) {
  .training-longread {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "kicker"
      "heading"
      "art"
      "copy";
  }

  .training-longread-art {
    width: 100%;
    margin-top: 24px;
    aspect-ratio: 16 / 9;
  }

  .training-longread-art picture,
  .training-longread-art img {
    width: 100%;
    height: 100%;
  }

  .inner-page .format-hero-art {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .inner-page .format-hero-art picture,
  .inner-page .format-hero-art img {
    width: 100%;
    height: 100%;
  }

  .inner-page .format-hero-art img {
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }
}

@media (min-width: 961px) and (hover: hover) {
  .nav-dropdown::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
  }

  .nav-dropdown:hover .dropdown-panel {
    display: block;
  }

  .nav-dropdown:hover > summary {
    background: var(--surface-strong);
    color: var(--ink);
  }

  .nav-dropdown:hover > summary::after {
    content: "−";
  }
}

@media (max-width: 960px) {
  .science-layout,
  .athlete-process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .science-layout .science-intro {
    grid-column: auto;
  }

  .athlete-process-art {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .inner-page .inner-copy h1 {
    font-size: 2.7rem;
  }

  .inner-page .format-hero-art {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .inner-page .format-hero-art picture,
  .inner-page .format-hero-art img {
    width: 100%;
    height: 100%;
  }

  .inner-page .format-hero-art img {
    max-height: none;
    object-fit: contain;
  }

  .consultation-process-art {
    order: -1;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .consultation-process-art picture {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .consultation-process-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .home-page .hero-feed .feed-card__caption {
    display: none;
  }

  .home-page .hero-feed .feed-photo,
  .home-page .hero-feed .feed-visual {
    grid-template-rows: minmax(0, 1fr);
  }

  html.js-ready body.nav-open .nav-dropdown .dropdown-panel {
    display: block;
  }

  html.js-ready body.nav-open .nav-dropdown > summary::after {
    content: "−";
  }

  html.js-ready body.nav-open .nav-dropdown .dropdown-panel {
    display: none;
  }

  html.js-ready body.nav-open .mobile-format-links {
    display: grid;
    gap: 2px;
    margin: -6px 8px 4px;
    padding: 8px 8px 8px 18px;
    border-left: 1px solid var(--line-strong);
  }

  .mobile-format-links a {
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--muted);
    line-height: 1.25;
  }

  .mobile-format-links a[aria-current="page"] {
    background: var(--surface-strong);
    color: var(--ink);
  }
}

@media (max-width: 620px) {
  .inner-page .inner-copy h1 {
    font-size: 2.15rem;
  }
}

/* Experimental 2: compact media rail and article-like longreads. */
.home-page .hero-feed .feed-card {
  display: block;
  padding: 0;
  overflow: hidden;
  border-width: 1px;
  background: var(--feed-media-bg, var(--scene-fill, var(--surface-strong)));
}

.home-page .hero-feed .feed-card__media {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  background: var(--feed-media-bg, #fffdf8);
}

.home-page .hero-feed .feed-card__media:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -3px;
}

.home-page .hero-feed .feed-card img,
.home-page .hero-feed .feed-visual--contained img,
.home-page .hero-feed .feed-photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  background: var(--feed-media-bg, #fffdf8);
}

.home-page .hero-feed .feed-card__caption {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  background: var(--scene-fill, var(--surface-strong));
}

.consultation-process-grid,
.athlete-process-grid,
.training-longread {
  display: flow-root;
}

.consultation-process-grid .longread-copy,
.athlete-process-grid .longread-copy,
.training-longread-columns,
.training-longread-columns .longread-copy {
  display: contents;
  max-width: none;
}

.consultation-process-art,
.athlete-process-art,
.training-longread-art {
  float: right;
  width: clamp(320px, 36%, 520px);
  margin: 0 0 26px clamp(24px, 3vw, 48px);
}

.training-longread-art {
  width: clamp(320px, 34%, 500px);
}

.consultation-process-grid .longread-copy > * + *,
.athlete-process-grid .longread-copy > * + *,
.training-longread-columns .longread-copy > * + * {
  margin-top: 22px;
}

.longread-route-cards {
  clear: both;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  width: 100%;
  margin-top: 26px;
}

.longread-route-cards .route-card {
  min-width: 0;
  min-height: 0;
  padding: 18px 20px;
}

.longread-route-cards .route-card p {
  font-size: clamp(0.95rem, 0.9rem + 0.16vw, 1.06rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .home-page .hero-feed .feed-card__media {
    height: 100%;
  }

  .home-page .hero-feed .feed-card img,
  .home-page .hero-feed .feed-visual--contained img,
  .home-page .hero-feed .feed-photo img {
    height: 100%;
    object-fit: contain;
  }

  .consultation-process-art,
  .athlete-process-art,
  .training-longread-art {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 24px;
  }

  .longread-route-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Integrated format scenes: one coherent illustration, without ghost overlays or image frames. */
.home-page .format-panel-body {
  grid-template-rows: auto minmax(0, 1fr);
}

.home-page .generated-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  align-self: end;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent !important;
}

.home-page .integrated-format-visual {
  display: grid;
  place-items: end center;
  align-self: end;
  width: 100%;
  min-height: 0;
  overflow: visible;
  color: inherit;
  text-decoration: none;
}

.home-page .integrated-format-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: none;
  transform: none;
  transition: transform 260ms ease;
}

.home-page .generated-media .comparison-note {
  display: none;
}

@media (hover: hover) {
  .home-page .integrated-format-visual:hover img {
    transform: translateY(-4px);
  }
}

@media (max-width: 960px) {
  .home-page .generated-media {
    display: block;
  }

  .home-page .integrated-format-visual img {
    width: min(100%, 760px);
    max-height: none;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .home-page .integrated-format-visual img {
    width: 112%;
    max-width: none;
    margin-inline: -6%;
  }
}

/* Exact card surfaces sampled from the regenerated scenes. */
.home-page .format-panel.tone-sage {
  --scene-fill: #dbe3e0;
}

.home-page .format-panel.tone-lavender {
  --scene-fill: #e2d8ea;
}

.home-page .format-panel.tone-rose {
  --scene-fill: #ead5d4;
}


/* Card illustrations fill the available media width without an inner frame. */
.home-page .integrated-format-visual img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  margin: 0;
}
