@font-face {
  font-family: Manrope;
  src: url("assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Unbounded;
  src: url("assets/fonts/Unbounded-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --paper: #f4f0e8;
  --ink: #111211;
  --muted: #59574e;
  --accent: #d8ff3e;
  --orange: #ff4d00;
  --accent-text: #9a3500;
  --line: #c8c3b8;
  --curve: cubic-bezier(.22, 1, .36, 1);
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
p { line-height: 1.62; }
h1, h2 { font-family: Unbounded, sans-serif; font-weight: 700; letter-spacing: -.05em; }
h1 { font-size: clamp(2.75rem, 4.125vw, 4rem); line-height: 1.09; }
h2 { font-size: clamp(2rem, 3.3vw, 3.25rem); line-height: 1.15; }
h3 { font-size: 1.25rem; font-weight: 800; }
.shell { width: min(100% - 80px, 1280px); margin-inline: auto; }
.section { padding-block: clamp(64px, 7.5vw, 112px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  line-height: 1.4;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .075em;
}
.signal { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 5;
  padding: 12px;
  clip-path: inset(50%);
  background: var(--accent);
}
.skip:focus { clip-path: none; }

.header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.header nav, .footer nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.header nav a, .footer nav a { font-size: .875rem; font-weight: 700; text-underline-offset: .25em; }
.header nav a { text-decoration-color: transparent; }
.header nav a:hover { text-decoration-color: currentColor; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  transition: background-color .24s var(--curve), color .24s var(--curve);
}
.button:hover { background: var(--ink); color: var(--accent); }
.button-small { min-height: 44px; padding-inline: 16px; font-size: .875rem; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #343729; color: white; }
.text-link { font-weight: 800; text-underline-offset: .25em; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(56px, 6.5vw, 96px);
}
.hero h1 { margin-top: 16px; max-width: 680px; text-wrap: balance; }
.hero h1 span { color: var(--accent-text); white-space: nowrap; }
.hero-lead { max-width: 540px; margin-top: 24px; font-size: clamp(1.0625rem, 1.45vw, 1.25rem); }
.hero-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.hero-action .text-link { font-size: .875rem; }
.hero-art { position: relative; aspect-ratio: 1; isolation: isolate; }
.hero-window {
  position: absolute;
  inset: 4% 8% 8% 4%;
  display: grid;
  grid-template: 1fr 1fr / 1fr 1fr;
  gap: 6%;
  transform: rotate(-7deg);
}
.hero-window i { background: var(--accent); border-radius: 14%; }
.hero-window i:last-child { background: var(--orange); }
.portrait {
  position: absolute;
  overflow: hidden;
  border-radius: 12px;
}
.portrait img { width: 100%; height: auto; }
.portrait span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  background: var(--paper);
  font-size: .75rem;
  font-weight: 800;
}
.portrait-mira { width: 65%; top: 0; left: 1%; }
.portrait-miron { width: 50%; bottom: 10%; right: 0; }
.hero-art figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
}

.principle { background: var(--ink); color: var(--paper); }
.principle-grid, .decision, .progress-intro, .invitation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: start;
  gap: clamp(32px, 7vw, 112px);
}
.principle h2, .decision h2, .progress h2 { margin-top: 12px; }
.principle-copy, .decision-example { display: grid; gap: 16px; max-width: 600px; font-size: 1rem; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 700; line-height: 1.5; }
.principle-copy p:not(.lead) { color: #ddd9cc; }

.progress { background: #e8e5da; }
.progress-intro { align-items: end; }
.progress-intro > p { max-width: 540px; font-size: 1.0625rem; }
.progress-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
}
.progress-metrics > div {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 8px;
  padding: clamp(16px, 3vw, 32px);
}
.progress-metrics > div + div { border-left: 1px solid #56564e; }
.progress-metrics dt { grid-row: 2; font-weight: 800; }
.metric-value {
  grid-row: 1;
  color: var(--accent);
  font-family: Unbounded, sans-serif;
  font-size: clamp(2rem, 3.9vw, 4rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.metric-date { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.progress-metrics .metric-date { color: #dedacf; }
.note { font-size: .875rem; color: var(--muted); }
.coverage-note { margin-top: 12px; }
.progress-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: 40px;
}
.progress-results, .progress-stages { margin-top: 12px; }
.progress-results > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px 16px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.progress-results dt { font-weight: 750; line-height: 1.5; }
.result-value { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.progress-results .metric-date { grid-column: 1 / -1; }
.progress-results + .note { margin-top: 8px; }
.progress-stages { list-style: none; counter-reset: stage; margin-bottom: 0; padding: 0; }
.progress-stages li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  padding-block: 9px;
  border-top: 1px solid var(--line);
  font-weight: 750;
}
.progress-stages li::before { counter-increment: stage; content: counter(stage, decimal-leading-zero); color: var(--muted); font-size: .75rem; }
.stage-state { color: var(--muted); font-weight: 700; font-size: .8125rem; }
.stage-state[data-state="partial"], .stage-state[data-state="known"] { color: #304620; font-weight: 800; }
.progress-link { display: inline-block; margin-top: 24px; }

.invitation { background: var(--accent); }
.invitation-grid { align-items: center; }
.invitation p { font-size: 1.125rem; margin-bottom: 16px; }
.footer { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-block: 32px; }
.footer p { margin-top: 8px; font-size: .875rem; color: var(--muted); }

@media (max-width: 950px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 32px; }
  h1 { font-size: clamp(2.375rem, 5vw, 3.25rem); }
}
@media (max-width: 720px) {
  .header { min-height: 68px; }
  .header nav { margin-left: auto; }
  .header-cta { display: none; }
  .hero, .principle-grid, .decision, .progress-intro, .progress-grid, .invitation-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .hero { padding-block: 48px; gap: 32px; }
  .hero h1 { max-width: 12em; }
  .hero-art { width: min(100%, 460px); justify-self: center; }
  .hero-lead { margin-top: 16px; }
  .hero-action { margin-top: 24px; }
  .footer { align-items: start; flex-direction: column; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 40px); }
  .header { gap: 8px; }
  .header nav { gap: 12px; }
  .header nav a { font-size: .75rem; }
  .brand { font-size: .875rem; }
  .brand img { width: 22px; height: 22px; }
  h1 { font-size: clamp(1.875rem, 8vw, 2.375rem); }
  h2 { font-size: clamp(1.75rem, 7vw, 2rem); }
  .progress-metrics { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .progress-metrics > div { grid-template: auto auto / 7rem minmax(0, 1fr); gap: 4px 12px; }
  .progress-metrics > div + div { border-left: 0; border-top: 1px solid #56564e; }
  .progress-metrics dt { grid-area: 1 / 2; align-self: end; line-height: 1.3; }
  .metric-value { grid-area: 1 / 1 / 3; align-self: center; }
  .progress-metrics .metric-date { grid-area: 2 / 2; line-height: 1.3; }
  .progress-stages li { grid-template-columns: 1rem minmax(0, 1fr) auto; }
}
@media (max-width: 350px) {
  .header nav { gap: 8px; }
  .header nav a { font-size: .6875rem; }
  .progress-stages li { grid-template-columns: 1rem minmax(0, 1fr); }
  .stage-state { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
