:root {
  --paper: #f5efe4;
  --paper-soft: #fffaf1;
  --ink: #1c1915;
  --ink-soft: #2d2721;
  --muted: #756c61;
  --line: #dcccb5;
  --red: #b52f2a;
  --blue: #26558a;
  --gold: #c68d3a;
  --leaf: #24483f;
  --green: #dfeadf;
  --white: #fffdf7;
  --shadow: 0 28px 80px rgba(36, 28, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(181, 47, 42, 0.12), transparent 27%),
    radial-gradient(circle at 95% 7%, rgba(38, 85, 138, 0.12), transparent 26%),
    linear-gradient(90deg, rgba(28, 25, 21, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 42px 42px, auto;
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  line-height: 1.72;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(28, 25, 21, 0.08);
  background: rgba(245, 239, 228, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(28, 25, 21, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-family: "Gill Sans", "Avenir Next", sans-serif;
  font-size: 14px;
}

.nav a {
  padding: 7px 10px;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--red);
  background: rgba(255, 253, 247, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  min-height: calc(100vh - 67px);
  padding: clamp(70px, 9vw, 118px) clamp(20px, 6vw, 92px) clamp(52px, 7vw, 86px);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-family: "Gill Sans", "Avenir Next", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 30px;
  font-size: clamp(62px, 8.8vw, 128px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  letter-spacing: 0;
}

.hero-text {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: "Gill Sans", "Avenir Next", sans-serif;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(28, 25, 21, 0.18);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 253, 247, 0.72);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-card {
  position: relative;
  min-height: 610px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(220, 204, 181, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(28, 25, 21, 0.94), rgba(36, 72, 63, 0.95)),
    var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 253, 247, 0.12);
  border-radius: 6px;
}

.hero-logo {
  position: relative;
  z-index: 3;
  width: 100%;
  max-height: 96px;
  object-fit: contain;
  padding: 12px;
  border-radius: 6px;
  background: var(--white);
}

.book-stack {
  position: relative;
  z-index: 2;
  height: 380px;
  margin: 18px 0 18px;
}

.book-stack img {
  position: absolute;
  width: min(50%, 245px);
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.38);
}

.book-stack img:nth-child(1) {
  left: 4%;
  top: 42px;
  z-index: 3;
  transform: rotate(-6deg);
}

.book-stack img:nth-child(2) {
  right: 7%;
  top: 4px;
  z-index: 2;
  transform: rotate(5deg);
}

.book-stack img:nth-child(3) {
  left: 28%;
  top: 134px;
  z-index: 4;
  width: min(56%, 280px);
  transform: rotate(1deg);
}

.hero-manifesto {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 8px;
  color: var(--white);
}

.hero-manifesto span {
  color: rgba(255, 253, 247, 0.62);
  font-family: "Gill Sans", "Avenir Next", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-manifesto strong {
  display: block;
  max-width: 460px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
}

.section {
  margin: 0 clamp(20px, 6vw, 92px);
  padding: clamp(68px, 8vw, 108px) 0;
  border-top: 1px solid var(--line);
}

.position,
.archive,
.audience,
.architecture,
.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.position-copy p,
.archive p,
.architecture p,
.subscribe p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  margin-bottom: 36px;
}

.assets,
.programs,
.notes {
  border-top: 0;
}

.asset-grid,
.system-copy,
.pain-grid,
.program-grid,
.note-grid,
.topic-list {
  display: grid;
  gap: 18px;
}

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

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

.asset-grid article,
.system-copy article,
.pain-grid article,
.program-grid article,
.note-card,
.topic-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.8);
  box-shadow: 0 14px 42px rgba(50, 42, 31, 0.08);
}

.asset-grid article {
  min-height: 250px;
  padding: 28px;
}

.asset-grid strong {
  display: block;
  color: var(--ink);
  font-family: "Gill Sans", "Avenir Next", sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.95;
}

.asset-grid span {
  display: block;
  margin: 16px 0 18px;
  color: var(--red);
  font-weight: 800;
}

.asset-grid p,
.system-copy p,
.pain-grid p,
.program-grid p,
.note-card p {
  color: var(--muted);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.system-copy article {
  padding: 26px;
}

.system-copy span,
.program-grid span {
  color: var(--red);
  font-family: "Gill Sans", "Avenir Next", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-copy h3,
.pain-grid h3,
.program-grid h3,
.note-card h3 {
  margin: 18px 0 12px;
  font-size: 27px;
  line-height: 1.2;
}

.system-figure,
.architecture figure {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.system-figure img,
.architecture img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.system-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.audience {
  align-items: stretch;
  padding: clamp(48px, 6vw, 78px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green);
}

.audience .eyebrow {
  color: var(--leaf);
}

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

.pain-grid article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 24px;
  background: rgba(255, 253, 247, 0.72);
}

.pain-grid h3 {
  margin: 0;
  color: var(--leaf);
  font-size: 23px;
}

.pain-grid p {
  margin-bottom: 0;
}

.architecture {
  align-items: center;
}

.architecture figure {
  box-shadow: 0 18px 50px rgba(50, 42, 31, 0.1);
}

.program-grid article {
  min-height: 260px;
  padding: 30px;
}

.text-link {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.timeline-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.timeline-board article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(28, 25, 21, 0.14);
}

.timeline-board span {
  display: block;
  color: var(--gold);
  font-family: "Gill Sans", "Avenir Next", sans-serif;
  font-weight: 800;
  margin-bottom: 12px;
}

.timeline-board strong {
  display: block;
  font-size: 25px;
  line-height: 1.15;
}

.timeline-board p {
  margin: 12px 0 0;
  color: rgba(255, 253, 247, 0.72);
}

.note-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.note-card:hover {
  transform: translateY(-5px);
  border-color: rgba(181, 47, 42, 0.45);
  box-shadow: 0 22px 58px rgba(50, 42, 31, 0.15);
}

.note-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-family: "Gill Sans", "Avenir Next", sans-serif;
  font-size: 13px;
}

.note-link {
  color: var(--red);
  font-weight: 800;
}

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

.topic-list span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: var(--leaf);
  font-weight: 800;
}

.subscribe {
  align-items: center;
  margin-bottom: 40px;
  padding: clamp(44px, 6vw, 78px);
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(28, 25, 21, 0.96), rgba(36, 72, 63, 0.94)),
    var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.subscribe .eyebrow,
.subscribe p {
  color: rgba(255, 253, 247, 0.78);
}

.qr-image {
  width: min(100%, 280px);
  aspect-ratio: 1;
  justify-self: end;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
  object-fit: cover;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 92px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a:hover {
  color: var(--red);
}

@media (max-width: 1120px) {
  .hero,
  .system-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-card {
    min-height: 570px;
  }
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .position,
  .archive,
  .audience,
  .architecture,
  .subscribe {
    grid-template-columns: 1fr;
  }

  .program-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid article {
    grid-template-columns: 1fr;
  }

  .timeline-board {
    grid-template-columns: 1fr 1fr;
  }

  .qr-image {
    justify-self: start;
  }
}

@media (max-width: 580px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    min-height: 470px;
  }

  .book-stack {
    height: 280px;
  }

  .asset-grid,
  .timeline-board,
  .topic-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
