:root {
  --ink: #121212;
  --ink-soft: #252525;
  --paper: #ffffff;
  --paper-soft: #f7f6f3;
  --muted: #66625d;
  --line: #ded8cf;
  --gold: #c8a25a;
  --gold-deep: #9b7432;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 76px;
  padding: 0 44px;
  color: var(--paper);
  background: rgba(11, 11, 11, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(12, 12, 12, 0.94);
  border-color: rgba(200, 162, 90, 0.28);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  color: var(--gold);
  text-transform: uppercase;
}

.brand-main {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.site-nav a,
.header-cta,
.site-footer nav a {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
}

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

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

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-toggle span:not(.visually-hidden) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 132px 44px 64px;
  color: var(--paper);
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/hero-estate.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.93) 0%, rgba(8, 8, 8, 0.7) 35%, rgba(8, 8, 8, 0.1) 72%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.2) 0%, rgba(8, 8, 8, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(740px, 100%);
  padding-top: 18px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  margin-bottom: 24px;
  font-size: 4.7rem;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-size: 3.05rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.hero p,
.lead {
  font-size: 1rem;
  line-height: 1.8;
}

.hero p {
  max-width: 520px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
}

.rule {
  width: 48px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #dfc073;
}

.button-text {
  gap: 10px;
  padding-inline: 0;
  color: var(--paper);
}

.button-text::after {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.section {
  padding: 78px 44px;
}

.section-heading {
  width: min(740px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--gold);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.service-card {
  min-height: 270px;
  padding: 34px 22px 28px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
}

.service-card svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 22px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card p,
.process-step p,
.benefit-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
  padding: 88px 44px;
  color: var(--paper);
  background:
    radial-gradient(circle at top left, rgba(200, 162, 90, 0.16), transparent 28rem),
    var(--ink);
}

.split-copy {
  width: min(540px, 100%);
  justify-self: end;
}

.split-copy .lead {
  color: rgba(255, 255, 255, 0.86);
}

.benefit-list {
  display: grid;
  gap: 22px;
  padding: 20px 0 0;
  margin: 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
}

.benefit-list span,
.process-step span,
.quote-mark {
  color: var(--gold);
  font-family: var(--font-display);
}

.benefit-list span {
  font-size: 1.6rem;
  line-height: 1;
}

.benefit-list h3 {
  margin-bottom: 4px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
}

.benefit-list p {
  color: rgba(255, 255, 255, 0.76);
}

.split-image,
.quote-image {
  min-height: 430px;
  background-image: url("/assets/hero-estate.png");
  background-size: cover;
  box-shadow: var(--shadow);
}

.split-image {
  background-position: center right;
}

.process {
  background: var(--paper-soft);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin: 0 auto;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step {
  min-height: 230px;
  padding: 32px 34px;
  border-right: 1px solid var(--line);
}

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

.process-step span {
  display: block;
  margin-bottom: 10px;
  font-size: 2.05rem;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: center;
  padding: 74px 44px;
  color: var(--paper);
  background: #0c0d0d;
}

.quote-copy {
  width: min(590px, 100%);
  justify-self: end;
}

.quote-mark {
  display: block;
  height: 54px;
  font-size: 5.5rem;
  line-height: 0.8;
}

.quote-copy h2 {
  font-size: 2.45rem;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.quote-image {
  min-height: 310px;
  background-position: center center;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 70px;
  padding: 78px 44px;
  background: var(--paper);
}

.contact-copy {
  justify-self: end;
  width: min(440px, 100%);
}

.contact-copy p {
  color: var(--muted);
}

.contact-line {
  display: inline-flex;
  margin: 8px 0 18px;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
}

.small-note {
  font-size: 0.82rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(700px, 100%);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
}

label span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 90, 0.14);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 24px 44px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-brand .brand-main {
  font-size: 1.65rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.site-footer p {
  margin: 0;
  font-size: 0.76rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@media (max-width: 1120px) {
  .site-header {
    gap: 20px;
    padding-inline: 28px;
  }

  .site-nav {
    gap: 18px;
  }

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

  .split-band,
  .quote-band,
  .contact-section {
    gap: 42px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    height: 70px;
    padding-inline: 22px;
  }

  .menu-toggle {
    display: block;
  }

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

  .site-nav.is-open {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    justify-content: stretch;
    padding: 12px 22px 24px;
    background: rgba(12, 12, 12, 0.98);
    border-bottom: 1px solid rgba(200, 162, 90, 0.28);
  }

  .site-nav.is-open a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero {
    min-height: 84svh;
    padding: 112px 24px 50px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.72) 56%, rgba(8, 8, 8, 0.28) 100%),
      linear-gradient(180deg, rgba(8, 8, 8, 0.1) 0%, rgba(8, 8, 8, 0.5) 100%);
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .section,
  .split-band,
  .quote-band,
  .contact-section {
    padding-inline: 24px;
  }

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

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

  .split-copy,
  .quote-copy,
  .contact-copy {
    justify-self: start;
    width: min(680px, 100%);
  }

  .split-image,
  .quote-image {
    min-height: 330px;
  }

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

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 580px) {
  body {
    font-size: 14px;
  }

  .brand-main {
    font-size: 1.66rem;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero p,
  .lead {
    font-size: 0.95rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button-text {
    justify-content: flex-start;
  }

  .service-grid,
  .process-row,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step {
    min-height: auto;
  }

  .process-step,
  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .split-image,
  .quote-image {
    min-height: 260px;
  }
}
