:root {
  --ink: #18221d;
  --muted: #647068;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --clay: #a9613c;
  --moss: #53664b;
  --charcoal: #26312b;
  --line: rgba(24, 34, 29, 0.14);
  --shadow: 0 20px 60px rgba(24, 34, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageSettle {
  from {
    transform: scale(1.035);
  }

  to {
    transform: scale(1);
  }
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.04;
  margin: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7.4rem);
  font-weight: 500;
  max-width: 11ch;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: 0;
}

.site-header {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 134px;
  padding: 1.3rem clamp(1rem, 6vw, 6rem);
  position: fixed;
  right: 0;
  top: 0;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, min-height 220ms ease, padding 220ms ease;
  z-index: 50;
}

.site-header::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
  transition: opacity 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(24, 34, 29, 0.12);
  box-shadow: 0 12px 32px rgba(24, 34, 29, 0.08);
  min-height: 96px;
  padding-bottom: 0.85rem;
  padding-top: 0.85rem;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.brand,
.nav {
  position: relative;
  z-index: 1;
}

.brand img {
  filter: drop-shadow(0 12px 18px rgba(24, 34, 29, 0.16));
  height: clamp(92px, 10vw, 150px);
  transition: height 220ms ease, filter 220ms ease;
  width: auto;
}

.site-header.is-scrolled .brand img {
  filter: drop-shadow(0 8px 14px rgba(24, 34, 29, 0.12));
  height: clamp(72px, 7vw, 110px);
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav a {
  color: #121f3a;
  position: relative;
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.72);
}

.nav a:not(.nav-cta)::after {
  background: currentColor;
  bottom: -0.35rem;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
  width: 100%;
}

.nav a:not(.nav-cta):hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.about-page .site-header:not(.is-scrolled) .nav a:not(.nav-cta),
.reviews-page .site-header:not(.is-scrolled) .nav a:not(.nav-cta) {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.site-header.is-scrolled .nav a:not(.nav-cta) {
  color: #121f3a;
  text-shadow: none;
}

.nav-cta {
  background: var(--clay);
  border-radius: 999px;
  color: #fff !important;
  min-width: 126px;
  padding: 0.82rem 1.35rem;
  text-align: center;
  text-shadow: none !important;
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: #b96945;
  transform: translateY(-1px);
}

.hero {
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

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

.hero-media::after {
  background: linear-gradient(180deg, rgba(247, 244, 238, 0.55), rgba(24, 34, 29, 0.34) 58%, rgba(24, 34, 29, 0.48));
  content: "";
  inset: 0;
  position: absolute;
}

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

.js .hero-media img {
  animation: heroImageSettle 1200ms ease-out both;
}

.hero-content {
  align-self: center;
  justify-self: center;
  max-width: 1180px;
  padding: clamp(8rem, 17vw, 15rem) clamp(1.25rem, 6vw, 6rem) clamp(4rem, 9vw, 8rem);
  position: relative;
  text-align: center;
  z-index: 1;
}

.js .hero-content {
  animation: heroContentIn 700ms 140ms ease-out both;
}

.hero-content h1 {
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: 800;
  max-width: none;
  text-shadow: 0 3px 22px rgba(24, 34, 29, 0.36);
}

.hero-content p:not(.eyebrow) {
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 1.2rem auto 0;
  max-width: 920px;
  text-shadow: 0 3px 20px rgba(24, 34, 29, 0.4);
}

.hero-content .eyebrow,
.hero-content .actions {
  display: none;
}

.eyebrow {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.2rem;
}

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

.button.secondary {
  border: 1px solid rgba(24, 34, 29, 0.28);
  color: var(--charcoal);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.section-link {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6rem);
}

.intro,
.feature {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.section-copy,
.feature-copy,
.section-heading {
  max-width: 720px;
}

.centered {
  margin: 0 auto 2.5rem;
  text-align: center;
}

.prose {
  max-width: 680px;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.check-list li {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-weight: 750;
  gap: 0.75rem;
}

.check-list li::before {
  background: var(--moss);
  content: "";
  display: inline-block;
  height: 0.7rem;
  width: 0.7rem;
}

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

.image-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.image-strip img {
  aspect-ratio: 1 / 1.08;
  height: 100%;
  object-fit: cover;
  transition: filter 240ms ease, transform 240ms ease;
  width: 100%;
}

.image-strip img:hover {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.018);
}

.services,
.values {
  background: var(--surface);
}

.service-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1320px;
}

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

.service-grid article {
  background: #f3efe6;
  min-height: 260px;
  padding: clamp(1.3rem, 3vw, 2rem);
  transition: background-color 200ms ease, transform 200ms ease;
}

.service-grid article:hover {
  background: #eee7db;
  transform: translateY(-3px);
}

.service-grid span {
  color: var(--clay);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 2.4rem;
}

.service-grid p,
.steps p {
  font-size: 0.98rem;
  margin-top: 1rem;
}

.feature {
  background: #e8ede4;
}

.feature-copy {
  max-width: 760px;
}

.feature-copy h2 {
  line-height: 1.1;
  margin-bottom: 1.35rem;
  max-width: 13ch;
}

.feature-copy > p:not(.eyebrow) {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.85;
  max-width: 820px;
}

.feature-copy .compact {
  column-gap: clamp(2rem, 6vw, 5.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  row-gap: 1.15rem;
}

.feature-copy .check-list li {
  align-items: flex-start;
  line-height: 1.35;
}

.feature-copy .check-list li::before {
  flex: 0 0 auto;
  margin-top: 0.32em;
}

.feature-image img {
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
  width: 100%;
}

.feature-image img:hover {
  transform: scale(1.012);
}

.feature-image.wide img {
  aspect-ratio: 5 / 4;
}

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

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

.steps article {
  border-top: 3px solid var(--clay);
  padding-top: 1.4rem;
}

.testimonials {
  background: var(--charcoal);
}

.testimonials h2,
.testimonials h3,
.testimonials .eyebrow {
  color: #fff;
}

.quote-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.quote-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-left: auto;
  margin-right: auto;
  max-width: 1040px;
}

figure {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

blockquote {
  color: #f3efe6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.35;
  margin: 0;
}

figcaption {
  color: #cfd6d0;
  font-weight: 800;
  margin-top: 1.4rem;
}

.cta {
  background: var(--moss);
  text-align: center;
}

.cta h2,
.cta .eyebrow {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.cta .actions {
  justify-content: center;
}

.cta .button.primary {
  background: #fff;
  color: var(--charcoal);
}

.cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.page-hero {
  background: var(--charcoal);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  padding: clamp(10rem, 16vw, 15rem) clamp(1.25rem, 6vw, 6rem) clamp(5rem, 10vw, 10rem);
}

.page-hero h1,
.page-hero .eyebrow {
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6.5vw, 6.2rem);
  max-width: 12ch;
}

.page-hero p:not(.eyebrow) {
  align-self: end;
  color: #d9ded7;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.about-intro {
  background: var(--paper);
}

.about-reviews {
  background: var(--charcoal);
}

.about-reviews h2,
.about-reviews .eyebrow {
  color: #fff;
}

.reviews-intro {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.review-section {
  background: var(--surface);
}

.review-section.alt {
  background: #e8ede4;
}

.review-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1240px;
}

.review-card {
  background: #f3efe6;
  border-top: 4px solid var(--clay);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.review-card blockquote {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
}

.review-location {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.team-section {
  background: var(--surface);
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 1180px;
}

.team-card {
  align-items: stretch;
  background: #f3efe6;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  min-height: 420px;
  overflow: hidden;
}

.team-card img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 260ms ease;
  width: 100%;
}

.team-card:hover img {
  transform: scale(1.018);
}

.team-card div {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3.25rem);
}

.team-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-card p + p {
  margin-top: 1rem;
}

.split-band {
  align-items: center;
  background: var(--clay);
  color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 6vw, 6rem);
}

.split-band h2,
.split-band .eyebrow,
.split-band p {
  color: #fff;
}

.site-footer {
  align-items: center;
  background: #141b17;
  color: #fff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: 2rem clamp(1.25rem, 6vw, 6rem);
}

.site-footer img {
  background: #fff;
  height: 92px;
  margin-bottom: 1rem;
  padding: 0.35rem;
  width: auto;
}

.site-footer p {
  color: #cbd2cc;
  max-width: 460px;
}

.footer-links {
  display: grid;
  gap: 0.7rem;
  text-align: right;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js .image-strip img.reveal {
  opacity: 0.68;
  transform: translateY(10px) scale(1.006);
}

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

.js .image-strip img.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 980px) {
  .intro,
  .feature,
  .reviews-intro,
  .page-hero,
  .split-band,
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: auto;
  }

  .team-card img {
    aspect-ratio: 4 / 3;
  }

  .service-grid,
  .service-grid.three,
  .steps,
  .quote-grid,
  .quote-grid.two,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 100px;
    padding: 0.9rem 1rem;
  }

  .brand img {
    height: 76px;
  }

  .site-header.is-scrolled {
    min-height: 84px;
    padding: 0.6rem 1rem;
  }

  .site-header.is-scrolled .brand img {
    height: 62px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem 0.9rem;
    max-width: 285px;
  }

  .nav a:not(.nav-cta) {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.62), rgba(24, 34, 29, 0.34) 54%, rgba(24, 34, 29, 0.56));
  }

  .hero-content {
    padding-top: 9rem;
  }

  .hero-content h1 {
    font-size: clamp(2.1rem, 12vw, 3.5rem);
  }

  .hero-content p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .image-strip,
  .service-grid,
  .service-grid.three,
  .steps,
  .quote-grid,
  .quote-grid.two,
  .review-grid,
  .compact {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    text-align: left;
  }
}
