/* Homepage layout and interaction refinement — 2026-07-30 */

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-login,
.header-qishu-register {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: #fff;
  font-size: var(--font-size-nav, 12px);
  font-weight: 620;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.header-qishu-register {
  color: #f5a13a;
  border-color: rgba(245, 161, 58, 0.72);
  background: rgba(245, 161, 58, 0.08);
}

.header-login:hover,
.header-login:focus-visible,
.header-qishu-register:hover,
.header-qishu-register:focus-visible {
  color: #050505;
  border-color: #fff;
  background: #fff;
  outline: none;
}

.header-qishu-register:hover,
.header-qishu-register:focus-visible {
  border-color: #f5a13a;
  background: #f5a13a;
}

.site-header.is-scrolled .header-login,
.site-header.is-scrolled .header-qishu-register {
  color: #050505;
  border-color: rgba(5, 5, 5, 0.3);
  background: rgba(5, 5, 5, 0.03);
}

.site-header.is-scrolled .header-qishu-register {
  color: #864600;
  border-color: rgba(134, 70, 0, 0.56);
  background: rgba(245, 161, 58, 0.1);
}

.site-header.is-scrolled .header-login:hover,
.site-header.is-scrolled .header-login:focus-visible,
.site-header.is-scrolled .header-qishu-register:hover,
.site-header.is-scrolled .header-qishu-register:focus-visible {
  color: #fff;
  border-color: #050505;
  background: #050505;
}

.site-header.is-scrolled .header-qishu-register:hover,
.site-header.is-scrolled .header-qishu-register:focus-visible {
  color: #050505;
  border-color: #f5a13a;
  background: #f5a13a;
}

.nav-scenarios {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-scenarios::after {
  position: absolute;
  top: 100%;
  right: -12px;
  left: -12px;
  height: clamp(18px, 2vw, 28px);
  content: "";
}

.nav-scenarios__trigger {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color 180ms ease;
}

.nav-scenarios__trigger i {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1);
}

.nav-scenarios__trigger:hover,
.nav-scenarios__trigger:focus-visible,
.nav-scenarios.is-open .nav-scenarios__trigger {
  color: #fff;
  outline: none;
}

.site-header.is-scrolled .nav-scenarios__trigger {
  color: rgba(0, 0, 0, 0.78);
}

.site-header.is-scrolled .nav-scenarios__trigger:hover,
.site-header.is-scrolled .nav-scenarios__trigger:focus-visible,
.site-header.is-scrolled .nav-scenarios.is-open .nav-scenarios__trigger {
  color: #000;
}

.nav-scenarios:hover .nav-scenarios__trigger i,
.nav-scenarios.is-open .nav-scenarios__trigger i {
  transform: translateY(2px) rotate(225deg);
}

.nav-scenarios__panel {
  position: fixed;
  top: clamp(74px, 5.6vw, 96px);
  left: 50%;
  display: grid;
  width: min(610px, calc(100vw - 40px));
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0 0 8px 8px;
  background: #080808;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transform-origin: top center;
  transition:
    opacity 160ms ease,
    visibility 160ms ease,
    transform 220ms cubic-bezier(.16, 1, .3, 1),
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled .nav-scenarios__panel {
  border-color: rgba(0, 0, 0, 0.1);
  border-top-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.08);
}

.nav-scenarios:hover .nav-scenarios__panel,
.nav-scenarios.is-open .nav-scenarios__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-scenarios__panel a {
  display: grid;
  min-width: 0;
  min-height: 72px;
  align-content: center;
  gap: 5px;
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff !important;
  background: transparent !important;
  text-align: left;
  transition: color 160ms ease, background-color 160ms ease !important;
}

.nav-scenarios__panel a:last-child {
  border-right: 0;
}

.nav-scenarios__panel a strong {
  color: inherit !important;
}

.site-header.is-scrolled .nav-scenarios__panel a {
  border-color: rgba(0, 0, 0, 0.1);
  color: #111 !important;
}

.site-header.is-scrolled .nav-scenarios__panel small {
  color: rgba(0, 0, 0, 0.5);
}

.nav-scenarios__panel a:hover,
.nav-scenarios__panel a:focus-visible {
  color: #050505 !important;
  background: #f59b32 !important;
  outline: none;
}

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

.nav-scenarios__panel strong {
  font-size: 14px;
  line-height: 1.2;
}

.nav-scenarios__panel small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-scenarios__panel a:hover small,
.nav-scenarios__panel a:focus-visible small {
  color: rgba(5, 5, 5, 0.62);
}

@media (prefers-reduced-motion: reduce) {
  .nav-scenarios__trigger i,
  .nav-scenarios__panel {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 900px) {
  .site-header {
    overflow: visible !important;
  }

  .nav-links {
    display: flex !important;
    flex: 0 0 auto;
    gap: 0;
  }

  .nav-links > a {
    display: none !important;
  }

  .nav-scenarios__trigger {
    min-height: 34px;
    gap: 6px;
    padding: 0 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .nav-scenarios__panel {
    position: fixed;
    top: 68px;
    right: 14px;
    left: 14px;
    width: auto;
    max-height: calc(100dvh - 84px);
    grid-template-columns: 1fr;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-8px);
  }

  .nav-scenarios:hover:not(.is-open) .nav-scenarios__panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .nav-scenarios.is-open .nav-scenarios__panel {
    transform: translateY(0);
  }

  .nav-scenarios__panel a {
    min-height: 56px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-scenarios__panel a:last-child {
    border-bottom: 0;
  }
}

/* About page: compact content below the shared navigation, using the same
   framed modules, content rail and responsive grid rhythm as the homepage. */
.page-about-us {
  width: 100%;
}

.page-about-us > .section {
  width: min(calc(100% - var(--page-rail) * 2), 1200px);
  margin-inline: auto;
  padding-block: clamp(68px, 7vw, 96px);
}

.page-about-us > .about-page-intro {
  padding-top: clamp(132px, 11vw, 168px);
  padding-bottom: clamp(58px, 6vw, 80px);
}

.page-about-us :is(h1, h2, h3) {
  text-wrap: balance;
}

.page-about-us > .section > :is(.section-kicker, h2, .section-lead),
.about-intro-copy {
  width: min(900px, 100%);
  margin-inline: auto;
  text-align: center;
}

.page-about-us h1 {
  margin: 14px auto 24px;
  color: #f7f7f3;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.page-about-us h2 {
  max-width: 18ch;
  margin-bottom: clamp(20px, 2.5vw, 32px);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05 !important;
  letter-spacing: -0.03em;
}

.about-page-deck {
  max-width: 850px;
  margin: 0 auto;
  color: rgba(247, 247, 243, 0.72);
  font-size: clamp(17px, 1.25vw, 21px) !important;
  line-height: 1.72 !important;
  text-wrap: pretty;
}

.about-fact-strip,
.about-mission-grid,
.about-cobuild-grid {
  display: grid;
  gap: clamp(12px, 1.3vw, 18px);
}

.about-fact-strip {
  grid-template-columns: 1.35fr 0.8fr 0.85fr;
  margin: clamp(38px, 4vw, 56px) 0 0;
}

.about-fact-strip > div,
.about-mission-card,
.about-service-band,
.about-team-card,
.about-record-card,
.about-contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.about-fact-strip > div {
  display: grid;
  min-width: 0;
  gap: 10px;
  padding: clamp(20px, 2vw, 28px);
}

.about-fact-strip dt,
.about-mission-card > span,
.about-service-band span,
.about-team-card > span,
.about-record-card > span {
  color: #f59b32;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-fact-strip dd {
  margin: 0;
  color: #f7f7f3;
  font-size: clamp(15px, 1.15vw, 19px);
  font-weight: 650;
  line-height: 1.45;
}

.about-mission-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(34px, 4vw, 52px);
  text-align: left;
}

.about-mission-card {
  min-height: 270px;
  padding: clamp(24px, 2.4vw, 34px);
}

.about-mission-card h3,
.about-team-card h3,
.about-record-card h3 {
  margin: 18px 0 12px;
  color: #f7f7f3;
  font-size: clamp(21px, 1.8vw, 29px);
  line-height: 1.25;
}

.about-mission-card--lead h3 {
  max-width: 11ch;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.18;
}

.about-mission-card p,
.about-team-card p,
.about-record-card p,
.about-service-band p {
  margin: 0;
  color: rgba(247, 247, 243, 0.66);
  font-size: clamp(14px, 0.95vw, 17px) !important;
  line-height: 1.72 !important;
  text-wrap: pretty;
}

.about-capabilities-section .content-list-shell,
.about-products-section .project-list-shell {
  width: 100%;
  max-width: none;
  margin-top: clamp(34px, 4vw, 52px);
}

.about-capabilities-section .card-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 18px);
  overflow: visible;
}

