:root {
  color-scheme: light;
  --ink: #161513;
  --muted: #615f59;
  --soft: #8b867d;
  --paper: #f3efe7;
  --wash: #e8dfd2;
  --panel: #fffaf0;
  --panel-quiet: #f8f1e6;
  --coal: #141312;
  --coal-2: #1d1a18;
  --line: #d6cbbd;
  --line-strong: #aa9c8a;
  --red: #b54034;
  --teal: #0d7474;
  --gold: #a77317;
  --blue: #315a92;
  --green: #426f4c;
  --shadow: 0 22px 48px rgba(32, 28, 22, 0.11);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

.shell {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.masthead {
  background: var(--coal);
  color: #f8f4ea;
  border-bottom: 1px solid #2b2926;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8f4ea;
  font-weight: 820;
  font-size: .95rem;
  text-decoration: none;
}

.brand-mark::before {
  content: "";
  width: 28px;
  height: 28px;
  background:
    linear-gradient(90deg, var(--red) 0 34%, var(--gold) 34% 68%, var(--teal) 68% 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #f8f4ea;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: #f8f4ea;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 780;
  line-height: 1;
}

.site-nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.site-nav a[aria-current="page"] {
  background: #f8f4ea;
  border-color: #f8f4ea;
  color: var(--coal);
}

.section-nav-wrap {
  background: rgba(20, 19, 18, .92);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.section-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  min-height: 48px;
}

.section-nav span {
  color: #99918a;
  font-size: .74rem;
  font-weight: 820;
  line-height: 1;
  text-transform: uppercase;
}

.section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  color: #d2ccc1;
  border-radius: 6px;
  text-decoration: none;
  font-size: .79rem;
  font-weight: 760;
  line-height: 1;
}

.section-nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.brand-mark:focus-visible,
.site-nav a:focus-visible,
.section-nav a:focus-visible {
  outline: 3px solid rgba(181, 64, 52, .42);
  outline-offset: 3px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .58fr);
  gap: 56px;
  align-items: center;
  padding: 76px 0 58px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.masthead .eyebrow {
  color: #e19a85;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.35rem;
  font-weight: 500;
  line-height: .92;
  letter-spacing: 0;
  text-wrap: balance;
}

.dek {
  max-width: 750px;
  margin: 26px 0 0;
  color: #ddd5c8;
  font-size: 1.18rem;
  line-height: 1.6;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  max-width: 880px;
  border-block: 1px solid rgba(255,255,255,.15);
  overflow: clip;
}

.meta-pill {
  display: grid;
  align-content: center;
  min-height: 66px;
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,.15);
  color: #f8f4ea;
  font-size: .86rem;
  font-weight: 780;
  line-height: 1.2;
}

.meta-pill:last-child {
  border-right: 0;
}

.signal-board {
  background: var(--panel-quiet);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .24);
}

.signal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 18px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.signal-kicker {
  margin: 0 0 9px;
  color: var(--red);
  font-size: .74rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0;
}

.signal-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

.signal-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.signal-number {
  display: grid;
  align-content: center;
  justify-items: end;
  text-align: right;
}

.signal-number strong {
  display: block;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.3rem;
  font-weight: 500;
  line-height: .9;
}

.signal-number span {
  max-width: 92px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 780;
  line-height: 1.15;
}

.signal-list {
  padding: 14px 18px 6px;
}

.signal-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
  min-height: 54px;
}

.signal-row + .signal-row {
  border-top: 1px solid var(--line);
}

.signal-rank {
  color: var(--soft);
  font-size: .75rem;
  font-weight: 820;
}

.signal-row-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.signal-name {
  color: var(--ink);
  font-size: .91rem;
  font-weight: 820;
  line-height: 1.15;
}

.signal-tone {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 760;
  white-space: nowrap;
}

.bar {
  height: 8px;
  background: #e5d9c9;
  border-radius: var(--radius);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: var(--radius);
}

.c-red { background: var(--red); }
.c-teal { background: var(--teal); }
.c-gold { background: var(--gold); }
.c-blue { background: var(--blue); }
.c-green { background: var(--green); }
.c-ink { background: var(--ink); }

.signal-value {
  color: var(--ink);
  font-size: .9rem;
  text-align: right;
}

