:root {
  --paper: #f2f1ed;
  --ink: #111111;
  --muted: #6f6d68;
  --line: rgba(17, 17, 17, 0.12);
  --red: #ff3d2d;
  --red-dark: #c92319;
  --white: #fbfaf7;
  --shadow: 0 28px 80px rgba(17, 17, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  background:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 12px clamp(16px, 3vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 241, 237, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.mobile-menu,
.mobile-menu-button,
.subscribe-button,
.hero-actions,
.section-heading a,
.lab-panel a {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
}

.nav-links a.is-active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.subscribe-button {
  justify-self: end;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.mobile-menu-button,
.mobile-menu {
  display: none;
}

.mobile-menu-button {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu {
  position: sticky;
  top: 58px;
  z-index: 19;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.mobile-menu a {
  min-height: 48px;
  padding: 16px;
  border-right: 1px solid rgba(251, 250, 247, 0.18);
  border-bottom: 1px solid rgba(251, 250, 247, 0.18);
  font-size: 12px;
  font-weight: 700;
}

.hero-shell {
  padding: clamp(10px, 2vw, 26px);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 92px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ddd9d2;
  box-shadow: var(--shadow);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(242, 241, 237, 0.96) 0%, rgba(242, 241, 237, 0.82) 36%, rgba(242, 241, 237, 0.08) 78%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.2), transparent 42%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 52% 0 40%;
  z-index: 1;
  background: rgba(255, 61, 45, 0.84);
  mix-blend-mode: multiply;
}

.hero::after {
  content: "KORVO";
  position: absolute;
  right: 34px;
  top: 84px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(17, 17, 17, 0.72);
}

.hero-meta {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.pill {
  padding: 8px 12px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(700px, 100%);
  max-width: 700px;
  padding: clamp(120px, 17vw, 210px) clamp(18px, 5vw, 72px) 64px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--red-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(76px, 11.5vw, 164px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: 0;
}

.hero-copy p:not(.kicker) {
  max-width: 520px;
  margin: 28px 0 0;
  color: #2f2d29;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 650;
  line-height: 1.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero-actions a + a {
  background: transparent;
  color: var(--ink);
}

.feature-card {
  position: absolute;
  right: clamp(18px, 7vw, 110px);
  bottom: clamp(22px, 6vw, 78px);
  z-index: 3;
  width: min(340px, calc(100% - 36px));
  padding: 22px;
  background: var(--red);
  box-shadow: 14px 14px 0 var(--ink);
}

.feature-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.feature-card span,
.feature-card p {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.feature-card strong {
  display: block;
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 0.95;
}

.feature-card p {
  margin: 0;
  line-height: 1.35;
}

.marquee {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.marquee span {
  min-width: 0;
  padding: 18px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 118px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 34px;
  padding-top: 10px;
}

.section-heading p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading h2,
.lab-copy h2,
.split-section h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 900;
  line-height: 0.96;
}

.section-heading a {
  align-self: center;
  color: var(--muted);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.post-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(90deg, rgba(255, 61, 45, 0.9) 0 32%, transparent 32% 68%, rgba(255, 61, 45, 0.9) 68%),
    #dad6cd;
  color: var(--ink);
}

.post-visual span {
  padding: 10px 18px;
  border: 2px solid rgba(17, 17, 17, 0.7);
  background: rgba(242, 241, 237, 0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(34px, 5vw, 74px);
  font-weight: 700;
  line-height: 0.9;
}

.post-visual-soft {
  background:
    radial-gradient(circle at 22% 30%, rgba(255, 61, 45, 0.35), transparent 32%),
    radial-gradient(circle at 75% 65%, rgba(17, 17, 17, 0.14), transparent 30%),
    #e5dfd4;
}

.post-card-dark .post-visual {
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.95), rgba(17, 17, 17, 0.7)),
    #333;
}

.post-card-dark .post-visual span {
  border-color: rgba(251, 250, 247, 0.82);
  color: var(--white);
  background: transparent;
}

.post-content {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.tag {
  padding: 7px 10px;
  background: rgba(17, 17, 17, 0.72);
}

.post-content h3 {
  min-height: 3.1em;
  margin: 0;
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 850;
  line-height: 1.02;
}

.post-content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.35;
}

.post-content footer {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.lab-section {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) 1fr minmax(260px, 0.56fr);
  gap: clamp(20px, 4vw, 70px);
  align-items: center;
  padding: clamp(50px, 7vw, 90px) clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.lab-number {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(70px, 11vw, 150px);
  font-weight: 900;
  line-height: 0.8;
}

.lab-copy .kicker {
  color: var(--red);
}

.lab-panel {
  padding: 26px;
  border: 1px solid rgba(251, 250, 247, 0.2);
  background: rgba(251, 250, 247, 0.07);
}

.lab-panel span {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.lab-panel p {
  margin: 28px 0;
  color: rgba(251, 250, 247, 0.78);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.32;
}

.lab-panel a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(24px, 6vw, 92px);
  align-items: start;
}

.split-section > p {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 760;
  line-height: 1.02;
}

.learning-grid,
.archive-grid,
.principles-grid,
.education-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.learning-grid article,
.archive-grid article,
.principles-grid article,
.education-grid article {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.72);
}

.learning-grid span,
.archive-grid span,
.principles-grid span,
.education-grid span,
.project-panels span,
.side-index span,
.contact-panel span {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--red-dark);
  text-transform: uppercase;
}

.learning-grid h3,
.archive-grid h2,
.principles-grid h3,
.education-grid h3 {
  margin: 18px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  line-height: 0.95;
}

.archive-grid p,
.principles-grid p,
.education-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 560;
  line-height: 1.32;
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  min-height: 460px;
  margin: clamp(10px, 2vw, 26px);
  padding: clamp(34px, 7vw, 96px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(242, 241, 237, 0.95), rgba(242, 241, 237, 0.64)),
    url("assets/korvo-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 58% 0 42%;
  background: rgba(255, 61, 45, 0.8);
  mix-blend-mode: multiply;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(64px, 10vw, 156px);
  font-weight: 900;
  line-height: 0.78;
}

.page-hero > p {
  margin: 0;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 760;
  line-height: 1;
}

.compact-hero h1,
.archive-hero h1,
.about-hero h1,
.contact-hero h1 {
  max-width: 12ch;
}

.library-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
}

.library-hero h1 {
  max-width: 9ch;
  font-size: clamp(52px, 7vw, 104px);
}

.issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: stretch;
}

.lead-post {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  padding: clamp(20px, 4vw, 46px);
  border: 1px solid var(--line);
  background: var(--white);
}

.lead-post-link {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: stretch;
  color: inherit;
}

.lead-post-link > div:last-child {
  min-width: 0;
}

.lead-visual {
  min-height: 380px;
  overflow: hidden;
  background: var(--white);
}

.lead-visual .database-placeholder {
  min-height: 420px;
}

.lead-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
}

.lead-post h2 {
  margin: 24px 0 18px;
  max-width: 24ch;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 900;
  line-height: 1;
}

.lead-post p {
  margin: 0;
  max-width: 620px;
  color: #2f2d29;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 650;
  line-height: 1.14;
}

.lead-post footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.side-index {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: var(--ink);
  color: var(--white);
}

.side-index span {
  color: var(--red);
}

.side-index a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(251, 250, 247, 0.18);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

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

.post-visual-lines {
  background:
    linear-gradient(rgba(17, 17, 17, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.12) 1px, transparent 1px),
    #dedad1;
  background-size: 24px 24px;
}

.archive-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--white);
}

.archive-band span {
  min-width: 0;
  padding: 22px 12px;
  border-right: 1px solid rgba(251, 250, 247, 0.16);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.archive-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-block: clamp(42px, 6vw, 74px);
}

.archive-search {
  padding-top: clamp(42px, 6vw, 74px);
}

.archive-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.archive-intro article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.72);
}

