﻿@font-face {
  font-family: "Made Mirage";
  src: url("assets/fonts/mirage/mirage-thin.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Mirage";
  src: url("assets/fonts/mirage/mirage-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Mirage";
  src: url("assets/fonts/mirage/mirage-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Mirage";
  src: url("assets/fonts/mirage/mirage-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Mirage";
  src: url("assets/fonts/mirage/mirage-black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --yellow: #ffcc07;
  --blue: #302d7e;
  --red: #d21317;
  --ink: #101015;
  --muted: #5a5b66;
  --line: #dfe1eb;
  --panel: #f4f6fb;
  --white: #ffffff;
  --max-width: 1220px;
  --header-height: 74px;
  --font-display: "Made Mirage", Georgia, serif;
  --font-ui: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 74% 14%, rgba(210, 19, 23, 0.08), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f6f7fc 54%, #eef1f8 100%);
}

body.is-nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px clamp(18px, 4vw, 34px) 10px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  width: fit-content;
}

.brand-logo {
  width: 176px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  content: "";
  border-radius: 99px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.radio-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.radio-button {
  padding: 0 18px;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(210, 19, 23, 0.18);
}

.radio-button:hover,
.button:hover,
.radio-button:focus-visible,
.button:focus-visible {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.showcase {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 34px) 26px;
  display: grid;
  grid-template-columns: 0.46fr 1fr;
  gap: 28px;
  align-items: center;
}

.show-copy {
  padding-top: 30px;
}

.live-pill,
.bar-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.live-pill {
  padding: 8px 13px;
  margin-bottom: 24px;
}

.live-pill span,
.bar-live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
}

h1 {
  max-width: 350px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 950;
  line-height: 0.92;
  color: var(--ink);
}

.show-copy p {
  max-width: 355px;
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.44;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.button {
  min-width: 160px;
  padding: 0 18px;
  border: 2px solid transparent;
}

.button-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(210, 19, 23, 0.18);
}

.radio-control {
  display: grid;
  grid-template-columns: 38px minmax(96px, 1fr) 34px minmax(78px, 0.6fr);
  gap: 9px;
  align-items: center;
  width: min(100%, 354px);
  min-height: 50px;
  padding: 5px 8px 5px 5px;
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(100deg, var(--yellow), var(--blue) 48%, var(--red)) border-box;
  box-shadow: 0 16px 34px rgba(48, 45, 126, 0.14), 0 8px 22px rgba(210, 19, 23, 0.1);
}

.header-radio-control {
  width: clamp(258px, 25vw, 336px);
}

.radio-play,
.radio-mute {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.radio-play {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--red), #f13b42);
  box-shadow: 0 10px 22px rgba(210, 19, 23, 0.24);
}

.radio-mute {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--blue), #4d49b9);
}

.radio-play:hover,
.radio-mute:hover,
.radio-play:focus-visible,
.radio-mute:focus-visible {
  transform: translateY(-1px) scale(1.04);
  filter: saturate(1.12);
}

.radio-play svg,
.radio-mute svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.radio-play-icon {
  margin-left: 2px;
}

.radio-pause-icon,
.radio-muted-icon {
  display: none;
}

.radio-control.is-playing .radio-play-icon,
.radio-control.is-muted .radio-volume-icon {
  display: none;
}

.radio-control.is-playing .radio-pause-icon,
.radio-control.is-muted .radio-muted-icon {
  display: block;
}

.radio-meta {
  min-width: 0;
  text-align: left;
}

.radio-meta strong {
  display: block;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.radio-meta span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: var(--red);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
}

.radio-meta span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(210, 19, 23, 0.12);
}

.radio-volume {
  width: 100%;
  height: 4px;
  accent-color: var(--red);
  cursor: pointer;
}

.mobile-radio-panel {
  display: none;
}

@media (max-width: 1120px) {
  .site-header {
    gap: 16px;
    grid-template-columns: minmax(138px, 190px) 1fr auto;
  }

  .brand-logo {
    width: 156px;
  }

  .site-nav {
    gap: clamp(12px, 2vw, 24px);
    font-size: 0.72rem;
  }

  .header-radio-control {
    width: 250px;
    grid-template-columns: 36px minmax(88px, 1fr) 32px 62px;
  }
}

.button-outline {
  color: var(--blue);
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
}

.hero-stage {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  border-radius: 26px;
  background: #071b3f;
  box-shadow: 0 28px 90px rgba(48, 45, 126, 0.12);
}

.slider-track {
  position: relative;
  min-height: inherit;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 460px;
  overflow: hidden;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 420ms ease, transform 420ms ease;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease, filter 420ms ease;
}

.slide-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: clamp(24px, 5vw, 52px);
  background:
    linear-gradient(90deg, rgba(6, 14, 34, 0.88) 0%, rgba(6, 14, 34, 0.5) 48%, rgba(6, 14, 34, 0.1) 100%),
    linear-gradient(0deg, rgba(6, 14, 34, 0.72), rgba(6, 14, 34, 0.08));
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.slide-hover strong {
  max-width: 560px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 950;
  line-height: 0.92;
}

.slide-hover span {
  max-width: 620px;
  font-size: clamp(1rem, 1.8vw, 1.32rem);
  font-weight: 750;
  line-height: 1.38;
}

.slide-hover em {
  width: fit-content;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-slide:hover > img,
.hero-slide:focus-visible > img {
  filter: saturate(0.9) brightness(0.68);
  transform: scale(1.025);
}

.hero-slide:hover .slide-hover,
.hero-slide:focus-visible .slide-hover {
  opacity: 1;
  transform: translateY(0);
}

.slider-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  box-shadow: 0 14px 34px rgba(6, 14, 34, 0.24);
  font-size: 2.1rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: var(--red);
  color: var(--white);
  transform: translateY(-50%) scale(1.06);
}

.slider-prev {
  left: 18px;
}

.slider-next {
  right: 18px;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dots button.is-active {
  width: 28px;
  background: var(--red);
}

.ecosystem {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 34px) 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 18px;
}

.ecosystem article {
  min-height: 150px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  padding: 26px;
  background: rgba(255, 255, 255, 0.62);
  border-right: 1px solid var(--line);
}

.ecosystem article:first-child {
  border-radius: 18px 0 0 18px;
}

.ecosystem article:last-child {
  border-right: 0;
  border-radius: 0 18px 18px 0;
}

.ecosystem img {
  width: 70px;
  padding: 12px 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(48, 45, 126, 0.11);
}

.ecosystem h2 {
  margin: 0;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.ecosystem p {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.32;
}

.episodes {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 52px clamp(18px, 4vw, 34px) 72px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-title span {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

.section-title h2 {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.94;
  text-align: right;
}

.episode-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.episode-card {
  display: grid;
  min-height: 360px;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 24% 12%, rgba(255, 204, 7, 0.22), transparent 34%);
  box-shadow: 0 18px 50px rgba(48, 45, 126, 0.09);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.episode-card:hover,
.episode-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(48, 45, 126, 0.18);
}

.episode-card:focus-visible {
  outline: 3px solid rgba(255, 204, 7, 0.8);
  outline-offset: 4px;
}

.episode-card figure {
  display: grid;
  min-height: 190px;
  margin: 0 0 18px;
  place-items: center;
}

.episode-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(150px, 16vw, 210px);
  object-fit: contain;
}

.episode-list span {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

.episode-list p {
  max-width: 31ch;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.site-footer {
  max-width: var(--max-width);
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1.5fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 34px) 24px;
  color: var(--blue);
}

.socials,
.listen-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials a,
.listen-links a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 950;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.socials a:hover,
.listen-links a:hover,
.socials a:focus-visible,
.listen-links a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(48, 45, 126, 0.2);
  filter: saturate(1.08);
}

.socials svg,
.listen-links svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.socials a:nth-child(2) {
  background: #111827;
}

.socials a:nth-child(3) {
  background: linear-gradient(135deg, #405de6, #c13584 48%, #f77737);
}

.socials a:nth-child(4),
.listen-links a:nth-child(2) {
  background: var(--red);
}

.listen-links a:nth-child(3) {
  background: #1db954;
}

.listen-links a:nth-child(4) {
  background: #9b59b6;
}

.listen-links a:nth-child(5) {
  background: var(--yellow);
  color: var(--blue);
}

.handle {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.handle:hover,
.handle:focus-visible {
  color: var(--red);
}

.listen-links {
  justify-content: end;
}

.listen-links span {
  font-weight: 850;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

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

  .site-nav {
    position: fixed;
    inset: var(--header-height) 18px auto 18px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 18px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 24px 70px rgba(16, 16, 21, 0.16);
    transform: translateY(-150%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: block;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .show-copy {
    display: grid;
    justify-items: start;
    padding-top: 12px;
  }

  .show-copy p,
  h1 {
    max-width: 680px;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-slide,
  .hero-slide > img {
    min-height: 560px;
  }

  .ecosystem,
  .episode-list {
    grid-template-columns: 1fr;
  }

  .ecosystem article,
  .ecosystem article:first-child,
  .ecosystem article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .ecosystem article:first-child {
    border-radius: 18px 18px 0 0;
  }

  .ecosystem article:last-child {
    border-bottom: 0;
    border-radius: 0 0 18px 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .listen-links {
    justify-content: start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 10px;
  }

  .brand-logo {
    width: 138px;
  }

  .radio-button {
    display: none;
  }

  .header-radio-control {
    display: none;
  }

  .showcase {
    padding-top: 10px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .mobile-radio-panel {
    display: block;
    grid-column: 1 / -1;
    width: min(100%, 390px);
    margin: 0 auto 12px;
  }

  .mobile-radio-panel .radio-control {
    width: 100%;
    grid-template-columns: 42px minmax(116px, 1fr) 36px minmax(86px, 0.6fr);
    min-height: 56px;
    padding: 6px 10px 6px 6px;
  }

  .hero-stage {
    min-height: 360px;
    border-radius: 18px;
  }

  .hero-slide,
  .hero-slide > img {
    min-height: 360px;
  }

  .hero-slide > img {
    object-position: center;
  }

  .slide-hover {
    padding: 22px;
  }

  .slide-hover em {
    width: 100%;
    text-align: center;
  }

  .ecosystem article {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 20px;
  }

  .ecosystem img {
    width: 56px;
  }

  .section-title {
    display: block;
  }

  .section-title h2 {
    margin-top: 10px;
    text-align: left;
  }
}

/* Premium responsive carousel overrides */
.hero-stage {
  min-height: 0;
  aspect-ratio: 1672 / 941;
  border-radius: 28px;
  background: #071b3f;
  isolation: isolate;
}

.slider-track,
.hero-slide,
.hero-slide > img {
  min-height: 0;
  height: 100%;
}

.hero-slide {
  transform: translateX(22px) scale(0.985);
}

.hero-slide.is-active {
  transform: translateX(0) scale(1);
}

.hero-slide > img {
  object-fit: contain;
  object-position: center;
  background: #071b3f;
}

.slider-arrow {
  width: clamp(42px, 4vw, 56px);
  height: clamp(42px, 4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
  box-shadow: 0 18px 45px rgba(6, 14, 34, 0.22);
  backdrop-filter: blur(14px);
  font-size: 0;
}

.slider-arrow span {
  display: block;
  margin-top: -2px;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 0.8;
}

.slider-prev {
  left: clamp(12px, 2vw, 22px);
}

.slider-next {
  right: clamp(12px, 2vw, 22px);
}

.slider-dots {
  z-index: 7;
  bottom: clamp(12px, 2vw, 22px);
  align-items: center;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(2, 6, 18, 0.22);
  backdrop-filter: blur(12px);
}

.slider-dots button {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.slider-dots button.is-active {
  width: 24px;
  background: var(--yellow);
}

.slide-hover {
  z-index: 4;
}

@media (max-width: 980px) {
  .hero-stage {
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }

  .slider-track,
  .hero-slide,
  .hero-slide > img {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .hero-stage {
    min-height: 252px;
    aspect-ratio: auto;
    border-radius: 18px;
  }

  .slider-track,
  .hero-slide,
  .hero-slide > img {
    min-height: 252px;
  }

  .slider-arrow {
    top: auto;
    bottom: 14px;
    width: 38px;
    height: 38px;
    transform: none;
  }

  .slider-arrow:hover,
  .slider-arrow:focus-visible {
    transform: scale(1.04);
  }

  .slider-prev {
    left: 12px;
  }

  .slider-next {
    right: 12px;
  }

  .slider-dots {
    bottom: 18px;
    max-width: calc(100% - 118px);
  }

  .slide-hover {
    padding: 18px;
  }

  .slide-hover strong {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .slide-hover span {
    font-size: 0.92rem;
  }

  .slide-hover em {
    display: none;
  }
}

/* Typography system */
body {
  font-family: var(--font-ui);
}

h1,
.section-title h2,
.episode-list h3,
.ecosystem h2,
.slide-hover strong,
.brand,
.site-nav,
.radio-button,
.button,
.live-pill,
.slider-arrow,
.slider-dots,
.handle,
.listen-links span {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  font-weight: 900;
  letter-spacing: 0;
}

.show-copy p,
.ecosystem p,
.episode-list p,
.slide-hover span {
  font-family: var(--font-ui);
  font-weight: 600;
}

.site-nav,
.radio-button,
.button,
.live-pill,
.slide-hover em,
.episode-list span,
.section-title span {
  font-weight: 700;
}

.ecosystem h2,
.episode-list h3,
.section-title h2,
.slide-hover strong {
  font-weight: 700;
}

/* Editorial hero title refinement */
.show-copy {
  position: relative;
  align-self: center;
  padding: clamp(18px, 2.5vw, 28px) 0 clamp(8px, 1.6vw, 18px);
}

.show-copy::before {
  position: absolute;
  left: -18px;
  top: clamp(58px, 7vw, 82px);
  width: 5px;
  height: clamp(118px, 18vw, 210px);
  content: "";
  border-radius: 999px;
  background: linear-gradient(180deg, var(--yellow), var(--red) 48%, var(--blue));
  box-shadow: 0 18px 40px rgba(48, 45, 126, 0.18);
}

.hero-title {
  max-width: 470px;
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3.65rem, 6.2vw, 6.45rem);
  font-weight: 900;
  line-height: 0.74;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0.02em 0.06em 0.08em;
  border-radius: 2px;
}

.hero-title span:nth-child(1) {
  color: var(--ink);
}

.hero-title span:nth-child(2) {
  margin-left: clamp(12px, 1.8vw, 24px);
  color: var(--ink);
}

.hero-title span:nth-child(3) {
  margin-left: clamp(28px, 3vw, 48px);
  color: var(--ink);
}

.hero-title span:nth-child(4) {
  margin-left: clamp(4px, 1vw, 16px);
  color: var(--ink);
  background: linear-gradient(90deg, rgba(255, 204, 7, 0.58), rgba(255, 204, 7, 0));
}

.show-copy p {
  position: relative;
  max-width: 420px;
  padding-left: 18px;
  border-left: 1px solid rgba(48, 45, 126, 0.22);
  color: #181824;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.52;
}

.show-copy .hero-actions {
  margin-top: 30px;
}

@media (max-width: 980px) {
  .show-copy::before {
    left: 0;
    top: 64px;
    height: 156px;
  }

  .hero-title {
    max-width: 760px;
    padding-left: 18px;
    font-size: clamp(3.5rem, 10vw, 6.2rem);
  }

  .show-copy p {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .show-copy {
    padding-top: 10px;
  }

  .show-copy::before {
    top: 54px;
    height: 132px;
    width: 4px;
  }

  .hero-title {
    max-width: 100%;
    padding-left: 14px;
    font-size: clamp(3.15rem, 15vw, 4.8rem);
    line-height: 0.76;
  }

  .hero-title span:nth-child(2),
  .hero-title span:nth-child(3),
  .hero-title span:nth-child(4) {
    margin-left: 0;
  }

  .show-copy p {
    padding-left: 14px;
    font-size: 0.98rem;
  }
}

/* Hero title balance pass */
.hero-title {
  max-width: 500px;
  font-size: clamp(3.45rem, 5.65vw, 5.85rem);
}

.hero-title span {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero-title {
    font-size: clamp(3.3rem, 9.3vw, 5.7rem);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2.85rem, 13vw, 4.2rem);
  }

  .hero-title span {
    white-space: normal;
  }
}

/* Hero copy accent refinement */
.show-copy {
  padding-left: 0;
  border-left: 0;
}

.show-copy::before {
  left: 0;
  top: auto;
  bottom: 0;
  width: min(100%, 420px);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--red) 46%, var(--blue));
  box-shadow: 0 12px 26px rgba(48, 45, 126, 0.16);
}

.show-copy::after {
  position: absolute;
  left: 0;
  top: clamp(60px, 6vw, 82px);
  width: min(100%, 420px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(48,45,126,0.32), rgba(48,45,126,0));
}

.hero-title {
  padding-top: 18px;
}

.show-copy p {
  padding-left: 0;
  border-left: 0;
}

@media (max-width: 980px) {
  .show-copy::before,
  .show-copy::after {
    width: min(100%, 720px);
  }

  .hero-title {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .show-copy::before,
  .show-copy::after {
    width: 100%;
  }

  .show-copy::after {
    top: 50px;
  }

  .hero-title {
    padding-left: 0;
  }

  .show-copy p {
    padding-left: 0;
  }
}

/* Left-aligned text rhythm */
.show-copy,
.hero-title,
.hero-title span,
.show-copy p,
.hero-actions,
.section-title,
.section-title h2,
.episode-list,
.ecosystem {
  text-align: left;
}

.hero-title span:nth-child(2),
.hero-title span:nth-child(3),
.hero-title span:nth-child(4) {
  margin-left: 0;
}

.hero-title span {
  margin-right: auto;
}

.section-title {
  align-items: flex-start;
}

.section-title h2 {
  text-align: left;
}

/* Slightly smaller hero heading */
.hero-title {
  font-size: clamp(3.1rem, 5.25vw, 5.55rem);
}

@media (max-width: 980px) {
  .hero-title {
    font-size: clamp(3rem, 8.6vw, 5.4rem);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2.55rem, 11.7vw, 3.9rem);
  }
}

/* Trusted brands carousel */
.trusted-brands {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 34px) 76px;
}

.trusted-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: clamp(18px, 4vw, 42px);
  align-items: end;
  margin-bottom: 26px;
  text-align: left;
}

.trusted-heading span {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.trusted-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 0.86;
  text-align: left;
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 204, 7, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(48, 45, 126, 0.98), #071b3f 58%, rgba(210, 19, 23, 0.92));
  box-shadow: 0 28px 80px rgba(48, 45, 126, 0.18);
}

.brand-marquee::before,
.brand-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(42px, 9vw, 110px);
  content: "";
  pointer-events: none;
}

.brand-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #071b3f, rgba(7, 27, 63, 0));
}

.brand-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 27, 63, 0.96), rgba(7, 27, 63, 0));
}

.brand-track {
  display: flex;
  width: max-content;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  padding: clamp(26px, 4vw, 48px);
  animation: trustedBrandsScroll 34s linear infinite;
}

.brand-marquee:hover .brand-track,
.brand-marquee:focus-within .brand-track {
  animation-play-state: paused;
}

.brand-bubble {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(116px, 13vw, 176px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22), inset 0 0 0 5px rgba(255, 255, 255, 0.62);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.brand-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.brand-bubble:hover,
.brand-bubble:focus-visible {
  z-index: 3;
  filter: saturate(1.08);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(255, 204, 7, 0.55);
  transform: translateY(-8px) scale(1.05);
}

@keyframes trustedBrandsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 760px) {
  .trusted-brands {
    padding-bottom: 58px;
  }

  .trusted-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trusted-heading h2 {
    font-size: clamp(2.25rem, 11vw, 3.7rem);
  }

  .brand-marquee {
    border-radius: 20px;
  }

  .brand-track {
    gap: 16px;
    padding: 24px 20px;
    animation-duration: 26s;
  }

  .brand-bubble {
    width: clamp(104px, 33vw, 132px);
  }
}

/* Trusted brands clean circles */
.brand-marquee {
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-marquee::before,
.brand-marquee::after {
  display: none;
}

.brand-track {
  padding: clamp(18px, 3vw, 30px) 0;
}

.brand-bubble {
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 16px 38px rgba(48, 45, 126, 0.14);
  aspect-ratio: 1 / 1;
}

.brand-bubble img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.brand-bubble:hover,
.brand-bubble:focus-visible {
  box-shadow: 0 22px 56px rgba(48, 45, 126, 0.22), 0 0 0 4px rgba(255, 204, 7, 0.6);
}

@media (max-width: 760px) {
  .brand-marquee {
    border-radius: 0;
  }
}

/* Brand bubbles: clean circle only */
.brand-bubble {
  background: transparent;
  box-shadow: none;
}

.brand-bubble:hover,
.brand-bubble:focus-visible {
  box-shadow: none;
  transform: translateY(-6px) scale(1.04);
}

.brand-bubble img {
  background: transparent;
}

/* Slider controls outside image area */
.hero-stage {
  overflow: visible;
  margin-bottom: 72px;
}

.slider-track {
  overflow: hidden;
  border-radius: inherit;
}

.slider-arrow {
  top: calc(100% + 34px);
  bottom: auto;
  transform: translateY(-50%);
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

.slider-prev {
  left: calc(50% - 98px);
}

.slider-next {
  right: calc(50% - 98px);
}

.slider-dots {
  bottom: -52px;
}

@media (max-width: 640px) {
  .hero-stage {
    margin-bottom: 72px;
  }

  .slider-arrow {
    top: calc(100% + 34px);
    bottom: auto;
    transform: translateY(-50%);
  }

  .slider-arrow:hover,
  .slider-arrow:focus-visible {
    transform: translateY(-50%) scale(1.04);
  }

  .slider-prev {
    left: calc(50% - 88px);
  }

  .slider-next {
    right: calc(50% - 88px);
  }

  .slider-dots {
    bottom: -52px;
    max-width: calc(100% - 112px);
  }
}

/* Slider dots above image */
.slider-dots {
  top: -46px;
  bottom: auto;
}

@media (max-width: 640px) {
  .slider-dots {
    top: -44px;
    bottom: auto;
  }
}

/* Mobile hero cleanup */
@media (max-width: 640px) {
  .show-copy::before,
  .show-copy::after {
    display: none;
    content: none;
  }

  .hero-title {
    max-width: min(100%, 360px);
    padding-top: 4px;
    font-size: clamp(2.25rem, 10.6vw, 3.35rem);
    line-height: 0.86;
  }

  .hero-title span {
    padding-right: 0;
    max-width: 100%;
  }

  .show-copy p {
    max-width: min(100%, 360px);
  }
}

/* Mobile slider sections */
@media (max-width: 640px) {
  .hero-stage {
    display: grid;
    grid-template-rows: 36px auto 72px;
    gap: 10px;
    overflow: visible;
    margin-top: 10px;
    margin-bottom: 12px;
    padding-top: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .slider-track {
    grid-row: 2;
    min-height: 252px;
    overflow: hidden;
    border-radius: 16px;
    background: #071b3f;
    box-shadow: 0 18px 54px rgba(48, 45, 126, 0.14);
  }

  .slider-dots {
    position: static;
    grid-row: 1;
    grid-column: 1;
    justify-self: center;
    align-self: center;
    max-width: calc(100% - 56px);
    transform: none;
    inset: auto;
  }

  .slider-dots::before,
  .slider-dots::after {
    display: none;
    content: none;
  }

  .slider-dots::before {
    right: calc(100% + 10px);
    background: linear-gradient(90deg, var(--yellow), var(--red));
  }

  .slider-dots::after {
    left: calc(100% + 10px);
    background: linear-gradient(90deg, var(--blue), var(--red));
  }

  .slider-arrow {
    top: auto;
    bottom: 16px;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .slider-arrow:hover,
  .slider-arrow:focus-visible {
    transform: scale(1.04);
  }

  .slider-prev {
    left: calc(50% - 70px);
  }

  .slider-next {
    right: calc(50% - 70px);
  }

  .mobile-radio-panel {
    margin-top: 4px;
  }
}

/* Larger desktop hero slider */
@media (min-width: 981px) {
  .showcase {
    max-width: min(1560px, calc(100vw - 56px));
    grid-template-columns: minmax(390px, 0.76fr) minmax(760px, 1.42fr);
    gap: clamp(34px, 4vw, 72px);
    padding-top: 34px;
  }

  .hero-stage {
    width: 100%;
    align-self: center;
    margin-top: 28px;
  }

  .show-copy {
    max-width: 520px;
  }

  .hero-title {
    font-size: clamp(3rem, 4.85vw, 5.25rem);
  }
}

/* News metrics */
.news-metrics {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2.4fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(46px, 7vw, 86px) clamp(18px, 4vw, 34px);
  overflow: hidden;
}

.news-metrics::before,
.news-metrics::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 999px;
  pointer-events: none;
}

.news-metrics::before {
  width: clamp(170px, 20vw, 280px);
  height: clamp(170px, 20vw, 280px);
  top: 8px;
  right: -92px;
  background: var(--red);
}

.news-metrics::after {
  width: clamp(190px, 23vw, 320px);
  height: clamp(190px, 23vw, 320px);
  bottom: -150px;
  left: -130px;
  background: var(--blue);
}

.metrics-brand {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.metrics-brand img {
  width: min(100%, 280px);
  height: auto;
}

.metrics-brand p {
  max-width: 31ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 650;
  line-height: 1.45;
}

.metrics-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}

.metric-card {
  position: relative;
  min-height: 238px;
  padding: 26px clamp(16px, 1.8vw, 22px) 24px;
  overflow: hidden;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(11, 23, 56, 0.11);
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 520ms ease, transform 520ms ease, box-shadow 220ms ease;
}

.metric-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  content: "";
  background: var(--yellow);
}

.metric-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.metric-card:hover {
  box-shadow: 0 28px 62px rgba(11, 23, 56, 0.16);
  transform: translateY(-6px);
}

.metric-blue::before {
  background: var(--blue);
}

.metric-red::before {
  background: var(--red);
}

.metric-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--yellow);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

.metric-blue .metric-icon {
  background: var(--blue);
}

.metric-red .metric-icon {
  background: var(--red);
}

.metric-card strong {
  display: block;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(1.82rem, 2.72vw, 2.62rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.metric-card p {
  margin: 10px auto 0;
  max-width: 18ch;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.18;
}

.metric-card small {
  display: block;
  margin-top: 28px;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .metric-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .news-metrics {
    grid-template-columns: 1fr;
  }

  .metrics-brand {
    max-width: 720px;
  }

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

  .metric-card strong {
    font-size: clamp(2.05rem, 7.2vw, 2.72rem);
  }
}

@media (max-width: 560px) {
  .news-metrics {
    padding-top: 40px;
  }

  .metrics-brand img {
    width: min(78vw, 245px);
  }

  .metrics-panel {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 214px;
  }
}

/* Ethics code flipbook */
.ethics-code {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 34px) 74px;
}

.ethics-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) 1fr;
  gap: clamp(18px, 4vw, 42px);
  align-items: end;
  margin-bottom: 30px;
  text-align: left;
}

.ethics-heading span {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

.ethics-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5.25rem);
  font-weight: 900;
  line-height: 0.86;
}

.ethics-heading p {
  grid-column: 2;
  max-width: 48ch;
  margin: -16px 0 0;
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 650;
  line-height: 1.45;
}

.ethics-book {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  gap: clamp(12px, 2vw, 22px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 204, 7, 0.18), transparent 30%),
    radial-gradient(circle at 98% 0%, rgba(210, 19, 23, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(48, 45, 126, 0.96), #071b3f);
  box-shadow: 0 30px 80px rgba(7, 27, 63, 0.2);
}

.book-shell {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 612 / 792;
  justify-self: center;
  perspective: 1600px;
}

.book-shell::before {
  position: absolute;
  inset: 3% -4% 3% auto;
  width: 24px;
  content: "";
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(255, 255, 255, 0.16));
}

.book-page {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: rotateY(-22deg) translateX(-18px) scale(0.96);
  transform-origin: left center;
  transition: opacity 360ms ease, transform 520ms ease;
  pointer-events: none;
}

.book-page.is-active {
  opacity: 1;
  transform: rotateY(0) translateX(0) scale(1);
  pointer-events: auto;
}

.book-page.is-leaving {
  opacity: 0;
  transform: rotateY(24deg) translateX(18px) scale(0.96);
}

.book-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.book-page-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 5px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(48, 45, 126, 0.09), transparent 18px),
    radial-gradient(circle at 96% 4%, rgba(255, 204, 7, 0.12), transparent 24%),
    #fffdf8;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  font-family: var(--font-ui);
  line-height: 1.5;
  scrollbar-width: thin;
  scrollbar-color: rgba(48, 45, 126, 0.38) transparent;
}

.book-page-content::-webkit-scrollbar {
  width: 8px;
}

.book-page-content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(48, 45, 126, 0.34);
}

