:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --paper-deep: #eeede6;
  --ink: #202522;
  --muted: #727871;
  --line: #dedfd7;
  --green: #2d604d;
  --green-dark: #214a3b;
  --green-pale: #e5ebe4;
  --orange: #cf704b;
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-header {
  height: 82px;
  padding: 0 7.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(32, 37, 34, .09);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 11px/1.12 var(--mono);
  letter-spacing: .055em;
}

.wordmark-light { color: #68716a; font-weight: 400; }
.wordmark-mark { width: 24px; height: 24px; display: flex; align-items: end; gap: 3px; }
.wordmark-mark span { width: 5px; border-radius: 4px; background: var(--green); }
.wordmark-mark span:nth-child(1) { height: 11px; }
.wordmark-mark span:nth-child(2) { height: 18px; background: #8aa391; }
.wordmark-mark span:nth-child(3) { height: 24px; background: var(--orange); }

.header-nav { display: flex; gap: 38px; height: 100%; align-items: center; }
.nav-link { position: relative; color: #717670; font-size: 12px; transition: color .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active::after { position: absolute; height: 2px; content: ""; background: var(--green); bottom: -32px; left: 0; right: 0; }

.header-action, .hero-link, .about-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
}

.header-action { padding: 11px 14px; border: 1px solid #cfd4cc; transition: background .2s ease; }
.header-action:hover { background: var(--green-pale); }

.hero {
  min-height: 446px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 6%;
  padding: 57px max(7.2%, calc((100vw - 1000px) / 2)) 64px;
  border-bottom: 1px solid var(--line);
}

.eyebrow, .aside-label, .about-index {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font: 500 9px/1.5 var(--mono);
  letter-spacing: .09em;
}

.live-dot, .aside-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.hero h1 { margin: 23px 0 15px; font: 500 clamp(38px, 4.15vw, 60px)/1.1 var(--display); letter-spacing: -.065em; }
.hero h1 span { color: var(--green); }
.hero-description { max-width: 424px; color: #69716b; font-size: 14px; line-height: 1.75; }
.hero-latest { display: flex; flex-direction: column; gap: 5px; max-width: 424px; margin-top: 16px; padding: 11px 13px; border-left: 2px solid var(--orange); background: #eeefe9; transition: background .2s ease; }
.hero-latest:hover { background: #e7ebe3; }
.hero-latest-label { color: var(--green); font: 8px var(--mono); letter-spacing: .08em; }
.hero-latest-label span { padding-left: 5px; color: var(--orange); }
.hero-latest > span:last-child { color: #434d44; font: 500 12px/1.45 var(--display); }
.timeline-explorer { position: relative; z-index: 4; width: min(100%, 424px); margin-top: 18px; }
.timeline-jump { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 0; }
.hero-link { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 0 0 8px; border: 0; border-bottom: 1px solid #b4c1b6; background: transparent; cursor: pointer; color: var(--green-dark); font-size: 12px; font-weight: 600; }
.hero-link span { font-size: 16px; transition: transform .25s ease; }
.hero-link:hover span, .timeline-explorer.is-open .hero-link span { transform: translateY(3px); }
.timeline-picker { width: 100%; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: max-height .58s cubic-bezier(.2, .75, .25, 1), margin-top .58s ease, opacity .4s ease, transform .58s ease, visibility 0s linear .58s; }
.timeline-picker.is-open { max-height: 520px; margin-top: 13px; opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.picker-inner { border: 1px solid #dfe1d9; background: #fbfaf7; box-shadow: 0 12px 28px rgba(35, 49, 39, .08); }
.picker-heading { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 9px; border-bottom: 1px solid #ecece6; color: #788278; font: 8px var(--mono); letter-spacing: .09em; }
.picker-close, .decade-button, .back-to-years { display: inline-grid; place-items: center; border: 1px solid transparent; background: transparent; color: #667367; cursor: pointer; }
.picker-close { width: 24px; height: 24px; border-color: #e6e7e0; font-size: 17px; line-height: 1; }
.picker-close:hover, .decade-button:hover:not(:disabled), .back-to-years:hover { border-color: #d5ddd4; background: #eff1eb; }
.picker-stage-viewport { display: grid; padding: 8px 14px 12px; }
.picker-stage { grid-area: 1 / 1; min-width: 0; align-self: start; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(12px); transition: opacity .32s ease, transform .42s cubic-bezier(.2, .75, .25, 1), visibility 0s linear .42s; }
.picker-stage.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
.picker-stage:not(.is-active)#year-stage { transform: translateX(-12px); }
.picker-stage-title { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; margin-bottom: 9px; }
.picker-stage-title h3 { margin: 0; color: #34493a; text-align: center; font: 500 19px var(--display); letter-spacing: -.04em; }
.decade-button { width: 30px; height: 30px; border-color: #e6e7e0; font-size: 15px; }
.decade-button:disabled { opacity: .35; cursor: not-allowed; }
.year-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.year-choice, .month-choice { min-height: 37px; border: 1px solid #e7e8e2; background: #f7f6f1; color: #566057; cursor: pointer; font: 11px var(--mono); transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.year-choice:hover, .month-choice:hover:not(:disabled) { border-color: #a5b5a7; background: #edf1ea; color: var(--green-dark); transform: translateY(-1px); }
.year-choice[aria-pressed="true"], .month-choice[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.month-stage-title { grid-template-columns: 72px 1fr 48px; }
.month-stage-title h3 { font-size: 20px; }
.back-to-years { display: flex; justify-content: start; align-items: center; gap: 5px; padding: 5px 3px; font: 8px var(--mono); letter-spacing: .05em; }
.stage-marker { justify-self: end; color: #93998f; font: 7px var(--mono); }
.month-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.month-choice { position: relative; display: flex; justify-content: center; align-items: center; gap: 5px; min-height: 34px; font-size: 9px; }
.month-choice:disabled { color: #b9bcb5; background: #f3f2ed; cursor: not-allowed; }
.month-marker { width: 4px; height: 4px; border-radius: 50%; background: transparent; }
.month-choice.has-milestone .month-marker { background: var(--orange); }
.month-choice[aria-pressed="true"] .month-marker { background: #f1b69d; }
.month-legend { display: flex; align-items: center; gap: 6px; margin-top: 9px; color: #8a9087; font: 7px var(--mono); letter-spacing: .06em; }
.month-legend span { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.picker-footer { display: flex; justify-content: flex-start; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid #ecece6; }
.picker-footer > span { color: #858c83; font-size: 9px; line-height: 1.4; }
.picker-close:focus-visible, .decade-button:focus-visible, .back-to-years:focus-visible, .year-choice:focus-visible, .month-choice:focus-visible, .hero-link:focus-visible { outline: 2px solid #64816a; outline-offset: 2px; }
.timeline-jump-status { display: block; max-width: 410px; margin-top: 7px; color: #717a71; font-size: 10px; line-height: 1.5; }
.hero-link span { font-size: 16px; transition: transform .2s ease; }

.hero-art {
  position: relative;
  width: min(100%, 430px);
  height: 293px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid #e3e3db;
  background-image: radial-gradient(#cdd4ca 0.7px, transparent 0.7px);
  background-size: 15px 15px;
}

.art-caption, .art-footer { position: absolute; z-index: 3; color: #858c84; font: 8px var(--mono); letter-spacing: .07em; }
.art-caption { inset: 15px auto auto 16px; }
.art-caption span { margin-left: 13px; color: var(--green); }
.art-footer { right: 14px; bottom: 13px; font-size: 7px; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(45, 96, 77, .23); border-radius: 50%; transform: translate(-50%, -50%) rotate(-28deg); }
.orbit-one { width: 146px; height: 92px; }
.orbit-two { width: 231px; height: 148px; transform: translate(-50%, -50%) rotate(35deg); border-color: rgba(207, 112, 75, .28); }
.orbit-three { width: 321px; height: 207px; transform: translate(-50%, -50%) rotate(-24deg); border-color: rgba(45, 96, 77, .15); }
.orbit-core { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 53px; height: 53px; place-items: center; color: #fff; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 8px rgba(45, 96, 77, .08), 0 0 0 17px rgba(45, 96, 77, .045); transform: translate(-50%, -50%); font: 500 13px var(--mono); }
.orbit-node { position: absolute; z-index: 2; width: 9px; height: 9px; background: var(--orange); border: 2px solid var(--paper); border-radius: 50%; }
.node-one { top: 28%; left: 33%; }.node-two { top: 68%; left: 27%; background: #78917d; }.node-three { top: 24%; right: 24%; background: #78917d; }.node-four { right: 29%; bottom: 22%; }
.orbit-label { position: absolute; color: #737a72; font: 7px var(--mono); letter-spacing: .08em; }
.label-one { left: 14%; top: 41%; }.label-two { right: 12%; top: 51%; }.label-three { left: 39%; bottom: 15%; }

.archive-section { padding: 76px max(7.2%, calc((100vw - 1000px) / 2)) 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 37px; }
.section-eyebrow { margin-bottom: 17px; }
.heading-rule { width: 48px; height: 1px; background: #a6b3a6; }
.section-heading h2, .about-section h2 { margin: 0; font: 500 clamp(28px, 3vw, 39px)/1.2 var(--display); letter-spacing: -.05em; }
.section-intro { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.archive-stat { display: flex; align-items: center; gap: 12px; margin-bottom: 5px; color: #81877f; font: 8px/1.65 var(--mono); letter-spacing: .07em; }
.archive-stat strong { color: var(--green); font: 500 35px/1 var(--display); letter-spacing: -.06em; }

.filters { display: flex; gap: 9px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search-box, .filter-select { height: 39px; display: flex; align-items: center; background: #fbfaf7; border: 1px solid #e3e3dc; }
.search-box { flex: 1; gap: 10px; padding: 0 11px; }
.search-box svg { width: 15px; height: 15px; fill: none; stroke: #7f877f; stroke-width: 1.5; }
.search-box input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box input::placeholder { color: #989d95; }
.search-box:focus-within { border-color: #8fa495; }
kbd { display: grid; width: 18px; height: 19px; place-items: center; color: #898f88; border: 1px solid #e1e2dc; font: 9px var(--mono); }
.filter-select { position: relative; min-width: 148px; }
.filter-select::after { position: absolute; top: 13px; right: 13px; width: 7px; height: 7px; border-right: 1.5px solid #68716a; border-bottom: 1.5px solid #68716a; content: ""; pointer-events: none; transform: rotate(45deg); }
.filter-select select { width: 100%; height: 100%; appearance: none; padding: 0 30px 0 12px; border: 0; outline: 0; background: transparent; color: #4f5850; cursor: pointer; font-size: 10px; }
.filter-select:focus-within { border-color: #8fa495; }
.timeline-layout { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 43px; padding-top: 27px; }
.timeline-meta { display: flex; justify-content: space-between; padding: 0 0 16px 42px; color: #858b83; font: 8px var(--mono); letter-spacing: .09em; }
.sort-label span { color: var(--green); font-size: 12px; }
.timeline-list { position: relative; }
.timeline-list::before { position: absolute; top: 3px; bottom: 4px; left: 8px; width: 1px; content: ""; background: #d8dcd4; }
.year-heading { position: relative; display: flex; align-items: center; gap: 14px; margin: 4px 0 10px; padding-left: 0; color: var(--green); font: 500 12px var(--mono); }
.year-heading::before { z-index: 1; width: 17px; height: 17px; content: ""; border: 1px solid #97aa99; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px #97aa99; }
.milestone { position: relative; margin: 0 0 11px 42px; padding: 17px 19px 16px; border: 1px solid #e2e2db; background: #fbfaf7; transition: border-color .2s ease, transform .2s ease; }
.milestone:hover { border-color: #b3c0b4; transform: translateX(2px); }
.milestone.is-highlighted { animation: timeline-arrival 2.4s ease-out; }
@keyframes timeline-arrival {
  0%, 35% { border-color: var(--orange); background: #f2ebe2; box-shadow: 0 0 0 3px rgba(207, 112, 75, .12); }
  100% { border-color: #e2e2db; background: #fbfaf7; box-shadow: none; }
}
.milestone::before { position: absolute; top: 21px; left: -39px; width: 7px; height: 7px; content: ""; border: 1.5px solid #8ea491; border-radius: 50%; background: var(--paper); }
.milestone-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.category-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font: 8px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.category-tag::before { width: 5px; height: 5px; content: ""; border-radius: 50%; background: var(--green); }
.category-tag[data-category="Systems"] { color: #4f6f92; }.category-tag[data-category="Systems"]::before { background: #6f8fb3; }
.category-tag[data-category="Products"] { color: #a75e3e; }.category-tag[data-category="Products"]::before { background: var(--orange); }
.category-tag[data-category="Policy"] { color: #656486; }.category-tag[data-category="Policy"]::before { background: #8281a6; }
.category-tag[data-category="Society"] { color: #947233; }.category-tag[data-category="Society"]::before { background: #c3a255; }
.milestone-date { color: #848a83; font: 9px var(--mono); }
.milestone h3 { margin: 10px 0 5px; font: 600 15px/1.4 var(--display); letter-spacing: -.025em; }
.milestone p { max-width: 680px; margin: 0; color: #69716a; font-size: 11px; line-height: 1.75; }
.milestone-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 13px; padding-top: 10px; border-top: 1px solid #eeeee8; }
.milestone-relations { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.milestone-people, .milestone-companies { display: flex; flex-wrap: wrap; gap: 5px 10px; }
.milestone-relations a { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px; color: var(--green); font: 8px/1.5 var(--mono); text-decoration: none; }
.milestone-relations a:hover { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.milestone-relations a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.relation-role { color: #858c83; font-size: 7px; }
.relation-role::before { content: "· "; }
.milestone[id], .person-card[id], .company-card[id] { scroll-margin-top: 24px; }
.milestone-location { color: #858c83; font: 8px var(--mono); letter-spacing: .025em; }
.source-link, .aside-link { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font: 9px var(--mono); }
.source-link:hover, .aside-link:hover { color: var(--orange); }
.empty-state { padding: 56px 24px; text-align: center; border: 1px dashed #d9dcd4; }
.empty-state[hidden] { display: none; }
.empty-icon { color: #829485; font: 36px var(--display); }
.empty-state h3 { margin: 12px 0 5px; font: 600 16px var(--display); }
.empty-state p { color: var(--muted); font-size: 11px; }
.text-button { padding: 7px 0; border: 0; border-bottom: 1px solid #b4c1b6; background: none; color: var(--green); cursor: pointer; font-size: 10px; }
.archive-aside { padding-top: 34px; }
.aside-card { padding: 20px 18px 19px; background: #e9ede6; }
.aside-label { gap: 7px; font-size: 8px; }
.aside-dot { width: 5px; height: 5px; }
.aside-card h3 { max-width: 170px; margin: 18px 0 9px; font: 600 19px/1.25 var(--display); letter-spacing: -.04em; }
.aside-card p { margin: 0 0 17px; color: #69736a; font-size: 10px; line-height: 1.75; }
.aside-link { font-size: 8px; }
.aside-note { margin-top: 28px; padding: 17px 2px 0; border-top: 1px solid var(--line); }
.note-mark { color: #a9b6a9; font: 47px/.8 var(--display); }
.aside-note p { margin: 7px 0 13px; color: #596259; font: 500 13px/1.6 var(--display); letter-spacing: -.02em; }
.note-credit { color: #939990; font: 7px var(--mono); letter-spacing: .06em; }

.about-section { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding: 58px 17.3% 65px; background: #eceee8; }
.about-index { align-items: start; padding-top: 8px; color: #788477; }
.about-section h2 { font-size: 28px; }
.about-section p { max-width: 620px; color: #636d65; font-size: 12px; line-height: 1.8; }
.about-link { margin-top: 5px; gap: 10px; border-bottom: 1px solid #b4c1b6; padding-bottom: 7px; font-size: 10px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; padding: 26px max(7.2%, calc((100vw - 1000px) / 2)); }
.footer-wordmark { transform: scale(.9); transform-origin: left center; }
.footer-note { color: #858b83; font-size: 10px; }
.footer-date { color: #92978f; font: 8px var(--mono); letter-spacing: .055em; }
.footer-date span { padding: 0 5px; color: var(--orange); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 760px) {
  .site-header, .latest-page .site-header, .catalog-page .site-header { height: auto; min-height: 78px; flex-wrap: wrap; row-gap: 8px; padding-top: 8px; padding-bottom: 7px; }
  .header-nav, .catalog-page .header-nav { order: 3; flex-basis: 100%; height: 26px; justify-content: space-between; gap: 6px; }
  .nav-link, .catalog-page .nav-link { font-size: 9px; white-space: nowrap; }
  .nav-link.active::after, .latest-page .nav-link.active::after, .catalog-page .nav-link.active::after { bottom: -11px; }
  .header-action, .catalog-page .header-action { gap: 7px; padding: 7px 8px; font-size: 8px; }
}

@media (max-width: 900px) {
  .site-header { padding-right: 5%; padding-left: 5%; }
  .header-nav { gap: 17px; }
  .nav-link { font-size: 10px; }
  .header-action { gap: 8px; padding: 9px; font-size: 9px; }
  .hero { padding-right: 7%; padding-left: 7%; gap: 3%; }
  .hero-art { height: 250px; }
  .archive-section { padding-right: 7%; padding-left: 7%; }
  .timeline-layout { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; }
  .about-section { padding-right: 10%; padding-left: 10%; }
}

@media (max-width: 680px) {
  .site-header { height: auto; min-height: 78px; flex-wrap: wrap; row-gap: 8px; padding-top: 8px; padding-bottom: 7px; }
  .header-nav { order: 3; flex-basis: 100%; height: 26px; justify-content: space-between; gap: 6px; }
  .nav-link { font-size: 9px; white-space: nowrap; }
  .nav-link.active::after { bottom: -11px; }
  .header-action { gap: 7px; padding: 7px 8px; font-size: 8px; }
  .hero { grid-template-columns: 1fr; padding: 48px 7% 41px; }
  .hero h1 { font-size: clamp(40px, 10vw, 57px); }
  .timeline-explorer { width: 100%; max-width: 424px; }
  .year-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .month-choice { min-height: 38px; }
  .hero-art { width: 100%; max-width: 430px; height: 230px; justify-self: center; margin-top: 23px; }
  .archive-section { padding: 53px 7% 60px; }
  .section-heading { align-items: start; gap: 15px; }
  .section-heading h2 { font-size: 29px; }
  .section-intro { max-width: 330px; font-size: 11px; line-height: 1.6; }
  .archive-stat { gap: 7px; font-size: 7px; }
  .archive-stat strong { font-size: 28px; }
  .filters { flex-wrap: wrap; }
  .search-box { flex-basis: 100%; }
  .filter-select { flex: 1; min-width: 0; }
  .timeline-layout { grid-template-columns: 1fr; }
  .archive-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 4px; }
  .aside-card { padding: 16px; }
  .aside-card h3 { margin-top: 12px; font-size: 17px; }
  .aside-note { margin-top: 0; padding-top: 15px; }
  .about-section { grid-template-columns: 1fr; gap: 18px; padding: 40px 7%; }
  .about-section h2 { font-size: 25px; }
  .site-footer { flex-wrap: wrap; gap: 15px; padding: 20px 7%; }
  .footer-date { flex-basis: 100%; }
}

@media (max-width: 430px) {
  .wordmark { gap: 7px; font-size: 9px; }
  .wordmark-mark { transform: scale(.85); transform-origin: left center; width: 21px; }
  .header-nav { gap: 12px; }
  .header-action span:first-child { max-width: 65px; }
  .section-heading { flex-wrap: wrap; }
  .archive-stat { margin-left: auto; }
  .timeline-meta { padding-left: 35px; font-size: 7px; }
  .milestone { margin-left: 35px; padding: 14px; }
  .milestone::before { left: -32px; }
  .milestone h3 { font-size: 14px; }
  .milestone p { font-size: 10px; }
  .milestone-footer { align-items: flex-start; flex-direction: column; }
  .archive-aside { grid-template-columns: 1fr; }
  .aside-note { display: none; }
  .footer-note { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