.about-capabilities-section .card-grid [data-animated-list-item],
.about-capabilities-section .card-grid [data-animated-list-item]:nth-child(3n+2),
.about-capabilities-section .card-grid [data-animated-list-item]:nth-child(3n) {
  margin-top: 0 !important;
}

.about-capabilities-section .info-card {
  min-height: 260px;
  padding: clamp(22px, 2vw, 30px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.018) !important;
}

.page-about-us .info-card::before,
.page-about-us .vertical-card::before {
  content: none !important;
  display: none !important;
}

.page-about-us .vertical-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.2vw, 18px) !important;
  overflow: visible;
}

.page-about-us .vertical-card {
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  gap: 28px;
  padding: clamp(22px, 1.8vw, 28px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.018) !important;
}

.page-about-us .vertical-card:hover,
.page-about-us .vertical-card:focus-visible,
.about-capabilities-section .info-card:hover,
.about-capabilities-section .info-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.34) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  outline: none;
}

.about-service-band {
  display: grid;
  grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(14px, 1.5vw, 20px);
  padding: clamp(22px, 2.5vw, 34px);
  text-align: left;
}

.about-service-band > div {
  display: grid;
  gap: 8px;
}

.about-service-band strong {
  color: #f7f7f3;
  font-size: clamp(19px, 1.4vw, 24px);
}

.about-cobuild-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(34px, 4vw, 52px);
  text-align: left;
}

.about-team-card,
.about-record-card {
  min-width: 0;
  min-height: 320px;
  padding: clamp(24px, 2.4vw, 34px);
}

.about-team-card {
  display: flex;
  flex-direction: column;
}

.about-team-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.about-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding: clamp(28px, 4vw, 56px);
  text-align: left;
}

.about-contact-copy :is(.section-kicker, h2, .section-lead) {
  max-width: 760px;
  margin-inline: 0;
  text-align: left;
}

.about-contact-copy h2 {
  margin-top: 0;
}

.about-contact-section .cta-grid {
  display: grid;
  width: 100%;
  max-width: 320px;
  grid-template-columns: 1fr;
  justify-self: end;
}

@media (max-width: 1000px) {
  .about-capabilities-section .card-grid,
  .page-about-us .vertical-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-about-us .vertical-card:last-child {
    grid-column: 1 / -1;
  }

  .about-mission-grid,
  .about-cobuild-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-mission-card--lead,
  .about-team-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .page-about-us > .section {
    width: calc(100% - var(--site-rail) * 2);
    padding-block: clamp(52px, 14vw, 72px);
  }

  .page-about-us > .about-page-intro {
    padding-top: 106px;
  }

  .page-about-us h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .page-about-us h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .about-fact-strip,
  .about-mission-grid,
  .about-capabilities-section .card-grid,
  .page-about-us .vertical-grid,
  .about-service-band,
  .about-cobuild-grid,
  .about-contact-panel {
    grid-template-columns: 1fr !important;
  }

  .about-mission-card--lead,
  .about-team-card,
  .page-about-us .vertical-card:last-child {
    grid-column: auto;
  }

  .about-mission-card,
  .about-team-card,
  .about-record-card,
  .page-about-us .vertical-card {
    min-height: 0;
  }

  .about-team-card .button {
    margin-top: 28px;
  }

  .about-contact-section .cta-grid {
    max-width: none;
    justify-self: stretch;
  }
}

/* Keep the interface readable at every pointer position. The legacy magnetic
   cursor renders as a 56px white disc after scrolling and can cover cards and
   copy, so the site now uses the platform cursor instead. */
.magnetic-cursor {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body.cursor-ready {
  cursor: auto !important;
}

body.cursor-ready :is(a, button, [role="button"], [data-magnetic]) {
  cursor: pointer !important;
}

body.cursor-ready :is(input, textarea, [contenteditable="true"]) {
  cursor: text !important;
}

.page-home {
  --showcase-rail: var(--layout-boundary, min(calc(100vw - 96px), 1200px));
}

/* Centered titles inherit the geometry of their real content track. Viewport
   sizing belongs to the track itself, never to a title nested inside it. */
.page-shell :where(.hero-title, .section > h2, .footer-inner h2) {
  box-sizing: border-box;
  margin-inline: auto;
}

.page-home .vertical-scroll-story > .vertical-scroll-panel,
.page-home .team-profile-board.chroma-grid,
.page-home #ai-research-team .team-profile-board.chroma-grid,
.page-home .advisor-section .team-profile-board.chroma-grid {
  width: var(--showcase-rail) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.page-home .vertical-scroll-story > .vertical-scroll-panel {
  padding-right: 0 !important;
  padding-left: 0 !important;
  overflow: visible;
}

/* Secondary heroes must use a bounded single-column layout. The generated
   grid version can size its implicit track from a long, nowrap title and push
   the complete hero outside the viewport on desktop. */
.page-shell:not(.page-home) > .hero .hero-inner {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  text-align: center;
}

.page-shell:not(.page-home) > .hero :is(.eyebrow, .hero-title, .hero-copy, .hero-actions) {
  margin-inline: auto;
  text-align: center;
}

.page-shell:not(.page-home) > .hero .hero-title {
  width: 100%;
  max-width: min(18em, 100%);
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-shell:not(.page-home) > .hero .hero-copy {
  width: min(100%, 1080px);
  min-width: 0;
}

/* First screen: brand eyebrow + enlarged product title only. */
.page-home .hero-title-screen {
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  gap: clamp(18px, 2.2vh, 30px);
}

.page-home .hero-title-screen .eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(13px, 0.88vw, 17px) !important;
  font-weight: 560;
  letter-spacing: 0.04em !important;
}

.page-home .hero-title-screen .hero-title {
  width: min(100%, 1180px);
  max-width: 1180px;
  font-size: clamp(58px, 6vw, 104px) !important;
  font-weight: 680;
  letter-spacing: -0.04em !important;
}

.page-home > .hero-detail-screen {
  width: var(--showcase-rail);
  min-height: calc(100svh - var(--secondary-nav-height));
  margin-inline: auto;
  text-align: center;
}

.page-home > .hero-detail-screen .hero-copy {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.page-home > .hero-detail-screen .hero-copy > p {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.25vw, 24px) !important;
  line-height: 1.58 !important;
  text-wrap: balance;
}

.hero-experience-entry {
  display: grid;
  width: min(100%, 800px);
  min-height: clamp(180px, 22vh, 240px);
  margin-inline: auto;
  place-items: center;
  padding: clamp(24px, 4vw, 48px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 10%, rgba(245, 155, 50, 0.16), transparent 45%),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.hero-experience-entry:hover,
.hero-experience-entry:focus-visible {
  color: #050505;
  border-color: #fff;
  background: #f7f7f3;
  outline: none;
}

.hero-experience-entry__content {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.hero-experience-entry small {
  color: var(--accent);
  font-size: 12px !important;
  font-weight: 720;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

.hero-experience-entry strong {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero-experience-entry span {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(13px, 0.9vw, 16px);
}

.hero-experience-entry:hover span,
.hero-experience-entry:focus-visible span {
  color: rgba(5, 5, 5, 0.62);
}

/* Harness: centered title and supporting copy, followed by explicit container hover. */
.page-home #harness .harness-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  row-gap: 0;
  text-align: center;
}

.page-home #harness .harness-copy > .section-kicker,
.page-home #harness .harness-copy > h2 {
  grid-column: 1;
  text-align: center !important;
}

.page-home #harness .harness-copy > h2 {
  margin: 12px auto 0 !important;
}

.page-home #harness .harness-copy > .section-lead,
.page-home #harness .harness-copy > p:not(.section-kicker) {
  grid-column: 1;
  width: min(100%, 900px);
  max-width: 900px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(14px, 0.9vw, 17px) !important;
  line-height: 1.7 !important;
  text-align: center;
}

.page-home #harness-loop .harness-card-list .card-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 1.35vw, 22px) !important;
  overflow: visible;
}

.page-home #harness-loop .harness-card-list .info-card {
  display: grid;
  min-height: clamp(240px, 25vw, 330px);
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 2vw, 30px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.018) !important;
}

