:root {
  --ink: #332826;
  --muted: #746763;
  --paper: #f8f3ee;
  --cream: #fffaf5;
  --clay: #bd7f5c;
  --clay-dark: #925f43;
  --sage: #69776c;
  --line: rgba(83, 61, 50, 0.16);
  --shadow: 0 24px 70px rgba(67, 49, 42, 0.12);
  --content-max: 1180px;
  --hero-max: 1440px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, 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;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(248, 243, 238, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header > * {
  flex-shrink: 0;
}

.site-header,
.section,
.cta-section,
.site-footer {
  padding-right: max(clamp(18px, 4vw, 56px), calc((100vw - var(--content-max)) / 2));
  padding-left: max(clamp(18px, 4vw, 56px), calc((100vw - var(--content-max)) / 2));
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 176px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(189, 127, 92, 0.42);
  border-radius: 50%;
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.brand-name,
.brand-subtitle {
  display: block;
  line-height: 1;
}

.brand-name {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-subtitle {
  margin-top: 5px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a,
.text-link,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--clay-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--clay-dark);
  border-radius: 999px;
  background: var(--clay-dark);
  color: #fffaf5;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #7b4e36;
  border-color: #7b4e36;
}

.button-small {
  min-height: 40px;
  padding: 10px 18px;
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 860px);
  display: grid;
  align-items: end;
  padding:
    clamp(36px, 6vw, 76px)
    max(clamp(18px, 6vw, 76px), calc((100vw - var(--hero-max)) / 2 + 76px));
  overflow: hidden;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 243, 238, 0.95) 0%, rgba(248, 243, 238, 0.76) 39%, rgba(248, 243, 238, 0.2) 74%),
    linear-gradient(0deg, rgba(51, 40, 38, 0.08), rgba(51, 40, 38, 0));
}

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

.hero-content {
  position: relative;
  max-width: 720px;
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(58px, 10vw, 128px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 76px);
}

h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.hero-copy {
  max-width: 610px;
  color: #4f433f;
  font-size: clamp(17px, 1.7vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.text-link {
  color: var(--ink);
  font-weight: 800;
}

.section {
  padding-top: clamp(70px, 10vw, 128px);
  padding-bottom: clamp(70px, 10vw, 128px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
  background: var(--cream);
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.trust-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.trust-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.section-muted {
  background:
    radial-gradient(circle at 18% 6%, rgba(255, 250, 245, 0.82), transparent 28%),
    #eee5dc;
}

.section-heading {
  display: grid;
  max-width: 1040px;
  margin-bottom: 42px;
}

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

.service-card,
.result-card,
.process-list article {
  background: rgba(255, 250, 245, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 310px;
  padding: 26px;
}

.service-number {
  display: block;
  margin-bottom: 68px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
}

.service-card p,
.process-list p,
.result-card p,
.cta-section p,
.results-heading p {
  color: var(--muted);
}

.process-section {
  background: var(--cream);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: process;
}

.process-list article {
  min-height: 260px;
  padding: 24px;
}

.process-list span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 44px;
  place-items: center;
  border: 1px solid rgba(146, 95, 67, 0.42);
  border-radius: 50%;
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

.results-heading {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: end;
}

.result-card {
  overflow: hidden;
}

.placeholder-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 270px;
  background:
    linear-gradient(135deg, rgba(255, 250, 245, 0.84), rgba(189, 127, 92, 0.16)),
    repeating-linear-gradient(45deg, rgba(51, 40, 38, 0.04) 0 1px, transparent 1px 16px);
}

.placeholder-pair div {
  display: grid;
  place-items: end start;
  padding: 18px;
}

.placeholder-pair div + div {
  border-left: 1px solid rgba(83, 61, 50, 0.16);
}

.placeholder-pair span {
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.result-card h3 {
  padding: 22px 22px 24px;
  margin: 0;
}

.cta-section {
  display: grid;
  justify-items: center;
  padding-top: clamp(80px, 11vw, 138px);
  padding-bottom: clamp(80px, 11vw, 138px);
  text-align: center;
  background: var(--cream);
}

.cta-section h2 {
  max-width: 850px;
}

.cta-section p {
  max-width: 610px;
  margin: 22px 0 30px;
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--ink);
  color: rgba(255, 250, 245, 0.82);
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

@media (max-width: 960px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-top: 2px;
  }

  .hero {
    min-height: 700px;
    align-items: end;
  }

  .intro-section,
  .results-heading {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .nav {
    gap: 18px;
    justify-content: flex-start;
    font-size: 13px;
  }

  .hero {
    min-height: 680px;
    padding: 32px 18px 46px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(248, 243, 238, 0.98) 0%, rgba(248, 243, 238, 0.86) 46%, rgba(248, 243, 238, 0.24) 100%),
      linear-gradient(90deg, rgba(248, 243, 238, 0.75), rgba(248, 243, 238, 0.18));
  }

  h1 {
    font-size: clamp(50px, 18vw, 74px);
  }

  h2 {
    font-size: clamp(38px, 13vw, 54px);
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

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

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

  .service-number,
  .process-list span {
    margin-bottom: 34px;
  }
}
