:root {
  --ink: #171615;
  --ink-soft: #35302b;
  --muted: #706a60;
  --paper: #f4efe6;
  --paper-deep: #e9dfcf;
  --surface: #fffaf1;
  --line: #cec3b2;
  --line-dark: rgba(23, 22, 21, 0.22);
  --red: #9f2f2a;
  --teal: #176b67;
  --green: #687f3f;
  --max: 1180px;
  --nav-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(23, 22, 21, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 22, 21, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 82%);
}

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

button,
input {
  font: inherit;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px 34px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(20px);
}

.brand {
  display: grid;
  line-height: 1.05;
  font-weight: 840;
}

.brand span {
  font-size: 20px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
}

.nav-contact {
  padding: 8px 11px;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.wrap {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: center;
  padding: 58px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 840;
}

.hero h1 {
  max-width: 820px;
  margin-top: 20px;
  font-family: "Songti SC", "Noto Serif SC", "PingFang SC", serif;
  font-size: 76px;
  line-height: 1.02;
  font-weight: 850;
  text-wrap: balance;
}

.hero .lead {
  max-width: 720px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 23px;
  line-height: 1.55;
  font-weight: 650;
}

.hero .note {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  cursor: pointer;
  font-weight: 780;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

.button.text {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.portrait {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0), rgba(23, 22, 21, 0.16)),
    url("assets/portrait.jpg") center top / cover no-repeat;
  border: 1px solid var(--line-dark);
}

.portrait::after {
  content: "AI TRANSFORMATION / OPERATING SYSTEM";
  position: absolute;
  left: -28px;
  bottom: 34px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line-dark);
}

.section.dark {
  background: var(--ink);
  color: var(--surface);
}

.section.dark .muted,
.section.dark .section-intro,
.section.dark .body-text {
  color: rgba(255, 250, 241, 0.68);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.38fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: 48px;
  line-height: 1.08;
  text-wrap: balance;
}

.section-head.solo {
  grid-template-columns: minmax(0, 760px);
}

.section-intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

.belief-lines {
  display: grid;
  border-top: 1px solid rgba(255, 250, 241, 0.2);
}

.belief-lines a {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 42px;
  gap: 24px;
  align-items: center;
  min-height: 116px;
  border-bottom: 1px solid rgba(255, 250, 241, 0.2);
  transition: background 180ms ease, padding-left 180ms ease;
}

.belief-lines a:hover {
  padding-left: 18px;
  background: rgba(255, 250, 241, 0.055);
}

.belief-lines span {
  color: var(--red);
  font-weight: 840;
}

.belief-lines strong {
  font-size: 32px;
  line-height: 1.18;
}

.belief-lines b {
  color: rgba(255, 250, 241, 0.5);
  font-size: 28px;
  font-weight: 500;
}

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

.door {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  transition: background 180ms ease, transform 180ms ease;
}

.door:last-child {
  border-right: 0;
}

.door:hover {
  background: rgba(255, 250, 241, 0.55);
  transform: translateY(-4px);
}

.door small {
  color: var(--red);
  font-weight: 840;
}

.door h3 {
  margin-top: 22px;
  font-size: 34px;
  line-height: 1.08;
}

.door p {
  margin-top: 14px;
  color: var(--muted);
}

.door .arrow {
  margin-top: auto;
  font-size: 28px;
}

.proof-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.42fr);
  gap: 54px;
  align-items: end;
  padding: 44px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.proof-feature h2 {
  font-size: 54px;
  line-height: 1.04;
}

.proof-feature p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
}

.proof-mark {
  min-height: 230px;
  display: grid;
  align-content: end;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
}

.proof-mark strong {
  display: block;
  color: var(--ink);
  font-size: 46px;
  line-height: 1;
}

.soft-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  align-items: center;
}

.soft-contact h2 {
  font-size: 42px;
  line-height: 1.12;
}

.soft-contact p {
  margin-top: 16px;
  color: var(--muted);
}

.wechat {
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.wechat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.wechat strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
}

.page-hero {
  padding: 88px 0 66px;
  border-bottom: 1px solid var(--line-dark);
}

.page-hero h1 {
  max-width: 900px;
  margin-top: 16px;
  font-family: "Songti SC", "Noto Serif SC", "PingFang SC", serif;
  font-size: 64px;
  line-height: 1.04;
  text-wrap: balance;
}

.page-hero p {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
}

.split {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 54px;
}

.side-index {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.side-index a {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-dark);
}

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

.story-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 34px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-dark);
}

.story-item small {
  color: var(--red);
  font-weight: 840;
}

