/* ============================================================
   Bluewater Cruising — Podcast section  (MOBILE-FIRST)
   Brand-aligned per 01_shared_knowledge/marketing/drafts/brand_guide.md
   Font: Montserrat. Palette: brand blues + CTA yellow.
   GENERATED PAGES use this file — edit here, then run the build.
   ============================================================ */

:root {
  --navy:   #03172F;
  --ocean:  #0063a3;
  --deep:   #445c90;
  --mid:    #6598C8;
  --pale:   #c2d1e9;
  --cta:    #F3C125;
  --cta-dk: #d9a90f;
  --ink:    #16293d;
  --muted:  #51606f;
  --tint:   #eef3f9;
  --line:   #e1e8ef;
  --white:  #ffffff;
  --radius: 14px;
  --shadow: 0 18px 44px rgba(3, 23, 47, .14);
  --maxw:   1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Montserrat", sans-serif; line-height: 1.14; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(1.85rem, 6vw, 2.9rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; }
h2 { font-size: clamp(1.45rem, 4.6vw, 2.1rem); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--ocean); text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 760px; }
.tint { background: var(--tint); }
.section { padding: clamp(54px, 7vw, 84px) 0; }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); }
.center .lead { margin-left: auto; margin-right: auto; max-width: 60ch; }

.kicker {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ocean); margin: 0 0 .8rem;
}

/* ---------- Buttons ---------- */
.btn-outline {
  display: inline-block; border: 2px solid var(--ocean); color: var(--ocean);
  font-family: "Montserrat", sans-serif; font-weight: 800; text-transform: uppercase;
  letter-spacing: .03em; font-size: 1rem; padding: 14px 30px; border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.btn-outline:hover { background: var(--ocean); color: #fff; }

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative;
  background: linear-gradient(rgba(3,23,47,.84), rgba(3,23,47,.92)), url('hero-bg-dark.webp');
  background-size: cover; background-position: center; color: #fff;
  padding: clamp(28px, 6vw, 48px) 0 clamp(36px, 6vw, 60px);
}
.hero-inner { width: 100%; }
.hero-logo { display: block; margin: 0 0 28px; }
.hero-logo img { width: 170px; height: auto; }
.hero .kicker { color: var(--cta); }
.hero h1 { color: #fff; margin-top: 20px; }

/* hero layout: single column on mobile, video + text side-by-side on desktop */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.hero-media { min-width: 0; }
.hero-text { min-width: 0; }
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
  .hero-text h1 { margin-top: 0; }
}
.hero .sub { font-size: 1.1rem; font-weight: 500; color: #eaf1f8; margin: 0; max-width: 64ch; }
.latest-banner {
  width: 100%; background: var(--cta); color: #fff;
  font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  text-align: center; padding: 9px 14px; border-radius: 8px; margin: 0 0 14px;
}

/* episode meta line */
.ep-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--mid); font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; margin: 18px 0 .4rem; }
.ep-meta .pipe { color: rgba(255,255,255,.3); }
.latest-banner .pipe { color: rgba(3,23,47,.35); }

/* ---------- Responsive YouTube video ---------- */
.video-wrap {
  position: relative; aspect-ratio: 16/9; width: 100%;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--navy); margin: 4px 0 8px;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Follow guest pill ---------- */
.follow-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 11px 20px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-weight: 700; font-size: .9rem; transition: background .15s ease;
}
.follow-pill:hover { background: rgba(255,255,255,.18); }
.follow-pill svg { color: #ff0000; flex-shrink: 0; }

/* ---------- In this episode + resource (light, 2-col on desktop) ---------- */
.ep-detail { background: #fff; }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
.detail-notes h2 { margin-bottom: 1.1rem; }
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.notes li { position: relative; padding-left: 34px; font-size: 1.06rem; color: var(--ink); }
.notes li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ocean);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/15px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/15px no-repeat;
}

