:root {
  color-scheme: light;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-synthesis: none;
  background: #e9edec;
  color: #212e30;
  --surface: #e9edec;
  --ink: #212e30;
  --rule: #7c9494;
  --accent: #346868;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: min(100%, 74rem);
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 clamp(1.4375rem, 3.125vw, 2.5rem);
  background: var(--surface);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.125rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.wordmark strong {
  font-size: 1.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.wordmark span {
  border-left: 1px solid var(--rule);
  padding-left: 0.875rem;
  font-family: "Space Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.feed-link {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.feed-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.625rem, 3.4vw, 2.625rem);
  padding: 2.5rem 0;
}

.specimen {
  position: relative;
  align-self: start;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.125rem;
  border: 1px solid var(--rule);
  background: #fff;
}

.specimen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(1) invert(1);
  mix-blend-mode: multiply;
}

.specimen figcaption {
  position: absolute;
  left: 1.125rem;
  bottom: 0.9375rem;
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.hero-copy {
  min-width: 0;
  align-self: center;
}

.eyebrow {
  margin: 0 0 1.125rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5.3vw, 3.75rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.description {
  max-width: 28.75rem;
  margin: 1.625rem 0 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.015em;
}

.feed {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.625rem 0 2.5rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1.5rem;
}

.feed h2 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
}

.episode-placeholder {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.episode-number {
  font-family: "Space Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.episode-placeholder p {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.8125rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.35rem;
}

@media (max-width: 40rem) {
  .site-header {
    padding: 1.375rem 0;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.6875rem 0;
    gap: 1.625rem;
  }

  .specimen {
    width: min(100%, 15.625rem);
    justify-self: center;
  }

  h1 {
    font-size: clamp(2.25rem, 11.3vw, 2.75rem);
  }

  .feed {
    display: block;
    padding-top: 1.4375rem;
  }

  .episode-placeholder {
    margin-top: 1.125rem;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
