/* ==========================================================================
   星舰智能 · 企业介绍站 V2 — IMPACT EDITION
   Direction: Type-as-hero + Tactile editorial + visible grid + bold blocks
   Palette: warm cream + vermilion accent + deep ink
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;0,9..144,900;1,9..144,300;1,9..144,400;1,9..144,500&family=JetBrains+Mono:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@300;400;500;600;700;900&family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

/* ---------- 1. Design tokens ---------- */
:root {
  /* Color: pure white paper, cool and clean */
  --paper: #ffffff;
  --paper-2: #f5f4f0;
  --paper-3: #ebe9e2;
  --paper-dark: #161310;
  /* Color: deep ink */
  --ink: #161310;
  --ink-2: #3a342b;
  --ink-3: #6b6358;
  --rule: #d8d5cc;
  --rule-strong: #161310;
  /* Color: deep teal accent — calm, sophisticated, editorial */
  --accent: #1a5566;
  --accent-2: #13434f;
  --accent-3: #2e7585;
  --accent-soft: rgba(26, 85, 102, 0.08);
  --accent-tint: rgba(26, 85, 102, 0.14);
  /* Secondary: deep forest for contrast */
  --forest: #1f3a2e;
  /* Yellow highlight for callouts */
  --highlight: #d4a93a;
  --highlight-soft: rgba(212, 169, 58, 0.18);

  /* Typography */
  --serif: 'Fraunces', 'Noto Serif SC', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --sans:
    'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
    sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;

  /* Container */
  --maxw: 1440px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  /* Grid lines */
  --grid-line: rgba(22, 19, 16, 0.06);
  --grid-line-strong: rgba(22, 19, 16, 0.12);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 0.92vw + 12px, 17px);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  font-feature-settings:
    'kern' 1,
    'liga' 1,
    'calt' 1;
  overflow-x: hidden;
}

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

/* ---------- 3. Typography scale — BIGGER, BOLDER ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 7vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h4 {
  font-size: clamp(1.1rem, 1.2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0;
  font-family: var(--sans);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  transition: opacity 200ms ease;
}
a:hover {
  opacity: 0.7;
}

em,
i {
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}

strong {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- 4. Mono metadata & eyebrows — BIGGER ---------- */
.eyebrow,
.meta,
.tag {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
}
.eyebrow::before {
  content: '§ ';
  opacity: 0.55;
}

.meta {
  color: var(--ink-3);
}
.meta-accent {
  color: var(--accent);
}

/* ---------- 5. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  position: relative;
}

.section--tight {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}
.section--paper-2 {
  background: var(--paper-2);
}
.section--paper-3 {
  background: var(--paper-3);
}
.section--ink {
  background: var(--paper-2);
  color: var(--ink);
}
.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 {
  color: var(--ink);
}
.section--ink .eyebrow {
  color: var(--accent);
}
.section--ink .meta {
  color: var(--ink-3);
}
.section--ink a:not(.btn) {
  color: var(--accent);
  border-color: var(--accent);
}
.section--ink .btn--primary {
  color: var(--paper);
}
.section--accent {
  background: var(--paper-3);
  color: var(--ink);
}
.section--accent h1,
.section--accent h2,
.section--accent h3 {
  color: var(--ink);
}
.section--accent .eyebrow {
  color: var(--accent);
}
.section--accent .meta {
  color: var(--ink-3);
}
.section--accent a {
  color: var(--accent);
  border-color: var(--accent);
}

.grid {
  display: grid;
  gap: var(--space-8);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.grid-12 {
  grid-template-columns: repeat(12, 1fr);
}

@media (max-width: 880px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }
  .grid-12 {
    grid-template-columns: 1fr;
  }
}

/* ---------- 6. Navigation — bolder, with bottom accent bar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 2px solid var(--ink);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 72px;
}

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  color: var(--ink);
  border: none;
}
.nav__brand:hover {
  border: none;
  opacity: 1;
}

.nav__brand-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav__brand-meta {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  border: none;
  border-bottom: 2px solid transparent;
  transition:
    color 200ms ease,
    border-color 200ms ease;
}
.nav__links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  opacity: 1;
}
.nav__links a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav__menu-toggle {
  display: none;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav__links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4) var(--gutter);
    gap: var(--space-3);
    transform: translateY(-130%);
    transition: transform 320ms cubic-bezier(0.85, 0, 0.15, 1);
  }
  .nav__links.is-open {
    transform: translateY(0);
  }
  .nav__menu-toggle {
    display: block;
  }
}

/* ---------- 7. HERO — MASSIVE TYPE, GRID BACKDROP ---------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 12fr;
  gap: var(--space-6);
  position: relative;
  z-index: 2;
}

.hero__headline {
  font-size: clamp(2.75rem, 7.5vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1.1;
  max-width: 18ch;
}

.hero__headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
  display: inline-block;
  position: relative;
}

.hero__headline em::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.06em;
  height: 0.18em;
  background: var(--accent);
  opacity: 0.18;
  z-index: -1;
}

.hero__sub {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 52ch;
  margin-top: var(--space-8);
  font-weight: 400;
}

/* Hero atmospheric backdrop: BIG grid + accent block */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: -15%;
  width: 55vw;
  height: 100%;
  background: var(--accent);
  opacity: 0.06;
  transform: skewX(-12deg);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5),
    transparent 80%
  );
}

