:root {
  --navy:   #1F2D25;
  --navy2:  #2F4034;
  --cream:  #EAE4D8;
  --sand:   #C4A882;
  --white:  #F9F7F4;
  --vivid:  #6F8058;
  --text:   #23312A;
  --muted:  #6F7C70;
  --line:   rgba(31,45,37,0.12);
  --paper:  #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: transparent;
  transition: background 0.2s, box-shadow 0.2s;
}
nav.scrolled { background: #ffffff; box-shadow: 0 1px 0 rgba(28,43,58,0.08); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 28px; height: 28px; }
.nav-logo-text { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy) !important;
  background: transparent;
  border: 1.5px solid var(--navy);
  padding: 7px 20px;
  border-radius: 24px 20px 26px 21px / 19px 26px 20px 24px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--navy); color: var(--white) !important; transform: translateY(-1px); }

.hero {
  min-height: 54vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 132px 24px 76px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -25%; left: -25%;
  width: 150%; height: 150%;
  background:
    radial-gradient(circle at 50% 50%, rgba(234,228,216,0.25) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(196,168,130,0.12) 0%, transparent 55%);
  animation: heroDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
@keyframes heroDrift {
  0%   { transform: translate(0%, 0%) scale(1); }
  33%  { transform: translate(6%, -5%) scale(1.06); }
  66%  { transform: translate(-4%, 7%) scale(0.96); }
  100% { transform: translate(3%, 4%) scale(1.04); }
}
.hero-logo { width: 52px; height: 52px; margin-bottom: 28px; display: block; }
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vivid);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--navy);
  max-width: 780px;
}
.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
}

.blog-section {
  padding: 82px 48px 118px;
  background: var(--white);
}
.blog-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.section-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vivid);
  margin-bottom: 18px;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.42fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}
.section-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
}
.section-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  list-style: none;
}
.article-grid > li {
  display: flex;
  min-width: 0;
}
.article-card {
  min-height: 228px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.2s, transform 0.15s;
}
.article-card:hover {
  border-color: rgba(31,45,37,0.22);
  box-shadow: 0 14px 36px rgba(31,45,37,0.08);
  transform: translateY(-2px);
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.article-tag {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(234,228,216,0.64);
  border: 1px solid rgba(31,45,37,0.12);
  color: var(--navy);
  max-width: 100%;
}
.article-audience {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-left: auto;
}
.article-title {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.article-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vivid);
  font-size: 13px;
  font-weight: 700;
}

.closing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(249,247,244,0.09) 0%, rgba(234,228,216,0.045) 34%, transparent 64%),
    radial-gradient(circle at 18% 78%, rgba(196,168,130,0.075) 0%, transparent 32%),
    linear-gradient(180deg, #070907 0%, #0B0E0B 50%, #060806 100%);
  padding: 118px 48px;
  text-align: center;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 68% 18%, rgba(249,247,244,0.045) 0%, transparent 34%);
  pointer-events: none;
}
.closing > * { position: relative; z-index: 1; }
.closing-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.closing-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
  color: #ffffff;
  line-height: 1.15;
  max-width: 640px;
  margin: 0 auto;
}
.closing-sub {
  margin: 18px auto 0;
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.7;
}
.source-tags {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.source-tag {
  padding: 9px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.source-tag span {
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}
.closing-cta {
  display: inline-block;
  margin-top: 34px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 34px;
  background: var(--white);
  color: var(--navy);
  border-radius: 24px 20px 26px 21px / 19px 26px 20px 24px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.2s;
}
.closing-cta:hover { background: #ffffff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

footer {
  background: #ffffff;
  border-top: 1px solid rgba(28,43,58,0.08);
  padding: 40px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo-icon { width: 24px; height: 24px; }
.footer-logo-text { font-size: 15px; font-weight: 700; color: var(--navy); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--navy); }
.footer-copy { font-size: 13px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 112px 20px 62px; min-height: 48vh; }
  .hero-sub { font-size: 16px; }
  .blog-section { padding: 64px 18px 86px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 206px; }
  .closing { padding: 88px 20px; }
  footer { padding: 32px 20px; }
}
