:root {
  --ink: #18211c;
  --paper: #f5f2e9;
  --paper-deep: #eae4d5;
  --accent: #e65f3c;
  --accent-dark: #b83c21;
  --green: #244c3d;
  --line: rgba(24, 33, 28, 0.18);
  --content-width: 1120px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

.sr-only {
  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: sticky;
  z-index: 10;
  top: 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.main-navigation {
  display: flex;
  gap: 32px;
}

.main-navigation a,
.footer-inner a {
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.main-navigation a:hover,
.footer-inner a:hover {
  color: var(--accent-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  padding: 90px 0 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: 72px;
  align-items: center;
}

.eyebrow,
.section-number,
.card-label {
  margin: 0 0 22px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

h2 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: #48514c;
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

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

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

.button-primary:hover {
  background: var(--accent-dark);
}

.text-link {
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  color: var(--accent);
}

.hero-card {
  padding: 38px;
  color: white;
  background: var(--green);
  border-radius: var(--radius);
  box-shadow: 18px 18px 0 var(--paper-deep);
  transform: rotate(2deg);
}

.hero-card .card-label {
  color: #ffc5b5;
}

.card-quote {
  margin-bottom: 60px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.18;
}

.card-details {
  display: grid;
  gap: 8px;
  color: #d7e6df;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  padding: 110px 0;
}

.intro-section {
  background: white;
}

.intro-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 70px;
}

.intro-grid > div > p,
.contact-details > p {
  max-width: 680px;
  color: #56605a;
  font-size: 1.08rem;
}

.services-section {
  background: var(--paper-deep);
}

.section-heading {
  margin-bottom: 50px;
}

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

.service-card {
  min-height: 275px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.service-card > span {
  display: block;
  margin-bottom: 72px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 0;
  color: #5f6863;
}

.contact-section {
  color: white;
  background: var(--green);
}

.contact-section .section-number {
  color: #ffc5b5;
}

.contact-details > p {
  color: #d6e3dd;
}

.button-light {
  margin: 12px 0 22px;
  color: var(--green);
  background: white;
}

.button-light:hover {
  background: #f0eadc;
}

.contact-details .contact-note {
  font-size: 0.82rem;
}

.site-footer {
  background: #16382d;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
}

.footer-inner {
  min-height: 90px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 760px) {
  .menu-button {
    display: block;
  }

  .main-navigation {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 24px 20px;
    flex-direction: column;
    gap: 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .hero {
    padding: 64px 0 80px;
  }

  .hero-grid,
  .intro-grid,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .intro-grid,
  .contact-grid {
    gap: 42px;
  }

  .hero-card {
    box-shadow: 10px 10px 0 var(--paper-deep);
    transform: none;
  }

  .section {
    padding: 80px 0;
  }

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

  .service-card > span {
    margin-bottom: 38px;
  }
}

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

  .button {
    transition: none;
  }
}
