:root {
  --background: #f4f1eb;
  --surface: #fbfaf7;
  --surface-strong: #e5ded3;
  --ink: #242321;
  --muted: #68645f;
  --line: #d8d1c7;
  --accent: #252422;
  --shadow: 0 16px 40px rgb(50 44 35 / 8%);
  --radius: 22px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(216 209 199 / 80%);
  background: rgb(244 241 235 / 88%);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  gap: 4px;
}

.brand-mark i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5715d;
}

.brand-mark i:nth-child(2) {
  background: #e8b759;
}

.brand-mark i:nth-child(3) {
  background: #75ae76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

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

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin-block: 5px;
  border-radius: 2px;
  background: var(--ink);
}

.section {
  padding-block: clamp(72px, 10vw, 132px);
  scroll-margin-top: 72px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  background: var(--surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(40px, 5.3vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 10px;
  font-size: clamp(18px, 2vw, 22px);
  color: #4d4944;
}

.hero-detail {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(36 35 33 / 20%);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 24px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.facts div {
  min-width: 0;
  padding: 10px 18px;
  text-align: center;
}

.facts div + div {
  border-left: 1px solid var(--line);
}

.facts dt {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.facts dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section-bordered {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

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

.section-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px);
}

.section-heading {
  align-self: start;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: #d1c5b3;
  font-size: 13px;
  font-weight: 800;
}

.about-layout {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.portrait-placeholder {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d8cbb8;
  color: #3d3934;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgb(50 44 35 / 12%);
}

.prose {
  max-width: 800px;
  color: #4d4944;
}

.prose p:last-child,
.contact-content p:last-child {
  margin-bottom: 0;
}

.large-copy {
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgb(88 79 67 / 18%);
  background: rgb(88 79 67 / 18%);
}

.services-list article {
  min-height: 270px;
  padding: clamp(28px, 4vw, 44px);
  background: #ebe6de;
}

.services-list article p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.service-index {
  margin-bottom: 46px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

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

.contact-section .section-number {
  background: #55514b;
  color: white;
}

.contact-content {
  max-width: 740px;
}

.contact-content .large-copy {
  color: white;
}

.site-footer {
  border-top: 1px solid #45423d;
  background: var(--accent);
  color: #c9c4bc;
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 13px;
}

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

  .hero-grid {
    gap: 56px;
  }

  .hero {
    min-height: auto;
  }

  .facts {
    max-width: 620px;
  }

  .section-grid {
    gap: 50px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-nav {
    position: absolute;
    top: 71px;
    right: 0;
    left: 0;
    display: none;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    padding: 12px 8px;
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .section {
    padding-block: 72px;
  }

  .facts {
    grid-template-columns: 1fr;
    padding: 4px 22px;
  }

  .facts div {
    padding: 22px 10px;
  }

  .facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .facts dt {
    min-height: auto;
  }

  .about-layout,
  .services-list {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 26px;
  }

  .portrait-placeholder {
    width: 90px;
  }

  .services-list article {
    min-height: auto;
  }

  .service-index {
    margin-bottom: 32px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