.story-item h2 {
  font-size: 38px;
  line-height: 1.1;
}

.story-item p {
  margin-top: 14px;
  color: var(--muted);
}

.triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.triad div {
  padding: 18px;
  border-right: 1px solid var(--line-dark);
}

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

.triad span {
  color: var(--red);
  font-size: 12px;
  font-weight: 840;
}

.triad p {
  color: var(--ink-soft);
  font-size: 15px;
}

.article-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.article-feature h2 {
  font-size: 42px;
  line-height: 1.08;
}

.article-feature p {
  margin-top: 14px;
  color: var(--muted);
}

.article-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  margin-top: 56px;
}

.article-group {
  border-top: 1px solid var(--line-dark);
}

.article-group h2 {
  padding: 16px 0;
  font-size: 24px;
}

.article-group a {
  display: block;
  padding: 15px 0;
  border-top: 1px solid rgba(23, 22, 21, 0.12);
  color: var(--ink-soft);
}

.article-group a:hover {
  color: var(--red);
}

.article-detail {
  max-width: 820px;
}

.article-detail h1 {
  max-width: 780px;
}

.article-meta {
  margin-top: 20px;
  color: var(--green);
  font-size: 13px;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.88;
}

.article-body p {
  margin: 0 0 24px;
}

.article-body strong {
  color: var(--ink);
}

.article-body ol {
  margin: 0 0 28px 1.4em;
  padding: 0;
}

.article-body li {
  margin-bottom: 12px;
}

.article-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.check-form {
  display: grid;
  gap: 16px;
}

.question {
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--line-dark);
}

.question legend {
  margin-bottom: 14px;
  font-weight: 780;
}

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

.choice-row label {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border: 1px solid var(--line-dark);
  cursor: pointer;
  color: var(--muted);
}

.choice-row input {
  position: absolute;
  opacity: 0;
}

.choice-row label:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.result {
  position: sticky;
  top: 104px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  background: var(--surface);
}

.result b {
  color: var(--red);
}

.result h2 {
  margin-top: 14px;
  font-size: 30px;
  line-height: 1.16;
}

.result p {
  margin-top: 14px;
  color: var(--muted);
}

.result-actions {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.result-actions .button {
  width: 100%;
}

.copy-line {
  padding: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(23, 22, 21, 0.04);
  font-size: 13px;
  line-height: 1.65;
}

.soft-contact-actions {
  margin-top: 24px;
}

.sample-list {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.entry-section {
  padding: 44px 0;
}

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

.case-entry {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 250, 241, 0.5);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.case-entry:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
}

.case-entry span {
  color: var(--red);
  font-size: 12px;
  font-weight: 840;
}

.case-entry strong {
  display: block;
  font-size: 30px;
  line-height: 1.08;
}

.case-entry p {
  margin-top: 10px;
  color: var(--muted);
}

.case-entry em {
  color: var(--ink);
  font-style: normal;
  font-weight: 840;
}

.sample {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line-dark);
}

.sample h2 {
  font-size: 34px;
  line-height: 1.1;
}

.sample small {
  display: block;
  margin-top: 10px;
  color: var(--red);
  font-weight: 840;
}

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

.sample-grid div {
  border-top: 1px solid rgba(23, 22, 21, 0.14);
  padding-top: 12px;
}

.sample-grid span {
  color: var(--red);
  font-size: 12px;
  font-weight: 840;
}

.sample-grid p {
  margin-top: 8px;
  color: var(--muted);
}

.sample-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sample-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.sample-evidence span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(77, 236, 226, 0.28);
  background: rgba(77, 236, 226, 0.07);
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

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

.skill {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
}

.skill h2 {
  font-size: 30px;
  line-height: 1.12;
}

.skill p {
  margin-top: 12px;
  color: var(--muted);
}

.skill dl {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 22px;
}

.skill div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
}

.skill dt {
  color: var(--red);
  font-size: 12px;
  font-weight: 840;
}

.skill dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 360px;
  gap: 64px;
  align-items: start;
}

.about-photo {
  min-height: 480px;
  background: url("assets/portrait.jpg") center top / cover no-repeat;
  border: 1px solid var(--line-dark);
}

.identity-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line-dark);
}

.identity-list div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
}

.identity-list h2 {
  font-size: 28px;
}

