:root {
  --bg: #0a0a0b;
  --ink: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.58);
  --dim: rgba(255, 255, 255, 0.34);
  --cyan: #00d6fa;
  --cyan-soft: rgba(0, 205, 240, 0.7);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --fill: rgba(255, 255, 255, 0.03);
  --max: 1120px;
  --text: 1120px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(0, 214, 250, 0.08), transparent 42%),
    radial-gradient(circle at 80% 10%, rgba(80, 40, 180, 0.08), transparent 36%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.22) 0.6px, transparent 0.6px);
  background-size: auto, auto, 22px 22px;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

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

.logo {
  display: block;
  width: min(220px, 52vw);
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.hero {
  padding: 4.5rem 0 3.25rem;
}

.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: 1rem;
}

h1, h2, .display {
  font-family: "Michroma", "Eurostile", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  max-width: 16ch;
  margin-bottom: 1.1rem;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 300;
}

.feed {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 5rem;
}

.card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--fill);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  color: inherit;
}

.card-media {
  min-height: 240px;
  background: #050608 center / cover no-repeat;
}

.card-body {
  padding: 1.6rem 1.7rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-meta,
.post-meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.7rem;
}

.card h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.article {
  padding: 2.75rem 0 5rem;
}

.article > .kicker,
.article > h1,
.article > .post-meta {
  text-align: left;
}

.article-hero {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border: 1px solid var(--line);
  margin: 1.5rem 0 2.35rem;
}

.article h1 {
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  max-width: none;
  margin-bottom: 1.1rem;
}

.article > .post-meta {
  margin-bottom: 0.15rem;
}

.prose {
  max-width: none;
  width: 100%;
}

.prose p,
.prose li {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.15rem;
}

.prose h2 {
  font-size: 1.05rem;
  margin: 2.2rem 0 0.85rem;
}

.prose ul {
  padding-left: 1.15rem;
  margin-bottom: 1.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0.5rem;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--line-strong);
  color: #fff;
}

.btn-primary {
  background: rgba(0, 214, 250, 0.92);
  color: #001015;
  border-color: transparent;
}

.btn-primary:hover {
  background: #fff;
  color: #001015;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.4rem;
  color: var(--dim);
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 820px) {
  .card {
    grid-template-columns: 1fr;
  }

  .card-media {
    min-height: 190px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