.page-home #harness-loop .harness-card-list .info-card > span {
  color: var(--accent) !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.06em !important;
}

.page-home #harness-loop .harness-card-list .info-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 1.55vw, 28px) !important;
  line-height: 1.18 !important;
}

.page-home #harness-loop .harness-card-list .info-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: clamp(13px, 0.78vw, 15px) !important;
  line-height: 1.68 !important;
}

.page-home #harness-loop .harness-card-list .info-card:hover,
.page-home #harness-loop .harness-card-list .info-card:focus-visible {
  color: #050505 !important;
  border-color: #f7f7f3 !important;
  background: #f7f7f3 !important;
  outline: none;
}

.page-home #harness-loop .harness-card-list .info-card:hover :is(h3, p, span),
.page-home #harness-loop .harness-card-list .info-card:focus-visible :is(h3, p, span) {
  color: #050505 !important;
}

.hero-experience-entry:hover strong,
.hero-experience-entry:focus-visible strong {
  color: #050505 !important;
}

.page-home #harness-loop > .section-lead {
  max-width: 940px;
  margin-top: clamp(30px, 4vw, 54px);
  font-size: clamp(15px, 0.95vw, 18px) !important;
}

.page-home #harness-loop .process-flow {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: clamp(8px, 0.8vw, 14px) !important;
}

.page-home #harness-loop .process-flow::before,
.page-home #harness-loop .process-node::before {
  display: none !important;
}

.page-home #harness-loop .process-node {
  display: grid;
  min-height: 138px;
  align-content: center;
  gap: 18px;
  padding: 20px 16px !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.018) !important;
  box-shadow: none !important;
}

.page-home #harness-loop .process-node span {
  color: var(--accent) !important;
  font-size: 12px !important;
  font-weight: 740;
}

.page-home #harness-loop .process-node strong {
  color: inherit;
  font-size: clamp(15px, 0.95vw, 18px);
}

.page-home #harness-loop .process-node:hover,
.page-home #harness-loop .process-node:focus-visible,
.page-home #harness-loop .process-node.is-list-selected {
  color: #050505 !important;
  border-color: #f7f7f3 !important;
  background: #f7f7f3 !important;
  box-shadow: 0 18px 50px rgba(245, 155, 50, 0.2) !important;
  outline: none;
}

.page-home #harness-loop .process-node:hover span,
.page-home #harness-loop .process-node:focus-visible span,
.page-home #harness-loop .process-node.is-list-selected span {
  color: #b85d00 !important;
}

/* Co-build section: centered heading stack, cards remain a clean row. */
.page-home #ecosystem {
  display: block;
  text-align: center;
}

.page-home #ecosystem > .section-kicker,
.page-home #ecosystem > h2 {
  text-align: center !important;
}

.page-home #ecosystem > h2 {
  margin: 12px auto 0 !important;
}

.page-home #ecosystem > .ecosystem-lead {
  width: min(100%, 900px);
  max-width: 900px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(14px, 0.88vw, 17px) !important;
  line-height: 1.72 !important;
  text-align: center;
}

.page-home #ecosystem .ecosystem-card-list {
  margin-top: clamp(48px, 6vw, 86px);
}

.page-home #ecosystem .ecosystem-card-list .card-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 1.35vw, 22px) !important;
}

.page-home #ecosystem .ecosystem-card-list .info-card {
  display: grid;
  min-height: 330px;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 15px;
  padding: clamp(22px, 2vw, 30px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.018) !important;
}

.page-home #ecosystem .ecosystem-card-list .info-card > span {
  color: var(--accent) !important;
  font-size: 12px !important;
}

.page-home #ecosystem .ecosystem-card-list .info-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 1.35vw, 25px) !important;
  line-height: 1.22 !important;
}

.page-home #ecosystem .ecosystem-card-list .info-card p,
.page-home #ecosystem .ecosystem-evidence-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: clamp(12px, 0.72vw, 14px) !important;
  line-height: 1.66 !important;
}

.page-home #ecosystem .ecosystem-card-list .info-card:hover,
.page-home #ecosystem .ecosystem-card-list .info-card:focus-visible {
  color: #050505 !important;
  border-color: #f7f7f3 !important;
  background: #f7f7f3 !important;
}

.page-home #ecosystem .ecosystem-card-list .info-card:hover :is(h3, p, span),
.page-home #ecosystem .ecosystem-card-list .info-card:focus-visible :is(h3, p, span) {
  color: #050505 !important;
}

.page-home #ecosystem .ecosystem-evidence-note {
  margin-top: 24px;
  text-align: left;
}

/* People: shared rail, true centered rows, readable name/body scale. */
.page-home :is(#team, #ai-research-team, #collaborative-research-team, #advisors) > .section-lead {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(14px, 0.86vw, 17px) !important;
}

.page-home :is(#team, #ai-research-team, #advisors) .team-profile-board.chroma-grid {
  width: 100% !important;
  padding: 0 !important;
  overflow: visible;
}

.page-home :is(#team, #ai-research-team, #collaborative-research-team, #advisors) .team-profile-board.chroma-grid {
  flex-shrink: 0;
  transform: none;
}

@media (min-width: 901px) {
  .page-home #advisors .team-profile-board.chroma-grid {
    overflow: clip;
  }
}

.page-home #team .team-profile-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 1.35vw, 22px) !important;
}

.page-home #ai-research-team .team-profile-row {
  display: grid !important;
  width: min(100%, 930px);
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(16px, 1.6vw, 26px) !important;
  margin-inline: auto;
}

.page-home #advisors .team-profile-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 32px) !important;
}

.page-home :is(#team, #ai-research-team, #advisors) .team-profile-card {
  min-width: 0;
  margin: 0 !important;
}

