:root {
  --bg: #F5F0E8;
  --bg-card: #FFFFFF;
  --bg-soft: #FAF7F2;
  --text-primary: #16241A;
  --text-secondary: #5A6B5A;
  --text-muted: #8A9A8A;
  --accent: #C8961A;
  --accent-bright: #E0A82E;
  --accent-soft: #F3E4C0;
  --terminal-bg: #11161A;
  --terminal-text: #5BE39A;
  --footer-bg: #0C1812;
  --footer-text: #F5F0E8;
  --footer-muted: #9FB0A2;
  --border: rgba(22, 36, 26, 0.10);
  --hairline: rgba(22, 36, 26, 0.08);
  --surface-raised: rgba(255, 255, 255, 0.80);
  --surface-strong: rgba(255, 255, 255, 0.86);
  --surface-quiet: rgba(255, 255, 255, 0.68);
  --surface-edge: rgba(255, 255, 255, 0.66);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 24px 64px -24px rgba(22, 36, 26, 0.18);
  --shadow-card: 0 16px 44px -22px rgba(22, 36, 26, 0.24);
  --shadow-float: 0 28px 72px -30px rgba(22, 36, 26, 0.30);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Apple 风：进入用缓出、临界阻尼，无反向 ease-in，禁用 transition: all */
  --ease-apple: cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Noto Serif SC', 'Source Han Serif CN', serif;
  --font-sans: 'Plus Jakarta Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', 'Menlo', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  font-optical-sizing: auto;
}

h1, h2, h3, h4 {
  font-optical-sizing: auto;
  text-wrap: balance;
}

/* Subtle paper grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.4s var(--ease), color 0.4s var(--ease);
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ===== Floating Glass Nav ===== */
.header {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 16px auto 0;
  width: calc(100% - 40px);
  max-width: 1320px;
  background: rgba(245, 240, 232, 0.78);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(22, 36, 26, 0.08);
  border-bottom: 1px solid rgba(22, 36, 26, 0.14);
  border-radius: 999px;
  box-shadow: 0 18px 52px -24px rgba(22, 36, 26, 0.30);
  transition: border-radius 0.36s var(--ease-out), background 0.36s var(--ease-out), box-shadow 0.36s var(--ease-out);
}

/* 滚动边缘：顶栏浮于内容之上时的清晰收口线（一进页面顶部就有） */
.header::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(22, 36, 26, 0.16), transparent);
  pointer-events: none;
}

.header .container {
  max-width: none;
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 6px 14px 6px 26px;
}

/* 盖住 .header .container { padding:0 } 的清零，确保头像/菜单在框内留白 */
.header .header-inner {
  padding: 6px 20px 6px 36px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1.5px solid rgba(22, 36, 26, 0.28);
  box-shadow: 0 3px 10px rgba(22, 36, 26, 0.12);
}

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

.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav a:hover {
  color: var(--text-primary);
}

.nav a[aria-current="page"] {
  color: var(--text-primary);
  font-weight: 700;
}

.nav a[aria-current="page"]::after {
  width: 100%;
}

.nav a:hover::after {
  width: 100%;
}

.nav a.btn::after {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: transform 0.36s var(--ease-out), box-shadow 0.36s var(--ease-out), background 0.36s var(--ease-out), color 0.36s var(--ease-out);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.975);
  transition: transform 100ms var(--ease-apple);
}

.btn-primary {
  background: var(--accent);
  color: #1A1206;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(200, 150, 26, 0.5);
  opacity: 1;
}

.btn-dark {
  background: var(--text-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav a.btn-dark {
  color: #FFFFFF;
  padding: 10px 18px;
  font-size: 14px;
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(22, 36, 26, 0.4);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--hairline);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg);
  opacity: 1;
  border-color: var(--text-primary);
}

/* Button trailing icon in nested circle */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  font-size: 13px;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}

.btn-dark .btn-icon {
  background: rgba(245, 240, 232, 0.16);
}

