@font-face {
  font-family: "Iosevka Extended";
  src: url("static/iosevka-extended-regular.9fd22b1121.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Iosevka Extended";
  src: url("static/iosevka-extended-bold.ba4380d86c.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

:root {
  --ink: #273128;
  --paper: #f4f0e8;
  --soft-cream: #ebe4d7;
  --cream: #dcd2c0;
  --light-sage: #e5e9df;
  --sage: #9faa94;
  --line: rgba(39, 49, 40, .22);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Iosevka Extended", "Courier New", monospace;
  font-size: 16px;
  line-height: 1.6;
  caret-color: transparent;
}

a { color: inherit; }

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

.site-header {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 232, .92);
  box-shadow: 0 6px 24px rgba(39, 49, 40, .08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 42px); }
.site-header nav a { font-size: 18px; text-decoration: none; }
.site-header nav a:hover { opacity: .6; }
.nav-cta { border-bottom: 1px solid; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: center;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px clamp(28px, 7vw, 110px);
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

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

h1, h2, .intro-text .large, blockquote p, .card-copy h3, .manifesto p {
  font-family: Georgia, "Times New Roman", serif;
}

h1, h2 {
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

h1 { max-width: 690px; margin-bottom: 34px; font-size: clamp(64px, 7.2vw, 124px); }
h1 em { font-weight: 400; color: #707d6d; }
h2 { margin-bottom: 0; font-size: clamp(48px, 6.2vw, 94px); }

.lead { max-width: 555px; margin-bottom: 38px; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 15px 22px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 13px;
  transition: .2s ease;
}

.button:hover { color: var(--paper); background: var(--ink); }
.hero-image {
  display: flex;
  min-height: 0;
  align-self: stretch;
  align-items: stretch;
  margin: 0;
}
.hero-image img { height: 100%; object-fit: cover; }

.side-note {
  position: absolute;
  bottom: 34px;
  left: 30px;
  margin: 0;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: clamp(90px, 13vw, 190px) clamp(24px, 8vw, 130px);
  background: var(--soft-cream);
}

.intro-text { max-width: 640px; padding-top: 34px; }
.intro-text p { margin-bottom: 25px; }
.intro-text .large { font-size: clamp(24px, 2.7vw, 39px); line-height: 1.25; }

.portrait-block {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  background: var(--cream);
}

.portrait-block img { align-self: center; height: auto; aspect-ratio: 1; object-fit: contain; }
blockquote { display: flex; align-items: center; margin: 0; padding: clamp(48px, 8vw, 130px); }
blockquote p { font-size: clamp(29px, 4vw, 58px); line-height: 1.15; }

.practices {
  padding: clamp(90px, 12vw, 170px) clamp(24px, 4vw, 64px);
  background: var(--light-sage);
}
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(70px, 9vw, 135px); }
.section-heading h2 { text-align: right; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 52px); align-items: start; }
.card img { aspect-ratio: 1; object-fit: cover; }
.card-copy { display: grid; grid-template-columns: 45px 1fr; padding-top: 22px; }
.card-copy span { font-size: 11px; }
.card-copy h3 { margin-bottom: 12px; font-size: clamp(30px, 3vw, 46px); font-weight: 400; }
.card-copy p { grid-column: 2; max-width: 450px; }

.manifesto {
  padding: clamp(90px, 14vw, 210px) 24px;
  color: var(--paper);
  background: var(--ink);
  text-align: center;
}

.manifesto p { font-size: clamp(40px, 6vw, 88px); line-height: 1.08; }
.manifesto strong { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }

.telegram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: clamp(90px, 12vw, 170px) clamp(24px, 8vw, 130px);
  background: var(--sage);
}
.telegram-copy { max-width: 620px; padding-top: 32px; }
.telegram-copy p { margin-bottom: 24px; }
.button-dark { margin-top: 18px; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px clamp(24px, 5vw, 72px); color: var(--paper); background: var(--ink); }
footer p { margin: 0; font-size: 19px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; max-width: 920px; }
.footer-links a { font-size: 18px; line-height: 1.4; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.document-page { background: var(--soft-cream); font-size: 18px; }
.document-header { padding: 22px clamp(24px, 6vw, 90px); border-bottom: 1px solid var(--line); background: var(--paper); }
.document-header a { font-size: 15px; font-weight: 700; text-decoration: none; }
.document { padding: clamp(55px, 8vw, 110px) clamp(24px, 8vw, 140px); }
.document article { max-width: 980px; margin: 0 auto; line-height: 1.75; overflow-wrap: anywhere; }
.document h1 { margin-bottom: 42px; font-size: clamp(38px, 5vw, 68px); line-height: 1.05; }
.document h2 { margin: 54px 0 22px; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.document article > p:first-child > strong:first-child { display: block; margin-bottom: 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 68px); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.document li { margin-bottom: 8px; }
.document a { overflow-wrap: anywhere; }
.document code { padding: .12em .35em; background: rgba(39, 49, 40, .09); font-family: inherit; }

@media (min-width: 1200px) {
  body { font-size: 22px; }
  .eyebrow { font-size: 17px; }
  .lead { font-size: clamp(25px, 1.9vw, 30px); }
  .manifesto strong { font-size: 18px; }
  .side-note { font-size: 17px; }
  .button-dark { font-size: 18px; }
}

@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; }
  .hero-copy { min-height: 75vh; padding: 80px 24px; }
  .hero-image { aspect-ratio: 1; }
  .side-note { display: none; }
}

@media (max-width: 1100px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .intro, .telegram { grid-template-columns: 1fr; gap: 40px; }
  .intro-text, .telegram-copy { padding-top: 0; }
  .portrait-block { grid-template-columns: 1fr; }
  blockquote { min-height: 0; padding: 36px 24px 64px; }
  .section-heading { display: block; }
  .section-heading h2 { text-align: left; }
  footer { flex-wrap: wrap; gap: 24px; }
  .footer-links { order: 3; width: 100%; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .site-header nav a { font-size: 15px; }
  .practices { padding-right: 24px; padding-left: 24px; }
  .cards { grid-template-columns: 1fr; gap: 70px; }
  .card img { width: calc(100% + 48px); max-width: none; margin-left: -24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
