:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --surface-soft: #f1eee7;
  --surface-warm: #e7ddd0;
  --text: #282724;
  --muted: #66615a;
  --line: #ddd6ca;
  --accent: #6f7f58;
  --accent-strong: #4f5e3d;
  --clay: #a7654f;
  --focus: #264f7a;
  --shadow: 0 18px 50px rgba(56, 49, 40, 0.10);
  --radius: 8px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--text);
  color: #fff;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(221, 214, 202, 0.72);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: grid;
  text-decoration: none;
  line-height: 1.2;
  min-width: 180px;
}

.brand span {
  font-weight: 750;
  font-size: 1.04rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-soft);
}

.nav-links .nav-cta {
  color: #fff;
  background: var(--accent-strong);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta[aria-current="page"] {
  color: #fff;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 0.55rem 0.8rem;
}

.hero {
  width: min(100% - 32px, 1240px);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.hero-copy {
  max-width: 700px;
}

.hero h1,
.page-hero h1,
.not-found h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5.2rem);
  line-height: 1.02;
  max-width: 980px;
}

.hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--surface-soft);
}

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

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.74rem 1rem;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
}

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

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

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.button.secondary:hover {
  background: var(--surface-soft);
}

.section,
.page {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.page {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.page-hero {
  max-width: 900px;
  padding: clamp(1rem, 4vw, 2rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.intro,
.content-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro h2,
.section-heading h2,
.cta-band h2,
.note h2,
.text-block h2,
.side-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.intro p,
.section-heading p,
.text-block p,
.side-panel p,
.cta-band p,
.note p,
.service-detail p,
.faq-list p,
.timeline p {
  color: var(--muted);
}

.muted {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - var(--max)) / 2));
  padding-right: max(16px, calc((100vw - var(--max)) / 2));
  background: var(--surface-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

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

.topic-grid article,
.service-card,
.service-detail,
.side-panel,
.timeline article,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.topic-grid h3,
.service-card h3,
.service-detail h2,
.timeline h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.topic-grid p,
.service-card p,
.timeline p {
  margin: 0;
}

.service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card span,
.timeline span {
  color: var(--clay);
  font-weight: 800;
}

.note,
.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 2rem;
}

.cta-band {
  text-align: center;
  max-width: 820px;
}

.cta-band p {
  margin-inline: auto;
  max-width: 620px;
}

.services-list,
.faq-list,
.timeline {
  display: grid;
  gap: 1rem;
}

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

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.text-block,
.legal-page .text-block {
  max-width: 820px;
}

.text-block h2:not(:first-child) {
  margin-top: 2rem;
}

.clean-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.clean-list li + li {
  margin-top: 0.6rem;
}

.faq-list {
  max-width: 880px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 760;
  font-size: 1.05rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row label,
.checkbox {
  font-weight: 700;
}

.form-row label span {
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 0.82rem 0.88rem;
}

textarea {
  resize: vertical;
}

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0.22rem;
}

.form-note,
.small-text {
  color: var(--muted);
  font-size: 0.94rem;
}

.turnstile-slot {
  min-height: 1px;
}

.form-status {
  min-height: 28px;
  font-weight: 700;
}

.form-status.is-error {
  color: #9f2f23;
}

.form-status.is-success {
  color: var(--accent-strong);
}

.contact-email {
  display: inline-flex;
  margin: 0.5rem 0 1.2rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 30;
  width: min(calc(100% - 32px), 760px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.cookie-banner div {
  display: flex;
  gap: 0.6rem;
}

.not-found {
  width: min(100% - 32px, 760px);
  min-height: 100vh;
  display: grid;
  align-content: center;
  margin: 0 auto;
}

@media (max-width: 920px) {
  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    justify-content: flex-start;
  }

  .hero,
  .intro,
  .content-grid,
  .contact-layout,
  .note {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .nav,
  .section,
  .page,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    width: min(100% - 24px, 1240px);
    padding-top: 2rem;
  }

  .topic-grid,
  .service-grid,
  .services-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 170px;
  }

  .actions,
  .cookie-banner div {
    width: 100%;
  }

  .button,
  .cookie-banner div .button {
    width: 100%;
  }
}
