:root {
  --ivory: #f6f2ea;
  --stone: #e7dfd1;
  --sand: #d9cbb2;
  --charcoal: #2b2b27;
  --forest: #1f3a34;
  --gold: #b59b60;
  --mist: #fbf9f4;
  --shadow: 0 24px 60px rgba(31, 58, 52, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  color: var(--charcoal);
  background: radial-gradient(circle at top right, rgba(181, 155, 96, 0.22), transparent 45%),
    linear-gradient(180deg, #f8f4ea 0%, #f2ede2 40%, #ffffff 100%);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  opacity: 0.6;
}

body::before {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(31, 58, 52, 0.2), transparent 70%);
  top: -120px;
  left: -160px;
}

body::after {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(181, 155, 96, 0.2), transparent 70%);
  bottom: -180px;
  right: -200px;
}

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

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

a:hover {
  color: var(--forest);
}

h1,
h2,
h3,
.brand,
.footer-brand {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin: 0 0 1rem;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.4rem;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--forest);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(248, 244, 234, 0.85);
  border-bottom: 1px solid rgba(31, 58, 52, 0.1);
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 0;
}

.brand {
  font-size: 1.4rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: white;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(31, 58, 52, 0.2);
}

.button.ghost {
  background: transparent;
  color: var(--forest);
  border: 1px solid rgba(31, 58, 52, 0.3);
}

.button.small {
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  max-width: 580px;
  background: rgba(246, 242, 234, 0.94);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  margin-left: auto;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--forest);
}

.lead {
  font-size: 1.1rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.statement {
  padding: 3rem 0 4rem;
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
}

.statement-text {
  font-size: 1.25rem;
  max-width: 36rem;
}

.statement-panel {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(31, 58, 52, 0.1);
}

.statement-panel ul {
  padding-left: 1.2rem;
  margin: 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.services {
  padding: 4rem 0 5rem;
}

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

.card {
  background: white;
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 58, 52, 0.08);
  box-shadow: 0 16px 40px rgba(31, 58, 52, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(31, 58, 52, 0.16);
}

.homes {
  padding: 4.5rem 0;
}

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

.homes-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 240px;
  box-shadow: 0 18px 45px rgba(31, 58, 52, 0.12);
}

.homes-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homes-item figcaption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  color: white;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}

.homes-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 58, 52, 0) 35%, rgba(31, 58, 52, 0.55) 100%);
}

.existing {
  padding: 5rem 0;
  background: var(--mist);
}

.existing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.checklist {
  padding-left: 1.2rem;
  margin: 0;
}

.existing-panel {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(31, 58, 52, 0.1);
}

.gallery {
  padding: 5rem 0;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 240px;
  box-shadow: 0 18px 45px rgba(31, 58, 52, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  color: white;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 58, 52, 0) 35%, rgba(31, 58, 52, 0.55) 100%);
}

.process {
  padding: 5rem 0;
}

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

.process-list li {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: white;
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: 0 16px 34px rgba(31, 58, 52, 0.08);
}

.step {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  background: rgba(31, 58, 52, 0.08);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.why {
  padding: 5rem 0;
  background: var(--mist);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.pill-row span {
  border: 1px solid rgba(31, 58, 52, 0.2);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.why-panel {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(31, 58, 52, 0.1);
}

.why-panel ul {
  padding-left: 1.2rem;
  margin: 0.6rem 0 0;
}

.contact {
  padding: 5rem 0 6rem;
}

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

.contact-notes {
  background: rgba(31, 58, 52, 0.06);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(31, 58, 52, 0.12);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select,
textarea {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(43, 43, 39, 0.2);
  font-family: inherit;
  font-size: 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(31, 58, 52, 0.4);
  border-color: transparent;
}

.field.checkbox {
  font-size: 0.85rem;
}

.field.checkbox label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
}

.form-status {
  grid-column: 1 / -1;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.form-status.success {
  background: rgba(31, 58, 52, 0.08);
  border-color: rgba(31, 58, 52, 0.2);
  color: var(--forest);
}

.form-status.error {
  background: rgba(122, 45, 34, 0.08);
  border-color: rgba(122, 45, 34, 0.2);
  color: #7a2d22;
}

.site-footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid rgba(31, 58, 52, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  font-size: 0.95rem;
}

.footer-brand {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.footer-title {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(43, 43, 39, 0.7);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1000px) {
  .header-grid {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 70vh;
    padding: 5rem 0 4rem;
  }

  .hero-content {
    justify-content: flex-start;
  }

  .hero-card {
    max-width: 100%;
  }

  .statement-grid,
  .homes-grid,
  .existing-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .process-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .header-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .button.small {
    width: 100%;
  }

  .hero {
    min-height: 68vh;
    padding-top: 4rem;
  }

  .hero-card {
    padding: 2rem;
  }

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

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

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