.sp { --rd: 640px; font-size: 20px; line-height: 1.66; }
/* Every column lines up with the menu: same max width and gutters as the site's .wrap,
   so text runs from the left of "Lawrence Cotter" to the right of "Get the letters". */
.sp .col, .sp .col.wide { max-width: var(--content-max, 1240px); margin: 0 auto; box-sizing: border-box;
  padding-left: max(clamp(16px, 5vw, 72px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 5vw, 72px), env(safe-area-inset-right, 0px)); }
/* The reading column (each part): centered, about 96 characters a line (measured: Urbanist at 20px
   measured on full lines: 42.5em gives ~96 characters). Header and contents keep the menu edges. */
.sp .col:not(.wide) { box-sizing: content-box; max-width: 42.5em;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sp p { margin: 0 0 1.4em; }
.sp li { margin-bottom: .45em; }
.sp p.beat { font-size: 24px; line-height: 1.38; margin: 2.4em 0 1.1em; }
.sp p.beat strong { font-weight: 700; }
.sp .col > p.beat:first-of-type { margin-top: 0; }
.sp ul { margin: 0 0 1.2em; padding-left: 22px; }
.sp strong { font-weight: 650; color: var(--white); }
.sp .lab { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }
.sp .note { background: var(--onyx); border-block: 1px solid var(--charcoal); padding-block: 14px; font-size: 15px; color: var(--ash); }
.sp .note .col { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.sp .note b { color: var(--white); }
.sp .note button { font: inherit; font-weight: 700; font-size: 14px; color: var(--white); background: transparent; border: 1px solid var(--stone); padding: 8px 14px; cursor: pointer; }
.sp .note button[aria-pressed="true"] { background: var(--white); color: var(--carbon); border-color: var(--white); }
.sp .top { padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 80px); overflow: hidden; }
.sp .grid2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.sp h1 { font-size: clamp(52px, 8vw, 104px); line-height: .98; font-weight: 800; color: var(--white); margin: 14px 0 20px; letter-spacing: -.02em; }
.sp .sub { font-size: 22px; color: var(--ash); max-width: 480px; margin: 0; }
.sp .ripple { position: relative; aspect-ratio: 1; width: 100%; max-width: 420px; justify-self: center; }
.sp .ripple i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid var(--charcoal); }
.sp .ripple .pulse { border-color: var(--ash); width: 6%; height: 6%; opacity: 0; animation: sp-pulse 7s linear infinite; }
.sp .ripple .pulse:nth-child(2) { animation-delay: 2.33s; } .sp .ripple .pulse:nth-child(3) { animation-delay: 4.66s; }
.sp .ripple b { position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--hope); box-shadow: 0 0 24px rgba(155,35,53,.7); }
@keyframes sp-pulse { 0% { width: 6%; height: 6%; opacity: .8; } 100% { width: 100%; height: 100%; opacity: 0; } }
.sp .part { padding-block: clamp(72px, 8vw, 120px); border-top: 1px solid var(--charcoal); }
.sp .part h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 700; color: var(--white); margin: 18px 0 40px; text-wrap: balance; letter-spacing: -.01em; }
.sp .part h3 { font-size: 26px; color: var(--white); margin: 64px 0 16px; }
.sp .light { background: var(--linen); color: var(--carbon); border-top: 0; }
.sp .light h2, .sp .light h3, .sp .light strong { color: var(--carbon); }
.sp .light .lab { color: var(--charcoal); }
.sp sup a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 700; padding: 0 1px; }
.sp .pq { margin: 96px 0; }
.sp .pq p { margin: 0; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.16; font-weight: 400; font-style: italic; color: var(--white); text-wrap: balance; letter-spacing: -.01em; }
.sp .pq strong { font-weight: 400; color: inherit; }
.sp .light .pq p { color: var(--carbon); }
.sp .cut { position: relative; color: var(--stone); text-decoration: line-through; text-decoration-thickness: 1px; border-left: 2px solid var(--hope); padding-left: 14px; margin-left: -16px; }
.sp .cut * { color: inherit !important; }
.sp .cut::before { content: "Cut"; position: absolute; left: -54px; top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--hope); }
/* Diagrams sit inside the text column, centered, never wider than the text. */
.sp figure.sd { margin: 88px auto 96px; width: 100%; max-width: 100%; }
.sp figure.sd .frame { border-block: 1px solid var(--charcoal); padding-block: 36px; }
.sp .light figure.sd .frame, .sp .panel figure.sd .frame { border-color: var(--ash); }
.sp figure.sd svg, .sp figure.sd canvas { display: block; width: 100%; height: auto; max-width: 100%; }
.sp figure.sd figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; line-height: 1.55; color: var(--stone); }
.sp figure.sd .what { color: var(--ash); max-width: 62ch; }
.sp .light figure.sd .what, .sp .panel figure.sd .what { color: var(--charcoal); }
.sp .bn { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: flex-end; margin-bottom: 32px; }
.sp .bn span { flex: 1 1 260px; }
.sp .bn b i { font-style: normal; display: inline-block; }
.sp .bn b { font-size: clamp(54px, 9vw, 116px); line-height: .9; font-weight: 800; letter-spacing: -.03em; color: var(--white); font-variant-numeric: tabular-nums; }
.sp .bn span { font-size: 19px; padding-bottom: 10px; color: var(--ash); }
.sp .light .bn b { color: var(--carbon); } .sp .light .bn span { color: var(--charcoal); }
.sp svg .ln { stroke: var(--charcoal); fill: none; } .sp svg .mid { stroke: var(--stone); fill: none; } .sp svg .dash { stroke: var(--stone); stroke-dasharray: 3 4; fill: none; }
.sp svg .hi { stroke: var(--ash); stroke-width: 1.3; fill: none; } .sp svg .box { fill: none; stroke: var(--ash); }
.sp svg .red { fill: var(--hope); } .sp svg .redline { stroke: var(--hope); stroke-width: 3; }
.sp svg .t, .sp svg .t text { font-family: Urbanist, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; fill: var(--stone); }
.sp svg .hi-t { fill: var(--ash); } .sp svg .num text { font-family: Urbanist, sans-serif; font-weight: 800; font-size: 40px; fill: var(--white); }
.sp .light svg .ln { stroke: var(--ash); } .sp .light svg .t, .sp .light svg .t text { fill: var(--charcoal); }
.sp .light svg .hi, .sp .light svg .box { stroke: var(--charcoal); } .sp .light svg .mid, .sp .light svg .dash { stroke: var(--stone); }
.sp .light svg .hi-t { fill: var(--carbon); } .sp .light svg .num text { fill: var(--carbon); }
.sp .light svg [fill="#c8c4bc"] { fill: var(--charcoal); } .sp .light svg [stroke="#c8c4bc"] { stroke: var(--charcoal); }
.sp .light svg [fill="#0a0a0a"] { fill: var(--linen); } .sp .light .part h3 { color: var(--carbon); }
.sp .light figure.sd .frame { border-color: var(--ash); }
.sp .panel { background: var(--linen); color: var(--carbon); padding: clamp(28px, 6vw, 72px); margin: 96px 0; }
.sp .panel .lab { color: var(--charcoal); }
.sp .panel figure.sd { margin: 48px 0 0; }
.sp .panel figure.sd .frame { padding-block: 24px; }
.sp .math { display: grid; gap: 14px; font-size: clamp(17px, 2.2vw, 24px); font-variant-numeric: tabular-nums; margin: 16px 0 4px; }
.sp .math div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; border-bottom: 1px solid var(--ash); padding-bottom: 14px; }
.sp .math span:last-child { font-weight: 700; text-align: right; }
.sp .mantra { position: relative; margin: 96px 0; padding: 120px 16px; text-align: center; overflow: hidden; }
.sp .mantra-rings { position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 15px, var(--onyx) 15px 16px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0 30%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 0 30%, transparent 72%); }
.sp .mantra p { position: relative; margin: 0; font-size: clamp(28px, 4.8vw, 56px); line-height: 1.14; font-weight: 700; color: var(--white); }
.sp .mantra strong, .sp .mantra em { font-style: normal; font-weight: 700; color: inherit; }
.sp .mantra .dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--hope); margin: 26px auto 0; box-shadow: 0 0 26px rgba(155,35,53,.8); }
.sp .notes { padding-block: 40px 72px; }
.sp .fn { font-size: 15px; color: var(--stone); }
.sp .fn a { color: var(--ash); }
/* Phones: bigger tap areas on the small links (back to contents, footnote marks) without changing how they look */
.sp .back a { display: inline-block; padding-block: 12px; }
.sp sup a, .sp .fn a { position: relative; }
.sp sup a::after, .sp .fn a::after { content: ""; position: absolute; inset: -14px -12px; }
@media (max-width: 760px) { .sp .grid2 { grid-template-columns: 1fr; } .sp .ripple { max-width: 260px; order: -1; } .sp .cut::before { position: static; display: block; } .sp .cut { margin-left: 0; } }
/* 21 Nov polish: reading weight on black, headings, contents, progress, equation, bold italics */
.sp .part:not(.light) > .col > p, .sp .part:not(.light) li { font-weight: 500; color: #e9e6e0; }
.sp .part:not(.light) strong { font-weight: 700; }
.sp h2 .nw { white-space: nowrap; }
@media (max-width: 520px) { .sp h2 .nw { white-space: normal; } }
.sp strong em, .sp em strong { font-weight: 300; font-style: italic; font-size: 1.2em; }
.sp p.eq { font-size: clamp(54px, 9vw, 104px); line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--white); margin: 64px 0 40px; }
.sp .light p.eq { color: var(--carbon); }
.sp .toc { border-top: 1px solid var(--charcoal); padding-block: 40px 56px; }
.sp .toc ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.sp .toc li { border-top: 1px solid var(--charcoal); margin: 0; }
.sp .toc a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px 0; color: var(--ash); text-decoration: none; font-size: 17px; line-height: 1.35; font-weight: 500; transition: color .2s; }
.sp .toc a:hover, .sp .toc a:focus-visible { color: var(--white); }
.sp .toc .n { font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .sp .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sp .toc ol { grid-template-columns: 1fr; } }
.sp p.back { margin: 56px 0 0; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sp p.back a { color: var(--stone); text-decoration: none; } .sp p.back a:hover { color: var(--white); }
.sp .light p.back a { color: var(--charcoal); } .sp .light p.back a:hover { color: var(--carbon); }
.sp .part { scroll-margin-top: 0; }
.sp-progress { display: none; }
@supports (animation-timeline: scroll()) {
  @keyframes sp-read { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .sp-progress { display: block; position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--ash); transform-origin: 0 50%;
    animation: sp-read linear both; animation-timeline: scroll(root); }
}
/* diagram labels stay readable on phones */
@media (max-width: 760px) {
  .sp svg .t, .sp svg .t text { font-size: 21px; letter-spacing: .05em; }
  .sp svg .s { font-size: 19px; }
  .sp svg .s.alt { transform: translateY(26px); }
  .sp svg .s.first { text-anchor: start; transform: translateX(-24px); }
  .sp svg .num text { font-size: 46px; }
}
/* motion: only when the viewer allows it; diagrams play once as they come into view */
.motion .sp [data-a] { transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1), stroke-dashoffset 2.2s cubic-bezier(.45,0,.2,1);
  transition-delay: calc(var(--i, 0) * var(--st, 70ms)); }