.page-home :is(#team, #ai-research-team) .team-profile-card .pc-card,
.page-home :is(#team, #ai-research-team) .team-profile-card .pc-inside {
  height: 100% !important;
}

.page-home :is(#team, #ai-research-team) .team-profile-image-wrap {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 5;
  overflow: hidden !important;
  padding: 8px 8px 0 !important;
}

.page-home :is(#team, #ai-research-team) .team-profile-image {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center bottom !important;
}

.page-home :is(#team, #ai-research-team) .team-profile-content.chroma-info {
  min-height: 118px !important;
  padding: 16px 18px 18px !important;
}

.page-home :is(#team, #ai-research-team) .team-profile-copy {
  gap: 5px !important;
  overflow: visible !important;
}

.page-home :is(#team, #ai-research-team) .team-profile-copy h3 {
  margin: 0;
  font-size: clamp(20px, 1.35vw, 26px) !important;
  line-height: 1.14 !important;
}

.page-home :is(#team, #ai-research-team) .team-profile-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: clamp(12px, 0.72vw, 14px) !important;
  line-height: 1.48 !important;
}

.page-home :is(#team, #ai-research-team) .team-profile-position,
.page-home :is(#team, #ai-research-team) .team-profile-role {
  color: var(--accent) !important;
  font-size: 11px !important;
}

.page-home :is(#team, #ai-research-team)
  .team-profile-card:is(:hover, :focus-visible, :focus-within, .active)
  .team-profile-content.chroma-info {
  color: #fff !important;
}

.page-home :is(#team, #ai-research-team)
  .team-profile-card:is(:hover, :focus-visible, :focus-within, .active)
  :is(
    .team-profile-copy h3,
    .team-profile-copy strong,
    .team-profile-position,
    .team-profile-role,
    .team-profile-code
  ) {
  color: #fff !important;
}

.page-home :is(#team, #ai-research-team)
  .team-profile-card:is(:hover, :focus-visible, :focus-within, .active)
  .team-profile-copy :is(p, span:not(.team-profile-position):not(.team-profile-role), small) {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* Collaborative research lab: retain the original hover accordion; reveal thumbnails on interaction. */
.page-home #collaborative-research-team .team-profile-board.chroma-grid {
  position: relative;
  width: 100% !important;
  height: clamp(500px, 58vw, 650px);
  margin-bottom: 106px !important;
  padding: 10px !important;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
  transform: translateX(0);
}

.page-home #collaborative-research-team .team-profile-row {
  display: flex !important;
  width: 100%;
  height: 100%;
  align-items: stretch;
  gap: 8px;
}

.page-home #collaborative-research-team .team-profile-card {
  position: relative;
  min-width: 0;
  height: 100%;
  flex: 1 1 0;
  margin: 0 !important;
  opacity: 1;
  overflow: hidden;
  border-radius: 7px;
  transition:
    flex 560ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 260ms ease,
    filter 260ms ease;
}

.page-home #collaborative-research-team .team-profile-card .pc-card-shell,
.page-home #collaborative-research-team .team-profile-card .pc-card,
.page-home #collaborative-research-team .team-profile-card .pc-inside {
  width: 100%;
  height: 100% !important;
}

.page-home #collaborative-research-team .team-profile-card .pc-inside {
  position: relative;
  display: block;
  overflow: hidden;
}

.page-home #collaborative-research-team .team-profile-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  transition:
    right 560ms cubic-bezier(0.16, 1, 0.3, 1),
    width 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home #collaborative-research-team .team-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: 50% 38% !important;
  filter: none !important;
}

.page-home #collaborative-research-team .team-profile-content.chroma-info {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 54%;
  min-height: 0 !important;
  align-items: flex-end;
  padding: clamp(24px, 2.4vw, 38px) !important;
  color: #050505 !important;
  background: #f7f7f3 !important;
  opacity: 0;
  overflow: auto !important;
  pointer-events: none;
  transform: translateX(28px);
  transition:
    opacity 220ms ease 80ms,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    padding-bottom 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home #collaborative-research-team .team-profile-content .team-profile-copy {
  display: grid;
  gap: 10px !important;
  overflow: visible !important;
}

.page-home #collaborative-research-team .team-profile-content .team-profile-role {
  color: #a75100 !important;
  font-size: clamp(10px, 0.65vw, 12px) !important;
  line-height: 1.45 !important;
}

.page-home #collaborative-research-team .team-profile-content h3 {
  margin: 0;
  color: #050505 !important;
  font-size: clamp(22px, 1.65vw, 30px) !important;
  line-height: 1.12 !important;
}

.page-home #collaborative-research-team .team-profile-content p {
  margin: 0;
  color: rgba(5, 5, 5, 0.68) !important;
  font-size: clamp(11px, 0.66vw, 13px) !important;
  line-height: 1.55 !important;
}

.page-home #collaborative-research-team .team-profile-row:hover .team-profile-card,
.page-home #collaborative-research-team .team-profile-row:has(.is-expanded) .team-profile-card {
  flex: 0.16 1 0;
  opacity: 0.55;
  filter: saturate(0.8);
}

.page-home #collaborative-research-team .team-profile-row:hover .team-profile-card:hover,
.page-home #collaborative-research-team .team-profile-row .team-profile-card:focus-within,
.page-home #collaborative-research-team .team-profile-row .team-profile-card.is-expanded {
  flex: 5.4 1 0;
  opacity: 1;
  filter: none;
}

.page-home #collaborative-research-team .team-profile-card:hover .team-profile-image-wrap,
.page-home #collaborative-research-team .team-profile-card:focus-within .team-profile-image-wrap,
.page-home #collaborative-research-team .team-profile-card.is-expanded .team-profile-image-wrap {
  right: 54%;
  width: 46%;
}

.page-home #collaborative-research-team .team-profile-card:hover .team-profile-content.chroma-info,
.page-home #collaborative-research-team .team-profile-card:focus-within .team-profile-content.chroma-info,
.page-home #collaborative-research-team .team-profile-card.is-expanded .team-profile-content.chroma-info {
  opacity: 1 !important;
  pointer-events: auto;
  transform: translateX(0);
}

.page-home #collaborative-research-team .collaborative-thumbnail-rail {
  position: absolute;
  z-index: 8;
  top: calc(100% + 10px);
  right: 0;
  bottom: auto;
  left: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(5, 5, 5, 0.86);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  visibility: hidden;
  transition:
    opacity 200ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 360ms;
}

.page-home #collaborative-research-team .team-profile-board:is(:hover, :focus-within, :has(.is-expanded)) .collaborative-thumbnail-rail {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.page-home #collaborative-research-team .collaborative-thumbnail {
  position: relative;
  min-width: 0;
  height: 78px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: #0a0a0a;
  color: #fff;
  cursor: pointer !important;
  opacity: 0.62;
  transition:
    opacity 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.page-home #collaborative-research-team .collaborative-thumbnail::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.88));
  pointer-events: none;
}

.page-home #collaborative-research-team .collaborative-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: none !important;
}

.page-home #collaborative-research-team .collaborative-thumbnail span {
  position: absolute;
  z-index: 1;
  right: 7px;
  bottom: 6px;
  left: 7px;
  overflow: hidden;
  color: #fff;
  font-size: clamp(8px, 0.58vw, 11px);
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home #collaborative-research-team .collaborative-thumbnail:is(:hover, :focus-visible, .is-active) {
  border-color: #f59b32;
  opacity: 1;
  transform: translateY(-2px);
}

.page-home #collaborative-research-team .collaborative-thumbnail:focus-visible {
  outline: 2px solid #f59b32;
  outline-offset: 2px;
}

body.cursor-ready .page-home #collaborative-research-team .team-profile-board,
body.cursor-ready .page-home #collaborative-research-team .team-profile-board * {
  cursor: default !important;
}

body.cursor-ready .page-home #collaborative-research-team .collaborative-thumbnail,
body.cursor-ready .page-home #collaborative-research-team .collaborative-thumbnail * {
  cursor: pointer !important;
}

body.collaborative-native-cursor .magnetic-cursor {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Advisors and projects share the same navigation rail. */
.page-home #advisors .team-profile-row {
  align-items: stretch;
}

.page-home #advisors :is(
  .team-profile-card,
  .pc-card-shell,
  .pc-card,
  .pc-inside
) {
  height: 100% !important;
}

.page-home #advisors .team-profile-card .pc-inside {
  display: grid;
  min-height: 430px;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
}

.page-home #advisors .team-profile-image-wrap {
  width: 100%;
  height: 100% !important;
  min-height: 430px;
  padding: 0 !important;
  aspect-ratio: auto;
  overflow: hidden !important;
}

.page-home #advisors .team-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: 50% 50% !important;
}

.page-home #advisors .team-profile-card:nth-child(1) .team-profile-image {
  transform: translateY(20px) scale(1.1);
}

.page-home #advisors .team-profile-card:nth-child(2) .team-profile-image {
  transform: translateY(-20px) scale(1.1);
}

.page-home #advisors .team-profile-content.chroma-info {
  justify-content: center;
  padding: clamp(22px, 2vw, 34px) !important;
}