.book-page-content p {
  margin: 0 0 0.82rem;
  font-size: clamp(0.84rem, 1.08vw, 0.98rem);
  font-weight: 570;
}

.book-page-content .doc-heading {
  margin: 1.05rem 0 0.55rem;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 1.65vw, 1.5rem);
  font-weight: 900;
  line-height: 1;
}

.book-page-content .doc-heading:first-child {
  margin-top: 0;
}

.book-page-content .doc-article {
  color: #10142f;
  font-weight: 780;
}

.ethics-nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 0.8;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.ethics-nav:hover,
.ethics-nav:focus-visible {
  color: var(--white);
  background: var(--red);
  transform: translateY(-2px);
}

.ethics-progress {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 5px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
}

@media (max-width: 820px) {
  .ethics-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ethics-heading p {
    grid-column: auto;
    margin-top: 0;
  }

  .ethics-book {
    grid-template-columns: 1fr 1fr;
  }

  .book-shell {
    grid-column: 1 / -1;
    order: 1;
  }

  .ethics-prev,
  .ethics-next {
    order: 2;
    justify-self: center;
  }

  .ethics-progress {
    order: 3;
  }
}

@media (max-width: 560px) {
  .ethics-book {
    padding: 18px 12px 24px;
  }

  .ethics-heading h2 {
    font-size: clamp(2.3rem, 12vw, 3.7rem);
  }
}