/* Hero giant background word */
.hero__ghost {
  position: absolute;
  bottom: -2vw;
  left: -2vw;
  right: -2vw;
  font-family: var(--serif);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.8;
  color: var(--ink);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.06em;
  white-space: nowrap;
  overflow: hidden;
}

/* ---------- 8. Reveal animation — more dramatic ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal--stagger > * {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal--stagger.is-in > * {
  opacity: 1;
  transform: none;
}
.reveal--stagger.is-in > *:nth-child(1) {
  transition-delay: 0ms;
}
.reveal--stagger.is-in > *:nth-child(2) {
  transition-delay: 100ms;
}
.reveal--stagger.is-in > *:nth-child(3) {
  transition-delay: 200ms;
}
.reveal--stagger.is-in > *:nth-child(4) {
  transition-delay: 300ms;
}
.reveal--stagger.is-in > *:nth-child(5) {
  transition-delay: 400ms;
}
.reveal--stagger.is-in > *:nth-child(6) {
  transition-delay: 500ms;
}

/* Reveal from left (for asymmetric layouts) */
.reveal--left {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal--left.is-in {
  opacity: 1;
  transform: none;
}

/* Reveal scale (for big numbers) */
.reveal--scale {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 1000ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1000ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal--scale.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--stagger > *,
  .reveal--left,
  .reveal--scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- 9. Section heading — BIGGER, with giant number ---------- */
.shead {
  display: grid;
  grid-template-columns: 12fr;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
  position: relative;
}
.shead__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  border-top: 2px solid var(--ink);
  padding-top: var(--space-4);
}
.shead__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
}
.shead__title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 20ch;
  margin-top: var(--space-4);
}
.shead__title em {
  font-style: italic;
  color: var(--accent);
}

/* Giant ghost number behind section */
.shead__ghost-num {
  position: absolute;
  top: -0.3em;
  right: -0.1em;
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 14rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
}

/* ---------- 10. Pull quote — BIGGER ---------- */
.pullquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--ink);
  padding: var(--space-8) 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  margin: var(--space-12) 0;
  max-width: 42ch;
  position: relative;
}
.pullquote::before {
  content: '"';
  position: absolute;
  top: 0.1em;
  left: -0.5em;
  font-size: 1.5em;
  color: var(--accent);
  opacity: 0.4;
  font-style: italic;
}
.pullquote--accent {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- 11. Prose body ---------- */
.prose {
  font-size: clamp(15px, 0.95vw, 17px);
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 70ch;
}
.prose p {
  margin: 0 0 1.1rem;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose strong {
  color: var(--ink);
}
.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin: 0 0 1.2rem;
}
.prose li {
  margin: 0 0 0.4rem;
}
.prose h4 {
  margin: var(--space-6) 0 var(--space-2);
}

/* ---------- 12. Card / cell — bolder borders ---------- */
.cell {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.8rem);
  position: relative;
  transition:
    transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
    background 160ms ease,
    color 160ms ease;
}
.cell:hover {
  transform: translate(-4px, -4px);
  background: var(--ink);
  color: var(--paper);
}
.cell:hover .cell__title,
.cell:hover h3 {
  color: var(--paper);
}
.cell:hover .cell__body,
.cell:hover p {
  color: rgba(255, 255, 255, 0.8);
}
.cell:hover strong {
  color: var(--paper);
}
.cell:hover .cell__num {
  color: var(--accent-3);
}
.cell:hover .cell__meta {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
}