.page-home #advisors .team-profile-copy h3 {
  margin: 0;
  font-size: clamp(22px, 1.6vw, 30px) !important;
}

.page-home #advisors .team-profile-copy p {
  color: rgba(255, 255, 255, 0.64) !important;
  font-size: clamp(11px, 0.68vw, 13px) !important;
  line-height: 1.58 !important;
}

:is(.page-home #projects, .project-return) .project-list-shell,
:is(.page-home #projects, .project-return) .vertical-grid {
  width: 100%;
  max-width: none;
}

:is(.page-home #projects, .project-return) .vertical-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.2vw, 20px) !important;
  overflow: visible;
}

:is(.page-home #projects, .project-return) .vertical-card {
  display: flex;
  min-width: 0;
  min-height: 410px;
  flex-direction: column;
  gap: 28px;
  padding: clamp(22px, 1.8vw, 28px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.018) !important;
}

:is(.page-home #projects, .project-return) .vertical-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "index title"
    ". english";
  align-items: end;
  column-gap: 10px;
  row-gap: 4px;
}

:is(.page-home #projects, .project-return) .project-index {
  grid-area: index;
  color: var(--accent) !important;
  font-size: 12px !important;
  font-weight: 720;
}

:is(.page-home #projects, .project-return) .project-title-cn {
  grid-area: title;
  margin: 0;
  color: #fff;
  font-size: clamp(23px, 1.5vw, 29px) !important;
  line-height: 1.08 !important;
}

:is(.page-home #projects, .project-return) .project-title-en {
  grid-area: english;
  color: rgba(255, 255, 255, 0.44) !important;
  font-size: 10px !important;
  font-weight: 650;
  letter-spacing: 0.1em !important;
}

:is(.page-home #projects, .project-return) .project-description {
  display: grid;
  gap: 13px;
}

:is(.page-home #projects, .project-return) .project-description strong {
  color: #fff;
  font-size: clamp(15px, 0.9vw, 18px);
  line-height: 1.45;
}

:is(.page-home #projects, .project-return) .project-description p,
:is(.page-home #projects, .project-return) .project-tags {
  margin: 0;
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: clamp(12px, 0.72vw, 14px) !important;
  line-height: 1.62 !important;
}

:is(.page-home #projects, .project-return) .project-tags {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

:is(.page-home #projects, .project-return) .vertical-card:hover,
:is(.page-home #projects, .project-return) .vertical-card:focus-visible {
  color: #050505;
  border-color: #f7f7f3 !important;
  background: #f7f7f3 !important;
  outline: none;
}

:is(.page-home #projects, .project-return) .vertical-card:hover :is(h3, strong, small, p, span),
:is(.page-home #projects, .project-return) .vertical-card:focus-visible :is(h3, strong, small, p, span) {
  color: #050505 !important;
}

/* People imagery stays fully colored and legible in every interaction state. */
.page-home :is(#team, #ai-research-team, #collaborative-research-team, #advisors) :is(.chroma-overlay, .chroma-fade) {
  display: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.page-home :is(#team, #ai-research-team, #collaborative-research-team, #advisors) .team-profile-image {
  opacity: 1 !important;
  filter: none !important;
}

.page-home :is(#team, #ai-research-team, #collaborative-research-team, #advisors) .team-profile-card.has-profile-hover-image .pc-card::after {
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

.page-home #collaborative-research-team .team-profile-row:hover .team-profile-card,
.page-home #collaborative-research-team .team-profile-row:has(.is-expanded) .team-profile-card,
.page-home #collaborative-research-team .collaborative-thumbnail {
  opacity: 1;
  filter: none;
}

/* Footer: remove the right-side orange glow and align the headline to the copy rail. */
.footer-band,
.footer-shape-grid-bg {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.9)),
    #030303 !important;
}

.footer-band::after {
  display: none !important;
}

.footer-copy h2 {
  width: fit-content;
  max-width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
  font-size: clamp(24px, 7vw, 64px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
  text-align: left !important;
}

.footer-copy h2 :is(.footer-title-line, .footer-title-break) {
  display: block;
  max-width: 100%;
  color: inherit;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  white-space: nowrap;
}

@media (min-width: 901px) {
  .footer-inner {
    align-items: start;
  }

  .footer-inner > :is(.footer-copy, .contact-stack) {
    align-self: start;
  }

  .footer-inner > .contact-stack {
    padding-top: 0;
  }

  .footer-inner > .contact-stack > a:first-child {
    padding-top: 0;
  }
}

/* Login and 404 secondary pages. */
.page-login {
  display: grid;
  min-height: 100svh;
}

.page-login > .account-page-section {
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: clamp(92px, 10vh, 118px) var(--page-rail) clamp(24px, 4vh, 44px);
  box-sizing: border-box;
}

.account-page-section,
.coming-soon-section {
  display: grid;
  min-height: calc(100svh - var(--fixed-nav-total, 118px));
  place-items: center;
}

.account-access-stack {
  display: grid;
  width: min(100%, 560px);
  gap: 14px;
}

.login-panel,
.coming-soon-panel {
  width: min(100%, 560px);
  padding: clamp(28px, 4.2vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.35);
}

.account-access-stack .login-panel {
  width: 100%;
}

.qishu-registration-panel {
  display: flex;
  scroll-margin-top: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(245, 155, 50, 0.42);
  border-radius: 8px;
  background: rgba(245, 155, 50, 0.055);
}

.qishu-registration-panel > div {
  min-width: 0;
}

.qishu-registration-panel .section-kicker {
  margin-bottom: 5px;
}

.qishu-registration-panel h2 {
  margin: 0 0 5px;
  font-size: 20px !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.qishu-registration-panel p:last-child {
  max-width: 42ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.qishu-registration-action {
  flex: 0 0 auto;
  white-space: nowrap;
}

.qishu-registration-status {
  flex: 0 0 auto;
  margin: 0;
  color: var(--accent) !important;
  font-size: 14px !important;
  font-weight: 650;
  line-height: 1.4 !important;
  white-space: nowrap;
}

.login-panel h2,
.coming-soon-panel h2 {
  margin: 0 0 12px;
  text-align: left !important;
}

.login-panel > p,
.coming-soon-panel > p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.login-form {
  display: grid;
  gap: 20px;
}

.login-form label {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.login-form input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  color: #fff;
  font: inherit;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.34);
  outline: none;
}

.login-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 155, 50, 0.14);
}

.login-form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.login-form__meta label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: inherit;
}

.login-form__meta input {
  width: 15px;
  height: 15px;
}

.login-form__status {
  min-height: 22px;
  margin: 0 !important;
  color: var(--accent) !important;
  font-size: 13px !important;
  text-align: left;
}

@media (max-width: 600px) {
  .qishu-registration-panel {
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    flex-direction: column;
  }

  .qishu-registration-action {
    width: 100%;
  }
}

.coming-soon-code {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.055em;
}

/* Early Access form and Qishu registration reserve page. */
.page-experience,
.page-register {
  min-width: 0;
  min-height: 100svh;
}

.secondary-unified-page.page-experience > .experience-page-section,
.secondary-unified-page.page-register > .register-page-section {
  width: min(100% - var(--page-rail) * 2, 1040px);
  max-width: 1040px;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(132px, 14vh, 174px) 0 clamp(86px, 10vh, 126px);
}

.experience-page-section {
  display: grid;
  justify-items: center;
  gap: clamp(38px, 5vw, 58px);
}

.experience-intro {
  width: min(100%, 900px);
  margin-inline: auto;
  text-align: center;
}

.experience-intro .section-kicker {
  margin-bottom: 18px;
}

.experience-intro h1,
.register-coming-soon h1 {
  max-width: 13ch;
  margin: 0 auto;
  font-size: clamp(42px, 5.8vw, 76px);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.experience-intro > p:last-child {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(247, 247, 243, 0.72);
  font-size: clamp(16px, 1.35vw, 19px) !important;
  font-weight: 400;
  line-height: 1.82 !important;
  text-wrap: pretty;
}

.experience-form-panel {
  width: min(100%, 920px);
  min-width: 0;
  padding: clamp(26px, 4.6vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.experience-form {
  display: grid;
  min-width: 0;
  gap: 24px;
  text-align: left;
}

.experience-form__row {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.experience-form__row--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experience-form label {
  display: grid;
  min-width: 0;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.experience-form label > span {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  line-height: 1.45;
}

.experience-form label > span b {
  color: var(--accent);
  font: inherit;
}

.experience-form label > span small {
  color: rgba(247, 247, 243, 0.58);
  font-size: 12px !important;
}

.experience-form :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.38);
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.experience-form :is(input, select) {
  height: 54px;
}

.experience-form select {
  padding-right: 42px;
  color-scheme: dark;
}

.experience-form textarea {
  min-height: 148px;
  padding-block: 14px;
  resize: vertical;
}

.experience-form :is(input, textarea)::placeholder,
.experience-form select:invalid {
  color: rgba(247, 247, 243, 0.62);
  opacity: 1;
}

.experience-form select option {
  color: #fff;
  background: #080808;
}

.experience-form :is(input, select, textarea):focus-visible {
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.52);
  box-shadow: 0 0 0 3px rgba(245, 155, 50, 0.15);
}

.experience-form__actions {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 4px;
  text-align: center;
}

.experience-submit {
  width: min(100%, 420px);
  min-height: 54px;
  border: 1px solid rgba(245, 155, 50, 0.72) !important;
  color: #f7b35f !important;
  background: rgba(245, 155, 50, 0.09) !important;
}

.experience-submit:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.experience-submit:disabled:hover {
  border-color: rgba(245, 155, 50, 0.9) !important;
  background: rgba(245, 155, 50, 0.12) !important;
  transform: none;
}

.experience-submit-note,
.experience-form__status {
  min-height: 20px;
  margin: 0;
  color: rgba(247, 247, 243, 0.64) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.experience-form__status {
  color: #f7b35f !important;
}

.experience-privacy {
  margin: 0;
  color: rgba(247, 247, 243, 0.58) !important;
  font-size: 12px !important;
  line-height: 1.72 !important;
  text-align: center;
}

.experience-privacy__link {
  margin-inline: 0.25em;
  color: rgba(247, 247, 243, 0.78);
  text-decoration: underline;
  text-decoration-color: rgba(247, 247, 243, 0.38);
  text-underline-offset: 3px;
}

.experience-success {
  width: min(100%, 660px);
  margin: clamp(28px, 5vw, 54px) auto;
  text-align: center;
}

.experience-success[hidden] {
  display: none;
}

.experience-success h2 {
  margin: 0 0 26px;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.experience-success p:not(.section-kicker) {
  margin: 0 0 16px;
  color: rgba(247, 247, 243, 0.7);
  line-height: 1.78 !important;
}

.register-page-section {
  display: grid;
  place-items: center;
}

.register-coming-soon {
  width: min(100%, 700px);
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.register-coming-soon h1 {
  max-width: none;
  font-size: clamp(40px, 5vw, 68px);
}

.register-coming-soon > strong {
  display: block;
  margin-top: 22px;
  color: var(--accent);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 560;
}

.register-coming-soon > p:not(.section-kicker) {
  margin: 18px 0 30px;
  color: rgba(247, 247, 243, 0.68);
  line-height: 1.72 !important;
}

.register-coming-soon .button {
  min-width: 180px;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
}

@media (max-width: 640px) {
  .secondary-unified-page.page-experience > .experience-page-section,
  .secondary-unified-page.page-register > .register-page-section {
    width: calc(100% - 40px);
    padding-top: 116px;
    padding-bottom: 72px;
  }

  .experience-page-section {
    gap: 34px;
  }

  .experience-intro h1 {
    max-width: 10ch;
    font-size: clamp(38px, 11.5vw, 50px);
    line-height: 1.12;
  }

  .experience-intro > p:last-child br,
  .experience-privacy br,
  .experience-success br {
    display: none;
  }

  .experience-form-panel {
    padding: 22px 18px 24px;
  }

  .experience-form {
    gap: 20px;
  }

  .experience-form__row--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .experience-form :is(input, select) {
    height: 52px;
  }

  .register-coming-soon {
    padding: 34px 22px;
  }

  .register-coming-soon .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience-form :is(input, select, textarea),
  .experience-submit {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1000px) {
  .page-home #harness-loop .harness-card-list .card-grid,
  .page-home #ecosystem .ecosystem-card-list .card-grid,
  .page-home #team .team-profile-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-home #harness-loop .process-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  :is(.page-home #projects, .project-return) .vertical-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  :is(.page-home #projects, .project-return) .vertical-card:last-child {
    grid-column: 1 / -1;
  }

  .page-home #advisors .team-profile-card .pc-inside {
    grid-template-columns: 1fr;
  }

  .page-home #advisors .team-profile-image-wrap {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 10px !important;
  }

  .header-actions {
    gap: 6px;
  }

  .header-login {
    min-height: 34px;
    padding-inline: 10px;
  }

  .header-actions--home {
    gap: 3px;
  }

  .header-actions--home :is(.header-qishu-register, .header-login--qishu) {
    min-height: 34px;
    padding-inline: 4px;
    font-size: 11px;
    white-space: nowrap;
  }

  .header-action {
    font-size: 12px !important;
  }

  .page-home .hero-title-screen {
    padding-inline: 20px;
  }

  .page-home .hero-title-screen .eyebrow {
    font-size: 11px !important;
  }

  .page-home .hero-title-screen .hero-title {
    font-size: clamp(42px, 12vw, 70px) !important;
  }

  .page-home > .hero-detail-screen {
    width: calc(100vw - 40px);
  }

  .page-home #harness .harness-copy,
  .page-home #ecosystem {
    display: block;
  }

  .page-home #harness .harness-copy > h2,
  .page-home #ecosystem > h2 {
    margin-top: 10px !important;
    text-align: center !important;
  }

  .page-home #harness .harness-copy > :is(.section-lead, p:not(.section-kicker)),
  .page-home #ecosystem > .ecosystem-lead {
    margin: 22px auto 0;
    text-align: center;
  }

  .page-home #harness-loop .harness-card-list .card-grid,
  .page-home #ecosystem .ecosystem-card-list .card-grid,
  .page-home #team .team-profile-row,
  .page-home #ai-research-team .team-profile-row,
  .page-home #advisors .team-profile-row,
  :is(.page-home #projects, .project-return) .vertical-grid {
    grid-template-columns: 1fr !important;
  }

  :is(.page-home #projects, .project-return) .vertical-card:last-child {
    grid-column: auto;
  }

  .page-home #harness-loop .process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-home #collaborative-research-team .team-profile-board.chroma-grid {
    height: auto;
    margin-bottom: 0 !important;
    padding: 8px !important;
    overflow: visible;
  }

  .page-home #collaborative-research-team .team-profile-row {
    display: grid !important;
    height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-home #collaborative-research-team .team-profile-card,
  .page-home #collaborative-research-team .team-profile-row:hover .team-profile-card,
  .page-home #collaborative-research-team .team-profile-row:has(.is-expanded) .team-profile-card {
    width: 100%;
    height: auto !important;
    min-height: 0;
    opacity: 1;
    filter: none;
    transition: none;
  }

  .page-home #collaborative-research-team .team-profile-card :is(
    .pc-card-shell,
    .pc-card,
    .pc-inside
  ) {
    height: auto !important;
    min-height: 0 !important;
  }

  .page-home #collaborative-research-team .team-profile-card .pc-inside {
    display: flex;
    flex-direction: column;
  }

  .page-home #collaborative-research-team .team-profile-image-wrap,
  .page-home #collaborative-research-team .team-profile-card:hover .team-profile-image-wrap,
  .page-home #collaborative-research-team .team-profile-card:focus-within .team-profile-image-wrap,
  .page-home #collaborative-research-team .team-profile-card.is-expanded .team-profile-image-wrap {
    position: relative;
    inset: auto;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto;
    flex: 0 0 auto;
    transition: none;
  }

  .page-home #collaborative-research-team .team-profile-image {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  .page-home #collaborative-research-team .team-profile-content.chroma-info,
  .page-home #collaborative-research-team .team-profile-card:hover .team-profile-content.chroma-info,
  .page-home #collaborative-research-team .team-profile-card:focus-within .team-profile-content.chroma-info,
  .page-home #collaborative-research-team .team-profile-card.is-expanded .team-profile-content.chroma-info {
    position: relative !important;
    inset: auto;
    display: flex;
    width: 100%;
    min-height: 0 !important;
    align-items: flex-start;
    padding: 20px 18px 22px !important;
    opacity: 1 !important;
    overflow: visible !important;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .page-home #collaborative-research-team .team-profile-content .team-profile-copy {
    width: 100%;
    gap: 9px !important;
  }

  .page-home #collaborative-research-team .team-profile-content .team-profile-role {
    font-size: 11px !important;
  }

  .page-home #collaborative-research-team .team-profile-content h3 {
    font-size: clamp(24px, 7vw, 30px) !important;
  }

  .page-home #collaborative-research-team .team-profile-content p {
    font-size: 13px !important;
    line-height: 1.62 !important;
  }

  .page-home #collaborative-research-team .collaborative-thumbnail-rail {
    display: none;
  }

  .page-home #advisors .team-profile-image-wrap {
    min-height: 320px;
  }

  .page-home #advisors :is(
    .team-profile-card,
    .pc-card-shell,
    .pc-card,
    .pc-inside
  ) {
    height: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home #collaborative-research-team .team-profile-card,
  .page-home #collaborative-research-team .team-profile-image-wrap,
  .page-home #collaborative-research-team .team-profile-content.chroma-info {
    transition: none !important;
  }
}