.identity-list p {
  margin-top: 8px;
  color: var(--muted);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 920px) {
  .site-nav {
    grid-template-columns: 1fr auto;
    padding: 14px 18px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-contact {
    display: none;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid rgba(23, 22, 21, 0.12);
  }

  .hero-grid,
  .section-head,
  .proof-feature,
  .soft-contact,
  .split,
  .check-layout,
  .sample,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero h1 {
    font-size: 50px;
  }

  .page-hero h1 {
    font-size: 44px;
  }

  .portrait {
    min-height: 420px;
    max-width: 420px;
  }

  .door-grid,
  .triad,
  .article-groups,
  .case-entry-grid,
  .sample-grid,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .door,
  .triad div {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .door:last-child,
  .triad div:last-child {
    border-bottom: 0;
  }

  .side-index,
  .result {
    position: static;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .hero,
  .section,
  .page-hero {
    padding: 58px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero .lead,
  .page-hero p {
    font-size: 17px;
  }

  .hero .note {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section-head h2,
  .proof-feature h2 {
    font-size: 34px;
  }

  .belief-lines a {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .belief-lines strong {
    font-size: 24px;
  }

  .choice-row {
    grid-template-columns: 1fr;
  }

  .story-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* v0.4.1 visual pass: AI research founder, not document archive */
:root {
  --ink: #f7efe2;
  --ink-soft: rgba(247, 239, 226, 0.82);
  --muted: rgba(247, 239, 226, 0.56);
  --paper: #070a0f;
  --paper-deep: #0d1218;
  --surface: rgba(247, 239, 226, 0.065);
  --line: rgba(247, 239, 226, 0.14);
  --line-dark: rgba(247, 239, 226, 0.16);
  --red: #ff5a4d;
  --teal: #4dece2;
  --green: #b8e86c;
  --max: 1240px;
  --nav-h: 74px;
}

body {
  background:
    linear-gradient(115deg, transparent 0 54%, rgba(77, 236, 226, 0.06) 54% 54.35%, transparent 54.35% 100%),
    linear-gradient(26deg, transparent 0 18%, rgba(255, 90, 77, 0.05) 18% 18.35%, transparent 18.35% 100%),
    #070a0f;
  color: var(--ink);
}

body::before {
  background:
    linear-gradient(rgba(247, 239, 226, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 239, 226, 0.026) 1px, transparent 1px),
    linear-gradient(120deg, rgba(77, 236, 226, 0.08), transparent 28%, transparent 72%, rgba(255, 90, 77, 0.06));
  background-size: 88px 88px, 88px 88px, 100% 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.45) 70%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(180deg, transparent, rgba(247, 239, 226, 0.04), transparent 7px),
    linear-gradient(90deg, rgba(247, 239, 226, 0.03), transparent 18%, transparent 82%, rgba(247, 239, 226, 0.03));
  background-size: 100% 10px, 100% 100%;
}

.site-nav {
  border-bottom-color: var(--line);
  background: rgba(7, 10, 15, 0.74);
  color: var(--ink);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.28);
}

.brand small,
.nav-links,
.section-intro,
.hero .note,
.door p,
.proof-feature p,
.soft-contact p,
.page-hero p,
.story-item p,
.article-feature p,
.article-group a,
.result p,
.sample-grid p,
.skill p,
.skill dd,
.identity-list p,
.footer,
.wechat span {
  color: var(--muted);
}

.brand span,
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a::after {
  background: linear-gradient(90deg, var(--teal), var(--red));
}

.menu-toggle,
.nav-contact {
  border-color: var(--line);
  background: rgba(247, 239, 226, 0.04);
  color: var(--ink);
}

.menu-toggle {
  position: relative;
  width: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 0;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease, box-shadow 180ms ease;
}

.menu-toggle::before {
  top: 15px;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.menu-toggle::after {
  top: 21px;
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  top: 21px;
  transform: rotate(45deg);
  box-shadow: none;
}

.menu-toggle[aria-expanded="true"]::after {
  opacity: 1;
  transform: rotate(-45deg);
}

@media (min-width: 921px) {
  .site-nav {
    position: fixed;
    top: 18px;
    left: 28px;
    right: 28px;
    min-height: 58px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    backdrop-filter: blur(22px);
  }

  .hero,
  .page-hero {
    padding-top: 128px;
  }
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.98) 0%, rgba(7, 10, 15, 0.94) 34%, rgba(7, 10, 15, 0.68) 58%, rgba(7, 10, 15, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.08), rgba(7, 10, 15, 0.92) 94%),
    url("assets/portrait.jpg") right 7% bottom / min(43vw, 600px) auto no-repeat,
    #070a0f;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.08), transparent 42%, rgba(247, 239, 226, 0.06) 42.08%, transparent 42.2%),
    linear-gradient(180deg, transparent 0 78%, rgba(7, 10, 15, 0.92) 100%);
}

.hero::before {
  content: "WANG JIAYU";
  position: absolute;
  right: -0.06em;
  bottom: -0.2em;
  color: rgba(247, 239, 226, 0.045);
  font-size: 164px;
  line-height: 0.8;
  font-weight: 900;
  pointer-events: none;
  white-space: nowrap;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: calc(76svh - 118px);
  grid-template-columns: minmax(0, 720px);
  align-content: center;
  gap: 0;
}

.eyebrow {
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 880px;
  color: var(--ink);
  font-size: 92px;
  line-height: 0.95;
  text-shadow: 0 0 44px rgba(77, 236, 226, 0.1);
}

.hero .lead {
  color: var(--ink);
  font-size: 28px;
  font-weight: 760;
}

.hero .note {
  max-width: 690px;
  font-size: 17px;
}

.hero-signals {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid rgba(247, 239, 226, 0.18);
  border-bottom: 1px solid rgba(247, 239, 226, 0.18);
}

.hero-signals div {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 18px 14px 0;
  border-right: 1px solid rgba(247, 239, 226, 0.12);
}

.hero-signals div:last-child {
  border-right: 0;
}

.hero-signals span,
.hero-casebar span {
  color: var(--green);
  font-size: 11px;
  font-weight: 840;
}

.hero-signals strong {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.35;
}

.evidence-section {
  padding-top: 52px;
}

.evidence-band {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-band h2 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
}

.evidence-band p {
  margin-top: 14px;
  color: var(--muted);
}

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

.evidence-grid article {
  min-height: 156px;
  padding: 18px;
  border: 1px solid rgba(247, 239, 226, 0.14);
  background:
    linear-gradient(135deg, rgba(77, 236, 226, 0.06), transparent 58%),
    rgba(247, 239, 226, 0.035);
}

.evidence-grid strong {
  display: block;
  color: var(--teal);
  font-size: 32px;
  line-height: 1;
}

.evidence-grid span {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 820;
}

.evidence-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.button {
  border-color: rgba(77, 236, 226, 0.55);
  background: var(--teal);
  color: #071012;
  box-shadow: 0 0 38px rgba(77, 236, 226, 0.12);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(77, 236, 226, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(247, 239, 226, 0.035);
  color: var(--ink);
}

.button.text {
  background: transparent;
  color: var(--teal);
  box-shadow: none;
}

.portrait {
  display: none;
}

.portrait::before {
  content: none;
}

.portrait::after {
  content: none;
}

.hero-casebar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid rgba(247, 239, 226, 0.2);
  border-bottom: 1px solid rgba(247, 239, 226, 0.2);
  background: rgba(247, 239, 226, 0.045);
  backdrop-filter: blur(18px);
}

.hero-casebar a {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px 20px;
  border-right: 1px solid rgba(247, 239, 226, 0.14);
  transition: background 180ms ease, color 180ms ease;
}

.hero-casebar a:last-child {
  border-right: 0;
}

.hero-casebar a:hover {
  background: rgba(77, 236, 226, 0.07);
}

.hero-casebar strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.36;
}

.section {
  position: relative;
  border-top-color: var(--line);
  background: rgba(7, 10, 15, 0.94);
}

.section:nth-of-type(even) {
  background:
    linear-gradient(120deg, rgba(247, 239, 226, 0.035), transparent 38%),
    rgba(10, 14, 20, 0.96);
}

.section.dark {
  background:
    linear-gradient(120deg, rgba(77, 236, 226, 0.08), transparent 30%),
    rgba(5, 8, 12, 0.98);
}

.section-head h2,
.page-hero h1,
.story-item h2,
.article-feature h2,
.proof-feature h2,
.soft-contact h2 {
  color: var(--ink);
}

.section-head h2 {
  font-size: 58px;
  line-height: 1.02;
}

.belief-lines {
  border-top-color: rgba(247, 239, 226, 0.22);
}

.belief-lines a {
  min-height: 132px;
  border-bottom-color: rgba(247, 239, 226, 0.18);
}

.belief-lines a:hover {
  background: rgba(77, 236, 226, 0.06);
}

.belief-lines span,
.story-item small,
.triad span,
.sample small,
.sample-grid span,
.skill dt,
.result b,
.article-group a:hover {
  color: var(--teal);
}

.belief-lines strong {
  color: var(--ink);
  font-size: 38px;
}

.belief-lines b {
  color: rgba(247, 239, 226, 0.42);
}

.door-grid,
.proof-feature,
.story-list,
.sample-list,
.case-entry,
.skill-grid,
.identity-list,
.article-group,
.article-feature,
.triad,
.wechat,
.question,
.footer,
.side-index a {
  border-color: var(--line);
}

.door {
  position: relative;
  border-right-color: var(--line);
  background: transparent;
  overflow: hidden;
}

.door::after {
  content: attr(href);
  position: absolute;
  right: -4px;
  bottom: -14px;
  color: rgba(247, 239, 226, 0.05);
  font-size: 54px;
  font-weight: 900;
  pointer-events: none;
}

.door:hover {
  background: rgba(247, 239, 226, 0.045);
}

.door small {
  color: var(--green);
}

.door h3 {
  color: var(--ink);
  font-size: 42px;
}

.door .arrow {
  color: var(--teal);
}

.proof-mark {
  border-color: var(--line);
  color: var(--muted);
}

.proof-mark strong {
  color: var(--ink);
}

.proof-list {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.proof-row {
  display: grid;
  grid-template-columns: 56px minmax(220px, 0.4fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 112px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.proof-row:hover {
  background: rgba(247, 239, 226, 0.035);
}

.proof-row span {
  color: var(--teal);
  font-weight: 840;
}

.proof-row strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.proof-row small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.proof-row b {
  color: var(--green);
  font-size: 14px;
  white-space: nowrap;
}

.page-hero {
  position: relative;
  min-height: 52svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom-color: var(--line);
  background:
    linear-gradient(120deg, rgba(77, 236, 226, 0.09), transparent 34%),
    linear-gradient(26deg, transparent 0 64%, rgba(255, 90, 77, 0.07) 64% 64.45%, transparent 64.45% 100%),
    rgba(7, 10, 15, 0.98);
}

.page-hero::after {
  content: "AI / ORG / SKILL";
  position: absolute;
  right: 30px;
  bottom: 20px;
  color: rgba(247, 239, 226, 0.045);
  font-size: 88px;
  font-weight: 900;
  pointer-events: none;
}

.page-hero h1 {
  font-size: 72px;
}

.story-item {
  border-bottom-color: var(--line);
}

.story-item h2 {
  font-size: 44px;
}

.triad {
  border-color: var(--line);
  background: rgba(247, 239, 226, 0.035);
}

.triad div {
  border-right-color: var(--line);
}

.triad p {
  color: var(--ink-soft);
}

.article-group a {
  border-top-color: rgba(247, 239, 226, 0.1);
}

.question,
.sample,
.skill,
.identity-list div {
  border-color: var(--line);
}

.choice-row label {
  border-color: var(--line);
  color: var(--muted);
  background: rgba(247, 239, 226, 0.035);
}

.choice-row label:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal);
  color: #071012;
}

.result {
  border-color: rgba(77, 236, 226, 0.34);
  background: rgba(247, 239, 226, 0.065);
  backdrop-filter: blur(18px);
}

.skill,
.sample-grid div {
  border-color: rgba(247, 239, 226, 0.12);
}

.case-entry {
  border-color: rgba(247, 239, 226, 0.14);
  background:
    linear-gradient(135deg, rgba(77, 236, 226, 0.06), transparent 48%),
    rgba(247, 239, 226, 0.035);
}

.case-entry.primary {
  border-color: rgba(77, 236, 226, 0.32);
}

.case-entry span {
  color: var(--teal);
}

.case-entry strong {
  color: var(--ink);
}

.case-entry em {
  color: var(--teal);
}

.about-photo {
  border: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 15, 0.02), rgba(7, 10, 15, 0.5)),
    url("assets/portrait.jpg") center top / cover no-repeat;
  box-shadow: inset 0 0 0 1px var(--line), 0 32px 90px rgba(0, 0, 0, 0.26);
}

@media (prefers-reduced-motion: no-preference) {
  .portrait::before {
    animation: framePulse 3.8s ease-in-out infinite;
  }
}

@keyframes framePulse {
  0%, 100% {
    opacity: 0.35;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(-8px, 8px, 0);
  }
}

@media (max-width: 920px) {
  .site-nav {
    background: rgba(7, 10, 15, 0.9);
  }

  .nav-links a {
    border-top-color: var(--line);
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-signals,
  .hero-casebar {
    grid-template-columns: 1fr 1fr;
  }

  .hero-signals div:nth-child(2) {
    border-right: 0;
  }

  .hero-signals div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(247, 239, 226, 0.12);
  }

  .hero-casebar a:nth-child(2) {
    border-right: 0;
  }

  .hero-casebar a:nth-child(n + 3) {
    border-top: 1px solid rgba(247, 239, 226, 0.14);
  }

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

  .proof-row small,
  .proof-row b {
    grid-column: 2;
  }

  .hero h1 {
    font-size: 58px;
  }

  .portrait {
    max-width: none;
    min-height: 500px;
  }

  .section-head h2,
  .page-hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 560px) {
  .site-nav {
    position: sticky;
    top: 0;
  }

  .hero-grid {
    display: block;
  }

  .eyebrow {
    display: block;
    white-space: normal;
    letter-spacing: 0;
  }

  .hero {
    min-height: 0;
    padding: 46px 0 30px;
    background:
      linear-gradient(180deg, rgba(7, 10, 15, 0.92) 0%, rgba(7, 10, 15, 0.86) 50%, rgba(7, 10, 15, 0.34) 78%, rgba(7, 10, 15, 0.94) 100%),
      url("assets/portrait.jpg") right -20px bottom 28px / 82vw auto no-repeat,
      #070a0f;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero::before {
    font-size: 74px;
    right: -36px;
    bottom: 18px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.14;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .hero .lead {
    max-width: 100%;
    font-size: 19px;
    line-height: 1.48;
    writing-mode: horizontal-tb;
  }

  .hero .note {
    max-width: 100%;
    line-height: 1.72;
  }

  .hero-signals {
    display: none;
  }

  .hero-casebar {
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
  }

  .hero-casebar a:nth-child(n + 3) {
    display: none;
  }

  .hero-casebar a,
  .hero-casebar a:nth-child(2) {
    border-right: 0;
  }

  .hero-casebar a + a,
  .hero-casebar a:nth-child(n + 3) {
    border-top: 1px solid rgba(247, 239, 226, 0.14);
  }

  .portrait {
    min-height: 360px;
    margin-top: 34px;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 86% 100%, 0 100%);
  }

  .section,
  .page-hero {
    padding: 66px 0;
  }

  .section-head h2,
  .proof-feature h2,
  .page-hero h1,
  .story-item h2 {
    font-size: 34px;
  }

  .evidence-band {
    grid-template-columns: 1fr;
  }

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

  .evidence-grid article {
    min-height: auto;
  }

  .belief-lines strong {
    font-size: 24px;
  }

  .door h3 {
    font-size: 34px;
  }

  .page-hero::after {
    display: none;
  }
}

/* Knowledge Vault OS product case */
.kvo-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 74px;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.98) 0%, rgba(7, 10, 15, 0.9) 48%, rgba(7, 10, 15, 0.7) 100%),
    linear-gradient(118deg, rgba(77, 236, 226, 0.12), transparent 32%, transparent 72%, rgba(255, 90, 77, 0.07)),
    #070a0f;
}