.cell__num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  transition: color 280ms ease;
}
.cell__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.6vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--space-3);
  transition: color 280ms ease;
}
.cell__body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-2);
  transition: color 280ms ease;
}
.cell__meta {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition:
    color 280ms ease,
    border-color 280ms ease;
}

/* ---------- 13. Product card — bolder, with accent stripe ---------- */
.product {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  min-height: 360px;
  overflow: hidden;
  transition:
    transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
    background 180ms ease,
    color 180ms ease;
}
.product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product:hover {
  transform: translateY(-6px);
  background: var(--ink);
  color: var(--paper);
}
.product:hover::before {
  transform: scaleX(1);
}
.product:hover .product__name,
.product:hover h3 {
  color: var(--paper);
}
.product:hover .product__desc,
.product:hover p {
  color: rgba(255, 255, 255, 0.78);
}
.product:hover strong {
  color: var(--paper);
}
.product:hover .product__tag .id {
  color: var(--accent-3);
}
.product:hover .product__tag .stage {
  color: rgba(255, 255, 255, 0.6);
}
.product:hover .product__metrics {
  border-color: rgba(255, 255, 255, 0.2);
}
.product:hover .product__metric .label {
  color: rgba(255, 255, 255, 0.6);
}
.product:hover .product__metric .num {
  color: var(--accent-3);
}

.product__tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 360ms ease;
}
.product__tag .id {
  color: var(--accent);
}
.product__tag .stage {
  color: var(--ink-3);
}
.product__name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin-top: var(--space-2);
  transition: color 360ms ease;
}
.product__name em {
  font-style: italic;
  color: var(--accent);
}
.product__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
  flex: 1;
  transition: color 360ms ease;
}
.product__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule);
  margin-top: auto;
  transition: border-color 360ms ease;
}
.product__metric .num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 360ms ease;
}
.product__metric .label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
  transition: color 360ms ease;
}

/* ---------- 14. Stat band — GIANT NUMBERS ---------- */
.statband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.statband .stat {
  padding: var(--space-8) var(--space-4);
  border-right: 1px solid var(--rule);
}
.statband .stat:last-child {
  border-right: none;
}

@media (max-width: 880px) {
  .statband {
    grid-template-columns: repeat(2, 1fr);
  }
  .statband .stat:nth-child(2) {
    border-right: none;
  }
  .statband .stat:nth-child(1),
  .statband .stat:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }
}
.statband .stat .num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--accent);
}
.statband .stat .num em {
  font-style: italic;
  font-weight: 400;
}
.statband .stat .label {
  margin-top: var(--space-4);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 18ch;
}

/* ---------- 15. Callout — bolder, with accent block ---------- */
.callout {
  border-left: 4px solid var(--accent);
  padding: var(--space-4) var(--space-6);
  background: var(--accent-soft);
  font-family: var(--sans);
  color: var(--ink);
  margin: var(--space-6) 0;
  font-size: 0.95rem;
  line-height: 1.65;
}
.callout strong {
  color: var(--accent);
}

.callout--lg {
  padding: var(--space-8) var(--space-12);
  border-left: 6px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), transparent 70%);
  font-size: 1rem;
  line-height: 1.7;
}

.callout--highlight {
  border-left: 6px solid var(--highlight);
  background: var(--highlight-soft);
}
.callout--highlight strong {
  color: var(--ink);
  background: var(--highlight);
  padding: 2px 6px;
}

