:root {
  color-scheme: light;
  --bg: #f4efe6;
  --panel: #ffffff;
  --panel-dark: #19212b;
  --text: #1e242c;
  --muted: #5d6670;
  --accent: #d14d2f;
  --border: rgba(30, 36, 44, 0.12);
  --shadow: 0 20px 50px rgba(30, 36, 44, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(209, 77, 47, 0.09), transparent 30%),
    radial-gradient(circle at top right, rgba(30, 36, 44, 0.06), transparent 26%),
    linear-gradient(180deg, #f7f2ea 0%, #f1ebdf 100%);
}

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

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

p {
  margin: 0;
}

.site-shell {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: "Belanosima", sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
}

.brand-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.site-nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 600;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--border);
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin: 0;
  padding: clamp(2rem, 4vw, 3.5rem) 0 4rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section-head h2,
.feature-title,
.blog-card h3,
.post-title,
.post-content h2,
.callout h3 {
  font-family: "Belanosima", sans-serif;
  color: var(--text);
}

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.lede {
  margin-top: 1.1rem;
  max-width: 60ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 700;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.pill-link:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 36, 44, 0.18);
  box-shadow: 0 8px 24px rgba(30, 36, 44, 0.06);
}

.pill-link.primary {
  background: var(--panel-dark);
  border-color: var(--panel-dark);
  color: #fff;
}

.pill-link.primary:hover {
  background: #111821;
  border-color: #111821;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-links .pill-link {
  font-size: 0.95rem;
}

.social-links i {
  font-size: 0.95rem;
  color: var(--accent);
}

.hero-card,
.blog-card,
.article-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(1.2rem, 2vw, 1.6rem);
  display: grid;
  gap: 1rem;
  align-content: start;
}

.hero-art {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  border-radius: calc(var(--radius-xl) - 8px);
  background:
    radial-gradient(circle at top, rgba(209, 77, 47, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 242, 233, 0.95) 100%);
  border: 1px solid rgba(30, 36, 44, 0.08);
  overflow: hidden;
}

.hero-art img {
  width: min(100%, 360px);
  filter: drop-shadow(0 18px 24px rgba(209, 77, 47, 0.14));
}

.section {
  margin: 0;
  padding: 0 0 4rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  text-wrap: balance;
}

.section-head p {
  max-width: 55ch;
  color: var(--muted);
}

.about-panel {
  margin: 0;
  max-width: 72ch;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.about-panel p {
  color: var(--text);
}

.about-panel p + p {
  margin-top: 0.9rem;
  color: var(--muted);
}

.feature-panel {
  margin: 0;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  background: var(--panel-dark);
  color: #f7f2ea;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.feature-media {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-media img {
  border-radius: 16px;
  width: 100%;
}

.feature-copy {
  display: grid;
  gap: 1rem;
}

.feature-copy p {
  color: rgba(247, 242, 234, 0.88);
  max-width: 58ch;
}

.feature-copy .actions {
  margin-top: 0.25rem;
}

.feature-copy .pill-link {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-color: transparent;
}

.feature-copy .pill-link.primary {
  background: #f7f2ea;
  color: var(--panel-dark);
}

.steam-widget {
  margin-top: 1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.steam-widget iframe {
  display: block;
  width: 100%;
  border: 0;
}

.blog-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.blog-card-media {
  background: #1c232c;
  min-height: 100%;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: clamp(1.2rem, 2vw, 1.6rem);
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.blog-card-body h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.02;
}

.blog-card-body p {
  color: var(--muted);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-meta span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(30, 36, 44, 0.05);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0 0 3rem;
  color: var(--muted);
}

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

.post-shell {
  padding: 0;
  padding-bottom: 3rem;
}

.post-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0 0.75rem;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.article-card {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.post-hero {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.post-hero img {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #1c232c;
}

.post-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 0.96;
  max-width: 15ch;
  text-wrap: balance;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.post-content {
  display: grid;
  gap: 1rem;
  max-width: 72ch;
}

.post-content h2 {
  margin: 1.5rem 0 0.25rem;
  font-size: 1.8rem;
  line-height: 1;
}

.post-content figure {
  margin: 1.25rem 0 0;
}

.post-content figure img {
  border-radius: 18px;
  border: 1px solid var(--border);
}

.post-content figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.callout {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(209, 77, 47, 0.18);
  background: linear-gradient(180deg, rgba(209, 77, 47, 0.08), rgba(209, 77, 47, 0.03));
}

.callout h3 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.callout p {
  color: var(--muted);
}

.signature {
  margin-top: 0.5rem;
  font-family: "Belanosima", sans-serif;
  font-size: 1.1rem;
  color: var(--text);
}

@media (max-width: 900px) {
  .hero,
  .feature-grid,
  .blog-card {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-nav,
  .section-head,
  .site-footer,
  .post-top {
    align-items: flex-start;
  }

  .section-head,
  .site-footer,
  .post-top {
    flex-direction: column;
  }

  .hero h1 {
    max-width: 11ch;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(var(--content-width), calc(100% - 1.2rem));
  }

  .site-header {
    padding-top: 1rem;
  }

  .hero {
    padding-top: 1.25rem;
  }

  .hero-card,
  .feature-panel,
  .article-card,
  .blog-card-body {
    border-radius: 22px;
  }

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

  .post-title {
    max-width: 10ch;
  }
}
