:root {
  color-scheme: light;
  --ink: #1d2530;
  --muted: #5c6878;
  --line: #d8dde5;
  --paper: #fbfcfd;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --warm: #f4b860;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 252, 253, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent-strong);
}

.hero {
  display: grid;
  min-height: 68vh;
  align-items: center;
  padding: clamp(64px, 12vw, 120px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.12), transparent 45%),
    radial-gradient(circle at 80% 15%, rgba(244, 184, 96, 0.32), transparent 32%),
    var(--paper);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.18rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 0 18px;
  color: white;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-strong);
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(56px, 9vw, 96px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-alt {
  background: #eef6f5;
}

.section > p {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.project-list article {
  min-height: 150px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-list p {
  color: var(--muted);
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 60vh;
  }

  h1 {
    max-width: 9ch;
    font-size: 3.3rem;
  }

  .section {
    grid-template-columns: 1fr;
  }

  .project-list {
    grid-template-columns: 1fr;
  }
}
