:root {
  --color-ink: #13261f;
  --color-forest: #1e3a2f;
  --color-forest-mid: #2f5746;
  --color-moss: #5a7d6a;
  --color-brass: #a8843d;
  --color-brass-soft: #d4b978;
  --color-paper: #eef2ec;
  --color-paper-deep: #dfe6d9;
  --color-cream: #f7f8f4;
  --color-white: #ffffff;
  --color-muted: #5c6b62;
  --color-error: #8b2e2e;
  --color-success: #1e5a3a;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Helvetica Neue", sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --radius: 2px;
  --shadow-soft: 0 12px 40px rgba(19, 38, 31, 0.08);
  --header-h: 4.25rem;
  --max: 70rem;
  --content: 42rem;
  --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);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(168, 132, 61, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(47, 87, 70, 0.1), transparent 50%),
    linear-gradient(180deg, var(--color-cream) 0%, var(--color-paper) 45%, var(--color-paper-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  color: var(--color-forest);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 var(--space-3); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 var(--space-3); }
h3 { font-size: 1.25rem; margin: 0 0 var(--space-2); }

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

ul, ol { margin: 0 0 var(--space-3); padding-left: 1.2rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  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 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brass);
  margin: 0 0 var(--space-3);
}

.lead {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 36rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  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);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-forest);
  color: var(--color-cream);
}

.btn--primary:hover {
  background: var(--color-ink);
  color: var(--color-cream);
}

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

.btn--ghost:hover {
  background: var(--color-forest);
  color: var(--color-cream);
}

.btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 244, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 58, 47, 0.1);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--color-forest);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-logo__mark {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, var(--color-forest), var(--color-brass));
  border-radius: 3px;
  flex-shrink: 0;
}

.site-logo__text {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(30, 58, 47, 0.2);
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 0.55rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-forest);
}

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

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

.site-nav__list a:hover {
  color: var(--color-brass);
}

.site-nav__list .btn {
  color: var(--color-cream);
}

.site-nav__list .btn:hover {
  color: var(--color-cream);
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-cream);
    border-bottom: 1px solid rgba(30, 58, 47, 0.12);
    padding: var(--space-3) var(--space-3) var(--space-4);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Home hero — full bleed */
.home-hero {
  position: relative;
  min-height: min(92vh, 48rem);
  display: grid;
  align-items: end;
  color: var(--color-cream);
  overflow: hidden;
  isolation: isolate;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(19, 38, 31, 0.88) 0%, rgba(19, 38, 31, 0.55) 48%, rgba(19, 38, 31, 0.25) 100%),
    var(--hero-image) center / cover no-repeat;
  z-index: -1;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

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

.home-hero__content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: var(--space-7) 0 var(--space-6);
}

.home-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-4);
  max-width: 12ch;
  animation: rise 0.9s var(--ease) both;
}

.home-hero__headline {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 28rem;
  margin: 0 0 var(--space-3);
  color: rgba(247, 248, 244, 0.92);
  animation: rise 0.9s var(--ease) 0.12s both;
}

.home-hero__support {
  max-width: 28rem;
  margin: 0 0 var(--space-5);
  color: rgba(247, 248, 244, 0.78);
  animation: rise 0.9s var(--ease) 0.2s both;
}

.home-hero__actions {
  animation: rise 0.9s var(--ease) 0.28s both;
}

.home-hero .btn--primary {
  background: var(--color-brass);
  color: var(--color-ink);
}

.home-hero .btn--primary:hover {
  background: var(--color-brass-soft);
  color: var(--color-ink);
}

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

/* Sections */
.section {
  padding: var(--space-6) 0;
}

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

.section__head {
  max-width: 36rem;
  margin-bottom: var(--space-5);
}

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

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

.split__visual {
  min-height: 22rem;
  background: var(--split-image) center / cover no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.split__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(19, 38, 31, 0.35));
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-4);
}

.offer-list__item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(30, 58, 47, 0.12);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s var(--ease);
}

.offer-list__item:hover {
  opacity: 0.85;
  text-decoration: none;
  color: inherit;
}

.offer-list__item img {
  width: 100%;
  height: 6.5rem;
  object-fit: cover;
  border-radius: var(--radius);
}

.offer-list__item h3 {
  margin-bottom: 0.35rem;
  color: var(--color-forest);
}

.offer-list__item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .offer-list__item {
    grid-template-columns: 1fr;
  }
}

.quote-panel {
  background: var(--color-forest);
  color: var(--color-cream);
  padding: var(--space-5);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.quote-panel::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(212, 185, 120, 0.25);
  border-radius: 50%;
  top: -4rem;
  right: -3rem;
  animation: orbit 14s linear infinite;
}

@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.quote-panel blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.35;
  font-weight: 500;
  position: relative;
  max-width: 36rem;
}

.quote-panel cite {
  display: block;
  margin-top: var(--space-4);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-brass-soft);
}

.band {
  background: linear-gradient(120deg, var(--color-forest) 0%, var(--color-forest-mid) 100%);
  color: var(--color-cream);
  padding: var(--space-6) 0;
}

.band h2 { color: var(--color-cream); }
.band p { color: rgba(247, 248, 244, 0.82); }
.band .btn--primary {
  background: var(--color-brass);
  color: var(--color-ink);
}

/* Page heroes */
.page-hero {
  margin-bottom: var(--space-5);
}