.archive-intro span,
.archive-status a,
.archive-quick-filters button {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.archive-intro span {
  color: var(--red-dark);
}

.archive-intro p {
  margin: 12px 0 0;
  color: #2f2d29;
  font-size: 18px;
  font-weight: 640;
  line-height: 1.24;
}

.archive-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.archive-quick-filters button {
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 13px;
  cursor: pointer;
}

.archive-quick-filters button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.archive-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 14px;
  margin-bottom: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: var(--white);
}

.archive-tools label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.archive-tools input,
.archive-tools select,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f7f5ef;
  color: var(--ink);
  font: 650 18px/1.2 "Archivo", system-ui, sans-serif;
  padding: 16px;
}

.archive-count {
  margin: 0;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.archive-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.archive-status a {
  color: var(--red-dark);
}

.archive-empty {
  grid-column: 1 / -1;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.archive-empty h3 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 900;
  line-height: 0.94;
}

.archive-empty p {
  max-width: 54ch;
  margin: 18px 0 0;
  color: rgba(251, 250, 247, 0.72);
  font-size: 18px;
  font-weight: 620;
  line-height: 1.28;
}

.archive-callout h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.86;
}

.archive-callout a,
.database-heading a,
.post-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--ink);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.posts-database {
  padding-top: clamp(38px, 6vw, 72px);
}

