/* Real proof: the before and after, the build timeline and the Company page around them. Tokens only. */

/* ---------- The real before and after ---------- */
.real__head { display: grid; justify-items: start; gap: var(--s-4); }
.real__stage { margin: 0; }
.real__steps { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-3) var(--grid-gap); }
@media (min-width: 768px) { .real__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.real__step { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s-3); color: var(--ink-2); max-width: 40ch; }
.real__step .glyph { color: var(--slate); margin-top: 3px; }
.pcmp { --p: 50%; margin: 0; }
.pcmp__frame { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--instrument); box-shadow: var(--sh-3); display: grid; gap: 2px; isolation: isolate; }
.pcmp__side { position: relative; }
.pcmp__side img { display: block; width: 100%; height: auto; }
.pcmp__tag { position: absolute; left: var(--s-3); top: var(--s-3); padding: 2px var(--s-2); border-radius: var(--r-xs); background: color-mix(in srgb, var(--instrument) 78%, transparent); color: var(--chalk); }
.pcmp__tag--after { left: auto; right: var(--s-3); background: var(--chalk); color: var(--ink); }
.pcmp__caption { margin-top: var(--s-3); color: var(--ink-2); font-size: var(--t-small); line-height: var(--lh-small); max-width: 72ch; }
.pcmp.is-live .pcmp__frame { display: block; aspect-ratio: 1280 / 474; }
.pcmp.is-live .pcmp__side { position: absolute; inset: 0; }
.pcmp.is-live .pcmp__side img { height: 100%; object-fit: cover; }
.pcmp.is-live .pcmp__side--after { clip-path: inset(0 0 0 var(--p)); }
.pcmp__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.pcmp__handle { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pcmp__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--chalk); }
.pcmp__grip { position: absolute; left: clamp(22px, var(--p), calc(100% - 22px)); top: 50%; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: var(--r-round); background: var(--chalk); box-shadow: var(--sh-2); color: var(--ink); }
.pcmp__grip svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pcmp__range:focus-visible ~ .pcmp__handle .pcmp__grip { outline: 2px solid var(--focus-on-dark); outline-offset: 2px; }
/* Phones: both screens in full, one above the other. */
@media (max-width: 639.98px) {
  .pcmp.is-live .pcmp__frame { display: grid; aspect-ratio: auto; }
  .pcmp.is-live .pcmp__side { position: relative; inset: auto; }
  .pcmp.is-live .pcmp__side img { height: auto; }
  .pcmp.is-live .pcmp__side--after { clip-path: none; }
  .pcmp__range, .pcmp__handle { display: none; }
}

/* ---------- Company: hero ---------- */
.page-hero--company h1 { max-width: 20ch; font-size: var(--t-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); }
.page-hero--company .lead { max-width: 56ch; }
.page-hero--company { padding-top: var(--s-6); }
.company-founder { display: inline-flex; align-items: center; gap: var(--s-3); margin-top: var(--s-3); text-decoration: none; color: inherit; }
.company-founder img { display: block; width: 56px; height: 56px; border-radius: var(--r-round); object-fit: cover; }
.company-founder__faces { display: inline-flex; flex: none; }
.company-founder__faces img { box-shadow: 0 0 0 1px var(--line); }
.company-founder__faces img + img { margin-left: -14px; box-shadow: 0 0 0 3px var(--chalk), 0 0 0 4px var(--line); }
.founder + .founder { margin-top: var(--grid-gap); }
.founder__list { align-content: start; }
.company-hero { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1024px) {
  .company-hero { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); }
  .company-hero > .page-hero__inner { grid-column: 1 / span 7; }
  .glance { grid-column: 9 / span 4; }
}
.glance { margin: 0; display: grid; padding: var(--s-4) clamp(20px, 2.4vw, 32px) var(--s-2); border-radius: var(--r-md); background: var(--instrument); color: var(--chalk); box-shadow: var(--sh-3); }
.glance__list { margin: 0; }
.glance__row { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s-1); padding: 14px 0; border-top: 1px solid var(--dark-line); }
.glance__row:first-child { border-top: 0; }
.glance__n { margin: 0; font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.05; letter-spacing: var(--tr-h2); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); }
.glance__label { color: var(--on-dark-2); font-size: var(--t-small); line-height: var(--lh-small); }