/* ---------- Podcast library / archive ---------- */
.archive { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
.ep-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 22px rgba(3,23,47,.06); transition: transform .15s ease, box-shadow .15s ease; color: var(--ink); }
.ep-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(3,23,47,.16); }
.ep-thumb { position: relative; aspect-ratio: 16/9; background: var(--navy) center/cover no-repeat; }
.ep-thumb .ep-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(243,193,37,.94); color: var(--navy); display: grid; place-items: center; font-size: 1rem; }
.ep-card-body { padding: 16px 18px 20px; }
.ep-tag { display: block; color: var(--ocean); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.ep-card h3 { color: var(--navy); margin: 0; font-size: 1.02rem; line-height: 1.25; }
.lib-cta { text-align: center; margin-top: 30px; }

/* ---------- Per-episode resource callout (right column) ---------- */
.resource-card { background: var(--tint); border-left: 4px solid var(--ocean); border-radius: 0; padding: 22px 26px; }
.resource-card p { color: var(--ink); margin: 0 0 16px; }
.resource-card .btn-outline { font-size: .92rem; padding: 11px 24px; }

/* ---------- Transcript dropdown (full width, merges with "In this episode") ---------- */
.transcript { background: #fff; padding-top: 1.4rem; }
.ep-detail:has(+ .transcript) { padding-bottom: 0; }
.transcript-box { border-top: 1px solid var(--line); }
.transcript-box summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.transcript-box summary::-webkit-details-marker { display: none; }
.transcript-box summary::after { content: "+"; color: var(--ocean); font-size: 1.5rem; font-weight: 700; }
.transcript-box[open] summary::after { content: "\2013"; }
.transcript-body { padding: 4px 0 8px; color: var(--muted); }
.transcript-body p { margin: 0 0 1rem; }
.transcript-close { display: block; margin: 28px auto 4px; }
.transcript-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 60;
  background: var(--navy); color: #fff; border: none;
  font-family: "Montserrat", sans-serif; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; font-size: .78rem; padding: 12px 20px; border-radius: 999px;
  cursor: pointer; box-shadow: 0 8px 24px rgba(3, 23, 47, .32);
}
.transcript-float:hover { background: var(--ocean); }
.transcript-float[hidden] { display: none; }

/* ---------- Compass Call CTA band (calendar only, no button) ---------- */
.cc-cta { background: var(--ocean); color: #eaf3fb; }
.cc-cta .kicker { color: var(--cta); }
.cc-cta h2 { color: #fff; }
.cc-cta .lead { color: #eaf3fb; }
.cc-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.cal-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; }
.cal-card .cal-head { padding: 10px 12px 4px; }
.cal-card .cal-head strong { color: var(--navy); font-size: 1.05rem; }
.cal-card .cal-head span { display: block; color: var(--muted); font-size: .86rem; font-weight: 600; }
.cal-embed { width: 100%; min-height: 640px; border: none; border-radius: 10px; overflow: hidden; }

/* ---------- About / Who we are (collage + copy) ---------- */
.about-band { background: var(--tint); }
.about-band .kicker { color: var(--ocean); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.who-collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 10px; aspect-ratio: 1/1; }
.who-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 10px 24px rgba(3,23,47,.16); }
.who-collage .c1 { grid-column: 1 / 5; grid-row: 1 / 4; }
.who-collage .c2 { grid-column: 5 / 7; grid-row: 1 / 4; }
.who-collage .c3 { grid-column: 1 / 3; grid-row: 4 / 7; }
.who-collage .c4 { grid-column: 3 / 7; grid-row: 4 / 7; }
.about-copy .lead { max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c8d6; padding: 38px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; }
.site-footer img { width: 220px; max-width: 70%; height: auto; }
.footer-meta { display: flex; flex-direction: column; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: #cdd9e6; font-size: .88rem; }
.footer-links a:hover { color: #fff; }
.site-footer .copy { font-size: .82rem; }

/* ============================================================
   DESKTOP / TABLET adaptation (mobile-first base above)
   ============================================================ */
@media (min-width: 880px) {
  .cc-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .archive { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .detail-grid.two-col { grid-template-columns: 1.6fr 1fr; gap: 44px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-meta { align-items: flex-end; }
  .hero-logo img { width: 230px; }
}

/* Hide the duration on small screens so the meta line stays on one row */
@media (max-width: 560px) {
  .meta-dur { display: none; }
}
