:root {
  color-scheme: dark;
  --ink: #f5f2ea;
  --muted: #aeb7b2;
  --line: rgba(245, 242, 234, 0.14);
  --paper: #0b0f12;
  --surface: rgba(255, 255, 255, 0.075);
  --sage: #9dc6aa;
  --blue: #7fb8d8;
  --coral: #e89978;
  --gold: #d8b766;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% 18%, rgba(232, 153, 120, 0.16), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(127, 184, 216, 0.18), transparent 30rem),
    linear-gradient(180deg, #080b0f 0%, var(--paper) 48%, #101713 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

#field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(18px);
  background: rgba(8, 11, 15, 0.62);
  border-bottom: 1px solid rgba(245, 242, 234, 0.1);
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  padding: 8px 0;
}

nav a:hover,
.site-footer a:hover,
.contact-links a:hover {
  color: var(--coral);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 6vw, 84px) 54px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.96) 0%, rgba(8, 11, 15, 0.76) 42%, rgba(8, 11, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 11, 15, 0.48) 0%, rgba(8, 11, 15, 0.28) 54%, #0b0f12 100%);
}

.hero-copy {
  max-width: 940px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 11ch;
  font-size: clamp(64px, 13vw, 172px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-text {
  max-width: 690px;
  color: rgba(245, 242, 234, 0.84);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.45;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.contact-links a:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: #f5f2ea;
  color: #0b0f12;
}

.button.ghost,
.contact-links a {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-meta {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  margin-top: 80px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 242, 234, 0.22);
  color: var(--muted);
  font-size: 13px;
}

.hero-meta span {
  padding-right: 16px;
  border-right: 1px solid rgba(245, 242, 234, 0.22);
}

.hero-meta span:last-child {
  border-right: 0;
}

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

.signal-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: rgba(245, 242, 234, 0.72);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
}

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

.section {
  padding: 94px clamp(20px, 6vw, 84px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(34px, 7vw, 100px);
  border-top: 1px solid var(--line);
}

.section h2 {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.body-copy {
  color: rgba(245, 242, 234, 0.76);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

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

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(20px, 5vw, 70px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 36px);
}

.timeline p {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

.project-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 97, 74, 0.42);
}

.project-card img,
.project-visual {
  width: 100%;
  aspect-ratio: 1.25;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(245, 242, 234, 0.12);
}

.project-card > div:last-child {
  padding: 0 6px 6px;
}

.project-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 28%, rgba(232, 153, 120, 0.3), transparent 22%),
    radial-gradient(circle at 76% 18%, rgba(127, 184, 216, 0.35), transparent 24%),
    linear-gradient(135deg, rgba(245, 242, 234, 0.14), rgba(255, 255, 255, 0.02));
}

.algorithm-visual span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 36px rgba(216, 183, 102, 0.8);
}

.algorithm-visual span:nth-child(1) {
  top: 24%;
  left: 20%;
}

.algorithm-visual span:nth-child(2) {
  top: 34%;
  right: 20%;
}

.algorithm-visual span:nth-child(3) {
  bottom: 24%;
  left: 34%;
}

.algorithm-visual span:nth-child(4) {
  bottom: 30%;
  right: 34%;
}

.algorithm-visual::before,
.site-visual::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(245, 242, 234, 0.18);
  transform: rotate(-8deg);
}

.site-visual {
  display: grid;
  place-items: center;
}

.site-visual span {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(245, 242, 234, 0.9);
  color: #0b0f12;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.project-index {
  color: var(--gold);
  font-weight: 850;
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.project-card p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
}

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

.now-date {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

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

.status-grid article {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.status-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-grid strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
}

.note-list {
  display: grid;
  gap: 12px;
}

.note-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.note-list span {
  color: var(--muted);
  font-size: 14px;
}

.note-list strong {
  font-size: clamp(20px, 3vw, 34px);
}

.contact {
  min-height: 55vh;
  border-top: 1px solid var(--line);
}

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

.contact p {
  max-width: 640px;
  font-size: 19px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 84px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    max-width: 300px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 90vh;
    padding-top: 126px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 11, 15, 0.94) 0%, rgba(8, 11, 15, 0.78) 100%),
      linear-gradient(180deg, rgba(8, 11, 15, 0.2), #0b0f12 100%);
  }

  .hero-meta,
  .split,
  .section-heading,
  .site-footer {
    display: block;
  }

  .hero-meta span,
  .site-footer a {
    display: block;
    margin-top: 8px;
  }

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

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

  .signal-strip span {
    min-height: 56px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

  .project-card {
    min-height: auto;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 118px;
  }

  .site-header {
    gap: 14px;
    padding-inline: 16px;
  }

  .brand {
    width: 38px;
    height: 38px;
  }

  nav {
    max-width: 230px;
    gap: 10px 16px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(58px, 19vw, 88px);
  }

  .hero-text {
    font-size: 19px;
  }

  .button,
  .contact-links a {
    width: 100%;
  }

  .note-item {
    align-items: flex-start;
    flex-direction: column;
  }
}
