@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF;
}

:root {
  --red: #c41e24;
  --red-dark: #9e181d;
  --red-soft: #fce8e9;
  --ink: #121212;
  --muted: #5a5a5a;
  --line: #e6e6e6;
  --bg: #ffffff;
  --surface: #f7f7f8;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --container: min(1180px, 92vw);
  --radius: 16px;
  --radius-pill: 999px;
  --shadow: 0 16px 48px rgba(18, 18, 18, 0.08);
  --shadow-soft: 0 8px 24px rgba(196, 30, 36, 0.12);
}

[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.quote-bar {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  overflow: hidden;
}

.quote-bar__viewport {
  width: 100%;
  overflow: hidden;
}

.quote-bar__text {
  display: flex;
  width: max-content;
  margin: 0;
  gap: 4rem;
  white-space: nowrap;
  animation: quote-marquee 50s linear infinite;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 68px;
  max-height: 72px;
  padding: 0.35rem 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  flex-shrink: 0;
}

.brand img,
.brand-logo {
  border-radius: 0;
  object-fit: contain;
}

.brand-text {
  font-size: 0.9rem;
  max-width: 10rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.2vw, 1rem);
  margin-left: auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary {
  background: #f5f5f5;
  border-color: var(--line);
}

.btn-hero {
  background: #fff;
  color: var(--red-dark);
  border-color: #fff;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
}

.btn-hero:hover {
  background: var(--red-soft);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero-banner {
  position: relative;
  max-height: 70vh;
  min-height: min(70dvh, 600px);
  overflow: hidden;
  isolation: isolate;
}

.hero-banner__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-banner__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    102deg,
    rgba(12, 4, 5, 0.96) 0%,
    rgba(120, 18, 23, 0.9) 36%,
    rgba(196, 30, 36, 0.72) 58%,
    rgba(255, 255, 255, 0.35) 100%
  );
}

.hero-banner__layout {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  min-height: min(70dvh, 600px);
  max-height: 70vh;
  box-sizing: border-box;
}

.hero-banner__content {
  align-self: center;
  padding-top: 0.5rem;
}

.hero-banner__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-banner h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
}

.hero-banner__title-line {
  display: block;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero-banner__title-line--soft {
  font-weight: 600;
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.15rem;
}

.hero-banner__lead {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 54ch;
}

.hero-banner__quote p em {
  font-style: italic;
  font-weight: 500;
}

.hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-banner__quote {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.88rem;
  line-height: 1.55;
  position: relative;
}

.hero-banner__quote p {
  margin: 0;
}

.hero-banner__quote-mark {
  position: absolute;
  top: 0.35rem;
  right: 0.85rem;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--display);
}

.section {
  padding: 3rem 0;
  overflow: visible;
}

.section-tight {
  padding: 2rem 0 2rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}

.section-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.carousel-band {
  display: grid;
  grid-template-columns: auto min(var(--container), 92vw) auto;
  align-items: center;
  justify-content: center;
  column-gap: 0.65rem;
  width: 100%;
  margin-top: -0.25rem;
}

.carousel-band__content {
  grid-column: 2;
  min-width: 0;
  width: 100%;
}

.carousel {
  --carousel-cols: 4;
  --carousel-gap: 0.85rem;
}

.carousel-viewport {
  min-width: 0;
  overflow: visible;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(
    (100% - (var(--carousel-cols) - 1) * var(--carousel-gap)) / var(--carousel-cols)
  );
  gap: var(--carousel-gap);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 0 0.25rem;
  scroll-padding-inline: 2px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  scroll-snap-align: start;
  min-width: 0;
}

.carousel-slide a.content-card {
  height: 100%;
  box-shadow: none;
}

.carousel-slide a.content-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

.carousel-slide .content-card__body {
  padding: 0.75rem 0.85rem 1rem;
}

.carousel-slide .content-card__body h3 {
  font-size: 0.95rem;
}

.carousel-slide .content-card__body p {
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-btn {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--red);
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, background 0.15s ease;
  justify-self: center;
}

.carousel-band > .carousel-btn--prev {
  grid-column: 1;
}

.carousel-band > .carousel-btn--next {
  grid-column: 3;
}

.carousel-btn:hover {
  border-color: rgba(196, 30, 36, 0.45);
  background: #fffafa;
}

a.content-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.content-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(18, 18, 18, 0.1);
  border-color: rgba(196, 30, 36, 0.25);
}

.content-card__media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.content-card__body {
  padding: 1rem 1.1rem 1.25rem;
}

.content-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.content-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.featured-strip {
  position: relative;
  min-height: min(52dvh, 480px);
  overflow: hidden;
  margin: 0;
}

