/* 11 Out of 10 Would Recommend: the podcast page at intentioncraft.com/podcast/.
   Loads after /assets/site.css, which supplies the font, header, footer, buttons and the thank-you (.cheer) layout.
   This file holds only what's particular to the podcast page; its classes start with pod- so they can't collide. */

:root { --pod-dark: #1e1d1e; --muted-on-dark: #dad9d9; }

/* Hero: one composite (glow + people) over a repeating dot tile. On desktop both scale with the screen once it is
   wider than 1443px, so the photo always covers the full width and its dots stay lined up with the tile. */
.pod-hero {
  position: relative;
  color: #fff;
  background-color: var(--pod-dark);
  background-image: url("/podcast/img/hero-desktop.jpg"), url("/assets/img/dot-tile-desktop.png");
  background-repeat: no-repeat, repeat;
  background-position: center bottom, center bottom;
  background-size: var(--hero-w) auto, var(--dot) var(--dot);
  padding-bottom: calc(var(--hero-w) * 300 / 1443);
}
.pod-hero-inner {
  max-width: 880px; margin: 0 auto; padding: 36px 24px 0;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.pod-title { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.pod-hero h1 { margin: 0; width: 100%; max-width: 560px; line-height: 0; }
.pod-hero h1 img { display: block; width: 100%; height: auto; }
.pod-hosts { margin: 0; display: flex; flex-direction: column; align-items: center; }
.pod-hosts-with { font-size: 14px; }
.pod-hosts-names { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.pod-description { margin: 0; font-size: 19px; line-height: 1.5; max-width: 680px; text-wrap: balance; }
.pod-trailer-link { margin-top: -4px; font-size: 18px; font-weight: 700; color: var(--orange-hover); text-decoration: none; }
.pod-trailer-link:hover { color: #fff; text-decoration: underline; }

/* Signup */
.pod-signup { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 620px; padding-top: 8px; }
.pod-signup h2 { margin: 0; font-size: 36px; line-height: 1.1; font-weight: 700; }
.pod-signup label { display: flex; flex-direction: column; gap: 2px; font-size: 18px; line-height: 1.45; color: var(--muted-on-dark); }
.pod-one-line { white-space: nowrap; }
.pod-signup-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 480px; margin-top: 8px; }
.pod-signup input {
  flex: 1 1 220px; min-width: 0; height: 52px; padding: 0 16px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.32);
  background: #fff; color: var(--ink); font: inherit; font-size: 17px;
}
.pod-signup input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,94,26,.45); }
.pod-signup .form-status { font-size: 17px; color: #fff; }
.pod-signup .form-status.is-error { color: #ffb08c; }
.pod-signup .form-fallback { color: #fff; text-decoration: underline; }
.pod-apps { margin: 4px 0 0; font-size: 15px; color: var(--muted-on-dark); text-wrap: balance; }

/* Trailer (YouTube embed, privacy-enhanced mode) */
.pod-trailer { background: #fff; }
.pod-trailer-inner { max-width: 880px; margin: 0 auto; padding: 80px 24px; display: flex; flex-direction: column; gap: 24px; }
.pod-trailer h2 { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 700; }
.pod-video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 10px; overflow: hidden; }
.pod-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Help section */
.pod-help { background: var(--ink); color: #fff; }
.pod-help-inner { max-width: 880px; margin: 0 auto; padding: 96px 24px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pod-help h2 { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 700; text-wrap: balance; }
.pod-help p { margin: 0; font-size: 19px; line-height: 1.6; max-width: 680px; }

/* Phones: their own pre-sized images, never a shrunk dot pattern */
@media (max-width: 760px) {
  .pod-hero {
    background-image: url("/podcast/img/hero-phone.jpg"), url("/assets/img/dot-tile-phone.png");
    background-size: 555px 221px, 15px 15px;
    padding-bottom: 236px;
  }
}
@media (max-width: 560px) {
  .pod-one-line { white-space: normal; }
  .pod-help h2, .pod-trailer h2 { font-size: 32px; }
  .pod-trailer-inner { padding: 56px 24px; }
  .pod-help-inner { padding: 72px 24px; }
}
