/* Viewport-based layout: no device sniffing or unsupported platform promises. */
.theater-descent .tm-pass-google { margin-top: 2rem; }
.tm-pass-google h3 { margin: 0 0 1rem; }
.tm-google-wallet-button { display: inline-flex; padding: 8px; margin: 0 0 0 -8px; border: 0; text-decoration: none; max-width: 100%; box-sizing: border-box; }
.tm-google-wallet-button img { display: block; height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.tm-google-wallet-button:focus-visible { outline: 2px solid #d4af66; outline-offset: 3px; border-radius: 6px; }
:root {
  --tm-section-gap: clamp(3rem, 6vw, 5rem);
  --tm-copy-gap: 1rem;
  --tm-subsection-gap: 2rem;
  --tm-gutter: clamp(1rem, 5vw, 4rem);
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 0; }
.email, .email:hover, .email:focus-visible { border-bottom: 0; text-decoration: none; }
.theater-descent { min-height: 0; }
/* Begin the content backdrop on the stairs, not the dark upper landing.
   The same crop follows the full content height on desktop and mobile. */
.theater-descent .staircase-backdrop {
  top: -12%;
  bottom: auto;
  height: 112%;
}
.theater-descent .content {
  display: grid;
  grid-template-rows: none;
  row-gap: var(--tm-section-gap);
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding: var(--tm-section-gap) var(--tm-gutter);
  padding-left: max(var(--tm-gutter), env(safe-area-inset-left));
  padding-right: max(var(--tm-gutter), env(safe-area-inset-right));
}
.theater-descent .content > .editorial,
.theater-descent .content > .editorial:first-child {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 1.5rem;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.theater-descent .editorial > div,
.theater-descent .editorial > div:first-child { min-width: 0; padding-top: 0; }
.theater-descent .editorial .prose { width: 100%; max-width: 42rem; }
.theater-descent .editorial h2 { font-size: clamp(1.75rem, 3.2vw, 3.1rem); overflow-wrap: anywhere; }
.theater-descent .editorial h3 { overflow-wrap: anywhere; }
.theater-descent .editorial .eyebrow { margin: 0 0 var(--tm-copy-gap); }
.theater-descent .prose p { margin: 0 0 var(--tm-copy-gap); line-height: 1.7; }
.theater-descent .prose p:last-child { margin-bottom: 0; }
.theater-descent .editorial .prose > h3 { margin: 0 0 var(--tm-copy-gap); }
.theater-descent .editorial .prose > h3:not(:first-child) { margin-top: var(--tm-subsection-gap); }
.theater-descent .tm-podcast-links {
  margin: var(--tm-subsection-gap) 0;
  padding: 0;
  border: 0;
}
.theater-descent .tm-podcast-coming-soon {
  margin: var(--tm-subsection-gap) 0;
  padding: 0;
  border: 0;
}
.theater-descent .tm-pass-linktree {
  margin-top: var(--tm-subsection-gap);
  padding-top: 0;
  border: 0;
}
.theater-descent footer,
.voice-privacy { border: 0; }
.theater-descent footer,
.theater-descent .music-credit,
.voice-privacy .voice-privacy-inner {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: var(--tm-gutter);
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.tm-passes .tm-pass-download {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  min-height: 48px;
}
.tm-social .tm-social-platforms { gap: 12px; }
.tm-social .tm-social-link { min-height: 88px; }
.tm-podcast-pending-platforms > *,
.tm-community-pending-platforms > * { min-width: 0; }
.tm-podcast-pending img { max-width: 100%; }
.tm-podcast-youtube-logo,
.tm-podcast-rumble-logo,
.tm-podcast-siriusxm-logo,
.tm-podcast-linktree-badge { max-width: 100%; }
.masthead { max-width: 90rem; gap: 1.5rem; }
.masthead nav { min-width: 0; flex-wrap: wrap; gap: 12px; }
.masthead nav a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.masthead .wordmark { flex: none; white-space: nowrap; overflow-wrap: normal; }
.masthead .wordmark span { flex: none; white-space: nowrap; }
@media (max-width: 56rem) {
  .theater-descent .content > .editorial,
  .theater-descent .content > .editorial:first-child { grid-template-columns: minmax(0, 1fr); }
  .theater-descent .editorial .prose { max-width: none; }
  .masthead { flex-direction: column; align-items: flex-start; }
  .masthead nav { justify-content: flex-start; }
}
@media (max-width: 24rem) {
  .masthead { padding-inline: 1rem; }
  .masthead nav { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masthead nav a { font-size: .9375rem; padding-inline: 8px; white-space: normal; }
  .wordmark { font-size: 1.1rem; letter-spacing: .05em; }
  .theater-descent .editorial h2 { font-size: 1.65rem; }
  .theater-descent .prose p { font-size: 1rem; }
  .tm-social .tm-social-link { width: 72px; min-height: 72px; padding: 10px; }
}
@media (max-width: 18rem) {
  .grounded-stage .stage-copy .eyebrow { font-size: .55rem; }
  .grounded-stage .stage-copy h1 { font-size: 1.15rem; white-space: normal; }
  .grounded-stage .stage-copy .intro,
  .grounded-stage .stage-copy .discover { font-size: .8rem; line-height: 1.4; }
  .tm-podcast-platform { padding-inline: 0; }
  .tm-community-pending,
  .tm-community-active-link { padding-inline: 8px; }
}
@media (orientation: landscape) and (max-height: 32rem) {
  .masthead { padding-block: 1rem; }
  .theater-descent .content { padding-block: 2.5rem; row-gap: 2.5rem; }
}
@media (pointer: coarse) {
  .masthead nav a, .tm-pass-download { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .theater-descent *, .theater-descent::before, .theater-descent::after { animation: none !important; transition: none !important; }
}

/* Reserve a full row for the brand before the desktop header gets crowded.
   Equal-width navigation cells prevent an isolated Contact tab in landscape. */
.masthead {
  padding-left: max(5%, env(safe-area-inset-left));
  padding-right: max(5%, env(safe-area-inset-right));
}
@media (max-width: 70rem) {
  .masthead {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding-block: 1rem;
  }
  .masthead .wordmark { justify-content: center; }
  .masthead nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
    max-width: 50rem;
    gap: .625rem;
  }
  .masthead nav a {
    min-width: 0;
    min-height: 48px;
    padding: .5rem .375rem;
    font-size: clamp(.875rem, 1.6vw, 1.0625rem);
    white-space: nowrap;
  }
}
@media (max-width: 37.5rem) {
  .masthead nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .masthead nav a { font-size: 1rem; }
}
@media (max-width: 24rem) {
  .masthead .wordmark { font-size: clamp(.9rem, 5vw, 1.1rem); letter-spacing: .05em; }
  .masthead .wordmark span { font-size: .7rem; margin-left: .5rem; }
  .masthead nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
