:root {
  --bg: #f6f3ef;
  --bg-raised: #fffdfb;
  --ink: #141414;
  --muted: #5e584f;
  --line: #e4ddd4;
  --accent: #1d6fbf;
  --accent-dark: #155894;
  --accent-soft: #e7f2fb;
  --header-h: 76px;
  --max: 1120px;
  --serif: "Urbanist", sans-serif;
  --sans: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 243, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 28px;
  height: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: white;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-dark);
  color: white;
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #cfc6bb;
}

.btn.secondary:hover {
  background: white;
  color: var(--ink);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.menu-toggle .bars::before,
.menu-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle .bars::before {
  top: -5px;
}

.menu-toggle .bars::after {
  top: 5px;
}

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

.hero {
  padding: 72px 0 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 560;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
  max-width: 14ch;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  margin: 22px 0 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.photo {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  background: #e7e1d8;
}

.feature-photo {
  aspect-ratio: 16 / 9;
  max-height: 520px;
}

.photo-frame {
  margin: 0;
}

.photo-frame figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-split,
.services-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.services-intro {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.about-split .photo {
  aspect-ratio: 4 / 3;
}

.services-intro .photo {
  height: auto;
  aspect-ratio: auto;
  object-fit: unset;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.hero-panel {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 8px;
}

.hero-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-row li {
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
}

.stat-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 16ch;
}

.section-intro {
  margin: 0 0 32px;
  max-width: 40rem;
  color: var(--muted);
}

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

.card,
.service {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.card h3,
.service h3 {
  margin: 8px 0 8px;
  font-size: 1.45rem;
}

.index {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.card p,
.service p,
.step p,
.prose p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.step strong {
  display: block;
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

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

.band h2,
.band .section-intro {
  color: white;
}

.band h2 {
  max-width: 34ch;
}

.band .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.band .btn.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.band .btn.secondary:hover {
  background: white;
  color: var(--ink);
}

.services {
  display: grid;
  gap: 16px;
}

.service {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}

.service h3 {
  margin-top: 0;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 40px;
}

.prose h2:first-child {
  margin-top: 0;
}

.note {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

.note p {
  margin: 0;
}

.note p + p {
  margin-top: 4px;
}

.phone {
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.map-block {
  margin: 8px 0 0;
}

.map-frame {
  height: 280px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #e7e1d8;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

form {
  display: grid;
  gap: 14px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d9d1c7;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 12px 12px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
.btn:focus-visible,
.menu-toggle:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--ink);
}

.footer-legal {
  display: grid;
  gap: 2px;
  margin: 0;
}

.footer-legal strong {
  color: var(--ink);
  font-weight: 650;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 8px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav .btn {
    padding: 12px 4px;
  }

  .hero-grid,
  .cards,
  .steps,
  .contact-grid,
  .service,
  .about-split,
  .services-intro {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .section {
    padding: 52px 0;
  }
}

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