/* Citizen mailbox book */
.citizen-mailbox {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px clamp(18px, 4vw, 34px) 78px;
  perspective: 1600px;
}

.mailbox-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: visible;
  border-radius: 10px;
  transform: rotateX(5deg) translateY(22px);
  transform-origin: center bottom;
  opacity: 0;
  box-shadow: 0 34px 90px rgba(7, 27, 63, 0.22);
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1), opacity 520ms ease;
}

.citizen-mailbox.is-open .mailbox-inner {
  transform: rotateX(0) translateY(0);
  opacity: 1;
}

.mailbox-inner::before {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: calc(45% - 12px);
  width: 24px;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(255, 255, 255, 0.16) 45%, rgba(0, 0, 0, 0.22)),
    linear-gradient(#123d70, #071b3f);
  box-shadow: inset 7px 0 16px rgba(0, 0, 0, 0.24), inset -6px 0 12px rgba(255, 255, 255, 0.1);
}

.mailbox-inner::after {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: -22px;
  left: 4%;
  height: 42px;
  content: "";
  border-radius: 50%;
  background: rgba(7, 27, 63, 0.18);
  filter: blur(14px);
}

.mailbox-copy,
.mailbox-form {
  min-height: 560px;
}

.mailbox-copy {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(34px, 5vw, 62px);
  overflow: hidden;
  color: var(--white);
  text-align: center;
  border-radius: 10px 0 0 10px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 204, 7, 0.18), transparent 25%),
    radial-gradient(circle at 94% 8%, rgba(210, 19, 23, 0.18), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #105189, #0a3566 52%, #061d3d);
  transform-origin: right center;
  transform: rotateY(-7deg);
  transition: transform 860ms cubic-bezier(0.22, 1, 0.36, 1);
}

