:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --ink: #141414;
  --ink-muted: #5a5a56;
  --line: #e4e4df;
  --accent: #1b3a2f;
  --accent-soft: #2d5a4a;
  --warm: #c4a574;
  --error: #8b2e2e;
  --ok: #1b3a2f;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  --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-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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-soft);
}

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

h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

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

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.03);
}

.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(--ink);
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  background: var(--accent);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle-bars {
  width: 1rem;
  height: 0.7rem;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

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

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

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

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

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero & sections */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroRise 1.2s var(--ease) both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.15) 0%,
    rgba(20, 20, 20, 0.55) 45%,
    rgba(12, 22, 18, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
  padding: 5rem 0 4rem;
  animation: fadeUp 0.9s var(--ease) 0.15s both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero h1 {
  max-width: 14ch;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-lede {
  max-width: 36ch;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

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

.hero .btn-primary:hover {
  background: var(--bg-soft);
  color: var(--accent);
}

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

.section-soft {
  background: var(--bg-soft);
}

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

.section-head p {
  font-size: 1.05rem;
}

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.75rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.prose {
  max-width: 42rem;
}

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

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

.figure {
  overflow: hidden;
}

.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  animation: fadeUp 0.8s var(--ease) both;
}

.figure-wide img {
  aspect-ratio: 16 / 9;
}

/* Offer list — not cards, line-based */
.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.offer-list li {
  border-bottom: 1px solid var(--line);
}

.offer-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.5rem 0;
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.35s var(--ease);
}

.offer-list a:hover {
  padding-left: 0.5rem;
}

.offer-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--warm);
}

.offer-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.offer-list p {
  margin: 0;
  max-width: 42ch;
}

.offer-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* Evidence / quotes */
.quote-block {
  max-width: 40rem;
  padding: 0;
  margin: 0;
  border: none;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

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

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
}

.quote-item blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.quote-item p {
  color: var(--ink);
  font-size: 1.05rem;
}

.quote-item cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero .lede {
  max-width: 40rem;
  font-size: 1.15rem;
}

.page-hero-visual {
  margin-top: 2.5rem;
}

.page-hero-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Detail / meta rows */
.meta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.meta-row dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.35rem;
}

.meta-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.checklist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
}

/* Pricing */
.fee-table {
  width: 100%;
  border-collapse: collapse;
}

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

.fee-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  width: 38%;
}

.fee-table td {
  color: var(--ink-muted);
}

.fee-note {
  margin-top: 2rem;
  max-width: 40rem;
}

/* Blog */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list li + li {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.post-teaser {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 1.75rem;
  text-decoration: none;
  color: inherit;
}

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

.post-teaser time {
  display: block;
  font-size: 0.82rem;
  color: var(--warm);
  margin-bottom: 0.4rem;
}

.post-teaser h2 {
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.article-body {
  max-width: 40rem;
  margin-top: 2.5rem;
}

.article-body p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.article-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin: 2rem 0;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}

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

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

.field-error {
  display: none;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.form-field.is-invalid .field-error {
  display: block;
}

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

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

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

.form-status.is-error {
  background: #f7eaea;
  color: var(--error);
}

.contact-aside {
  display: grid;
  gap: 1.5rem;
}

.contact-aside h2 {
  font-size: 1.15rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 1.5rem 0 1.5rem 3.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--warm);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 1.15rem 0;
  animation: slideUp 0.45s var(--ease);
}

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

.cookie-inner p {
  margin: 0;
  max-width: 48rem;
  font-size: 0.92rem;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
  background: var(--bg-soft);
}

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

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

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.6rem;
}

.footer-address,
.footer-tag {
  font-size: 0.92rem;
}

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

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

.footer-links a,
.site-footer a {
  text-decoration: none;
  color: var(--ink-muted);
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRise {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .split,
  .split-reverse,
  .contact-layout,
  .post-teaser,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-reverse {
    direction: ltr;
  }

  .offer-list a {
    grid-template-columns: auto 1fr;
  }

  .offer-meta {
    grid-column: 2;
    white-space: normal;
  }

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
    animation: fadeUp 0.3s var(--ease);
  }

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

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1;
  }

  .hero {
    min-height: 78vh;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: min(1120px, calc(100% - 1.5rem));
  }

  .hero-content {
    padding-bottom: 3rem;
  }
}