.kvo-hero::before {
  content: "EXTERNAL BRAIN";
  position: absolute;
  right: -0.05em;
  bottom: -0.13em;
  color: rgba(247, 239, 226, 0.045);
  font-size: clamp(58px, 12vw, 176px);
  line-height: 0.82;
  font-weight: 900;
  white-space: nowrap;
  pointer-events: none;
}

.kvo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 15, 0.96));
}

.kvo-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 72px;
  align-items: center;
}

.kvo-hero h1 {
  max-width: 850px;
  margin-top: 16px;
  font-family: "Songti SC", "Noto Serif SC", "PingFang SC", serif;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.92;
  text-wrap: balance;
}

.kvo-hero .lead {
  max-width: 720px;
  margin-top: 26px;
  color: var(--ink);
  font-size: clamp(23px, 2.7vw, 38px);
  line-height: 1.24;
  font-weight: 780;
}

.kvo-hero .note {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
}

.kvo-hero-visual {
  position: relative;
  min-height: 520px;
  max-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(247, 239, 226, 0.22);
  background: rgba(247, 239, 226, 0.045);
  box-shadow: 0 28px 110px rgba(0, 0, 0, 0.36);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  animation: kvoFloat 6s ease-in-out infinite;
}

.kvo-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 239, 226, 0.08), transparent 18%),
    linear-gradient(90deg, rgba(7, 10, 15, 0.16), transparent 26%, transparent 76%, rgba(7, 10, 15, 0.2));
}

