:root {
  color-scheme: light;
  --ink: #17211d;
  --ink-strong: #07120f;
  --muted: #5b665f;
  --soft: #f7f5ee;
  --paper: #fbfaf4;
  --line: #d8ddd3;
  --line-dark: rgba(230, 235, 224, 0.22);
  --graphite: #121714;
  --graphite-2: #202822;
  --accent: #08796f;
  --accent-bright: #20a392;
  --amber: #bd8b2c;
  --steel: #66736d;
  --white: #ffffff;
  --radius: 8px;
  --max: 1180px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  text-rendering: geometricPrecision;
}

body::selection {
  color: var(--white);
  background: var(--accent);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(12, 18, 15, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  min-width: 0;
  display: inline-grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(32, 163, 146, 0.16));
  animation: markPulse 5.5s ease-in-out infinite;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.brand-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 14px;
  line-height: 1.35;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.56);
  font: 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.nav-login,
.nav-action,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-action {
  min-width: 94px;
  padding: 0 16px;
  color: #06110e;
  background: #f1c56b;
}

.nav-login {
  min-width: 82px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: calc(88svh - var(--header-h));
  overflow: hidden;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--graphite);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  opacity: 0.74;
  transform: scale(1.02);
  animation: photoDrift 18s ease-in-out infinite alternate;
}

.hero-scene,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-scene {
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.78;
}

.hero-vignette {
  background:
    linear-gradient(90deg, rgba(5, 11, 9, 0.96) 0%, rgba(5, 11, 9, 0.84) 38%, rgba(5, 11, 9, 0.20) 76%, rgba(5, 11, 9, 0.48) 100%),
    linear-gradient(0deg, rgba(5, 11, 9, 0.82), rgba(5, 11, 9, 0.04) 48%, rgba(5, 11, 9, 0.68));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 12vh, 140px) 0 clamp(88px, 12vh, 128px);
  transform: translateX(calc((min(100vw, var(--max)) - min(760px, calc(100vw - 40px))) / -2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-bright);
  font: 800 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline-block;
  white-space: nowrap;
}

.hero-joiner {
  margin: 0 0.12em;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.75;
}

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

.hero-actions {
  margin-top: 32px;
}

.button {
  min-width: 132px;
  padding: 0 20px;
  border: 1px solid currentColor;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #07120f;
  border-color: #f1c56b;
  background: #f1c56b;
}

.button.secondary {
  color: inherit;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.hero-strip {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  right: clamp(18px, 4vw, 48px);
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  background: rgba(11, 18, 15, 0.76);
  backdrop-filter: blur(14px);
}

.hero-strip span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border-right: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.84);
  font: 700 14px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.section {
  padding: clamp(72px, 10vw, 124px) clamp(20px, 4vw, 48px);
}

