:root {
  --bg: #f5f4f1;
  --bg-deep: #ebe8e2;
  --surface: #fffcf8;
  --ink: #1b1a17;
  --muted: #5f5a52;
  --line: #d8d3cb;
  --accent: #3f5348;
  --accent-hover: #2f3f37;
  --focus: #6a7f72;
  --error: #8b3a2f;
  --success: #2f5d45;
  --shadow: 0 18px 40px rgba(27, 26, 23, 0.06);
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Helvetica Neue", sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(63, 83, 72, 0.08), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(95, 90, 82, 0.08), transparent 55%),
    linear-gradient(180deg, #f8f6f2 0%, var(--bg) 40%, #f1efe9 100%);
  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;
  transition: color 0.25s var(--ease);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}

p {
  margin: 0 0 var(--space-2);
}

ul {
  margin: 0 0 var(--space-2);
  padding-left: 1.15rem;
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--surface);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(245, 244, 241, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 252, 248, 0.92);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.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 {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  background: var(--accent);
  color: var(--surface) !important;
  border-radius: var(--radius);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

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

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

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

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

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

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  padding: var(--space-5) 0 var(--space-4);
  display: grid;
  gap: var(--space-4);
}

.hero-copy {
  max-width: 38rem;
  animation: rise 0.8s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 500;
  color: var(--muted);
  max-width: 22ch;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-3);
}

.hero-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  animation: fade 1.1s var(--ease) both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  filter: saturate(0.92) contrast(1.02);
}

.section {
  padding: var(--space-5) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-4);
}

.section-head p {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-1);
}

.split {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-deep);
  box-shadow: var(--shadow);
}

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

.offer-list {
  display: grid;
  gap: var(--space-3);
}

.offer-item {
  display: grid;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s var(--ease) both;
}

.offer-item:nth-child(2) { animation-delay: 0.08s; }
.offer-item:nth-child(3) { animation-delay: 0.16s; }
.offer-item:nth-child(4) { animation-delay: 0.24s; }

.offer-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

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

.story-band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.quote-list {
  display: grid;
  gap: var(--space-3);
}

.quote-item blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
}

.quote-item cite {
  display: block;
  margin-top: var(--space-2);
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: var(--space-5) 0 var(--space-3);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 16ch;
}

.page-hero p {
  color: var(--muted);
  max-width: 48ch;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: var(--space-4);
  font-size: 1.6rem;
}

.prose h3 {
  margin-top: var(--space-3);
  font-size: 1.2rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: var(--space-3) 0;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg-deep);
}

.rate-block {
  display: grid;
  gap: var(--space-3);
}

.rate-row {
  display: grid;
  gap: 0.5rem;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}

.rate-row strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.form {
  display: grid;
  gap: var(--space-2);
  max-width: 36rem;
}

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

.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

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

.form-field .error {
  color: var(--error);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  display: none;
}

.form-status.is-visible {
  display: block;
}

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

.form-status.is-error {
  border-color: var(--error);
  color: var(--error);
}

.contact-aside {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  gap: var(--space-4);
}

.post-list,
.service-grid {
  display: grid;
  gap: var(--space-4);
}

.post-card,
.service-card {
  display: grid;
  gap: var(--space-2);
}

.post-card a,
.service-card a {
  text-decoration: none;
  color: inherit;
}

.post-card h2,
.service-card h2 {
  font-size: 1.45rem;
}

.post-meta,
.muted {
  color: var(--muted);
}

.site-footer {
  margin-top: var(--space-6);
  padding: var(--space-5) 0 var(--space-3);
  background: #1f221f;
  color: #d7d2ca;
}

.site-footer a {
  color: #ece7df;
}

.footer-grid {
  display: grid;
  gap: var(--space-3);
}

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

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a8a297;
  margin-bottom: 0.4rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-base {
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #a8a297;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  background: rgba(31, 34, 31, 0.96);
  color: #ece7df;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: rise 0.45s var(--ease);
}

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

.cookie-inner p {
  margin: 0;
  max-width: 46rem;
}

.cookie-inner a {
  color: #fff;
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.steps li {
  counter-increment: step;
  padding-left: 3rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-5) var(--space-2);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    min-height: calc(100vh - 4.25rem);
    padding-top: var(--space-4);
  }

  .hero-visual {
    min-height: 70vh;
  }

  .hero-visual img {
    min-height: 70vh;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1.2fr 0.9fr 0.9fr;
  }

  .post-list,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.75rem 1rem 1.25rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}
