@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #08111f;
  --ink: #0b1726;
  --blue: #3f8cff;
  --cyan: #49d7c6;
  --paper: #f7f9fc;
  --muted: #66758a;
  --line: #dfe6ef;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.65;
}

.container {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}
.narrow { max-width: 780px; }

.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(63,140,255,.20), transparent 30%),
    radial-gradient(circle at 15% 90%, rgba(73,215,198,.12), transparent 30%),
    var(--navy);
}


.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 56px;
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-video {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: #02060b;
  box-shadow: 0 28px 70px rgba(0,0,0,.30);
}

.hero-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.talk-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 46px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #c9d6e7;
  background: rgba(255,255,255,.04);
  font: .72rem 'DM Mono', monospace;
}
.talk-badge strong { color: var(--cyan); font-weight: 500; }
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(73,215,198,.10);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #5f86b4;
  text-transform: uppercase;
  letter-spacing: .14em;
  font: 500 .68rem 'DM Mono', monospace;
}

.hero .eyebrow { color: var(--cyan); }

h1, h2, p { margin-top: 0; }
h1, h2 { line-height: 1.08; letter-spacing: -.045em; }

h1 {
  max-width: 650px;
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  font-weight: 800;
}

.subtitle {
  margin-bottom: 28px;
  color: #b8c5d8;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 500;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 26px;
  color: #9fb0c6;
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #72859f;
  font-size: .78rem;
}

.section { padding: 92px 0; }
.section-dark { color: white; background: var(--navy); }

.section h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.section p { color: var(--muted); }
.section strong { color: var(--ink); }
.section-dark p { color: #9fb0c6; }
.section-dark .section-kicker { color: var(--cyan); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-note {
  max-width: 360px;
  margin: 0;
  font-size: .8rem;
}
code {
  color: var(--cyan);
  font-family: 'DM Mono', monospace;
}

.video-wrap {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: #02060b;
  box-shadow: 0 28px 70px rgba(0,0,0,.26);
}
.video-wrap video {
  display: block;
  width: 100%;
  max-height: 640px;
  background: #000;
}

.author-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 72px;
  align-items: center;
}
.author-role {
  color: #40566f !important;
  font-weight: 700;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #27445f;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
}
.links a:hover { border-color: #9eb2c8; background: var(--paper); }

.photo-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(145deg, #17354a, #0b1a2b);
}
.photo-frame img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
}
.photo-fallback {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  color: #dce7f3;
  font-size: 4.2rem;
  font-weight: 800;
}
.photo-missing .photo-fallback { display: grid; }

footer {
  padding: 24px 0;
  color: #8194ad;
  background: #06101c;
  font-size: .7rem;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-video { max-width: 720px; }
}

@media (max-width: 760px) {
  .hero { min-height: auto; padding: 66px 0 58px; }
  .talk-badge { margin-bottom: 34px; border-radius: 16px; }
  .section { padding: 70px 0; }
  .section-heading, .footer-wrap { align-items: flex-start; flex-direction: column; }
  .author-grid { grid-template-columns: 1fr; gap: 38px; }
  .photo-frame, .photo-frame img { height: 320px; min-height: 0; }
}
