:root {
  --paper: #f0f0ea;
  --white: #f9f9f5;
  --ink: #141614;
  --muted: #555952;
  --muted-dark: #c0c5ba;
  --line: #cbcec2;
  --night: #101210;
  --night-alt: #1d201d;
  --night-line: #51584b;
  --lime: #d4fa4e;
  --lime-line: #91ab33;
  --accent-ink: #3e510a;
  --sans: "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --width: 1180px;
  --gutter: 34px;
  --header-height: 65px;
  --small-stage: 228px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .21em; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
figure, h1, h2, h3, p { margin: 0; }
::selection { background: var(--lime); color: var(--night); }
.skip { position: fixed; z-index: 20; left: 12px; top: 12px; transform: translateY(-160%); background: var(--white); padding: 12px 16px; }
.skip:focus { transform: none; }
#top { scroll-margin-top: 0; }

.masthead { background: var(--paper); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 #14161425; }
.masthead-inner, .hero-inner, .reading-section, .site-footer > div { width: min(calc(100% - 2 * var(--gutter)), var(--width)); margin-inline: auto; }
.masthead-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; white-space: nowrap; font-size: 16px; letter-spacing: -.035em; }
.brand-mark { display: grid; place-items: center; width: 21px; height: 21px; background: var(--lime); color: var(--night); flex: none; }
.brand-mark::after { content: ""; width: 12px; height: 12px; background: currentColor; clip-path: polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%); }
.section-nav { display: flex; align-items: center; gap: clamp(18px, 3.3vw, 42px); font-size: 13px; font-weight: 700; }
.section-nav a { color: var(--muted); text-decoration: none; display: grid; align-items: center; min-height: 44px; position: relative; white-space: nowrap; }
.section-nav a:hover, .section-nav a[aria-current="location"] { color: var(--ink); }
.section-nav a[aria-current="location"]::after { position: absolute; content: ""; height: 2px; background: var(--ink); inset: auto 0 4px; }
.reading-line { position: absolute; inset: auto 0 0; height: 3px; background: var(--accent-ink); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.hero { color: var(--white); background: var(--night); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding-block: clamp(26px, 4vh, 50px) 18px;
}
.hero-copy { position: relative; z-index: 1; min-width: 0; align-self: center; padding: 9px 0 26px; }
.hero-label, .viz-label { font: 600 13px/1.65 var(--mono); letter-spacing: .045em; }
.hero-label { color: var(--lime); display: flex; align-items: center; gap: 11px; margin-bottom: clamp(17px, 3vh, 31px); }
.hero-label span { width: 16px; height: 1px; background: currentColor; }
.hero-display {
  display: block;
  width: max-content;
  font: 900 clamp(92px, 14.3vw, 207px)/.755 var(--display);
  letter-spacing: -.085em;
  margin: 0 0 .18em -.058em;
  position: relative;
}
.hero-role { display: block; font-size: clamp(13px, 1.22vw, 17px); font-weight: 700; line-height: 1.4; margin-bottom: 4px; color: var(--lime); }
.hero-name { display: block; font-size: clamp(20px, 2.55vw, 36px); line-height: 1.28; font-weight: 900; letter-spacing: -.065em; }
.hero-deck { font-size: clamp(13px, 1.25vw, 16px); line-height: 1.7; font-weight: 500; color: var(--muted-dark); margin-top: 14px; }
.start-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 47px; margin-top: 22px; border: 1px solid var(--lime); background: var(--lime); color: var(--night); padding: 0 14px; text-decoration: none; font-size: 13px; font-weight: 800; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.start-link:hover { background: var(--night); color: var(--lime); }
.start-link:active { transform: scale(.97); }
.start-link span { font-size: 19px; line-height: 1; }
.hero-photo { min-width: 0; }
.hero-image { height: clamp(505px, calc(100svh - 142px), 730px); overflow: hidden; position: relative; background: #585d55; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; filter: grayscale(1) contrast(1.08); }
.photo-date { position: absolute; right: 0; bottom: 0; background: var(--lime); color: var(--night); font: 750 clamp(14px, 1.65vw, 22px)/1 var(--mono); padding: 9px 11px; }
figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 15px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.hero-photo figcaption { color: var(--muted-dark); padding-top: 8px; font-size: 11px; }
.hero-photo figcaption span { color: var(--white); }

.reading-section { padding-block: clamp(72px, 8vw, 118px); }
#overview, #timeline, #story, #quotes { scroll-margin-top: var(--header-height); }
h2 { font-size: clamp(2.1rem, 5vw, 4.8rem); line-height: 1.04; font-weight: 900; letter-spacing: -.075em; }
.overview { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; gap: clamp(28px, 6.8vw, 103px); }
.overview-intro h2 { font-size: clamp(2.1rem, 4.4vw, 4.55rem); text-wrap: balance; }
.overview-intro h2::before, .story-intro h2::before, .quotes h2::before { display: block; content: ""; width: 37px; height: 8px; background: var(--lime); box-shadow: inset 0 0 0 1px var(--ink); margin-bottom: 17px; }
.overview-intro p { font-size: 17px; line-height: 1.95; margin-top: 24px; max-width: 28em; }
.achievements { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.achievements li { padding: 18px 0 17px 23px; border-bottom: 1px solid var(--line); position: relative; }
.achievements li::before { content: "↗"; color: var(--accent-ink); font: 700 17px/1 var(--sans); position: absolute; top: 22px; left: 0; }
.achievements strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.035em; line-height: 1.45; margin-bottom: 6px; }
.achievements p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.text-sources { font: 400 12px/1.8 var(--sans); color: var(--muted); overflow-wrap: anywhere; }
.achievements .text-sources { font: 400 12px/1.8 var(--sans); margin-top: 6px; }
.text-sources a:hover, figcaption a:hover { color: var(--accent-ink); }
.hero-photo a:hover, .visual-next a:hover, .quotes a:hover { color: var(--lime); }

.timeline { background: var(--lime); border-block: 1px solid var(--ink); }
.timeline .reading-section { padding-block: clamp(49px, 6vw, 80px); }
.milestones { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 39px; border-top: 1px solid var(--ink); }
.milestones a { position: relative; min-width: 0; padding: 22px 12px 12px 0; display: grid; align-content: start; gap: 4px; text-decoration: none; }
.milestones a::before { content: ""; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }
.milestones span { font: 800 clamp(1.7rem, 4.6vw, 4rem)/.95 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.085em; }
.milestones strong { font-size: 16px; margin-top: 7px; }
.milestones small { font-size: 12px; color: var(--accent-ink); line-height: 1.65; }
.milestones a:hover strong, .milestones a:active strong { text-decoration: underline; }
.timeline-details { margin-top: 17px; border-block: 1px solid var(--lime-line); }
.timeline-details summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; min-height: 55px; padding: 8px 10px 8px 0; font-size: 15px; font-weight: 700; }
.timeline-details summary::-webkit-details-marker { display: none; }
.timeline-details summary:hover { text-decoration: underline; }
.timeline-details summary span::after { content: "＋"; color: var(--accent-ink); font-size: 19px; }
.timeline-details[open] summary span::after { content: "−"; }
.timeline-full { padding-bottom: 15px; }
.timeline-full table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.timeline-full :is(th, td) { text-align: left; padding: 9px 10px 9px 0; border-top: 1px solid var(--lime-line); }
.timeline-full tbody th { white-space: nowrap; width: 118px; color: var(--accent-ink); font: 700 14px/1.5 var(--mono); vertical-align: top; }
.timeline-full .text-sources { margin-top: 12px; color: var(--accent-ink); }

.story-intro h2 { margin-bottom: 34px; }
.story-opening { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.keynote-photo img { width: 100%; height: auto; background: var(--night); }
.keynote-photo figcaption { padding-top: 6px; }
.prose { font: 400 16px/2.05 var(--sans); overflow-wrap: anywhere; }
.prose p { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose .text-sources { margin-top: -10px; font: 400 12px/1.7 var(--sans); }
.scroll-story { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 74px); align-items: start; margin-top: 82px; }
.story-visual { position: sticky; top: calc(var(--header-height) + 24px); min-width: 0; }
.visual-stage { height: min(52vw, 475px); min-height: 385px; position: relative; isolation: isolate; background: var(--night-alt); border: 1px solid var(--night-line); color: var(--white); }
.visual-scene { position: absolute; inset: 0; padding: 31px; display: flex; flex-direction: column; justify-content: center; background: var(--night-alt); visibility: hidden; overflow: hidden; }
.visual-scene.is-active { visibility: visible; z-index: 1; }
.visual-scene.is-active > * { animation: viz-appear .22s cubic-bezier(.2,.7,.25,1) both; }
@keyframes viz-appear { from { opacity: .62; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.viz-label { color: var(--lime); margin-bottom: 12px; }
.viz-title { font: 800 clamp(1.5rem, 2.6vw, 2.35rem)/1.28 var(--sans); letter-spacing: -.045em; }
.viz-caption { font: 400 13px/1.65 var(--sans); color: var(--muted-dark); margin-top: 17px; overflow-wrap: anywhere; }
.visual-roots { background: #222620; }
.type-specimen { font: 400 clamp(6.6rem, 12vw, 10rem)/.9 Georgia, serif; display: flex; align-items: center; gap: 18px; justify-content: center; margin: 17px auto 25px; }
.type-specimen span:last-of-type { font-family: var(--sans); color: var(--lime); font-weight: 550; }
.type-specimen i { width: 1px; background: var(--night-line); align-self: stretch; }
.visual-early { background: #1e211a; }
.product-steps { margin-top: 23px; display: grid; gap: 8px; }
.product-steps > div { display: grid; grid-template-columns: minmax(40px, .29fr) minmax(70px, .55fr) minmax(0, 1fr); gap: 10px; padding: 12px 0; align-items: center; border-bottom: 1px solid var(--night-line); }
.product-steps b, .return-flow b { font: 600 15px/1.3 var(--mono); color: var(--lime); white-space: nowrap; }
.product-steps span { font-weight: 750; font-size: 16px; }
.product-steps small { color: var(--muted-dark); font-size: 13px; }
.visual-tracks { background: #1c2325; }
.tracks { margin-top: 21px; display: grid; gap: 10px; }
.track { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 9px; }
.track b { font: 600 14px/1 var(--mono); }
.rail { font-size: 13px; line-height: 1.45; padding: 6px 8px; color: var(--night); min-height: 30px; }
.rail-apple { border: 1px dashed #dae5d9; color: #e7eee7; width: max-content; }
.rail-next { background: #afdefa; }
.rail-pixar { background: var(--lime); margin-left: 10%; }
.visual-next { background: #222321; }
.visual-next .viz-title { font-size: clamp(1.35rem, 2.15vw, 1.85rem); }
.visual-next img { width: 100%; height: min(26vw,255px); object-fit: contain; object-position: left center; margin-top: 15px; }
.visual-next .viz-caption { font-size: 12px; margin-top: 10px; }
.visual-return { background: #232923; }
.return-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 23px; }
.return-flow > div { border: 1px solid var(--night-line); padding: 12px 8px; min-height: 105px; }
.return-flow b, .return-flow span { display: block; }
.return-flow span { font-size: 13px; line-height: 1.6; margin-top: 11px; }
.visual-focus { background: #22271a; }
.quadrants { border-collapse: collapse; font-size: 13px; margin-top: 18px; text-align: center; color: var(--white); }
.quadrants :is(th, td) { border: 1px solid var(--night-line); padding: 10px 6px; }
.quadrants th { font-weight: 550; }
.quadrants .highlight { background: var(--lime); color: var(--night); font-weight: 800; }
.visual-phone { background: #1d2427; }
.device-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin-top: 19px; }
.device-pair > div { text-align: center; padding: 18px 5px 11px; border: 1px solid var(--night-line); display: grid; align-content: start; justify-items: center; gap: 5px; }
.device { display: block; width: 76px; height: 58px; border: 2px solid var(--lime); position: relative; border-radius: 8px; margin-bottom: 8px; }
.device i { position: absolute; inset: 8px 10px 12px; border: 1px solid var(--lime); border-radius: 2px; }
.desktop i::after { content: ""; position: absolute; top: 8px; left: 9px; width: 7px; height: 9px; background: var(--lime); clip-path: polygon(0 0,100% 64%,64% 65%,62% 100%,44% 100%,35% 70%,0 100%); }
.handset { width: 36px; }
.handset i { inset: 8px 4px; }
.handset i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); position: absolute; left: calc(50% - 3px); top: calc(50% - 3px); }
.device-pair b { font: 600 13px/1.35 var(--mono); }
.device-pair small { font-size: 12px; color: var(--muted-dark); }
.chapter-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: stretch; background: var(--white); border: 1px solid var(--line); border-top: 0; }
.chapter-nav a { color: var(--muted); font: 600 13px/1 var(--mono); display: grid; place-items: center; min-height: 42px; text-decoration: none; position: relative; }
.chapter-nav a + a { border-left: 1px solid var(--line); }
.chapter-nav a:hover, .chapter-nav a[aria-current="location"] { background: var(--lime); color: var(--accent-ink); }
.chapter-nav a[aria-current="location"]::after { position: absolute; content: ""; height: 2px; inset: auto 0 0; background: var(--accent-ink); }
.chapter { min-width: 0; padding: 24px 0 35px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 35px); }
.chapter + .chapter { margin-top: 18px; }
.chapter-range { display: inline-block; padding: 5px 8px; font: 650 13px/1.35 var(--mono); color: var(--ink); background: var(--lime); margin-bottom: 13px; }
.chapter h3 { font-size: clamp(1.65rem, 3vw, 2.32rem); line-height: 1.34; letter-spacing: -.04em; margin-bottom: 19px; }
.chapter > :last-child { margin-bottom: 0; }

.quotes { color: var(--white); background: var(--night); }
.quotes h2::before { box-shadow: none; }
.quotes-note { color: var(--muted-dark); font-size: 14px; margin: 17px 0 30px; }
.quote-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; padding: 1px; background: var(--night-line); }
.quote { min-width: 0; margin: 0; background: var(--night-alt); padding: clamp(22px, 3vw, 42px); display: flex; flex-direction: column; justify-content: space-between; }
.quote:first-child { grid-row: span 3; background: var(--lime); color: var(--night); }
.quote:first-child blockquote { font-size: clamp(1.75rem, 3.4vw, 3.5rem); line-height: 1.3; }
.quote blockquote { font: 800 clamp(1.22rem, 2.25vw, 1.85rem)/1.55 var(--sans); letter-spacing: -.045em; text-wrap: balance; margin: 0 0 16px; }
.quote blockquote::before { content: "“"; display: block; font: 900 65px/.79 var(--display); letter-spacing: -.1em; color: var(--lime); margin-bottom: 5px; }
.quote figcaption { display: block; color: var(--muted-dark); font-size: 14px; line-height: 1.8; }
.quote .text-sources { color: var(--muted-dark); margin-top: 6px; }
.quote:first-child blockquote::before, .quote:first-child :is(figcaption, .text-sources, a:hover) { color: var(--ink); }
.site-footer { background: var(--night); border-top: 1px solid var(--night-line); color: var(--white); }
.site-footer > div { padding-block: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.back-top { font-size: 14px; color: var(--muted-dark); }

@media (max-width: 860px) {
  :root { --gutter: 22px; }
  .scroll-story, .story-opening { gap: 24px; }
  .visual-scene { padding: 23px; }
  .visual-stage { min-height: 395px; }
  .product-steps > div { gap: 7px; }
}
@media (max-width: 650px) {
  :root { --gutter: 17px; --header-height: 53px; }
  .brand { font-size: 14px; gap: 7px; }
  .brand-mark { width: 17px; height: 17px; }
  .brand-mark::after { width: 10px; height: 10px; }
  .section-nav { gap: 19px; font-size: 12px; }
  .hero-inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); padding-block: 0 18px; }
  .hero-copy { grid-area: 1 / 1; align-self: start; padding: 18px var(--gutter) 0; }
  .hero-label { margin-bottom: 16px; color: var(--lime); font-size: 11px; }
  .hero-display { font-size: clamp(59px, 17.5vw, 113px); margin-bottom: 9px; }
  .hero-role, .hero-name { text-shadow: 0 1px 5px var(--night); }
  .hero-role { font-size: 12px; margin-bottom: 2px; }
  .hero-name { font-size: clamp(18px, 5vw, 30px); }
  .hero-deck { font-size: 12px; line-height: 1.5; color: var(--white); text-shadow: 0 1px 5px var(--night); margin-top: 10px; }
  .start-link { min-height: 44px; margin-top: 14px; gap: 17px; font-size: 12px; padding-inline: 10px; }
  .hero-photo { grid-area: 1 / 1; padding-top: 38px; }
  .hero-image { height: clamp(340px, 114vw, 490px); }
  .hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#101210 2%,#101210de 23%,#1012104d 56%,transparent 76%); pointer-events: none; }
  .hero-image img { width: 76%; margin-left: auto; object-position: 43% 15%; }
  .photo-date { z-index: 1; right: var(--gutter); font-size: 13px; }
  .hero-photo figcaption { padding-inline: var(--gutter); }
  .reading-section, .timeline .reading-section { padding-block: 52px; }
  h2, .overview-intro h2 { font-size: clamp(2.1rem, 7.6vw, 3rem); }
  .overview, .story-opening, .scroll-story { grid-template-columns: minmax(0,1fr); }
  .overview { gap: 22px; }
  .overview-intro p { font-size: 16px; margin-top: 13px; }
  .achievements strong { font-size: 18px; }
  .milestones { grid-template-columns: 1fr; margin-top: 21px; border-top: 0; border-left: 1px solid var(--ink); }
  .milestones a { grid-template-columns: 77px 1fr; align-items: center; gap: 2px 10px; padding: 7px 0 8px 13px; min-height: 58px; }
  .milestones a::before { top: 21px; left: -4px; }
  .milestones span { grid-row: span 2; font-size: 1.8rem; }
  .milestones strong { margin-top: 0; font-size: 15px; }
  .timeline-full tbody th { width: 76px; }
  .story-opening, .scroll-story { gap: 20px; }
  .scroll-story { margin-top: 27px; }
  .story-visual { top: var(--header-height); z-index: 3; }
  .visual-stage { height: calc(var(--small-stage) - 40px); min-height: 0; }
  .visual-scene { padding: 12px 15px; }
  .visual-scene .viz-title { font-size: 1.27rem; }
  .viz-label { font-size: 11px; margin-bottom: 5px; }
  .viz-caption { font-size: 11px; margin-top: 7px; }
  .type-specimen { font-size: 3.65rem; margin: 6px auto; gap: 8px; }
  .product-steps { margin-top: 5px; gap: 0; }
  .product-steps > div { padding: 5px 0; gap: 7px; }
  .product-steps :is(b, span, small) { font-size: 11px; }
  .visual-tracks .viz-title { font-size: 1.08rem; }
  .tracks { margin-top: 7px; gap: 4px; }
  .track { grid-template-columns: 42px 1fr; gap: 6px; }
  .track b, .rail { font-size: 11px; }
  .rail { padding: 3px 5px; min-height: 19px; }
  .visual-next { justify-content: start; }
  .visual-next img { margin-top: 4px; width: auto; height: 84px; }
  .visual-next .viz-caption { margin-top: 4px; font-size: 10px; }
  .return-flow { margin-top: 10px; gap: 6px; }
  .return-flow > div { padding: 5px 6px; min-height: 60px; }
  .return-flow b, .return-flow span { font-size: 11px; }
  .return-flow span { margin-top: 4px; }
  .quadrants { margin-top: 7px; font-size: 11px; }
  .quadrants :is(th, td) { padding: 4px 3px; }
  .device-pair { margin-top: 8px; gap: 7px; }
  .device-pair > div { padding: 5px 3px; gap: 2px; }
  .device { height: 30px; width: 41px; border-radius: 5px; margin-bottom: 3px; }
  .device i { inset: 3px 5px; }
  .handset { width: 22px; }
  .handset i { inset: 4px 2px; }
  .device-pair :is(b, small) { font-size: 10px; }
  .chapter-nav a { min-height: 39px; font-size: 12px; }
  .chapter { scroll-margin-top: calc(var(--header-height) + var(--small-stage) + 9px); padding-top: 15px; }
  .chapter h3 { font-size: 1.65rem; }
  .wide-only { display: none; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote:first-child { grid-row: auto; }
  .quote { padding: 21px; }
}
@media (max-width: 350px) {
  .section-nav { gap: 17px; }
  .brand { gap: 6px; font-size: 12px; }
  .masthead-inner { gap: 10px; }
  .section-nav a { font-size: 11px; }
}
@media (max-width: 650px) and (max-height: 540px) {
  .story-visual { position: relative; top: auto; }
  .chapter { scroll-margin-top: calc(var(--header-height) + 9px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
