:root {
  color-scheme: light;
  --ink: #1f2528;
  --muted: #657171;
  --line: #dfe5e1;
  --paper: #f8f6f0;
  --soft: #ece8df;
  --accent: #0d8a7a;
  --accent-dark: #08685e;
  --signal: #d7ff6a;
  --clay: #a85f42;
  --plum: #4b315f;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(28, 39, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(31, 37, 40, 0.045) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--paper);
  line-height: 1.65;
}

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

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: var(--accent);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(248, 246, 240, 0.88);
  box-shadow: 0 12px 30px rgba(31, 37, 40, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
}

nav a {
  opacity: 0.82;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 92px) 72px;
  overflow: hidden;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 52%, rgba(215, 255, 106, 0.12) 0 18%, transparent 34%),
    linear-gradient(90deg, rgba(10, 26, 27, 0.82) 0%, rgba(15, 28, 29, 0.58) 41%, rgba(15, 28, 29, 0.2) 100%),
    linear-gradient(180deg, rgba(15, 28, 29, 0.08) 0%, rgba(15, 28, 29, 0.5) 100%);
}

.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: 0;
}

.hero-image img {
  object-fit: cover;
  transform: scale(1.03);
  animation: slow-drift 18s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  min-width: 0;
  max-width: 760px;
  padding-top: 4vh;
  animation: rise-in 700ms ease both;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7vh;
  width: 2px;
  height: 72%;
  background: linear-gradient(var(--signal), rgba(255, 255, 255, 0.14));
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(48px, 8vw, 118px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-lede {
  max-width: 630px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2.2vw, 25px);
  color: rgba(255, 255, 255, 0.88);
  overflow-wrap: anywhere;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.hero-meta span {
  position: relative;
  padding-left: 16px;
}

.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  transform: translateY(-50%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.primary-link {
  color: var(--white);
  background: var(--accent);
}

.primary-link:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--white);
}

.secondary-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.hero-index {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 42px;
  z-index: 2;
  width: min(360px, calc(100% - 40px));
  color: rgba(255, 255, 255, 0.86);
  text-align: right;
}

.hero-index span,
.hero-index small {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-index strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(19px, 2.2vw, 30px);
  line-height: 1.06;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--signal);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker span {
  display: block;
  padding: 13px 24px;
  border-right: 1px solid rgba(31, 37, 40, 0.32);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.intro {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 8vw, 140px);
  font-size: clamp(24px, 3.8vw, 48px);
  line-height: 1.28;
  color: #263031;
}

.intro p {
  max-width: 1120px;
  margin: 0;
}

.field-note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 7vw, 98px);
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 92px);
  color: var(--white);
  background: #201827;
}

.field-note h2 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(36px, 5.8vw, 80px);
  line-height: 1.02;
  letter-spacing: 0;
}

.field-note .section-kicker {
  color: var(--signal);
}

.field-note-body {
  align-self: end;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.field-note-body p {
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.field-note-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.field-note-body li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.field-note-body li span {
  color: var(--signal);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
}

.section h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-kicker {
  color: var(--accent-dark);
}

.theme-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.theme-row article {
  position: relative;
  min-height: 260px;
  padding: 28px 26px 34px 0;
  border-right: 1px solid var(--line);
  transition: color 180ms ease, transform 180ms ease;
}

.theme-row article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 26px;
  bottom: -1px;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.theme-row article:hover {
  transform: translateY(-4px);
}

.theme-row article:hover::after {
  transform: scaleX(1);
}

.theme-row article + article {
  padding-left: 26px;
}

.theme-row article:last-child {
  border-right: 0;
}

.theme-row span {
  display: block;
  color: var(--clay);
  font-size: 14px;
  font-weight: 800;
}

.theme-row h3 {
  margin: 48px 0 14px;
  font-size: 23px;
  line-height: 1.2;
}

.theme-row p,
.worknotes p,
.timeline span,
.contact p {
  margin: 0;
  color: var(--muted);
}

.worknotes {
  background:
    linear-gradient(135deg, rgba(13, 138, 122, 0.08), transparent 42%),
    var(--soft);
}

.worknotes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(38px, 7vw, 100px);
  margin-top: 52px;
}

.worknotes-grid > div:first-child {
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.45;
}

.worknotes-grid p + p {
  margin-top: 22px;
}

.signals {
  margin: 0;
  border-top: 1px solid rgba(31, 37, 40, 0.18);
}

.signals div {
  position: relative;
  padding: 24px 0;
  border-bottom: 1px solid rgba(31, 37, 40, 0.18);
}

.signals div::before {
  content: "";
  position: absolute;
  top: 31px;
  right: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
}

.signals dt {
  margin-bottom: 6px;
  font-weight: 800;
  color: var(--ink);
}

.signals dd {
  margin: 0;
  color: var(--muted);
}

.system-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(46px, 7vw, 86px);
  border: 1px solid rgba(31, 37, 40, 0.18);
}

.system-strip span {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-right: 1px solid rgba(31, 37, 40, 0.18);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.system-strip span:last-child {
  border-right: 0;
}

.timeline ol {
  max-width: 980px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 120px minmax(220px, 0.6fr) minmax(0, 1fr);
  gap: 28px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--clay);
  font-weight: 800;
}

.timeline strong {
  font-size: 20px;
}

.timeline li:hover strong {
  color: var(--accent-dark);
}

.contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  background:
    linear-gradient(120deg, #173536 0%, #173536 54%, var(--plum) 100%);
  color: var(--white);
}

.contact .section-kicker,
.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact h2 {
  max-width: 780px;
}

.contact p {
  max-width: 650px;
  margin-top: 22px;
  font-size: 18px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: center;
  padding: 28px 20px;
  color: var(--muted);
  background: #102526;
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.4%, 1%, 0);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 20px;
  }

  nav {
    gap: 14px;
  }

  .hero {
    min-height: 92svh;
    padding: 104px 20px 56px;
  }

  .hero h1 {
    max-width: 520px;
  }

  .intro {
    padding-left: 20px;
    padding-right: 20px;
  }

  .field-note {
    grid-template-columns: 1fr;
  }

  .theme-row,
  .worknotes-grid {
    grid-template-columns: 1fr;
  }

  .theme-row article,
  .theme-row article + article {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .theme-row article:last-child {
    border-bottom: 0;
  }

  .theme-row h3 {
    margin-top: 22px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact {
    display: block;
  }

  .contact .primary-link {
    margin-top: 28px;
  }

  .system-strip {
    grid-template-columns: 1fr;
  }

  .system-strip span {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid rgba(31, 37, 40, 0.18);
  }

  .system-strip span:last-child {
    border-bottom: 0;
  }
}

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

  nav {
    display: none;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 42px;
    line-height: 1.05;
  }

  .hero-copy::before,
  .hero-index {
    display: none;
  }

  .hero-lede {
    max-width: 340px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }
}

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