:root {
  --font-main: "Cinzel", "Trajan Pro", "Trajan Pro 3", Trajan, "Times New Roman", serif;
  --paper: #ffffff;
  --white: #ffffff;
  --ink: #2a1c15;
  --charcoal: #2a1c15;
  --muted: #5a4033;
  --green: #0e3b2a;
  --green-2: #1d5942;
  --sage: #0e3b2a;
  --stone: #ffffff;
  --clay: #5a4033;
  --line: rgba(42, 28, 21, 0.2);
  --shadow: 0 28px 80px rgba(42, 28, 21, 0.13);
  --header-height: 116px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--green);
  color: var(--white);
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-150%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid rgba(14, 59, 42, 0.18);
  display: flex;
  gap: 2rem;
  height: var(--header-height);
  justify-content: space-between;
  padding: 0 4vw;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  color: var(--green);
  display: inline-flex;
  font-family: var(--font-main);
  font-size: 1.08rem;
  min-width: 0;
  white-space: nowrap;
}

.brand img {
  height: 94px;
  object-fit: contain;
  object-position: center;
  width: 148px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 0.2rem;
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--green);
  color: var(--white);
  outline: none;
}

.site-nav .nav-cta {
  background: var(--green);
  color: var(--white);
  margin-left: 0.35rem;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--green-2);
  color: var(--white);
}

.eyebrow {
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--font-main);
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  font-size: 4.2rem;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  max-width: 13ch;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.22;
  margin-bottom: 1rem;
}

.section-intro p,
.build-copy p:not(.eyebrow),
.craft-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 650px;
}

.primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  min-width: 160px;
  padding: 0.75rem 1.15rem;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-2);
  outline: none;
}

.button-secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--green-2);
  color: var(--green);
  outline: none;
}

.build-section {
  background: var(--paper);
  min-height: 235svh;
  --house-clip: 100%;
  --house-opacity: 0;
  --overlay-opacity: 0.92;
}

.build-pin {
  align-items: center;
  display: grid;
  gap: 4vw;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.15fr);
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  padding: 3.5rem 4vw 4rem;
  position: sticky;
  top: var(--header-height);
}

.build-copy {
  max-width: 560px;
  min-width: 0;
}

.build-stage {
  aspect-ratio: 3 / 2;
  background: var(--white);
  min-width: 0;
  min-height: 480px;
  position: relative;
}

.build-house {
  clip-path: inset(var(--house-clip) 0 0 0);
  filter: contrast(1.06);
  height: 100%;
  inset: 0;
  margin: auto;
  object-fit: contain;
  opacity: var(--house-opacity);
  position: absolute;
  width: 100%;
  z-index: 1;
}

.build-drawing {
  height: 100%;
  inset: 0;
  margin: auto;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.build-outline {
  fill: none;
  opacity: var(--overlay-opacity);
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.build-outline-major {
  stroke-width: 3.4;
}

.services-section {
  background: var(--white);
  padding: 6.5rem 4vw;
}

.section-intro {
  max-width: 760px;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 300px;
  padding: 1.5rem;
}

.service-card span {
  color: var(--clay);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 2.8rem;
  text-transform: uppercase;
}

.service-card h3 {
  color: var(--green);
  font-family: var(--font-main);
  font-size: 1.65rem;
  font-weight: 500;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.craft-section {
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: 5vw;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  padding: 7rem 4vw;
}

.craft-image {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.craft-image img {
  filter: contrast(1.04);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.craft-copy .eyebrow {
  color: var(--white);
}

.craft-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.craft-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.craft-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem 0;
}

.craft-list strong {
  color: var(--white);
}

.craft-list span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  align-items: start;
  background: var(--white);
  display: grid;
  gap: 5vw;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  padding: 6.5rem 4vw;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-form label {
  color: var(--green);
  display: grid;
  font-weight: 800;
  gap: 0.45rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(29, 89, 66, 0.14);
  outline: none;
}

.contact-form .button {
  justify-self: start;
  min-width: 170px;
}

.site-footer {
  align-items: center;
  background: var(--green);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  min-height: 92px;
  padding: 1.5rem 4vw;
}

.site-footer p {
  font-family: var(--font-main);
  font-size: 1.2rem;
  margin-bottom: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .build-section {
    --house-clip: 0%;
    --house-opacity: 1;
    --overlay-opacity: 0.2;
    min-height: auto;
  }

  .build-pin {
    position: relative;
  }

  .button,
  .site-nav a {
    transition: none;
  }
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.45rem;
    max-width: 15ch;
  }

  h2 {
    font-size: 3.1rem;
  }

  .build-pin,
  .craft-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .build-pin {
    gap: 2rem;
    padding-top: 4rem;
  }

  .build-copy {
    max-width: 760px;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-card span {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
    height: auto;
    padding: 0.8rem 1rem;
    position: static;
  }

  .brand img {
    height: 78px;
    width: 128px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav a {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .build-pin,
  .services-section,
  .craft-section,
  .contact-section,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 2.4rem;
    max-width: 12ch;
    text-wrap: auto;
  }

  h2 {
    font-size: 2.35rem;
    text-wrap: auto;
  }

  .primary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .build-section {
    min-height: 210svh;
  }

  .build-pin {
    align-content: start;
    min-height: calc(100svh - 150px);
    padding-bottom: 2.75rem;
    padding-top: 2.75rem;
  }

  .build-stage {
    min-height: 250px;
    order: -1;
  }


  .craft-section,
  .contact-section,
  .services-section {
    padding-bottom: 4.5rem;
    padding-top: 4.5rem;
  }

  .contact-form .button {
    justify-self: stretch;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}