.citizen-mailbox.is-open .mailbox-copy {
  transform: rotateY(0deg);
}

.mailbox-copy span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.mailbox-copy h2 {
  max-width: 520px;
  margin: clamp(26px, 4vw, 40px) 0 8px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
  font-weight: 850;
  line-height: 1.45;
}

.mailbox-copy p {
  max-width: 40ch;
  margin: 0;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  font-weight: 500;
  line-height: 1.58;
}

.mailbox-form {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 0 10px 10px 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 63, 0.08), transparent 18%),
    linear-gradient(#fdfdfb, #f4f7fb);
}

.mailbox-status {
  display: none;
  margin: 0 0 4px;
  padding: 12px 14px;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
}

.has-mailbox-success .mailbox-success,
.has-mailbox-error .mailbox-error {
  display: block;
}

.mailbox-success {
  color: #0f5132;
  background: #d1e7dd;
}

.mailbox-error {
  color: #842029;
  background: #f8d7da;
}

.mailbox-form label {
  display: grid;
  gap: 6px;
}

.mailbox-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mailbox-form input,
.mailbox-form textarea {
  width: 100%;
  border: 1px solid rgba(48, 45, 126, 0.16);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  font: 650 1rem/1.3 var(--font-ui);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mailbox-form textarea {
  min-height: 132px;
  resize: vertical;
}

.mailbox-form input::placeholder,
.mailbox-form textarea::placeholder {
  color: rgba(48, 45, 126, 0.55);
}

.mailbox-form input:focus,
.mailbox-form textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 204, 7, 0.18);
  transform: translateY(-1px);
}

.mailbox-form button {
  min-height: 52px;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: linear-gradient(135deg, #245f9b, #0a3566);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.mailbox-form button:hover,
.mailbox-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
  filter: saturate(1.08);
}

@media (max-width: 860px) {
  .mailbox-inner {
    grid-template-columns: 1fr;
    transform: translateY(18px);
  }

  .mailbox-inner::before {
    display: none;
  }

  .mailbox-copy,
  .mailbox-form {
    min-height: auto;
  }

  .mailbox-copy {
    min-height: 340px;
    border-radius: 10px 10px 0 0;
    transform: none;
  }

  .mailbox-form {
    border-radius: 0 0 10px 10px;
  }
}

@media (max-width: 560px) {
  .citizen-mailbox {
    padding-bottom: 54px;
  }

  .mailbox-inner {
    border-radius: 8px;
  }

  .mailbox-copy,
  .mailbox-form {
    padding: 26px 18px;
  }

  .mailbox-copy {
    min-height: 330px;
  }

  .mailbox-copy span {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .mailbox-copy h2,
  .mailbox-copy p {
    font-size: 1rem;
  }
}
