:root {
  --bone: #f5f2eb;
  --carbon: #1a1817;
  --smoke: #3f3d3a;
  --stone: #8b857c;
  --ash: #d8d4cb;
  --cream: #eeeae0;
  --oxblood: #5c1a1b;
  --graphite: #243248;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shell: min(1280px, calc(100vw - 48px));
  --article: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bone);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--carbon);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--graphite);
  text-decoration-color: rgba(36, 50, 72, 0.42);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--oxblood);
  text-decoration-color: var(--oxblood);
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.section-shell {
  margin-inline: auto;
  width: var(--shell);
}

.reading-progress {
  background: var(--ash);
  height: 2px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.reading-progress span {
  background: var(--oxblood);
  display: block;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
}

.site-header {
  align-items: center;
  background: rgba(245, 242, 235, 0.94);
  border-bottom: 1px solid var(--ash);
  display: flex;
  height: 74px;
  justify-content: space-between;
  padding: 0 34px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand-lockup {
  align-items: baseline;
  color: var(--carbon);
  display: flex;
  gap: 14px;
  text-decoration: none;
}

.brand-lockup strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand-lockup span,
.site-nav a,
.menu-toggle {
  color: var(--stone);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 23px;
}

.site-nav a {
  color: var(--smoke);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--oxblood);
}

.menu-toggle {
  background: transparent;
  border: 0;
  color: var(--carbon);
  display: none;
}

.hero {
  min-height: calc(100svh - 74px);
  padding: 80px 0 38px;
  position: relative;
}

.hero::after {
  border-bottom: 1px solid var(--ash);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
}

.hero-glyph {
  opacity: 0.96;
  position: absolute;
  right: 1%;
  top: 98px;
  width: clamp(160px, 20vw, 260px);
}

.hero-glyph svg {
  fill: none;
  overflow: visible;
  stroke: var(--carbon);
  stroke-width: 2;
}

.accent-fill {
  fill: var(--oxblood) !important;
  stroke: var(--oxblood) !important;
}

.eyebrow,
.mono-label,
.section-index,
.hero-meta,
.source-line,
.wide-image figcaption,
.portrait-card figcaption,
.photo-break p,
.site-footer {
  font-family: var(--mono);
}

.eyebrow {
  color: var(--oxblood);
  font-size: 11px;
  letter-spacing: 0.11em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.015em;
}

h1 {
  font-size: clamp(76px, 11vw, 158px);
  line-height: 0.82;
  margin: 78px 0 40px;
  max-width: 1050px;
}

h1 em {
  color: var(--oxblood);
  font-weight: 500;
}

h2 {
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.93;
  margin: 0 0 31px;
}

h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.13;
  margin-bottom: 10px;
}

.hero-dek {
  color: var(--smoke);
  font-size: clamp(20px, 2vw, 28px);
  font-style: italic;
  line-height: 1.42;
  max-width: 800px;
}

.hero-meta {
  border-top: 1px solid var(--ash);
  display: flex;
  gap: clamp(30px, 6vw, 88px);
  margin-top: 62px;
  max-width: 850px;
  padding-top: 17px;
}

.hero-meta div {
  display: grid;
  gap: 3px;
}

