:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --text: #17202a;
  --muted: #66717d;
  --line: #dfe4e8;
  --accent: #173f5f;
  --accent-dark: #0e2c43;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--accent); color: white; text-decoration: none;
  font-weight: 800; letter-spacing: -.03em;
}
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 600; }
nav a:hover, nav a:focus-visible { color: var(--accent); }
.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 112px 0; }
.hero { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; }
.eyebrow {
  margin: 0 0 18px; color: var(--accent); text-transform: uppercase;
  letter-spacing: .16em; font-size: .76rem; font-weight: 800;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; margin-top: 0; }
h1 { font-size: clamp(3.5rem, 9vw, 7.5rem); margin-bottom: 28px; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 760px; margin-bottom: 0; }
h3 { font-size: 1.45rem; margin-bottom: 14px; }
.lead { max-width: 760px; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--muted); margin: 0 0 36px; }
.actions, .contact-links { display: flex; gap: 12px; flex-wrap: wrap; }
.button { padding: 12px 18px; border: 1px solid var(--accent); text-decoration: none; font-weight: 700; font-size: .94rem; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: var(--accent-dark); }
.secondary { color: var(--accent); }
.section-heading { display: grid; gap: 8px; margin-bottom: 52px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; font-size: 1.08rem; }
.about-grid p { margin: 0; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 32px; min-height: 300px; display: flex; flex-direction: column; }
.card-number { color: var(--accent); font-weight: 800; font-size: .8rem; margin-bottom: 52px; }
.card p { color: var(--muted); margin: 0 0 28px; }
.status { margin-top: auto; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.muted-card { background: transparent; }
.contact { border-top: 1px solid var(--line); }
.contact > p:not(.eyebrow) { color: var(--muted); max-width: 620px; font-size: 1.08rem; margin: 28px 0; }
.contact-links a { color: var(--accent); font-weight: 700; text-underline-offset: 4px; }
footer {
  width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 30px 0 44px;
  border-top: 1px solid var(--line); display: flex; justify-content: space-between;
  color: var(--muted); font-size: .86rem;
}
footer a { text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  nav { gap: 16px; }
  nav a { font-size: .86rem; }
  .section { padding: 78px 0; }
  .hero { min-height: 70vh; }
  .about-grid, .project-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-grid { font-size: 1rem; }
  .card { min-height: 240px; }
  .card-number { margin-bottom: 34px; }
  footer { gap: 20px; flex-direction: column; }
}
@media (max-width: 480px) {
  .site-header, .section, footer { width: min(calc(100% - 28px), var(--max)); }
  .brand { width: 38px; height: 38px; }
  nav { gap: 12px; }
  h1 { font-size: 3.25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
