@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./assets/fonts/manrope-latin-variable.woff2") format("woff2");
}

:root {
  --paper: #f7ead8;
  --paper-light: #fff9f0;
  --ink: #171713;
  --muted: #5d594f;
  --content: 1440px;
  --pad: clamp(20px, 5vw, 76px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: "Manrope", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 30; top: -100px; left: 16px; padding: 12px 16px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }
.page-wrap, .site-header { width: min(100%, var(--content)); margin-inline: auto; padding-inline: var(--pad); }

.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.site-header a { text-decoration: none; }
.back-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .72rem; font-weight: 760; letter-spacing: .05em; text-transform: uppercase; }
.back-link svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; transition: transform .2s ease; }
.back-link:hover svg { transform: translateX(-4px); }
.site-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 1.15rem; font-weight: 800; }
.site-mark span { color: #bd4e42; }

.hero { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); gap: clamp(38px, 5vw, 84px); align-items: center; min-height: 0; padding-block: clamp(24px, 3vw, 44px); }
.hero-copy { min-width: 0; }
.project-line { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 clamp(22px, 3vw, 42px); font-size: .73rem; font-weight: 770; letter-spacing: .075em; text-transform: uppercase; }
.project-line span { color: var(--muted); font-weight: 570; }
.hero h1 { max-width: 690px; margin: 0; font-size: clamp(3.2rem, 5.45vw, 5.95rem); font-weight: 760; letter-spacing: -.038em; line-height: 1.04; text-wrap: balance; }
.hero h1 em { font-style: normal; text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .13em; }
.hero-summary { max-width: 37ch; margin: clamp(24px, 3vw, 38px) 0 0; font-size: clamp(1.06rem, 1.45vw, 1.28rem); line-height: 1.53; text-wrap: pretty; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 28px; font-size: .82rem; font-weight: 770; text-decoration-thickness: 1px; }
.text-link span { font-size: 1.3rem; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, 3px); }
.hero-art { min-width: 0; }
.hero-art__frame { aspect-ratio: 1.02; overflow: hidden; background: #170e35; }
.hero-art__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--muted); font-size: .71rem; font-weight: 580; line-height: 1.4; }

.arc { padding-block: clamp(28px, 4vw, 52px); }
.arc-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: end; }
.arc h2, .chapter h2, .closing h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5.6rem); font-weight: 740; letter-spacing: -.037em; line-height: 1.08; text-wrap: balance; }
.arc-heading p { max-width: 43ch; margin: 0; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.55; }
.chapter-nav { display: grid; gap: 20px; margin-top: 32px; }
.chapter-nav a { display: grid; grid-template-columns: 58px minmax(0, 1fr) clamp(140px, 19vw, 244px) 24px; gap: clamp(18px, 3vw, 46px); align-items: center; min-height: clamp(112px, 11vw, 154px); text-decoration: none; }
.chapter-nav__number { align-self: start; padding-top: 8px; color: var(--muted); font-size: .77rem; font-weight: 770; font-variant-numeric: tabular-nums; }
.chapter-nav__copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chapter-nav__copy strong { max-width: 20ch; font-size: clamp(1.65rem, 3vw, 3.4rem); font-weight: 720; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.chapter-nav__copy small { color: var(--muted); font-size: .73rem; font-weight: 720; letter-spacing: .06em; line-height: 1.3; text-transform: uppercase; }
.chapter-nav__thumb { display: block; height: clamp(105px, 12vw, 155px); overflow: hidden; background: var(--paper-light); outline: 1px solid rgb(0 0 0 / .1); }
.chapter-nav__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s cubic-bezier(.2, 0, 0, 1); }
.chapter-nav a:hover .chapter-nav__thumb img, .chapter-nav a:focus-visible .chapter-nav__thumb img { transform: scale(1.045); }
.chapter-nav__arrow { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; transition: transform .2s ease; }
.chapter-nav a:hover .chapter-nav__arrow, .chapter-nav a:focus-visible .chapter-nav__arrow { transform: translate(3px, -3px); }