.database-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.database-heading p {
  margin: 0;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.database-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.archive-results {
  align-items: stretch;
}

.archive-results .database-card figure {
  aspect-ratio: 16 / 10;
}

.archive-results .database-card h2 {
  font-size: clamp(18px, 1.3vw, 21px);
}

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

.database-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.database-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
}

.database-card figure {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #dedad1;
}

.database-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

.database-card div:not(.database-placeholder) {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.database-card span {
  color: var(--red-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.database-card h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 900;
  line-height: 1.06;
}

.database-card p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.database-placeholder,
.article-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 190px;
  background:
    linear-gradient(rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    var(--ink);
  background-size: 22px 22px;
  color: var(--white);
}

.database-placeholder span,
.article-placeholder span {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
}

.article-page {
  padding-bottom: clamp(52px, 8vw, 110px);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
  align-items: stretch;
  width: min(1180px, calc(100% - 32px));
  margin: clamp(18px, 3vw, 42px) auto 0;
}

.article-hero > div {
  display: grid;
  align-content: end;
  min-width: 0;
  min-height: 440px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--ink);
  color: var(--white);
}

.article-hero h1 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.article-hero > div > p:not(.kicker) {
  margin: 24px 0 0;
  color: rgba(251, 250, 247, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 640;
  line-height: 1.18;
}

.article-hero time {
  margin-top: 22px;
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-image {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
}

.article-image > img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.post-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-placeholder {
  min-height: 440px;
}

.article-placeholder strong {
  align-self: start;
  color: var(--red);
  font-size: clamp(38px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.8;
}

.article-body {
  width: min(760px, calc(100% - 32px));
  margin: clamp(46px, 7vw, 90px) auto 0;
}

.article-body p {
  margin: 0 0 24px;
  color: #2f2d29;
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 560;
  line-height: 1.48;
}

.library-section {
  padding-top: clamp(48px, 7vw, 92px);
}

.library-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: clamp(22px, 4vw, 52px);
  width: min(1320px, calc(100% - 52px));
  margin: clamp(18px, 3vw, 36px) auto 0;
  padding: clamp(24px, 5vw, 68px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.library-download-copy {
  display: grid;
  align-content: end;
}

.library-download-copy .kicker {
  color: var(--red);
}

.library-download-copy h2 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(64px, 10vw, 156px);
  font-weight: 900;
  line-height: 0.78;
}

.library-download-copy > p {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(251, 250, 247, 0.78);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 720;
  line-height: 1.02;
}

.download-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.download-facts span {
  padding: 9px 11px;
  border: 1px solid rgba(251, 250, 247, 0.22);
  color: rgba(251, 250, 247, 0.86);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.download-form {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--red);
  box-shadow: 14px 14px 0 rgba(251, 250, 247, 0.18);
}

.download-form > span {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.download-form h3 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 900;
  line-height: 0.88;
}

.download-form p {
  margin: 0;
  color: rgba(17, 17, 17, 0.78);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.22;
}

.download-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.download-form input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 0;
  background: rgba(251, 250, 247, 0.92);
  color: var(--ink);
  font: 650 18px/1.2 "Archivo", system-ui, sans-serif;
  padding: 15px;
}

.download-form button,
.download-ready-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 0 18px;
  cursor: pointer;
}

.download-ready-link {
  background: var(--white);
  color: var(--ink);
}

.download-form .subscribe-status {
  color: rgba(17, 17, 17, 0.76);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.library-grid article {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
}

.library-grid article.is-featured {
  background: var(--red);
  box-shadow: 12px 12px 0 var(--ink);
}

.library-grid span {
  color: var(--red-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.library-grid h3 {
  margin: 20px 0 16px;
  font-size: clamp(25px, 2.35vw, 34px);
  font-weight: 900;
  line-height: 1.04;
}

.library-grid p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 560;
  line-height: 1.32;
}

.library-grid button,
.library-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.library-button {
  color: var(--ink);
}

.pillars-module {
  padding-top: clamp(42px, 6vw, 76px);
}

.module-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: end;
  margin-bottom: 22px;
}

.module-intro h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(58px, 8vw, 118px);
  font-weight: 900;
  line-height: 0.86;
}

.module-intro > p:not(.kicker) {
  margin: 0;
  color: #2f2d29;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 720;
  line-height: 1.12;
}

.pillar-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.pillar-list article {
  min-width: 0;
  min-height: 280px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  background: var(--white);
}

.pillar-list article:first-child {
  grid-column: span 2;
}

.pillar-list article:not(:first-child) {
  grid-column: span 2;
}

.pillar-list article:nth-child(2n) {
  background: var(--ink);
  color: var(--white);
}

.pillar-list span {
  color: var(--red-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.pillar-list h3 {
  max-width: 11ch;
  margin: 34px 0 16px;
  font-size: clamp(30px, 2.6vw, 48px);
  font-weight: 900;
  line-height: 0.96;
}

.pillar-list article:nth-child(4) h3 {
  max-width: 14ch;
  font-size: clamp(28px, 2.25vw, 40px);
}

.pillar-list p {
  max-width: 30ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.28;
}

.pillar-list article:nth-child(2n) p {
  color: #d8d5cc;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(760px, calc(100% - 32px));
  margin: 18px auto 0;
}

.article-tags span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.72);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, calc(100% - 32px));
  margin: 34px auto 0;
}

.profile-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(26px, 6vw, 86px);
  align-items: center;
}

