:root {
  --ink: #15171a;
  --muted: #646b72;
  --paper: #f7f4ee;
  --surface: #fffdf8;
  --line: rgba(21, 23, 26, 0.14);
  --green: #2f7d5a;
  --blue: #246b9f;
  --yellow: #d8a62b;
  --red: #bd4b3f;
  --violet: #6a5aa8;
  --radius: 8px;
}

* {
  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", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 15px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  color: #34383d;
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  padding: 10px 0;
}

.hero {
  min-height: calc(100svh - 118px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) 0;
}

.hero-copy {
  max-width: 610px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 28px;
  color: #30343a;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.35;
}

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

.button-link,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.button-link.secondary {
  background: transparent;
  color: var(--ink);
}

.block-board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 172px 112px 142px;
  gap: 12px;
  min-height: 450px;
}

.color-block {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid rgba(21, 23, 26, 0.18);
  border-radius: var(--radius);
  color: #fff;
}

.color-block::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.color-block span {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.color-block strong {
  position: relative;
  z-index: 1;
  max-width: 260px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.05;
}

.block-green {
  grid-row: span 2;
  background: var(--green);
}

.block-blue {
  background: var(--blue);
}

.block-yellow {
  grid-column: 2;
  background: var(--yellow);
  color: #1d1710;
}

.block-yellow::after {
  border-color: rgba(29, 23, 16, 0.34);
}

.block-red {
  grid-column: 1 / -1;
  background: var(--red);
}

.status-band {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #111417;
  color: #fff;
}

.status-band p {
  margin: 0;
  color: #9fc9b2;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-band strong {
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.25;
}

.section {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
}

.focus-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: #34383d;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

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

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

.project-card,
.note-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.project-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.project-card .type {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.1;
}

.project-card p {
  color: var(--muted);
  line-height: 1.55;
}

.project-card .status {
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.note-section {
  border-top: 1px solid var(--line);
}

.note-list {
  display: grid;
  gap: 12px;
}

.note-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
}

.note-item h3 {
  margin: 0;
  font-size: 20px;
}

.note-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 86px);
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: #373b40;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 107, 159, 0.15);
}

.contact-form textarea {
  resize: vertical;
}

.form-state {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .two-column,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .block-board {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 170px 140px 160px;
    min-height: 0;
  }

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

  .note-item,
  .status-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero,
  .section {
    width: min(100% - 28px, 1220px);
  }

  h1 {
    font-size: clamp(44px, 15.5vw, 64px);
  }

  .block-board {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 142px);
  }

  .color-block {
    grid-column: auto;
    grid-row: auto;
  }

  .section-heading {
    display: block;
  }

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