:root {
  --paper: #e9e2d5;
  --pale: #f6f2e9;
  --ink: #171c1a;
  --brick: #b13f2b;
  --yellow: #e8b643;
  --blue: #2d6877;
  --line: rgba(23, 28, 26, .28);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.65; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--brick); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 20; top: .75rem; left: .75rem; padding: .7rem 1rem; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.topbar, .site-foot { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 72px; padding: 1rem clamp(1rem, 5vw, 5rem); border-bottom: 1px solid var(--ink); font-size: .78rem; font-weight: 750; text-transform: uppercase; }
.topbar p, .site-foot p { margin: 0; }
.eyebrow { margin: 0 0 1rem; color: var(--brick); font-size: .72rem; font-weight: 850; text-transform: uppercase; }

.opening { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(2rem, 7vw, 8rem); align-items: end; min-height: 72vh; padding: clamp(4rem, 10vw, 10rem) clamp(1rem, 7vw, 8rem); border-bottom: 1px solid var(--ink); }
.opening h1 { max-width: 1000px; margin: 0; font: 400 clamp(3.6rem, 8vw, 8.5rem)/.88 var(--serif); letter-spacing: 0; }
.opening h1 em { color: var(--brick); font-weight: 400; }
.lead { max-width: 620px; margin: 0; font-size: clamp(1.12rem, 1.8vw, 1.42rem); }

.thesis { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 2rem; max-width: 1220px; margin: 0 auto; padding: clamp(5rem, 10vw, 10rem) 1rem clamp(3rem, 6vw, 6rem); }
.section-number { margin: .4rem 0 0; color: var(--brick); font-size: 1rem; font-weight: 900; }
.thesis h2, .section-head h2, .decisions h2 { max-width: 980px; margin: 0; font: 400 clamp(2.8rem, 6vw, 6.2rem)/.94 var(--serif); letter-spacing: 0; }
.thesis > div > p:last-child { max-width: 700px; margin: 2.5rem 0 0 auto; font-size: 1.12rem; }

.sequence { max-width: 1380px; margin: 0 auto clamp(6rem, 12vw, 12rem); border: 1px solid var(--ink); }
.sequence article { display: grid; grid-template-columns: minmax(190px, .65fr) 1.35fr; align-items: center; min-height: 122px; border-bottom: 1px solid var(--ink); }
.sequence article:last-child { border-bottom: 0; }
.sequence p { margin: 0; padding: 1.5rem 2rem; font: 700 1rem/1.4 var(--serif); }
.sequence p span { display: inline-block; min-width: 62px; color: var(--brick); font: 850 .72rem/1 var(--sans); }
.sequence ol { display: grid; grid-template-columns: repeat(4, 1fr); align-self: stretch; margin: 0; padding: 0; border-left: 1px solid var(--ink); list-style: none; counter-reset: steps; }
.sequence li { display: grid; place-items: center; padding: 1rem; border-right: 1px solid var(--ink); font-size: .75rem; font-weight: 800; text-transform: uppercase; text-align: center; }
.sequence li:last-child { border-right: 0; }
.sequence article:nth-child(1) li:nth-child(2), .sequence article:nth-child(2) li:nth-child(2), .sequence article:nth-child(3) li:nth-child(2), .sequence article:nth-child(4) li:nth-child(2) { background: var(--yellow); }
.sequence article:nth-child(4) { background: var(--ink); color: var(--pale); }

.failure { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 10vw, 10rem) clamp(1rem, 7vw, 8rem); background: var(--pale); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.failure-label { display: grid; grid-template-rows: auto 1fr; min-height: 440px; border: 1px solid var(--ink); background: var(--yellow); }
.failure-label span { padding: 1rem; border-bottom: 1px solid var(--ink); font-size: .7rem; font-weight: 900; text-align: center; }
.failure-label strong { display: grid; place-items: center; font: 400 clamp(9rem, 20vw, 17rem)/1 var(--serif); }
.failure > div:last-child { align-self: center; max-width: 760px; }
.failure h2 { margin: 0 0 2rem; font: 400 clamp(2.8rem, 5vw, 5.5rem)/.94 var(--serif); letter-spacing: 0; }
.failure p:not(.eyebrow) { max-width: 680px; }

.confusions { padding: clamp(5rem, 10vw, 10rem) clamp(1rem, 6vw, 7rem); background: var(--blue); color: #f5f0e5; }
.confusions .eyebrow, .confusions .section-number { color: #ffd561; }
.section-head { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 2rem; max-width: 1300px; margin: 0 auto 4rem; }
.statements { max-width: 1300px; margin: auto; border-top: 1px solid currentColor; }
.statements p { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; margin: 0; padding: 1.5rem 0; border-bottom: 1px solid currentColor; font: 400 clamp(1.5rem, 3.2vw, 3.2rem)/1.1 var(--serif); }
.statements span { padding-top: .45rem; color: #ffd561; font: 850 .72rem/1 var(--sans); }

.decisions { display: grid; grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 10vw, 10rem) clamp(1rem, 7vw, 8rem); }
.decisions ol { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; counter-reset: decisions; }
.decisions li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--ink); }
.decisions strong { font-family: var(--serif); font-size: 1.35rem; }
.decisions span { color: #484d49; }

.closing { padding: clamp(5rem, 10vw, 10rem) clamp(1rem, 8vw, 9rem); background: var(--ink); color: var(--pale); }
.closing .eyebrow { color: #ffd561; }
.closing blockquote { max-width: 1100px; margin: 0; font: 400 clamp(2.6rem, 5.5vw, 6rem)/.98 var(--serif); }
.closing nav { display: flex; justify-content: space-between; gap: 2rem; margin-top: 5rem; padding-top: 1.5rem; border-top: 1px solid currentColor; font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.site-foot { border-top: 0; border-bottom: 0; }

@media (max-width: 820px) {
  body { font-size: 16px; overflow-x: hidden; }
  .opening, .failure, .decisions { display: block; }
  .opening { min-height: 0; padding: 4rem 1rem; }
  .opening h1 { font-size: clamp(3rem, 14vw, 5.2rem); overflow-wrap: anywhere; }
  .lead { margin-top: 3rem; }
  .thesis, .section-head { grid-template-columns: 42px minmax(0, 1fr); gap: 1rem; }
  .thesis h2, .section-head h2, .decisions h2 { font-size: clamp(2.5rem, 11vw, 4.5rem); }
  .sequence { margin-right: 1rem; margin-left: 1rem; }
  .sequence article { display: block; }
  .sequence p { padding: 1.2rem; }
  .sequence ol { border-top: 1px solid var(--ink); border-left: 0; }
  .sequence li { min-width: 0; padding: .8rem .25rem; font-size: .58rem; overflow-wrap: anywhere; }
  .failure-label { min-height: 270px; margin-bottom: 3rem; }
  .confusions { padding: 5rem 1rem; }
  .statements p { grid-template-columns: 42px 1fr; }
  .decisions ol { margin-top: 3rem; }
  .decisions li { display: block; }
  .decisions span { display: block; margin-top: .75rem; }
  .closing { padding: 5rem 1rem; }
  .closing nav, .topbar, .site-foot { display: block; }
  .closing nav a, .site-foot p { display: block; margin-top: 1rem; }
  .topbar p { margin-top: .35rem; }
}

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