/* =========================================================
   Next Owner: site styles
   Brand colours live here. Change one value and it updates everywhere.
   ========================================================= */
:root {
  --navy: #0E1A2B;        /* background */
  --navy-raised: #13233A; /* cards, form fields, panels */
  --orange: #F28C38;      /* accent */
  --text: #C9D3E0;        /* body text */
  --muted: #8A9AB3;       /* small secondary text */
  --divider: #2A3A52;     /* lines between sections */
  --field-border: #6B7F9C;/* form field borders (lighter for accessibility) */
  --white: #FFFFFF;       /* headings */

  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: 20px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--white); }

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--navy);
  padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--navy); }

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.lead { font-size: 1.1875rem; color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--divider);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 32px; flex-wrap: wrap;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.4em;
  color: var(--white);
  font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em;
  text-decoration: none; line-height: 1;
}
.logo:hover { color: var(--white); }
.logo-arrow { width: 1.15em; height: 0.8em; color: var(--orange); flex: none; }

.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 28px;
}
.nav-list a {
  color: var(--text); text-decoration: none; font-size: 0.9375rem;
  padding: 6px 0; display: inline-block;
}
.nav-list a:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero { padding: clamp(80px, 14vw, 168px) 0 clamp(72px, 12vw, 140px); border-bottom: 1px solid var(--divider); }
.hero-title {
  font-size: clamp(3.25rem, 11vw, 7.5rem);
  letter-spacing: -0.04em; line-height: 0.95;
  margin-bottom: 0.3em;
}
.hero-inner { display: grid; align-items: center; gap: 48px; }
.hero-arrow { display: none; color: var(--orange); }
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr auto; }
  .hero-arrow { display: block; width: clamp(200px, 22vw, 320px); height: auto; }
}
.hero-tagline { font-size: clamp(1.1875rem, 2.4vw, 1.5rem); max-width: 34ch; margin-bottom: 2.25rem; }

/* ---------- Buttons ---------- */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 26px;
  font: inherit; font-weight: 700; font-size: 1rem;
  border-radius: 4px; border: 2px solid var(--orange);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button-primary { background: var(--orange); color: var(--navy); }
.button-primary:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.button-secondary { background: transparent; color: var(--white); }
.button-secondary:hover { background: var(--orange); color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; border-bottom: 1px solid var(--divider); }

/* ---------- Episodes ---------- */
.episode-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2.5rem;
}
.episode {
  display: flex; flex-direction: column;
  background: var(--navy-raised);
  border: 1px solid var(--divider);
  border-top: 3px solid var(--orange);
  padding: 28px;
}
.episode-meta { color: var(--muted); font-size: 0.875rem; margin-bottom: 0.75rem; }
.episode-title { font-size: 1.3125rem; margin-bottom: 0.5rem; }
.episode-guest { color: var(--white); font-size: 0.9375rem; margin-bottom: 0.75rem; }
.episode-summary { flex: 1; }
.episode-link { font-weight: 700; text-decoration: none; align-self: flex-start; padding: 4px 0; }
.episode-link::after { content: " \2192"; }
.episode-link:hover { text-decoration: underline; }

/* ---------- Host ---------- */
.host { display: grid; gap: 40px; align-items: center; }
.host-photo { width: 100%; max-width: 380px; height: auto; aspect-ratio: 1233 / 1275; object-fit: cover; }
.host-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--field-border); color: var(--muted);
}
.host-text p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; margin-top: 2rem; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 18px; }
label { color: var(--white); font-size: 0.9375rem; font-weight: 700; }
.optional { color: var(--muted); font-weight: 500; }
input, textarea {
  width: 100%;
  font: inherit; font-size: 1rem; /* 16px stops iPhone zooming in */
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--field-border);
  border-radius: 4px;
  padding: 12px 14px;
}
textarea { resize: vertical; min-height: 120px; }
input:focus-visible, textarea:focus-visible { border-color: var(--orange); outline-offset: 1px; }
.form .button { justify-self: start; }
.form-note { color: var(--muted); font-size: 0.9375rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  align-items: center; justify-content: space-between;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { color: var(--text); text-decoration: none; padding: 6px 0; display: inline-block; }
.footer-links a:hover { color: var(--orange); }
.copyright { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.form-status { margin: 0; color: var(--orange); }
.form-status:empty { display: none; }
.form-success {
  margin-top: 2rem; padding: 28px;
  background: var(--navy-raised);
  border: 1px solid var(--divider); border-top: 3px solid var(--orange);
}
.form-success h3 { margin-bottom: 0.4em; }
.form-success p { margin: 0; }
.form-success:focus { outline: none; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 880px) {
  :root { --gutter: 32px; }
  .host { grid-template-columns: 380px 1fr; gap: 72px; }
}
