@import url('https://fonts.googleapis.com/css2?family=Chiron+GoRound+TC:wght@400;500;600;700&family=Noto+Sans+TC:wght@300;400;500;700;900&family=Ubuntu:wght@300;400;500;700&family=Ubuntu+Mono:wght@400;700&display=swap');

:root {
  --ink: #181815;
  --paper: #f1efe8;
  --paper-deep: #e4e0d4;
  --acid: #d9ff43;
  --muted: #6f6d65;
  --line: #aaa79d;
  --display: "Ubuntu", "Chiron GoRound TC", "Noto Sans TC", sans-serif;
  --sans: "Ubuntu", "Noto Sans TC", sans-serif;
  --mono: "Ubuntu Mono", "Noto Sans TC", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-content: center;
  padding: 30px clamp(24px, 5vw, 76px) 54px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero::after {
  content: "S";
  position: absolute;
  right: -4vw;
  bottom: -30vh;
  color: transparent;
  font: 900 min(84vw, 940px)/1 var(--display);
  -webkit-text-stroke: 1px rgba(217, 255, 67, .18);
  transform: rotate(-8deg);
  pointer-events: none;
}

.nav {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: clamp(24px, 5vw, 76px);
  right: clamp(24px, 5vw, 76px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 4px 14px 4px 4px;
  border: 1px solid rgba(241, 239, 232, .22);
  border-radius: 4px;
  font: 500 15px/1 var(--mono);
  letter-spacing: .22em;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--acid);
  clip-path: polygon(50% 0, 88% 20%, 100% 50%, 88% 80%, 50% 100%, 12% 80%, 0 50%, 12% 20%);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  overflow: visible;
}

.sigil-frame,
.sigil-rays,
.sigil-axis,
.sigil-core {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.sigil-frame {
  stroke-width: 1.7;
}

.sigil-rays {
  stroke-width: 2.4;
}

.sigil-axis {
  stroke-width: 2;
}

.sigil-core {
  fill: var(--ink);
  stroke-width: 1.5;
}

.brand-name {
  padding-left: 1px;
}

.brand-home {
  margin-left: 2px;
  padding-left: 12px;
  color: #8c8b84;
  border-left: 1px solid #55554f;
  font-size: 10px;
  letter-spacing: .14em;
}

.brand:hover,
.brand:focus-visible {
  color: var(--acid);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(217, 255, 67, .7);
  outline: none;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  color: var(--acid);
  background: var(--ink);
  outline: 1px solid var(--acid);
  outline-offset: -1px;
}

.brand:hover .sigil-core,
.brand:focus-visible .sigil-core {
  fill: var(--acid);
}

.nav-link {
  padding-bottom: 5px;
  border-bottom: 1px solid #66665e;
  font: 400 13px var(--mono);
  letter-spacing: .12em;
}

.nav-link span {
  color: var(--acid);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(970px, 88%);
}

.eyebrow,
.section-label {
  margin: 0 0 24px;
  font: 500 13px/1.6 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--acid);
}

h1 {
  margin: 0;
  font: 700 clamp(48px, 7.6vw, 112px)/1.13 var(--display);
  letter-spacing: -.055em;
}

h1 em {
  color: var(--acid);
  font-style: normal;
}

.lead {
  width: min(550px, 70%);
  margin: 44px 0 0 6vw;
  color: #b8b7af;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.9;
}

.hero-note {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 76px);
  bottom: 54px;
  display: flex;
  gap: 17px;
  align-items: flex-start;
}

.hero-note p {
  margin: 0;
  color: #aaa9a1;
  font: 300 14px/1.8 var(--sans);
}

.note-index {
  color: var(--acid);
  font: 400 12px var(--mono);
}

.scroll-cue {
  position: absolute;
  left: clamp(24px, 5vw, 76px);
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #9b9a92;
  font: 400 12px var(--mono);
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 42px;
  background: var(--acid);
}

.manifesto {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10vw;
  padding: 130px clamp(24px, 8vw, 128px);
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--muted);
}

