:root {
  --ink: #14181f;
  --ink-soft: #2a3140;
  --paper: #eef2f5;
  --paper-deep: #dce4ea;
  --mist: #8b96a5;
  --accent: #0b6b63;
  --accent-deep: #084f4a;
  --line: rgba(20, 24, 31, 0.12);
  --hero-fg: #f4f7f8;
  --hero-muted: rgba(244, 247, 248, 0.72);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem);
  mix-blend-mode: difference;
  color: #fff;
}

.site-header.is-mobile-nav {
  mix-blend-mode: normal;
  color: #f4f7f8;
  background: rgba(10, 14, 19, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  position: relative;
  z-index: 2;
}

.nav-toggle {
  position: relative;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.site-header.is-nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a {
  opacity: 0.85;
  transition: opacity 0.25s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
}

.nav a[aria-current="page"]:not(.nav-cta) {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

.nav-cta {
  opacity: 1 !important;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

/* Mobile navigation panel */
.site-header.is-mobile-nav .nav-toggle {
  display: inline-flex;
}

.site-header.is-mobile-nav .nav {
  position: fixed;
  inset: 0 0 auto;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  padding: 5.5rem 1.5rem 2.5rem;
  background: rgba(10, 14, 19, 0.96);
  color: #f4f7f8;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  z-index: 1;
}

.site-header.is-mobile-nav.is-nav-open .nav {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header.is-mobile-nav .nav a {
  opacity: 1;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid rgba(244, 247, 248, 0.12);
}

.site-header.is-mobile-nav .nav a[aria-current="page"] {
  color: #7fd4cb;
}

.site-header.is-mobile-nav .nav-cta {
  border-bottom: 1px solid rgba(244, 247, 248, 0.12);
  margin-top: 0.5rem;
  color: #7fd4cb;
}

/* —— Hero —— */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--hero-fg);
  background: #0c1218;
  min-height: 72vh;
  min-height: 72dvh;
}

@media (min-width: 861px) {
  .hero {
    min-height: 78vh;
    min-height: 78dvh;
  }
}

@media (min-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(11rem, 14rem) minmax(17rem, 21rem);
    grid-template-rows: 1fr auto;
    column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
    row-gap: 1.25rem;
    align-items: center;
    padding-right: clamp(1.5rem, 4vw, 3.5rem);
    padding-bottom: 1.75rem;
  }

  .hero-veil {
    background:
      linear-gradient(105deg, rgba(8, 14, 20, 0.94) 0%, rgba(8, 14, 20, 0.78) 30%, rgba(8, 14, 20, 0.45) 52%, rgba(8, 14, 20, 0.55) 100%),
      linear-gradient(180deg, rgba(8, 14, 20, 0.22) 0%, rgba(8, 14, 20, 0.62) 100%),
      radial-gradient(ellipse 55% 45% at 78% 40%, rgba(11, 107, 99, 0.18), transparent 65%);
  }

  .hero-content {
    width: auto;
    max-width: 42rem;
    grid-row: 1;
    padding-bottom: 1.5rem;
  }

  .hero-cards-row {
    grid-row: 1;
  }

  .hero-promise {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    position: relative;
    z-index: 1;
    grid-template-columns: auto 1fr;
    gap: 1.25rem 2rem;
    align-items: center;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(244, 247, 248, 0.12);
    background: linear-gradient(90deg, rgba(12, 20, 26, 0.78), rgba(12, 20, 26, 0.45));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: rise 1.2s var(--ease) 0.16s both;
  }
}

@media (min-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(12.5rem, 15.5rem) minmax(18rem, 22rem);
  }

  .page-home .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(30rem, 38rem);
  }

  .page-home .hero-cards-row {
    grid-template-columns: minmax(12.5rem, 15.5rem) minmax(18rem, 22rem);
  }
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.05);
  filter: saturate(0.92) brightness(0.68);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

#mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.55;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 14, 20, 0.92) 0%, rgba(8, 14, 20, 0.72) 38%, rgba(8, 14, 20, 0.28) 68%, rgba(8, 14, 20, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 14, 20, 0.2) 0%, rgba(8, 14, 20, 0.55) 100%),
    radial-gradient(ellipse 60% 50% at 75% 35%, rgba(11, 107, 99, 0.2), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(50rem, 100%);
  padding: clamp(5rem, 10vh, 6.5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.25rem, 5vh, 3.5rem);
  animation: rise 1.1s var(--ease) both;
}

/* Three-tier copy: brand / statement / lede */
.hero-copy {
  display: grid;
  gap: 0;
  margin-bottom: 1.65rem;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw + 0.55rem, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

@media (min-width: 861px) {
  .brand {
    white-space: nowrap;
    font-size: clamp(1.5rem, 1.5vw + 0.6rem, 2rem);
    letter-spacing: 0.14em;
  }
}

.brand::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 1.15rem;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-statement {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 247, 248, 0.14);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
  margin: 0;
  color: rgba(244, 247, 248, 0.92);
  display: grid;
  gap: 0.45rem;
}

.hero-line {
  display: block;
}

.hero-line + .hero-line {
  color: rgba(244, 247, 248, 0.72);
  font-size: 0.92em;
}