.section-inner,
.contact-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-section {
  background:
    linear-gradient(90deg, rgba(8, 121, 111, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(8, 121, 111, 0.05) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: 28px 28px;
}

.section-lede {
  max-width: 720px;
}

.section-lede h2,
.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  color: var(--ink-strong);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.14;
  letter-spacing: 0;
}

.contact-section h2 span {
  display: inline-block;
  white-space: nowrap;
}

.section-lede p:not(.section-kicker),
.contact-section p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.capability-table {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.capability-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 320px);
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.row-index {
  color: var(--accent);
  font: 800 18px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.capability-row h3,
.scenario-board strong,
.method-rail h3,
.case-card h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 21px;
  line-height: 1.35;
}

.capability-row p,
.method-rail p,
.case-card p,
.scenario-board p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.capability-row ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-row li {
  padding: 7px 9px;
  color: #184640;
  border: 1px solid #cbd8d3;
  background: #f2f7f4;
  font: 700 13px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.scenario-section {
  color: rgba(255, 255, 255, 0.9);
  background: var(--graphite);
}

.scenario-section .section-lede h2,
.scenario-section .section-lede p {
  color: inherit;
}

.scenario-section .section-lede p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.68);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.scenario-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.scenario-board article {
  min-height: 168px;
  padding: 24px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.scenario-board strong {
  color: var(--white);
}

.scenario-board p {
  color: rgba(255, 255, 255, 0.66);
}

.method-section {
  background: #f2f0e7;
}

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

.method-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cfd5c9;
  border-left: 1px solid #cfd5c9;
  background: rgba(255, 255, 255, 0.42);
}

.method-rail article {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border-right: 1px solid #cfd5c9;
  border-bottom: 1px solid #cfd5c9;
}

.method-rail span {
  color: var(--amber);
  font: 900 24px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.cases-section {
  background: var(--paper);
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.case-card {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  background: #fffef9;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.case-card:hover,
.case-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(8, 121, 111, 0.32);
  box-shadow: 0 18px 42px rgba(20, 31, 27, 0.08);
}

.featured-case {
  grid-column: 1 / -1;
  min-height: 420px;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  grid-template-rows: 1fr;
}

.case-media {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(8, 121, 111, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(8, 121, 111, 0.07) 0 1px, transparent 1px 100%),
    #edf2ec;
  background-size: 18px 18px;
}

.featured-case .case-media {
  min-height: 420px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.case-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition: transform 380ms ease, filter 380ms ease;
}

.case-card:hover .case-media img,
.case-card:focus-within .case-media img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.02);
}

.case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.46) 48%, transparent 58% 100%),
    linear-gradient(180deg, transparent 56%, rgba(8, 18, 15, 0.18));
  transform: translateX(-120%);
  animation: scanLight 8.5s ease-in-out infinite;
}

.platform-card .case-media {
  background: #121714;
}

.platform-card .case-media img {
  object-fit: cover;
}

.cube-media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(32, 163, 146, 0.20), transparent 42%),
    linear-gradient(135deg, #eef3ed, #dfe7df);
}

.cube-media img {
  width: 90%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 28px 24px rgba(9, 16, 13, 0.28));
}

.case-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.featured-case .case-body {
  align-content: center;
  padding: clamp(28px, 4vw, 46px);
}

.case-type {
  color: var(--accent);
  font: 800 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

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

.case-tags li {
  padding: 7px 9px;
  color: #184640;
  border: 1px solid #cbd8d3;
  background: #f2f7f4;
  font: 700 13px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.sample-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid #cfd7cf;
  background:
    linear-gradient(90deg, rgba(8, 121, 111, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(8, 121, 111, 0.07) 0 1px, transparent 1px 100%),
    #eef3ed;
  background-size: 18px 18px;
}

.sample-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.42) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: scanLight 7s ease-in-out infinite;
}

.console-visual span {
  position: absolute;
  display: block;
  border: 1px solid rgba(8, 121, 111, 0.38);
  background: rgba(255, 255, 255, 0.68);
}

.console-visual span:nth-child(1) {
  left: 18px;
  top: 18px;
  width: 42%;
  height: 74px;
}

.console-visual span:nth-child(2) {
  right: 18px;
  top: 18px;
  width: 34%;
  height: 126px;
}

.console-visual span:nth-child(3) {
  left: 18px;
  bottom: 22px;
  width: 54%;
  height: 74px;
}

.console-visual span:nth-child(4) {
  left: 34px;
  bottom: 50px;
  width: 48%;
  height: 2px;
  border: 0;
  background: repeating-linear-gradient(90deg, var(--accent) 0 16px, transparent 16px 24px);
}

.configurator-visual span {
  position: absolute;
  display: block;
}

.configurator-visual span:nth-child(1) {
  left: 22px;
  top: 26px;
  width: 46%;
  height: 150px;
  border: 2px solid var(--accent);
  transform: skewX(-8deg);
  background: rgba(255, 255, 255, 0.58);
}

.configurator-visual span:nth-child(2) {
  right: 22px;
  top: 34px;
  width: 33%;
  height: 18px;
  background: var(--amber);
  box-shadow: 0 34px 0 rgba(189, 139, 44, 0.58), 0 68px 0 rgba(189, 139, 44, 0.28);
}

