:root {
  --sand: #e8dcc8;
  --sand-deep: #d4c4a8;
  --sand-dark: #a89070;
  --cream: #f7f0e4;
  --ink: #2a241c;
  --ink-soft: #5a5044;
  --aurora: #2f8f72;
  --aurora-bright: #4bb892;
  --violet: #6b5294;
  --violet-haze: #9b84c4;
  --gold: #e4c878;
  --gold-pale: #f2e6c9;
  --surface: rgba(247, 240, 228, 0.72);
  --surface-strong: rgba(232, 220, 200, 0.88);
  --line: rgba(42, 36, 28, 0.12);
  --shadow: 0 18px 50px rgba(74, 58, 36, 0.12);
  --radius: 4px;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --shell: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(75, 184, 146, 0.28), transparent 55%),
    radial-gradient(900px 600px at 95% 5%, rgba(155, 132, 196, 0.32), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(228, 200, 120, 0.22), transparent 55%),
    linear-gradient(165deg, #f4ebdc 0%, var(--sand) 42%, #ddd0b8 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 240, 228, 0.78);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--aurora);
}

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

.site-nav a {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-soft);
}

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

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(47, 143, 114, 0.35);
  background: linear-gradient(120deg, rgba(75, 184, 146, 0.18), rgba(228, 200, 120, 0.22));
}

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

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 50%, rgba(242, 230, 201, 0.55), transparent 40%),
    radial-gradient(circle at 70% 40%, rgba(75, 184, 146, 0.35), transparent 42%),
    radial-gradient(circle at 50% 80%, rgba(155, 132, 196, 0.28), transparent 45%);
  opacity: 0;
  transform: translateX(-30%) scale(0.9);
  transition: opacity 0.45s ease, transform 0.6s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
  transform: translateX(10%) scale(1.05);
}

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

.btn-primary {
  color: var(--cream);
  background: linear-gradient(125deg, var(--aurora) 0%, #3a7a68 45%, var(--violet) 100%);
  box-shadow: 0 10px 28px rgba(47, 143, 114, 0.28);
}

.btn-primary:hover {
  color: var(--gold-pale);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(42, 36, 28, 0.22);
}

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  animation: drift 28s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(42, 36, 28, 0.15) 0%, rgba(42, 36, 28, 0.55) 55%, rgba(42, 36, 28, 0.78) 100%),
    radial-gradient(700px 400px at 20% 30%, rgba(75, 184, 146, 0.35), transparent 60%),
    radial-gradient(600px 360px at 80% 20%, rgba(155, 132, 196, 0.3), transparent 55%);
}

.hero-copy {
  width: var(--shell);
  margin: 0 auto 4.5rem;
  color: var(--cream);
  max-width: 34rem;
  animation: rise 1s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 0.95;
  margin: 0 0 0.75rem;
  text-transform: lowercase;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero-copy h1 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-pale);
  margin-bottom: 0.75rem;
}

.hero-copy p {
  color: rgba(247, 240, 228, 0.88);
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

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

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
}

.lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.service-grid,
.blog-grid,
.price-grid,
.step-grid,
.evidence-grid {
  display: grid;
  gap: 1.25rem;
}

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

.blog-grid,
.price-grid,
.evidence-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-item {
  display: grid;
  gap: 0.85rem;
}

.service-item img,
.blog-card img,
.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.9);
}

.service-item h3,
.blog-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

.service-item h3 a,
.blog-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.service-item h3 a:hover,
.blog-card h3 a:hover {
  color: var(--aurora);
}

.meta {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--sand-dark);
  text-transform: uppercase;
}

.evidence-item blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

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

.step {
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  color: var(--violet);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.price-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}

.price-card.featured {
  background:
    linear-gradient(160deg, rgba(75, 184, 146, 0.16), rgba(155, 132, 196, 0.14)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
}

.price-card ul {
  padding-left: 1rem;
  flex: 1;
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.page-hero .media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

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

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(42, 36, 28, 0.2), rgba(42, 36, 28, 0.72));
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto 2.5rem;
  color: var(--cream);
}

.page-hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--gold-pale);
}

.prose {
  max-width: 42rem;
}

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

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

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

.form label {
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  color: var(--ink);
  background: rgba(247, 240, 228, 0.85);
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(47, 143, 114, 0.45);
  outline-offset: 1px;
}

.field-error {
  color: #8a3b2d;
  font-size: 0.88rem;
  min-height: 1.1em;
}

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

.form-status[data-state="success"] {
  border-color: rgba(47, 143, 114, 0.45);
  background: rgba(75, 184, 146, 0.14);
}

.form-status[data-state="error"] {
  border-color: rgba(138, 59, 45, 0.4);
  background: rgba(138, 59, 45, 0.08);
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2.2rem;
  font-size: 1.35rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(42, 36, 28, 0.92);
  color: rgba(247, 240, 228, 0.82);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: var(--gold-pale);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--aurora-bright);
}

.site-footer .brand {
  color: var(--cream);
}

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

.footer-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-deep);
  margin-bottom: 0.85rem;
}

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

.footer-address {
  font-style: normal;
  line-height: 1.7;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 240, 228, 0.12);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background:
    linear-gradient(120deg, rgba(232, 220, 200, 0.96), rgba(214, 200, 178, 0.96));
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(42, 36, 28, 0.15);
  padding: 1rem 0;
}

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

.cookie-copy {
  flex: 1 1 18rem;
}

.cookie-copy h2 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.cookie-copy p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

.cookie-error {
  width: 100%;
  color: #8a3b2d;
  margin: 0;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.not-found h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: 0.18em;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cta-band {
  text-align: center;
  padding: 3rem 1.5rem;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(75, 184, 146, 0.25), transparent 70%),
    var(--surface);
  border-block: 1px solid var(--line);
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

@keyframes drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-2%, 1%, 0); }
}

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

@media (max-width: 960px) {
  .service-grid,
  .blog-grid,
  .price-grid,
  .evidence-grid,
  .step-grid,
  .footer-grid,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .step-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(247, 240, 228, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

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

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    border: 0;
    background: transparent;
    padding-left: 0;
  }

  .service-grid,
  .blog-grid,
  .price-grid,
  .evidence-grid,
  .step-grid,
  .footer-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-copy {
    margin-bottom: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