.lede {
  margin: 1.35rem 0 0;
  padding: 1.1rem 0 0 1rem;
  border-left: 2px solid rgba(26, 154, 143, 0.55);
  font-size: clamp(0.9rem, 1.35vw, 0.98rem);
  line-height: 1.85;
  color: rgba(244, 247, 248, 0.62);
  max-width: 34em;
}

.hero-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0 0 1.35rem;
  padding: 0;
}

.hero-pills li {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(244, 247, 248, 0.82);
  border-left: 1px solid rgba(127, 212, 203, 0.55);
  padding: 0.15rem 0 0.15rem 0.65rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

/* Desktop-only center axis — hidden on mobile */
.hero-cards-row {
  display: none;
}

@media (min-width: 1100px) {
  .hero-cards-row {
    display: grid;
    grid-template-columns: minmax(11rem, 14rem) minmax(17rem, 21rem);
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    align-items: stretch;
    position: relative;
    z-index: 1;
    animation: rise 1.15s var(--ease) 0.08s both;
  }

  .hero-mid-col {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .hero-mid {
    display: flex;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
    min-height: 22rem;
    animation: rise 1.15s var(--ease) 0.08s both;
  }

  .hero-mid-axis {
    position: absolute;
    top: 8%;
    bottom: 8%;
    left: 0.55rem;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(127, 212, 203, 0.55) 18%,
      rgba(127, 212, 203, 0.55) 82%,
      transparent
    );
  }

  .hero-mid-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.35rem;
    width: 100%;
  }

  .hero-mid-list li {
    position: relative;
    padding-left: 1.55rem;
    display: grid;
    gap: 0.2rem;
  }

  .hero-mid-list li::before {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 0.45rem;
    width: 0.5rem;
    height: 0.5rem;
    border: 1px solid rgba(127, 212, 203, 0.9);
    background: rgba(10, 20, 24, 0.85);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(11, 107, 99, 0.12);
  }

  .hero-mid-list strong {
    font-family: var(--serif);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(244, 247, 248, 0.92);
  }

  .hero-mid-list span {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(244, 247, 248, 0.55);
  }
}

/* Desktop-only right panel — hidden on mobile */
.hero-aside {
  display: none;
}

@media (min-width: 1100px) {
  .hero-aside {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    animation: rise 1.2s var(--ease) 0.12s both;
  }

  .hero-aside-panel {
    border: 1px solid rgba(244, 247, 248, 0.16);
    background:
      linear-gradient(160deg, rgba(16, 24, 32, 0.72), rgba(10, 16, 22, 0.55));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1.35rem 1.25rem 1.2rem;
  }

  .hero-aside-label {
    margin: 0 0 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7fd4cb;
  }

  .hero-aside-item {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    gap: 0.85rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(244, 247, 248, 0.1);
    color: #f4f7f8;
    transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
  }

  .hero-aside-item:hover {
    padding-left: 0.35rem;
  }

  .hero-aside-index {
    font-family: var(--serif);
    font-size: 0.95rem;
    color: rgba(127, 212, 203, 0.9);
    letter-spacing: 0.06em;
    padding-top: 0.15rem;
  }

  .hero-aside-body {
    display: grid;
    gap: 0.25rem;
  }

  .hero-aside-body strong {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .hero-aside-body em {
    font-style: normal;
    font-size: 0.82rem;
    color: rgba(244, 247, 248, 0.55);
  }

  .hero-aside-body span {
    font-size: 0.8rem;
    line-height: 1.55;
    color: rgba(244, 247, 248, 0.68);
  }

  .hero-aside-foot {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(244, 247, 248, 0.12);
  }

  .hero-aside-foot > span {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: rgba(244, 247, 248, 0.45);
  }

  .hero-aside-foot a {
    font-family: var(--serif);
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: #7fd4cb;
    border-bottom: 1px solid rgba(127, 212, 203, 0.35);
    width: fit-content;
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
  }

  .hero-aside-foot a:hover {
    color: #a8ebe3;
    border-color: rgba(168, 235, 227, 0.7);
  }
}

/* Desktop-only bottom promise strip — hidden on mobile */
.hero-promise {
  display: none;
}

@media (min-width: 1100px) {
  .hero-promise {
    display: grid;
  }

  .hero-promise-label {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7fd4cb;
    white-space: nowrap;
  }

  .hero-promise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
  }

  .hero-promise-grid div {
    display: grid;
    gap: 0.25rem;
    padding-left: 0.85rem;
    border-left: 1px solid rgba(127, 212, 203, 0.35);
  }

  .hero-promise-grid strong {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(244, 247, 248, 0.92);
  }

  .hero-promise-grid span {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(244, 247, 248, 0.55);
  }
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  color: rgba(244, 247, 248, 0.55);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  transition: color 0.25s var(--ease);
}

.hero-scroll:hover {
  color: rgba(244, 247, 248, 0.9);
}

.hero-scroll i {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  animation: scrollNudge 1.6s var(--ease) infinite;
}

@keyframes scrollNudge {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.55; }
  50% { transform: rotate(45deg) translate(2px, 2px); opacity: 1; }
}