.manifesto h2,
.journey-heading h2 {
  margin: 0;
  font: 700 clamp(34px, 4.7vw, 70px)/1.3 var(--display);
  letter-spacing: -.04em;
}

.manifesto-copy {
  padding-top: 52px;
}

.manifesto-copy>p {
  margin: 0 0 54px;
  font: 400 clamp(17px, 1.5vw, 21px)/2 var(--display);
}

dl {
  margin: 0;
  border-top: 1px solid var(--ink);
}

dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid #cac7bd;
}

dt {
  color: var(--muted);
  font: 400 13px var(--mono);
  letter-spacing: .12em;
}

dd {
  margin: 0;
  font-size: 15px;
}

.journey {
  padding: 130px clamp(18px, 5vw, 76px) 160px;
  overflow: hidden;
}

.journey-heading {
  width: min(760px, 100%);
  margin: 0 auto 120px;
  text-align: center;
}

.journey-heading .section-label {
  color: #74726a;
}

.journey-heading>p:last-child {
  width: min(600px, 90%);
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.timeline {
  position: relative;
  max-width: 1180px;
  margin: auto;
  padding: 4px 0 110px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 48px;
  left: 50%;
  width: 2px;
  background: var(--ink);
  transform: translateX(-50%);
}

.event {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 86px;
}

.event--left .card {
  grid-column: 1;
  margin-right: 74px;
}

.event--right .card {
  grid-column: 2;
  margin-left: 74px;
}

.node {
  position: absolute;
  z-index: 2;
  top: 27px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: translateX(-50%);
}

.node span {
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
}

.event--major .node {
  width: 34px;
  height: 34px;
  top: 21px;
  background: var(--acid);
}

.event--major .node span {
  width: 10px;
  height: 10px;
}

.card {
  position: relative;
  padding: 30px 34px 34px;
  background: #e8e5dc;
  border-top: 2px solid var(--ink);
}

.card::after {
  content: "";
  position: absolute;
  top: 36px;
  width: 74px;
  height: 1px;
  background: var(--line);
}

.event--left .card::after {
  right: -74px;
}

.event--right .card::after {
  left: -74px;
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
  color: var(--muted);
  font: 500 13px/1.5 var(--mono);
  letter-spacing: .09em;
}

.meta> :first-child {
  display: inline-block;
  padding: 6px 10px;
  color: #f4f2eb;
  background: #535f42;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
}

.meta> :last-child {
  color: #6d6b64;
  font-size: 12px;
}

.version {
  margin: 0 0 7px;
  color: #5e5d57;
  font: 500 14px var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.card h3 {
  margin: 0 0 18px;
  font: 700 clamp(24px, 2.4vw, 36px)/1.4 var(--display);
  letter-spacing: -.035em;
}

.card>p:not(.version) {
  margin: 0;
  color: #5e5d57;
  font-size: 16px;
  line-height: 1.9;
}

code {
  padding: 2px 5px;
  color: var(--ink);
  background: #d6d2c6;
  font-family: var(--mono);
  font-size: .9em;
}

.tags {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.tags li,
.status {
  padding: 8px 13px;
  border: 1px solid #aaa79d;
  border-radius: 999px;
  font: 400 14px var(--mono);
  letter-spacing: .08em;
}

.result {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #c3c0b6;
}

.result strong {
  font: 500 42px/1 var(--mono);
}

.result span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.event--current .card {
  color: var(--paper);
  background: var(--ink);
}

.event--current .card>p:not(.version),
.event--current .version,
.event--current .meta {
  color: #aaa9a1;
}

.event--current .meta> :first-child {
  color: var(--ink);
  background: var(--acid);
}

.event--current .meta> :last-child {
  color: #cbc9c0;
}

.event--current code {
  color: var(--acid);
  background: #33332f;
}

.status {
  display: inline-block;
  margin-top: 26px;
  color: var(--ink);
  background: var(--acid);
  border: 0;
}

.event--current .node {
  box-shadow: 0 0 0 8px rgba(217, 255, 67, .28);
  background: var(--acid);
}

.event--future .node {
  background: var(--paper);
}

.event--future .node span {
  background: transparent;
}

.event--future .card {
  background: transparent;
  border: 1px solid #b8b5ab;
  border-top: 2px dashed #77756e;
}

.event--future .meta> :first-child {
  color: #f4efff;
  background: #71558f;
}

.checks {
  display: grid;
  gap: 10px;
  padding: 24px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid #c7c3b9;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 22px;
  color: #56554f;
  font-size: 14px;
  line-height: 1.6;
}

.checks li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: #77756e;
}

.arrow-tip {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 28px solid var(--ink);
  transform: translateX(-50%);
}

.distant-release {
  position: relative;
  width: min(560px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 300px;
  text-align: center;
}

.distant-path {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  height: 250px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transform: translateX(-50%);
}

.distant-path::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px dashed #aaa79d;
}

.distant-path span {
  position: relative;
  width: 5px;
  height: 5px;
  background: var(--paper);
  border: 1px solid #8e8b82;
  border-radius: 50%;
}

.distant-node {
  position: absolute;
  top: 264px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #77756e;
  background: var(--paper);
  border: 1px dashed #77756e;
  border-radius: 50%;
  transform: translateX(-50%);
  font: 400 16px var(--mono);
}

.distant-node::before,
.distant-node::after {
  content: "";
  position: absolute;
  width: 68px;
  height: 1px;
  background: #c2beb4;
}

.distant-node::before {
  right: 56px;
}

.distant-node::after {
  left: 56px;
}

.distant-copy {
  padding: 34px 38px 40px;
  background: rgba(232, 229, 220, .45);
  border: 1px dashed #aaa79d;
}

.distant-copy .meta {
  margin-bottom: 30px;
  color: #88867e;
}

.distant-copy .meta> :first-child {
  color: #fff3e8;
  background: #a7553d;
}

.distant-copy h3 {
  margin: 4px 0 18px;
  font: 700 clamp(38px, 5vw, 62px)/1.2 var(--display);
  letter-spacing: -.04em;
}

.distant-copy>p:last-child {
  max-width: 420px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.closing {
  padding: 130px 24px 110px;
  color: var(--paper);
  background: var(--ink);
  text-align: center;
}

.closing .section-label {
  color: var(--acid);
}

blockquote {
  margin: 34px auto 72px;
  font: 500 clamp(28px, 4.5vw, 48px)/1.55 var(--display);
  letter-spacing: -.04em;
}

.closing>p:last-child {
  color: #929189;
  font: 400 12px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .hero {
    min-height: 800px;
    align-content: start;
    padding-top: 150px;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .lead {
    width: 90%;
    margin: 34px 0 0 8vw;
    font-size: 15px;
  }

  .hero-note {
    left: 24px;
    right: auto;
    bottom: 50px;
  }

  .scroll-cue {
    display: none;
  }

  .manifesto {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 90px;
  }

  .manifesto-copy {
    padding-top: 20px;
  }

  .journey {
    padding-top: 90px;
  }

  .journey-heading {
    margin-bottom: 80px;
    text-align: left;
  }

  .journey-heading>p:last-child {
    width: 100%;
    margin-left: 0;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline-line {
    left: 10px;
  }

  .event {
    display: block;
    margin-bottom: 56px;
  }

  .event--left .card,
  .event--right .card {
    margin: 0 0 0 30px;
  }

  .node {
    left: 10px;
  }

  .card {
    padding: 25px 22px 28px;
  }

  .event--left .card::after,
  .event--right .card::after {
    top: 36px;
    left: -30px;
    width: 30px;
  }

  .meta {
    flex-wrap: wrap;
    row-gap: 12px;
    margin-bottom: 28px;
  }

  .arrow-tip {
    left: 10px;
  }

  .distant-release {
    width: calc(100% - 30px);
    margin-left: 30px;
    padding-top: 240px;
  }

  .distant-path,
  .distant-node {
    left: -20px;
  }

  .distant-path {
    height: 195px;
  }

  .distant-node {
    top: 209px;
  }

  .distant-node::before,
  .distant-node::after {
    display: none;
  }

  .distant-copy {
    padding-inline: 22px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}