/* lunchpitches.com: built from the approved C3 mockup */
:root {
  --bg: #0b151e;
  --bar: #0e1a24;
  --band: #12212c;
  --line: #1e3341;
  --chip: #1b2e3c;
  --text: #eaf2f5;
  --muted: #c9d8df;
  --teal: #0097B2;
  --light-teal: #4cc3d9;
  --red: #FF0000;
  --font: Poppins, system-ui, sans-serif;
  --mono: Inconsolata, ui-monospace, monospace;
  --gutter: min(24px, 4vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.5; overflow-x: hidden;
}
body.player-open { padding-bottom: 214px; }
img { display: block; max-width: 100%; }
picture { display: contents; }
picture source { display: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--light-teal); outline-offset: 2px; }
[id] { scroll-margin-top: 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: #fff; color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: relative; z-index: 10; background: var(--bar); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; min-height: 73px; }
.header-home { margin-right: auto; font-weight: 800; font-size: 18px; color: var(--light-teal); text-decoration: none; padding: 10px 0; }
.site-nav { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 16px; }
.site-nav a { padding: 10px 16px; border-radius: 999px; color: var(--text); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--chip); color: #fff; }
.site-nav .nav-more {
  margin-left: 8px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  background: var(--teal); color: #fff;
}
.site-nav .nav-more:hover { background: #00a9c7; }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--chip); color: #fff;
  place-items: center; cursor: pointer;
}
.menu-btn .menu-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: inline; }

@media (max-width: 699px) {
  .header-inner { padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .menu-btn { display: grid; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 10px var(--gutter) 18px; background: var(--bar); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .35);
  }
  .site-nav.open { display: flex; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; font-size: 17px; }
  .site-nav .nav-more { margin: 6px 0 0; justify-content: center; min-height: 50px; }
}

/* Pills used in a few places */
.new-pill {
  display: inline-block; background: var(--teal); color: #fff; border-radius: 999px;
  padding: 5px 12px; font-weight: 800; font-size: 13px; line-height: 1.5;
}

/* Hero: the latest episode */
.hero {
  padding-top: 32px; display: grid; gap: 20px 48px; align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}
.video {
  grid-column: 1; grid-row: 1; position: relative; display: block; aspect-ratio: 16 / 9;
  border-radius: 18px; overflow: hidden; background: #000;
}
.video-thumb, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 58px; border-radius: 16px; background: var(--red); color: #fff;
  display: grid; place-items: center; transition: transform .15s;
}
.video:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }

