:root {
  color-scheme: light;
  --ink: #172322;
  --muted: #5d6967;
  --paper: #f4f6f1;
  --panel: #ffffff;
  --accent: #e65f3d;
  --accent-dark: #bb4529;
  --line: #d8ded7;
  --green: #264c43;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px 7px 14px 7px;
  background: var(--accent);
  box-shadow: inset -7px -7px 0 var(--green);
}

nav { display: flex; gap: 28px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 64px;
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: .85rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3 { line-height: 1.08; }

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
  letter-spacing: -.055em;
}

.lead {
  max-width: 650px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 1.2rem;
}

.button {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: #183a33; }

.city-art {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 28px;
  background: #dbe9df;
  box-shadow: 0 24px 60px rgba(38, 76, 67, .12);
}

.sun {
  position: absolute;
  top: 54px;
  right: 58px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f2a54a;
}

.building { position: absolute; bottom: 70px; background: var(--green); }
.building::before,
.building::after { content: ""; position: absolute; background: #f5c985; }
.building-a { left: 42px; width: 116px; height: 190px; }
.building-b { left: 177px; width: 136px; height: 258px; background: #37695d; }
.building-c { right: 36px; width: 94px; height: 156px; background: #d36b4e; }
.building-a::before { width: 18px; height: 40px; left: 22px; top: 28px; box-shadow: 42px 0 #f5c985, 0 68px #f5c985, 42px 68px #f5c985; }
.building-b::before { width: 22px; height: 22px; left: 26px; top: 32px; box-shadow: 58px 0 #f5c985, 0 52px #f5c985, 58px 52px #f5c985, 0 104px #f5c985, 58px 104px #f5c985; }
.building-c::before { width: 16px; height: 28px; left: 18px; top: 26px; box-shadow: 42px 0 #f5c985, 0 52px #f5c985, 42px 52px #f5c985; }
.street { position: absolute; inset: auto 0 0; height: 70px; background: #b8c5bb; }

.themes { padding: 88px 0; border-top: 1px solid var(--line); }

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

h2 { max-width: 700px; margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.04em; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards article { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.card-number { color: var(--accent-dark); font-size: .85rem; font-weight: 800; }
h3 { margin: 46px 0 16px; font-size: 1.65rem; }
.cards p { margin: 0; color: var(--muted); }

.about { margin: 32px 0 96px; padding: 72px; border-radius: 24px; background: var(--green); color: #fff; }
.about .eyebrow { color: #f4a98c; }
.about p:last-child { max-width: 720px; margin: 28px 0 0; color: #d7e4df; font-size: 1.1rem; }

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 820px) {
  .site-header { min-height: 70px; }
  nav { gap: 16px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 44px; padding: 56px 0 72px; }
  .city-art { min-height: 320px; }
  .cards { grid-template-columns: 1fr; }
  .cards article { min-height: 210px; }
  h3 { margin-top: 28px; }
  .about { padding: 42px 28px; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(100% - 24px, 1120px); }
  nav a:first-child { display: none; }
  h1 { font-size: 2.8rem; }
  .city-art { min-height: 270px; }
  .building-a { left: 24px; }
  .building-b { left: 152px; }
  .section-heading { display: block; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
}