/* ---------- Company: the problem ---------- */
.thesis__pair { display: grid; gap: var(--grid-gap); }
@media (min-width: 900px) { .thesis__pair { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.tcard { margin: 0; display: grid; align-content: space-between; gap: var(--s-5); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-md); }
.tcard--ink { background: var(--instrument); color: var(--chalk); }
.tcard--sage { background: var(--sage); }
.tcard__n { margin: 0; font-family: var(--font-display); font-size: clamp(3.25rem, 2.2rem + 4.2vw, 6rem); line-height: 1; letter-spacing: var(--tr-display); font-weight: var(--wght-display); font-stretch: var(--wdth-display); }
.tcard__text { color: var(--on-dark-2); max-width: 40ch; }
.tcard__line { display: block; margin-top: var(--s-4); color: var(--chalk); font-family: var(--font-display); font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); }
.tcard__quote { margin: 0; font-family: var(--font-display); font-size: var(--t-h2); line-height: 1.14; letter-spacing: var(--tr-h2); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); max-width: 26ch; }
.tcard__cite { color: var(--ink-2); font-size: var(--t-small); line-height: var(--lh-small); }
.source { color: inherit; font-size: var(--t-meta); line-height: var(--lh-meta); white-space: nowrap; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tcard--ink .source, .source--dark { color: var(--on-dark-2); }
.source--dark { white-space: normal; }
/* Those zeros, in our game */
.thesis__four { margin-top: var(--s-7); }
.thesis__h3 { margin-bottom: var(--s-4); font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: var(--wght-h3); font-stretch: var(--wdth-h3); }
.thesis__grid { margin: 0; display: grid; gap: var(--s-4) var(--grid-gap); }
@media (min-width: 600px) { .thesis__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.thesis__item { padding-top: var(--s-3); border-top: 1px solid var(--line-strong); }
.thesis__item dt { font-weight: 600; }
.thesis__item dd { margin: var(--s-1) 0 0; color: var(--ink-2); max-width: 34ch; }
.thesis__cite { color: var(--ink-3); font-size: var(--t-small); }

/* ---------- Company: moments ---------- */
.moments__grid { display: grid; gap: var(--s-6); align-items: start; }
.moments__copy { display: grid; justify-items: start; gap: var(--s-4); }
.moments__side { display: grid; gap: var(--s-6); }
.moments__card { gap: 0; padding: clamp(20px, 2.4vw, 32px); }
.moments__card .tcard__text { max-width: 52ch; color: var(--chalk); }
.moments__card .source { color: var(--on-dark-2); }
.moments__quote { margin: 0 0 var(--s-3); font-family: var(--font-display); font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); }
.moments__then { color: var(--ink-2); }
.moments__then + .moments__then { margin-top: var(--s-2); color: var(--ink); font-weight: 500; }
@media (min-width: 1024px) {
  .moments__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); }
  .moments__copy { grid-column: 1 / span 6; }
  .moments__side { grid-column: 8 / span 5; }
}

/* ---------- Company: why now ---------- */
.whynow { padding-block: var(--s-section); background: var(--instrument); color: var(--chalk); }
.whynow__chip { margin-bottom: var(--s-4); }
.whynow__title { max-width: 22ch; font-size: var(--t-h1); line-height: var(--lh-h1); letter-spacing: var(--tr-h1); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); color: var(--chalk); }
.whynow__nums { list-style: none; margin: var(--s-head) 0 0; padding: 0; display: grid; gap: var(--s-6) var(--grid-gap); }
@media (min-width: 600px) { .whynow__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .whynow__nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wnum { display: grid; align-content: start; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--dark-line-active); }
.wnum__n { margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 2.4rem + 2vw, 4.5rem); line-height: 1; letter-spacing: var(--tr-display); font-weight: var(--wght-display); font-stretch: var(--wdth-display); color: var(--rust-light); }
.wnum__text { color: var(--chalk); max-width: 30ch; }
.wnum__sources { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); margin: 0; }
.whynow__after { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
@media (min-width: 1024px) { .whynow__after { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); } .whynow__line { grid-column: 1 / span 5; } .whynow__story { grid-column: 7 / span 6; } .whynow__line { grid-row: 1 / span 2; } }
.whynow__line { font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: var(--wght-h3); font-stretch: var(--wdth-h3); max-width: 26ch; }
.whynow__story { color: var(--on-dark-2); max-width: 56ch; }