.featured-strip__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.featured-strip__visual img,
.featured-strip__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-strip__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    102deg,
    rgba(12, 4, 5, 0.96) 0%,
    rgba(120, 18, 23, 0.9) 36%,
    rgba(196, 30, 36, 0.72) 58%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.featured-strip--reverse .featured-strip__shade {
  background: linear-gradient(
    102deg,
    rgba(12, 4, 5, 0.96) 0%,
    rgba(120, 18, 23, 0.9) 36%,
    rgba(196, 30, 36, 0.72) 58%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.featured-strip__layout {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  min-height: min(52dvh, 480px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(2rem, 4vw, 3rem) 0;
  box-sizing: border-box;
}

.featured-strip__copy {
  max-width: min(56ch, 100%);
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
}

.featured-strip__copy h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #fff;
}

.featured-strip__prose {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  text-align: left;
}

.featured-strip__prose .scripture-ref {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-strip__prose .scripture-pull {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.45;
}

.archive-hero {
  position: relative;
  min-height: 200px;
  max-height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.archive-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.archive-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    95deg,
    rgba(12, 4, 5, 0.88) 0%,
    rgba(196, 30, 36, 0.72) 55%,
    rgba(196, 30, 36, 0.45) 100%
  );
}

.archive-hero__inner {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.archive-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.home-video,
.mass-video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.video-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-placeholder p {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: #fff;
  font-size: 0.9rem;
}

.video-copy h2 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  margin-top: 0;
}

.scripture-ref {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.scripture-pull {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.scripture-pull em {
  font-style: normal;
  border-bottom: 3px solid var(--red);
}

.prose p {
  margin: 0 0 1rem;
}

.empty-state {
  color: var(--muted);
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: #0c0c0d;
  color: #c8c8c8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-shell {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.footer-logo {
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer-name {
  margin: 0;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.footer-tagline {
  margin: 0.25rem 0 1.25rem;
  color: #9a9a9a;
  font-size: 0.9rem;
}

.footer-address {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #888;
  line-height: 1.45;
}

.footer-links-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 0.35rem 0;
}

.site-footer a {
  color: #b8b8b8;
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-contact a {
  font-weight: 500;
}

.footer-copy {
  width: var(--container);
  margin: 2rem auto 0;
  font-size: 0.78rem;
  color: #666;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.about-mast {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--red-soft) 0%, #fff 100%);
}

.about-mast__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 1.75rem;
}

.about-mast__logo {
  object-fit: contain;
  flex-shrink: 0;
}

.about-mast h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.035em;
  font-weight: 700;
  line-height: 1.05;
}

.about-mast__tag {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.about-page {
  padding: 2rem 0 3.5rem;
}

.about-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.about-mission__text p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 62ch;
}

.about-mission__text p:last-child {
  margin-bottom: 0;
}

.about-facts {
  margin: 0;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.about-facts div {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.about-facts dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.about-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding-top: 1.75rem;
}

.about-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.about-chip:hover {
  border-color: var(--red);
  color: var(--red);
}

.about-chip--muted {
  color: var(--muted);
  cursor: default;
}

.about-chip--muted:hover {
  border-color: var(--line);
  color: var(--muted);
}

.icon-download {
  flex-shrink: 0;
}

.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero h1 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
}

.detail-page {
  padding: 2.5rem 0 3rem;
}

.detail-page__inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.detail-page__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.detail-page__head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.15;
}

.detail-page__figure {
  margin: 0 0 1.75rem;
  text-align: center;
}

.detail-page__figure img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.detail-page__prose,
.detail-page__lead {
  text-align: justify;
  line-height: 1.7;
  color: var(--ink);
}

.detail-page__lead {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-page__prose p,
.detail-page__lead p,
.article-body p {
  text-align: justify;
}

.detail-page__media-block {
  margin-top: 2rem;
}

.detail-page__video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.detail-page--player {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 3rem;
}

.detail-page__inner--player {
  max-width: 920px;
}

.audio-player {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #fff;
  box-shadow: 0 24px 64px rgba(18, 18, 18, 0.07);
}

.audio-player__layout {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.audio-player__art-wrap {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1;
  box-shadow: 0 16px 40px rgba(18, 18, 18, 0.1);
}

.audio-player__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.audio-player__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 1rem;
}

.audio-player__series {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.audio-player__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ap-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ap-progress {
  padding: 0.35rem 0;
  cursor: pointer;
  touch-action: none;
}

.ap-progress__rail {
  position: relative;
  height: 6px;
  border-radius: var(--radius-pill);
  background: #ececef;
  overflow: hidden;
}

.ap-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  transition: width 0.08s linear;
}

.ap-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.audio-player__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.audio-player__transport {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ap-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, transform 0.12s ease, color 0.15s ease;
}

.ap-btn:hover {
  background: #eee;
}

.ap-btn--play {
  width: 56px;
  height: 56px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 28px rgba(196, 30, 36, 0.35);
}

.ap-btn--play:hover {
  background: var(--red-dark);
  color: #fff;
}

.ap-btn--play.is-playing {
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.2);
}

.ap-btn--ghost {
  background: transparent;
  width: 40px;
  height: 40px;
}

.ap-speed {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  background: var(--surface);
  border-radius: var(--radius-pill);
}

.ap-speed__btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}

.ap-speed__btn:hover {
  color: var(--ink);
}

.ap-speed__btn.is-active {
  background: #fff;
  color: var(--red);
  box-shadow: 0 2px 8px rgba(18, 18, 18, 0.08);
}

.ap-volume {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 120px;
  min-width: 100px;
  max-width: 160px;
}

.ap-volume__track {
  flex: 1;
  height: 6px;
  border-radius: var(--radius-pill);
  background: #ececef;
  position: relative;
  cursor: pointer;
  touch-action: none;
}

.ap-volume__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  border-radius: inherit;
  background: var(--red);
  pointer-events: none;
}

.audio-player__tracks {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.audio-player__tracks-head {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.audio-playlist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.playlist-item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: var(--surface);
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  border-radius: 14px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.playlist-item:hover {
  border-color: rgba(196, 30, 36, 0.2);
  background: #fff;
}

.playlist-item.is-active {
  border-color: rgba(196, 30, 36, 0.35);
  background: #fff;
  box-shadow: 0 8px 24px rgba(196, 30, 36, 0.08);
}

.playlist-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.playlist-item.is-active .playlist-num {
  color: var(--red);
}

.playlist-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.playlist-play {
  color: var(--red);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.playlist-item.is-active .playlist-play,
.playlist-item:hover .playlist-play {
  opacity: 1;
}

/* ——— PWA app shell (/app/*) ——— */
.app-shell {
  --app-inset-x: max(1.25rem, 4vw);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.app-main {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding-left: max(var(--app-inset-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--app-inset-x), env(safe-area-inset-right, 0px));
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: max(var(--app-inset-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--app-inset-x), env(safe-area-inset-right, 0px));
  padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
  padding-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.app-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.app-header__name {
  max-width: 12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 2.75rem 1fr 2.75rem;
  align-items: center;
  gap: 0.25rem;
  padding-left: max(var(--app-inset-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--app-inset-x), env(safe-area-inset-right, 0px));
  padding-top: max(0.55rem, env(safe-area-inset-top, 0px));
  padding-bottom: 0.55rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.app-topbar__back {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
}

.app-topbar__back:hover {
  background: var(--surface);
}

.app-topbar__title {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding-top: 0.35rem;
  padding-left: max(var(--app-inset-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--app-inset-x), env(safe-area-inset-right, 0px));
  padding-bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(18, 18, 18, 0.06);
}

.app-tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.45rem 0.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.app-tabbar__item svg {
  opacity: 0.65;
}

.app-tabbar__item.is-active {
  color: var(--red);
  background: var(--red-soft);
}

.app-tabbar__item.is-active svg {
  opacity: 1;
}

.app-page {
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
  padding: 0 0 1rem;
}

.app-page-head {
  padding: 0.35rem 0 1rem;
  text-align: center;
}

.app-page-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.app-shell .detail-page {
  padding: 0.5rem 0 1rem;
}

.app-shell .detail-page__inner,
.app-shell .detail-page__inner--player {
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
}

.app-shell .detail-page--app-video {
  padding: 0.5rem 0 1rem;
}

.app-page .card-grid {
  gap: 0.85rem;
}

.detail-page--app-video {
  padding: 0.75rem 0 1rem;
}

.detail-page--app-video .detail-page__inner {
  max-width: 40rem;
}

.static-page,
.not-found {
  padding: 2.5rem 0 3rem;
}

.not-found h1 {
  font-family: var(--display);
  font-size: 4rem;
  margin: 0;
  color: var(--red);
}

.pwa-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 1rem;
}

.pwa-modal__panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 420px;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .hero-banner__layout {
    grid-template-columns: 1fr;
    min-height: min(70dvh, 640px);
    max-height: none;
  }

  .featured-strip__layout {
    min-height: auto;
  }

  .about-lead {
    grid-template-columns: 1fr;
  }

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

  .footer-links-block {
    grid-template-columns: 1fr;
  }

  .site-nav a {
    font-size: 0.68rem;
  }

  .hero-banner__quote {
    max-width: 100%;
  }

  .hero-banner h1 {
    max-width: none;
  }

  .video-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .carousel-band {
    grid-template-columns: min(var(--container), 92vw);
    padding-inline: max(4vw, 1rem);
  }

  .carousel-band > .carousel-btn {
    display: none;
  }

  .carousel-band__content {
    grid-column: 1;
  }

  .carousel {
    --carousel-cols: 2;
  }

  .detail-page__inner--player {
    width: var(--container);
    margin-inline: auto;
  }

  .app-shell .detail-page__inner--player {
    width: 100%;
    margin-inline: auto;
  }

  .audio-player {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .audio-player__layout {
    grid-template-columns: 1fr;
  }

  .audio-player__art-wrap {
    max-width: min(280px, 72vw);
    margin-inline: auto;
  }

  .audio-player__panel {
    text-align: center;
  }

  .audio-player__controls {
    justify-content: center;
  }

  .ap-volume {
    max-width: none;
    flex: 1 1 100%;
    justify-content: center;
  }
}

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

  .quote-bar__text {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .quote-bar__text span:last-child {
    display: none;
  }
}