@media (max-width: 860px) {
  .hero {
    min-height: 0;
    align-items: stretch;
    display: flex;
    flex-direction: column;
  }

  .hero-visual {
    position: relative;
    /* Cap image height so Pro / Max tall screens don't leave a huge empty middle */
    height: clamp(11.5rem, 34vh, 16.5rem);
    min-height: 0;
    flex: 0 0 auto;
  }

  .hero-photo {
    object-position: center 30%;
    filter: saturate(0.9) brightness(0.55);
  }

  .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: -3.25rem;
    background: linear-gradient(180deg, transparent, rgba(8, 14, 20, 0.94) 18%, #0c1218 48%);
    padding: 2.75rem 1.15rem 1.35rem;
  }

  .brand {
    font-size: 1.18rem;
    letter-spacing: 0.06em;
    white-space: normal;
  }

  .brand::after {
    margin-top: 0.9rem;
    width: 2.5rem;
  }

  .hero-statement {
    margin-top: 1.25rem;
    padding-top: 1.15rem;
  }

  .hero h1 {
    font-size: 1.18rem;
    gap: 0.35rem;
  }

  .lede {
    margin-top: 1.05rem;
    padding: 0.85rem 0 0 0.85rem;
    font-size: 0.88rem;
    line-height: 1.75;
  }

  .hero-copy {
    margin-bottom: 1.25rem;
  }

  .hero-pills {
    margin-bottom: 1.05rem;
  }

  .hero-scroll {
    display: none;
  }
}