/* Homepage middle-section rhythm. The hero and footer deliberately retain
   their full-screen compositions; only the story panels between them become
   content-led so sparse sections no longer create empty viewport-sized bays. */
@media (min-width: 901px) {
  .page-home .vertical-scroll-story > .vertical-scroll-panel {
    min-height: 0 !important;
    padding-top: clamp(68px, 7.5vh, 88px) !important;
    padding-bottom: clamp(52px, 6vh, 68px) !important;
  }

  .page-home .vertical-scroll-story > :is(#harness, #contact) {
    min-height: clamp(520px, 62svh, 640px) !important;
  }

  .page-home #ecosystem {
    gap: clamp(12px, 1.5vh, 20px) !important;
  }

  .page-home #ecosystem .ecosystem-card-list {
    margin-top: clamp(24px, 2.8vw, 40px) !important;
  }

  .page-home #ecosystem .partner-logo-loop {
    margin-top: clamp(32px, 4vh, 48px) !important;
    margin-bottom: clamp(18px, 2.5vh, 30px) !important;
  }

  .page-home :is(#projects, #contact) {
    gap: clamp(10px, 1.4vh, 16px) !important;
  }
}

@media (max-width: 900px) {
  .page-home .vertical-scroll-story > .vertical-scroll-panel {
    min-height: 0 !important;
    padding-top: clamp(52px, 14vw, 64px) !important;
    padding-bottom: clamp(52px, 14vw, 64px) !important;
  }

  .page-home #ecosystem .ecosystem-card-list {
    margin-top: clamp(24px, 8vw, 36px) !important;
  }

  .page-home #ecosystem .partner-logo-loop {
    margin-top: clamp(32px, 10vw, 44px) !important;
    margin-bottom: 20px !important;
  }
}

