:root {
  color-scheme: light;
  --bg: #edf2f7;
  --bg-strong: #d9e3ee;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-inverse: #10233d;
  --text: #112640;
  --muted: #60728a;
  --line: rgba(17, 38, 64, 0.12);
  --line-strong: rgba(17, 38, 64, 0.2);
  --accent-soft: #d5e1ee;
  --shadow: 0 28px 72px rgba(15, 23, 42, 0.08);
  --page-max: 1750px;
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-ui: var(--font-sans);
  --font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-meta: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07111d;
  --bg-strong: #0d1928;
  --surface: rgba(10, 21, 36, 0.9);
  --surface-strong: #10233d;
  --surface-inverse: #edf3fb;
  --text: #ebf2fb;
  --muted: #9aafc8;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at top right, rgba(124, 147, 172, 0.16), transparent 25%),
    radial-gradient(circle at left center, rgba(16, 35, 61, 0.08), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #f7f9fb 54%, var(--bg) 100%);
}

body[data-theme="dark"] {
  background:
    radial-gradient(circle at top right, rgba(124, 147, 172, 0.16), transparent 25%),
    radial-gradient(circle at left center, rgba(138, 167, 196, 0.11), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, #0c1725 54%, var(--bg) 100%);
}

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

button {
  font: inherit;
}

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

.page-shell {
  width: min(var(--page-max), calc(100% - 60px));
  margin: 0 auto;
  padding: 8px 0 34px;
}

.site-header,
.hero,
.stats-strip,
.site-footer {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .site-header {
  background: rgba(10, 21, 36, 0.7);
}

.site-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 28px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-kicker {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
}

.main-nav,
.stats-strip,
.channel-grid,
.step-grid,
.showcase-grid,
.video-grid,
.benefit-row,
.speaker-grid,
.support-grid,
.contact-panel,
.hero-actions {
  display: grid;
}

.main-nav {
  grid-auto-flow: column;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.theme-toggle,
.menu-toggle,
.button,
.video-card__play {
  border: 1px solid var(--line);
  background: transparent;
}

.main-nav a,
.theme-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 11px;
  color: var(--muted);
  font-family: var(--font-meta);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.theme-toggle {
  min-width: 36px;
  padding: 0 8px;
  font-size: 0.88rem;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.main-nav a:hover,
.theme-toggle:hover,
.menu-toggle:hover,
.button:hover,
.video-card__play:hover,
.main-nav a:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible,
.button:focus-visible,
.video-card__play:focus-visible {
  background: var(--accent-soft);
  color: var(--text);
  border-color: var(--line-strong);
}

.main-nav a.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.menu-toggle {
  display: none;
}

.hero,
.content-section,
.site-footer,
.stats-strip {
  margin-top: 12px;
}

.hero {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-strong);
}

.hero-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1) translate3d(0, 0, 0);
  transform-origin: center center;
  transition: opacity 2.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-image-layer.is-active {
  opacity: 1;
}

.hero-image-layer.is-animating {
  animation: hero-cinematic-in 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes hero-cinematic-in {
  from {
    transform: scale(1.03) translate3d(0, 6px, 0);
  }

  to {
    transform: scale(1) translate3d(0, 0, 0);
  }
}

.hero-body,
.hero-copy {
  display: grid;
}

.hero-body {
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.hero-copy {
  gap: 8px;
  max-width: 880px;
}

.section-kicker,
.card-kicker,
.card-tag,
.contact-label {
  color: var(--muted);
  font-family: var(--font-meta);
  font-size: clamp(0.42rem, 0.34rem + 0.46vw, 0.62rem);
  font-weight: 800;
  letter-spacing: clamp(0.08em, 0.04em + 0.24vw, 0.16em);
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(0.72rem, 0.58rem + 1.08vw, 1.48rem);
  line-height: 1.12;
  max-width: none;
  white-space: nowrap;
  text-wrap: nowrap;
  text-transform: uppercase;
}

.hero p,
.section-heading p,
.media-card p,
.info-card p,
.video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero #heroText {
  font-size: clamp(0.68rem, 0.62rem + 0.34vw, 0.88rem);
  line-height: 1.38;
  max-width: 72ch;
}

.hero-actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px;
}

.hero-actions:has(> :only-child) {
  grid-template-columns: minmax(0, max-content);
}

.hero-actions--overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
}

.hero-actions--overlay .button {
  min-height: clamp(28px, 24px + 0.5vw, 32px);
  padding: 0 clamp(9px, 8px + 0.24vw, 12px);
  font-size: clamp(0.54rem, 0.5rem + 0.18vw, 0.64rem);
  letter-spacing: clamp(0.05em, 0.04em + 0.05vw, 0.07em);
}

.hero-preview-progress {
  grid-column: 1 / -1;
  display: block;
  width: min(220px, calc(100% - 6px));
  position: relative;
  height: 3px;
  background: rgba(30, 61, 102, 0.58);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.hero-preview-progress.is-visible {
  opacity: 1;
}

.hero-preview-progress__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform: translateZ(0) scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
  z-index: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(34px, 32px + 0.5vw, 40px);
  padding: 0 clamp(12px, 10px + 0.4vw, 16px);
  font-family: var(--font-meta);
  font-weight: 800;
  font-size: clamp(0.66rem, 0.62rem + 0.16vw, 0.74rem);
  letter-spacing: clamp(0.06em, 0.05em + 0.08vw, 0.08em);
  text-transform: uppercase;
}

.button--solid {
  border-color: transparent;
  background: var(--surface-inverse);
  color: var(--bg);
}

body[data-theme="dark"] .button--solid {
  color: #07111d;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(7, 17, 29, 0.18);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.42;
  transition: opacity 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.hero-arrow span {
  display: block;
  transform: translateY(-4px);
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(7, 17, 29, 0.48);
  border-color: rgba(255, 255, 255, 0.64);
  opacity: 1;
}

.hero-arrow--prev {
  left: 18px;
}

.hero-arrow--next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  right: clamp(12px, 1vw, 18px);
  bottom: clamp(12px, 1vw, 18px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: clamp(5px, 0.45vw, 7px);
}

.hero-dot {
  position: relative;
  width: clamp(8px, 0.7vw, 10px);
  height: clamp(8px, 0.7vw, 10px);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease, width 160ms ease, box-shadow 160ms ease;
}

.hero-dot::before,
.hero-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(1px, 0.14vw, 2px);
  height: clamp(5px, 0.5vw, 7px);
  background: transparent;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background-color 160ms ease;
}

.hero-dot::before {
  left: 26%;
}

.hero-dot::after {
  right: 26%;
}

.hero-dot.is-active {
  background: #ffffff;
  box-shadow: none;
  transform: scale(1.08);
}

.hero-dots.is-paused .hero-dot.is-active {
  background: rgba(7, 17, 29, 0.84);
  box-shadow: none;
  transform: none;
}

.hero-dots.is-paused .hero-dot.is-active::before,
.hero-dots.is-paused .hero-dot.is-active::after {
  background: #ffffff;
  opacity: 1;
}

.hero-dot:hover,
.hero-dot:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.hero-source {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hero-source__trigger {
  cursor: help;
}

.hero-source__tooltip {
  position: absolute;
  right: 0;
  left: auto;
  bottom: calc(100% + 10px);
  width: auto;
  max-width: calc(100vw - 32px);
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.hero-source:hover .hero-source__tooltip,
.hero-source:focus-within .hero-source__tooltip {
  opacity: 1;
  transform: translateY(0);
}

.content-section {
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  box-shadow: none;
  backdrop-filter: none;
}

.content-section--boxed {
  padding-top: 14px;
  padding-bottom: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 0;
}

.section-heading h2 {
  font-size: clamp(0.8rem, 0.62rem + 1.04vw, 1.36rem);
  line-height: 1.16;
  max-width: none;
  white-space: nowrap;
  text-wrap: nowrap;
}

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

.step-grid {
  grid-template-columns: repeat(var(--step-columns, 3), minmax(0, 1fr));
  gap: var(--step-gap, 10px);
}

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

.video-grid {
  grid-template-columns: repeat(var(--video-columns, 4), minmax(0, 1fr));
  gap: var(--video-gap, 14px);
}

.speaker-grid {
  grid-template-columns: repeat(var(--speaker-columns, 4), minmax(0, 1fr));
  gap: var(--speaker-gap, 12px);
  align-items: start;
}

.benefit-row {
  grid-template-columns: repeat(var(--benefit-columns, 4), minmax(0, 1fr));
  gap: var(--benefit-gap, 12px);
  align-items: start;
}

.benefit-feature {
  --benefit-tile-ratio: var(--benefit-card-ratio, 16 / 9);
  display: grid;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  align-content: start;
}

.benefit-feature__image {
  width: 100%;
  height: auto;
  aspect-ratio: var(--benefit-tile-ratio);
  display: block;
  overflow: hidden;
}

.benefit-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--benefit-image-position, center center);
  display: block;
}

.benefit-feature__body {
  display: grid;
  grid-template-rows: minmax(calc(1.16em * 2), auto) minmax(calc(1.6em * 4), auto);
  align-content: start;
  gap: 4px;
  padding: var(--benefit-body-padding, 20px);
  width: 100%;
  min-height: 0;
  aspect-ratio: var(--benefit-tile-ratio);
  text-align: center;
  overflow: hidden;
}

.benefit-feature h3 {
  margin: 0;
  font-size: clamp(0.96rem, 0.86rem + 0.2vw, 1.08rem);
  line-height: 1.16;
  text-transform: none;
}

.benefit-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.benefit-feature--text-top {
  grid-template-rows: auto auto;
}

.benefit-feature--image-top {
  grid-template-rows: auto auto;
}

.benefit-feature--image-overlay {
  --benefit-tile-ratio: var(--benefit-overlay-ratio, 16 / 18);
  position: relative;
  min-height: 100%;
}

.benefit-feature--image-overlay .benefit-feature__image {
  aspect-ratio: var(--benefit-tile-ratio);
}

.benefit-feature__overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-rows: auto minmax(calc(1.16em * 2), auto) minmax(calc(1.6em * 4), auto);
  gap: 4px;
  padding: 18px 16px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(16, 35, 61, 0.46);
  color: #ffffff;
  text-align: center;
  backdrop-filter: blur(6px);
}

.benefit-feature__kicker {
  margin: 0;
  color: inherit;
  font-family: var(--font-meta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.benefit-feature__overlay h3,
.benefit-feature__overlay p {
  color: #ffffff;
}

.benefit-feature__body h3,
.benefit-feature__body p,
.benefit-feature__overlay h3,
.benefit-feature__overlay p {
  align-self: start;
}

.benefit-feature__body p,
.benefit-feature__overlay p {
  min-height: calc(1.6em * 4);
}

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

.media-card,
.video-card,
.info-card,
.speaker-card,
.support-card {
  display: grid;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.media-card,
.video-card {
  overflow: hidden;
}

.media-card__preview,
.speaker-card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.media-card__preview {
  aspect-ratio: var(--channel-preview-ratio, 1.28 / 1);
  overflow: hidden;
}

.media-card__preview--static {
  cursor: default;
}

.media-card img {
  width: 100%;
}

.media-card__preview > img:first-child {
  background: #0d1622;
  object-fit: cover;
  object-position: var(--channel-image-position, center center);
  display: block;
}

.media-card__preview > img:first-child {
  height: 100%;
}

.media-card__preview[data-audio-label="Relax"] > img:first-child,
.media-card__preview[data-audio-label="Disco"] > img:first-child {
  object-position: center top;
}

.media-card--split {
  grid-template-columns: 1fr 1fr;
  min-height: 100%;
}

.media-card--split > img,
.media-card--stacked > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--showcase-image-position, center center);
}

.media-card--stacked {
  grid-template-columns: 1fr;
}

.media-card--stacked > img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.media-card--split .media-card__body {
  grid-template-rows: minmax(calc(1.22em * 2), auto) minmax(calc(1.55em * 4), auto);
  align-content: start;
  padding: var(--showcase-body-padding, 18px);
  gap: 4px;
}

.media-card--stacked .media-card__body {
  grid-template-rows: minmax(calc(1.22em * 2), auto) minmax(calc(1.55em * 4), auto);
  align-content: start;
  padding: var(--showcase-body-padding, 18px);
  gap: 4px;
}

.media-card__body,
.video-card__body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-tag {
  padding: 4px 6px;
  border: 1px solid var(--line);
}

.media-card__tag-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--audio-overlay-border);
  background: var(--audio-overlay-blue);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 6;
}

