:root {
  color-scheme: light;
  --bg: #f4f6f7;
  --surface: #ffffff;
  --surface-soft: #edf2f2;
  --text: #17212b;
  --muted: #66737e;
  --line: #dce3e5;
  --accent: #087f73;
  --accent-dark: #075f58;
  --mint: #8be0d1;
  --navy: #101c2b;
  --shadow: 0 18px 50px rgba(22, 42, 54, .07);
  --radius: 18px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d141d;
  --surface: #131e2a;
  --surface-soft: #1a2936;
  --text: #edf3f5;
  --muted: #a1afb9;
  --line: #2a3945;
  --accent: #8be0d1;
  --accent-dark: #a5eee1;
  --mint: #8be0d1;
  --navy: #0b1521;
  --shadow: 0 18px 50px rgba(0, 0, 0, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.page-shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.site-header {
  height: 86px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); position: relative; z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 39px; height: 39px; color: var(--accent); display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-size: 13px; letter-spacing: .16em; font-weight: 800; }
.brand-copy small { font: 9px Consolas, "Courier New", monospace; color: var(--muted); letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: 40px; }
.nav-link { color: var(--muted); font-size: 13px; transition: color .2s; position: relative; padding: 8px 0; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { content: ""; height: 2px; background: var(--accent); position: absolute; left: 0; right: 0; bottom: -8px; }
.theme-toggle {
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.theme-toggle:hover { transform: rotate(12deg); border-color: var(--accent); }
.theme-toggle svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.moon-icon { display: none; }
:root[data-theme="dark"] .sun-icon { display: none; }
:root[data-theme="dark"] .moon-icon { display: block; }

.hero {
  min-height: 510px; background: var(--navy); color: #f5f8fa; margin-top: 26px; border-radius: 24px;
  overflow: hidden; position: relative; display: flex; align-items: center; padding: 70px 8.2%;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 52px 52px; mask-image: linear-gradient(90deg, black, transparent 78%);
}
.hero-content { max-width: 610px; position: relative; z-index: 2; }
.eyebrow, .section-kicker {
  font: 10px Consolas, "Courier New", monospace; letter-spacing: .18em; color: var(--mint); display: flex; align-items: center; gap: 10px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(139,224,209,.12); }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.25; letter-spacing: -.045em; margin: 28px 0 20px; font-weight: 700; }
.hero h1 span { color: var(--mint); }
.hero-description { max-width: 520px; color: #b6c2cc; line-height: 1.95; font-size: 14px; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; gap: 20px; padding: 13px 18px; border-radius: 7px; font-size: 13px; font-weight: 700; }
.button-primary { color: #10222b; background: var(--mint); transition: transform .2s, background .2s; }
.button-primary:hover { transform: translateY(-2px); background: #b0f1e6; }
.text-link { color: #d5e0e6; font-size: 12px; }
.text-link span { margin-left: 7px; color: var(--mint); }
.hero-aside { position: absolute; width: 370px; height: 370px; right: 6.5%; top: 50%; transform: translateY(-50%); color: rgba(139,224,209,.8); }
.orbit { position: absolute; border: 1px solid rgba(139,224,209,.25); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 170px; height: 170px; }
.orbit-two { width: 265px; height: 265px; border-style: dashed; }
.orbit-three { width: 355px; height: 355px; border-color: rgba(139,224,209,.13); }
.orbit-core { position: absolute; width: 90px; height: 90px; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; background: rgba(139,224,209,.08); border: 1px solid rgba(139,224,209,.4); border-radius: 50%; }
.orbit-core svg { width: 57px; height: 57px; }
.orbit-label { position: absolute; font: 9px Consolas, "Courier New", monospace; letter-spacing: .16em; color: #8ea9ad; }
.label-top { top: 0; left: 50%; transform: translateX(-50%); }
.label-right { right: -4px; top: 50%; transform: translateY(-50%); }
.label-bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.label-left { left: -8px; top: 50%; transform: translateY(-50%); }
.hero-bottomline { position: absolute; bottom: 24px; left: 8.2%; right: 8.2%; border-top: 1px solid rgba(255,255,255,.13); padding-top: 14px; display: flex; justify-content: space-between; color: #82939e; font: 9px Consolas, "Courier New", monospace; letter-spacing: .13em; }

.section-wrap { padding-left: 4.2%; padding-right: 4.2%; }
.projects-section { padding-top: 100px; padding-bottom: 84px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 35px; }
.section-kicker { color: var(--accent); margin-bottom: 12px; }
.section-heading h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -.04em; }
.section-heading p { color: var(--muted); margin: 0; font-size: 13px; }
.section-index { color: var(--muted); font: 10px Consolas, "Courier New", monospace; letter-spacing: .12em; padding-bottom: 4px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.project-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 27px 29px 23px;
  min-height: 390px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.project-featured { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-soft) 62%, var(--surface))); }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.project-number { font: 10px Consolas, "Courier New", monospace; color: var(--muted); letter-spacing: .14em; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 99px; font-size: 10px; }
.status-live { color: #087f73; background: rgba(8,127,115,.09); }
.status-live i { width: 6px; height: 6px; background: #0caa8f; border-radius: 50%; box-shadow: 0 0 0 3px rgba(12,170,143,.12); }
.status-project { color: #557080; background: rgba(85,112,128,.1); }
.status-planned { color: var(--muted); background: var(--surface-soft); }
.project-icon { width: 54px; height: 54px; margin-top: 24px; border-radius: 15px; display: grid; place-items: center; background: var(--surface-soft); color: var(--accent); }
.project-icon svg { width: 36px; height: 36px; }
.project-card h3 { font-size: 21px; margin: 17px 0 4px; letter-spacing: -.035em; }
.project-subtitle { color: var(--accent); font-size: 12px; font-weight: 600; margin: 0 0 12px; }
.project-description { color: var(--muted); font-size: 12px; line-height: 1.85; margin: 0; max-width: 500px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.tag-row span { font-size: 10px; color: var(--muted); border: 1px solid var(--line); padding: 5px 8px; border-radius: 4px; }
.card-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; width: fit-content; min-width: 150px; color: var(--accent); font-size: 12px; font-weight: 700; margin-top: auto; padding-top: 23px; }
.card-link span { font-size: 16px; transition: transform .2s; }
.card-link:hover span { transform: translate(3px,-3px); }
.card-link-disabled { color: var(--muted); cursor: default; }
.card-link-disabled:hover span { transform: none; }
.card-note { color: var(--muted); opacity: .85; font-size: 10px; line-height: 1.6; margin: 9px 0 0; }
.project-muted { background: color-mix(in srgb, var(--surface) 88%, var(--surface-soft)); }
.project-muted .project-icon { color: var(--muted); }

.principles-section { padding-bottom: 90px; }
.principles-panel { border-radius: 20px; background: var(--surface-soft); padding: 46px 5.5%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 9%; align-items: center; }
.principles-copy h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.45; letter-spacing: -.04em; margin: 16px 0; }
.principles-copy h2 span { color: var(--accent); }
.principles-copy p { color: var(--muted); font-size: 12px; line-height: 2; max-width: 490px; margin: 0; }
.principle-list { border-top: 1px solid var(--line); }
.principle-item { display: flex; align-items: flex-start; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.principle-item > span { font: 10px Consolas, "Courier New", monospace; color: var(--accent); padding-top: 3px; }
.principle-item div { display: flex; flex-direction: column; gap: 5px; }
.principle-item strong { font-size: 13px; }
.principle-item small { font-size: 11px; color: var(--muted); line-height: 1.7; }

.site-footer { min-height: 90px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); }
.footer-brand { color: var(--text); font: 10px Consolas, "Courier New", monospace; letter-spacing: .1em; }
.footer-brand span { color: var(--muted); margin-left: 9px; letter-spacing: 0; }
.site-footer p { font-size: 11px; }
.back-top { font-size: 11px; color: var(--accent); }

@media (max-width: 900px) {
  .hero-aside { right: -7%; opacity: .55; transform: translateY(-50%) scale(.8); }
  .hero-content { max-width: 570px; }
  .principles-panel { gap: 5%; }
}
@media (max-width: 680px) {
  .page-shell { width: min(100% - 30px, 560px); }
  .site-header { height: 72px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { font-size: 8px; }
  .main-nav { gap: 15px; margin-left: auto; margin-right: 16px; }
  .nav-link { font-size: 11px; }
  .theme-toggle { width: 34px; height: 34px; flex: 0 0 auto; }
  .hero { min-height: 540px; margin-top: 15px; padding: 58px 8% 78px; align-items: flex-start; }
  .hero-aside { width: 220px; height: 220px; right: -8%; top: auto; bottom: 20px; transform: none; opacity: .34; }
  .orbit-one { width: 105px; height: 105px; }
  .orbit-two { width: 165px; height: 165px; }
  .orbit-three { width: 220px; height: 220px; }
  .orbit-core { width: 60px; height: 60px; }
  .orbit-core svg { width: 40px; height: 40px; }
  .orbit-label { font-size: 7px; }
  .hero h1 { font-size: clamp(31px, 9vw, 43px); }
  .hero-description { font-size: 12px; max-width: 420px; }
  .hero-bottomline { left: 8%; right: 8%; bottom: 17px; font-size: 7px; }
  .section-wrap { padding-left: 1%; padding-right: 1%; }
  .projects-section { padding-top: 72px; padding-bottom: 60px; }
  .section-heading h2 { font-size: 26px; }
  .section-heading p { font-size: 11px; }
  .project-grid { grid-template-columns: 1fr; gap: 13px; }
  .project-card { min-height: 365px; padding: 23px; }
  .principles-section { padding-bottom: 60px; }
  .principles-panel { grid-template-columns: 1fr; gap: 28px; padding: 30px 24px; }
  .principles-copy h2 { font-size: 25px; }
  .site-footer { min-height: 100px; flex-wrap: wrap; padding: 20px 0; gap: 7px 15px; }
  .site-footer p { order: 3; width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
