
:root {
  --ink: #14273a;
  --ink-soft: #34485a;
  --paper: #f8f5ee;
  --cream: #efe8dc;
  --gold: #b7954f;
  --gold-light: #d5bd84;
  --blue: #214d6c;
  --mist: #e8edf0;
  --white: #fffdf8;
  --line: rgba(20, 39, 58, 0.14);
  --shadow: 0 24px 70px rgba(20, 39, 58, 0.14);
  --radius: 24px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(183, 149, 79, 0.13), transparent 28rem),
    linear-gradient(180deg, var(--paper) 0%, #f4f1ea 100%);
  font-family: "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  padding: 10px 16px; background: var(--ink); color: white; border-radius: 10px;
}
.skip-link:focus { top: 16px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(248, 245, 238, 0.88);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 220px; }
.brand img { width: 154px; height: auto; }
.brand small { color: var(--ink-soft); letter-spacing: .13em; font-size: 10px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-soft);
  transition: .2s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--white); color: var(--ink); box-shadow: 0 4px 20px rgba(20,39,58,.07); }
.nav-cta {
  background: var(--ink); color: white !important; padding: 11px 18px !important;
  border-radius: 999px !important;
}
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer;
}
.hero { padding: 70px 0 54px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold);
  text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 20px 0 22px; font-family: "Noto Serif CJK SC", "Songti SC", "STSong", serif;
  font-size: clamp(44px, 6vw, 78px); line-height: 1.1; letter-spacing: -.035em;
}
h1 span { color: var(--gold); }
.hero-lead { max-width: 680px; color: var(--ink-soft); font-size: 19px; line-height: 1.9; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20,39,58,.12); }
.button.primary { background: var(--ink); color: white; }
.button.secondary { background: rgba(255,255,255,.55); }
.hero-visual { position: relative; }
.hero-card {
  position: relative; min-height: 580px; border-radius: 220px 220px 26px 26px;
  overflow: hidden; background: var(--mist); box-shadow: var(--shadow);
}
.hero-card img { width: 100%; height: 580px; object-fit: cover; object-position: center top; }
.hero-card::after {
  content: ""; position: absolute; inset: auto 0 0; height: 38%;
  background: linear-gradient(transparent, rgba(9, 24, 35, .58));
}
.hero-note {
  position: absolute; right: 24px; bottom: 24px; z-index: 2; color: white;
  font-size: 13px; letter-spacing: .08em;
}
.metric-strip { margin-top: -18px; position: relative; z-index: 4; }
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink);
  color: white; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
}
.metric { padding: 24px 26px; border-right: 1px solid rgba(255,255,255,.12); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 30px; color: var(--gold-light); font-family: Georgia, serif; }
.metric span { font-size: 13px; opacity: .78; }
.section { padding: 92px 0; }
.section.alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-head h2 { font-family: "Noto Serif CJK SC", "Songti SC", serif; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; margin: 10px 0 0; }
.section-head p { max-width: 520px; color: var(--ink-soft); margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(255,255,255,.7); min-height: 235px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.feature-number { color: var(--gold); font-family: Georgia, serif; font-size: 14px; letter-spacing: .12em; }
.feature-card h3 { margin: 20px 0 10px; font-size: 21px; }
.feature-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.image-frame { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--mist); }
.image-frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.detail-list { list-style: none; padding: 0; margin: 26px 0 0; }
.detail-list li { display: grid; grid-template-columns: 34px 1fr; gap: 15px; margin: 18px 0; }
.detail-list b {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream); color: var(--gold); font-family: Georgia, serif;
}
.detail-list span { color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.gallery-item { position: relative; min-height: 220px; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.gallery-item.wide { grid-row: span 2; min-height: 500px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-caption {
  position: absolute; inset: auto 0 0; padding: 34px 22px 18px; color: white;
  background: linear-gradient(transparent, rgba(9,24,35,.75)); font-size: 14px;
}
.architecture-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.arch-card { padding: 23px 18px; background: var(--ink); color: white; border-radius: 18px; }
.arch-card:nth-child(2), .arch-card:nth-child(4) { background: var(--blue); }
.arch-card small { color: var(--gold-light); }
.arch-card h3 { font-size: 17px; margin: 16px 0 8px; }
.arch-card p { font-size: 13px; opacity: .75; margin: 0; }
.fabric-layout { display: grid; grid-template-columns: 280px 1fr; gap: 26px; }
.fabric-sidebar {
  align-self: start; position: sticky; top: 104px; padding: 24px;
  border-radius: 22px; background: var(--ink); color: white;
}
.fabric-sidebar label { display: block; font-size: 13px; color: var(--gold-light); margin: 18px 0 7px; }
.fabric-sidebar input, .fabric-sidebar select {
  width: 100%; border: 1px solid rgba(255,255,255,.18); border-radius: 12px;
  padding: 11px 12px; background: rgba(255,255,255,.08); color: white; outline: none;
}
.fabric-sidebar select option { color: var(--ink); }
.fabric-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.fabric-stats div { padding: 13px; border-radius: 12px; background: rgba(255,255,255,.07); }
.fabric-stats strong { display: block; color: var(--gold-light); font-size: 22px; }
.fabric-stats span { font-size: 11px; opacity: .7; }
.fabric-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 16px; }
.fabric-toolbar p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.fabric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fabric-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; min-height: 260px;
}
.swatch-row { display: flex; gap: 6px; min-height: 32px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid white; box-shadow: 0 0 0 1px var(--line); }
.fabric-card h3 { font-size: 16px; line-height: 1.45; margin: 17px 0 8px; }
.fabric-meta { color: var(--ink-soft); font-size: 12px; }
.fabric-foot { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.fabric-price { color: var(--blue); font-weight: 700; }
.tag { display: inline-block; padding: 4px 8px; border-radius: 99px; background: var(--cream); font-size: 10px; color: var(--ink-soft); }
.load-more { display: flex; justify-content: center; margin-top: 28px; }
.video-shell { max-width: 1020px; margin: 0 auto; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: #07131d; }
.video-shell video { display: block; width: 100%; aspect-ratio: 16/9; background: black; }
.transcript { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; margin-top: 32px; }
.transcript div { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.notice {
  margin: 28px 0 0; padding: 22px 24px; border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0; background: var(--cream); color: var(--ink-soft);
}
.boundary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.boundary { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.boundary h3 { font-size: 17px; margin-bottom: 8px; }
.boundary p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.site-footer { padding: 50px 0 30px; background: var(--ink); color: rgba(255,255,255,.74); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.site-footer img { width: 190px; filter: brightness(0) invert(1); opacity: .92; }
.site-footer a:hover { color: var(--gold-light); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: flex-end; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; display: flex; justify-content: space-between; gap: 20px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .nav-links {
    display: none; position: absolute; left: 20px; right: 20px; top: 70px;
    flex-direction: column; align-items: stretch; padding: 16px;
    border: 1px solid var(--line); border-radius: 18px; background: var(--paper);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid, .split, .fabric-layout, .gallery { grid-template-columns: 1fr; }
  .hero-card, .hero-card img { min-height: 440px; height: 440px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .architecture-grid { grid-template-columns: repeat(2, 1fr); }
  .fabric-sidebar { position: static; }
  .fabric-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-row: auto; min-height: 360px; }
}
@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 42px; }
  .hero-card, .hero-card img { min-height: 360px; height: 360px; }
  .section { padding: 66px 0; }
  .card-grid, .fabric-grid, .boundary-grid, .transcript { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 15px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .architecture-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { display: block; }
}

.showcase-banner {
  padding: 8px 16px;
  color: #f8f5ee;
  background: #b7954f;
  text-align: center;
  font-size: 12px;
  letter-spacing: .08em;
}
.controlled-demo-section { padding-top: 72px; }
.controlled-demo {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .68);
  box-shadow: var(--shadow);
}
.controlled-controls {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
}
.controlled-controls fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.controlled-controls legend,
.controlled-controls label {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: .05em;
}
.controlled-controls select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.controlled-controls select option { color: var(--ink); }
.control-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.control-tabs button {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.control-tabs button.active {
  border-color: var(--gold-light);
  background: rgba(213,189,132,.18);
  color: var(--gold-light);
}
.controlled-result {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
}
.controlled-result > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}
.controlled-result-copy { padding: 30px; }
.controlled-result-copy > span {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .1em;
}
.controlled-result-copy h3 {
  margin: 10px 0 22px;
  font: 600 28px/1.28 "Noto Serif CJK SC", "Songti SC", serif;
}
.controlled-result-copy dl { margin: 0; }
.controlled-result-copy dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.controlled-result-copy dt { color: var(--ink-soft); }
.controlled-result-copy dd { margin: 0; font-weight: 700; }
.controlled-total { color: var(--ink); }
.controlled-total dd { color: var(--blue); font-size: 24px; }
.controlled-status {
  margin: 20px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: #196247;
  background: #e6f2ed;
  font-size: 13px;
}
.controlled-status.over-budget {
  color: #8b4d14;
  background: #f7ead8;
}
@media (max-width: 980px) {
  .controlled-demo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .controlled-result { grid-template-columns: 1fr; }
  .controlled-result > img { min-height: 340px; }
  .controlled-result-copy { padding: 22px; }
  .control-tabs { grid-template-columns: 1fr; }
}