.btn:hover .btn-icon {
  transform: translate(2px, -2px) scale(1.08);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 64px 0 80px;
  background:
    radial-gradient(circle at 78% 34%, rgba(255, 255, 255, 0.42), transparent 30%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 104px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 26px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.85;
  max-width: 540px;
}

.hero-status {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin: 24px 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terminal-text);
  box-shadow: 0 0 0 4px rgba(91, 227, 154, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Hero 入场动效（加载即播放，Apple 风格 stagger 上浮） ===== */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

.hero-content > * {
  opacity: 0;
  animation: hero-rise 0.9s var(--ease-out) forwards;
}
.hero-content > .hero-title    { animation-delay: 0.05s; }
.hero-content > .hero-subtitle { animation-delay: 0.17s; }
.hero-content > .hero-desc     { animation-delay: 0.29s; }
.hero-content > .hero-status   { animation-delay: 0.41s; }
.hero-content > .hero-buttons  { animation-delay: 0.53s; }

.terminal {
  opacity: 0;
  animation: hero-rise 0.9s var(--ease-out) 0.35s forwards;
}

/* 子页首章直接由内容标题开场，不再重复菜单中的页面名称。 */
.page-intro > * {
  opacity: 0;
  animation: hero-rise 0.9s var(--ease-out) forwards;
}

.page-intro > h1 { animation-delay: 0.05s; }
.page-intro > p  { animation-delay: 0.19s; }

/* ===== Terminal ===== */
.terminal {
  background: var(--terminal-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 72px -28px rgba(12, 19, 22, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.terminal-title {
  font-size: 13px;
  font-weight: 600;
  color: #E8EFE9;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }

.terminal-body {
  padding: 28px 30px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--terminal-text);
  min-height: 280px;
}

.terminal-line {
  opacity: 0;
  animation: fadeIn 0.4s var(--ease) forwards;
}

.cursor {
  display: inline-block;
  width: 9px;
  height: 17px;
  background: var(--terminal-text);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 4px;
}

@keyframes blink { 50% { opacity: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ===== Sections ===== */
.section {
  position: relative;
  padding: 88px 0;
}

/* Full-width chapter canvases make every scroll feel like a new part of the site. */
.chapter {
  isolation: isolate;
}

.chapter > .container {
  position: relative;
  z-index: 1;
}

.chapter--light {
  background: linear-gradient(180deg, rgba(250, 247, 242, 0.90), rgba(247, 243, 235, 0.74));
}

.chapter--tint {
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.56), transparent 28%),
    linear-gradient(145deg, rgba(224, 226, 216, 0.70), rgba(240, 235, 225, 0.88));
}

.chapter--plain {
  background: var(--bg);
}

.chapter--compact {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 24px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.section-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-link:hover {
  color: var(--accent);
}

.page-body {
  padding-top: 80px;
  padding-bottom: 88px;
}

/* Keep subpage canvases continuous behind the floating header.
   The negative margin removes the body-colour band, while the added
   padding preserves the original position of the page content. */
.header + main > .page-body {
  margin-top: -88px;
  padding-top: 168px;
}

/* ===== Product / Card grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  display: block;
  /* Apple 材质（中档）：磨砂白 + 顶边高光 + 分层阴影 */
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-top: 1px solid var(--surface-edge);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: transform 0.38s var(--ease-out), box-shadow 0.38s var(--ease-out), border-color 0.38s var(--ease-out), background 0.38s var(--ease-out);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(200, 150, 26, 0.30), transparent 44%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.38s var(--ease-out);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -24px rgba(22, 36, 26, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  border-color: rgba(200, 150, 26, 0.18);
}

.card:hover::before {
  opacity: 1;
}

/* Apple 按压反馈：即时轻微回弹 */
.card:active {
  transform: translateY(-2px) scale(0.985);
  transition: transform 120ms var(--ease-apple);
}

.card-tier {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid rgba(200, 150, 26, 0.3);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.card-price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2px 0 8px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.card-arrow {
  margin-top: 14px;
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.5s var(--ease);
  display: inline-block;
}

.card:hover .card-arrow {
  transform: translateX(6px);
}

/* 材质层级：大区块更强模糊 + 更深阴影，小元素更轻 */
.card--lg {
  background: var(--surface-strong);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card--sm {
  background: var(--surface-quiet);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 10px 28px -14px rgba(22, 36, 26, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  padding: 22px;
}

/* ===== Value cards ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 32px 30px;
  min-height: 210px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.value-card:active {
  transform: translateY(-2px) scale(0.985);
  transition: transform 120ms var(--ease-apple);
}

.value-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.value-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.value-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== Section intro ===== */
.section-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-intro h1,
.section-intro h2,
.split-title,
.map-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.section-intro p {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.page-intro {
  max-width: 820px;
  margin-bottom: 44px;
}

.page-intro h1 {
  font-size: 44px;
  text-wrap: balance;
}

/* ===== Split / Workbench ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-desc {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 500px;
}

/* ===== About / Contact page ===== */
.about-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.about-contact-grid .content-block {
  height: 100%;
  margin-bottom: 0;
}

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

.about-contact-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.about-contact-card ul {
  margin-top: 4px;
}

.about-email {
  color: var(--accent);
  font-weight: 600;
}

.about-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 48px;
  align-items: start;
}

.about-story {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.about-portrait {
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-card);
  box-shadow: var(--shadow-card);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story .split-desc {
  max-width: none;
  margin-bottom: 20px;
}

.about-identity {
  margin-bottom: 0;
}

.dashboard {
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}

.dashboard-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-serif);
}

.live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--terminal-text);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--terminal-text);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.dashboard-item {
  background: var(--surface-quiet);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(22, 36, 26, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 22px -12px rgba(22, 36, 26, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86px;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.dashboard-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 30px -14px rgba(22, 36, 26, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.dashboard-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.dashboard-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Personal business loop ===== */
.business-loop {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid rgba(22, 36, 26, 0.08);
  border-top-color: rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 82%, rgba(200, 150, 26, 0.13), transparent 25%),
    radial-gradient(circle at 84% 16%, rgba(54, 92, 69, 0.12), transparent 28%),
    var(--surface-strong);
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.business-loop--full {
  min-height: 560px;
}

.loop-track {
  position: absolute;
  inset: 14% 12%;
  border: 2px solid rgba(54, 92, 69, 0.30);
  border-left-color: rgba(200, 150, 26, 0.58);
  border-bottom-color: rgba(200, 150, 26, 0.42);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.loop-node {
  position: absolute;
  z-index: 2;
  width: 120px;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 36, 26, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  box-shadow: 0 16px 36px -22px rgba(22, 36, 26, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.business-loop--full .loop-node {
  width: 148px;
  min-height: 80px;
  padding: 15px 17px;
}

.loop-node span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.loop-node strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.2;
}

.loop-node.is-active {
  color: var(--footer-text);
  background: var(--text-primary);
  border-color: var(--text-primary);
  box-shadow: 0 20px 42px -22px rgba(22, 36, 26, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.loop-node.is-active span { color: #e2bc56; }
.loop-node--1 { left: 7%; top: 57%; }
.loop-node--2 { left: 22%; top: 14%; }
.loop-node--3 { right: 22%; top: 11%; }
.loop-node--4 { right: 7%; top: 55%; }
.loop-node--5 { left: 39%; bottom: 7%; }

.loop-core {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 48%;
  width: min(43%, 250px);
  transform: translate(-50%, -50%);
  text-align: center;
}

.business-loop--full .loop-core {
  width: min(40%, 360px);
}

.loop-core small {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.loop-core strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.1;
}

.loop-core p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.75;
}

.business-loop--full .loop-core p {
  font-size: 15px;
}

.loop-core a {
  display: inline-flex;
  gap: 7px;
  margin-top: 14px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
}

.loop-node:hover,
.loop-node:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(200, 150, 26, 0.35);
  box-shadow: 0 22px 44px -20px rgba(22, 36, 26, 0.38);
}

.loop-node:active { transform: translateY(-1px) scale(0.98); }
.loop-node:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

/* ===== Long term grid ===== */
.lt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.lt-card {
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 30px 28px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
  position: relative;
  overflow: hidden;
}

.lt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.lt-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.lt-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  flex-grow: 1;
  line-height: 1.7;
}

.lt-card .arrow {
  font-size: 22px;
  color: var(--accent);
  margin-top: 18px;
  transition: transform 0.5s var(--ease);
}

.lt-card:hover .arrow {
  transform: translateX(6px);
}

/* ===== Content blocks (subpages) ===== */
.content-block {
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 38px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.content-block:hover {
  box-shadow: var(--shadow-card);
}

.content-block h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.content-block p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.content-block ul {
  margin-left: 20px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.content-block li {
  margin-bottom: 10px;
}

/* Funnel (products page) */
.funnel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.funnel-step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  /* 轻量化磨砂材质：比卡片更通透，保留漏斗的层级轻盈感 */
  background: var(--surface-quiet);
  border: 1px solid var(--hairline);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 21px 26px;
  box-shadow: 0 8px 22px -14px rgba(22, 36, 26, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.funnel-step:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-card);
}

.funnel-step .tier {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.funnel-step h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.funnel-step p {
  font-size: 14px;
  color: var(--text-secondary);
}

.funnel-step .price {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Star list */
.star-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.star-card {
  grid-column: span 2;
}

.star-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.star-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.star-card {
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.star-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.star-card h4 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.star-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Article list */
.article-list {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}

.article-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.article-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.article-item .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  min-width: 36px;
}

.article-item h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  flex-grow: 1;
}

.article-item .go {
  color: var(--text-muted);
  font-size: 18px;
  transition: transform 0.5s var(--ease), color 0.5s var(--ease);
}

.article-item:hover .go {
  transform: translateX(4px);
  color: var(--accent);
}

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 72px 0 30px;
  margin-top: 0;
  position: relative;
}

.footer::before {
  content: none;
}

.footer-main {
  padding-bottom: 34px;
  position: relative;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14.5px;
  color: var(--footer-muted);
  line-height: 1.75;
  max-width: 520px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding: 30px 32px 28px;
  margin-bottom: 38px;
  border-radius: 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.09);
  position: relative;
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--footer-text);
  letter-spacing: 0.02em;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 11px; }

.footer-col a {
  font-size: 14px;
  color: var(--footer-muted);
  position: relative;
  transition: color 0.32s var(--ease), transform 0.32s var(--ease);
}

.footer-col a:hover {
  color: var(--footer-text);
  transform: translateX(3px);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--footer-muted);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--footer-muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.36s var(--ease), transform 0.36s var(--ease), background 0.36s var(--ease), border-color 0.36s var(--ease);
}

.footer-chat span {
  font-size: 14px;
  transition: transform 0.36s var(--ease);
}

.footer-chat:hover {
  color: var(--footer-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  opacity: 1;
}

.footer-chat:hover span { transform: translate(2px, -2px); }

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
  color: var(--footer-muted);
  cursor: pointer;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.back-to-top:hover {
  color: var(--footer-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  opacity: 1;
}

/* ===== Mobile menu ===== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transform-origin: center;
  transition: transform 0.32s var(--ease-out), opacity 0.22s var(--ease-out);
}

.mobile-menu-btn:active { transform: scale(0.94); }
.mobile-menu-btn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }

.header.is-menu-open .mobile-menu-btn { background: rgba(22, 36, 26, 0.07); }
.header.is-menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
.header.is-menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  padding: 0 20px;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top right;
  transition: max-height 0.42s var(--ease-out), padding 0.42s var(--ease-out), opacity 0.24s var(--ease-out), transform 0.42s var(--ease-out), visibility 0s linear 0.42s;
}

.header.is-menu-open {
  border-radius: 28px;
  background: rgba(245, 240, 232, 0.94);
  box-shadow: 0 24px 64px -28px rgba(22, 36, 26, 0.34);
}

.header.is-menu-open .mobile-nav {
  max-height: 360px;
  padding: 4px 20px 20px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.mobile-nav a {
  min-height: 46px;
  padding: 10px 4px;
  font-size: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  border-radius: 10px;
}

.mobile-nav a[aria-current="page"] {
  font-weight: 700;
  color: var(--text-primary);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ===== Unified surface interaction ===== */
:is(.card, .value-card, .dashboard-item, .lt-card, .content-block, .funnel-step, .star-card, .article-item) {
  transition: transform 0.36s var(--ease-out), box-shadow 0.36s var(--ease-out), border-color 0.36s var(--ease-out), background 0.36s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  :is(.card, .value-card, .dashboard-item, .lt-card, .content-block, .star-card):hover {
    transform: translateY(-3px);
    border-color: rgba(200, 150, 26, 0.18);
    box-shadow: 0 24px 52px -22px rgba(22, 36, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  }

  :is(.funnel-step, .article-item):hover {
    transform: translateX(4px);
    border-color: rgba(200, 150, 26, 0.16);
    box-shadow: 0 18px 38px -22px rgba(22, 36, 26, 0.25);
  }

}

:is(.card, .value-card, .dashboard-item, .lt-card, .content-block, .funnel-step, .star-card, .article-item):active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: 120ms;
  transition-timing-function: var(--ease-apple);
}

:is(a.card, a.lt-card, .btn, .section-link, .footer-chat, .back-to-top):focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

:is(.nav a, .mobile-nav a, .article-item, .loop-node):focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .lt-grid { grid-template-columns: repeat(2, 1fr); }
  .star-grid { grid-template-columns: repeat(2, 1fr); }
  .star-card,
  .star-card:nth-child(4),
  .star-card:nth-child(5) { grid-column: auto; }
  .hero-inner, .split-section { grid-template-columns: 1fr; gap: 44px; }
  .about-profile-grid { grid-template-columns: 1fr; }
  .about-contact-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 72px; }
  .hero-subtitle { font-size: 26px; }
  .footer-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .nav { display: none; }
  .header-inner .btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav { display: flex; }
  .card-grid, .value-grid, .dashboard-grid, .lt-grid { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 64px; }
  .hero-title { font-size: 54px; }
  .hero-subtitle { font-size: 22px; }
  .section { padding: 64px 0; }
  .chapter--compact { padding-top: 56px; padding-bottom: 56px; }
  .section-intro h1, .section-intro h2, .split-title, .map-title { font-size: 30px; }
  .page-body { padding-top: 60px; padding-bottom: 72px; }
  .header + main > .page-body {
    margin-top: -88px;
    padding-top: 148px;
  }
  .footer { padding-top: 60px; }
  .footer-main { padding-bottom: 32px; }
  .footer-nav-grid { gap: 28px 20px; padding: 24px; }
  .footer-bottom { gap: 20px; }
  .footer-actions { gap: 8px; }
  .footer-chat { padding: 0 13px; }
  .footer-bottom p { max-width: 185px; font-size: 12px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .funnel-step { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .funnel-step .price { font-size: 18px; }
  .star-grid { grid-template-columns: 1fr; }
  .about-contact-grid,
  .about-story { grid-template-columns: 1fr; }
  .about-story { gap: 28px; }
  .about-portrait { width: 160px; }
  .about-contact-grid .content-block,
  .about-identity { padding: 30px 28px; }
  .card { padding: 24px; }
  .value-card { min-height: 0; padding: 28px 26px; }
  .content-block { padding: 30px 28px; }
  .business-loop,
  .business-loop--full {
    min-height: 0;
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .loop-track { display: none; }
  .loop-node,
  .business-loop--full .loop-node {
    position: static;
    width: 100%;
    min-height: 72px;
    padding: 13px 15px;
  }
  .loop-core,
  .business-loop--full .loop-core {
    position: static;
    width: auto;
    min-height: 170px;
    grid-column: 1 / -1;
    grid-row: 1;
    transform: none;
    padding: 24px 18px;
    border-radius: 18px;
    background: rgba(247, 244, 237, 0.86);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .header,
  .header.is-menu-open,
  :is(.card, .value-card, .dashboard, .dashboard-item, .business-loop, .lt-card, .content-block, .funnel-step, .star-card, .article-item) {
    background: var(--bg-soft);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :is(.header, .card, .value-card, .dashboard, .dashboard-item, .business-loop, .lt-card, .content-block, .funnel-step, .star-card, .article-item) {
    border-color: rgba(22, 36, 26, 0.34);
  }
  .text-secondary,
  :is(.hero-desc, .section-intro p, .card-desc, .value-desc, .content-block p, .content-block ul) {
    color: var(--text-primary);
  }
}

@media (max-width: 430px) {
  .business-loop,
  .business-loop--full { grid-template-columns: 1fr; }
  .loop-core,
  .business-loop--full .loop-core { grid-column: 1; }
}

/* ===== Apple §14: Reduced motion & accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  .hero-content > *,
  .terminal,
  .page-intro > * {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-status::before,
  .live-dot { animation: none !important; }
}
