:root {
  --bg: hsl(0 0% 6%);
  --bg2: hsl(0 0% 10%);
  --text: hsl(0 0% 98%);
  --muted: hsl(0 0% 100% / 0.62);
  --red: #cc0000;
  --red2: hsl(0 90% 45%);
  --lime: #7CFC00;
  --font-head: "Bowlby One SC", system-ui, sans-serif;
  --font-body: "Bebas Neue", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  background:
    radial-gradient(circle at 10% 8%, rgba(204, 0, 0, 0.2), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #0b0b0b 0%, #060606 100%);
}

/* Shared header styles (component-loaded) */
nav.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid hsl(0 0% 100% / 0.18);
  background: hsl(0 0% 10% / 0.7);
  backdrop-filter: blur(6px);
  z-index: 30;
}

.nav__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1060px;
  max-width: 100%;
  padding: 0.85rem 1rem;
  margin: 4px auto;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px hsl(0, 100%, 20%));
}

.brand__text {
  display: grid;
  line-height: 1.05;
  filter: drop-shadow(0 0 10px hsl(0, 100%, 30%));
}

.brand__text strong {
  font-weight: 900;
  white-space: nowrap;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.brand__text small {
  color: hsl(0 0% 100% / 0.62);
  font-weight: 700;
  white-space: nowrap;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.nav__links {
  display: inline-flex;
  gap: 0.25rem;
  flex-wrap: wrap-reverse;
  justify-content: center;
}

nav.site-header a {
  text-decoration: none;
  background: hsl(0 0% 100% / 0.06);
  color: hsl(0 0% 98%);
  font-weight: 900;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid hsl(0 0% 100% / 0.12);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

nav.site-header a.primary {
  background: var(--red);
  border-color: transparent;
}

.breadcrumbs {
  margin: 96px auto 0;
  padding: 14px 22px 0;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(0 0% 100% / 0.56);
}

.breadcrumbs a {
  color: hsl(0 0% 100% / 0.78);
  text-decoration: none;
}

.crumb-sep {
  color: hsl(0 100% 55% / 0.65);
}

.blog-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 22px 48px;
}

.blog-hero {
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: 24px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(204, 0, 0, 0.16), transparent 40%),
    rgba(8, 8, 8, 0.76);
}

.blog-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(0 0% 100% / 0.58);
}

.blog-title {
  margin: 12px 0 8px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 0.94;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-dek {
  margin: 0;
  max-width: 70ch;
  color: hsl(0 0% 100% / 0.82);
  font-size: 1.02rem;
  line-height: 1.55;
}

.posts-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.post-card {
  display: grid;
  gap: 10px;
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: 20px;
  background: hsl(0 0% 8% / 0.78);
  padding: 16px;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  border-color: hsl(0 100% 54% / 0.65);
  box-shadow: 0 10px 24px rgba(204, 0, 0, 0.2);
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(0 0% 100% / 0.55);
}

.post-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-excerpt {
  margin: 0;
  color: hsl(0 0% 100% / 0.78);
  line-height: 1.5;
  font-size: 0.97rem;
}

.post-page .article {
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: 24px;
  overflow: hidden;
  background: hsl(0 0% 8% / 0.84);
}

.post-cover {
  position: relative;
  aspect-ratio: 16 / 7.4;
  border-bottom: 1px solid hsl(0 0% 100% / 0.08);
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),
    linear-gradient(130deg, rgba(204, 0, 0, 0.2), transparent 45%);
}

.post-header {
  padding: 24px;
}

.post-header h1 {
  margin: 8px 0 10px;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 0.94;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(0 0% 100% / 0.62);
}

.meta-chip {
  border: 1px solid hsl(0 0% 100% / 0.14);
  border-radius: 999px;
  padding: 6px 10px;
  background: hsl(0 0% 100% / 0.03);
}

.article-copy {
  padding: 0 24px 28px;
  max-width: 820px;
}

.article-copy p,
.article-copy li {
  color: hsl(0 0% 100% / 0.86);
  font-size: 1.02rem;
  line-height: 1.68;
}

.article-copy h2 {
  margin: 2.8rem 0 1rem;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-copy hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(0 100% 56% / 0.65), transparent);
  margin: 2rem 0;
}

.article-copy a {
  color: var(--lime);
  text-decoration: none;
}

.article-copy a:hover {
  text-decoration: underline;
}

.article-closing {
  margin-top: 2rem;
  border: 1px solid hsl(0 100% 54% / 0.3);
  border-radius: 18px;
  padding: 16px 18px;
  background: linear-gradient(145deg, rgba(204, 0, 0, 0.16), rgba(8, 8, 8, 0.45));
}

.article-signoff {
  margin-top: 1.5rem;
  font-family: var(--font-head);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/***** Shared footer styles (component-loaded) *****/
.site-footer {
  margin-top: 6vh;
  padding: 40px 24px 64px;
  border-top: 1px solid hsl(0 0% 100% / 0.08);
  background: hsl(0 0% 0% / 0.55);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__brand img {
  width: 64px;
  height: auto;
  display: block;
}

.site-footer__brand strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__brand span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer__meta a {
  color: var(--lime);
  text-decoration: none;
  font-weight: 700;
}

.site-footer__links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-footer__links a {
  border: 1px solid hsl(0 0% 100% / 0.14);
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(0 0% 100% / 0.86);
  text-decoration: none;
}

.site-footer__links a:hover {
  border-color: hsl(0 100% 56% / 0.65);
  color: #fff;
}

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

@media (max-width: 768px) {
  .breadcrumbs {
    margin-top: 84px;
    padding-inline: 16px;
    font-size: 0.68rem;
  }

  .blog-shell {
    padding: 18px 16px 44px;
  }

  .blog-hero,
  .post-header,
  .article-copy {
    padding-inline: 16px;
  }

  .nav__content {
    justify-content: center;
    padding: 0.6rem 0.75rem;
    gap: 0.6rem;
  }

  .brand {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand__text {
    justify-items: center;
    text-align: center;
  }

  .brand__text strong {
    font-size: 1.05rem;
  }

  .brand__text small {
    font-size: 0.7rem;
  }

  .nav__links {
    width: 100%;
    justify-content: center;
  }

  nav.site-header a {
    font-size: 0.74rem;
    padding: 0.42rem 0.72rem;
  }

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