/* ---------- Company: the build timeline ---------- */
.venator__rail-title { margin-bottom: var(--s-4); max-width: none; font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: var(--wght-h3); font-stretch: var(--wdth-h3); }
.tline { margin: 0; }
.tline__stack { position: relative; display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tline__frame { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--instrument); }
.tline__frame img { display: block; width: 100%; height: auto; }
.tline__tag { position: absolute; left: var(--s-3); bottom: var(--s-3); margin: 0; padding: var(--s-1) var(--s-2); border-radius: var(--r-xs); background: color-mix(in srgb, var(--instrument) 78%, transparent); color: var(--chalk); font-size: var(--t-meta); line-height: var(--lh-meta); }
.tline__tag span { color: var(--on-dark-2); }
.tline__tag b { font-weight: 600; }
.tline__caption { margin-top: var(--s-3); color: var(--ink-2); font-size: var(--t-small); line-height: var(--lh-small); max-width: 72ch; }
.tline.is-live .tline__stack { display: block; aspect-ratio: 1120 / 547; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-3); background: var(--instrument); }
.tline.is-live .tline__frame { position: absolute; inset: 0; opacity: 0; border-radius: 0; transition: opacity var(--d-roll) var(--e-glide); }
.tline.is-live .tline__frame img { height: 100%; object-fit: cover; }
.tline.is-live .tline__frame.is-on { opacity: 1; }
.tline.is-live .tline__frame:not(.is-on) .tline__tag { visibility: hidden; }
.tline__rail { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: var(--s-3); margin-top: var(--s-3); }
.tline__controls { display: grid; gap: var(--s-1); min-width: 0; }
.tline__strip { display: none; }
.tline__place { display: none; }
.tline__thumb { display: grid; gap: var(--s-1); min-width: 0; padding: 0; border: 0; background: none; color: var(--ink-3); text-align: left; cursor: pointer; }
.tline__thumb img { display: block; width: 100%; height: auto; border-radius: var(--r-xs); opacity: .62; transition: opacity var(--d-quick) var(--e-glide); }
.tline__thumb:hover img { opacity: 1; }
.tline__thumb.is-on { color: var(--ink); }
.tline__thumb.is-on img { opacity: 1; outline: 2px solid var(--rust); outline-offset: 1px; }
@media (min-width: 640px) {
  .tline__strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-1) var(--s-2); }
  /* where the pictures change place, so stop 4 starts a new run and doesn't read as stop 3 getting worse */
  .tline__place { display: block; grid-row: 1; padding-bottom: var(--s-1); border-bottom: 1px solid var(--line-strong); color: var(--ink-3); font-size: var(--t-meta); line-height: var(--lh-meta); }
  .tline__place:nth-child(1) { grid-column: 1 / span 3; }
  .tline__place:nth-child(2) { grid-column: 4 / span 4; }
  .tline__thumb { grid-row: 2; }
  .tline__controls .tline__range { width: calc(100% * 6 / 7); margin-inline: calc(100% / 14); }
}
.tline__play { display: grid; place-items: center; width: 40px; height: 40px; margin-top: var(--s-1); border: 0; border-radius: var(--r-round); background: var(--instrument); color: var(--chalk); cursor: pointer; }
.tline__play .glyph { width: 16px; height: 16px; }
.tline__play[data-state="running"] [data-icon="play"], .tline__play:not([data-state="running"]) [data-icon="pause"] { display: none; }
.tline__range { width: 100%; accent-color: var(--rust); cursor: ew-resize; }
@media (max-width: 639.98px) {
  .tline__rail { align-items: center; }
  .tline__play { margin-top: 0; }
}
/* The grid: three real improvements, stacked on phones */
.ppairs { display: grid; gap: var(--s-6) var(--grid-gap); margin-top: var(--s-7); }
@media (min-width: 640px) and (max-width: 899.98px) { .ppairs .ppair__frames { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .ppairs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.venator__notes-foot { display: grid; justify-items: start; gap: var(--s-3); margin-top: var(--s-5); }
.venator .pstats { margin-top: var(--s-7); }
.venator__evidence { display: grid; gap: var(--grid-gap); margin-top: var(--s-6); }
@media (min-width: 900px) {
  .venator__evidence { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .venator__evidence .tcard { grid-row: 1 / span 2; grid-column: 1; }
  .venator__wars { grid-row: 1; grid-column: 2; }
  .venator__body { grid-row: 2; grid-column: 2; }
}
.venator__body { color: var(--ink-2); }
.venator__wars { font-family: var(--font-display); font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); max-width: 30ch; }
.venator__clips { margin-top: var(--s-3); }
.venator__quotes { display: grid; gap: var(--s-5); }
.venator__quotes .tcard__quote + .tcard__quote { font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); max-width: none; overflow-wrap: anywhere; }
.venator__line { margin-top: var(--s-7); max-width: 44ch; font-family: var(--font-display); font-size: var(--t-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); }
.venator__after { margin-top: var(--s-3); max-width: 62ch; color: var(--ink-2); }
.venator__note { margin-top: var(--s-6); max-width: 62ch; color: var(--ink-2); }
.venator__note--next { margin-top: var(--s-3); }

/* ---------- Company: the founder ---------- */
.founder { display: grid; gap: var(--s-6); padding: clamp(24px, 3vw, 48px); border-radius: var(--r-md); background: var(--card); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
@media (min-width: 900px) { .founder { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); } .founder__id { grid-column: 1 / span 4; } .founder__list { grid-column: 5 / span 8; } }
.founder__id { display: grid; align-content: start; justify-items: start; gap: var(--s-2); }
.founder__photo { display: block; width: 140px; height: 140px; margin-bottom: var(--s-2); border-radius: var(--r-md); object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.founder__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin: 0; }
@media (max-width: 397.98px), (min-width: 900px) and (max-width: 1104.98px) {
  .founder__links { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: var(--s-4); }
  .founder__links a:first-child { grid-column: 1 / -1; justify-self: start; }
}
.founder__name { font-family: var(--font-display); font-size: var(--t-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); }
.founder__role { color: var(--ink-3); font-size: var(--t-meta); font-weight: 500; }
.founder__bio { margin: var(--s-2) 0; color: var(--ink-2); max-width: 36ch; }
.founder__list { list-style: none; margin: 0; padding: 0; display: grid; }
.founder__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.founder__list li:first-child { border-top: 0; padding-top: 0; }
.founder__list .glyph { color: var(--slate); margin-top: 3px; }


/* The section's own top padding already clears the header, so no dark band shows above it after a jump. */
.venator { scroll-margin-top: calc(-1 * var(--s-5)); }