.page-hero--plain {
  padding: var(--space-6) 0 var(--space-4);
  background:
    linear-gradient(180deg, rgba(30, 58, 47, 0.06), transparent),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(30, 58, 47, 0.03) 11px,
      rgba(30, 58, 47, 0.03) 12px
    );
}

.page-hero--media {
  position: relative;
  min-height: 22rem;
  display: grid;
  align-items: end;
  color: var(--color-cream);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 38, 31, 0.35) 0%, rgba(19, 38, 31, 0.82) 100%),
    var(--page-hero-image) center / cover no-repeat;
}

.page-hero__copy {
  position: relative;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: var(--space-6) 0 var(--space-5);
}

.page-hero--media .lead {
  color: rgba(247, 248, 244, 0.82);
}

.page-hero--media h1 {
  color: var(--color-cream);
}

/* Prose */
.prose {
  max-width: var(--content);
  padding-bottom: var(--space-6);
}

.prose h2 {
  margin-top: var(--space-5);
}

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

.prose th,
.prose td {
  border: 1px solid rgba(30, 58, 47, 0.15);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: rgba(30, 58, 47, 0.06);
}

.cta-inline {
  margin-top: var(--space-5);
}

/* Listing grids — interaction containers */
.listing {
  display: grid;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
}

.listing__link {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(30, 58, 47, 0.1);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.listing__link:hover {
  border-color: var(--color-brass);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.listing__link img {
  width: 100%;
  height: 9rem;
  object-fit: cover;
}

.listing__meta {
  font-size: 0.82rem;
  color: var(--color-brass);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

@media (max-width: 700px) {
  .listing__link { grid-template-columns: 1fr; }
}

/* Pricing */
.fee-table {
  width: 100%;
  max-width: 48rem;
  border-collapse: collapse;
  margin: var(--space-4) 0 var(--space-5);
  background: rgba(255, 255, 255, 0.5);
}

.fee-table th,
.fee-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(30, 58, 47, 0.12);
  text-align: left;
  vertical-align: top;
}

.fee-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-forest);
  width: 40%;
}

.fee-table td strong {
  display: block;
  color: var(--color-forest);
  margin-bottom: 0.25rem;
}

.factor-list {
  display: grid;
  gap: var(--space-3);
  max-width: 40rem;
  list-style: none;
  padding: 0;
}

.factor-list li {
  padding: var(--space-3);
  border-left: 3px solid var(--color-brass);
  background: rgba(255, 255, 255, 0.45);
}

/* Reviews */
.review-stack {
  display: grid;
  gap: var(--space-4);
  max-width: 48rem;
  padding-bottom: var(--space-5);
}

.review {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.55);
  border-top: 3px solid var(--color-forest);
}

.review--long {
  border-top-color: var(--color-brass);
}

.review blockquote {
  margin: 0 0 var(--space-3);
  font-size: 1.05rem;
}

.review footer {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.case-block {
  max-width: 48rem;
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  background: var(--color-forest);
  color: var(--color-cream);
}

.case-block h2 { color: var(--color-cream); }
.case-block p { color: rgba(247, 248, 244, 0.88); }

/* Process / engagement */
.process {
  counter-reset: step;
  list-style: none;
  padding: 0;
  max-width: 42rem;
}

.process li {
  position: relative;
  padding: 0 0 var(--space-5) 4rem;
  border-left: 1px solid rgba(30, 58, 47, 0.2);
  margin-left: 1rem;
}

.process li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.process li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -1.15rem;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--color-forest);
  color: var(--color-cream);
  font-size: 0.75rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* Forms */
.form {
  max-width: 36rem;
  display: grid;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-5);
}

.form__field {
  display: grid;
  gap: 0.4rem;
}

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

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(30, 58, 47, 0.25);
  border-radius: var(--radius);
  font: inherit;
  background: var(--color-white);
  color: var(--color-ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--color-brass);
  outline-offset: 1px;
}

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

.form__status {
  padding: var(--space-3);
  border-radius: var(--radius);
  font-weight: 500;
}

.form__status[data-state="success"] {
  background: rgba(30, 90, 58, 0.12);
  color: var(--color-success);
}

.form__status[data-state="error"] {
  background: rgba(139, 46, 46, 0.1);
  color: var(--color-error);
}

.contact-aside {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--color-brass);
  max-width: 28rem;
}

.contact-aside p { margin-bottom: var(--space-2); }

.post-cover {
  margin: 0 0 var(--space-5);
}

.post-cover img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  background: var(--color-ink);
  color: rgba(247, 248, 244, 0.82);
  padding: var(--space-6) 0 var(--space-4);
  margin-top: auto;
}

.site-footer a {
  color: var(--color-brass-soft);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-cream);
  margin-bottom: var(--space-2);
}

.site-footer__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brass);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li { margin-bottom: 0.35rem; }

.site-footer__base {
  border-top: 1px solid rgba(247, 248, 244, 0.12);
  padding-top: var(--space-3);
  font-size: 0.88rem;
}

@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  background: var(--color-forest);
  color: var(--color-cream);
  padding: var(--space-3) 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
}

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

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

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

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

.cookie-banner__actions {
  display: flex;
  gap: var(--space-2);
}

.cookie-banner .btn--ghost {
  border-color: rgba(247, 248, 244, 0.45);
  color: var(--color-cream);
}

.cookie-banner .btn--ghost:hover {
  background: rgba(247, 248, 244, 0.12);
  color: var(--color-cream);
}

.cookie-banner .btn--primary {
  background: var(--color-brass);
  color: var(--color-ink);
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-6) var(--space-3);
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  color: var(--color-brass);
  margin: 0;
}

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