.profile-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  color: var(--white);
  font-size: clamp(90px, 12vw, 170px);
  font-weight: 900;
  box-shadow: 18px 18px 0 var(--red);
}

.profile-section h2 {
  margin: 0;
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.82;
}

.profile-section p:not(.kicker) {
  margin: 24px 0 0;
  color: #2f2d29;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 680;
  line-height: 1.06;
}

.story-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.story-copy {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 520px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--ink);
  color: var(--white);
}

.story-copy .kicker {
  color: var(--red);
}

.story-copy h2 {
  margin: 0;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 0.88;
  overflow-wrap: anywhere;
}

.story-copy p {
  margin: 24px 0 0;
  color: rgba(251, 250, 247, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 640;
  line-height: 1.18;
}

.story-image {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d6d1c9;
}

.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(17, 17, 17, 0.64), transparent 42%),
    linear-gradient(90deg, rgba(255, 61, 45, 0.18), transparent 36%);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.02);
}

.story-image figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  max-width: calc(100% - 36px);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.sotatsu-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.sotatsu-feature > div,
.sotatsu-feature figure {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
}

.sotatsu-feature > div {
  background: var(--white);
}

.sotatsu-feature h2 {
  margin: 0;
  font-size: clamp(48px, 6.4vw, 86px);
  font-weight: 900;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.sotatsu-feature p {
  margin: 24px 0 0;
  color: #2f2d29;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 660;
  line-height: 1.18;
}

.sotatsu-feature a {
  display: inline-flex;
  margin-top: 28px;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  background: var(--ink);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.sotatsu-feature figure {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
  background: var(--ink);
  box-shadow: 18px 18px 0 var(--ink);
}

.sotatsu-feature figure img {
  width: 100%;
  height: 100%;
  min-height: 452px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.sotatsu-feature figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  background: rgba(17, 17, 17, 0.76);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.timeline-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.46fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 74px);
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.timeline-heading {
  position: sticky;
  top: 88px;
  align-self: start;
  min-width: 0;
  overflow: hidden;
}

.timeline-heading .kicker {
  color: var(--red);
}

.timeline-heading h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 900;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.timeline-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(251, 250, 247, 0.18);
}

.timeline-list article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(251, 250, 247, 0.18);
}

.timeline-list span {
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.timeline-list h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
  line-height: 0.94;
}

.timeline-list p {
  grid-column: 2;
  margin: -8px 0 0;
  color: rgba(251, 250, 247, 0.72);
  font-size: 17px;
  font-weight: 560;
  line-height: 1.32;
}

.project-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-panels article {
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  background: var(--white);
}

.project-panels article:nth-child(2) {
  background: var(--red);
  box-shadow: 18px 18px 0 var(--ink);
}