.signal-note {
  margin: 0;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.section {
  padding: 68px 0;
}

.section.alt {
  background: var(--wash);
}

.section.dark {
  background: var(--coal-2);
  color: #f8f4ea;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, .48fr) minmax(320px, .52fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 32px;
}

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

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.78rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-title > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.dark .section-title > p {
  color: #cfc6ba;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(280px, .34fr);
  gap: 44px;
  align-items: stretch;
}

.lead-copy {
  max-width: 78ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  line-height: 1.55;
}

.lead-copy p:last-child {
  margin-bottom: 0;
}

.lead-stats {
  display: grid;
  gap: 0;
  border-block: 1px solid rgba(255,255,255,.16);
}

.lead-stat {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 98px;
  padding: 18px 0;
}

.lead-stat + .lead-stat {
  border-top: 1px solid rgba(255,255,255,.16);
}

.lead-stat strong {
  color: #e19a85;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: .9;
}

.lead-stat span {
  color: #ddd5c8;
  font-size: .95rem;
  font-weight: 740;
  line-height: 1.25;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.pattern-card {
  min-height: 310px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.pattern-card:last-child {
  border-right: 0;
}

.pattern-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.implication-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.implication {
  min-height: 206px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.implication strong {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.implication p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.sessions-grid {
  display: grid;
  gap: 22px;
}

.session-block {
  display: grid;
  grid-template-columns: minmax(92px, .12fr) minmax(0, .88fr);
  gap: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: clip;
}

.session-index {
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 26px 18px;
  border-right: 1px solid var(--line);
  background: var(--panel-quiet);
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.session-main {
  padding: 26px 28px 30px 0;
}

.session-kicker {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0;
}

.session-main h3 {
  margin-bottom: 11px;
}

.session-relevance {
  max-width: 74ch;
  margin: 0 0 22px;
  color: var(--muted);
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(0, .58fr);
  gap: 32px;
  align-items: start;
}

blockquote {
  margin: 0;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-style: italic;
  line-height: 1.5;
}

blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .78rem;
  font-style: normal;
  font-weight: 820;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
  max-width: 76ch;
}

li + li {
  margin-top: 10px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid rgba(255,255,255,.15);
}

.action {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.15);
}

.action:last-child {
  border-right: 0;
}

.action strong {
  display: block;
  color: #f8f4ea;
  margin-bottom: 10px;
  font-size: 1.02rem;
  line-height: 1.22;
}

.action p {
  margin: 0;
  color: #cfc6ba;
  font-size: .92rem;
}

@media (max-width: 980px) {
  .hero-inner,
  .section-title,
  .lead-grid,
  .evidence-layout {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .signal-board {
    max-width: 560px;
  }

  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pattern-grid,
  .implication-grid,
  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pattern-card {
    min-height: 240px;
    border-bottom: 1px solid var(--line);
  }

  .pattern-card:nth-child(2),
  .pattern-card:nth-child(4) {
    border-right: 0;
  }

  .pattern-card:last-child {
    grid-column: 1 / -1;
    min-height: auto;
    border-bottom: 0;
  }

  .action:nth-child(2) {
    border-right: 0;
  }

  .action:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .site-nav,
  .section-nav {
    justify-content: flex-start;
  }

  .hero-inner {
    padding: 42px 0 34px;
    gap: 28px;
  }

  h1 {
    font-size: 2.68rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.55rem;
  }

  .section {
    padding: 38px 0;
  }

  .hero-meta,
  .pattern-grid,
  .implication-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    border: 1px solid rgba(255,255,255,.15);
    border-bottom: 0;
  }

  .meta-pill {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .signal-head {
    grid-template-columns: 1fr;
  }

  .signal-number {
    justify-items: start;
    text-align: left;
  }

  .signal-row {
    grid-template-columns: 30px minmax(0, 1fr) 28px;
    gap: 10px;
  }

  .signal-row-title {
    align-items: baseline;
    flex-direction: row;
    gap: 8px;
  }

  .signal-tone {
    max-width: 116px;
    text-align: right;
    white-space: normal;
  }

  .lead-copy {
    font-size: 1.22rem;
  }

  .lead-stat {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .pattern-card,
  .pattern-card:nth-child(2),
  .pattern-card:nth-child(4) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pattern-card:last-child {
    border-bottom: 0;
  }

  .session-block {
    grid-template-columns: 1fr;
  }

  .session-index {
    justify-items: start;
    padding: 20px 18px 0;
    border-right: 0;
    background: var(--panel);
  }

  .session-main {
    padding: 12px 18px 24px;
  }

  blockquote {
    font-size: 1.04rem;
  }

  .action,
  .action:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .action:last-child {
    border-bottom: 0;
  }
}