.media-card__preview {
  --audio-overlay-blue: rgba(30, 61, 102, 0.58);
  --audio-overlay-border: rgba(255, 255, 255, 0.24);
}

.media-card__source-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--audio-overlay-border);
  background: var(--audio-overlay-blue);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  z-index: 6;
}

.media-card__source-overlay:not(:empty) {
  opacity: 1;
}

.media-card--channel .media-card__body {
  grid-template-rows: auto minmax(calc(1.44em * 2.6), auto);
  gap: 4px;
  padding: var(--channel-body-padding, 12px 14px);
  align-content: start;
}

.media-card--channel .media-card__body h3 {
  align-self: start;
}

.media-card--channel-layout-side {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.media-card--channel-layout-side .media-card__body {
  align-content: center;
}

.media-card--channel .media-card__body p {
  min-height: calc(1.44em * 2.6);
  align-self: start;
}

.media-card--channel-jolly .media-card__body {
  align-content: start;
}

.media-card--channel-jolly .media-card__body h3,
.media-card--channel-jolly .media-card__body p {
  margin: 0;
  text-align: center;
}

.media-card__preview--jolly-wide {
  display: none;
  aspect-ratio: 4 / 1;
}

.media-card--channel-jolly-secondary .media-card__body {
  display: none;
}

.media-card--channel-jolly-tertiary .media-card__body {
  display: none;
}

.media-card--channel-jolly-secondary,
.media-card--channel-jolly-tertiary {
  display: none;
}

.media-card--channel-jolly {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
}

.channel-grid:not(.channel-grid--wide-primary-jolly) .media-card--channel-jolly {
  grid-column: auto;
}

.media-card--channel-jolly .media-card__preview--static:not(.media-card__preview--jolly-wide),
.media-card--channel-jolly .media-card__body {
  display: none;
}

.media-card--channel-jolly .media-card__preview--jolly-wide {
  display: block;
}

.channel-grid:not(.channel-grid--wide-primary-jolly) .media-card--channel-jolly .media-card__preview--static:not(.media-card__preview--jolly-wide),
.channel-grid:not(.channel-grid--wide-primary-jolly) .media-card--channel-jolly .media-card__body {
  display: grid;
}

.channel-grid:not(.channel-grid--wide-primary-jolly) .media-card--channel-jolly .media-card__preview--jolly-wide {
  display: none;
}

.media-card h3,
.video-card h3,
.info-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.22;
  text-transform: uppercase;
}