.project-panels h3 {
  margin: 24px 0 18px;
  max-width: 100%;
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 900;
  line-height: 0.98;
  overflow-wrap: anywhere;
  word-break: normal;
}

.project-panels p {
  max-width: 32ch;
  margin: 0;
  color: #2f2d29;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.22;
}

.project-panels a {
  display: inline-flex;
  max-width: 100%;
  margin-top: 28px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.skills-wall {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.skills-wall .kicker {
  color: var(--red);
}

.skills-wall div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-wall span {
  padding: 12px 14px;
  border: 1px solid rgba(251, 250, 247, 0.2);
  color: rgba(251, 250, 247, 0.86);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.post-concept {
  position: relative;
  display: grid;
  gap: 22px;
  width: min(1320px, calc(100% - 52px));
  margin: clamp(26px, 4vw, 58px) auto;
  padding: clamp(22px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.82);
  box-shadow: 0 20px 70px rgba(17, 17, 17, 0.1);
}

.post-concept::before {
  content: "";
  position: absolute;
  inset: auto 0 18% 0;
  height: 28%;
  background: rgba(255, 61, 45, 0.86);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.post-concept > * {
  position: relative;
  z-index: 1;
}

.concept-label,
.concept-copy span {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.concept-label {
  grid-column: 1 / -1;
  color: var(--red-dark);
}

.concept-copy span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.concept-copy h2 {
  margin: 22px 0 18px;
  font-size: clamp(48px, 8vw, 124px);
  font-weight: 900;
  line-height: 0.82;
}

.concept-copy p {
  max-width: 620px;
  margin: 0;
  color: #2f2d29;
  font-size: clamp(19px, 2.4vw, 28px);
  font-weight: 680;
  line-height: 1.08;
}

.concept-copy a {
  display: inline-flex;
  margin-top: 28px;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  background: var(--ink);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.post-concept figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e4dfd5;
}

.post-concept img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.concept-one {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: center;
}

.concept-one figure {
  height: 500px;
}

.concept-two {
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1fr);
  align-items: end;
  background: var(--ink);
  color: var(--white);
}

.concept-two::before {
  inset: 0 0 auto 42%;
  height: 100%;
}

.concept-two .concept-copy p {
  color: rgba(251, 250, 247, 0.78);
}

.concept-two .concept-copy a {
  background: var(--white);
  color: var(--ink);
}

.concept-two figure {
  height: 620px;
}

.concept-three {
  min-height: 720px;
  align-items: end;
}

.concept-three figure {
  position: absolute;
  inset: 0;
}

.concept-three figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(242, 241, 237, 0.94), rgba(242, 241, 237, 0.36) 58%, rgba(242, 241, 237, 0.08));
}

.concept-three .concept-copy {
  max-width: 720px;
}

.concept-four {
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  align-items: stretch;
  background:
    linear-gradient(rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    var(--white);
  background-size: 34px 34px;
}

.concept-four figure {
  min-height: 520px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 20px;
  align-items: stretch;
}

.contact-form,
.contact-panel {
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f7f5ef;
  color: var(--ink);
  font: 650 18px/1.2 "Archivo", system-ui, sans-serif;
  padding: 16px;
}

.contact-form textarea {
  resize: vertical;
}

.subscribe-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.contact-form button {
  width: fit-content;
  min-height: 48px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 0 18px;
  cursor: pointer;
}

.mini-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mini-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.mini-form input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.28);
  background: rgba(251, 250, 247, 0.92);
  color: var(--ink);
  font: 650 16px/1.2 "Archivo", system-ui, sans-serif;
  padding: 13px 14px;
}

.mini-form button {
  width: fit-content;
  min-height: 44px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  width: min(560px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(251, 250, 247, 0.22);
  background: var(--ink);
  color: var(--white);
  box-shadow: 12px 12px 0 rgba(17, 17, 17, 0.2);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.cookie-banner p {
  margin: 0;
  color: rgba(251, 250, 247, 0.76);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.3;
}

.cookie-banner > div:last-child {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cookie-banner button {
  min-height: 38px;
  border: 1px solid rgba(251, 250, 247, 0.35);
  background: transparent;
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
}

.cookie-banner [data-cookie-accept] {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.contact-panel {
  background: var(--red);
  box-shadow: 18px 18px 0 var(--ink);
}

.contact-panel span {
  color: var(--ink);
}

.contact-panel h2 {
  margin: 32px 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  line-height: 0.86;
}

.contact-panel p {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.2;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  padding: 12px 14px;
  border: 1px solid var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu.is-open {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100% - 32px);
    max-width: 960px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(242, 241, 237, 0.96) 0%, rgba(242, 241, 237, 0.72) 46%, rgba(17, 17, 17, 0.15) 100%);
  }

  .hero::before {
    inset: 42% 0 28% 0;
  }

  .hero-copy {
    padding-top: 112px;
  }

  .feature-card {
    left: 18px;
    right: 18px;
  }

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

  .post-grid,
  .learning-grid,
  .archive-grid,
  .library-grid,
  .library-download,
  .principles-grid,
  .education-grid,
  .database-grid,
  .lab-section,
  .split-section,
  .page-hero,
  .issue-layout,
  .lead-post,
  .lead-post-link,
  .profile-section,
  .story-feature,
  .sotatsu-feature,
  .timeline-section,
  .timeline-list article,
  .project-panels,
  .module-intro,
  .archive-callout,
  .archive-intro,
  .archive-tools,
  .article-hero,
  .contact-grid,
  .post-concept,
  .concept-one,
  .concept-two,
  .concept-four {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 520px;
  }

  .page-hero::before {
    inset: 44% 0 28% 0;
  }

  .lead-visual {
    min-height: 280px;
  }

  .timeline-heading {
    position: static;
  }

  .timeline-list p {
    grid-column: 1;
    margin-top: 0;
  }

  .story-image {
    min-height: 360px;
  }

  .article-hero > div,
  .article-image,
  .article-image > img,
  .article-placeholder {
    min-height: 420px;
  }

  .sotatsu-feature figure,
  .sotatsu-feature figure img {
    min-height: 360px;
  }

  .concept-one figure,
  .concept-two figure,
  .concept-four figure {
    height: 360px;
    min-height: 0;
  }

  .concept-three {
    min-height: 620px;
  }

  .archive-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-tools {
    grid-template-columns: 1fr;
  }

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

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

  .pillar-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-number {
    writing-mode: initial;
    transform: none;
  }
}

@media (max-width: 560px) {
  .section {
    width: calc(min(100vw, 390px) - 32px);
    max-width: calc(min(100vw, 390px) - 32px);
    margin-inline: 16px;
    overflow: hidden;
  }

  .site-header {
    width: min(100vw, 390px);
    min-height: 58px;
    padding-inline: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .subscribe-button {
    padding-inline: 12px;
  }

  .mobile-menu-button {
    padding-inline: 12px;
  }

  .mobile-menu.is-open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(min(100vw, 390px) - 16px);
  }

  .hero-shell {
    width: min(100vw, 390px);
    max-width: min(100vw, 390px);
    padding: 8px;
  }

  .hero {
    width: calc(min(100vw, 390px) - 16px);
    max-width: calc(min(100vw, 390px) - 16px);
    min-height: 720px;
    border-radius: 8px;
  }

  .hero::after {
    right: 16px;
    top: 74px;
  }

  .hero-meta {
    left: 16px;
    right: 16px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: clamp(62px, 22vw, 86px);
  }

  .hero-copy p:not(.kicker) {
    width: min(calc(100vw - 64px), 326px);
    max-width: min(calc(100vw - 64px), 326px);
    font-size: 18px;
    line-height: 1.02;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100vw - 64px), 326px);
    max-width: min(calc(100vw - 64px), 326px);
  }

  .hero-actions a {
    min-width: 0;
    padding-inline: 10px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .marquee {
    width: min(100vw, 390px);
    grid-template-columns: repeat(2, 1fr);
  }

  .post-content h3 {
    min-height: auto;
  }

  .page-hero {
    width: calc(min(100vw, 390px) - 16px);
    min-height: 560px;
    margin: 8px;
    padding: 28px 16px;
  }

  .library-download {
    width: calc(min(100vw, 390px) - 16px);
    margin: 8px;
    padding: 22px 16px;
  }

  .library-download-copy h2 {
    font-size: clamp(46px, 14vw, 60px);
    line-height: 0.84;
  }

  .library-download-copy > p {
    font-size: 20px;
  }

  .download-form {
    padding: 20px 16px;
  }

  .download-form button,
  .download-ready-link {
    width: 100%;
  }

  .page-hero h1 {
    max-width: 9ch;
    font-size: clamp(46px, 14vw, 60px);
    line-height: 0.84;
  }

  .library-hero h1 {
    max-width: 8ch;
    font-size: clamp(38px, 12vw, 52px);
  }

  .page-hero > p {
    font-size: 20px;
  }

  .archive-band {
    width: min(100vw, 390px);
  }

  .archive-intro {
    grid-template-columns: 1fr;
  }

  .archive-quick-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-quick-filters button {
    min-width: 0;
    padding-inline: 8px;
  }

  .archive-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .archive-callout,
  .archive-search,
  .posts-database,
  .article-hero,
  .article-body,
  .article-tags,
  .post-nav {
    width: calc(min(100vw, 390px) - 32px);
    max-width: calc(min(100vw, 390px) - 32px);
  }

  .database-heading,
  .post-nav {
    grid-template-columns: 1fr;
  }

  .database-heading {
    display: grid;
  }

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

  .library-grid,
  .library-download,
  .pillar-list,
  .archive-tools {
    grid-template-columns: 1fr;
  }

  .module-intro {
    grid-template-columns: 1fr;
  }

  .download-form {
    align-content: start;
  }

  .module-intro h2 {
    max-width: 8ch;
    font-size: clamp(44px, 14vw, 62px);
  }

  .pillar-list article {
    min-height: 0;
  }

  .profile-mark {
    width: min(220px, 68vw);
  }

  .profile-section h2,
  .story-copy h2,
  .timeline-heading h2,
  .project-panels h3 {
    max-width: 9ch;
    font-size: clamp(40px, 12vw, 52px);
    line-height: 0.9;
  }

  .profile-section p:not(.kicker),
  .story-copy p {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.1;
  }

  .timeline-list h3 {
    font-size: 28px;
  }

  .story-image {
    min-height: 310px;
  }

  .article-hero > div,
  .article-image,
  .article-image > img,
  .article-placeholder {
    min-height: 300px;
  }

  .article-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 0.94;
  }

  .article-body p {
    font-size: 19px;
  }

  .sotatsu-feature figure,
  .sotatsu-feature figure img {
    min-height: 300px;
  }

  .timeline-section,
  .skills-wall {
    width: min(100vw, 390px);
  }

  .contact-form button {
    width: 100%;
  }

  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .cookie-banner > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .post-concept {
    width: calc(min(100vw, 390px) - 16px);
    margin: 28px 8px;
    padding: 18px;
  }

  .concept-copy h2 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 0.9;
  }

  .concept-copy p {
    font-size: 19px;
  }

  .concept-one figure,
  .concept-two figure,
  .concept-four figure {
    height: 280px;
  }
}

