:root {
  --ink: #1d211f;
  --muted: #6e746e;
  --paper: #f7f3ec;
  --stone: #ded6ca;
  --cream: #fffaf0;
  --forest: #243b31;
  --moss: #6f7f54;
  --clay: #a55f42;
  --gold: #c69a5b;
  --line: rgba(29, 33, 31, 0.16);
  --shadow: 0 24px 70px rgba(29, 33, 31, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: white;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 243, 236, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 36px rgba(29, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0;
}

.image-mark {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 250, 240, 0.9);
}

.site-header.is-scrolled .image-mark,
.site-header.is-open .image-mark {
  border-color: rgba(29, 33, 31, 0.28);
}

.image-mark img {
  width: 31px;
  height: 40px;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: grid;
  gap: 1px;
  transform: translateY(3px);
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.brand-text small {
  color: currentColor;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(92vh, 760px);
  align-items: end;
  overflow: hidden;
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 19, 17, 0.78) 0%, rgba(14, 19, 17, 0.48) 48%, rgba(14, 19, 17, 0.18) 100%),
    url("assets/exterior-albany.jpg") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(790px, calc(100% - 40px));
  margin: 0 clamp(20px, 7vw, 96px) 98px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.feature-copy h2,
.contact-copy h2,
.intro h2,
.location h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(72px, 11vw, 154px);
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
}

.button.secondary:hover {
  background: white;
  color: var(--forest);
}

.button.secondary.dark {
  border-color: var(--line);
  color: var(--forest);
}

.button.secondary.dark:hover {
  background: var(--forest);
  color: white;
}

.hero-strip {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 5vw, 72px);
  bottom: 24px;
  left: clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.88);
}

.hero-strip span {
  padding: 18px 18px 0 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section,
.intro,
.contact-section,
.site-footer {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 6vw, 86px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(34px, 7vw, 100px);
  background: var(--cream);
  align-items: start;
}

.intro h2,
.section h2,
.feature-copy h2,
.contact-copy h2,
.location h2 {
  font-size: clamp(38px, 5.2vw, 78px);
}

.intro-panel p,
.section-heading p,
.feature-copy p,
.contact-copy p,
.location-panel p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
}

.intro-panel {
  display: grid;
  gap: 28px;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  color: var(--forest);
}

.logo-lockup img {
  width: clamp(86px, 10vw, 132px);
  height: auto;
  mix-blend-mode: multiply;
}

.logo-lockup div {
  display: grid;
  gap: 0;
}

.logo-lockup span {
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 0.86;
  text-transform: uppercase;
}

.logo-lockup small {
  margin-top: 16px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: 680px;
  background: var(--forest);
  color: white;
}

.feature-band.reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  background: var(--ink);
}

.feature-band.reverse .feature-image {
  order: 2;
}

.feature-image,
.card-image {
  min-height: 420px;
  background-position: center;
  background-size: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px);
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 22px;
}

.text-link {
  width: fit-content;
  margin-top: 30px;
  border-bottom: 1px solid currentColor;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: end;
  margin-bottom: 44px;
}

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

.home-card {
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 14px 42px rgba(29, 33, 31, 0.08);
}

.card-image {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.card-body {
  padding: 26px;
}

.card-body span {
  color: var(--clay);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.card-body h3 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

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

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 680px;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 360ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 54px 22px 20px;
  background: linear-gradient(180deg, rgba(14, 19, 17, 0) 0%, rgba(14, 19, 17, 0.72) 100%);
  color: white;
}

.gallery-item span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-item strong {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
}

.location {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(34px, 8vw, 110px);
  background: var(--stone);
}

.location-panel {
  padding: clamp(30px, 4vw, 54px);
  background: rgba(255, 250, 240, 0.78);
}

.community-map {
  width: 100%;
  margin-bottom: 28px;
  border: 1px solid rgba(29, 33, 31, 0.12);
  box-shadow: 0 18px 46px rgba(29, 33, 31, 0.12);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.stat-row span {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
}

.stat-row strong {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 0.7fr);
  gap: clamp(36px, 8vw, 110px);
  background: var(--forest);
  color: white;
}

.contact-copy p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.phone-link {
  display: inline-flex;
  width: fit-content;
  color: white;
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1;
}

.email-link {
  width: fit-content;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.6vw, 22px);
}

.lead-form {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: clamp(24px, 4vw, 42px);
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-form label,
.lead-form legend {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.lead-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  padding: 16px;
}

.lead-form fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.lead-form input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: var(--clay);
  flex: 0 0 auto;
}

.form-consent {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hidden-field {
  display: none;
}

.lead-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.site-footer div {
  display: grid;
  gap: 3px;
}

.site-footer strong {
  color: white;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.site-footer p {
  margin: 0;
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(14, 19, 17, 0.76), rgba(14, 19, 17, 0.34)),
    url("assets/exterior-albany.jpg") center / cover fixed;
}

.thank-you {
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: clamp(40px, 7vw, 78px);
  padding: clamp(24px, 6vw, 84px);
}

.thank-you-brand {
  position: absolute;
  top: clamp(18px, 4vw, 40px);
  left: clamp(18px, 4vw, 52px);
  color: white;
}

.thank-you-panel {
  width: min(680px, 100%);
  background: var(--cream);
  box-shadow: var(--shadow);
  padding: clamp(30px, 6vw, 70px);
}

.thank-you-panel h1 {
  margin: 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 500;
  line-height: 0.98;
}

.thank-you-panel p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.image-one {
  background-image: url("assets/denali-kitchen.jpg");
}

.image-two {
  background-image: url("assets/denali-living-room.jpg");
}

.image-three {
  background-image: url("assets/exterior-denali.jpg");
}

.image-four {
  background-image: url("assets/denali-bedroom.jpg");
}

.image-five {
  background-image: url("assets/exterior-midway.jpg");
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 22px 22px;
    background: rgba(247, 243, 236, 0.98);
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(29, 33, 31, 0.16);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .nav-toggle {
    display: block;
  }

  .hero-content {
    margin-bottom: 110px;
  }

  .intro,
  .section-heading,
  .feature-band,
  .feature-band.reverse,
  .location,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-band.reverse .feature-image {
    order: 0;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-large,
  .gallery-wide {
    grid-column: span 2;
  }

  .gallery-large {
    min-height: 540px;
  }

  .feature-band {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-text small {
    font-size: 10px;
  }

  .hero {
    min-height: max(92svh, 680px);
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(14, 19, 17, 0.38) 0%, rgba(14, 19, 17, 0.72) 72%),
      url("assets/exterior-albany.jpg") center / cover;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 96px;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 82px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-strip {
    right: 16px;
    bottom: 18px;
    left: 16px;
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    padding: 8px 0 0;
    font-size: 10px;
  }

  .section,
  .intro,
  .contact-section,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .intro h2,
  .section h2,
  .feature-copy h2,
  .contact-copy h2,
  .location h2 {
    font-size: 38px;
  }

  .feature-copy {
    padding: 42px 18px;
  }

  .feature-image {
    min-height: 360px;
  }

  .detail-list,
  .stat-row {
    grid-template-columns: 1fr;
  }

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

  .gallery-item,
  .gallery-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .gallery-wide {
    grid-column: auto;
  }

  .logo-lockup {
    display: grid;
    justify-items: start;
  }

  .logo-lockup img {
    width: 96px;
  }

  .logo-lockup span {
    font-size: 38px;
    letter-spacing: 0.04em;
  }

  .location-panel,
  .lead-form {
    padding: 24px 18px;
  }

  .site-footer {
    display: grid;
  }
}
