:root {
  --story-ink: #15261d;
  --story-soft: #526159;
  --story-forest: #123c2d;
  --story-deep: #08271c;
  --story-mid: #286148;
  --story-sage: #9eb9a6;
  --story-lime: #74d14c;
  --story-cream: #f0ebdd;
  --story-paper: #fbfaf5;
  --story-blue: #1d68d8;
  --story-line: rgba(21, 38, 29, .18);
  --story-shadow: 0 24px 72px rgba(8, 39, 28, .12);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--story-ink);
  background: var(--story-paper);
  font-family: "Aptos", "Segoe UI", Verdana, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
body::before { display: none; }
a { color: inherit; }

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--story-forest);
  background: rgba(251, 250, 245, .95);
  border-bottom: 1px solid var(--story-line);
  backdrop-filter: blur(15px);
}
.navbar.glass-nav,
.navbar.glass-nav.scrolled {
  position: relative;
  top: auto;
  width: min(calc(100% - 48px), 1220px);
  min-height: 78px;
  margin-inline: auto;
  padding: 0;
  color: var(--story-forest);
  background: transparent;
  border: 0;
  box-shadow: none;
}
.navbar > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--story-forest);
  text-decoration: none;
}
.navbar > a:first-child::before {
  content: "";
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: url('../v2/assets/brand-mark.svg?v=2') center / contain no-repeat;
}
.navbar > a:first-child::after {
  content: "AgRhythm";
  color: var(--story-forest);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.navbar > a:first-child > span { display: none; }
.nav-links { gap: 2px; }
.nav-links a {
  padding: 9px 10px;
  color: var(--story-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  opacity: 1;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.highlight-green {
  color: var(--story-deep);
  background: var(--story-lime);
}
.nav-links .cta-button {
  min-height: 50px;
  margin-left: 12px;
  padding: 0 19px !important;
  display: inline-flex;
  align-items: center;
  color: white;
  background: var(--story-forest);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font-size: 13px !important;
}
.nav-links .cta-button:hover { color: white; background: var(--story-deep); }

.article-hero {
  position: relative;
  min-height: 650px;
  display: block;
  color: var(--story-ink);
  background: var(--story-cream);
  overflow: hidden;
}
.article-hero-img {
  width: min(38vw, 500px);
  height: calc(100% - 112px);
  min-height: 510px;
  top: 56px;
  right: max(24px, calc((100vw - 1220px) / 2));
  bottom: auto;
  left: auto;
  border-radius: 32px;
  background-position: center;
  box-shadow: var(--story-shadow);
}
.article-hero-overlay { display: none; }
.article-hero-content {
  width: min(calc(100% - 48px), 1220px);
  min-height: 650px;
  margin-inline: auto;
  padding: 82px 540px 82px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.article-hero-content h1 {
  max-width: 820px;
  margin: 22px 0 24px;
  color: var(--story-ink);
  font-family: "Aptos Display", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(54px, 6.4vw, 92px);
  font-weight: 680;
  letter-spacing: -.05em;
  line-height: .94;
}
.article-back-link {
  min-height: 48px;
  margin: 0 0 24px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--story-forest);
  background: rgba(255,255,255,.58);
  border: 1px solid var(--story-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}
.article-back-link:hover { color: var(--story-deep); background: white; gap: 9px; }
.article-category,
.article-category[style] {
  margin: 0;
  padding: 0;
  color: var(--story-mid) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .1em;
}
.article-category::before {
  content: "";
  width: 30px;
  height: 2px;
  margin-right: 12px;
  display: inline-block;
  vertical-align: middle;
  background: currentColor;
}
.article-meta {
  gap: 18px;
  color: var(--story-soft);
  font-size: 14px;
}
.article-meta i { color: var(--story-mid); }

.article-body { padding: 96px 0 112px; background: var(--story-paper); }
.article-container { max-width: 820px; }
.article-body p,
.article-list li {
  color: var(--story-soft);
  font-size: 20px;
  line-height: 1.72;
}
.article-body p { margin-bottom: 1.55em; }
.article-lead {
  margin-bottom: 2.1em !important;
  color: var(--story-forest) !important;
  font-size: 28px !important;
  font-weight: 560;
  letter-spacing: -.02em;
  line-height: 1.46 !important;
}
.article-body h2 {
  margin: 72px 0 22px;
  color: var(--story-ink);
  font-family: "Aptos Display", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 680;
  letter-spacing: -.045em;
  line-height: .98;
}
.article-body h2::before {
  width: 30px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--story-mid);
  border-radius: 0;
}
.article-pullquote {
  margin: 58px -70px;
  padding: 42px 48px;
  color: white;
  background: var(--story-deep);
  border: 0;
  border-radius: 30px;
  font-family: "Aptos Display", "Trebuchet MS", Arial, sans-serif;
  font-size: 31px;
  font-style: normal;
  font-weight: 620;
  letter-spacing: -.03em;
  line-height: 1.25;
}
.article-list { margin: 28px 0 38px; }
.article-list li { padding-left: 28px; margin-bottom: 14px; }
.article-list li::before {
  width: 9px;
  height: 9px;
  top: 13px;
  background: var(--story-lime);
}
.article-footer {
  margin-top: 80px;
  padding-top: 0;
  border: 0;
  text-align: left;
}
.article-footer-cta.glass {
  padding: 38px;
  color: var(--story-deep);
  background: var(--story-lime);
  border: 0;
  border-radius: 28px;
  box-shadow: none;
}
.article-footer-cta p {
  margin-bottom: 24px !important;
  color: var(--story-deep) !important;
  font-size: 27px;
  font-weight: 680;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.article-footer-cta .cta-button {
  min-height: 60px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--story-forest) !important;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}
.article-footer .article-back-link { margin-top: 22px !important; color: var(--story-forest); }

footer {
  color: var(--story-sage);
  background: #061c15;
  border: 0;
}
footer .container {
  width: min(calc(100% - 48px), 1220px);
  max-width: none;
  min-height: 126px;
  margin-inline: auto;
  padding: 32px 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  text-align: left !important;
}
footer .container > div {
  margin: 0 !important;
  padding-left: 53px;
  position: relative;
  color: white;
  font-size: 16px !important;
}
footer .container > div::before {
  content: "";
  width: 42px;
  height: 42px;
  position: absolute;
  top: 50%;
  left: 0;
  background: url('../v2/assets/brand-mark-reverse.svg?v=2') center / contain no-repeat;
  transform: translateY(-50%);
}
footer .container > div span { color: white !important; }
footer .container p { margin: 0; color: var(--story-sage); font-size: 12px; }
footer .container > a { color: var(--story-sage) !important; font-size: 12px; text-decoration: none; }
footer .container > a:hover { color: var(--story-lime) !important; }

@media (max-width: 1050px) {
  .article-hero-img { width: 39vw; }
  .article-hero-content { padding-right: 43vw; }
  .nav-links a { padding-inline: 7px; }
}

@media (max-width: 768px) {
  .navbar.glass-nav,
  .navbar.glass-nav.scrolled { width: min(calc(100% - 28px), 1220px); min-height: 72px; }
  .navbar > a:first-child::before { width: 36px; height: 36px; flex-basis: 36px; }
  .navbar > a:first-child::after { font-size: 16px; }
  .nav-links { display: none; }
  .hamburger { display: block; color: var(--story-forest); }
  .mobile-menu {
    right: -100%;
    color: white;
    background: var(--story-deep);
    border-left: 0;
  }
  .mobile-menu.active { right: 0; }
  .mobile-menu a { color: white; font-weight: 750; text-decoration: none; }
  .article-hero { min-height: 0; }
  .article-hero-img {
    width: 100%;
    height: 300px;
    min-height: 0;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    border-radius: 0;
    box-shadow: none;
  }
  .article-hero-content {
    width: min(calc(100% - 28px), 1220px);
    min-height: 0;
    padding: 46px 0 54px;
  }
  .article-hero-content h1 { margin-block: 18px 22px; font-size: clamp(46px, 15vw, 64px); }
  .article-meta { gap: 10px 17px; }
  .article-body { padding: 64px 0 82px; }
  .article-container { padding-inline: 20px; }
  .article-body p,
  .article-list li { font-size: 18px; line-height: 1.65; }
  .article-lead { font-size: 24px !important; line-height: 1.42 !important; }
  .article-body h2 { margin-top: 58px; font-size: 40px; }
  .article-pullquote { margin: 44px 0; padding: 30px 27px; border-radius: 24px; font-size: 26px; }
  .article-footer { margin-top: 62px; }
  .article-footer-cta.glass { padding: 29px 24px; border-radius: 24px; }
  .article-footer-cta p { font-size: 24px; }
  footer .container { width: min(calc(100% - 28px), 1220px); min-height: 0; align-items: flex-start; flex-direction: column; }
}

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