:root {
  color-scheme: light;
  --paper: #bd8754;
  --paper-light: #c99761;
  --paper-dark: #96663d;
  --ink: #0b0b09;
  --ink-soft: rgba(11, 11, 9, 0.74);
  --ink-quiet: rgba(11, 11, 9, 0.58);
  --line: rgba(11, 11, 9, 0.24);
  --line-strong: rgba(11, 11, 9, 0.9);
  --card: rgba(210, 160, 103, 0.42);
  --cream: #f4dfba;
  --green: #1f5f50;
  --red: #8f2f1f;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(244, 223, 186, 0.24), transparent 20rem),
    linear-gradient(rgba(11, 11, 9, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 11, 9, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, var(--paper-light), var(--paper) 42%, var(--paper-dark));
  background-size: auto, 32px 32px, 32px 32px, auto;
  color: var(--ink);
  font-family:
    ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-size: 16px;
  line-height: 1.58;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 5px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.035) 0,
      rgba(0, 0, 0, 0.035) 1px,
      transparent 1px,
      transparent 9px
    );
  mix-blend-mode: multiply;
  opacity: 0.5;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 2px solid var(--ink);
  background: rgba(189, 135, 84, 0.88);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max));
  min-height: 68px;
  margin: 0 auto;
  gap: 1rem;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.brand-mark {
  position: relative;
  width: 18px;
  height: 18px;
  background: var(--ink);
  box-shadow:
    0 9px 0 var(--ink),
    9px 0 0 var(--ink),
    9px 9px 0 var(--ink);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--paper);
}

.brand-mark::before {
  left: 6px;
  top: 0;
  width: 6px;
  height: 18px;
}

.brand-mark::after {
  left: 0;
  top: 6px;
  width: 18px;
  height: 6px;
}

.nav-links {
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a {
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition:
    border-color 140ms ease,
    color 140ms ease;
}

.nav-links a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero,
.section,
.banner-strip,
.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  gap: 3.25rem;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 4.2rem 0 4.6rem;
  border-bottom: 2px solid var(--ink);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  font-size: 8rem;
  line-height: 0.86;
}

h2 {
  max-width: 13ch;
  font-size: 3.8rem;
  line-height: 0.96;
}

.subtitle {
  margin: 1.7rem 0 0;
  max-width: 720px;
  color: var(--ink);
  font-size: 1.48rem;
  font-weight: 850;
  line-height: 1.32;
}

.hero-description,
.text-stack p {
  color: var(--ink-soft);
}

.hero-description {
  max-width: 650px;
  margin: 1.35rem 0 0;
  font-size: 1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.78rem 1rem;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.15;
  transition:
    background 120ms ease,
    box-shadow 120ms ease,
    color 120ms ease,
    transform 120ms ease;
}

.button:hover {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px);
}

.button-primary {
  background: var(--ink);
  color: var(--cream);
}

.button-secondary {
  background: var(--cream);
  color: var(--ink);
}

.morning-note {
  margin: 1rem 0 0;
  color: var(--ink-quiet);
  font-size: 0.92rem;
}

.hero-art {
  position: relative;
  margin: 0;
}

.hero-art::before {
  position: absolute;
  inset: 1rem -0.8rem -0.8rem 1rem;
  border: 2px solid var(--ink);
  content: "";
}

.hero-art img {
  position: relative;
  width: 100%;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 14px 14px 0 rgba(11, 11, 9, 0.92);
}

.banner-strip {
  padding: 1.3rem 0;
  border-bottom: 2px solid var(--ink);
}

.banner-strip img {
  width: 100%;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(11, 11, 9, 0.88);
}

.section {
  padding: 4.75rem 0;
  border-bottom: 2px solid var(--ink);
}

.split-section,
.stance-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 3rem;
}

.text-stack {
  display: grid;
  gap: 1.1rem;
}

.text-stack p {
  margin: 0;
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.radar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.radar-grid li,
.not-list li {
  border: 2px solid var(--ink);
  background: var(--card);
}

.radar-grid li {
  min-height: 136px;
  padding: 1rem;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
}

.radar-grid li::before {
  display: block;
  width: 30px;
  height: 10px;
  margin-bottom: 1rem;
  background:
    linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 12px, var(--ink) 12px 20px, transparent 20px);
  content: "";
}

.stance-layout {
  align-items: end;
}

.not-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.not-list li {
  padding: 0.95rem 1rem;
  color: var(--ink-soft);
  font-weight: 750;
}

.not-list li::before {
  content: "/// ";
  color: var(--red);
  font-weight: 900;
}

.closer {
  margin: 0;
  padding: 1rem;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  box-shadow: 8px 8px 0 rgba(11, 11, 9, 0.36);
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1.18;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0 2.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-footer a {
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-weight: 900;
}

.site-footer a:hover {
  border-color: var(--ink);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
    padding-top: 3.8rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-art {
    max-width: 620px;
  }

  h1 {
    font-size: 5.6rem;
  }

  h2 {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.28rem;
  }

  .split-section,
  .stance-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 94px;
    padding: 0.9rem 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.65rem;
    font-size: 0.84rem;
  }

  .hero,
  .section,
  .banner-strip,
  .site-footer {
    width: min(100% - 1.25rem, var(--max));
  }

  .hero {
    padding: 3rem 0 3.8rem;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .subtitle {
    margin-top: 1.35rem;
    font-size: 1.12rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    justify-content: space-between;
  }

  .hero-art::before {
    inset: 0.55rem -0.35rem -0.35rem 0.55rem;
  }

  .hero-art img {
    box-shadow: 8px 8px 0 rgba(11, 11, 9, 0.9);
  }

  .banner-strip {
    overflow: hidden;
  }

  .banner-strip img {
    width: 165%;
    max-width: none;
    transform: translateX(-17%);
  }

  .section {
    padding: 3.5rem 0;
  }

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

  .radar-grid li {
    min-height: auto;
  }

  .closer {
    font-size: 1.35rem;
  }

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