:root {
  color-scheme: light;
  --ink: #111827;
  --body: #374151;
  --muted: #6b7280;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --line: #dfe5ee;
  --green: #0f8a5f;
  --green-dark: #07543e;
  --blue: #1d4ed8;
  --blue-soft: #e8f0ff;
  --gold: #b7791f;
  --shadow: 0 24px 70px -46px rgba(17, 24, 39, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: linear-gradient(180deg, #fbfcfd 0%, #f2f6f1 58%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  padding: 14px max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(223, 229, 238, 0.92);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a,
.button,
.doc-links a,
.mail-link {
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  padding: 0 12px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--soft);
}

main {
  overflow: hidden;
}

.hero,
.section,
.project-band,
.site-footer {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.section,
.project-band,
.project-panel,
.details {
  scroll-margin-top: 98px;
}

.hero {
  min-height: calc(100vh - 72px);
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  align-items: center;
  gap: 54px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.12;
}

.lead {
  color: #334155;
  font-size: 20px;
  line-height: 1.65;
}

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

.button {
  padding: 0 18px;
}

.button.primary {
  background: var(--green-dark);
  color: #ffffff;
  box-shadow: 0 18px 40px -28px rgba(7, 84, 62, 0.9);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(223, 229, 238, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: 74px 0;
}

.intro-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 52px;
}

.intro-grid p {
  margin: 0;
  color: #475569;
  font-size: 18px;
}

.project-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 8px 0 78px;
}

.project-panel {
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 20px 62px -52px rgba(17, 24, 39, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.project-panel.accent {
  background: linear-gradient(180deg, #ffffff 0%, #eef8f2 100%);
  border-color: #c8e6d3;
}

.project-kicker {
  width: fit-content;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-panel.accent .project-kicker {
  background: #fef3c7;
  color: var(--gold);
}

.project-panel p {
  color: #475569;
  font-size: 17px;
}

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doc-links a {
  padding: 0 13px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.doc-links a:hover,
.mail-link:hover,
.button.secondary:hover {
  border-color: #b8c2cf;
  background: #f8fafc;
}

.details {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 26px;
}

.contact-card,
.company-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 28px;
}

.contact-card p {
  color: #475569;
}

.mail-link {
  width: fit-content;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--green-dark);
  background: #f7fbf9;
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

dl div:first-child {
  padding-top: 0;
}

dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  color: #5b6777;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 800;
}

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

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-media {
    order: -1;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .intro-grid,
  .project-band,
  .details {
    grid-template-columns: 1fr;
  }

  .project-panel {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .project-band,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-links a {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero {
    padding-top: 28px;
    gap: 30px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  .lead {
    font-size: 18px;
  }

  .project-panel,
  .contact-card,
  .company-card {
    padding: 22px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