.hero-meta span,
.hero-meta strong {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta span {
  color: var(--stone);
}

.hero-meta strong {
  color: var(--carbon);
}

.scroll-cue {
  bottom: 42px;
  color: var(--oxblood);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  position: absolute;
  right: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue span {
  display: inline-block;
  font-size: 18px;
  margin-left: 8px;
}

.chapter {
  border-bottom: 1px solid var(--ash);
  padding: 124px 0 132px;
}

.article-grid {
  display: grid;
  gap: 54px;
  grid-template-columns: 190px minmax(0, var(--article));
  justify-content: center;
}

.section-index {
  align-self: start;
  border-top: 2px solid var(--oxblood);
  color: var(--stone);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding-top: 13px;
  position: sticky;
  text-transform: uppercase;
  top: 110px;
}

.section-index p {
  color: var(--oxblood);
  margin-bottom: 4px;
}

.section-index span {
  display: block;
  line-height: 1.6;
}

.article-content > p:not(.eyebrow):not(.lead):not(.source-line):not(.theory-note) {
  max-width: 68ch;
}

.lead {
  color: var(--smoke);
  font-size: 23px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 27px;
  max-width: 65ch;
}

blockquote {
  border-left: 2px solid var(--oxblood);
  color: var(--oxblood);
  font-size: clamp(25px, 3vw, 36px);
  font-style: italic;
  line-height: 1.25;
  margin: 45px 0 50px;
  padding: 3px 0 3px 25px;
}

blockquote p {
  margin: 0;
}

.finding-grid,
.brand-pillars {
  border-top: 1px solid var(--ash);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 58px;
}

.finding-grid article,
.brand-pillars div {
  border-bottom: 1px solid var(--ash);
  min-height: 218px;
  padding: 22px 24px 24px 0;
}

.finding-grid article:nth-child(odd),
.brand-pillars div:nth-child(odd) {
  border-right: 1px solid var(--ash);
  padding-right: 28px;
}

.finding-grid article:nth-child(even),
.brand-pillars div:nth-child(even) {
  padding-left: 28px;
}

.finding-grid span,
.architecture-list span,
.note-list span {
  color: var(--oxblood);
  font-family: var(--mono);
  font-size: 12px;
}

.finding-grid p,
.brand-pillars p,
.architecture-list p,
.note-list p {
  color: var(--smoke);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 0;
}

.result-strip {
  border-bottom: 1px solid var(--ash);
  border-top: 1px solid var(--ash);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 45px 0 65px;
}

.result-strip div {
  border-right: 1px solid var(--ash);
  display: grid;
  gap: 3px;
  padding: 22px 15px 19px;
}

.result-strip div:first-child {
  padding-left: 0;
}

.result-strip div:last-child {
  border-right: 0;
}

.result-strip strong {
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
}

.result-strip span {
  color: var(--stone);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.chart-card {
  background: var(--cream);
  margin: 0 0 42px;
  padding: 28px 30px 20px;
}

.mono-label {
  color: var(--oxblood);
  font-size: 10px;
  letter-spacing: 0.11em;
  margin-bottom: 11px;
  text-transform: uppercase;
}

.chart-card h3 {
  margin-bottom: 2px;
}

.chart-card figcaption > span {
  color: var(--stone);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.bar-chart {
  display: grid;
  gap: 15px;
  margin: 32px 0 24px;
}

.bar-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 70px 1fr 44px;
}

.bar-row > span {
  color: var(--carbon);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.bar-row i {
  border-bottom: 1px dashed var(--ash);
  height: 16px;
  position: relative;
}

.bar-row b {
  background: var(--oxblood);
  display: block;
  height: 9px;
  margin-top: 4px;
}

.bar-row strong {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
}

.source-line {
  color: var(--stone);
  font-size: 10px;
  letter-spacing: 0.02em;
  margin: 0;
}

.context-block {
  margin: 62px 0 0;
}

.context-grid {
  border-top: 1px solid var(--ash);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 38px 0 0;
}

.context-grid article {
  border-bottom: 1px solid var(--ash);
  border-right: 1px solid var(--ash);
  padding: 20px 18px 21px;
}

.context-grid article:first-child {
  padding-left: 0;
}

.context-grid article:last-child {
  border-right: 0;
}

.context-grid h3 {
  font-size: 21px;
}

.context-grid p:last-child {
  color: var(--smoke);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.poll-note {
  background: var(--cream);
  margin: 50px 0 42px;
  padding: 25px 27px 20px;
}

.poll-note h3 {
  font-size: 28px;
}

.poll-note p:last-child {
  color: var(--smoke);
  margin-bottom: 0;
}

.timeline {
  border-top: 1px solid var(--ash);
  margin: 46px 0;
}

.timeline article {
  border-bottom: 1px solid var(--ash);
  display: grid;
  gap: 20px;
  grid-template-columns: 105px 1fr;
  padding: 24px 0 20px;
}

.timeline time {
  color: var(--oxblood);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.timeline p {
  color: var(--smoke);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.strategy-callout {
  background: var(--carbon);
  color: var(--bone);
  margin-top: 58px;
  overflow: hidden;
  padding: 28px 30px 25px;
  position: relative;
}

.strategy-callout .glyph-path {
  fill: none;
  opacity: 0.52;
  position: absolute;
  right: -3px;
  stroke: var(--bone);
  stroke-linecap: round;
  stroke-width: 1.8;
  top: 20px;
  width: 220px;
}

.strategy-callout .mono-label {
  color: #b96365;
  position: relative;
}

.strategy-callout h3 {
  font-size: 30px;
  max-width: 460px;
  position: relative;
}

.strategy-callout p:last-child {
  color: var(--ash);
  margin-bottom: 0;
  max-width: 570px;
  position: relative;
}

.photo-break {
  background: var(--carbon);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
}

.photo-break figure {
  margin: 0;
  min-height: 440px;
}

.photo-break img,
.wide-image img,
.portrait-card img {
  filter: saturate(0.68) contrast(1.06) sepia(0.08);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-break p {
  background: rgba(26, 24, 23, 0.88);
  bottom: 0;
  color: var(--ash);
  font-size: 10px;
  left: 0;
  letter-spacing: 0.03em;
  margin: 0;
  padding: 12px 18px;
  position: absolute;
}

.photo-break a,
.wide-image a,
.portrait-card a {
  color: inherit;
  text-decoration-color: currentColor;
}

.architecture-list,
.note-list {
  border-top: 1px solid var(--ash);
  margin: 48px 0 48px;
}

.architecture-list article,
.note-list article {
  border-bottom: 1px solid var(--ash);
  display: grid;
  gap: 18px;
  grid-template-columns: 42px 1fr;
  padding: 22px 0 23px;
}

.wide-image {
  margin: 42px 0 0;
}

.wide-image img {
  max-height: 500px;
  min-height: 340px;
}

.wide-image figcaption,
.portrait-card figcaption {
  color: var(--stone);
  font-size: 10px;
  letter-spacing: 0.03em;
  margin-top: 9px;
}

.portrait-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  margin-top: 42px;
}

.portrait-card {
  margin: 0;
}

.portrait-card img {
  aspect-ratio: 4 / 5;
}

.brand-pillars {
  margin-top: 66px;
}

.brand-pillars div {
  min-height: 190px;
}

.calp {
  background: var(--carbon);
  border-color: rgba(216, 212, 203, 0.26);
  color: var(--bone);
}

.calp .section-index {
  border-color: #b96365;
  color: var(--stone);
}

.calp .section-index p,
.calp .eyebrow,
.calp .mono-label {
  color: #b96365;
}

.calp .lead,
.calp .theory-note {
  color: var(--ash);
}

.calp a {
  color: var(--bone);
}

.calp-model {
  border-top: 1px solid rgba(216, 212, 203, 0.24);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 49px 0 48px;
}

.calp-model article {
  border-bottom: 1px solid rgba(216, 212, 203, 0.24);
  border-right: 1px solid rgba(216, 212, 203, 0.24);
  min-height: 366px;
  padding: 22px 19px 24px;
}

.calp-model article:last-child {
  border-right: 0;
}

.calp-model svg {
  fill: none;
  height: 64px;
  margin-bottom: 26px;
  stroke: var(--bone);
  stroke-linecap: round;
  stroke-width: 2.3px;
  width: 64px;
}

.calp-model h3 {
  color: var(--bone);
}

.calp-model p:last-child {
  color: var(--ash);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
}

.calp blockquote {
  border-color: #b96365;
  color: #d17e7f;
}

.theory-note {
  border-top: 1px solid rgba(216, 212, 203, 0.24);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-top: 42px;
  padding-top: 17px;
}

.karur {
  background: var(--cream);
}

.ethics-line {
  border-top: 1px solid var(--ash);
  display: grid;
  gap: 18px;
  grid-template-columns: 8px 1fr;
  margin-top: 45px;
  padding-top: 20px;
}

.ethics-line span {
  background: var(--oxblood);
  display: block;
  height: 8px;
  margin-top: 9px;
  width: 8px;
}

.ethics-line p {
  color: var(--oxblood);
  font-size: 22px;
  font-style: italic;
  line-height: 1.38;
}

.source-groups {
  border-top: 1px solid var(--ash);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 48px 0 55px;
}

.source-groups article {
  border-bottom: 1px solid var(--ash);
  border-right: 1px solid var(--ash);
  padding: 22px 20px 20px;
}

.source-groups article:first-child {
  padding-left: 0;
}

.source-groups article:last-child {
  border-right: 0;
}

.source-groups p {
  color: var(--smoke);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
}

.bibliography {
  display: grid;
}

.bibliography > a {
  border-top: 1px solid var(--ash);
  color: var(--carbon);
  display: grid;
  font-size: 16px;
  gap: 13px;
  grid-template-columns: 28px 1fr;
  line-height: 1.45;
  padding: 13px 0;
  text-decoration: none;
}

.bibliography > a:last-child {
  border-bottom: 1px solid var(--ash);
}

.bibliography > a:hover {
  color: var(--oxblood);
}

.bibliography span {
  color: var(--oxblood);
  font-family: var(--mono);
  font-size: 11px;
  padding-top: 4px;
}

.author-section {
  background: var(--cream);
  padding: 88px 0 95px;
}

.author-inner {
  display: grid;
  gap: 54px;
  grid-template-columns: 1fr 1.5fr;
}

.author-inner h2 {
  font-size: clamp(56px, 7vw, 98px);
}

.author-inner .lead {
  font-size: 22px;
}

.text-link {
  color: var(--oxblood);
  display: inline-flex;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  gap: 9px;
  letter-spacing: 0.12em;
  margin-top: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  font-size: 17px;
}

.site-footer {
  background: var(--carbon);
  color: var(--bone);
  padding: 24px 0 25px;
}

.footer-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.site-footer .brand-lockup strong,
.site-footer .brand-lockup span,
.site-footer a {
  color: var(--bone);
}

.site-footer p,
.site-footer > a {
  color: var(--stone);
  font-size: 10px;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}

.site-footer a {
  font-size: 10px;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 740px);
  }

  .site-header {
    height: 66px;
    padding: 0 18px;
  }

  .site-header .brand-lockup span {
    display: none;
  }

  .menu-toggle {
    align-items: flex-end;
    display: grid;
    gap: 4px;
    justify-items: end;
    padding: 7px 0;
  }

  .menu-toggle i {
    background: var(--carbon);
    display: block;
    height: 1px;
    width: 22px;
  }

  .site-nav {
    align-items: stretch;
    background: var(--bone);
    border-bottom: 1px solid var(--ash);
    display: none;
    gap: 0;
    left: 0;
    padding: 10px 18px 17px;
    position: absolute;
    right: 0;
    top: 66px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    border-bottom: 1px solid var(--ash);
    padding: 13px 0 11px;
  }

  .hero {
    min-height: calc(100svh - 66px);
    padding-top: 62px;
  }

  .hero-glyph {
    opacity: 0.24;
    right: 0;
    top: 58px;
    width: 160px;
  }

  h1 {
    font-size: clamp(72px, 21vw, 130px);
    margin: 58px 0 32px;
  }

  h2 {
    font-size: clamp(48px, 14vw, 74px);
  }

  .hero-meta {
    display: grid;
    gap: 10px;
    margin-top: 42px;
  }

  .hero-meta div {
    gap: 15px;
    grid-template-columns: 92px 1fr;
  }

  .scroll-cue {
    bottom: 24px;
    left: 0;
    right: auto;
  }

  .chapter {
    padding: 88px 0 95px;
  }

  .article-grid {
    display: block;
  }

  .section-index {
    margin-bottom: 38px;
    position: static;
  }

  .finding-grid,
  .brand-pillars {
    display: block;
  }

  .finding-grid article,
  .brand-pillars div {
    border-right: 0 !important;
    min-height: auto;
    padding: 20px 0 !important;
  }

  .photo-break {
    display: block;
  }

  .photo-break figure {
    min-height: auto;
  }

  .photo-break p {
    background: var(--carbon);
    line-height: 1.5;
    position: static;
  }

  .portrait-layout,
  .context-grid,
  .source-groups,
  .author-inner {
    display: block;
  }

  .context-grid article {
    border-right: 0;
    padding: 17px 0;
  }

  .portrait-card {
    margin-bottom: 27px;
  }

  .source-groups article {
    border-right: 0;
    padding: 17px 0;
  }

  .calp-model {
    display: block;
  }

  .calp-model article {
    border-right: 0;
    min-height: auto;
    padding: 22px 0;
  }

  .footer-inner {
    align-items: flex-start;
    display: grid;
    gap: 16px;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }

  .brand-lockup strong {
    font-size: 19px;
  }

  .hero {
    padding-top: 49px;
  }

  .hero-dek {
    font-size: 20px;
  }

  .lead {
    font-size: 20px;
  }

  blockquote {
    font-size: 26px;
    margin: 38px 0 42px;
    padding-left: 17px;
  }

  .result-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-strip div:nth-child(2) {
    border-right: 0;
  }

  .result-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ash);
  }

  .result-strip div:nth-child(3) {
    padding-left: 0;
  }

  .chart-card,
  .strategy-callout,
  .poll-note {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .bar-row {
    grid-template-columns: 56px 1fr 35px;
  }

  .timeline article {
    display: block;
  }

  .timeline time {
    display: block;
    margin-bottom: 8px;
  }

  .wide-image {
    margin-left: -18px;
    margin-right: -18px;
  }

  .wide-image figcaption {
    padding-inline: 18px;
  }
}
