/* Caleb Toliver: same look as the current site (Kadence): photo hero with a
   see-through dark layer, white pages, navy text, mint buttons, Prompt + Karla. */
:root {
  --navy: #1e1e42;
  --ink: #3b3b5c;
  --muted: #6b6b85;
  --white: #fcfcfc;
  --lavender: #e7eaf3;
  --line: #e2e4ee;
  --mint: #5ad3aa;
  --mint-dark: #3fbf93;
  --footer: #363648;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Karla", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

h1, h2, h3, .logo, .btn, .nav a, .eyebrow { font-family: "Prompt", system-ui, sans-serif; }
h1, h2, h3 { color: var(--navy); font-weight: 700; line-height: 1.2; margin: 0 0 14px; }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
h3 { font-size: 22px; }

img { max-width: 100%; display: block; }
a { color: var(--navy); }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---------- Header (sits on top of the hero photo) ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.logo { color: #fff; font-weight: 700; font-size: 22px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo svg { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #fff; text-decoration: none; font-size: 17px; }
.nav a:hover { opacity: 0.8; }
.nav a[aria-current="page"] { border-bottom: 2px solid #fff; }

/* Pages without a big photo get a solid navy header */
.site-header.solid { position: static; background: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #2c2c5e; }
.btn-mint { background: var(--mint); color: #fff; }
.btn-mint:hover { background: var(--mint-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.nav .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- Hero: photo + see-through dark layer ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: url("images/hero.jpg") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.38); }
.hero .wrap { position: relative; padding: 120px 0 70px; }
.hero-text { max-width: 560px; }
.hero h1 { color: #fff; font-size: clamp(40px, 5vw, 58px); margin-bottom: 18px; }
.hero p { font-weight: 700; font-size: 21px; line-height: 1.5; margin: 0 0 30px; color: #fff; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Shorter photo banner for inner pages */
.banner { min-height: 52vh; }
.banner .wrap { padding: 130px 0 50px; }
.banner .crumb { font-family: "Prompt", sans-serif; font-size: 15px; opacity: 0.9; margin-bottom: 8px; }
.banner .crumb a { color: #fff; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.eyebrow { color: var(--mint); font-weight: 700; font-size: 15px; margin-bottom: 6px; display: block; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Episode cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--lavender); margin-bottom: 18px; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
a.card:hover .thumb img { transform: scale(1.03); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card .more { font-family: "Prompt", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.card.next .thumb { display: grid; place-items: center; background: var(--lavender); }
.card.next .thumb span { font-family: "Prompt", sans-serif; font-weight: 700; font-size: 44px; color: var(--navy); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.facts b { color: var(--navy); }

/* Photo strip */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); }
.photos img { width: 100%; height: 360px; object-fit: cover; }
.center { text-align: center; }
.center p { max-width: 62ch; margin: 0 auto 36px; }

/* Newsletter */
.newsletter { background: var(--lavender); text-align: center; }
.newsletter h2 { font-size: clamp(36px, 5vw, 56px); }
.newsletter p { max-width: 54ch; margin: 0 auto 26px; }
.newsletter .small { font-size: 15px; color: var(--muted); margin-top: 14px; }

/* ---------- Route page ---------- */
.video { aspect-ratio: 16 / 9; background: var(--lavender); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.stat { background: var(--lavender); padding: 18px 20px; border-radius: 4px; }
.stat .label { font-size: 14px; color: var(--muted); }
.stat .value { font-family: "Prompt", sans-serif; font-weight: 700; font-size: 24px; color: var(--navy); line-height: 1.25; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.route { list-style: none; margin: 0; padding: 0; }
.route li { position: relative; padding: 0 0 24px 34px; }
.route li::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: -6px; width: 2px; background: var(--line); }
.route li:last-child::before { display: none; }
.route li::after { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--mint); }
.route strong { display: block; font-family: "Prompt", sans-serif; color: var(--navy); font-size: 18px; }
.route span { color: var(--muted); font-size: 16px; }
.box { background: var(--lavender); padding: 26px 28px; border-radius: 4px; }
.box ul { margin: 0; padding-left: 20px; }
.box li { margin-bottom: 8px; }
.fine { font-size: 15px; color: var(--muted); margin-top: 16px; }

/* About */
.about { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 66% center; }
.about p { max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #c9c9d6; padding: 56px 0; font-size: 16px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer nav { display: flex; gap: 24px; }

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .nav { gap: 16px; }
  .nav .hide-sm { display: none; }
  .hero { min-height: 78vh; background-position: 68% center; }
  .hero p { font-size: 18px; }
  section { padding: 56px 0; }
  .grid, .two-col, .about { grid-template-columns: 1fr; }
  .photos { grid-template-columns: 1fr 1fr; }
  .photos img { height: 220px; }
  .photos img:last-child { grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* Inner page heading (under the solid navy header) */
.page-head { padding: 56px 0 8px; }
.page-head .crumb { font-family: "Prompt", sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.page-head .crumb a { color: var(--mint); text-decoration: none; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 50px); max-width: 22ch; }
.page-head p { color: var(--muted); max-width: 60ch; margin: 0; }
.page-head + section { padding-top: 36px; }