.kvo-hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.kvo-problem,
.kvo-loop,
.kvo-proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.kvo-problem h2,
.kvo-loop h2,
.kvo-proof h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  text-wrap: balance;
}

.kvo-problem > div > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

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

.kvo-problem-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.kvo-problem-list span,
.kvo-proof-grid span,
.kvo-loop-lines span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 840;
}

.kvo-problem-list h3 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
}

.kvo-problem-list p,
.kvo-layer-grid p,
.kvo-proof-grid p {
  color: var(--muted);
}

.kvo-layer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 46px;
}

.kvo-layer-grid article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kvo-layer-grid article:nth-child(2) {
  transform: translateY(34px);
}

.kvo-layer-grid small {
  color: var(--green);
  font-size: 12px;
  font-weight: 840;
}

.kvo-layer-grid h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.96;
}

.kvo-layer-grid p {
  margin-top: 22px;
  font-size: 17px;
}

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

.kvo-loop-lines div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  padding: 25px 0 25px 34px;
  border-bottom: 1px solid var(--line);
}

.kvo-loop-lines div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--teal);
  background: #070a0f;
  box-shadow: 0 0 28px rgba(77, 236, 226, 0.32);
  transform: rotate(45deg);
  transition: transform 180ms ease, background 180ms ease;
}

