:root {
  --ink: #111b21;
  --muted: #5f6d72;
  --line: #dce5e7;
  --soft: #f4f8f8;
  --green: #37a000;
  --green-dark: #2b7f00;
  --aqua: #00b7c7;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(17, 27, 33, .035) 1px) 0 0 / 86px 86px,
    linear-gradient(transparent calc(100% - 1px), rgba(17, 27, 33, .035) 1px) 0 0 / 86px 86px,
    var(--white);
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img { flex: 0 0 auto; }

.brand-copy { display: grid; gap: 3px; }

.brand-copy strong {
  font-size: 20px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 800;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(55, 160, 0, .12);
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 180px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  padding: 74px 0 82px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .17em;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(50px, 6.2vw, 88px);
  line-height: .97;
  letter-spacing: -.055em;
  font-weight: 300;
}

h1 span {
  color: var(--green);
  font-weight: 800;
}

.intro {
  max-width: 620px;
  margin: 29px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

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

.button.secondary { background: rgba(255, 255, 255, .82); }
.button.secondary:hover { border-color: var(--aqua); }

.assurance {
  max-width: 590px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.check {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--aqua);
  font-weight: 800;
}

.assurance p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.blueprint { position: relative; }

.drawing-card {
  position: relative;
  aspect-ratio: .94;
  overflow: hidden;
  border: 1px solid #cbd9dc;
  background: #f6fafb;
  box-shadow: 28px 32px 70px rgba(27, 53, 59, .13);
}

.drawing-card::before,
.drawing-card::after {
  content: "";
  position: absolute;
  z-index: 2;
}

.drawing-card::before {
  width: 36%;
  height: 7px;
  top: 0;
  left: 0;
  background: var(--green);
}

.drawing-card::after {
  width: 7px;
  height: 33%;
  right: 0;
  bottom: 0;
  background: var(--aqua);
}

.drawing-grid {
  position: absolute;
  inset: 0;
  opacity: .58;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), #d9e6e8 1px) 0 0 / 33px 33px,
    linear-gradient(transparent calc(100% - 1px), #d9e6e8 1px) 0 0 / 33px 33px;
}

.plan {
  position: absolute;
  left: 16%;
  right: 13%;
  bottom: 18%;
  height: 43%;
  border: 3px solid #334a51;
  border-top: 0;
}

.roof {
  position: absolute;
  width: 75%;
  height: 75%;
  left: 12.5%;
  top: -38%;
  border-top: 3px solid #334a51;
  border-left: 3px solid #334a51;
  transform: rotate(45deg);
  transform-origin: center;
}

.window,
.door {
  position: absolute;
  bottom: 16%;
  z-index: 2;
  background: repeating-linear-gradient(90deg, rgba(0, 183, 199, .14) 0 9px, transparent 9px 12px);
  border: 3px solid var(--aqua);
}

.window { width: 22%; height: 40%; }
.window.one { left: 10%; }
.window.two { right: 10%; }

.door {
  width: 19%;
  height: 58%;
  left: 40.5%;
  border-color: var(--green);
  background: rgba(55, 160, 0, .09);
}

.measure {
  position: absolute;
  color: #73888e;
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: .08em;
}

.measure.horizontal {
  left: 16%;
  right: 13%;
  bottom: 11%;
  border-top: 1px solid #9bb0b5;
  text-align: center;
}

.measure.horizontal span { position: relative; top: -14px; }

.measure.vertical {
  top: 40%;
  bottom: 18%;
  left: 9%;
  border-left: 1px solid #9bb0b5;
}

.measure.vertical span {
  position: absolute;
  top: 44%;
  left: -28px;
  transform: rotate(-90deg);
}

.accent-block {
  position: absolute;
  width: 21%;
  height: 21%;
  top: 12%;
  right: 9%;
  border-radius: 50%;
  background: rgba(0, 183, 199, .11);
}

.plan-label {
  position: absolute;
  right: 6%;
  bottom: 4%;
  margin: 0;
  color: #819399;
  font: 700 8px/1 Arial, sans-serif;
  letter-spacing: .14em;
}

.project-chip {
  position: absolute;
  left: -30px;
  bottom: -28px;
  width: min(270px, 72%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  color: var(--white);
  background: #122229;
  box-shadow: 15px 20px 35px rgba(17, 27, 33, .18);
}

.project-chip > span {
  color: var(--aqua);
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
}

.project-chip p { display: grid; gap: 3px; margin: 0; }
.project-chip small { color: #9aadb2; font-size: 9px; letter-spacing: .13em; }
.project-chip strong { font-size: 14px; letter-spacing: .03em; }

footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7a898e;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

footer p { margin: 0; }

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-copy { max-width: 760px; }
  .blueprint { width: min(570px, calc(100% - 24px)); margin: 15px auto 36px; }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer { width: min(100% - 30px, 1180px); }

  .site-header { min-height: 78px; }
  .status { display: none; }
  .brand-copy strong { font-size: 17px; }

  .hero {
    min-height: auto;
    gap: 55px;
    padding: 48px 0 68px;
  }

  h1 { font-size: clamp(44px, 14vw, 62px); }
  .intro { font-size: 16px; line-height: 1.65; }
  .actions { display: grid; }
  .button { width: 100%; }
  .project-chip { left: -12px; bottom: -22px; }

  footer {
    min-height: 98px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
