:root {
  --ink: #15251f;
  --ink-soft: #3d5349;
  --foam: #f3f7f4;
  --mist: #e6efea;
  --chart: #c5d9cf;
  --jade: #2a6b5a;
  --jade-deep: #1d4f42;
  --copper: #b56a3a;
  --copper-deep: #8f4f28;
  --line: rgba(21, 37, 31, 0.12);
  --surface: rgba(255, 255, 255, 0.78);
  --shadow: 0 20px 48px rgba(21, 37, 31, 0.1);
  --radius: 6px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", Helvetica, sans-serif;
  --space: clamp(1rem, 2.4vw, 1.75rem);
  --max: 70rem;
  --header-h: 4.35rem;
}

*,
*::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 70% 45% at 0% 0%, rgba(42, 107, 90, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(181, 106, 58, 0.1), transparent 50%),
    linear-gradient(165deg, #f7faf8 0%, var(--foam) 45%, var(--mist) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background:
    repeating-radial-gradient(circle at 20% 30%, transparent 0 28px, rgba(42, 107, 90, 0.045) 29px 30px),
    repeating-radial-gradient(circle at 80% 70%, transparent 0 36px, rgba(21, 37, 31, 0.03) 37px 38px);
  z-index: 0;
}

body.nav-open {
  overflow: hidden;
}

main,
.site-header,
.site-footer,
.cookie-banner {
  position: relative;
  z-index: 1;
}

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

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

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

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

.js-error {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 80;
  margin: 0;
  padding: 0.85rem 1rem;
  background: #fff4ef;
  border: 1px solid var(--copper);
  color: var(--ink);
  font-size: 0.95rem;
}

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

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

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

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

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero .btn--ghost:hover,
.page-hero--image .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section .btn--ghost,
.prose .btn--ghost,
.page-hero:not(.page-hero--image) .btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.section .btn--ghost:hover,
.prose .btn--ghost:hover,
.page-hero:not(.page-hero--image) .btn--ghost:hover {
  border-color: var(--jade);
  color: var(--jade-deep);
}

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

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.site-header__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.site-header__toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}

.site-header__toggle-bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
}

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

.site-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin: 0;
  padding: 0;
}

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

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--jade-deep);
}

.site-nav__cta {
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(21, 37, 31, 0.88) 12%, rgba(21, 37, 31, 0.55) 55%, rgba(21, 37, 31, 0.35) 100%),
    linear-gradient(0deg, rgba(21, 37, 31, 0.55), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 7rem) var(--space) clamp(2.5rem, 6vh, 4rem);
  animation: rise-in 0.9s ease both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.8vw, 2.65rem);
  line-height: 1.15;
  font-weight: 600;
  max-width: 16ch;
  margin: 0 0 1rem;
}

.hero__lede {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4.5rem) var(--space);
}

.section--tint {
  background: rgba(197, 217, 207, 0.28);
  border-block: 1px solid var(--line);
  max-width: none;
  padding-inline: max(var(--space), calc((100% - var(--max)) / 2 + var(--space)));
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--jade);
  margin: 0 0 0.6rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  max-width: 22ch;
}

.section__lede {
  max-width: 40rem;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--space) 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.page-hero p {
  max-width: 40rem;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}

.page-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--jade);
  margin: 0 0 0.6rem !important;
}

.page-hero--image {
  position: relative;
  max-width: none;
  min-height: 22rem;
  display: grid;
  align-items: end;
  color: #fff;
  padding: 0;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(21, 37, 31, 0.85), rgba(21, 37, 31, 0.4));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) var(--space);
}

.page-hero--image p {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero--image .page-hero__eyebrow {
  color: var(--chart);
}

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

.offer {
  animation: rise-in 0.7s ease both;
}

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

.offer__media {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  border: 1px solid var(--line);
}

.offer__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.offer:hover .offer__media img {
  transform: scale(1.04);
}

.offer__badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-deep);
}

.offer__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
  line-height: 1.25;
}

.offer__title a {
  color: var(--ink);
  text-decoration: none;
}

.offer__title a:hover {
  color: var(--jade-deep);
}

.offer__summary {
  margin: 0;
  color: var(--ink-soft);
}

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

.split__media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.quote-stack {
  display: grid;
  gap: 1.25rem;
}

.quote {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border-left: 3px solid var(--jade);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.quote footer {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.note-list {
  display: grid;
  gap: 1.5rem;
}

.note-card {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.note-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.note-card h2,
.note-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  color: var(--ink);
}

.note-card__meta {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.note-card p {
  margin: 0;
  color: var(--ink-soft);
}

.note-card:hover h2,
.note-card:hover h3 {
  color: var(--jade-deep);
}

.path {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

.path__step {
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.path__step:hover {
  border-color: var(--jade);
  transform: translateX(4px);
}

.path__step h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}

.path__step p {
  margin: 0;
  color: var(--ink-soft);
}

.fee-list {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.fee {
  padding: 1.25rem 1.35rem;
  border-top: 1px solid var(--line);
}

.fee h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 0.35rem;
}

.fee__figure {
  font-weight: 700;
  color: var(--jade-deep);
  margin: 0 0 0.5rem;
}

.fee p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.contact-block {
  max-width: 36rem;
}

.contact-block h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.35rem;
}

.contact-block h2:first-child {
  margin-top: 0;
}

.article-cover {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

.article-cover img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.outcomes {
  padding-left: 1.15rem;
}

.pricing-note {
  padding: 0.9rem 1rem;
  background: rgba(197, 217, 207, 0.35);
  border-radius: var(--radius);
  color: var(--ink) !important;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

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

th {
  background: rgba(197, 217, 207, 0.35);
  color: var(--ink);
}

.site-footer {
  margin-top: 2rem;
  background: #15251f;
  color: #d7e5de;
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--space) 2rem;
}

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

.site-footer a:hover {
  color: #fff;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  color: #fff;
}

.site-footer__topic,
.site-footer__contact {
  margin: 0 0 1rem;
  color: #a8bfb4;
  font-size: 0.95rem;
}

.site-footer__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7eb89f;
  margin: 0 0 0.75rem;
}

.site-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__veve {
  margin-top: 0.5rem;
}

.site-footer__disclaimers {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.85rem;
}

.site-footer__disclaimers p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #8fa89c;
}

.site-footer__copy {
  color: #b7d2c5 !important;
  margin-top: 0.5rem !important;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 1rem var(--space);
  background: rgba(21, 37, 31, 0.96);
  color: #e6efea;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.92rem;
}

.cookie-banner__text a {
  color: #b7d2c5;
}

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

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

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

@keyframes hero-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(243, 247, 244, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem var(--space) 2rem;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0.85rem;
  }

  .site-nav__cta {
    align-self: flex-start;
  }

  .offer-grid,
  .split,
  .site-footer__inner,
  .note-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(88vh, 40rem);
  }

  .hero__headline {
    max-width: 18ch;
  }
}

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