body.korvo-post .article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: stretch;
  width: min(1320px, calc(100% - 52px));
  margin: clamp(10px, 2vw, 26px) auto 0;
  padding: clamp(24px, 5vw, 68px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

body.korvo-post .article-hero .kicker {
  color: var(--red);
}

body.korvo-post .article-hero-copy {
  display: grid;
  align-content: end;
}

body.korvo-post .article-hero h1 {
  max-width: 12.5ch;
  margin: 0;
  font-size: clamp(58px, 9.4vw, 142px);
  font-weight: 900;
  line-height: 0.78;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

body.korvo-post .article-hero h1.is-long-title {
  max-width: 14ch;
  font-size: clamp(48px, 7.2vw, 108px);
  line-height: 0.84;
}

body.korvo-post .article-hero-compact h1 {
  max-width: 100%;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.9;
}

body.korvo-post .article-hero-compact .article-hero-copy > p:not(.kicker) {
  max-width: 100%;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.08;
}

body.korvo-post .article-hero-copy > p:not(.kicker) {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(251, 250, 247, 0.78);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 720;
  line-height: 1.02;
}

body.korvo-post .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

body.korvo-post .article-meta span {
  padding: 9px 11px;
  border: 1px solid rgba(251, 250, 247, 0.22);
  color: rgba(251, 250, 247, 0.86);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

body.korvo-post .article-cover {
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(251, 250, 247, 0.22);
  background: #d8d5cc;
}

body.korvo-post .article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
}

body.korvo-post .article-cover.is-wide {
  align-self: center;
  min-height: 0;
  aspect-ratio: 2 / 1;
}

body.korvo-post .article-cover.is-wide img {
  object-fit: cover;
  object-position: center center;
  opacity: 0.9;
  background: #ece7dc;
}

body.korvo-post .article-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 78px);
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0;
}

