:root {
  color-scheme: dark;
  --ink: #090b0d;
  --ink-2: #101417;
  --ink-3: #171e22;
  --paper: #f4efe6;
  --paper-2: #fffaf0;
  --text: #f4f7f5;
  --muted: #9aa5a1;
  --line: rgba(244, 247, 245, 0.14);
  --line-strong: rgba(244, 247, 245, 0.28);
  --acid: #d8ff3e;
  --cyan: #4ef4ff;
  --coral: #ff6f61;
  --amber: #ffb238;
  --violet: #9f7cff;
  --green: #39ff9f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 13, 0.82), rgba(9, 11, 13, 0.98)),
    #090b0d;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
  z-index: -2;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.signal-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.42;
  z-index: -1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(244, 247, 245, 0.08);
  background: rgba(9, 11, 13, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 6px;
  font-size: 13px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(244, 247, 245, 0.08);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 44px;
  min-height: 88vh;
  padding: 130px 6vw 56px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: 76px;
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 680px;
  color: rgba(244, 247, 245, 0.78);
  font-size: 21px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 740;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

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

.button-primary {
  color: var(--ink);
  background: var(--acid);
}

.button-secondary {
  color: var(--ink);
  background: var(--cyan);
}

.button-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(244, 247, 245, 0.06);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 5% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acid), var(--cyan), transparent);
  opacity: 0.8;
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 22px 60px rgba(78, 244, 255, 0.12));
}

.metrics-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(244, 247, 245, 0.045);
  backdrop-filter: blur(16px);
}

.metrics-strip div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.metrics-strip div:last-child {
  border-right: 0;
}

.metrics-strip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 31px;
  line-height: 1;
}

.metrics-strip span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 92px 6vw;
}

.section-dark {
  background: rgba(9, 11, 13, 0.84);
}

.section-ink {
  background:
    linear-gradient(135deg, rgba(216, 255, 62, 0.08), transparent 28%),
    linear-gradient(215deg, rgba(255, 111, 97, 0.1), transparent 24%),
    var(--ink-2);
}

.section-light {
  color: #161a18;
  background: var(--paper);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: rgba(244, 247, 245, 0.72);
  font-size: 17px;
}

.section-light .section-heading p:not(.eyebrow) {
  color: rgba(22, 26, 24, 0.68);
}

.section-light .eyebrow {
  color: #126a48;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 40px;
  padding: 9px 14px;
  color: var(--muted);
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 247, 245, 0.05);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.filter-button:hover,
.filter-button.active {
  color: var(--ink);
  border-color: var(--acid);
  background: var(--acid);
}

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

.project-card,
.capability-card,
.certificate-card {
  border-radius: 8px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(244, 247, 245, 0.07), rgba(244, 247, 245, 0.025));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 255, 62, 0.56);
  background:
    linear-gradient(180deg, rgba(244, 247, 245, 0.1), rgba(244, 247, 245, 0.035));
}

.project-card.featured {
  border-color: rgba(78, 244, 255, 0.46);
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 760;
}

.project-topline svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.project-card p {
  color: rgba(244, 247, 245, 0.7);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 20px;
  padding-top: 18px;
}

.tags span {
  padding: 5px 9px;
  color: rgba(244, 247, 245, 0.82);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(244, 247, 245, 0.04);
  font-size: 12px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 760;
}

.text-link svg {
  width: 15px;
  height: 15px;
}

.stack-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.stack-marquee span {
  padding: 10px 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 247, 245, 0.055);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(9, 11, 13, 0.52);
}

.capability-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 26px;
  color: var(--amber);
}

.capability-card h3 {
  font-size: 22px;
}

.capability-card p {
  color: rgba(244, 247, 245, 0.68);
}

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

.certificate-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: var(--paper-2);
  border: 1px solid rgba(22, 26, 24, 0.12);
  box-shadow: 0 18px 45px rgba(22, 26, 24, 0.1);
}

.certificate-card img {
  width: 220px;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(22, 26, 24, 0.14);
}

.certificate-card span {
  color: #126a48;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.certificate-card h3 {
  margin: 6px 0 8px;
  font-size: 25px;
}

.certificate-card p {
  color: rgba(22, 26, 24, 0.68);
}

.activity-band {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(22, 26, 24, 0.14);
  border-radius: 8px;
  background: #111417;
  overflow: hidden;
}

.activity-band img {
  width: 100%;
  border-radius: 6px;
}

.comment-shell {
  min-height: 280px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 247, 245, 0.04);
}

#tcomment {
  color: var(--text);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw 36px;
  color: rgba(244, 247, 245, 0.58);
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: rgba(244, 247, 245, 0.78);
  text-decoration: none;
}

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

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

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

.project-card.hidden {
  display: none;
}

@media (max-width: 1120px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 860px;
  }

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

  .proof-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
  }

  .site-nav {
    width: 100%;
    max-width: none;
    justify-content: space-between;
    gap: 0;
    padding-top: 6px;
    border-top: 1px solid rgba(244, 247, 245, 0.08);
  }

  .site-nav a {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 4px;
    font-size: 13px;
    text-align: center;
  }

  .hero-section {
    min-height: 86vh;
    padding: 134px 18px 38px;
    gap: 28px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 18px;
  }

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

  .metrics-strip div {
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .metrics-strip div:nth-child(2n) {
    border-right: 0;
  }

  .metrics-strip div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section {
    padding: 68px 18px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

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

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

  .certificate-card {
    grid-template-columns: 1fr;
  }

  .certificate-card img {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 18px 30px;
  }
}

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

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

  .signal-canvas {
    display: none;
  }
}
