*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --ink: #141414;
  --paper: #f7f3ec;
  --paper-deep: #ebe3d6;
  --clay: #b76f4f;
  --sage: #7c8f7a;
  --blue: #193b63;
  --white: #ffffff;
  --muted: #6d675f;
  --line: rgba(20, 20, 20, 0.13);
  --shadow: 0 28px 80px rgba(25, 59, 99, 0.14);
  --font-main: "Inter", Arial, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-main);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  background: rgba(247, 243, 236, 0.78);
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  min-height: 68px;
  border-bottom-color: var(--line);
  background: rgba(247, 243, 236, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.9rem;
}

.brand strong {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: rgba(20, 20, 20, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav .nav-cta {
  padding: 11px 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  min-height: 100vh;
  padding: 132px clamp(20px, 6vw, 84px) 72px;
  background:
    linear-gradient(125deg, rgba(25, 59, 99, 0.08), transparent 42%),
    linear-gradient(180deg, var(--paper), var(--paper-deep));
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 980px;
  font-size: 48px;
}

h2 {
  font-size: clamp(2.6rem, 5vw, 5.5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.03rem;
  line-height: 1.25;
}

.lead,
.intro-copy p,
.contact-section p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.lead {
  max-width: 720px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.ghost {
  color: var(--blue);
  background: transparent;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 0 4% 12%;
  background: var(--sage);
  border-radius: 999px 999px 28px 28px;
  transform: rotate(-4deg);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(86%, 430px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.intro-section,
.services-section,
.reviews-section,
.contact-section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 84px);
}

.intro-grid {
  display: block;
}

.intro-section {
  text-align: center;
}

.intro-grid h2,
.intro-copy {
  max-width: 880px;
  margin-inline: auto;
}

.intro-copy {
  padding-top: 0;
}

.intro-copy p:last-child,
.contact-section p {
  margin-bottom: 0;
}

.services-section {
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.services-section .section-heading h2 {
  color: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.service-grid article {
  min-height: 300px;
  padding: clamp(22px, 3vw, 32px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.service-grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--sage);
  font-weight: 800;
}

.service-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.reviews-section {
  background:
    linear-gradient(90deg, rgba(183, 111, 79, 0.12), transparent 44%),
    var(--blue);
  color: var(--white);
}

.reviews-section h2 {
  color: var(--paper);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.17);
}

.reviews-grid article {
  min-height: 310px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--blue);
}

.reviews-grid p {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.74);
}

.reviews-grid strong,
.reviews-grid span {
  display: block;
}

.reviews-grid strong {
  color: var(--white);
  font-size: 1rem;
}

.reviews-grid span {
  color: var(--paper-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.contact-section > div:first-child {
  text-align: center;
}

.contact-copy .button {
  margin-top: 28px;
}

.contact-card {
  display: grid;
  border-top: 1px solid var(--line);
}

.contact-card a,
.contact-card div {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 84px);
  color: var(--paper);
  background: var(--ink);
}

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

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1020px) {
  .hero,
  .intro-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-visual {
    min-height: 520px;
    align-self: auto;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
  }

  .brand strong {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 22;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 21;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 88px 24px 24px;
    background: rgba(247, 243, 236, 0.98);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.1rem;
  }

  .site-nav .nav-cta {
    margin-top: 18px;
    padding: 16px;
    text-align: center;
  }

  .hero-visual {
    min-height: 460px;
    justify-content: flex-start;
  }

  .hero-visual::before {
    inset: 12% 14% 5% 0;
  }

  .hero-visual img {
    width: min(76%, 340px);
  }

  .service-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }

  .service-grid span {
    margin-bottom: 30px;
  }

  .reviews-grid article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

}