body.korvo-post .article-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 24px;
  background: var(--red);
  box-shadow: 14px 14px 0 var(--ink);
}

body.korvo-post .article-sidebar span,
body.korvo-post .source-note span {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

body.korvo-post .article-sidebar p {
  margin: 28px 0;
  font-size: 21px;
  font-weight: 760;
  line-height: 1.04;
}

body.korvo-post .article-sidebar a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  background: var(--ink);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

body.korvo-post .article-sidebar a + a {
  margin-top: 10px;
}

body.korvo-post .article-body {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.86);
}

body.korvo-post .article-body h2 {
  margin: 54px 0 18px;
  font-size: clamp(34px, 4.8vw, 66px);
  font-weight: 900;
  line-height: 0.9;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

body.korvo-post .article-body h2:first-child {
  margin-top: 0;
}

body.korvo-post .article-body p {
  margin: 0 0 20px;
  color: #2f2d29;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 560;
  line-height: 1.42;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

body.korvo-post .article-body p a,
body.korvo-post .article-body figcaption a {
  color: var(--red-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

body.korvo-post .article-body blockquote {
  margin: 36px 0;
  padding: clamp(22px, 4vw, 38px);
  border-left: 8px solid var(--red);
  background: var(--ink);
  color: var(--white);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 0.95;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

body.korvo-post .article-inline-image {
  margin: 34px 0 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 12px 12px 0 rgba(17, 17, 17, 0.13);
}

body.korvo-post .article-inline-image img {
  display: block;
  width: 100%;
  height: auto;
}

body.korvo-post .article-inline-image figcaption {
  margin: 0;
  padding: 16px 18px 18px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

body.korvo-post .article-media {
  margin: 42px 0;
  border: 1px solid var(--line);
  background: var(--ink);
}

body.korvo-post .article-media img {
  display: block;
  width: 100%;
  height: auto;
}

body.korvo-post .article-media video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--ink);
}

body.korvo-post .article-media figcaption {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(251, 250, 247, 0.16);
  color: rgba(251, 250, 247, 0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

body.korvo-post .article-card,
body.korvo-post .metric-card {
  margin: 28px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(24, 23, 20, 0.12);
}

body.korvo-post .article-card span,
body.korvo-post .metric-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--red-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

body.korvo-post .article-card h3,
body.korvo-post .metric-card strong {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 0.98;
}

body.korvo-post .article-card p,
body.korvo-post .metric-card p {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.42;
}

body.korvo-post .metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 32px 0;
}

body.korvo-post .metric-card {
  display: grid;
  align-content: start;
  min-height: 190px;
  min-width: 0;
  margin: 0;
  box-shadow: none;
}

body.korvo-post .article-footer {
  display: grid;
  gap: 22px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

body.korvo-post .source-note {
  display: grid;
  gap: 8px;
}

body.korvo-post .source-note span {
  color: var(--red-dark);
}

body.korvo-post .source-note a {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

body.korvo-post .hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.korvo-post .hashtags span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

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

  body.korvo-post .article-cover {
    min-height: 440px;
  }

  body.korvo-post .article-sidebar {
    position: static;
  }

  body.korvo-post .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.korvo-post .article-hero {
    width: calc(min(100vw, 390px) - 16px);
    margin: 8px;
    padding: 22px 16px;
  }

  body.korvo-post .article-hero h1 {
    max-width: 9ch;
    font-size: clamp(42px, 13vw, 58px);
    line-height: 0.86;
  }

  body.korvo-post .article-hero-compact h1 {
    max-width: 100%;
    font-size: clamp(42px, 13vw, 58px);
  }

  body.korvo-post .article-hero-copy > p:not(.kicker) {
    font-size: 20px;
  }

  body.korvo-post .article-cover {
    min-height: 360px;
  }

  body.korvo-post .article-shell {
    width: calc(min(100vw, 390px) - 32px);
    margin-inline: 16px;
  }

  body.korvo-post .article-body {
    padding: 22px 18px;
  }

  body.korvo-post .article-body p {
    font-size: 18px;
  }

  body.korvo-post .article-body blockquote {
    font-size: 27px;
  }
}
