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

:root {
  --bg: #0a0a09;
  --bg2: #111110;
  --fg: #f0ede6;
  --fg2: #aaa59c;
  --fg3: #6f6a64;
  --accent: #b84552;
  --border: #2a2a28;
  --border2: #3a3a38;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 4%, rgba(184, 69, 82, 0.13), transparent 28rem),
    radial-gradient(circle at 8% 28%, rgba(240, 237, 230, 0.04), transparent 24rem),
    var(--bg);
  color: var(--fg);
  font-family: "Space Grotesk", Arial, sans-serif;
  line-height: 1.6;
}

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

.page-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 9, 0.95);
  padding: 0 2.5rem;
  backdrop-filter: blur(16px);
}

.brand,
.eyebrow,
.meta,
.tag,
.nav-cta,
.button-primary,
.button-secondary,
.article-label {
  font-family: "Space Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.brand span,
.eyebrow,
.article-label {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  color: var(--fg2);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
}

.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--accent);
  padding: 0 1.25rem;
  font-size: 11px;
  font-weight: 700;
}

.nav-cta,
.button-primary {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.button-secondary {
  color: var(--fg2);
  border-color: var(--border2);
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--fg);
}

.button-secondary:hover {
  color: var(--fg);
  border-color: var(--fg2);
}

.hero,
.section,
.article-shell {
  padding: clamp(4rem, 8vw, 7rem) 2.5rem;
  border-bottom: 1px solid var(--border);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  min-height: 60vh;
  background:
    linear-gradient(135deg, rgba(184, 69, 82, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 46%);
}

.hero--article {
  grid-template-columns: minmax(0, 980px);
  min-height: 48vh;
}

.eyebrow {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 10px;
}

h1,
.section-title {
  max-width: 980px;
  font-size: clamp(3rem, 7.2vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.35rem, 5.5vw, 4.6rem);
}

.lead {
  max-width: 720px;
  margin-top: 1.5rem;
  color: var(--fg2);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
}

.brief-panel {
  border: 1px solid var(--border2);
  background: rgba(17, 17, 16, 0.84);
  padding: 1.4rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  color: var(--fg2);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.panel-row:first-child {
  padding-top: 0;
}

.panel-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.post-grid,
.lane-grid {
  display: grid;
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid var(--border);
  background: var(--border);
}

.post-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.dynamic-post-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.lane-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card,
.lane-card {
  display: grid;
  align-content: space-between;
  min-height: 22rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.026), transparent 42%),
    var(--bg);
  padding: 1.6rem;
}

.post-card:hover {
  background:
    linear-gradient(135deg, rgba(184, 69, 82, 0.08), transparent 46%),
    var(--bg2);
}

.post-card h2,
.lane-card h2 {
  margin-top: 1.35rem;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.post-card p,
.lane-card p {
  margin-top: 1rem;
  color: var(--fg2);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
}

.meta,
.tag {
  color: var(--fg3);
  font-size: 9px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.tag {
  border: 1px solid var(--border2);
  padding: 0.35rem 0.55rem;
}

.read-link {
  margin-top: 1.5rem;
  color: var(--accent);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 0.36fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.article-body {
  color: var(--fg2);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
}

.article-body a {
  color: var(--fg);
  border-bottom: 1px solid var(--accent);
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 1.25rem 1.25rem;
}

.article-body li {
  padding-left: 0.25rem;
}

.article-body strong {
  color: var(--fg);
}

.article-image {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border: 1px solid var(--border2);
  margin-bottom: 2rem;
}

.article-body p + p,
.article-body h2 + p {
  margin-top: 1.15rem;
}

.article-body h2 {
  margin-top: 2.5rem;
  color: var(--fg);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.article-aside {
  position: sticky;
  top: 86px;
  border: 1px solid var(--border2);
  background: rgba(17, 17, 16, 0.78);
  padding: 1.25rem;
}

.article-aside p {
  margin-top: 0.75rem;
  color: var(--fg2);
  font-size: 13px;
  line-height: 1.75;
}

.dynamic-copy {
  max-width: 620px;
  margin-top: 1rem;
  color: var(--fg2);
  font-size: 15px;
  line-height: 1.75;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg2);
}

.cta-band p {
  max-width: 680px;
  color: var(--fg2);
  font-weight: 300;
  line-height: 1.8;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  color: var(--fg3);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero,
  .post-grid,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .lane-grid {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 700px) {
  .page-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 1.25rem;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .section,
  .article-shell {
    padding: 3.5rem 1.25rem;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .cta-band,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
