:root {
  --bg: #0b0e14;
  --card: #161b22;
  --text: #f3f6f8;
  --muted: #c5d0da;
  --line: rgba(232, 237, 242, 0.14);
  --teal: #146e6c;
  --teal-ink: #f4f7fa;
  --teal-line: #3dada8;
  --gold: #d4b06a;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 68ch;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
}

img,
iframe {
  max-width: 100%;
  border: 0;
}

a {
  color: var(--teal-line);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--teal-line);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--card);
  color: var(--text);
  padding: 0.5rem 0.8rem;
  z-index: 5;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(11, 14, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
}

.brand:hover {
  color: var(--text);
}

.org {
  border: 1px solid var(--gold);
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  line-height: 1;
  padding: 0.28rem 0.35rem 0.22rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  padding: 2.5rem 0 3.25rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(20, 110, 108, 0.22), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.newer {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.meta {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

h1,
h2,
h3 {
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  max-width: 18ch;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.08rem;
}

.abstract,
.lede,
.card p,
.log p,
.prose p {
  color: var(--muted);
}

.abstract {
  max-width: var(--measure);
  margin: 0 0 1.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn,
.lite {
  font: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--teal-ink);
  background: var(--teal);
}

.btn:hover {
  background: #18817e;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal-line);
  color: #fff;
}

.btn-small {
  min-height: 38px;
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
}

.section {
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--line);
}

.lede {
  max-width: var(--measure);
  margin-top: 0;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card,
.log {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.9rem 0.9rem 1.1rem;
}

.card .kicker,
.log .kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: baseline;
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tag {
  color: var(--teal-line);
}

.media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0e14;
  overflow: hidden;
}

.media iframe,
.lite,
.lite img {
  width: 100%;
  height: 100%;
}

.lite {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: #0b0e14;
  color: #fff;
}

.lite img {
  object-fit: cover;
  object-position: center center;
  display: block;
}

.lite.short img {
  object-position: center 12%;
  transform: scale(1.9);
  transform-origin: center 18%;
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(11, 14, 20, 0.45);
}

.play-icon::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 16px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
}

.dur {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  background: rgba(11, 14, 20, 0.82);
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.35rem;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  margin-top: 0.8rem;
}

.logs {
  display: grid;
  gap: 0.8rem;
}

.log h3 {
  margin-top: 0.35rem;
}

.site-footer {
  padding: 2.2rem 0 2.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

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

@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .header-inner,
  .nav {
    flex-wrap: nowrap;
  }
}

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