.kvo-loop-lines div:hover::before {
  background: var(--teal);
  transform: rotate(45deg) scale(1.2);
}

.kvo-loop-lines strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
}

.kvo-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 1px solid var(--line);
}

.kvo-proof-grid article {
  min-height: 160px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.kvo-proof-grid article:hover {
  background: rgba(247, 239, 226, 0.035);
}

.kvo-proof-grid p {
  margin-top: 12px;
  font-size: 17px;
}

.kvo-final {
  background:
    linear-gradient(115deg, rgba(77, 236, 226, 0.1), transparent 34%),
    rgba(5, 8, 12, 0.98);
}

/* HR Pulse Dashboard product case */
.hrp-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 70px;
  background:
    radial-gradient(circle at 72% 20%, rgba(77, 236, 226, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(7, 10, 15, 0.98) 0%, rgba(7, 10, 15, 0.92) 44%, rgba(7, 10, 15, 0.68) 100%),
    #070a0f;
}

.hrp-hero::before {
  content: "WORKFORCE PULSE";
  position: absolute;
  left: 34px;
  bottom: -0.14em;
  color: rgba(247, 239, 226, 0.04);
  font-size: clamp(58px, 11vw, 164px);
  line-height: 0.82;
  font-weight: 900;
  white-space: nowrap;
  pointer-events: none;
}

.hrp-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 15, 0.96));
  pointer-events: none;
}