.chapter { padding-block: clamp(28px, 3vw, 44px); scroll-margin-top: 18px; }
.chapter-heading { display: grid; grid-template-columns: minmax(0, .21fr) minmax(0, .92fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 54px); align-items: start; margin-bottom: 28px; }
.chapter-count { margin: 14px 0 0; color: var(--muted); font-size: .72rem; font-weight: 740; letter-spacing: .07em; text-transform: uppercase; }
.chapter-heading h2 { font-size: clamp(2.5rem, 4.4vw, 4.9rem); }
.chapter-heading > p:last-child { max-width: 54ch; margin: 11px 0 0; font-size: clamp(1.03rem, 1.3vw, 1.21rem); line-height: 1.58; text-wrap: pretty; }
.image-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); align-items: start; }
.image-pair img { width: 100%; background: #1b1a1a; }
.image-pair--speed figure:nth-child(2) { padding-top: clamp(0px, 4vw, 62px); }
.evidence-slot { display: grid; grid-template-columns: .55fr 1.25fr 1.4fr; gap: 22px; align-items: center; min-height: 136px; margin-top: 28px; padding: clamp(22px, 3vw, 38px); background: rgba(255, 249, 240, .44); }
.evidence-slot__label { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.evidence-slot strong { font-size: clamp(1.15rem, 1.75vw, 1.55rem); line-height: 1.3; }
.evidence-slot p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }

.drawing-system img { width: 100%; background: #fff; }
.lesson-scale { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: 28px; }
.lesson-scale h3 { margin: 0; max-width: 24ch; font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 720; letter-spacing: -.03em; line-height: 1.2; text-wrap: balance; }
.lesson-scale p { max-width: 56ch; margin: 0; font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.58; }
.lesson-overviews { display: grid; gap: 24px; }
.lesson-overviews a { display: block; }
.lesson-overviews img { width: 100%; background: #ccc; }
.lesson-overviews figure:nth-child(2) { width: min(83%, 1100px); justify-self: end; }
.drawing-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; margin-top: 28px; }
.drawing-gallery figure { min-width: 0; }
.drawing-gallery__slide img { width: 100%; aspect-ratio: .84; object-fit: cover; object-position: center; background: #fff; }
.drawing-gallery__modules a { display: block; max-height: 610px; overflow: hidden; background: #fff; }
.drawing-gallery__modules img { width: 100%; }
.drawing-gallery__lessons img { width: 100%; max-height: 610px; object-fit: cover; object-position: top; background: #fff; }
.drawing-campaign { width: min(36%, 430px); margin-top: 40px; }
.drawing-campaign img { width: 100%; }

.village-lead img, .village-language img, .village-slides img, .village-banner img, .village-telegram img { width: 100%; }
.drawing-subheading, .village-subheading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 100px); align-items: end; margin: clamp(40px, 5vw, 64px) 0 24px; }
.drawing-subheading h3, .village-subheading h3 { max-width: 19ch; margin: 0; font-size: clamp(2rem, 3.3vw, 3.6rem); font-weight: 720; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
.drawing-subheading p, .village-subheading p { max-width: 55ch; margin: 0 0 5px; font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.58; }
.village-language { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; }
.village-language figure { min-width: 0; }
.village-pattern__frame { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 1; overflow: hidden; background: #060505; }
.village-pattern__frame img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.village-signs img { aspect-ratio: 1; object-fit: contain; background: #060505; }
.village-slides { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 44px); align-items: start; margin-top: 28px; }
.village-slides figure { min-width: 0; }
.village-subheading--channels { margin-top: clamp(40px, 5vw, 64px); }
.village-telegram-collage { width: min(100%, 880px); margin: 28px auto 0; }
.village-telegram-collage img { width: 100%; }

.reels-key img, .reels-identities img, .reels-web-details img, .reels-deck-overview img, .reels-slide-details img, .reels-social-sequence img, .reels-outreach img, .reels-final-asset img { width: 100%; }
.reels-key img { background: #100d22; }
.reels-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 100px); align-items: end; margin: clamp(40px, 5vw, 64px) 0 24px; }
.reels-section-heading--concept { margin-top: clamp(40px, 5vw, 64px); }
.reels-section-heading h3 { max-width: 19ch; margin: 0; font-size: clamp(2rem, 3.3vw, 3.6rem); font-weight: 730; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
.reels-section-heading p { max-width: 57ch; margin: 0 0 4px; font-size: clamp(1.03rem, 1.28vw, 1.2rem); line-height: 1.58; text-wrap: pretty; }
.reels-section-heading em { font-style: normal; font-weight: 780; }
.reels-identities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 34px); width: min(65%, 820px); margin-left: auto; }
.reels-identities figure, .reels-slide-details figure, .reels-social-sequence figure, .reels-outreach figure { min-width: 0; }
.reels-web-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: center; padding: clamp(20px, 3.2vw, 44px); background: #e9ddcc; }
.web-window { min-width: 0; overflow: hidden; background: #0b081c; border-radius: 12px; box-shadow: 0 12px 28px rgb(38 27 48 / .14); }
.web-window__bar { display: flex; align-items: center; gap: 4px; min-height: 30px; padding: 8px 10px; background: #252131; color: #f9f0e7; }
.web-window__bar span { width: 4px; height: 4px; border-radius: 50%; background: #a59bab; flex: 0 0 auto; }
.web-window__bar small { margin-left: 5px; font-size: clamp(.42rem, .66vw, .6rem); line-height: 1.3; }
.web-window img { width: 100%; }
.mobile-site-composite { margin-top: 28px; }
.mobile-site-composite img { width: 100%; background: #0a0710; }
.reels-section-copy p + p { margin-top: 16px; }

.reels-slide-details, .reels-social-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 34px); margin-top: 24px; }
.reels-outreach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 44px); margin-top: 32px; }
.reels-final-asset { margin-top: 32px; }

.closing { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); column-gap: clamp(40px, 7vw, 120px); padding-block: clamp(40px, 5vw, 64px); }
.closing h2 { font-size: clamp(2.6rem, 4.5vw, 5rem); }
.closing > p { max-width: 52ch; margin: 10px 0 0; font-size: clamp(1.04rem, 1.35vw, 1.25rem); line-height: 1.57; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 110px; font-size: .73rem; font-weight: 780; text-transform: uppercase; letter-spacing: .05em; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(3rem, 5vw, 4.7rem); }
  .chapter-heading { grid-template-columns: .24fr 1fr; }
  .chapter-heading > p:last-child { grid-column: 2; margin-top: 0; }
}

@media (max-width: 700px) {
  :root { --pad: 20px; }
  .site-header { min-height: 62px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; padding-bottom: 28px; }
  .project-line { margin-bottom: 24px; font-size: .66rem; }
  .hero h1 { font-size: clamp(3rem, 11.3vw, 5rem); }
  .hero-summary { margin-top: 22px; font-size: 1.03rem; }
  .text-link { margin-top: 16px; }
  .hero-art__frame { aspect-ratio: 1.06; }
  .hero-art__frame img { object-position: 50% 0; }
  .arc { padding-block: 28px; }
  .arc-heading { display: block; }
  .arc h2, .chapter h2, .closing h2 { font-size: clamp(2.55rem, 9vw, 4rem); }
  .arc-heading p { margin-top: 24px; font-size: 1.02rem; }
  .chapter-nav { margin-top: 28px; gap: 12px; }
  .chapter-nav a { grid-template-columns: 24px minmax(0, 1fr) 92px; gap: 13px; min-height: 128px; padding-block: 16px; }
  .chapter-nav__number { padding-top: 4px; font-size: .67rem; }
  .chapter-nav__copy { gap: 8px; }
  .chapter-nav__copy strong { font-size: clamp(1.05rem, 4.4vw, 1.42rem); line-height: 1.13; }
  .chapter-nav__copy small { font-size: .58rem; line-height: 1.35; }
  .chapter-nav__thumb { height: 91px; }
  .chapter-nav__arrow { display: none; }
  .chapter { padding-block: 28px; }
  .chapter-heading { display: block; margin-bottom: 24px; }
  .chapter-count { margin: 0 0 22px; }
  .chapter-heading h2 { max-width: 570px; font-size: clamp(2.55rem, 9vw, 4rem); }
  .chapter-heading > p:last-child { max-width: 60ch; margin: 22px 0 0; font-size: 1rem; }
  .image-pair { grid-template-columns: 1fr; gap: 30px; }
  .image-pair--speed figure:nth-child(2) { padding-top: 0; }
  .evidence-slot { display: block; min-height: 0; margin-top: 24px; padding: 24px; }
  .evidence-slot strong { display: block; margin-top: 14px; }
  .evidence-slot p { margin-top: 12px; }
  .lesson-scale { display: block; margin-bottom: 24px; }
  .lesson-scale h3 { max-width: 26ch; font-size: 1.75rem; }
  .lesson-scale p { margin-top: 16px; font-size: 1rem; }
  .reels-web-stage { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .web-window { width: min(100%, 360px); justify-self: center; }
  .web-window__bar small { font-size: .58rem; }
  .lesson-overviews { gap: 34px; }
  .lesson-overviews figure:nth-child(2) { width: 100%; }
  .drawing-gallery { grid-template-columns: 1fr; gap: 32px; }
  .drawing-gallery__slide img { aspect-ratio: auto; }
  .drawing-gallery__modules a { max-height: 480px; }
  .drawing-gallery__lessons img { max-height: 460px; }
  .drawing-campaign { width: min(78%, 350px); margin-top: 32px; }
  .drawing-subheading, .village-subheading { display: block; margin: 40px 0 24px; }
  .drawing-subheading h3, .village-subheading h3 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .drawing-subheading p, .village-subheading p { margin-top: 22px; font-size: 1rem; }
  .village-language, .village-slides { grid-template-columns: 1fr; gap: 32px; }
  .village-slides { margin-top: 28px; }
  .village-subheading--channels { margin-top: 40px; }
  .reels-section-heading { display: block; margin: 40px 0 24px; }
  .reels-section-heading--concept { margin-top: 40px; }
  .reels-section-heading h3 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .reels-section-heading p { margin-top: 22px; font-size: 1rem; }
  .reels-identities { width: 100%; gap: 14px; }
  .reels-slide-details, .reels-social-sequence, .reels-outreach { grid-template-columns: 1fr; gap: 32px; }
  .reels-slide-details, .reels-social-sequence { margin-top: 32px; }
  .reels-outreach { margin-top: 32px; }
  .reels-final-asset { margin-top: 32px; }
  .closing { display: block; padding-block: 40px; }
  .closing > p { margin-top: 26px; font-size: 1.05rem; }
  .site-footer { min-height: 100px; font-size: .66rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.9rem; }
  .chapter-nav a { grid-template-columns: 22px minmax(0, 1fr) 76px; gap: 10px; }
  .chapter-nav__thumb { height: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