.configurator-visual span:nth-child(3) {
  right: 34px;
  bottom: 26px;
  width: 42%;
  height: 46px;
  border: 1px solid rgba(8, 121, 111, 0.45);
  background: rgba(255, 255, 255, 0.76);
}

.product-visual span {
  position: absolute;
  display: block;
}

.product-visual span:nth-child(1) {
  left: 50%;
  top: 34px;
  width: 130px;
  height: 130px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(32, 163, 146, 0.16), transparent 58%);
}

.product-visual span:nth-child(2) {
  left: 22%;
  right: 22%;
  bottom: 30px;
  height: 52px;
  border: 1px solid rgba(8, 121, 111, 0.45);
  background: rgba(255, 255, 255, 0.72);
}

.product-visual span:nth-child(3) {
  left: 50%;
  top: 99px;
  width: 2px;
  height: 112px;
  background: var(--accent);
  transform: translateX(-50%);
}

.contact-section {
  padding: clamp(70px, 10vw, 112px) clamp(20px, 4vw, 48px);
  background: #e7e5da;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding-top: 34px;
  border-top: 2px solid var(--ink-strong);
}

.contact-section .button.secondary {
  color: var(--ink);
  border-color: #aab1a8;
  background: transparent;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.72);
  background: #0b100d;
  font-size: 14px;
}

.footer-brand {
  min-width: min(420px, 100%);
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  width: 142px;
  height: auto;
  display: block;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-brand span {
  display: grid;
  gap: 5px;
}

.site-footer strong {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer small {
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
}

.filing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.filing-links a {
  color: #9de1d7;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

:focus-visible {
  outline: 3px solid #f1c56b;
  outline-offset: 3px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

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

@keyframes photoDrift {
  from {
    transform: scale(1.02) translateX(0);
  }

  to {
    transform: scale(1.055) translateX(-1.2%);
  }
}

@keyframes markPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 12px rgba(32, 163, 146, 0.14));
  }

  50% {
    filter: drop-shadow(0 0 22px rgba(32, 163, 146, 0.36));
  }
}

@keyframes scanLight {
  0%,
  42% {
    transform: translateX(-120%);
  }

  64%,
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: calc(84svh - var(--header-h));
  }

  .hero-content {
    transform: none;
  }

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

  .capability-row,
  .two-column,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .capability-row ul {
    justify-content: flex-start;
  }

  .case-gallery,
  .method-rail {
    grid-template-columns: 1fr 1fr;
  }

  .featured-case {
    grid-template-columns: 1fr;
  }

  .featured-case .case-media {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    gap: 12px;
    padding: 8px 14px;
  }

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

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero-photo {
    object-position: 70% center;
    opacity: 0.58;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .nav-action {
    min-width: auto;
    padding: 0 12px;
    font-size: 13px;
  }

  .nav-login {
    min-width: auto;
    padding: 0 10px;
    font-size: 13px;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    min-height: calc(82svh - var(--header-h));
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 56px 0 138px;
  }

  .hero-copy {
    max-width: 30rem;
  }

  .hero-strip {
    left: 0;
    right: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-strip span {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 12px;
  }

  .section {
    padding: 58px 18px;
  }

  .section-heading {
    display: block;
  }

  .capability-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .capability-row ul {
    grid-column: 2;
  }

  .scenario-board,
  .case-gallery,
  .method-rail {
    grid-template-columns: 1fr;
  }

  .scenario-board article,
  .method-rail article {
    min-height: 150px;
  }

  .case-card {
    min-height: 0;
  }

  .case-media,
  .featured-case .case-media {
    min-height: 220px;
  }

  .case-body {
    padding: 20px;
  }

  .contact-actions,
  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .footer-brand {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .footer-brand img {
    width: 116px;
  }
}

@media (max-width: 420px) {
  .header-actions .nav-action {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
