:root {
  --paper: #fffaf4;
  --soft: #f4efe7;
  --ink: #231f27;
  --muted: #625965;
  --wine: #7e2948;
  --teal: #0f695f;
  --gold: #bb8a34;
  --line: rgba(35, 31, 39, 0.14);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.62;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 760;
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--wine);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}

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

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.96) 0%, rgba(255, 250, 244, 0.88) 34%, rgba(255, 250, 244, 0.12) 70%),
    url("/assets/hero-esoteric.png") center / cover no-repeat;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 20px 82px;
  width: 100%;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  color: var(--teal);
  font-weight: 760;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 52px;
}

h2 {
  margin: 0 0 24px;
  font-size: 34px;
}

h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 46px;
}

.stat {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.stat strong {
  display: block;
  color: var(--wine);
  font-size: 21px;
  line-height: 1.2;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.section {
  padding: 68px 20px;
}

.section.alt {
  background: #eef7f4;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.service-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.article-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
}

.service-card h3,
.article-card h3,
.faq-card h3 {
  font-size: 19px;
}

.service-card p,
.article-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
}

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

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 276px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  border: 1px solid rgba(15, 105, 95, 0.22);
  border-radius: 999px;
  color: var(--teal);
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 760;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card .read {
  margin-top: auto;
  padding-top: 18px;
  color: var(--wine);
  font-weight: 760;
  text-decoration: none;
}

.cta-band {
  background: var(--ink);
  color: var(--white);
}

.cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  margin: 12px 0 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer {
  padding: 34px 20px;
  background: #17151a;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.article-hero {
  padding: 54px 20px 38px;
  background: #eef7f4;
  border-bottom: 1px solid var(--line);
}

.article-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}

.article-hero h1 {
  font-size: 44px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
}

.article-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 46px 20px 70px;
}

.article-body {
  font-size: 19px;
}

.article-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 30px;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body h2 {
  margin-top: 42px;
  font-size: 30px;
}

.takeaways {
  margin: 42px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
}

.takeaways ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.article-cta {
  margin-top: 42px;
  padding: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.article-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.related {
  margin-top: 46px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related a {
  display: block;
  min-height: 112px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  font-weight: 760;
}

@media (max-width: 920px) {
  h1 {
    font-size: 40px;
  }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(90deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 250, 244, 0.9) 54%, rgba(255, 250, 244, 0.42) 100%),
      url("/assets/hero-esoteric.png") center / cover no-repeat;
  }

  .service-grid,
  .article-grid,
  .faq-grid,
  .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-inner {
    padding: 54px 18px 62px;
  }

  h1,
  .article-hero h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 18px;
  }

  .stats,
  .service-grid,
  .article-grid,
  .faq-grid,
  .related-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 18px;
  }

  .section-head,
  .footer-inner {
    display: block;
  }

  .article-layout {
    padding: 36px 18px 56px;
  }

  .article-body {
    font-size: 17px;
  }
}