.hrp-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(430px, 1fr);
  gap: 58px;
  align-items: center;
}

.hrp-hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.hrp-hero h1 {
  max-width: 780px;
  margin-top: 16px;
  color: var(--ink);
  font-family: "Songti SC", "Noto Serif SC", "PingFang SC", serif;
  font-size: clamp(54px, 7.6vw, 106px);
  line-height: 0.94;
  text-wrap: balance;
}

.hrp-hero .lead {
  max-width: 720px;
  margin-top: 26px;
  color: var(--ink);
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.25;
  font-weight: 780;
}

.hrp-hero .lead span {
  display: block;
}

.hrp-hero .note {
  max-width: 660px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
}

.hrp-hero-tags {
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hrp-hero-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(247, 239, 226, 0.16);
  background: rgba(247, 239, 226, 0.045);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 780;
}

.hrp-hero-visual {
  position: relative;
  min-width: 0;
  height: min(72svh, 760px);
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 239, 226, 0.22);
  background: rgba(247, 239, 226, 0.045);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.44);
  transform: perspective(1300px) rotateY(-7deg) rotateX(2deg);
  animation: hrpFloat 7s ease-in-out infinite;
}

.hrp-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.18), transparent 24%, transparent 76%, rgba(7, 10, 15, 0.22)),
    linear-gradient(180deg, rgba(247, 239, 226, 0.08), transparent 16%, transparent 82%, rgba(7, 10, 15, 0.24));
}

.hrp-hero-visual img,
.hrp-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hrp-problem,
.hrp-shot-section,
.hrp-principles {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: start;
}

.hrp-problem h2,
.hrp-shot-section h2,
.hrp-principles h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  text-wrap: balance;
}

.hrp-problem > div > p:not(.eyebrow),
.hrp-shot-section > div > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.hrp-problem-list,
.hrp-principle-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.hrp-problem-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.hrp-problem-list span,
.hrp-flow small,
.hrp-principle-list span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 840;
}

.hrp-problem-list h3 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
}

.hrp-problem-list p,
.hrp-flow p,
.hrp-principle-list p {
  color: var(--muted);
}

.hrp-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  border: 1px solid rgba(247, 239, 226, 0.16);
  background: rgba(247, 239, 226, 0.16);
}

