:root {
  --ink: #101316;
  --muted: #59626a;
  --line: #d9ded8;
  --paper: #fbfcf9;
  --panel: #ffffff;
  --green: #1f7a55;
  --green-dark: #11543b;
  --amber: #d8871f;
  --graphite: #252a2e;
  --shadow: 0 18px 50px rgba(16, 19, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 42px;
  color: #fff;
  background: linear-gradient(to bottom, rgba(10, 12, 14, 0.58), rgba(10, 12, 14, 0));
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  background: var(--amber);
}

.site-header nav {
  gap: 22px;
  font-size: 14px;
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.88);
}

.site-header nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--graphite);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.9) 0%, rgba(10, 12, 14, 0.68) 38%, rgba(10, 12, 14, 0.16) 72%, rgba(10, 12, 14, 0.04) 100%),
    linear-gradient(0deg, rgba(10, 12, 14, 0.34), rgba(10, 12, 14, 0.06));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 48px));
  margin-left: clamp(24px, 8vw, 112px);
  padding-top: 42px;
  color: #fff;
}

.eyebrow,
.section-kicker,
.project-tag {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0;
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 48px;
  align-items: start;
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro > p,
.contact > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

.project-card {
  min-height: 246px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(16, 19, 22, 0.04);
}

.project-card h3,
.timeline h3 {
  margin: 0;
  font-size: 21px;
}

.project-card p:not(.project-tag),
.timeline p {
  color: var(--muted);
}

.project-card a {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 800;
}

.contact {
  align-items: center;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact .button.secondary {
  background: var(--panel);
  color: var(--green-dark);
  border-color: var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 20px;
  }

  .site-header nav {
    gap: 14px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-content {
    width: min(620px, calc(100% - 40px));
    margin-left: 20px;
  }

  .intro,
  .contact,
  .contact {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    min-height: 62px;
  }

  .brand span:last-child {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header nav {
    font-size: 13px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .section {
    width: min(100% - 32px, 1120px);
    padding: 56px 0;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    width: min(100% - 32px, 1120px);
  }
}