/* ---------- 16. Footer — light, bold ink borders ---------- */
.footer {
  background: var(--paper-2);
  color: var(--ink-2);
  padding: var(--space-20) 0 var(--space-8);
  border-top: 6px solid var(--ink);
}
.footer h3,
.footer h4 {
  color: var(--ink);
}
.footer .eyebrow {
  color: var(--accent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (max-width: 880px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--space-4);
}
.footer__col a {
  color: var(--ink-2);
  border: none;
  display: block;
  padding: 4px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}
.footer__col a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  opacity: 1;
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--space-3);
}
.footer__tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.footer__bottom {
  border-top: 2px solid var(--ink);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 17. Utilities ---------- */
.flex {
  display: flex;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.gap-2 {
  gap: var(--space-2);
}
.gap-3 {
  gap: var(--space-3);
}
.gap-4 {
  gap: var(--space-4);
}
.gap-6 {
  gap: var(--space-6);
}
.mt-2 {
  margin-top: var(--space-2);
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mt-8 {
  margin-top: var(--space-8);
}
.mt-12 {
  margin-top: var(--space-12);
}
.mb-2 {
  margin-bottom: var(--space-2);
}
.mb-4 {
  margin-bottom: var(--space-4);
}
.mb-6 {
  margin-bottom: var(--space-6);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.text-accent {
  color: var(--accent);
}
.text-ink-3 {
  color: var(--ink-3);
}
.text-right {
  text-align: right;
}
.center {
  text-align: center;
}
.uppercase {
  text-transform: uppercase;
}
.italic {
  font-style: italic;
}
.mono {
  font-family: var(--mono);
}
.serif {
  font-family: var(--serif);
}

/* ---------- 18. Page intro — BIGGER ---------- */
.page-intro {
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.page-intro__eyebrow {
  margin-bottom: var(--space-4);
}
.page-intro__title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 16ch;
}
.page-intro__title em {
  font-style: italic;
  color: var(--accent);
}
.page-intro__sub {
  margin-top: var(--space-6);
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
}

/* Ghost number for page intro */
.page-intro__ghost {
  position: absolute;
  bottom: -3vw;
  right: -3vw;
  font-family: var(--serif);
  font-size: clamp(8rem, 20vw, 20rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.06em;
}

/* ---------- 19. Numbered list (manifesto) — bolder ---------- */
.manifesto {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: m;
}
.manifesto li {
  counter-increment: m;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-6);
  padding: var(--space-8) 0;
  border-top: 2px solid var(--ink);
  align-items: start;
}
.manifesto li:last-child {
  border-bottom: 2px solid var(--ink);
}
.manifesto li::before {
  content: counter(m, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.manifesto h4 {
  margin: 0 0 var(--space-2);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.manifesto p {
  margin: 0;
  color: var(--ink-2);
}

/* ---------- 20. Timeline — bolder ---------- */
.timeline {
  position: relative;
}
.timeline__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-top: 2px solid var(--ink);
  align-items: start;
}
.timeline__item:last-child {
  border-bottom: 2px solid var(--ink);
}
.timeline__date {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 8px;
}
.timeline__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-3);
  letter-spacing: -0.018em;
  line-height: 1.15;
}
.timeline__body {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 880px) {
  .timeline__item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

/* ---------- 21. Link arrow — bolder ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  border: none;
  padding: var(--space-3) 0;
  border-bottom: 3px solid var(--accent);
  transition: gap 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.link-arrow:hover {
  gap: var(--space-4);
  opacity: 1;
}
.link-arrow::after {
  content: '→';
  font-family: var(--sans);
  font-size: 1.1em;
}

/* ---------- Primary button (deep teal) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-4) var(--space-6);
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

/* ---------- 22. Hero stagger reveal — more dramatic ---------- */
.hero-stagger > * {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1000ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1000ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-stagger.is-loaded > * {
  opacity: 1;
  transform: none;
}
.hero-stagger.is-loaded > *:nth-child(1) {
  transition-delay: 100ms;
}
.hero-stagger.is-loaded > *:nth-child(2) {
  transition-delay: 280ms;
}
.hero-stagger.is-loaded > *:nth-child(3) {
  transition-delay: 460ms;
}
.hero-stagger.is-loaded > *:nth-child(4) {
  transition-delay: 640ms;
}
.hero-stagger.is-loaded > *:nth-child(5) {
  transition-delay: 820ms;
}
.hero-stagger.is-loaded > *:nth-child(6) {
  transition-delay: 1000ms;
}

/* ---------- 23. Marquee band — high impact ---------- */
.marquee {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  padding: var(--space-4) 0;
  position: relative;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1;
}
.marquee__item span {
  color: var(--accent);
  font-weight: 500;
}
.marquee__dot {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 0.6em;
  opacity: 0.6;
  line-height: 1;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ---------- 24. Big number block ---------- */
.bignum {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--accent);
}

/* ---------- 25. Accent block section divider ---------- */
.divider-accent {
  background: var(--accent);
  color: var(--paper);
  padding: var(--space-3) 0;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.divider-accent__text {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
  text-align: center;
}

/* ---------- 26. Grid backdrop utility ---------- */
.grid-bg {
  position: relative;
}
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(
    180deg,
    transparent,
    rgba(0, 0, 0, 0.6),
    transparent
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent,
    rgba(0, 0, 0, 0.6),
    transparent
  );
}
.grid-bg > * {
  position: relative;
  z-index: 1;
}

/* ---------- 27. Contact card (light editorial) ---------- */
.contact-card {
  text-decoration: none;
  color: inherit;
  border: 2px solid var(--ink);
  padding: var(--space-6);
  display: block;
  background: var(--paper);
  transition:
    transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
    background 160ms ease,
    color 160ms ease;
}
.contact-card:hover {
  transform: translate(-3px, -3px);
  background: var(--ink);
  color: var(--paper);
}
.contact-card:hover .meta {
  color: var(--accent-3);
}
.contact-card:hover .serif {
  color: var(--paper);
}
.contact-card:hover p,
.contact-card:hover strong {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   28. Mobile responsive — comprehensive adaptation
   ========================================================================== */

/* Route grid gap (moved from inline style) */
.grid-5--route {
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* ---- Tablet & below (max-width: 880px) ---- */
@media (max-width: 880px) {
  /* Reduce section spacing */
  .section {
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
  }

  /* Hero: reduce min-height, stack content */
  .hero {
    min-height: auto;
    padding-top: clamp(2.5rem, 8vw, 4rem);
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
  }

  /* Reduce giant ghost text to avoid overflow issues */
  .hero__ghost,
  .page-intro__ghost {
    font-size: clamp(6rem, 30vw, 12rem);
    opacity: 0.03;
  }

  /* Manifesto: shrink number column */
  .manifesto li {
    grid-template-columns: 64px 1fr;
    gap: var(--space-4);
    padding: var(--space-6) 0;
  }
  .manifesto li::before {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
  .manifesto h4 {
    font-size: 1.25rem;
  }

  /* Footer: reduce top padding */
  .footer {
    padding: var(--space-12) 0 var(--space-6);
  }

  /* Page intro: reduce padding */
  .page-intro {
    padding-top: clamp(2.5rem, 8vw, 4rem);
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
  }

  /* Callout: reduce padding on small screens */
  .callout {
    padding: var(--space-4);
  }
  .callout--lg {
    padding: var(--space-6);
  }

  /* Cells: reduce padding */
  .cell {
    padding: clamp(1.25rem, 4vw, 1.75rem);
  }

  /* Products grid-5 route: 2 columns on tablet */
  .grid-5--route {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact cards: stack */
  .contact-card {
    padding: var(--space-4);
  }

  /* Shead: smaller heading numbers */
  .shead__num {
    font-size: 0.7rem;
  }
  .shead__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* Marquee: smaller font */
  .marquee__item {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
  }
}

/* ---- Phone (max-width: 480px) ---- */
@media (max-width: 480px) {
  /* Further reduce section spacing */
  .section {
    padding-top: clamp(2.5rem, 10vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 10vw, 3.5rem);
  }

  /* Smaller gutter on phones */
  :root {
    --gutter: 1.25rem;
  }

  /* Body font slightly smaller */
  body {
    font-size: 15px;
    line-height: 1.6;
  }

  /* H1: ensure readability on narrow screens */
  h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }
  .hero__headline {
    font-size: clamp(2.1rem, 9.5vw, 2.85rem);
  }
  .page-intro__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  /* H2: smaller on phone */
  h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  /* Statband: single column on phone */
  .statband {
    grid-template-columns: 1fr;
  }
  .statband .stat {
    border-right: none !important;
    border-bottom: 1px solid var(--rule);
  }
  .statband .stat:last-child {
    border-bottom: none;
  }

  /* Footer grid: single column on phone */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* Footer bottom: stack vertically */
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-start;
  }

  /* Manifesto: single column, number inline */
  .manifesto li {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .manifesto li::before {
    font-size: 1.5rem;
    margin-bottom: var(--space-1);
  }

  /* Products route grid: 2 columns on phone (5 items = 3 rows) */
  .grid-5--route {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Nav brand: hide meta tagline on phone */
  .nav__brand-meta {
    display: none;
  }

  /* Contact info list: tighter spacing */
  .contact-card {
    padding: var(--space-4);
  }

  /* Reduce marquee speed on phone */
  .marquee__track {
    animation-duration: 25s;
  }

  /* Ghost text: minimal on phone */
  .hero__ghost,
  .page-intro__ghost {
    font-size: clamp(4rem, 25vw, 7rem);
    opacity: 0.025;
  }

  /* Buttons: full width on phone */
  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Callout large: tighter padding */
  .callout--lg {
    padding: var(--space-4);
  }
}

/* ---- Very small phones (max-width: 360px) ---- */
@media (max-width: 360px) {
  :root {
    --gutter: 1rem;
  }
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 1.85rem;
  }
  .hero__headline {
    font-size: 1.95rem;
  }
  .page-intro__title {
    font-size: 1.85rem;
  }
}

/* ---- Prevent horizontal overflow from any element ---- */
@media (max-width: 880px) {
  .grid,
  [class*='grid-'] {
    max-width: 100%;
  }
  img,
  svg,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }
}
/* 主官网 V4 共用联系页 */
.contact-page-v4 {
  background: #f3f5f7;
  color: #111820;
}

.contact-v4-hero {
  min-height: min(820px, 100dvh);
  display: flex;
  align-items: center;
  padding: 138px 0 72px;
  color: #f4f8ff;
  background:
    radial-gradient(
      circle at 75% 28%,
      rgba(62, 142, 243, 0.26),
      transparent 30%
    ),
    linear-gradient(145deg, #06101f, #0c213a);
}

.contact-v4-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 1.04fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: center;
}

.contact-v4-label {
  margin: 0 0 18px;
  color: #9bc9ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-v4-hero h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--sans, sans-serif);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  color: #f4f8ff;
}

.contact-v4-lead {
  max-width: 58ch;
  margin: 1.5rem 0 0;
  color: #b9c9dc;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-v4-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(188, 218, 251, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.contact-v4-current {
  margin: 0;
  color: #92bfea;
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-v4-panel h2 {
  margin: 0.7rem 0 0;
  font-family: var(--sans, sans-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: #f4f8ff;
}

.contact-v4-panel > p:not(.contact-v4-current):not(.contact-v4-status) {
  color: #b9c9dc;
}

.contact-v4-channels {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.contact-v4-channels a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(188, 218, 251, 0.2);
  border-radius: 12px;
  color: #f4f8ff;
  text-decoration: none;
}

.contact-v4-channels span {
  color: #9db0c6;
  font-size: 0.82rem;
}

.contact-v4-channels strong {
  color: #f4f8ff;
}

.contact-v4-copy {
  width: 100%;
  min-height: 48px;
  margin-top: 1rem;
  border: 0;
  border-radius: 999px;
  background: #edf6ff;
  color: #07101f;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.contact-v4-status {
  margin: 0.8rem 0 0;
  color: #94a8bd;
  font-size: 0.78rem;
  line-height: 1.55;
}

.contact-v4-options,
.contact-v4-prepare {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.contact-v4-heading {
  max-width: 48rem;
  margin-bottom: 2.4rem;
}

.contact-v4-heading h2,
.contact-v4-prepare h2 {
  margin: 0;
  font-family: var(--sans, sans-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.contact-v4-heading p,
.contact-v4-prepare p {
  margin: 1rem 0 0;
  color: #5f6c7a;
  line-height: 1.8;
}

.contact-v4-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-v4-option-grid button {
  min-height: 170px;
  padding: 1.5rem;
  border: 1px solid #d4dbe3;
  border-radius: 16px;
  background: #ffffff;
  color: #111820;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background-color 160ms ease;
}

.contact-v4-option-grid button:hover,
.contact-v4-option-grid button.is-active {
  border-color: #2878db;
  background: #edf5ff;
  transform: translateY(-2px);
}

.contact-v4-option-grid strong,
.contact-v4-option-grid span {
  display: block;
}

.contact-v4-option-grid strong {
  font-size: 1.1rem;
}

.contact-v4-option-grid span {
  margin-top: 0.75rem;
  color: #667483;
  line-height: 1.65;
}

.contact-v4-prepare {
  background: #e7edf3;
}

.contact-v4-prepare-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.contact-v4-prepare ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-v4-prepare li {
  padding: 1.25rem 0;
  border-bottom: 1px solid #c3ccd5;
}

@media (max-width: 900px) {
  .contact-v4-grid,
  .contact-v4-prepare-grid {
    grid-template-columns: 1fr;
  }

  .contact-v4-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .contact-v4-hero {
    min-height: auto;
    padding-top: 116px;
  }

  .contact-v4-hero h1 {
    max-width: none;
  }

  .contact-v4-option-grid {
    grid-template-columns: 1fr;
  }

  .contact-v4-channels a {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-v4-option-grid button {
    transition: none;
  }
}