/* Tall phones / Pro Max: fill extra vertical space with denser rhythm */
@media (max-width: 480px) and (min-height: 780px) {
  .hero-visual {
    height: clamp(12rem, 30vh, 15rem);
  }

  .page-home .hero-visual {
    height: clamp(14rem, 34vh, 17.5rem);
  }

  .page-home .hero-photo {
    object-position: 24% 18%;
  }

  .hero-content {
    margin-top: -2.75rem;
    padding-bottom: 1.1rem;
  }

  .bridge-item {
    padding: 1rem 1.15rem;
  }

  .section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .product-visual {
    aspect-ratio: 16 / 11;
  }

  .scene {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .about-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* —— Bridge band —— */
.bridge {
  display: grid;
  background: #10161d;
  border-top: 1px solid rgba(244, 247, 248, 0.06);
  border-bottom: 1px solid rgba(244, 247, 248, 0.06);
}

@media (min-width: 760px) {
  .bridge {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bridge-item {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem clamp(1.15rem, 3vw, 2rem);
  color: #f4f7f8;
  border-bottom: 1px solid rgba(244, 247, 248, 0.08);
  transition: background 0.25s var(--ease);
}

@media (min-width: 760px) {
  .bridge-item {
    border-bottom: 0;
    border-right: 1px solid rgba(244, 247, 248, 0.08);
    padding: 1.5rem 1.75rem;
  }

  .bridge-item:last-child {
    border-right: 0;
  }
}

.bridge-item:hover {
  background: rgba(26, 154, 143, 0.12);
}

.bridge-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.bridge-desc {
  font-size: 0.88rem;
  color: rgba(244, 247, 248, 0.55);
}

.bridge-contact .bridge-name {
  color: #7fd4cb;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #f5fbfa;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--hero-fg);
  border-color: rgba(244, 247, 248, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(244, 247, 248, 0.7);
}

.contact .btn-primary {
  margin-top: 0.25rem;
}

/* —— Sections —— */
.section {
  padding: clamp(2.75rem, 6vh, 4.5rem) clamp(1.15rem, 4vw, 3.5rem);
}

/* Unified text stack rhythm */
.text-stack > * + * {
  margin-top: 0.85rem;
}

.text-stack > h2 + p,
.text-stack > h3 + p,
.text-stack > .section-lead {
  margin-top: 0.75rem;
}

.text-stack > .section-label + h2 {
  margin-top: 0.55rem;
}

.text-stack > .product-tag + h2,
.text-stack > .product-tag + h3 {
  margin-top: 0.45rem;
}

.text-stack > .product-subtitle {
  margin-top: 0.35rem;
}

.text-stack > .product-slogan {
  margin-top: 0.95rem;
}

.text-stack > .product-intro + .capability-grid,
.text-stack > .product-intro + .product-points {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.text-stack > .contact-hint {
  margin-top: 0.35rem;
}

.text-stack > .contact-block {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 247, 248, 0.12);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.section-label-light {
  color: #7fd4cb;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  display: grid;
  gap: 0;
}

.section-head .section-label {
  margin-bottom: 0.55rem;
}

.section-head h2 {
  margin: 0;
}

.section-head .section-lead,
.section-lead {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 34em;
}

.section-lead-light {
  color: var(--hero-muted) !important;
}

.section-head h2,
.about-copy h2,
.contact-panel h1,
.contact-panel h2,
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.section-head p,
.about-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-copy p + p {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.value-row span {
  position: relative;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  padding-left: 0.75rem;
}

.value-row span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

/* —— Inner page hero —— */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--hero-fg);
  background:
    radial-gradient(ellipse 55% 50% at 88% 0%, rgba(11, 107, 99, 0.22), transparent 60%),
    linear-gradient(165deg, #101820 0%, #0c1218 55%, #0a1016 100%);
  padding: clamp(5.5rem, 12vh, 7.25rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.25rem, 5vh, 3.25rem);
}

.page-hero-inner {
  max-width: 40rem;
  animation: rise 1s var(--ease) both;
}

.page-hero h1 {
  margin: 0.45rem 0 0;
}

.page-hero-lead {
  margin: 0.9rem 0 0;
  color: var(--hero-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 34em;
}

.value-row-light {
  border-top-color: rgba(244, 247, 248, 0.14);
}

.value-row-light span {
  color: rgba(127, 212, 203, 0.92);
}

.contact-page {
  min-height: 70vh;
  min-height: 70dvh;
  display: grid;
  align-items: center;
  padding-top: clamp(6rem, 14vh, 8rem);
}

.product[id] {
  scroll-margin-top: 5.5rem;
}

/* —— Products —— */
.products {
  background:
    linear-gradient(180deg, #f7f9fb 0%, #eef2f5 100%);
}

.product-stack {
  max-width: 72rem;
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
}

.product {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.product-visual {
  margin: 0;
  overflow: hidden;
  background: #0c1218;
  aspect-ratio: 3 / 2;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease);
}

.product.reveal.is-visible .product-visual img,
.product-visual:hover img {
  transform: scale(1.03);
}

.product-content {
  display: grid;
  gap: 1.5rem 2.5rem;
  padding-top: 0.1rem;
}

@media (min-width: 960px) {
  .product {
    grid-template-columns: 1.05fr 1.1fr;
    align-items: start;
    gap: 2.25rem 3rem;
  }

  .product-visual {
    aspect-ratio: 4 / 3;
    min-height: 20rem;
    position: sticky;
    top: 5.5rem;
  }

  .product-content {
    grid-template-columns: 1fr;
    padding-top: 0.35rem;
  }

  .product-meta {
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.15rem;
  }

  .product-alt {
    grid-template-columns: 1.1fr 1.05fr;
  }

  .product-alt .product-visual {
    order: 2;
  }

  .product-alt .product-content {
    order: 1;
  }
}

@media (max-width: 959px) {
  .product-visual {
    aspect-ratio: 16 / 10;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

.product-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0;
}

.product-meta h2,
.product-meta h3 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0;
}

.product-subtitle {
  color: var(--mist);
  font-size: 0.98rem;
  margin: 0;
}

.product-slogan {
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0;
}

.capability-grid {
  display: grid;
  gap: 1.35rem 1.75rem;
  margin: 0;
}

@media (min-width: 720px) {
  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.capability {
  padding: 0.15rem 0 0.35rem;
}

.capability + .capability {
  border-top: 0;
}

.capability h3,
.capability h4 {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 0.65rem;
  color: var(--ink);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
}

.capability .product-points {
  gap: 0.5rem;
}

.capability .product-points li {
  font-size: 0.9rem;
  line-height: 1.65;
}

.product-intro,
.product-copy > p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0;
  max-width: 40rem;
}

.product-points {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.product-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 1px;
  background: var(--accent);
}

/* —— Scenes —— */
.scenes {
  background: #e8eef2;
  padding-top: clamp(2.5rem, 5vh, 3.75rem);
  padding-bottom: clamp(2.5rem, 5.5vh, 4rem);
}

.scene-mosaic {
  max-width: 72rem;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .scene-mosaic {
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    min-height: 28rem;
  }

  .scene-lead {
    grid-row: 1 / span 2;
  }
}

.scene {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #0c1218;
  min-height: 11rem;
  aspect-ratio: 16 / 10;
}

@media (min-width: 900px) {
  .scene {
    aspect-ratio: auto;
    min-height: 0;
    height: 100%;
  }
}

.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease);
}

.scene.reveal.is-visible img {
  transform: scale(1.03);
}

.scene figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.25rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(8, 12, 18, 0.88));
  color: #f4f7f8;
  display: grid;
  gap: 0.25rem;
}

.scene figcaption strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.scene figcaption span {
  font-size: 0.88rem;
  color: rgba(244, 247, 248, 0.7);
  line-height: 1.5;
}

/* —— Services —— */
.services {
  background:
    linear-gradient(180deg, #f5f7f9 0%, var(--paper) 100%);
}

.service-list {
  max-width: 68rem;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem 1.5rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service-index {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
}

.service-body h2,
.service-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  margin: 0 0 0.55rem;
  letter-spacing: 0.02em;
}

.service-body p {
  color: var(--ink-soft);
  max-width: 44rem;
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0;
}

@media (min-width: 720px) {
  .service-row {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1.5rem 2.5rem;
    padding: 2rem 0;
  }
}

/* —— About —— */
.about {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(11, 107, 99, 0.08), transparent 55%),
    linear-gradient(165deg, var(--paper-deep), var(--paper) 55%);
}

.about-layout {
  max-width: 72rem;
  display: grid;
  gap: clamp(1.35rem, 3vw, 2.5rem);
}

@media (min-width: 960px) {
  .about-layout {
    grid-template-columns: 1.05fr 1.15fr;
    align-items: stretch;
  }
}

.about-visual {
  margin: 0;
  overflow: hidden;
  background: #1a222c;
  min-height: 12rem;
  aspect-ratio: 4 / 3;
}

@media (min-width: 960px) {
  .about-visual {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease);
}

.about-visual.reveal.is-visible img {
  transform: scale(1.03);
}

.about-main {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2rem);
  align-content: start;
}

.about-aside {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.stat {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.stat span {
  color: var(--mist);
  font-size: 0.92rem;
}

/* —— Contact —— */
.contact {
  background: var(--ink);
  color: var(--hero-fg);
  padding-block: clamp(3rem, 7vh, 4.75rem);
}

.contact-panel {
  max-width: min(42rem, 100%);
}

.contact-panel p {
  color: var(--hero-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
}

.contact-hint {
  color: rgba(127, 212, 203, 0.9) !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.06em;
  margin: 0 !important;
}

.contact-block .contact-company {
  font-family: var(--serif);
  color: var(--hero-fg) !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.04em;
  margin: 0 0 1.1rem !important;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.contact-list > div {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(244, 247, 248, 0.08);
}

.contact-list > div:last-child {
  border-bottom: 0;
}

.contact-list dt {
  color: rgba(244, 247, 248, 0.45);
  font-size: 0.88rem;
}

.contact-list dd {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.contact-list a {
  border-bottom: 1px solid rgba(244, 247, 248, 0.35);
  transition: border-color 0.25s var(--ease);
}

.contact-list a:hover {
  border-color: rgba(244, 247, 248, 0.8);
}

.contact .btn-primary {
  background: #1a9a8f;
  border-color: #1a9a8f;
  color: #061412;
}

.contact .btn-primary:hover {
  background: #27b5a8;
  border-color: #27b5a8;
}

/* —— Footer —— */
.site-footer {
  background: #0a0e13;
  color: rgba(244, 247, 248, 0.55);
  padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem) 2.75rem;
  font-size: 0.88rem;
}

.footer-brand {
  font-family: var(--serif);
  color: rgba(244, 247, 248, 0.88);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.footer-note {
  max-width: 42rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-beian {
  margin: 0 0 0.85rem;
  line-height: 1.6;
}

.footer-beian a {
  color: rgba(244, 247, 248, 0.45);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.footer-beian a:hover {
  color: rgba(244, 247, 248, 0.75);
  text-decoration: underline;
}

.footer-copy {
  color: rgba(244, 247, 248, 0.35);
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content,
  .page-hero-inner,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-photo {
    animation: none !important;
  }
  .hero-scroll i {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .service-row {
    grid-template-columns: 2.75rem 1fr;
  }

  .section {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .brand {
    font-size: 1.05rem;
    letter-spacing: 0.05em;
  }

  .product-meta h2,
  .product-meta h3 {
    font-size: 1.55rem;
  }

  .scene figcaption {
    padding: 1rem 0.9rem 0.9rem;
  }

  .scene figcaption span {
    display: none;
  }

  .value-row {
    gap: 0.45rem 0.85rem;
    margin-top: 0.9rem;
    padding-top: 0.85rem;
  }

  .value-row span {
    font-size: 0.75rem;
  }

  .bridge-desc {
    font-size: 0.8rem;
  }
}

/* —— Homepage: light corporate theme —— */
.page-home {
  --hero-fg: var(--ink);
  --hero-muted: var(--ink-soft);
  background: #fff;
}

.page-home .site-header {
  mix-blend-mode: normal;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.page-home .site-header.is-mobile-nav {
  color: var(--ink);
}

@media (min-width: 861px) {
  .page-home .site-header.is-mobile-nav {
    background: rgba(255, 255, 255, 0.96);
  }
}

.page-home .site-header.is-mobile-nav .nav {
  background: #fff;
  color: var(--ink);
}

.page-home .site-header.is-mobile-nav .nav a {
  border-bottom-color: var(--line);
}

.page-home .site-header.is-mobile-nav .nav a[aria-current="page"],
.page-home .site-header.is-mobile-nav .nav-cta {
  color: var(--accent);
}

.page-home .nav a {
  opacity: 0.72;
}

.page-home .nav a:hover,
.page-home .nav a[aria-current="page"] {
  opacity: 1;
  color: var(--ink);
}

.page-home .nav-cta {
  color: var(--accent) !important;
  border-bottom-color: var(--accent) !important;
}

.page-home .hero {
  background: #fff;
  color: var(--ink);
}

.page-home .hero-photo {
  filter: saturate(0.88) brightness(1.08);
  opacity: 0.92;
}

.page-home #mesh {
  opacity: 0.3;
}

.page-home .hero-veil {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 32%, rgba(255, 255, 255, 0.55) 58%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.65) 100%),
    radial-gradient(ellipse 55% 45% at 78% 40%, rgba(11, 107, 99, 0.06), transparent 65%);
}

@media (min-width: 1100px) {
  .page-home .hero-veil {
    background:
      linear-gradient(105deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 30%, rgba(255, 255, 255, 0.45) 52%, rgba(255, 255, 255, 0.18) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.55) 100%),
      radial-gradient(ellipse 55% 45% at 78% 40%, rgba(11, 107, 99, 0.05), transparent 65%);
  }

  .page-home .hero-promise {
    border: 1px solid var(--line);
    background: #f8fafb;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.page-home .brand {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.page-home .brand::after {
  display: none;
}

.page-home .hero-copy {
  margin-bottom: 1.75rem;
}

.page-home .hero-statement {
  margin-top: 0.85rem;
  padding-top: 0;
  border-top: none;
}

.page-home .hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.02em;
  gap: 0.7rem;
  color: var(--ink);
}

.page-home .hero-line + .hero-line {
  color: inherit;
  font-size: inherit;
}

.page-home .hero-line--primary {
  color: var(--ink);
}

.page-home .hero-line--secondary {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.page-home .lede {
  margin-top: 1.35rem;
  padding: 0;
  border-left: none;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.8;
  color: var(--mist);
  max-width: 32em;
}

.page-home .lede::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(11, 107, 99, 0.25));
}

.page-home .hero-pills li {
  color: var(--accent-deep);
  background: rgba(11, 107, 99, 0.06);
  border: 1px solid rgba(11, 107, 99, 0.14);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.76rem;
}

.page-home .btn-ghost {
  color: var(--ink);
  border-color: rgba(20, 24, 31, 0.22);
  background: #fff;
}

.page-home .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: rgba(11, 107, 99, 0.04);
}

.page-home .hero-scroll {
  color: var(--mist);
}

.page-home .hero-scroll:hover {
  color: var(--accent);
}

@media (min-width: 1100px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(28rem, 35rem);
  }

  .page-home .hero-content {
    align-self: center;
  }

  .page-home .hero-cards-row {
    margin-top: clamp(4.75rem, 9vh, 6rem);
    align-self: start;
    box-sizing: border-box;
  }

  .page-home .hero-mid-col,
  .page-home .hero-aside {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .page-home .hero-mid-label,
  .page-home .hero-aside-label {
    margin: 0 0 0.55rem;
    padding-left: 0.2rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    flex-shrink: 0;
  }

  .page-home .hero-mid {
    flex: 1;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    animation: none;
    padding: 1.35rem 1.15rem 1.35rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 6px 28px rgba(20, 24, 31, 0.07);
  }

  .page-home .hero-mid-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    min-height: 100%;
  }

  .page-home .hero-aside-panel {
    flex: 1 1 auto;
    min-height: 0;
  }

  .page-home .hero-mid-axis {
    top: 1.35rem;
    bottom: 1.35rem;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(11, 107, 99, 0.55) 18%,
      rgba(11, 107, 99, 0.55) 82%,
      transparent
    );
  }

  .page-home .hero-mid-list li::before {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 107, 99, 0.12);
  }

  .page-home .hero-mid-list strong {
    color: var(--ink);
    font-weight: 700;
  }

  .page-home .hero-mid-list span {
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 500;
  }

  .page-home .hero-aside-panel {
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }

  .page-home .hero-aside-item {
    grid-template-columns: 2.2rem 1fr;
    gap: 0.75rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 6px 28px rgba(20, 24, 31, 0.07);
    color: var(--ink);
    transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  }

  .page-home .hero-aside-item:hover {
    padding-left: 1.15rem;
    background: rgba(255, 255, 255, 0.72);
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(20, 24, 31, 0.1);
  }

  .page-home .hero-aside-index {
    color: var(--accent);
  }

  .page-home .hero-aside-body em {
    color: var(--mist);
  }

  .page-home .hero-aside-body span {
    color: var(--ink-soft);
  }

  .page-home .hero-aside-foot {
    margin-top: 0;
    padding: 0.95rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .page-home .hero-aside-foot > span {
    color: var(--mist);
  }

  .page-home .hero-aside-foot a {
    color: var(--accent);
    border-bottom-color: rgba(11, 107, 99, 0.35);
  }

  .page-home .hero-aside-foot a:hover {
    color: var(--accent-deep);
    border-color: var(--accent);
  }

  .page-home .hero-promise-label {
    color: var(--accent);
  }

  .page-home .hero-promise-grid div {
    border-left-color: rgba(11, 107, 99, 0.25);
  }

  .page-home .hero-promise-grid strong {
    color: var(--ink);
  }

  .page-home .hero-promise-grid span {
    color: var(--mist);
  }
}

@media (max-width: 860px) {

  .page-home .site-header {
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .page-home .logo {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
  }

  .page-home .nav-toggle {
    width: 2.1rem;
    height: 2.1rem;
  }

  .page-home .site-header.is-mobile-nav:not(.is-nav-open) {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .page-home .site-header.is-mobile-nav.is-nav-open {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--line);
  }

  .page-home .logo,
  .page-home .nav-toggle {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 1px 3px rgba(255, 255, 255, 0.75);
  }

  .page-home .hero-visual {
    --header-overlap: 2.15rem;
    height: clamp(13.5rem, 38vh, 18.5rem);
    margin-top: calc(-1 * (var(--header-overlap) + env(safe-area-inset-top, 0px)));
    padding-top: calc(var(--header-overlap) + env(safe-area-inset-top, 0px));
  }

  .page-home .hero-photo {
    filter: saturate(1.02) brightness(0.98) contrast(1.02);
    opacity: 1;
    object-position: 26% 20%;
    transform: none;
    animation: none;
  }

  .page-home .hero-veil {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.06) 40%,
      rgba(255, 255, 255, 0.55) 88%,
      rgba(255, 255, 255, 0.82) 100%
    );
  }

  .page-home #mesh {
    opacity: 0;
  }

  .page-home .hero-content {
    margin-top: 0;
    background: #fff;
    padding-top: 2rem;
  }

  .page-home .brand {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    white-space: normal;
  }

  .page-home .hero h1 {
    font-size: clamp(1.55rem, 6vw, 1.85rem);
  }

  .page-home .hero-line--secondary {
    font-size: clamp(0.92rem, 3.5vw, 1.05rem);
  }
}

.page-home .bridge {
  background: #f5f7fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .bridge-item {
  color: var(--ink);
  border-bottom-color: var(--line);
}

@media (min-width: 760px) {
  .page-home .bridge-item {
    border-right-color: var(--line);
  }
}

.page-home .bridge-item:hover {
  background: rgba(11, 107, 99, 0.05);
}

.page-home .bridge-desc {
  color: var(--mist);
}

.page-home .bridge-contact .bridge-name {
  color: var(--accent);
}

.page-home .site-footer {
  background: #fff;
  color: var(--mist);
  border-top: 1px solid var(--line);
}

.page-home .footer-brand {
  color: var(--ink);
}

.page-home .footer-beian a {
  color: var(--mist);
}

.page-home .footer-beian a:hover {
  color: var(--ink-soft);
}

.page-home .footer-copy {
  color: rgba(42, 49, 64, 0.45);
}


/* —— Homepage desktop motion —— */
@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes homeSlideIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes homeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes homeAxisGrow {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}


@keyframes homeAxisPulse {
  0%, 100% {
    opacity: 0.55;
    filter: drop-shadow(0 0 1px rgba(11, 107, 99, 0.15));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(11, 107, 99, 0.42));
  }
}

@keyframes homeNodePulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(11, 107, 99, 0.1);
    border-color: rgba(11, 107, 99, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(11, 107, 99, 0.24), 0 0 10px rgba(11, 107, 99, 0.18);
    border-color: rgba(11, 107, 99, 1);
  }
}

@keyframes homeGlassShimmer {
  0%, 70%, 100% {
    transform: translateX(-135%) skewX(-14deg);
    opacity: 0;
  }
  78% {
    opacity: 0.55;
  }
  86% {
    transform: translateX(135%) skewX(-14deg);
    opacity: 0.2;
  }
}

@keyframes homeNavDrop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1100px) {
  .page-home.home-motion .site-header {
    animation: homeNavDrop 0.75s var(--ease) both;
  }

  .page-home.home-motion .nav a {
    animation: homeFadeIn 0.6s var(--ease) both;
  }

  .page-home.home-motion .nav a:nth-child(1) { animation-delay: 0.12s; }
  .page-home.home-motion .nav a:nth-child(2) { animation-delay: 0.18s; }
  .page-home.home-motion .nav a:nth-child(3) { animation-delay: 0.24s; }
  .page-home.home-motion .nav a:nth-child(4) { animation-delay: 0.3s; }
  .page-home.home-motion .nav a:nth-child(5) { animation-delay: 0.36s; }

  .page-home.home-motion .hero-content,
  .page-home.home-motion .hero-cards-row,
  .page-home.home-motion .hero-promise {
    animation: none !important;
  }

  .page-home.home-loaded.home-motion .brand.hero-eyebrow {
    animation: homeFadeUp 0.85s var(--ease) 0.08s both;
  }

  .page-home.home-loaded.home-motion .hero-line--primary {
    animation: homeFadeUp 0.9s var(--ease) 0.18s both;
  }

  .page-home.home-loaded.home-motion .hero-line--secondary {
    animation: homeFadeUp 0.9s var(--ease) 0.28s both;
  }

  .page-home.home-loaded.home-motion .lede {
    animation: homeFadeUp 0.9s var(--ease) 0.38s both;
  }

  .page-home.home-loaded.home-motion .hero-pills li {
    animation: homeFadeUp 0.75s var(--ease) both;
  }

  .page-home.home-loaded.home-motion .hero-pills li:nth-child(1) { animation-delay: 0.48s; }
  .page-home.home-loaded.home-motion .hero-pills li:nth-child(2) { animation-delay: 0.56s; }
  .page-home.home-loaded.home-motion .hero-pills li:nth-child(3) { animation-delay: 0.64s; }
  .page-home.home-loaded.home-motion .hero-pills li:nth-child(4) { animation-delay: 0.72s; }

  .page-home.home-loaded.home-motion .cta-group .btn-primary {
    animation: homeFadeUp 0.8s var(--ease) 0.82s both;
  }

  .page-home.home-loaded.home-motion .cta-group .btn-ghost {
    animation: homeFadeUp 0.8s var(--ease) 0.92s both;
  }

  .page-home.home-loaded.home-motion .hero-scroll {
    animation: homeFadeIn 0.8s var(--ease) 1.05s both;
  }

  .page-home.home-loaded.home-motion .hero-mid-label {
    animation: homeFadeUp 0.75s var(--ease) 0.22s both;
  }

  .page-home.home-loaded.home-motion .hero-aside-label {
    animation: homeFadeUp 0.75s var(--ease) 0.3s both;
  }

  .page-home.home-loaded.home-motion .hero-mid {
    animation: homeScaleIn 0.95s var(--ease) 0.35s both;
  }

  .page-home.home-loaded.home-motion .hero-mid-axis {
    transform-origin: top center;
    animation:
      homeAxisGrow 1s var(--ease) 0.65s both,
      homeAxisPulse 5.5s ease-in-out 1.85s infinite alternate;
  }

  .page-home.home-loaded.home-motion .hero-mid-list li {
    animation: homeSlideIn 0.75s var(--ease) both;
  }

  .page-home.home-loaded.home-motion .hero-mid-list li:nth-child(1) { animation-delay: 0.55s; }
  .page-home.home-loaded.home-motion .hero-mid-list li:nth-child(2) { animation-delay: 0.67s; }
  .page-home.home-loaded.home-motion .hero-mid-list li:nth-child(3) { animation-delay: 0.79s; }
  .page-home.home-loaded.home-motion .hero-mid-list li:nth-child(4) { animation-delay: 0.91s; }

  .page-home.home-loaded.home-motion .hero-aside-item {
    animation: homeSlideIn 0.85s var(--ease) both;
  }

  .page-home.home-loaded.home-motion .hero-aside-item:nth-child(1) {
    animation-delay: 0.45s;
  }

  .page-home.home-loaded.home-motion .hero-aside-item:nth-child(2) {
    animation-delay: 0.6s;
  }

  .page-home.home-loaded.home-motion .hero-aside-foot {
    animation: homeSlideIn 0.85s var(--ease) 0.75s both;
  }

  .page-home.home-loaded.home-motion .hero-promise {
    animation: homeFadeUp 0.95s var(--ease) 0.5s both;
  }

  .page-home.home-loaded.home-motion .hero-promise-grid div {
    animation: homeFadeUp 0.8s var(--ease) both;
  }

  .page-home.home-loaded.home-motion .hero-promise-grid div:nth-child(1) { animation-delay: 0.62s; }
  .page-home.home-loaded.home-motion .hero-promise-grid div:nth-child(2) { animation-delay: 0.72s; }
  .page-home.home-loaded.home-motion .hero-promise-grid div:nth-child(3) { animation-delay: 0.82s; }
  .page-home.home-loaded.home-motion .hero-promise-grid div:nth-child(4) { animation-delay: 0.92s; }

  .page-home.home-motion .bridge.reveal .bridge-item {
    opacity: 0;
    transform: translateY(20px);
  }

  .page-home.home-motion .bridge.reveal.is-visible .bridge-item {
    animation: homeFadeUp 0.85s var(--ease) both;
  }

  .page-home.home-motion .bridge.reveal.is-visible .bridge-item:nth-child(1) { animation-delay: 0.05s; }
  .page-home.home-motion .bridge.reveal.is-visible .bridge-item:nth-child(2) { animation-delay: 0.15s; }
  .page-home.home-motion .bridge.reveal.is-visible .bridge-item:nth-child(3) { animation-delay: 0.25s; }

  .page-home.home-loaded.home-motion .hero-aside-item {
    transition: background 0.25s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  }

  .page-home.home-loaded.home-motion .hero-aside-item:hover {
    transform: translateY(-3px);
  }

  .page-home.home-loaded.home-motion .hero-photo {
    animation: heroDrift 24s ease-in-out infinite alternate;
  }
  /* Loop: axis node breathe */
  .page-home.home-loaded.home-motion .hero-mid-list li::before {
    animation: homeNodePulse 3.8s ease-in-out infinite alternate;
  }

  .page-home.home-loaded.home-motion .hero-mid-list li:nth-child(1)::before { animation-delay: 0s; }
  .page-home.home-loaded.home-motion .hero-mid-list li:nth-child(2)::before { animation-delay: 0.7s; }
  .page-home.home-loaded.home-motion .hero-mid-list li:nth-child(3)::before { animation-delay: 1.4s; }
  .page-home.home-loaded.home-motion .hero-mid-list li:nth-child(4)::before { animation-delay: 2.1s; }

  /* Loop: glass card shimmer */
  .page-home.home-loaded.home-motion .hero-mid,
  .page-home.home-loaded.home-motion .hero-aside-item,
  .page-home.home-loaded.home-motion .hero-aside-foot {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  .page-home.home-loaded.home-motion .hero-mid::after,
  .page-home.home-loaded.home-motion .hero-aside-item::after,
  .page-home.home-loaded.home-motion .hero-aside-foot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
      115deg,
      transparent 40%,
      rgba(255, 255, 255, 0.62) 50%,
      transparent 60%
    );
    animation: homeGlassShimmer 10s ease-in-out infinite;
  }

  .page-home.home-loaded.home-motion .hero-mid::after { animation-delay: -2.5s; }
  .page-home.home-loaded.home-motion .hero-aside-item:nth-child(1)::after { animation-delay: -5s; }
  .page-home.home-loaded.home-motion .hero-aside-item:nth-child(2)::after { animation-delay: -7.5s; }
  .page-home.home-loaded.home-motion .hero-aside-foot::after { animation-delay: -1s; }

}

@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
  .page-home.home-motion .site-header,
  .page-home.home-loaded.home-motion [class*="hero"],
  .page-home.home-motion .bridge.reveal.is-visible .bridge-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .page-home.home-loaded.home-motion .hero-mid::after,
  .page-home.home-loaded.home-motion .hero-aside-item::after,
  .page-home.home-loaded.home-motion .hero-aside-foot::after {
    display: none;
  }
}