.hero-info {
  grid-column: 2; grid-row: 1; align-self: stretch; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 12px 0 6px;
}
.hero-logo { width: min(310px, 85%); height: auto; }
.hook { display: flex; flex-direction: column; gap: 10px; }
.hook p { font-size: 18px; line-height: 1.55; color: var(--muted); }
.hook .hook-bold { font-size: 16px; line-height: 1.5; font-weight: 700; color: var(--text); }
.listen-pills { display: flex; flex-wrap: nowrap; gap: 8px; }
.listen-pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; white-space: nowrap;
  border-radius: 999px; background: #fff; color: var(--teal); text-decoration: none; font-weight: 700; font-size: 14px;
}
.listen-pill:hover { background: #e3f6fa; }

.hero-badge-phone { display: none; }
.hero-meta { grid-column: 1; grid-row: 2; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.listen-now {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px;
  border: 2px solid var(--light-teal); border-radius: 999px; background: transparent; color: var(--light-teal);
  font: 800 13px var(--font); cursor: pointer; position: relative;
}
/* A bigger tap area than the pill itself. */
.listen-now::after { content: ""; position: absolute; inset: -9px -4px; }
.listen-now:hover { background: rgba(76, 195, 217, .12); }
.hero h1 { font-weight: 700; font-size: 20px; line-height: 1.35; text-wrap: pretty; }

/* Between phone and full desktop the four pills would be squeezed, so let them wrap there. */
@media (max-width: 1099px) { .listen-pills { flex-wrap: wrap; } }

@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero > * { grid-column: auto; grid-row: auto; }
  .hero-info { order: 1; padding: 0; justify-content: flex-start; }
  .hero-badge-phone { order: 2; display: flex; margin-top: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
  .hero-badge-phone .new-pill { padding: 4px 12px; }
  .video { order: 3; }
  .hero-meta { order: 4; }
  .new-pill-desktop { display: none; }
}

/* Episodes */
.episodes { padding-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.episodes h2, .clips h2, .about h2, .episodes-page h1 { font-weight: 800; font-size: 36px; line-height: 1.2; letter-spacing: -0.02em; }
.tiles {
  display: grid; gap: 26px 22px;
  /* As many 240px+ columns as fit, but never more than 4. */
  grid-template-columns: repeat(auto-fill, minmax(max(min(100%, 240px), calc((100% - 3 * 22px) / 4)), 1fr));
}
.tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile-card { position: relative; aspect-ratio: 1; perspective: 1200px; }
.tile-front, .tile-back {
  position: absolute; inset: 0; border-radius: 12px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform .5s ease, box-shadow .2s ease;
}
.tile-front { padding: 0; border: 0; background: var(--band); cursor: pointer; overflow: hidden; }
.tile-img { width: 100%; height: 100%; object-fit: cover; }
.tile-back {
  transform: rotateY(180deg); background: var(--teal); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 16px;
}
.tile.flipped .tile-front { transform: rotateY(-180deg); }
.tile.flipped .tile-back { transform: rotateY(0deg); }
@media (hover: hover) {
  .tile:not(.flipped) .tile-front:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0, 0, 0, .45); }
}
.tile-close {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(11, 21, 30, .25); color: #fff; font-size: 16px; cursor: pointer;
}
.tile-close:hover { background: rgba(11, 21, 30, .45); }
.tile-num { font-weight: 800; font-size: 13px; letter-spacing: .06em; padding-right: 44px; }
.tile-btn {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
  text-decoration: none; font: 700 14px var(--font); text-align: left; cursor: pointer;
}
.tile-yt { background: var(--red); color: #fff; }
.tile-listen { background: var(--bg); color: #fff; }
.tile-light { background: #fff; color: var(--teal); }
.tile-btn:hover { filter: brightness(1.08); }
.tile-title { font-weight: 600; font-size: 15px; line-height: 1.35; text-wrap: pretty; }

.browse {
  align-self: flex-end; display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 26px; border-radius: 999px; border: 2px solid var(--text); color: var(--text);
  text-decoration: none; font-weight: 700;
}
.browse:hover { background: var(--text); color: var(--bg); }

@media (max-width: 699px) {
  .tile-desktop-only { display: none; }
  .browse { align-self: stretch; }
}

.episodes-page { padding-top: 32px; padding-bottom: 80px; }

/* Watch some pitches */
.clips { margin-top: 88px; background: var(--band); padding: 56px 0; }
.clips-inner { display: flex; flex-direction: column; gap: 22px; }
.clips-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.clips-more { color: var(--light-teal); font-weight: 700; font-size: 15px; padding: 11px 0; }
.reels {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
.reels li { flex: 0 0 210px; scroll-snap-align: start; }
.reel { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; }
.reel-cover { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; }
.reel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-badge {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); display: grid; place-items: center;
}
/* The covers carry the hook as on-screen text, so the play button sits in a corner, clear of it. */
.reel-play {
  position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--bg); display: grid; place-items: center;
  transition: transform .15s;
}
.reel:hover .reel-play { transform: scale(1.1); }

@media (max-width: 699px) {
  .clips { margin-top: 64px; }
  .reels li { flex-basis: min(210px, 56vw); }
}

/* About the hosts */
.about { padding-top: 88px; display: flex; gap: 24px 48px; align-items: flex-start; }
.about-photo { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.about-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-intro p { font-size: 17px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.about a { color: inherit; text-decoration-color: rgba(76, 195, 217, .7); text-underline-offset: 3px; }
.about a:hover { color: var(--light-teal); }
.bio {
  background: var(--band); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
}
.bio h3 { font-weight: 800; font-size: 19px; line-height: 1.5; color: #fff; }
.bio p { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.credit { text-align: center; font-size: 14px; color: #9fb6c2; }

/* Social pills, the same as mattanddru.com */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px;
  border-radius: 999px; color: #fff; text-decoration: none; font: 700 15px var(--mono);
}
.pill-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.pill-tiktok { background: #000; border: 1px solid #fff; box-shadow: -2px 0 0 #25F4EE, 2px 0 0 #FE2C55; }
.pill-youtube { background: var(--red); }
.pill-globe { background: var(--teal); }
.about .pill:hover { color: #fff; filter: brightness(1.1); }

@media (max-width: 899px) {
  .about { flex-direction: column; align-items: stretch; padding-top: 72px; }
  .about-photo { order: 2; flex: none; }
  .about-text { order: 1; flex: none; }
}

/* Mailing list */
.signup-wrap { max-width: 540px; padding-top: 80px; padding-bottom: 80px; }
.signup {
  background: var(--teal); color: #fff; border-radius: 18px; padding: 32px min(36px, 5vw);
  display: flex; flex-direction: column; gap: 16px; text-align: center;
}
.signup label { font-weight: 700; font-size: 20px; line-height: 1.35; text-wrap: balance; }
.signup-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.signup-row[hidden] { display: none; }
.signup input {
  flex: 1 1 180px; min-width: 0; height: 50px; border: 0; border-radius: 999px; padding: 0 18px;
  font: 16px var(--font); color: var(--bg); background: #fff;
}
.signup input:focus-visible { outline-color: var(--bg); }
.signup button {
  height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--bg); color: #fff;
  font: 700 15px var(--font); cursor: pointer;
}
.signup button:focus-visible { outline-color: #fff; }
.signup button:disabled { opacity: .6; cursor: default; }
.signup-msg { font-weight: 700; }
.signup-msg:empty { display: none; }
@media (max-width: 479px) {
  .signup input { flex-basis: 100%; }
}

/* Listen now: Acast's player in a bar along the bottom */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--band); border-top: 2px solid var(--teal); box-shadow: 0 -10px 30px rgba(0, 0, 0, .4);
}
.player[hidden] { display: none; }
.player-inner { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.player-frame { flex: 1 1 auto; min-width: 0; }
.player-frame iframe { display: block; width: 100%; height: 190px; border: 0; border-radius: 10px; background: var(--band); }
.player-close {
  flex: 0 0 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #9fb6c2;
  font-size: 20px; cursor: pointer; align-self: flex-start;
}
.player-close:hover { background: var(--chip); color: #fff; }

/* Reel popup: Instagram's own embed */
.reel-dialog {
  width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 52px 12px 12px;
  border: 0; border-radius: 18px; background: var(--band); color: var(--text); overflow-y: auto;
}
.reel-dialog::backdrop { background: rgba(5, 10, 14, .82); }
.reel-close {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: #fff; font-size: 20px; cursor: pointer;
}
.reel-close:hover { background: var(--chip); }
.reel-embed { min-height: 300px; display: grid; place-items: center; }
.reel-embed .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
.reel-loading { color: var(--muted); font-size: 14px; }

/* Episode video popup */
.video-dialog {
  width: min(1100px, calc(100vw - 32px)); padding: 52px 0 0; border: 0; border-radius: 18px;
  background: var(--band); color: var(--text); overflow: hidden;
}
.video-dialog::backdrop { background: rgba(5, 10, 14, .88); }
.video-dialog-frame { aspect-ratio: 16 / 9; background: #000; }
.video-dialog-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.dialog-close {
  position: absolute; top: 4px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: #fff; font-size: 20px; cursor: pointer;
}
.dialog-close:hover { background: var(--chip); }

.not-found { padding-top: 64px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.not-found h1 { font-size: 36px; font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile-front, .tile-back, .video-play, .reel-play { transition: none; }
}

