:root {
  color: #0b0d0c;
  background: #f7f7f2;
  font-family: Inter, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 75% 5%, #dfe8d7 0, transparent 28rem), #f7f7f2; }
a { color: inherit; text-decoration: none; }

.site-nav {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 247, 242, 0.78);
  border-bottom: 1px solid rgba(11, 13, 12, 0.12);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand { align-items: center; display: inline-flex; font-weight: 700; gap: 12px; letter-spacing: 0.18em; }
.brand .logo-mark { height: 42px; width: 42px; }
.nav-links { display: flex; gap: clamp(14px, 3vw, 34px); font-size: 14px; letter-spacing: 0.08em; }
.nav-links a { opacity: 0.72; transition: opacity 0.2s ease; }
.nav-links a:hover { opacity: 1; }

.logo-mark { aspect-ratio: 1; position: relative; width: min(42vw, 300px); }
.logo-frame { border: 5px solid #070908; height: 100%; position: relative; width: 100%; }
.tree { border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 0; border-top: 50px solid #070908; position: absolute; transform: rotate(180deg); }
.tree::after, .tree::before { background: #f7f7f2; content: ''; height: 7px; left: -26px; position: absolute; top: -26px; transform: rotate(45deg); width: 54px; }
.tree::before { transform: rotate(-45deg); }
.tree-left { left: 16%; top: 18%; }
.tree-mid { left: 41%; top: 18%; }
.tree-right { right: 16%; top: 18%; }
.trunk { background: #070908; bottom: 18%; position: absolute; top: 34%; width: 5px; }
.trunk-left { left: 29%; }
.trunk-mid { left: 50%; }
.trunk-right { right: 29%; }

.hero { display: grid; gap: 44px; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); min-height: 82vh; padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 92px); }
.hero-copy { align-self: center; max-width: 760px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.32em; margin: 0 0 18px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(46px, 8vw, 104px); letter-spacing: -0.08em; line-height: 0.94; margin-bottom: 28px; }
h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.06em; line-height: 1; }
h3 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.04em; margin-bottom: 14px; }
p { color: rgba(11, 13, 12, 0.68); line-height: 1.8; }
.lead { font-size: clamp(17px, 2vw, 22px); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { border: 1px solid #0b0d0c; display: inline-flex; font-weight: 800; justify-content: center; letter-spacing: 0.08em; padding: 14px 20px; transition: transform 0.2s ease, background 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: #0b0d0c; color: #f7f7f2; }
.button.ghost { background: transparent; }
.hero-visual { align-items: center; background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(222,230,213,.72)); border: 1px solid rgba(11,13,12,.16); display: flex; flex-direction: column; justify-content: center; min-height: 480px; overflow: hidden; padding: 42px; position: relative; }
.hero-visual .logo-mark { z-index: 1; }
.hero-visual p { color: #0b0d0c; font-size: 12px; font-weight: 900; letter-spacing: 0.42em; margin-top: 26px; z-index: 1; }
.scan-grid { background-image: linear-gradient(rgba(11,13,12,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(11,13,12,.08) 1px, transparent 1px); background-size: 34px 34px; inset: 0; position: absolute; }

.section { padding: clamp(68px, 8vw, 116px) clamp(20px, 6vw, 92px); }
.intro { border-block: 1px solid rgba(11, 13, 12, 0.12); display: grid; gap: 28px; grid-template-columns: 1fr 0.75fr; }
.metrics { align-content: stretch; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metrics span, .empty-slot, .cms-wireframe span { border: 1px solid rgba(11,13,12,.2); min-height: 86px; padding: 18px; }
.metrics span { align-items: end; background: rgba(255,255,255,.45); display: flex; font-size: 28px; font-weight: 900; }
.section-heading { max-width: 820px; margin-bottom: 38px; }
.service-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { background: rgba(255,255,255,.55); border: 1px solid rgba(11,13,12,.16); display: grid; gap: 26px; min-height: 360px; padding: clamp(24px, 4vw, 44px); }
.empty-slot { align-items: center; background: repeating-linear-gradient(-45deg, rgba(11,13,12,.04), rgba(11,13,12,.04) 8px, transparent 8px, transparent 18px); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.empty-slot span { font-weight: 900; }
.empty-slot small { letter-spacing: .18em; margin-top: 8px; }
.education { background: #0b0d0c; color: #f7f7f2; }
.education p { color: rgba(247,247,242,.72); }
.feature-card { align-items: center; border: 1px solid rgba(247,247,242,.2); display: grid; gap: 32px; grid-template-columns: 180px 1fr auto; padding: clamp(24px, 4vw, 44px); }
.stone-orbit { aspect-ratio: 1; border: 1px solid rgba(247,247,242,.28); position: relative; }
.stone-orbit span { background: #f7f7f2; border-radius: 45% 55% 50% 42%; position: absolute; }
.stone-orbit span:nth-child(1) { height: 54px; left: 26px; top: 34px; width: 74px; }
.stone-orbit span:nth-child(2) { height: 36px; right: 26px; top: 76px; width: 50px; }
.stone-orbit span:nth-child(3) { bottom: 28px; height: 48px; left: 66px; width: 62px; }
.cms { align-items: center; display: grid; gap: 42px; grid-template-columns: 0.85fr 1fr; }
.cms-wireframe { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.cms-wireframe span:first-child { grid-column: 1 / -1; }
.site-footer { align-items: center; border-top: 1px solid rgba(11,13,12,.14); display: flex; gap: 18px; padding: 36px clamp(20px, 6vw, 92px); }
.site-footer .logo-mark { height: 54px; width: 54px; }
.logo-img { height: 36px; width: auto; }
.logo-img-hero { height: min(36vw, 280px); width: auto; }
.logo-img-footer { height: 48px; width: auto; }
.site-footer p { margin: 4px 0 0; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero, .intro, .service-grid, .feature-card, .cms { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .feature-card .button { width: 100%; }
}
