:root {
  --bg: #0a0b09;
  --bg-raised: #11120f;
  --bg-soft: #171914;
  --surface: #e8e9e0;
  --ink: #f0f1e8;
  --ink-dark: #11120f;
  --muted: #989b8f;
  --muted-dark: #62645c;
  --line: rgba(240, 241, 232, 0.14);
  --line-strong: rgba(240, 241, 232, 0.25);
  --accent: #c8d26a;
  --accent-soft: rgba(200, 210, 106, 0.12);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Arial Narrow", "Aptos Display", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1440px, calc(100% - 96px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--accent);
  color: var(--ink-dark);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink-dark);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0, transparent 96vh);
}

.site-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.12) 50%);
  background-size: 100% 4px;
}

.section-shell {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--shell);
  height: 88px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 30px;
  aspect-ratio: 1;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
  transform: skew(-7deg);
}

.site-nav {
  display: flex;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-status {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200, 210, 106, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  min-height: 100svh;
  padding-top: 88px;
  border-inline: 1px solid var(--line);
}

.hero-coordinates {
  position: absolute;
  top: 116px;
  right: 88px;
  display: flex;
  gap: 24px;
  color: var(--muted);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(96px, 12vh, 150px) clamp(32px, 6vw, 96px) 110px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 22px;
  border: 1px solid rgba(200, 210, 106, 0.45);
}

.hero-eyebrow {
  opacity: 0;
  animation: hero-in 700ms 120ms cubic-bezier(.2, .7, .2, 1) forwards;
}

.hero-title {
  display: flex;
  align-items: baseline;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(86px, 15.2vw, 244px);
  font-stretch: condensed;
  font-weight: 800;
  line-height: 0.72;
  letter-spacing: -0.085em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(24px);
  animation: hero-in 900ms 220ms cubic-bezier(.2, .7, .2, 1) forwards;
}

.hero-title span:last-child {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(240, 241, 232, 0.88);
}

.hero-lower {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  margin-top: clamp(64px, 9vh, 108px);
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 800ms 420ms cubic-bezier(.2, .7, .2, 1) forwards;
}

.hero-kicker {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero-intro {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 10px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 170px;
  padding: 17px 18px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.025);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary:hover {
  background: #dce87a;
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ink-dark);
}

.button-arrow {
  font-size: 15px;
  line-height: 1;
}

.hero-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 112px 0 40px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.hero-rail .mono {
  writing-mode: vertical-rl;
}

.hero-rail-line {
  width: 1px;
  flex: 1;
  max-height: 160px;
  margin-block: 24px;
  background: linear-gradient(to bottom, transparent, var(--line-strong), transparent);
}

.crosshair {
  position: relative;
  width: 22px;
  height: 22px;
  margin-block: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.crosshair::before {
  width: 30px;
  height: 1px;
}

.crosshair::after {
  width: 1px;
  height: 30px;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.scroll-line {
  position: relative;
  width: 48px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scan 2.4s ease-in-out infinite;
}

.section-block {
  padding-block: clamp(100px, 13vw, 190px);
}

.section-label {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  min-height: 52px;
  margin-bottom: clamp(70px, 9vw, 130px);
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.about {
  background: var(--bg);
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: clamp(64px, 10vw, 170px);
  align-items: start;
}

.overline {
  margin: 0 0 24px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about h2,
.content-heading h2,
.archive-statement h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h2 em {
  color: var(--muted);
  font-family: Georgia, "Songti SC", serif;
  font-weight: 400;
}

.about-copy {
  padding-top: 50px;
  color: var(--muted);
  font-size: 15px;
}

.about-copy p {
  margin: 0 0 28px;
}

.about-copy .lead {
  color: var(--ink);
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.65;
}

.archive-note {
  display: flex;
  gap: 18px;
  margin-top: 56px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.archive-note-mark {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 20px;
}

.archive-note .mono {
  color: var(--accent);
}

.archive-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.content {
  border-top: 1px solid var(--line);
}

.content-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.42fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 72px;
}

.content-heading p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px 26px 28px;
  border-right: 1px solid var(--line-strong);
  transition: background-color 260ms ease, transform 260ms ease;
}

.content-card:first-child {
  border-left: 1px solid var(--line-strong);
}

.content-card:hover {
  z-index: 1;
  background: var(--accent-soft);
  transform: translateY(-7px);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.card-symbol {
  color: var(--accent);
  font-size: 18px;
}

.content-card h3 {
  margin: auto 0 30px;
  font-family: var(--display);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 650;
  line-height: 0.93;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.content-card p {
  min-height: 52px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.archive {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink-dark);
}

.archive::before {
  content: "ARCHIVE";
  position: absolute;
  top: 5%;
  right: -1.5vw;
  color: rgba(17, 18, 15, 0.035);
  font-family: var(--display);
  font-size: 23vw;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.09em;
  pointer-events: none;
}

.section-label-light {
  border-color: rgba(17, 18, 15, 0.2);
  color: var(--muted-dark);
}

.section-label-light .mono {
  color: #6d7424;
}

.archive-statement {
  position: relative;
  margin-bottom: clamp(70px, 9vw, 128px);
}

.archive-statement .overline {
  color: #6d7424;
}

.archive-statement h2 {
  max-width: 1050px;
  font-size: clamp(58px, 8vw, 128px);
}

.archive-statement h2 em {
  color: #6b6c64;
}

.archive-translation {
  position: absolute;
  right: 0;
  bottom: 8px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 13px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 15, 0.26);
  background: rgba(255, 255, 255, 0.28);
  transition: background-color 300ms ease, color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}

.platform-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.1;
  transition: transform 450ms ease;
}

.platform-card:hover {
  background: var(--bg);
  color: var(--ink);
  transform: translateY(-8px);
  box-shadow: 0 28px 50px rgba(17, 18, 15, 0.14);
}

.platform-card:hover::after {
  transform: scale(1.25);
}

.platform-meta {
  display: flex;
  justify-content: space-between;
  color: currentColor;
  opacity: 0.6;
}

.platform-state {
  color: #6d7424;
  opacity: 1;
}

.platform-card:hover .platform-state {
  color: var(--accent);
}

.platform-main {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: auto 0;
}

.platform-glyph {
  display: grid;
  place-items: center;
  width: 66px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 20px;
}

.platform-glyph-bili {
  font-family: var(--mono);
  font-weight: 700;
}

.platform-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.platform-card p {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.platform-action {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact {
  background: var(--bg);
}

.contact-layout {
  align-items: end;
}

.contact-details {
  padding-bottom: 3px;
}

.email-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  transition: color 200ms ease, border-color 200ms ease;
}

.email-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-details > p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-details .contact-english {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-strong);
  background: #070806;
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-block: 72px 64px;
}

.footer-wordmark {
  font-family: var(--display);
  font-size: clamp(62px, 10vw, 150px);
  font-weight: 800;
  line-height: 0.72;
  letter-spacing: -0.08em;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  font-weight: 700;
}

.footer-links a {
  color: var(--muted);
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
  align-items: start;
  padding-block: 22px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-bottom p {
  max-width: 520px;
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
}

.footer-bottom .mono {
  text-align: right;
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms cubic-bezier(.2, .7, .2, 1), transform 700ms cubic-bezier(.2, .7, .2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.content-card:nth-child(2),
.platform-card:nth-child(2) {
  transition-delay: 70ms;
}

.content-card:nth-child(3) {
  transition-delay: 140ms;
}

.content-card:nth-child(4) {
  transition-delay: 210ms;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan {
  0%, 18% { transform: translateX(-100%); }
  72%, 100% { transform: translateX(100%); }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 56px, 1440px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .hero-content {
    padding-inline: 40px;
  }

  .hero-lower {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-card:nth-child(2) {
    border-right: 1px solid var(--line-strong);
  }

  .content-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-strong);
  }

  .archive-translation {
    position: static;
    margin-top: 28px;
  }

  .footer-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom .mono {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 24px;
  }

  .site-grid {
    background-size: 40px 40px;
  }

  .site-header {
    height: 72px;
  }

  .header-status {
    font-size: 8px;
  }

  .hero {
    display: block;
    min-height: 760px;
    padding-top: 72px;
  }

  .hero-coordinates,
  .hero-rail {
    display: none;
  }

  .hero-content {
    justify-content: flex-start;
    min-height: 688px;
    padding: 108px 20px 90px;
  }

  .hero-title {
    display: block;
    font-size: clamp(75px, 25vw, 138px);
    line-height: 0.74;
    white-space: normal;
  }

  .hero-title span {
    display: block;
  }

  .hero-title span:last-child {
    margin-left: 8vw;
  }

  .hero-lower {
    gap: 36px;
    margin-top: 62px;
  }

  .hero-kicker {
    font-size: 27px;
  }

  .desktop-break {
    display: none;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    flex: 1;
    min-width: 0;
    gap: 14px;
    padding: 15px 14px;
  }

  .scroll-cue {
    display: none;
  }

  .section-block {
    padding-block: 88px;
  }

  .section-label {
    grid-template-columns: 44px 1fr;
    min-height: 46px;
    margin-bottom: 64px;
  }

  .about-layout,
  .contact-layout,
  .content-heading {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about h2,
  .content-heading h2,
  .contact h2 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .about-copy {
    padding-top: 0;
  }

  .archive-note {
    margin-top: 44px;
    padding: 20px;
  }

  .content-heading {
    align-items: start;
    margin-bottom: 52px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-card,
  .content-card:first-child {
    min-height: 330px;
    border-right: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    border-left: 1px solid var(--line-strong);
  }

  .content-card:last-child {
    border-bottom: 0;
  }

  .content-card h3 {
    font-size: 43px;
  }

  .archive-statement h2 {
    font-size: clamp(47px, 14vw, 74px);
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 330px;
    padding: 22px;
  }

  .platform-card h3 {
    font-size: 53px;
  }

  .platform-glyph {
    width: 52px;
  }

  .email-link {
    gap: 12px;
    font-size: clamp(21px, 6.8vw, 30px);
  }

  .footer-top {
    display: block;
    padding-block: 64px 50px;
  }

  .footer-wordmark {
    font-size: 24vw;
  }

  .footer-links {
    margin-top: 54px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-bottom .mono {
    grid-column: auto;
    margin-top: 16px;
  }
}

@media (max-width: 380px) {
  .wordmark span:last-child {
    display: none;
  }

  .hero-content {
    padding-inline: 14px;
  }

  .hero-title {
    font-size: 72px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .email-link {
    font-size: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
