.hero {padding-bottom:38px}
.hero h1 {font-size:clamp(44px,5.8vw,70px)}
.hero>.squirrel {width:90px;height:90px;margin-bottom:10px}
.history {padding:28px 0 50px;margin-bottom:44px;border-bottom:1px solid #D2D9D4}
.history-intro {display:grid;grid-template-columns:1fr 1fr;gap:24px 64px;align-items:start}
.history-intro>.section-label {grid-column:1/-1;font:11px "JetBrains Mono",monospace;letter-spacing:.1em;display:flex;align-items:center;gap:10px}
.history-intro>.section-label:before {content:"";width:9px;height:9px;background:#0D6731}
.history-intro>div:last-child {display:contents}
.history h2 {font-size:clamp(30px,3.3vw,42px);margin:0;max-width:520px}
.history-intro p {font-size:16px;line-height:1.65;margin:0;max-width:560px}
.history-chart {margin:30px 0 24px;border:1px solid #D2D9D4;background-color:#fff;background-image:linear-gradient(#E4EBE6 1px,transparent 1px),linear-gradient(90deg,#E4EBE6 1px,transparent 1px);background-size:28px 28px;position:relative}
.history-chart-top {display:flex;justify-content:space-between;gap:20px;padding:15px 24px;background:#F2F5F3;border-bottom:1px solid #D2D9D4;font:11px "JetBrains Mono",monospace;letter-spacing:.025em}
.history-track {list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;counter-reset:era}
.era {padding:26px 24px 28px;border-right:1px solid #D2D9D4;position:relative;min-width:0}
.era:last-child {border-right:0;background:linear-gradient(180deg,#FFF1E580,transparent 65%)}
.era-index {display:block;font:11px "JetBrains Mono",monospace;margin-bottom:24px}
.era-icon {width:76px;height:76px;background:#EBF9F4;border:1px solid #0D6731;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:34px;position:relative;box-shadow:4px 4px 0 #E4EBE6}
.era-icon svg {width:34px;height:34px;fill:#0D6731}
.era:last-child .era-icon {background:#FFF1E5;border-color:#954502;box-shadow:4px 4px 0 #FCCEAB}
.era:last-child .era-icon svg {fill:#954502}
.era:not(:last-child):after {content:"→";position:absolute;top:110px;right:-12px;z-index:1;background:white;border:1px solid #D2D9D4;width:24px;height:24px;display:grid;place-items:center;font-size:15px}
.era h3 {font-size:22px;letter-spacing:-.035em;margin-bottom:12px}
.era p {font-size:14px;margin:0 0 12px;line-height:1.6;background:#ffffffd9}
.era-mode {display:inline-block;font-size:11px!important;font-family:"JetBrains Mono",monospace;padding:3px 7px;border-left:2px solid #0D6731;background:#EBF9F4!important}
.era:last-child .era-mode {border-color:#954502;background:#FFF1E5!important}
.era .era-date {font:12px/1.6 "JetBrains Mono",monospace;margin-bottom:16px}
.history-caption {font-size:12px;line-height:1.6;margin:18px 0 0;max-width:900px}
.history-chart figcaption {margin:0;max-width:none;padding:16px 24px;border-top:1px solid #D2D9D4;background:#fff}
.history-reading {display:grid;grid-template-columns:1fr auto;gap:32px;align-items:start;font-size:14px}
.history-reading p {max-width:780px;margin:0}
.history-reading a {white-space:nowrap;text-underline-offset:5px}
.history a {color:#000}
@media(max-width:900px) {
  .history-intro {gap:20px;grid-template-columns:1fr}
  .history h2, .history-intro p {max-width:700px}
  .history-track {grid-template-columns:repeat(2,minmax(0,1fr))}
  .era:nth-child(2) {border-right:0}
  .era:nth-child(-n+2) {border-bottom:1px solid #D2D9D4}
  .era:nth-child(2):after {display:none}
  .history-reading {grid-template-columns:1fr;gap:14px}
}
@media(max-width:520px) {
  .history-chart-top {padding:14px 16px;font-size:10px;flex-wrap:wrap;gap:8px}
  .history-track {grid-template-columns:1fr}
  .era {padding:20px;border-right:0;border-bottom:1px solid #D2D9D4;display:grid;grid-template-columns:60px 1fr;gap:12px 20px}
  .era:last-child {border-bottom:0}
  .era-index {grid-column:1/-1;margin:0}
  .era-icon {width:58px;height:58px;margin:0}
  .era-icon svg {width:28px;height:28px}
  .era:not(:last-child):after {display:none}
  .era p {margin-bottom:8px}
  .history-chart figcaption {padding:16px}
  .history {padding-top:14px;margin-bottom:30px}
  .history h2 {font-size:32px}
  .hero>.squirrel {width:76px;height:76px}
  .history-reading a {white-space:normal}
}
