:root {
  --text: #ece6db;
  --muted: #b6afa3;
  --rule: rgba(236,230,219,0.11);
  --rule-soft: rgba(236,230,219,0.07);
  --accent: #c92f23;
  --accent-2: #e84231;
  --shadow: 0 24px 70px rgba(0,0,0,0.34);
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Exo 2", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.035), transparent 30%),
    linear-gradient(180deg, #070808 0%, #0a0b0b 100%);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
main a:hover, .devlog-footer a:hover { color: var(--accent-2); }

.site-header {
  border-bottom: 1px solid var(--rule-soft);
  background: rgba(8,9,9,0.8);
}
.site-header-inner {
  width: min(calc(100% - 56px), 960px);
  margin: 0 auto;
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-header a { text-decoration: none; }
.brand-lockup { display: flex; align-items: center; gap: 22px; min-width: 0; }
.site-header-inner { justify-content: space-between; }
.subnav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.subnav a {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}
.subnav a:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.brand-mark {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16), 0 10px 24px rgba(216,90,52,0.22);
}
.brand-text { display: flex; flex-direction: column; justify-content: center; }
.header-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: clamp(2.3rem, 4.1vw, 4.2rem);
  line-height: 0.88;
}
.header-sub {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.2;
  margin-top: 12px;
  letter-spacing: 0.005em;
}

.page {
  width: min(calc(100% - 56px), 760px);
  margin: 0 auto;
  padding: 64px 0 96px;
}

.devlog-kicker {
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.018em;
  font-size: clamp(2rem, 5.5vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 10px;
}
.entry-date {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.018em;
  font-size: 1.65rem;
  line-height: 1.25;
  margin: 56px 0 16px;
}
h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 40px 0 12px;
}
p { margin: 0 0 18px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 10px; }
strong { color: #fff; font-weight: 600; }
em { color: var(--text); }

hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 44px 0;
}

.day-one {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 60px 0;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.day-one::before, .day-one::after {
  content: "";
  flex: 1;
  border-top: 1px solid rgba(232,66,49,0.35);
}

.entry-list { list-style: none; padding: 0; margin: 0; }
.entry-card {
  display: block;
  text-decoration: none;
  padding: 30px 32px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008));
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
  margin-bottom: 22px;
}
.entry-card:hover, .entry-card:focus-visible {
  border-color: rgba(232,66,49,0.5);
  color: inherit;
  outline: none;
}
.entry-card-kicker {
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.entry-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 8px;
}
.entry-card-summary { color: var(--muted); font-size: 0.96rem; }

.devlog-footer {
  border-top: 1px solid var(--rule-soft);
  color: var(--muted);
  font-size: 0.85rem;
}
.devlog-footer-inner {
  width: min(calc(100% - 56px), 760px);
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.devlog-footer a { text-decoration: none; }

@media (max-width: 780px) {
  .site-header-inner {
    width: min(calc(100% - 28px), 960px);
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }
  .subnav { justify-content: flex-start; }
  .header-wordmark { font-size: clamp(2.1rem, 10vw, 3rem); line-height: 0.9; }
}

@media (max-width: 600px) {
  .page { padding: 44px 0 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-card { transition: none; }
}
