:root {
  --ink: #0e1117;
  --ink-light: #2d3142;
  --cream: #f6f1e9;
  --cream-dark: #ede7d8;
  --gold: #b8935a;
  --gold-light: #d4ac78;
  --mist: #8a8fa8;
  --panel: rgba(255, 255, 255, 0.72);
  --line: rgba(14, 17, 23, 0.1);
  --font-display: "DM Serif Display", serif;
  --font-body: "Jost", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(212, 172, 120, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 28%),
    var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 233, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  display: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-cta,
.btn-primary {
  display: inline-block;
  border: 0;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 1.05rem;
  color: var(--cream);
  background: var(--ink);
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover,
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

.hero-shell {
  max-width: 860px;
  padding: 2.5rem 0 2rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  max-width: 900px;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-subtitle,
.lede {
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.76;
  font-weight: 300;
  color: var(--ink-light);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  color: var(--mist);
  font-size: 0.88rem;
}

.meta-pill {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(184, 147, 90, 0.32);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
}

.blog-grid {
  display: grid;
  gap: 1.25rem;
  padding-top: 1rem;
}

.blog-card,
.article-card,
.cta-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(14, 17, 23, 0.06);
}

.blog-card {
  padding: 1.5rem;
}

.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.blog-card p {
  font-size: 0.98rem;
  line-height: 1.72;
  font-weight: 300;
  color: var(--ink-light);
}

.keyword-line {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

.blog-card-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
  align-items: center;
}

.text-link,
.inline-link,
.btn-text {
  border-bottom: 1px solid rgba(14, 17, 23, 0.3);
  padding-bottom: 1px;
}

.text-link:hover,
.inline-link:hover,
.btn-text:hover {
  opacity: 0.7;
}

.article-card {
  max-width: 780px;
  padding: 1.8rem 1.35rem;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.article h2,
.article h3 {
  font-family: var(--font-display);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.article h2 {
  margin-top: 0.7rem;
  font-size: 1.9rem;
}

.article h3 {
  margin-top: 0.5rem;
  font-size: 1.3rem;
}

.article p,
.article li {
  font-size: 1rem;
  line-height: 1.82;
  font-weight: 300;
  color: var(--ink-light);
}

.article ul,
.article ol {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-left: 1.2rem;
}

.article strong {
  color: var(--ink);
  font-weight: 500;
}

.callout {
  margin: 0.35rem 0;
  padding: 1.1rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: rgba(184, 147, 90, 0.08);
}

.callout p {
  color: var(--ink);
}

.checklist {
  display: grid;
  gap: 0.65rem;
  margin: 0.35rem 0;
}

.check-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(14, 17, 23, 0.08);
  background: rgba(255, 255, 255, 0.45);
}

.check-mark {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1.5;
}

.check-item p {
  font-size: 0.95rem;
}

.cta-panel {
  max-width: 780px;
  margin-top: 1.5rem;
  padding: 1.8rem 1.35rem;
  background:
    linear-gradient(135deg, rgba(14, 17, 23, 0.97), rgba(45, 49, 66, 0.97)),
    var(--ink);
  color: var(--cream);
}

.cta-panel .eyebrow {
  margin-bottom: 0.75rem;
}

.cta-panel h2 {
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.cta-panel p {
  max-width: 620px;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.76;
  font-weight: 300;
  color: rgba(246, 241, 233, 0.76);
}

.btn-light {
  display: inline-block;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.2rem;
  color: var(--ink);
  background: var(--cream);
}

.btn-light:hover {
  opacity: 0.9;
}

.btn-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(246, 241, 233, 0.86);
  border-bottom-color: rgba(246, 241, 233, 0.45);
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid rgba(14, 17, 23, 0.08);
  margin-top: 4rem;
  color: var(--mist);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 1rem 1.4rem;
  flex-wrap: wrap;
}

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

@media (min-width: 640px) {
  .nav {
    padding: 1rem 2rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-link {
    display: inline-block;
  }

  .page-shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .blog-card,
  .article-card,
  .cta-panel {
    padding: 2rem;
  }
}

@media (min-width: 860px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .hero-shell {
    padding-top: 4rem;
  }

  .footer {
    flex-direction: row;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