.hrp-flow article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background:
    linear-gradient(180deg, transparent, rgba(77, 236, 226, 0.05)),
    rgba(7, 10, 15, 0.96);
  transition: transform 180ms ease, background 180ms ease;
}

.hrp-flow article:hover {
  transform: translateY(-6px);
  background:
    linear-gradient(180deg, rgba(77, 236, 226, 0.08), rgba(77, 236, 226, 0.02)),
    rgba(7, 10, 15, 0.96);
}

.hrp-flow h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.hrp-flow p {
  margin-top: 18px;
  font-size: 16px;
}

.hrp-shot {
  height: min(88svh, 860px);
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(247, 239, 226, 0.035);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.36);
}

.hrp-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  border: 1px solid rgba(247, 239, 226, 0.16);
  background: rgba(247, 239, 226, 0.16);
}

.hrp-metrics div {
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 24px;
  background: rgba(7, 10, 15, 0.96);
}

.hrp-metrics strong {
  color: var(--ink);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.9;
}

.hrp-metrics span {
  color: var(--muted);
  line-height: 1.45;
}

.hrp-principle-list article {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  align-items: baseline;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.hrp-principle-list p {
  font-size: 17px;
}

.hrp-final {
  background:
    linear-gradient(110deg, rgba(77, 236, 226, 0.12), transparent 34%),
    linear-gradient(250deg, rgba(255, 90, 77, 0.08), transparent 36%),
    rgba(5, 8, 12, 0.98);
}

@keyframes hrpFloat {
  0%, 100% {
    transform: perspective(1300px) rotateY(-7deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: perspective(1300px) rotateY(-5deg) rotateX(1deg) translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hrp-hero-visual {
    animation: none;
    transform: none;
  }
}

@media (max-width: 920px) {
  .hrp-hero {
    min-height: 0;
    padding: 118px 0 64px;
  }

  .hrp-hero-grid,
  .hrp-problem,
  .hrp-shot-section,
  .hrp-principles {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hrp-hero-visual,
  .hrp-shot {
    min-height: 460px;
    height: 560px;
    transform: none;
  }

  .hrp-problem-list article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px 18px;
  }

  .hrp-problem-list p {
    grid-column: 2;
  }

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

  .hrp-flow article {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .hrp-hero {
    padding: 96px 0 48px;
  }

  .hrp-hero::before {
    display: none;
  }

  .hrp-hero .wrap,
  .hrp-hero-grid {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hrp-hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hrp-hero h1 {
    font-size: 46px;
    overflow-wrap: anywhere;
  }

  .hrp-hero .lead {
    font-size: 21px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hrp-hero .note {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hrp-hero-tags {
    display: grid;
  }

  .hrp-hero-visual,
  .hrp-shot {
    min-height: 360px;
    height: 440px;
  }

  .hrp-problem-list article,
  .hrp-principle-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hrp-problem-list p {
    grid-column: auto;
  }

  .hrp-flow,
  .hrp-metrics {
    grid-template-columns: 1fr;
  }

  .hrp-flow article,
  .hrp-metrics div {
    min-height: 210px;
  }
}

@keyframes kvoFloat {
  0%, 100% {
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kvo-hero-visual {
    animation: none;
    transform: none;
  }
}

@media (max-width: 920px) {
  .hero-casebar a:nth-child(even) {
    border-right: 0;
  }

  .kvo-hero {
    min-height: 0;
    padding: 118px 0 64px;
  }

  .kvo-hero-grid,
  .kvo-problem,
  .kvo-loop,
  .kvo-proof {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .kvo-hero-visual {
    min-height: 420px;
    max-height: 520px;
    transform: none;
  }

  .kvo-problem-list article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px 18px;
  }

  .kvo-problem-list p {
    grid-column: 2;
  }

  .kvo-layer-grid,
  .kvo-proof-grid {
    grid-template-columns: 1fr;
  }

  .kvo-layer-grid article,
  .kvo-layer-grid article:nth-child(2) {
    min-height: 260px;
    transform: none;
  }
}

@media (max-width: 560px) {
  .kvo-hero {
    padding: 96px 0 48px;
  }

  .kvo-hero h1 {
    font-size: 46px;
  }

  .kvo-hero .lead {
    font-size: 23px;
  }

  .kvo-hero-visual {
    min-height: 340px;
    max-height: 430px;
  }

  .kvo-problem-list article,
  .kvo-loop-lines div {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .kvo-problem-list p {
    grid-column: auto;
  }

  .kvo-loop-lines div::before {
    display: none;
  }
}
