:root {
  --ink: #142824;
  --ink-soft: #2f4a44;
  --jade: #1a3a36;
  --jade-mid: #2f6b5f;
  --mint: #7eb8a8;
  --foam: #e7f2ef;
  --mist: #d5e4df;
  --sand: #f3efe6;
  --paper: #f7f5f0;
  --coral: #c46b4a;
  --line: rgba(20, 40, 36, 0.14);
  --shadow: 0 18px 50px rgba(20, 40, 36, 0.12);
  --radius: 18px;
  --font-display: "Literata", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(126, 184, 168, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 107, 74, 0.12), transparent 50%),
    linear-gradient(180deg, var(--foam) 0%, var(--paper) 38%, var(--sand) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  color: var(--jade);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

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

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--jade-mid);
  margin-bottom: 0.85rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

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

.btn--primary {
  background: var(--jade);
  color: var(--foam);
}

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

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

.btn--secondary:hover {
  background: var(--jade);
  color: var(--foam);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(231, 242, 239, 0.82);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--jade);
}

.brand__mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, var(--mint), var(--jade-mid) 55%, var(--jade));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  animation: markPulse 4.5s ease-in-out infinite;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand--footer .brand__name {
  font-size: 1.5rem;
}

@keyframes markPulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.06) rotate(4deg);
  }
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.55rem;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--jade);
  border-radius: 2px;
}

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

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

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

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

.nav-cta:hover {
  background: var(--jade-mid);
  color: #fff !important;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.05) translateY(0);
  }
  to {
    transform: scale(1.12) translateY(-1.5%);
  }
}

.home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(20, 40, 36, 0.88) 12%, rgba(20, 40, 36, 0.45) 55%, rgba(20, 40, 36, 0.2) 100%),
    linear-gradient(0deg, rgba(20, 40, 36, 0.55), transparent 45%);
}

.home-hero__content {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  color: var(--foam);
  max-width: 36rem;
}

.home-hero .brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  animation: riseIn 0.9s ease both;
}

.home-hero h1 {
  color: var(--mint);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  max-width: 22ch;
  margin-bottom: 0.85rem;
  animation: riseIn 0.9s ease 0.12s both;
}

.home-hero .lead {
  color: rgba(231, 242, 239, 0.9);
  animation: riseIn 0.9s ease 0.22s both;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: riseIn 0.9s ease 0.32s both;
}

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

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

.section--panel {
  position: relative;
}

.section--panel::before {
  content: "";
  position: absolute;
  inset: 8% 4% auto;
  height: 84%;
  border-radius: 2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(231, 242, 239, 0.35)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 12px,
      rgba(47, 107, 95, 0.035) 12px,
      rgba(47, 107, 95, 0.035) 13px
    );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: -1;
}

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

.offer-strip {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.offer-strip__main {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.offer-strip__main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

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

.offer-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.offer-list a:hover {
  border-color: var(--mint);
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(4px);
}

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

.quote {
  margin: 0;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(26, 58, 54, 0.94);
  color: var(--foam);
  border-left: 4px solid var(--mint);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
}

.quote footer {
  font-size: 0.88rem;
  opacity: 0.8;
  margin-top: 1rem;
}

.page-hero {
  position: relative;
  padding: 4rem 0 2.5rem;
  overflow: hidden;
}

.page-hero--inner .page-hero__layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(126, 184, 168, 0.4), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(196, 107, 74, 0.15), transparent 35%);
  z-index: -1;
}

.services-grid,
.posts-grid,
.rates-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(2, 1fr);
}

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

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

.media-tile__body {
  padding: 1.2rem 1.3rem 1.4rem;
}

.detail-hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: end;
}

.detail-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 40, 36, 0.25), rgba(20, 40, 36, 0.88));
}

.detail-hero__copy {
  padding: 4rem 0 3rem;
  color: var(--foam);
}

.detail-hero__copy h1,
.detail-hero__copy .eyebrow {
  color: #fff;
}

.detail-hero__copy .lead {
  color: rgba(231, 242, 239, 0.9);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  padding: 3rem 0;
}

.detail-aside {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.process-list {
  display: grid;
  gap: 0.85rem;
  padding-left: 1.2rem;
}

.process-block {
  padding-bottom: 4rem;
}

.prose-page {
  max-width: 46rem;
  padding-bottom: 4rem;
}

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

.prose-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.25rem 0;
}

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

.prose-page th {
  background: rgba(126, 184, 168, 0.2);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.85);
}

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

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--coral);
}

.field-error,
.form-status {
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.field-error {
  color: var(--coral);
}

.form-status[data-state="success"] {
  color: var(--jade-mid);
}

.form-status[data-state="error"] {
  color: var(--coral);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding-bottom: 4rem;
}

.contact-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  height: fit-content;
}

.reviews-stack {
  display: grid;
  gap: 1.25rem;
  max-width: 48rem;
  padding-bottom: 2rem;
}

.review {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.review--muted {
  background: rgba(26, 58, 54, 0.94);
  color: var(--foam);
  border-color: transparent;
}

.case-story {
  margin: 2rem 0 4rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(231, 242, 239, 0.55));
  border: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 1.5rem;
  counter-reset: steps;
  padding-bottom: 4rem;
}

.timeline__item {
  position: relative;
  padding: 1.3rem 1.3rem 1.3rem 4.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  counter-increment: steps;
}

.timeline__item::before {
  content: counter(steps);
  position: absolute;
  left: 1.1rem;
  top: 1.2rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--jade);
  color: var(--foam);
  font-weight: 700;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(26, 58, 54, 0.06)),
    rgba(255, 255, 255, 0.35);
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-heading {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

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

.site-footer__base {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.cookie-banner__inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: rgba(20, 40, 36, 0.96);
  color: var(--foam);
  box-shadow: var(--shadow);
  width: min(900px, 100%);
  margin-inline: auto;
}

.cookie-banner a {
  color: var(--mint);
}

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

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.post-cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 0 2rem;
}

.post-back {
  padding-bottom: 3rem;
}

@media (max-width: 900px) {
  .offer-strip,
  .detail-grid,
  .contact-grid,
  .site-footer__grid,
  .evidence-band {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .posts-grid,
  .rates-grid {
    grid-template-columns: 1fr;
  }

  .section--panel::before {
    inset: 4% 2% auto;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(247, 245, 240, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

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

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