:root {
  --ink: #17211d;
  --muted: #66736e;
  --line: #dfe6e2;
  --paper: #f7f8f5;
  --white: #ffffff;
  --accent: #446b5a;
  --accent-dark: #273f35;
  --soft: #eef2ed;
  --warn-bg: #fff7df;
  --warn-line: #ead99f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(247, 248, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 48px; height: 32px; background: var(--ink); color: var(--white); font-size: 15px; }
.brand-name { font-size: 17px; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.6vw, 28px); font-size: 14px; }
.site-nav a { color: var(--muted); display: grid; line-height: 1.2; gap: 2px; }
.site-nav a small { font-size: 12px; color: inherit; }
.site-nav a.active, .site-nav a:hover { color: var(--ink); }
.hero {
  min-height: 80vh;
  display: grid;
  align-items: end;
  padding: clamp(96px, 12vw, 160px) clamp(20px, 4vw, 56px) 54px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.68)), var(--hero-image) center / cover no-repeat;
}
.hero-content { max-width: 920px; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: rgba(255,255,255,.78); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: 0; }
.hero h1 { font-size: clamp(42px, 8vw, 92px); max-width: 920px; }
.hero p { max-width: 740px; margin: 22px 0 0; font-size: clamp(17px, 2vw, 22px); color: rgba(255,255,255,.86); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}
.button.light { border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.08); color: var(--white); }
.section { padding: clamp(58px, 8vw, 108px) clamp(20px, 4vw, 56px); }
.section.white { background: var(--white); }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-header h2, .split h2 { font-size: clamp(30px, 4vw, 52px); }
.section-header p, .lead { color: var(--muted); max-width: 760px; }
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.category-card { min-height: 300px; display: grid; align-content: end; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); background: var(--white); }
.category-card.image { color: var(--white); background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.66)), var(--image) center / cover no-repeat; }
.category-card h3 { font-size: clamp(28px, 4vw, 48px); }
.category-card p { max-width: 560px; color: var(--muted); }
.category-card.image p { color: rgba(255,255,255,.84); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-card { background: var(--white); border: 1px solid var(--line); }
.project-card a { display: block; height: 100%; }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e8ece8; }
.project-card-body { padding: 18px; }
.project-card h3 { font-size: 19px; margin-bottom: 8px; }
.project-card p { margin: 0; color: var(--muted); font-size: 14px; }
.page-hero { padding: clamp(76px, 9vw, 132px) clamp(20px, 4vw, 56px) 44px; background: var(--accent-dark); color: var(--white); }
.page-hero h1 { font-size: clamp(38px, 7vw, 78px); }
.page-hero p { max-width: 760px; color: rgba(255,255,255,.82); font-size: 18px; }
.project-detail-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 72vh; background: var(--accent-dark); color: var(--white); }
.project-detail-copy { padding: clamp(76px, 9vw, 128px) clamp(20px, 4vw, 56px); align-self: end; }
.project-detail-copy h1 { font-size: clamp(36px, 6vw, 72px); }
.project-detail-copy p { color: rgba(255,255,255,.82); }
.project-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.meta-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.meta-item { background: var(--white); padding: 18px; }
.meta-item span { display: block; color: var(--muted); font-size: 13px; }
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery img { width: 100%; margin: 0 0 18px; break-inside: avoid; background: #e8ece8; }
.profile-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.profile-card, .contact-box, .placeholder-box { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 42px); }
.profile-card h2, .contact-box h2, .placeholder-box h2 { font-size: clamp(24px, 3vw, 34px); }
.placeholder-box { background: var(--soft); }
.todo-note { background: var(--warn-bg); border: 1px solid var(--warn-line); color: #66500c; padding: 16px; margin-top: 24px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer p { margin: 6px 0 0; }
@media (max-width: 920px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .split, .project-detail-hero, .category-grid, .profile-grid, .contact-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .section-header { display: block; }
  .meta-list { grid-template-columns: 1fr; }
  .project-detail-hero img { min-height: 320px; }
  .site-footer { flex-direction: column; }
}
