/* ---------- FONTS ---------- */
@font-face {
  font-family: 'Bowlby One';
  src: url('BowlbyOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vend Sans';
  src: url('VendSans-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vend Sans';
  src: url('VendSans-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  --blue: #0619FF;
  --lime: #D0F926;
  --orange: #FF790B;
  --pink: #EDD2FF;
  --lilac: #EDD2FF;
  --ink: #0A0A0A;
  --paper: #FAFAF5;
  --display: 'Bowlby One', 'Arial Black', sans-serif;
  --body: 'Vend Sans', system-ui, sans-serif;

  /* spacing scale (8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;
  --space-9: 96px;
  --space-10: 120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ---------- SITE HEADER ---------- */
.site-header {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-2) 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--lime);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header-mark {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
}
.site-header-nav {
  display: flex;
  gap: 28px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-header-nav a { transition: color 0.2s; }
.site-header-nav a:hover { color: var(--lime); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 30;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  background: var(--blue);
  color: var(--paper);
  padding: var(--space-10) 6vw;
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
}
h1.title {
  font-family: var(--display);
  font-size: clamp(52px, 11vw, 180px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
}
h1.title .word {
  display: block;
  min-height: 0.82em;
}
h1.title .word:nth-child(2) { color: var(--lime); }
.type-cursor {
  display: inline-block;
  width: 0.5ch;
  margin-left: 0.02em;
  background: currentColor;
  vertical-align: baseline;
  height: 0.75em;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.hero-byline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(250, 250, 245, 0.12);
  border-radius: 100px;
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1);
  margin-bottom: var(--space-5);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-byline.in {
  opacity: 1;
  transform: translateY(0);
}
.hero-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  outline: 2px solid rgba(208, 249, 38, 0.35);
  outline-offset: 2px;
  object-fit: cover;
  object-position: center 20%;
  background: var(--lilac);
  flex-shrink: 0;
}
.hero-subtitle {
  display: inline-block;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-pills.in {
  opacity: 1;
  transform: translateY(0);
}
.hero-pill {
  flex: 1;
  min-width: 220px;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: var(--space-3) var(--space-4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-pill:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--ink);
}
.hero-pill:nth-child(1) { background: var(--pink); color: var(--ink); }
.hero-pill:nth-child(2) { background: var(--orange); color: var(--paper); }
.hero-pill-title {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}
.hero-pill-desc {
  font-family: var(--body);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  opacity: 0.8;
}

/* ---------- PLATFORM LINKS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.platform-links {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.7s forwards;
}
.platform-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: var(--paper);
  transition: transform 0.2s ease, color 0.2s ease;
}
.platform-link:hover {
  transform: translateY(-4px);
  color: var(--lime);
}
.platform-link svg {
  width: 44px;
  height: 44px;
}
.platform-link span {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* ---------- CARD GRID (episodes / services) ---------- */
.episodes {
  background: var(--lime);
  color: var(--ink);
  padding: var(--space-9) 6vw;
  position: relative;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-7);
  flex-wrap: wrap;
  gap: var(--space-3);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.section-sub {
  font-family: var(--body);
  font-size: 18px;
  max-width: 380px;
  line-height: 1.4;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
}

.episode-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: var(--space-4);
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.episode-card:nth-child(2) { background: var(--lilac); }
.episode-card:nth-child(3) { background: var(--orange); color: var(--paper); }
.episode-card:nth-child(3) .episode-num { background: var(--paper); color: var(--ink); }
.episode-card:nth-child(4) { background: var(--blue); color: var(--paper); }
.episode-card:nth-child(4) .episode-num { background: var(--lime); color: var(--ink); }

/* four-across services layout (AI consulting page) */
.services-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

.episode-num {
  align-self: flex-start;
  font-family: var(--display);
  font-size: 13px;
  background: var(--blue);
  color: var(--paper);
  padding: var(--space-1) var(--space-2);
  border-radius: 100px;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}
.episode-guest {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  margin-bottom: var(--space-1);
  text-transform: uppercase;
}
.episode-brand {
  font-family: var(--body);
  font-style: italic;
  font-size: 16px;
  margin-bottom: var(--space-2);
  opacity: 0.7;
}
.episode-desc {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: var(--space-3);
  flex-grow: 1;
}
/* ---------- LISTEN ---------- */
.listen {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-9) 6vw;
}
.listen-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.listen-text {
  flex: 1;
  min-width: 280px;
}
.listen-embed {
  flex: 1;
  min-width: 280px;
}
.listen .section-title {
  color: var(--lime);
  margin-bottom: var(--space-2);
}
.listen-desc {
  font-size: 17px;
  line-height: 1.5;
  max-width: 440px;
  margin-bottom: var(--space-3);
  opacity: 0.9;
}
.listen .platform-links {
  opacity: 1;
  animation: none;
}

.recent-guests {
  max-width: 1080px;
  margin: var(--space-6) auto 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(250, 250, 245, 0.15);
}
.recent-guests-title {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: var(--space-5);
}
.guest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}
.guest-card {
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: var(--space-3) var(--space-4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.guest-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--ink);
}
.guest-name {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-1);
}
.guest-brand {
  font-family: var(--body);
  font-style: italic;
  font-size: 13px;
  opacity: 0.7;
}

/* ---------- SUBSCRIBE / CONTACT / CTA ---------- */
.subscribe {
  background: var(--orange);
  color: var(--ink);
  padding: var(--space-9) 6vw;
  position: relative;
  overflow: hidden;
}
.subscribe-inner {
  max-width: 640px;
  position: relative;
  z-index: 1;
}
.subscribe h2 {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}
.subscribe h2 em {
  font-style: normal;
  color: var(--paper);
}
.subscribe p {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: var(--space-5);
  max-width: 480px;
}
.signup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 440px;
}
.signup-form input,
.signup-form textarea {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.signup-form textarea {
  min-height: 100px;
  resize: vertical;
  font-family: var(--body);
}
.signup-form input:focus,
.signup-form textarea:focus {
  background: var(--lime);
}
.signup-form button {
  align-self: flex-start;
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s;
}
.signup-form button:hover {
  transform: translateY(-2px);
}
.signup-note {
  margin-top: var(--space-2);
  font-size: 13px;
  opacity: 0.8;
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: var(--space-3);
  right: var(--space-3);
  max-width: 320px;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: var(--space-3) var(--space-4);
  box-shadow: 8px 8px 0 var(--ink);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 15px;
  line-height: 1.4;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 100;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: bold;
  flex-shrink: 0;
}

/* ---------- ABOUT ---------- */
.landing-about {
  background: var(--paper);
  padding: var(--space-9) 6vw;
  max-width: 1100px;
  margin: 0 auto;
}
.landing-about .section-title {
  margin-bottom: var(--space-6);
}
.landing-about-row {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.landing-photo {
  width: 280px;
  height: 280px;
  border-radius: 24px;
  border: 3px solid var(--ink);
  object-fit: cover;
  object-position: center top;
  background: var(--lilac);
  flex-shrink: 0;
}
.landing-bio {
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-7) 6vw var(--space-5);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(250, 250, 245, 0.2);
}
.footer-brand {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--lime);
  max-width: 500px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom {
  margin-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 13px;
  opacity: 0.6;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .site-header { padding: var(--space-2) 6vw; position: relative; }
  .hamburger { display: flex; }
  .site-header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    border-bottom: 3px solid var(--lime);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }
  .site-header-nav.open {
    max-height: 320px;
    opacity: 1;
  }
  .site-header-nav a {
    padding: var(--space-3) 6vw;
    border-top: 1px solid rgba(250, 250, 245, 0.12);
  }
  .hero { padding: var(--space-6) 6vw; }
  h1.title { font-size: clamp(40px, 13vw, 180px); }
  .hero-byline {
    gap: var(--space-1);
    padding: 4px var(--space-2) 4px 4px;
    margin-bottom: var(--space-3);
  }
  .hero-avatar { width: 36px; height: 36px; }
  .hero-subtitle { font-size: 13px; }
  .hero-pills { gap: var(--space-2); }
  .hero-pill { min-width: 100%; padding: var(--space-2) var(--space-3); }
  .hero-pill-title { font-size: 18px; }
  .hero-pill-desc { font-size: 14px; }
  .platform-links { gap: var(--space-2); }
  .platform-link svg { width: 36px; height: 36px; }
  .section-head { align-items: flex-start; }
  .listen-inner { flex-direction: column; gap: var(--space-4); }
  .landing-about { padding: var(--space-6) 6vw; }
  .landing-about-row { flex-direction: column; gap: var(--space-3); }
  .landing-photo { width: 180px; height: 180px; }
}
