:root {
  --ink: #151513;
  --muted: #5d5b55;
  --paper: #f4f1ea;
  --white: #fffdf8;
  --olive: #394329;
  --olive-dark: #202816;
  --gold: #b99a5e;
  --line: rgba(21, 21, 19, 0.14);
  --shadow: 0 22px 70px rgba(21, 21, 19, 0.16);
  --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;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px clamp(22px, 5vw, 72px);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(244, 241, 234, 0.94);
  box-shadow: 0 10px 34px rgba(21, 21, 19, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand--image {
  display: block;
  width: 220px;
  letter-spacing: 0;
}

.brand--image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand__name {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 0.9;
  letter-spacing: 0.12em;
}

.brand__sub {
  margin-top: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a,
.header-cta,
.btn {
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav a:hover,
.btn--text:hover {
  color: var(--gold);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.header-cta,
.btn--primary {
  background: var(--olive);
  color: var(--white);
}

.header-cta:hover,
.btn--primary:hover {
  background: var(--olive-dark);
  transform: translateY(-1px);
}

.btn--text {
  min-height: 44px;
  padding-inline: 0;
  border-bottom-color: var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--olive);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 760px;
  display: block;
  background: var(--white);
  overflow: hidden;
}

.hero__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  width: min(49vw, 700px);
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px clamp(24px, 5vw, 72px) 86px;
  background: linear-gradient(90deg, var(--white) 0%, rgba(255, 253, 248, 0.98) 78%, rgba(255, 253, 248, 0) 100%);
}

.hero__copy::after {
  content: "";
  position: absolute;
  inset: 0 -320px 0 auto;
  z-index: -1;
  width: 430px;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.92), rgba(255, 253, 248, 0));
}

.hero__line,
.section-label {
  margin: 0 0 16px;
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.mobile-break {
  display: none;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 4.25vw, 4.55rem);
}

h1 span,
.dark-band h2 span {
  color: var(--gold);
}

.hero__copy p:not(.hero__line) {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin-top: 34px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 253, 248, 0.84);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-form label:last-of-type {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
  font: 400 1rem/1.5 var(--sans);
  padding: 14px 15px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form .btn {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  background: var(--ink);
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.97) 0%, rgba(255, 253, 248, 0.7) 35%, rgba(255, 253, 248, 0) 58%);
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  filter: contrast(1.02);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.proof-strip article {
  min-height: 150px;
  padding: 30px clamp(18px, 3vw, 48px);
  text-align: center;
  border-right: 1px solid var(--line);
}

.proof-strip article:last-child {
  border-right: 0;
}

.proof-strip h2 {
  margin: 8px 0 6px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-strip p,
.proof-strip span {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.proof-strip__icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  box-shadow: inset 8px 0 0 rgba(185, 154, 94, 0.22);
}

.proof-strip__icon--build {
  border-radius: 50% 50% 3px 3px;
  box-shadow: inset 0 -8px 0 rgba(185, 154, 94, 0.22);
}

.proof-strip__icon--handover {
  transform: rotate(45deg);
  box-shadow: inset 8px 8px 0 rgba(185, 154, 94, 0.18);
}

.proof-strip__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 0.95;
}

.split-section,
.experience,
.process,
.contact-section {
  padding: clamp(72px, 9vw, 132px) clamp(22px, 5vw, 72px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.section-copy {
  max-width: 640px;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.section-copy p,
.dark-band p,
.contact-card p {
  color: var(--muted);
  font-size: 1rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.service-list span {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 0.64fr;
  gap: 18px;
  align-items: end;
}

.image-pair img,
.experience-grid img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-pair img:first-child {
  aspect-ratio: 16 / 11;
}

.image-pair img:last-child {
  aspect-ratio: 4 / 5;
  transform: translateY(38px);
}

.experience {
  background: var(--white);
}

.gallery-section {
  padding: clamp(72px, 9vw, 132px) clamp(22px, 5vw, 72px);
  background: var(--paper);
}

.home-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: clamp(190px, 24vw, 340px);
  gap: 18px;
}

.home-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.home-gallery img:first-child {
  grid-row: span 2;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 900px;
  margin-bottom: 0;
}

.section-heading a {
  border-bottom: 1px solid var(--gold);
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.experience-grid img {
  aspect-ratio: 1.18 / 1;
  margin-bottom: 18px;
}

.experience-grid h3,
.process-list h3 {
  margin-bottom: 8px;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-grid p,
.process-list p,
.contact-details {
  color: var(--muted);
  font-size: 0.92rem;
}

.dark-band {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 560px);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding: clamp(66px, 8vw, 112px) clamp(22px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(32, 40, 22, 0.98), rgba(32, 40, 22, 0.88)),
    url("assets/img/estate-entrance.webp") center / cover;
  color: var(--white);
}

.dark-band .section-label {
  color: var(--gold);
}

.dark-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.dark-band p {
  color: rgba(255, 253, 248, 0.78);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-block: 1px solid var(--line);
}

.process-list li {
  padding: 30px clamp(18px, 2.4vw, 38px);
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 0;
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
}

.contact-card {
  padding: clamp(42px, 6vw, 76px);
  background: var(--olive);
}

.contact-card .section-label {
  color: var(--gold);
}

.contact-card h2 {
  max-width: 720px;
}

.contact-card p {
  max-width: 660px;
  color: rgba(255, 253, 248, 0.76);
}

.contact-card .btn--primary {
  background: var(--gold);
  color: var(--ink);
}

.contact-card .btn--text {
  color: var(--white);
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(38px, 5vw, 72px);
  color: rgba(255, 253, 248, 0.82);
}

.contact-details p {
  margin: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.16);
}

.contact-details span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(22px, 5vw, 72px);
  background: #0f100e;
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.84rem;
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(244, 241, 234, 0.98), rgba(244, 241, 234, 0.86)),
    url("assets/img/completed-home-exterior.webp") center / cover;
}

.thanks-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 40px;
  padding: clamp(24px, 6vw, 80px);
}

.thanks-card {
  max-width: 720px;
  padding: clamp(32px, 5vw, 64px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.thanks-card p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
}

.brand--footer {
  color: var(--white);
  width: 240px;
  filter: none;
}

.brand--footer .brand__name {
  font-size: 1.5rem;
}

@media (max-width: 980px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .nav,
  .header-cta,
  .menu-toggle {
    display: none;
  }

  .site-header.is-open .nav {
    position: absolute;
    inset: 76px 18px auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .split-section,
  .dark-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    display: grid;
  }

  .hero__copy {
    width: 100%;
    min-height: auto;
    padding-top: 118px;
    background: var(--white);
  }

  .hero__copy::after,
  .hero__media::before {
    display: none;
  }

  .hero__media {
    position: relative;
    min-height: 460px;
  }

  .hero__media img {
    object-position: 50% 50%;
  }

  .proof-strip,
  .experience-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip article:nth-child(2),
  .process-list li:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 16px 18px;
    width: 100%;
    max-width: 100vw;
  }

  .brand__name {
    font-size: 1.55rem;
  }

  .brand--image {
    width: 172px;
  }

  .brand__sub {
    font-size: 0.52rem;
  }

  h1 {
    max-width: 350px;
    font-size: 2.38rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 2.24rem;
  }

  .hero__copy {
    width: 100%;
    max-width: 390px;
    padding: 104px 20px 48px;
  }

  .hero__copy p:not(.hero__line) {
    max-width: 340px;
  }

  .hero__actions,
  .contact-actions {
    gap: 16px;
  }

  .btn {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 0.68rem;
  }

  .mobile-break {
    display: block;
  }

  .hero__media {
    min-height: 330px;
  }

  .proof-strip,
  .experience-grid,
  .process-list,
  .home-gallery,
  .section-heading,
  .service-list,
  .image-pair {
    grid-template-columns: 1fr;
  }

  .proof-strip article,
  .process-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .image-pair img:last-child {
    transform: none;
  }

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

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