:root {
  --bg: #f3f1eb;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #6b6b66;
  --line: #d8d5cc;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.site-header {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav a:hover { color: var(--ink); }

main {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 0 100px;
  border-bottom: 1px solid var(--line);
}

.eyebrow, .project-type, .section-number, .status {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow {
  color: var(--muted);
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.6rem, 16vw, 12rem);
  line-height: 0.84;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero-copy {
  max-width: 690px;
  margin: 36px 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  color: var(--muted);
}

.button {
  display: inline-flex;
  width: fit-content;
  margin-top: 34px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  transition: background 140ms ease, color 140ms ease;
}

.button:hover {
  background: var(--ink);
  color: var(--bg);
}

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.04em;
}

.section-number { color: var(--muted); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.project-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.project-card p {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
}

.project-type, .status { color: var(--muted); }

.status {
  margin-top: auto;
  padding-top: 34px;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.about-copy {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
}

.about-copy p {
  margin: 0 0 28px;
  max-width: 30ch;
}

.contact-card {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 20px;
}

.contact-card p {
  margin-top: 0;
  color: #c9c7bf;
}

.email-link {
  display: inline-block;
  margin: 8px 0 34px;
  font-size: clamp(1.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  border-bottom: 2px solid currentColor;
}

.contact-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: #c9c7bf;
}

.contact-secondary a { color: var(--bg); }

.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .site-header { padding: 22px 0; }
  .site-nav { gap: 14px; font-size: 0.84rem; }
  .hero { min-height: 62vh; padding: 72px 0; }
  .project-grid, .split { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .site-header, main, .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }
  .site-header {
    align-items: flex-start;
    gap: 16px;
  }
  .site-nav {
    flex-direction: column;
    gap: 6px;
    text-align: right;
  }
  .project-card { min-height: 230px; }
}
