:root {
  --bg: #0d1114;
  --surface: #141b20;
  --surface-strong: #192229;
  --line: #2a3942;
  --text: #f5f8fa;
  --muted: #aebbc3;
  --green: #00e676;
  --blue: #00b0ff;
  --sans: "Space Grotesk", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --page: 1000px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { transition: color .2s, background-color .2s, border-color .2s, opacity .2s; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--page));
  height: 76px;
  margin: auto;
  padding: 8px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 20, .94);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { display: block; width: 124px; height: 52px; object-fit: cover; object-position: center 53%; mix-blend-mode: screen; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { padding: 12px 0; color: var(--muted); font: 500 13px var(--mono); text-decoration: none; }
.main-nav a:hover, .main-nav .active { color: var(--green); }
.menu-toggle { display: none; }

.section-shell { width: min(100%, var(--page)); margin: auto; padding: 68px 24px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); align-items: center; gap: 52px; min-height: calc(100svh - 152px); padding-block: 64px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font: 500 12px var(--mono); letter-spacing: 1px; }
.eyebrow span { display: inline-block; width: 22px; height: 2px; margin: 0 7px 3px 0; background: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(42px, 6vw, 62px); line-height: 1.04; letter-spacing: -1.8px; text-wrap: balance; }
h1 em, h2 em { color: var(--green); font-style: normal; }
.hero-description { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 11px 16px; color: var(--text); font: 500 13px var(--mono); text-decoration: none; }
.button b { margin-left: 16px; }
.button.blue { border-color: var(--blue); }
.button.green { border-color: var(--green); }
.button:hover { background: var(--surface-strong); }
.button.blue:hover { background: var(--blue); color: #061016; }
.button.green:hover { background: var(--green); color: #061016; }
.hero-visual { overflow: hidden; border: 1px solid var(--line); background: #07090b; padding: 14px; }
.hero-visual video { display: block; width: 100%; height: auto; max-height: 430px; margin: auto; object-fit: contain; }

.featured, .articles { min-height: calc(100svh - 152px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 5vw, 50px); line-height: 1.06; letter-spacing: -1.5px; text-wrap: balance; }
.text-link, .read-link, .video-copy a { color: var(--green); font: 500 13px var(--mono); text-decoration: none; }
.text-link:hover, .read-link:hover, .video-copy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.feature-card { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.feature-art { position: relative; display: grid; min-height: 285px; place-items: center; overflow: hidden; background: #18252b; }
.video-embed { aspect-ratio: 16 / 9; min-height: 0; padding: 0; background: #000; }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.feature-content { align-self: center; padding: 36px; }
.tag { margin-bottom: 12px; color: var(--muted); font: 500 11px var(--mono); letter-spacing: .5px; }
.tag.cyan { color: var(--blue); }
.feature-content h3 { margin-bottom: 14px; font-size: 28px; line-height: 1.12; letter-spacing: -.7px; text-wrap: balance; }
.feature-content > p:not(.tag), .video-copy > p:not(.tag) { color: var(--muted); font-size: 14px; line-height: 1.65; }
.compact { margin-top: 6px; }
.podcast-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.video-card { overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.video-card:hover { border-color: #526b78; }
.video-art { position: relative; height: 180px; padding: 15px; }
.video-art span { font: 11px var(--mono); }
.video-art b { position: absolute; bottom: 16px; left: 16px; font: 700 22px/.9 var(--mono); }
.green-art, .blue-art { background: #263139; }
.video-copy { padding: 19px; }
.video-copy h3 { margin-bottom: 9px; font-size: 19px; line-height: 1.18; }
.coming-soon { opacity: .7; }
.coming-label { color: var(--muted); font: 11px var(--mono); letter-spacing: .6px; text-transform: uppercase; }

.about-template { display: grid; grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); align-items: center; gap: 56px; min-height: calc(100svh - 152px); }
.about-photo-placeholder { width: 100%; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); background: var(--surface); }
.about-photo-placeholder img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.about-template-copy { min-width: 0; }
.about-template-copy h1 { margin-bottom: 14px; }
.about-template-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: 17px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.socials a { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); color: var(--text); font: 500 15px var(--mono); text-decoration: none; }
.socials a:hover { border-color: var(--green); color: var(--green); }
.socials svg { width: 18px !important; height: 18px !important; }
.coming-soon-page { display: flex; min-height: calc(100svh - 152px); flex-direction: column; justify-content: center; }
.coming-soon-page p:not(.eyebrow) { color: var(--muted); font-size: 17px; }

footer { display: flex; width: min(100%, var(--page)); min-height: 76px; align-items: center; justify-content: center; gap: 18px; margin: auto; padding: 15px 24px; border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--muted); font: 11px var(--mono); }

@media (max-width: 760px) {
  .site-header { height: 66px; padding-inline: 18px; }
  .brand img { width: 104px; height: 44px; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 6px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 23px; height: 2px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: absolute; top: 65px; right: 0; left: 0; display: grid; max-height: 0; gap: 0; overflow: hidden; padding-inline: 20px; border-bottom: 0 solid var(--line); background: #0d1114; opacity: 0; pointer-events: none; transition: max-height .25s, opacity .2s, padding .25s, border-width .25s; }
  .main-nav.open { max-height: 280px; padding-block: 10px 14px; border-bottom-width: 1px; opacity: 1; pointer-events: auto; }
  .main-nav a { min-height: 44px; padding: 12px 2px; }
  .section-shell { padding: 50px 20px; }
  .hero { display: flex; min-height: auto; flex-direction: column; align-items: stretch; gap: 30px; padding-block: 42px 54px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 0; width: min(100%, 360px); margin: auto; padding: 10px; }
  .hero-visual video { max-height: 300px; }
  h1 { font-size: clamp(38px, 12vw, 50px); letter-spacing: -1.4px; }
  .hero-description { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; justify-content: space-between; }
  .section-heading { display: block; }
  .text-link { display: inline-block; min-height: 44px; margin-top: 16px; padding-block: 10px; }
  .feature-card, .podcast-grid { grid-template-columns: 1fr; }
  .feature-content { padding: 26px 22px; }
  .feature-content h3 { font-size: 25px; }
  .video-art { height: auto; min-height: 180px; }
  .video-embed { min-height: 0; }
  .about-template { grid-template-columns: 1fr; gap: 30px; min-height: auto; }
  .about-photo-placeholder { width: min(100%, 330px); margin: auto; }
  .about-template-copy > p:not(.eyebrow) { font-size: 16px; }
  .coming-soon-page { min-height: calc(100svh - 139px); }
  footer { min-height: 73px; padding-inline: 20px; }
}

@media (max-width: 390px) {
  .section-shell { padding-inline: 16px; }
  h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
