:root {
  --bg: #f3f1ee;
  --bg-elevated: #faf9f7;
  --bg-tint: #e7ebe9;
  --ink: #1f2423;
  --ink-soft: #4a524f;
  --line: #d5d9d6;
  --accent: #2f4f4a;
  --accent-hover: #243d39;
  --accent-soft: #8fa3a0;
  --danger: #8a3b32;
  --ok: #2f5d45;
  --shadow: 0 18px 40px rgba(31, 36, 35, 0.08);
  --radius: 4px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --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);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #e4ebe8 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ece8e2 0%, transparent 50%),
    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);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

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

.narrow {
  max-width: 42rem;
}

.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: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.85rem;
  z-index: 100;
}

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

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

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(31, 36, 35, 0.04);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  background: var(--accent);
  transform: rotate(12deg);
}

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

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

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

.nav-cta {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 0.35rem 0;
}

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

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

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

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

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

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

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: calc(100vh - var(--header-h));
  max-height: 860px;
}

.hero-media {
  overflow: hidden;
  background: var(--bg-tint);
}

.hero-media img,
.page-hero-media img,
.article-cover,
.service-card img,
.offer-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: rise 0.9s ease both;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: linear-gradient(160deg, var(--bg-elevated), #eef1ef 70%);
  animation: fade-up 0.8s ease 0.1s both;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 700;
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.12rem;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem;
  animation: fade-up 0.7s ease both;
}

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

.hero-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-detail img {
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}

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

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

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

.section-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

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

.section-cta-band h2,
.section-cta-band p {
  color: #eef2f0;
}

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

.offer-list {
  display: grid;
  gap: 1.25rem;
}

.offer-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  animation: fade-up 0.7s ease both;
}

.offer-row:last-child {
  border-bottom: 1px solid var(--line);
}

.offer-row img {
  max-height: 180px;
  object-fit: cover;
}

.meta,
.price-line,
.note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.price-line {
  font-weight: 700;
  color: var(--ink);
  margin: 0.75rem 0 1.25rem;
}

.split-copy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.pull-quote {
  margin: 0;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

.pull-quote cite {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

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

.service-card h2 {
  font-size: 1.25rem;
}

.service-card h2 a {
  text-decoration: none;
  color: var(--ink);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.detail-grid h2 {
  margin-top: 1.5rem;
}

.detail-grid ul,
.detail-grid ol,
.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elevated);
  margin-bottom: 2rem;
}

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

.rate-table th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: var(--bg-tint);
}

.pricing-notes {
  max-width: 42rem;
}

.review-stack {
  display: grid;
  gap: 1.5rem;
}

.review-item {
  margin: 0;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.review-item blockquote {
  margin: 0 0 1rem;
}

.review-item figcaption {
  display: grid;
  gap: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.case-story {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

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

.contact-card,
.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

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

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

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

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

.form-status {
  margin-top: 1rem;
}

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

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

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.process-steps article {
  padding: 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  animation: fade-up 0.7s ease both;
}

.article-cover {
  margin: 1.25rem 0 1.75rem;
  max-height: 420px;
  object-fit: cover;
}

.prose h2 {
  margin-top: 2rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 2rem;
  background: #232a28;
  color: #d7ddd9;
}

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

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

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

.footer-label {
  color: #f3f5f4;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.footer-note,
.site-footer p {
  color: #b7c0bb;
}

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

.footer-links li {
  margin-bottom: 0.4rem;
}

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

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(35, 42, 40, 0.96);
  color: #e8eeea;
  padding: 1rem 0;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.18);
}

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

.cookie-inner p {
  color: #d5ddd8;
  margin: 0;
}

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

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

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

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

@keyframes rise {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .hero-split,
  .hero-detail,
  .offer-row,
  .split-copy,
  .detail-grid,
  .contact-grid,
  .footer-grid,
  .card-grid,
  .process-steps,
  .cookie-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-split {
    max-height: none;
    min-height: 0;
  }

  .hero-media {
    min-height: 240px;
    max-height: 320px;
  }

  .nav-toggle {
    display: inline-block;
  }

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

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

  .header-inner {
    position: relative;
  }
}
