:root {
  color-scheme: dark;
  --ink: #f2efe6;
  --muted: #8f938d;
  --quiet: #5f655f;
  --bg: #101110;
  --bg-soft: #171a17;
  --line: #3d443e;
  --cyan: #27bfd7;
  --red: #df5b48;
  --yellow: #edc15c;
  --grid: rgba(242, 239, 230, .08);
  --panel: #141714;
  --display: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", ui-sans-serif, sans-serif;
  --sans: Inter, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.brand-link { pointer-events: auto; order: 2; display: block; }
.brand-mark { display: block; width: 164px; height: auto; }
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr);
  gap: clamp(38px, 4vw, 72px);
  min-height: 690px;
  padding: 154px clamp(24px, 6vw, 96px) 62px;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
}
.age-column {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 820px;
  padding-top: 8px;
}
.age-display-group { width: 100%; }
.age-brand {
  position: absolute;
  top: 40px;
  left: 612px;
  z-index: 2;
  font-size: 58px;
}
.age-brand .brand-mark { width: calc(2.88em + 2.4px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}
.age-column > .eyebrow { font-size: 22px; }
.age-number {
  position: relative;
  display: flex;
  align-items: baseline;
  visibility: hidden;
  margin: 0;
  color: #f7f7f5;
  font-family: "SF Pro Rounded", ui-rounded, "Arial Rounded MT Bold", -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 900;
  letter-spacing: .8px;
  line-height: 1;
  white-space: nowrap;
}
.age-number.is-ready { visibility: visible; }
.age-whole,
.age-fraction,
.age-fraction-stack,
.age-fraction-digits {
  display: inline-flex;
  align-items: baseline;
}
.age-whole,
.age-fraction-digits { gap: .8px; }
.age-whole { font-size: 294px; }
.age-fraction {
  color: #f7f7f5;
  font-size: 58px;
  transform: translateY(-20px);
}
.age-fraction-stack { position: relative; }
.age-years-label {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 0;
  color: #f7f7f5;
  font-size: 1em;
  font-weight: 900;
  letter-spacing: inherit;
  line-height: 1;
}
.age-years-label.is-intro-reel {
  position: absolute;
  display: inline-flex;
  align-items: baseline;
  gap: .8px;
  width: auto;
  height: 1em;
  letter-spacing: 0;
}
.age-letter-slot {
  position: relative;
  display: inline-block;
  flex: 0 0 .554em;
  width: .554em;
  height: 1em;
  overflow: hidden;
  vertical-align: bottom;
}
.age-letter-slot.is-intro-slot {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.age-letter-reel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  animation: age-letter-reel-settle var(--letter-reel-duration) cubic-bezier(.58, 0, .22, 1) var(--letter-reel-delay) both;
  will-change: transform;
}
.age-letter-glyph {
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  place-items: center;
  line-height: 1;
}
.age-letter-final {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  line-height: 1;
}
@keyframes age-letter-reel-settle {
  from { transform: translateY(0); }
  to { transform: translateY(-400%); }
}
.age-intro-reel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  animation: age-reel-settle var(--reel-duration) cubic-bezier(.58, 0, .22, 1) var(--reel-delay) both;
  will-change: transform;
}
.age-reel-glyph {
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  place-items: center;
  line-height: 1;
}
@keyframes age-reel-settle {
  from { transform: translateY(0); }
  to { transform: translateY(var(--reel-end)); }
}
.age-decimal,
.age-fraction-digits { color: var(--muted); }
.age-decimal {
  display: inline-grid;
  width: .32em;
  place-items: center;
}
.age-digit {
  position: relative;
  display: inline-block;
  flex: 0 0 .72em;
  width: .72em;
  height: .94em;
  overflow: hidden;
  vertical-align: bottom;
}
.age-digit.is-intro-slot {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.age-digit-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  line-height: 1;
  transform: translateY(0);
  will-change: transform, opacity;
}
.age-digit-glyph.is-outgoing {
  animation: age-roll-out 600ms cubic-bezier(.32, .02, .24, 1) both;
}
.age-digit-glyph.is-incoming {
  animation: age-roll-in 600ms linear both;
}
@keyframes age-roll-out {
  0% { transform: translateY(0); }
  62% { transform: translateY(-104%); }
  100% { transform: translateY(-104%); }
}
@keyframes age-roll-in {
  0% { transform: translateY(104%); }
  56% { transform: translateY(-4.2%); }
  72% { transform: translateY(1.6%); }
  86% { transform: translateY(-.5%); }
  100% { transform: translateY(0); }
}
.age-caption {
  max-width: 390px;
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}
.story-panel {
  align-self: center;
  max-width: 590px;
  min-height: 334px;
  padding: 14px 0 14px 38px;
  border-left: 1px solid var(--line);
  position: relative;
  scroll-margin-top: 24px;
}
.story-panel::before {
  position: absolute;
  top: 0;
  left: -1px;
  width: 42px;
  height: 2px;
  background: var(--red);
  content: "";
}
.story-default { padding-top: 4px; }
.story-kicker {
  margin: 0 0 30px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(27px, 2.15vw, 34px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.43;
}
.story-hint {
  max-width: 420px;
  margin: 40px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.story-event.is-entering { animation: enter-story 360ms ease both; }
@keyframes enter-story {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.event-category { color: var(--cyan); font-weight: 700; }
.event-title {
  max-width: 600px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.18;
}
.event-location { margin: 13px 0 0; color: var(--yellow); font-size: 13px; }
.event-description {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
}
.event-reflection {
  max-width: 570px;
  margin: 25px 0 0;
  padding-left: 17px;
  border-left: 2px solid var(--red);
  color: var(--muted);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  white-space: pre-line;
}
.event-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-width: 590px;
  margin-top: 28px;
}
.event-gallery figure { margin: 0; }
.event-gallery img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.event-gallery figcaption {
  margin-top: 7px;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.4;
}
.timeline-section {
  padding: 54px clamp(24px, 9vw, 140px) 34px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.timeline-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.timeline-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.3;
}
.timeline-utilities {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}
.timeline-meta { margin: 0 0 3px; color: var(--quiet); font-size: 12px; line-height: 1.5; }
.timeline-zoom {
  display: grid;
  grid-template-columns: repeat(2, 34px);
  width: 68px;
  height: 34px;
  border: 1px solid var(--line);
}
.timeline-zoom button {
  display: grid;
  width: 34px;
  height: 32px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  place-items: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.timeline-zoom button:last-child { border-right: 0; }
.timeline-zoom button:hover:not(:disabled) { background: var(--bg-soft); color: var(--ink); }
.timeline-zoom button:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--cyan); outline-offset: 2px; }
.timeline-zoom button:disabled { color: var(--quiet); cursor: default; opacity: .45; }
.timeline-viewport {
  --timeline-edge-fade: 46px;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 32px;
  padding: 8px 0 14px;
  cursor: grab;
  scrollbar-color: var(--line) transparent;
  scrollbar-width: thin;
  touch-action: pan-x pan-y pinch-zoom;
  user-select: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.timeline-viewport:active { cursor: grabbing; }
.timeline-viewport.is-dragging { cursor: grabbing; }
.timeline-viewport.can-scroll-left.can-scroll-right {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--timeline-edge-fade), #000 calc(100% - var(--timeline-edge-fade)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--timeline-edge-fade), #000 calc(100% - var(--timeline-edge-fade)), transparent 100%);
}
.timeline-viewport.can-scroll-left:not(.can-scroll-right) {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--timeline-edge-fade), #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--timeline-edge-fade), #000 100%);
}
.timeline-viewport.can-scroll-right:not(.can-scroll-left) {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - var(--timeline-edge-fade)), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - var(--timeline-edge-fade)), transparent 100%);
}
.timeline-track {
  --timeline-overscroll-x: 0px;
  position: relative;
  display: block;
  min-width: 0;
  transform: translate3d(var(--timeline-overscroll-x), 0, 0);
}
.timeline-track.is-rebounding { transition: transform 380ms cubic-bezier(.22, 1, .36, 1); }
.timeline-track::before {
  position: absolute;
  top: var(--timeline-axis-y);
  right: var(--timeline-side-padding);
  left: var(--timeline-side-padding);
  height: 1px;
  background: linear-gradient(to right, transparent 0, var(--line) 22px, var(--line) calc(100% - 22px), transparent 100%);
  content: "";
}
.timeline-scale {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.timeline-interval {
  position: absolute;
  height: 37px;
  border-left: 1px solid rgba(143, 147, 141, .1);
  background: rgba(242, 239, 230, .012);
}
.timeline-interval:nth-child(even) { background: rgba(242, 239, 230, .025); }
.timeline-interval.is-major { border-left-color: rgba(143, 147, 141, .24); }
.timeline-interval:first-child { border-left-color: rgba(143, 147, 141, .08); }
.timeline-interval-year {
  position: absolute;
  top: 16px;
  left: 0;
  color: var(--quiet);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transform: translateX(-50%);
}
.timeline-end-tick {
  position: absolute;
  width: 1px;
  height: 37px;
  background: linear-gradient(to bottom, transparent, rgba(143, 147, 141, .1) 28%, rgba(143, 147, 141, .1) 72%, transparent);
}
.timeline-node {
  position: absolute;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  pointer-events: none;
  transition: opacity .18s ease;
}
.timeline-node-label {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0 7px 5px;
  border: 1px solid transparent;
  background: var(--panel);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  text-align: center;
  transform: translateX(-50%);
  pointer-events: auto;
  transition: width .25s cubic-bezier(.77, 0, .175, 1), transform .25s cubic-bezier(.77, 0, .175, 1), background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.timeline-node-date {
  display: block;
  overflow: hidden;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .18s ease;
}
.timeline-node-title {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .18s ease;
}
.timeline-node-stem {
  position: absolute;
  top: 48px;
  bottom: 7px;
  left: var(--timeline-marker-offset);
  display: block;
  width: 1px;
  background: var(--line);
  pointer-events: auto;
  transition: background-color .18s ease;
}
.timeline-node-stem::before {
  position: absolute;
  inset: 0 -8px;
  content: "";
}
.timeline-node-dot {
  position: absolute;
  bottom: 0;
  left: calc(var(--timeline-marker-offset) - 6px);
  z-index: 1;
  display: block;
  width: 13px;
  height: 13px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  background: var(--panel);
  pointer-events: auto;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.timeline-node.is-selected { z-index: 2; }
.timeline-node.is-selected .timeline-node-title { color: var(--ink); }
.timeline-node.is-selected .timeline-node-dot { border-color: var(--cyan); background: var(--cyan); transform: scale(1.3); }
.timeline-node.is-selected .timeline-node-date { color: var(--cyan); }
.timeline-node.is-selected .timeline-node-stem { background: var(--cyan); }
.timeline-node:focus-visible { z-index: 5; outline: 0; }
.timeline-node:focus-visible .timeline-node-label {
  width: 200px;
  border-color: var(--cyan);
  background: var(--bg-soft);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .36);
  transform: translate(-50%, -3px);
}
.timeline-node:focus-visible .timeline-node-date { color: var(--cyan); }
.timeline-node:focus-visible .timeline-node-title { color: var(--ink); }
.timeline-node:focus-visible .timeline-node-stem { background: var(--cyan); }
.timeline-node:focus-visible .timeline-node-dot { border-color: var(--cyan); transform: scale(1.3); }
.timeline-track:has(.timeline-node:focus-visible) .timeline-node:not(:focus-visible):not(.is-selected) { opacity: .38; }

@media (hover: hover) and (pointer: fine) {
  .timeline-node:hover { z-index: 5; }
  .timeline-node:hover .timeline-node-label {
    width: 200px;
    border-color: var(--cyan);
    background: var(--bg-soft);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .36);
    transform: translate(-50%, -3px);
  }
  .timeline-node:hover .timeline-node-date { color: var(--cyan); }
  .timeline-node:hover .timeline-node-title { color: var(--ink); }
  .timeline-node:hover .timeline-node-stem { background: var(--cyan); }
  .timeline-node:hover .timeline-node-dot { border-color: var(--cyan); transform: scale(1.3); }
  .timeline-track:has(.timeline-node:hover) .timeline-node:not(:hover):not(.is-selected) { opacity: .38; }
}
.timeline-status { min-height: 18px; margin: 10px 0 0; color: var(--red); font-size: 12px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 9vw 30px;
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: .06em;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }

@media (min-width: 1371px) {
  .age-display-group { transform: translateX(clamp(0px, calc((100vw - 1536px) * .55), 165px)); }
  .age-whole { font-size: clamp(240px, 19.14vw, 294px); }
  .age-fraction { font-size: clamp(48px, 3.78vw, 58px); }
  .age-brand {
    top: clamp(33px, 2.6vw, 40px);
    left: clamp(503px, 39.84vw, 612px);
    font-size: clamp(48px, 3.78vw, 58px);
  }
}

@media (max-width: 1370px) {
  .brand-mark { width: 143px; }
  .hero-stage { grid-template-columns: 1fr; gap: 42px; min-height: 0; padding: 120px 7vw 38px; }
  .age-column { align-self: auto; }
  .story-panel { align-self: auto; max-width: 700px; padding: 0 0 0 28px; }
  .timeline-section { padding-right: 7vw; padding-left: 7vw; }
  .site-footer { padding-right: 7vw; padding-left: 7vw; }
}

@media (max-width: 900px) and (min-width: 701px) {
  .age-whole { font-size: 240px; }
  .age-fraction { font-size: 48px; transform: translateY(-16px); }
  .age-brand { top: 33px; left: 503px; font-size: 48px; }
}

@media (max-width: 700px) and (min-width: 561px) {
  .age-number { align-items: flex-start; flex-direction: column; line-height: .95; }
  .age-whole { font-size: 210px; }
  .age-fraction { margin-top: calc(1em + 16px); margin-left: 7px; font-size: 38px; transform: none; }
  .age-years-label { bottom: calc(100% + 6px); }
  .age-brand { top: 28px; left: 323px; font-size: 38px; }
}

@media (max-width: 560px) {
  .brand-mark { width: 126px; }
  .hero-stage { gap: 38px; padding: 104px 20px 43px; }
  .age-brand { top: 20px; left: 272px; font-size: 33px; }
  .age-number { align-items: flex-start; flex-direction: column; line-height: .95; }
  .age-whole { font-size: 183px; }
  .age-fraction { font-size: 33px; transform: none; }
  .age-fraction { margin-top: calc(1em + 16px); margin-left: 7px; }
  .age-years-label { bottom: calc(100% + 5px); }
  .age-caption { margin-top: 15px; font-size: 14px; line-height: 1.55; }
  .story-panel { min-height: 0; padding: 5px 0 0 17px; }
  .story-panel::before { width: 28px; }
  .story-default { padding-top: 0; }
  blockquote { font-size: 25px; line-height: 1.48; }
  .story-hint { margin-top: 28px; font-size: 12px; line-height: 1.75; }
  .event-title { font-size: 31px; }
  .event-description { margin-top: 20px; font-size: 15px; line-height: 1.75; }
  .event-reflection { font-size: 17px; }
  .event-gallery { grid-template-columns: 1fr; }
  .timeline-section { padding: 39px 20px 24px; }
  .timeline-heading { display: block; }
  .timeline-heading h1 { font-size: 24px; line-height: 1.35; }
  .timeline-utilities { align-items: center; justify-content: space-between; margin-top: 14px; }
  .timeline-meta { margin: 0; }
  .timeline-viewport { --timeline-edge-fade: 28px; margin-top: 20px; padding-bottom: 12px; }
  .site-footer { padding: 18px 20px 25px; }
}

@media (max-width: 379px) {
  .age-brand { top: 178px; left: 131px; }
  .age-fraction { margin-top: calc(1em + 87px); }
}

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