/* Unified secondary-page middle modules. Heroes, videos, interactive demos,
   project links and footer behavior remain page-specific; the content between
   them shares the approved About-page rail, hierarchy and framed-card system. */
.secondary-unified-page {
  --secondary-rail: min(1200px, calc(100% - var(--page-rail) * 2));
  --secondary-card-border: rgba(255, 255, 255, 0.16);
  --secondary-card-border-hover: rgba(255, 255, 255, 0.34);
  --secondary-card-bg: rgba(255, 255, 255, 0.018);
  --secondary-card-bg-hover: rgba(255, 255, 255, 0.055);
}

.secondary-unified-page > .section:not(.hero) {
  width: var(--secondary-rail);
  max-width: 1200px;
  margin-inline: auto;
  padding-block: clamp(68px, 7vw, 96px);
}

.secondary-unified-page > .section.tight:not(.hero) {
  padding-block: clamp(44px, 5vw, 68px);
}

.secondary-unified-page > .section:not(.hero) > :is(.section-kicker, h2, .section-lead) {
  width: min(900px, 100%);
  margin-inline: auto;
  text-align: center;
}

.secondary-unified-page > .section:not(.hero) > h2 {
  max-width: 18ch;
  margin-bottom: clamp(20px, 2.5vw, 32px);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05 !important;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.secondary-unified-page > .section:not(.hero) > .section-lead {
  max-width: 850px;
  color: rgba(247, 247, 243, 0.7);
  line-height: 1.72 !important;
  text-wrap: pretty;
}

.secondary-unified-page :is(.content-list-shell, .project-list-shell) {
  width: 100%;
  max-width: none;
  margin-top: clamp(32px, 4vw, 52px);
}

.secondary-unified-page :is(.card-grid, .metric-grid, .timeline, .process-flow) {
  display: grid !important;
  gap: clamp(12px, 1.3vw, 18px) !important;
  align-items: stretch;
  padding-top: 0;
  overflow: visible;
}

.secondary-unified-page .card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.secondary-unified-page .card-grid:has(> :nth-child(3):last-child),
.secondary-unified-page .card-grid:has(> :nth-child(5):last-child),
.secondary-unified-page .card-grid:has(> :nth-child(6):last-child),
.secondary-unified-page .metric-grid,
.secondary-unified-page .timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.secondary-unified-page .process-flow {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  margin-top: clamp(32px, 4vw, 52px);
}

.secondary-unified-page :is(.card-grid, .metric-grid) [data-animated-list-item],
.secondary-unified-page :is(.card-grid, .metric-grid) [data-animated-list-item]:nth-child(3n+2),
.secondary-unified-page :is(.card-grid, .metric-grid) [data-animated-list-item]:nth-child(3n) {
  margin-top: 0 !important;
}

.secondary-unified-page :is(
  .info-card,
  .metric,
  .timeline-item,
  .process-node,
  .project-card,
  .detail-card,
  .detail-example > div,
  .coming-soon-panel
) {
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: clamp(22px, 2vw, 30px) !important;
  border: 1px solid var(--secondary-card-border) !important;
  border-radius: 8px !important;
  background: var(--secondary-card-bg) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: left;
}

.secondary-unified-page :is(.info-card, .metric, .timeline-item, .process-node, .project-card):is(:hover, :focus-visible) {
  border-color: var(--secondary-card-border-hover) !important;
  background: var(--secondary-card-bg-hover) !important;
  outline: none;
}

.secondary-unified-page :is(
  .info-card,
  .metric,
  .project-card,
  .vertical-card,
  .mini-projects a
)::before,
.secondary-unified-page .process-flow::before,
.secondary-unified-page .process-node::before,
.secondary-unified-page .process-node::after {
  content: none !important;
  display: none !important;
}

.secondary-unified-page .info-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(21px, 1.8vw, 29px);
  line-height: 1.25;
}

.secondary-unified-page :is(.info-card, .project-card) {
  min-height: 240px !important;
}

.secondary-unified-page :is(.info-card, .metric, .timeline-item, .process-node) :is(p, small) {
  color: rgba(247, 247, 243, 0.66) !important;
  line-height: 1.68 !important;
}

.secondary-unified-page .metric {
  min-height: 190px;
}

.secondary-unified-page .metric strong {
  margin: 18px 0 12px;
  font-size: clamp(28px, 3vw, 44px);
}