.motion .sp .play:not(.in) [data-a="fade"] { opacity: 0; }
.motion .sp .play:not(.in) [data-a="rise"] { opacity: 0; transform: translateY(18px); }
.motion .sp [data-a="grow"] { transform-box: fill-box; transform-origin: 50% 100%; }
.motion .sp .play:not(.in) [data-a="grow"] { transform: scaleY(0); }
.motion .sp [data-a="growx"] { transform-box: fill-box; transform-origin: 50% 50%; }
.motion .sp .play:not(.in) [data-a="growx"] { transform: scaleX(0); }
.motion .sp [data-a="draw"] { stroke-dasharray: 1; }
.motion .sp .play:not(.in) [data-a="draw"] { stroke-dashoffset: 1; }
.motion .sp .mantra .dot { transition: opacity .8s ease 1.9s; }
.motion .sp .mantra:not(.in) .dot { opacity: 0; }
.motion .sp .mantra.in .dot { animation: sp-beat 1.6s ease-out 2.2s 1; }
@keyframes sp-beat { 0% { box-shadow: 0 0 0 0 rgba(155,35,53,.75), 0 0 26px rgba(155,35,53,.8); } 100% { box-shadow: 0 0 0 46px rgba(155,35,53,0), 0 0 26px rgba(155,35,53,.8); } }
@media (prefers-reduced-motion: reduce) { .sp .ripple .pulse { animation: none; } .sp-progress { display: none !important; } }

/* /dinosaurs additions */
.dn h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; text-wrap: balance; }
.dn .strata { width: 100%; max-width: 420px; justify-self: center; }
.dn .strata svg { display: block; width: 100%; height: auto; }
.dn .strata .ln { stroke: var(--charcoal); fill: none; } .dn .strata .mid { stroke: var(--stone); fill: none; stroke-opacity: .6; }
.dn .strata .redline { stroke: var(--hope); stroke-width: 3; fill: none; }
.dn .strata .t { font-family: Urbanist, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; fill: var(--stone); }
.dn p.law { font-size: 24px; line-height: 1.45; border-left: 2px solid var(--stone); padding-left: 24px; margin: 40px 0; }
.dn .toc ol { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.dn .notes .fn { font-style: italic; }
.dn p.reveal { font-size: clamp(72px, 12vw, 160px); line-height: 1; font-weight: 700; letter-spacing: .02em; color: var(--white); margin: 48px 0 56px; }
.dn p.close { text-align: center; text-wrap: balance; }
@media (max-width: 760px) { .dn .strata { max-width: 280px; order: -1; } }