.info-card {
  display: grid;
  grid-template-columns: minmax(44px, 62px) 1fr;
  grid-template-areas:
    "index title"
    "index copy";
  column-gap: 6px;
  row-gap: 0;
  min-height: 172px;
  padding: 18px 14px;
  align-items: start;
  overflow: hidden;
}

.support-card {
  display: grid;
  grid-template-rows: minmax(calc(1.15em * 1.65), auto) minmax(calc(1.6em * 3), auto);
  gap: 2px;
  min-height: 138px;
  padding: 16px 14px;
}

.support-card h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.support-card p {
  margin: -9px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.support-card h3,
.support-card p,
.media-card--split .media-card__body h3,
.media-card--split .media-card__body p,
.media-card--stacked .media-card__body h3,
.media-card--stacked .media-card__body p {
  align-self: start;
}

.support-card p,
.media-card--split .media-card__body p,
.media-card--stacked .media-card__body p {
  min-height: calc(1.55em * 4);
}

.info-card__index {
  grid-area: index;
  align-self: start;
  display: flex;
  align-items: flex-start;
  color: var(--muted);
  font-size: clamp(1.9rem, 2.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.82;
  transform: translateY(-8px);
  text-transform: uppercase;
}

.info-card h3 {
  grid-area: title;
  align-self: start;
  margin: 0;
  min-height: 1.12em;
  font-size: clamp(0.82rem, 0.72rem + 0.36vw, 0.96rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  white-space: nowrap;
  max-width: none;
}

.info-card p {
  grid-area: copy;
  align-self: start;
  margin: -10px 0 0;
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.55;
}

.step-grid .info-card p {
  margin-top: -14px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.step-grid .info-card h3 {
  font-size: 0.9rem;
  line-height: 1.15;
  min-height: 0;
}

.video-card__media {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.video-card__media img {
  aspect-ratio: var(--video-preview-ratio, 16 / 9);
  width: 100%;
  object-fit: cover;
  object-position: var(--video-image-position, center center);
}

.preview-icon {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: #10233d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.channel-preview-icon,
.speaker-preview-icon {
  position: absolute;
  left: 50%;
  top: 75%;
  display: block;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.62;
  z-index: 5;
  transition: opacity 0.18s ease;
}

.audio-state-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.media-card__preview:hover .channel-preview-icon,
.media-card__preview:focus-visible .channel-preview-icon,
.speaker-card__media:hover .speaker-preview-icon,
.speaker-card__media:focus-visible .speaker-preview-icon {
  opacity: 0.96;
}

.audio-track-label {
  position: absolute;
  left: 50%;
  bottom: 10px;
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border: 1px solid var(--audio-overlay-border);
  border-radius: 0;
  background: var(--audio-overlay-blue);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.22;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  z-index: 6;
}

.audio-track-label:not(:empty) {
  opacity: 1;
}

.audio-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--audio-overlay-blue);
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  z-index: 7;
  transition: opacity 0.2s ease;
}

.audio-progress__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform: translateZ(0) scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
  z-index: 1;
}

.media-card__preview.is-playing .audio-progress,
.speaker-card__media.is-playing .audio-progress {
  opacity: 1;
}


.speaker-card {
  grid-template-columns: max-content 1fr;
  gap: 12px;
  align-items: stretch;
  padding: 0;
  align-self: start;
  overflow: hidden;
}

.speaker-card__media {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: block;
  align-self: start;
  justify-self: start;
  width: 112px;
  aspect-ratio: var(--speaker-preview-ratio, 2 / 3);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  margin: 0;
  background: transparent;
}

.speaker-card__media > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  object-fit: cover;
  object-position: var(--speaker-image-position, center center);
  display: block;
}

.speaker-card__body {
  display: grid;
  grid-template-rows: auto minmax(calc(1.1em * 1.2), auto) minmax(calc(1.45em * 3), auto);
  gap: 2px;
  min-height: 0;
  padding: var(--speaker-body-padding, 8px 12px 8px 0);
  align-content: start;
}

.speaker-card__body .card-kicker {
  font-size: 0.76rem;
  line-height: 1.12;
}

.speaker-card__body h3 {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.speaker-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.25;
  margin-top: -2px;
  letter-spacing: -0.02em;
}

.speaker-card__body h3,
.speaker-card__body p {
  align-self: start;
}

.speaker-card__body p {
  min-height: calc(1.45em * 3);
}

.speaker-grid--stacked .speaker-card {
  grid-template-columns: 1fr;
}

.speaker-grid--stacked .speaker-card__media {
  width: 100%;
}

.speaker-grid--stacked .speaker-card__body {
  padding: 12px;
}

.media-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.media-overlay[hidden] {
  display: none;
}

.media-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 29, 0.82);
}

