:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #eff2ed;
  --text: #17201b;
  --muted: #667168;
  --line: #dce2dc;
  --accent: #256b4a;
  --accent-dark: #174832;
  --accent-soft: #dcefe4;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 18px 50px rgba(23, 32, 27, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 248, 246, 0.86);
  border-bottom: 1px solid rgba(220, 226, 220, 0.8);
}
.nav-wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: white; background: var(--text); font-size: 15px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
.nav a:hover { color: var(--text); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px; }
.menu-button span { display: block; height: 2px; background: var(--text); margin: 4px 0; }

.hero { padding-top: 120px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: 0.13em; font-size: 12px; font-weight: 800; color: var(--accent); }
h1, h2, h3 { margin-top: 0; letter-spacing: -0.035em; line-height: 1.08; }
h1 { font-size: clamp(3rem, 7vw, 6.3rem); max-width: 850px; margin-bottom: 28px; }
h1 span { color: var(--accent); }
.hero-text { max-width: 700px; margin: 0; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 750; font-size: 14px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--text); color: white; }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { border: 1px solid var(--line); background: var(--surface); }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 30px; margin: 28px 0 14px; }
.hero-card p { color: var(--muted); margin: 0; }
.status-row { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 750; color: var(--accent); }
.status-dot { width: 9px; height: 9px; border-radius: 999px; background: #36b66b; box-shadow: 0 0 0 6px #e1f5e8; }
.mini-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.mini-meta span, .tag-list span { padding: 7px 10px; border-radius: 999px; background: var(--surface-soft); color: #465249; font-size: 12px; font-weight: 700; }

.stats-section { padding-top: 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid div { padding: 34px; text-align: center; }
.stats-grid div + div { border-left: 1px solid var(--line); }
.stats-grid strong { display: block; font-size: 34px; letter-spacing: -0.04em; }
.stats-grid span { color: var(--muted); font-size: 13px; }

.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); margin-bottom: 20px; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; margin: 0; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card { min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-card.featured { background: var(--text); color: white; border-color: var(--text); }
.project-card.featured p { color: #cdd6cf; }
.project-card.featured .tag-list span { background: rgba(255,255,255,.1); color: #edf3ee; }
.project-topline { display: flex; justify-content: space-between; align-items: center; }
.project-number { font-size: 13px; color: var(--muted); font-weight: 800; }
.featured .project-number { color: #b8c4bb; }
.badge { border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 800; }
.badge.live { background: #daf3e4; color: #17633f; }
.badge.concept { background: #eef0f7; color: #555d86; }
.badge.active { background: #f1ead5; color: #745c17; }
.badge.building { background: #dfeef5; color: #225d78; }
.project-kicker { margin: 42px 0 14px; color: var(--accent) !important; text-transform: uppercase; font-size: 11px; letter-spacing: .12em; font-weight: 800; }
.featured .project-kicker { color: #7fd2a6 !important; }
.project-card h3 { font-size: 34px; margin-bottom: 16px; }
.project-card p { color: var(--muted); margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.project-link { display: inline-flex; justify-content: space-between; align-items: center; text-decoration: none; margin-top: 30px; font-weight: 750; border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; }

.muted-section { background: var(--surface-soft); }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.body-copy { font-size: 18px; color: var(--muted); }
.body-copy p { margin-top: 0; margin-bottom: 24px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principle { padding: 24px 0; border-top: 1px solid var(--line); }
.principle span { font-size: 12px; color: var(--accent); font-weight: 850; }
.principle h3 { font-size: 22px; margin: 20px 0 12px; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-section { padding-top: 24px; }
.contact-card { background: var(--accent); color: white; border-radius: var(--radius-lg); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact-card .eyebrow { color: #b7ebce; }
.contact-card h2 { font-size: clamp(2rem, 4vw, 3.7rem); margin-bottom: 12px; }
.contact-card p { margin: 0; color: #d6eadf; }
.contact-card .button.primary { background: white; color: var(--text); flex: 0 0 auto; }

.site-footer { padding: 34px 0 50px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .hero-grid, .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-grid { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 90px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav { position: absolute; top: 72px; left: 14px; right: 14px; display: none; flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; }
  .menu-button { display: block; }
  h1 { font-size: 3rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid div + div { border-left: 0; border-top: 1px solid var(--line); }
  .project-card { min-height: 390px; }
  .principle-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 32px; flex-direction: column; align-items: flex-start; }
  .footer-wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
