:root {
  --bg: #f3f4f1;
  --bg-alt: #e7ebe6;
  --surface: #ffffff;
  --ink: #1a1f1c;
  --muted: #5a635c;
  --line: #cfd6d0;
  --accent: #2f4a3c;
  --accent-soft: #d8e2db;
  --accent-hover: #243a30;
  --danger: #8a3b32;
  --shadow: 0 18px 40px rgba(26, 31, 28, 0.08);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #e4ebe4 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #dde5df 0%, transparent 45%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.narrow { max-width: 720px; }
.center { text-align: center; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(243, 244, 241, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 560;
  font-size: 0.98rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover { transform: translateY(-1px); }

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

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.text-link {
  font-weight: 560;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.hero-home {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 31, 28, 0.15) 0%, rgba(26, 31, 28, 0.72) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 12vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  color: #f7f8f5;
  max-width: 760px;
  margin-left: max(calc((100% - var(--shell)) / 2), 1.25rem);
  margin-right: auto;
  animation: riseIn 0.9s ease both;
}

.hero-copy .lede,
.hero-copy h1,
.brand-mark {
  color: inherit;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 38rem;
}

.hero-copy .lede { color: rgba(247, 248, 245, 0.88); }

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 1.5rem;
  animation: riseIn 0.7s ease both;
}

.page-hero-media { padding-bottom: 0; }

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

.section-alt {
  background: color-mix(in srgb, var(--bg-alt) 70%, transparent);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.media-block {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}

.media-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.offer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  animation: riseIn 0.6s ease forwards;
}

.offer-row:nth-child(1) { animation-delay: 0.05s; }
.offer-row:nth-child(2) { animation-delay: 0.12s; }
.offer-row:nth-child(3) { animation-delay: 0.19s; }
.offer-row:nth-child(4) { animation-delay: 0.26s; }

.offer-row h3 { margin-bottom: 0.35rem; }
.offer-row h3 a { color: inherit; text-decoration: none; }
.offer-row h3 a:hover { color: var(--accent); }

.offer-link {
  font-weight: 560;
  text-decoration: none;
  white-space: nowrap;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  padding-left: 1.2rem;
  margin: 1rem 0 1.5rem;
}

.steps li { margin-bottom: 0.65rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote {
  margin: 0;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p { margin-bottom: 0.85rem; }
.quote footer { color: var(--muted); font-size: 0.92rem; }
.quote .meta { display: block; margin-top: 0.25rem; }

.cta-band {
  background: var(--accent);
  color: #f4f6f4;
}

.cta-band h2,
.cta-band p { color: inherit; }

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.team-card img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 0.85rem;
  width: 100%;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th {
  background: var(--accent-soft);
  font-weight: 560;
}

.rate-table tr:last-child td { border-bottom: none; }

.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.spacing-top { margin-top: 2.5rem; }

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.process-list li {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  animation: riseIn 0.55s ease forwards;
}

.process-list li:nth-child(1) { animation-delay: 0.05s; }
.process-list li:nth-child(2) { animation-delay: 0.15s; }
.process-list li:nth-child(3) { animation-delay: 0.25s; }
.process-list li:nth-child(4) { animation-delay: 0.35s; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-weight: 560;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 40%, white);
  border-color: var(--accent);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
}

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

.form-status.is-error {
  background: #f3e2df;
  color: var(--danger);
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: #1a1f1c;
  color: #d6ddd7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-label {
  color: #fff;
  font-weight: 560;
  margin-bottom: 0.5rem;
}

.footer-text,
.footer-text a {
  color: #c5cec7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #c5cec7;
  text-decoration: none;
}

.footer-links a:hover { color: #fff; }
.footer-links li { margin-bottom: 0.35rem; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(26, 31, 28, 0.96);
  color: #e8eee9;
  padding: 1rem 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s ease;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-inner a { color: #fff; }
.cookie-actions { display: flex; gap: 0.6rem; }

.cookie-banner .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 560;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

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

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.45rem 0; }
  .nav-cta { text-align: center; }

  .split,
  .card-grid,
  .quote-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .offer-row {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }
}