.media-overlay__panel {
  position: relative;
  width: min(1100px, calc(100% - 28px));
  margin: 5vh auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.media-overlay__panel--text {
  width: min(900px, calc(100% - 28px));
}

.media-overlay__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

#overlayVideo {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #000;
}

.legal-copy {
  display: grid;
  gap: 14px;
  padding-right: 24px;
}

.legal-copy h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.legal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.legal-copy a {
  color: var(--text);
  font-weight: 600;
}

.contact-panel {
  grid-template-columns: repeat(var(--contact-columns, 2), minmax(0, 1fr));
  gap: var(--contact-gap, 28px);
  align-items: center;
}

.contact-panel__info {
  display: grid;
  gap: 2px;
  align-self: center;
}

.contact-panel__logo {
  width: auto;
  height: 50px;
  margin-bottom: 8px;
}

.contact-panel p {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.7;
}

.contact-panel__company {
  font-weight: 700;
}

.contact-panel a {
  color: var(--text);
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 10px;
  width: min(100%, 380px);
  justify-self: start;
  align-self: center;
  justify-items: stretch;
}

.contact-form__field {
  display: grid;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
  resize: none;
}

.contact-form__field textarea {
  min-height: 38px;
  overflow: hidden;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(96, 114, 138, 0.68);
  opacity: 1;
}

body[data-theme="dark"] .contact-form__field input::placeholder,
body[data-theme="dark"] .contact-form__field textarea::placeholder {
  color: rgba(154, 175, 200, 0.66);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  background: #ffffff;
}

body[data-theme="dark"] .contact-form__field input:focus,
body[data-theme="dark"] .contact-form__field textarea:focus {
  background: rgba(16, 35, 61, 0.96);
}

.contact-form__submit {
  justify-self: start;
  margin-top: 2px;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.site-footer p {
  margin: 0;
}

.site-footer__version {
  justify-self: start;
  white-space: nowrap;
}

.site-footer__meta {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}

.site-footer__meta a {
  color: inherit;
  font-weight: 600;
}

.site-footer__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  margin-left: auto;
}

.site-footer__button {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-meta);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.site-footer__button:hover,
.site-footer__button:focus-visible {
  background: var(--accent-soft);
  border-color: var(--line-strong);
  color: var(--text);
}