.secondary-unified-page .timeline-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
}

.secondary-unified-page .timeline-item > span,
.secondary-unified-page .process-node > span {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 16px;
  color: #f59b32;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
}

.secondary-unified-page .process-node {
  min-height: 150px;
}

.secondary-unified-page .process-node strong {
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.35;
}

.secondary-unified-page .table-wrap {
  width: 100%;
  margin-top: clamp(30px, 4vw, 50px);
  overflow-x: auto;
  border: 1px solid var(--secondary-card-border);
  border-radius: 8px;
  background: var(--secondary-card-bg);
  box-shadow: none;
}

.secondary-unified-page .table-wrap table {
  margin: 0;
}

.secondary-unified-page .split {
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.secondary-unified-page .split > :is(div, figure) {
  min-width: 0;
}

.secondary-unified-page .image-panel {
  border-color: var(--secondary-card-border);
  box-shadow: none;
}

.secondary-unified-page :is(.detail-content-section, .detail-example-section, .detail-closing-section) {
  width: var(--secondary-rail);
  max-width: 1200px;
}

.secondary-unified-page .detail-body {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: none;
  margin: clamp(26px, 3vw, 42px) 0;
}

.secondary-unified-page .detail-body p {
  margin: 0;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid var(--secondary-card-border);
  border-radius: 8px;
  background: var(--secondary-card-bg);
}

.secondary-unified-page .detail-card-grid,
.secondary-unified-page .detail-example {
  gap: clamp(12px, 1.3vw, 18px);
}

.secondary-unified-page .detail-card {
  background: var(--secondary-card-bg) !important;
}

.secondary-unified-page .detail-emphasis {
  max-width: none;
  border: 1px solid var(--secondary-card-border);
  border-left-width: 1px;
  background: var(--secondary-card-bg);
}

.secondary-unified-page .project-contact-section {
  text-align: center;
}

.secondary-unified-page .project-contact-section .cta-grid,
.secondary-unified-page .detail-closing-section .cta-grid {
  width: min(680px, 100%);
  margin: clamp(24px, 3vw, 40px) auto 0;
}

.secondary-unified-page .project-return .project-list-shell,
.secondary-unified-page .project-return .vertical-grid {
  width: 100%;
  max-width: none;
}

.secondary-unified-page .project-return .vertical-card::before {
  content: none !important;
  display: none !important;
}

/* Qishu keeps its product diagrams, video and dense comparison modules, while
   dropping viewport-sized middle sections and decorative orange edge rules. */
.secondary-unified-page.page-qishu-ai > .financing-section:not(.financing-hero-section) {
  width: var(--secondary-rail);
  max-width: 1200px;
  min-height: 0;
  padding-block: clamp(68px, 7vw, 96px);
  gap: clamp(28px, 3vw, 44px);
  align-content: start;
}

.secondary-unified-page.page-qishu-ai .financing-section:not(.financing-hero-section) :is(
  .financing-card,
  .financing-flow-node,
  .financing-mini-row,
  .qishu-building-demo__steps article
) {
  border: 1px solid var(--secondary-card-border);
  border-radius: 8px;
  background: var(--secondary-card-bg);
  box-shadow: none;
}

.secondary-unified-page.page-qishu-ai .financing-card {
  height: 100%;
  background: var(--secondary-card-bg) !important;
}

.secondary-unified-page.page-qishu-ai :is(.qishu-evidence-line, .qishu-building-demo__boundary) {
  border: 1px solid var(--secondary-card-border);
  border-left-width: 1px;
  border-radius: 8px;
  background: var(--secondary-card-bg);
}

.secondary-unified-page.page-qishu-ai .financing-card-grid {
  gap: clamp(12px, 1.3vw, 18px);
  align-items: stretch;
}

@media (max-width: 1000px) {
  .secondary-unified-page .card-grid,
  .secondary-unified-page .card-grid:has(> :nth-child(3):last-child),
  .secondary-unified-page .card-grid:has(> :nth-child(5):last-child),
  .secondary-unified-page .card-grid:has(> :nth-child(6):last-child),
  .secondary-unified-page .metric-grid,
  .secondary-unified-page .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .secondary-unified-page.page-qishu-ai .financing-card-grid--five,
  .secondary-unified-page.page-qishu-ai .financing-card-grid--four,
  .secondary-unified-page.page-qishu-ai .financing-card-grid--metrics,
  .secondary-unified-page.page-qishu-ai .financing-card-grid--appendix,
  .secondary-unified-page.page-qishu-ai .financing-card-grid--seven {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .secondary-unified-page {
    --secondary-rail: calc(100% - var(--site-rail) * 2);
  }

  .secondary-unified-page > .section:not(.hero),
  .secondary-unified-page.page-qishu-ai > .financing-section:not(.financing-hero-section) {
    width: var(--secondary-rail);
    padding-block: clamp(52px, 14vw, 72px);
  }

  .secondary-unified-page > .section:not(.hero) > h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .secondary-unified-page :is(.card-grid, .metric-grid, .timeline, .process-flow),
  .secondary-unified-page .card-grid:has(> :nth-child(3):last-child),
  .secondary-unified-page .card-grid:has(> :nth-child(5):last-child),
  .secondary-unified-page .card-grid:has(> :nth-child(6):last-child),
  .secondary-unified-page .split,
  .secondary-unified-page .detail-card-grid,
  .secondary-unified-page .detail-example,
  .secondary-unified-page.page-qishu-ai .financing-card-grid,
  .secondary-unified-page.page-qishu-ai .financing-flow,
  .secondary-unified-page.page-qishu-ai .qishu-building-demo__steps {
    grid-template-columns: 1fr !important;
  }

  .secondary-unified-page :is(.info-card, .metric, .timeline-item, .process-node, .project-card) {
    min-height: 0 !important;
  }

  .secondary-unified-page .table-wrap {
    margin-top: 26px;
  }
}

/* Homepage viewport polish: keep the footer content in its lower reading band,
   make the compact navigation click-stable, and vertically center the mobile hero. */
@media (min-width: 901px) {
  body:has(.page-home) > .footer-band > .footer-inner {
    align-self: end;
    transform: translateY(clamp(-44px, -4vh, -28px));
  }
}

@media (max-width: 900px) {
  .nav-scenarios.is-open .nav-scenarios__panel,
  .nav-scenarios.is-open:hover .nav-scenarios__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .page-home > .home-hero {
    align-items: center !important;
    padding-top: clamp(96px, 18vh, 144px) !important;
    padding-bottom: clamp(34px, 7vh, 56px) !important;
  }

  .page-home > .home-hero .hero-inner,
  .page-home > .home-hero :is(.eyebrow, .hero-title, .hero-copy, .hero-actions) {
    margin-inline: auto;
    text-align: center;
  }

  .page-home > .home-hero .hero-copy {
    justify-items: center;
  }

  .page-home > .home-hero .hero-copy > p {
    max-width: 100%;
    margin-inline: auto;
  }
}

/* Keep the two Early Access routes clear of the shared fixed header after the
   secondary-page spacing pass above. */
.page-experience.secondary-unified-page > .experience-page-section,
.page-register.secondary-unified-page > .register-page-section {
  width: min(100% - var(--page-rail) * 2, 1040px);
  padding: clamp(124px, 13vh, 160px) 0 clamp(86px, 10vh, 126px);
}

.experience-submit:focus-visible,
.register-coming-soon .button:focus-visible {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(245, 155, 50, 0.18) !important;
  outline: none;
}

.page-experience .experience-submit-note,
.page-experience .experience-form__status,
.page-experience .experience-privacy {
  font-size: 13px !important;
  line-height: 1.68 !important;
}

.page-login .qishu-registration-status {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

@media (max-width: 640px) {
  .page-experience.secondary-unified-page > .experience-page-section,
  .page-register.secondary-unified-page > .register-page-section {
    width: calc(100% - 40px);
    padding-top: 116px;
    padding-bottom: 72px;
  }
}
