:root {
  --df-green: #163f35;
  --df-green-2: #245749;
  --df-ink: #17231f;
  --df-muted: #5b6862;
  --df-line: #dbe4df;
  --df-soft: #f4f7f3;
  --df-soft-2: #e9f1eb;
  --df-gold: #d99a21;
  --df-orange: #f28a1a;
  --df-white: #ffffff;
  --df-shadow: 0 18px 50px rgba(22, 63, 53, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--df-ink); background: var(--df-white); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--df-green); color: white; padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }
.shell { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--df-line); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--df-ink); flex: 0 0 auto; }
.brand-lockup { width: 272px; height: auto; border-radius: 0; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { text-decoration: none; padding: 9px 10px; border-radius: 6px; color: var(--df-muted); font-size: .92rem; font-weight: 650; }
.site-nav a:hover, .site-nav a.is-active { background: var(--df-soft-2); color: var(--df-green); }
.hero { background: linear-gradient(180deg, #f8fbf8 0%, #ffffff 92%); border-bottom: 1px solid var(--df-line); }
.hero-grid { min-height: 560px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; padding: 48px 0; }
.hero h1, .page-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; color: var(--df-green); line-height: 1.03; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.9rem); max-width: 760px; }
.hero p { color: var(--df-muted); font-size: 1.18rem; max-width: 680px; }
.hero-search { margin-top: 28px; max-width: 640px; }
.hero-search label { display: block; color: var(--df-green); font-weight: 750; margin-bottom: 8px; }
.hero-search div, .search-box { display: flex; gap: 10px; background: var(--df-white); border: 1px solid var(--df-line); padding: 8px; box-shadow: var(--df-shadow); }
input, button { font: inherit; }
input { width: 100%; border: 1px solid var(--df-line); border-radius: 6px; padding: 12px 13px; background: #fff; color: var(--df-ink); }
button, .button { border: 0; border-radius: 6px; background: var(--df-green); color: #fff; padding: 12px 16px; text-decoration: none; font-weight: 750; cursor: pointer; white-space: nowrap; }
button:hover, .button:hover { background: #0f3028; }
.button.secondary { background: var(--df-soft-2); color: var(--df-green); }
.hero-feature { display: grid; text-decoration: none; border: 1px solid var(--df-line); background: #fff; box-shadow: var(--df-shadow); }
.hero-feature img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-feature div { padding: 24px; }
.hero-feature p, .meta { margin: 0 0 8px; color: var(--df-gold); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.hero-feature h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--df-green); line-height: 1.12; font-size: 1.8rem; }
.section { padding: 72px 0; }
.section-muted { background: var(--df-soft); border-block: 1px solid var(--df-line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head h2, .split h2, .tool-card h2, .site-footer h2 { margin: 0; color: var(--df-green); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
.section-head h2, .split h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.section-head p, .split p { margin: 6px 0 0; color: var(--df-muted); }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.topic-card, .resource-card { text-decoration: none; border: 1px solid var(--df-line); background: #fff; padding: 22px; border-radius: 8px; transition: transform .18s ease, box-shadow .18s ease; }
.topic-card:hover, .resource-card:hover, .article-card:hover { transform: translateY(-2px); box-shadow: var(--df-shadow); }
.topic-card span, .resource-card strong { display: block; color: var(--df-green); font-weight: 850; font-size: 1.08rem; }
.topic-card p, .resource-card span { color: var(--df-muted); margin: 8px 0 0; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.mini-tool-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini-tool-list a { background: #fff; border: 1px solid var(--df-line); border-left: 5px solid var(--df-gold); text-decoration: none; padding: 16px; border-radius: 6px; font-weight: 750; color: var(--df-green); }
.veteran-band { background: var(--df-green); color: #fff; padding: 0; }
.veteran-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 44px; min-height: 360px; }
.veteran-grid img { width: 100%; height: 360px; object-fit: contain; object-position: center; background: #fff; display: block; }
.veteran-grid h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; color: #fff; }
.veteran-grid p { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 680px; }
.veteran-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.veteran-links a { color: #102820; background: #fff; border-radius: 6px; padding: 11px 14px; text-decoration: none; font-weight: 800; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { border: 1px solid var(--df-line); background: #fff; border-radius: 8px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.article-card .media { display: block; background: var(--df-soft); }
.article-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.article-copy { padding: 20px; }
.article-card h3 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; line-height: 1.18; font-size: 1.35rem; }
.article-card h3 a { color: var(--df-green); text-decoration: none; }
.article-card p { color: var(--df-muted); margin: 0; }
.page-hero { background: var(--df-soft); border-bottom: 1px solid var(--df-line); padding: 76px 0 58px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); }
.page-hero p { color: var(--df-muted); font-size: 1.18rem; margin: 16px 0 0; }
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.roadmap article { border-top: 4px solid var(--df-gold); background: #fff; padding: 22px; border-radius: 8px; box-shadow: 0 10px 28px rgba(22,63,53,.08); }
.roadmap span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--df-green); color: #fff; font-weight: 850; }
.roadmap h2 { color: var(--df-green); font-size: 1.2rem; line-height: 1.2; }
.roadmap p { color: var(--df-muted); }
.roadmap a { color: var(--df-green); font-weight: 800; }
.tool-stack { display: grid; gap: 22px; }
.tool-card { display: grid; grid-template-columns: .9fr 1.2fr .8fr; gap: 24px; align-items: center; border: 1px solid var(--df-line); border-radius: 8px; padding: 24px; background: #fff; box-shadow: 0 10px 28px rgba(22,63,53,.07); scroll-margin-top: 100px; }
.tool-card p { color: var(--df-muted); margin: 8px 0 0; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tool-grid label span { display: block; color: var(--df-muted); font-weight: 700; font-size: .86rem; margin-bottom: 5px; }
output { display: grid; gap: 5px; background: var(--df-soft); border: 1px solid var(--df-line); padding: 18px; border-radius: 8px; color: var(--df-muted); }
output strong { color: var(--df-green); font-size: 1.25rem; line-height: 1.2; }
.export-button { margin-top: 10px; width: 100%; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-row button { background: var(--df-soft-2); color: var(--df-green); }
.filter-row button.is-active { background: var(--df-green); color: #fff; }
.article-list { display: grid; gap: 14px; }
.article-list .article-card { display: grid; grid-template-columns: 180px 1fr; }
.article-list .article-card img { height: 100%; min-height: 140px; aspect-ratio: auto; }
.article-hero { background: var(--df-soft); border-bottom: 1px solid var(--df-line); }
.article-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 42px; align-items: center; padding: 58px 0; }
.article-hero h1 { margin: 0; max-width: 820px; color: var(--df-green); font-family: Georgia, "Times New Roman", serif; font-size: 3.1rem; line-height: 1.05; letter-spacing: 0; }
.article-deck { max-width: 760px; margin: 16px 0 0; color: var(--df-muted); font-size: 1.1rem; }
.article-hero-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; box-shadow: var(--df-shadow); background: #fff; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.article-tags a { color: var(--df-green); background: #fff; border: 1px solid var(--df-line); border-radius: 999px; padding: 6px 11px; text-decoration: none; font-size: .86rem; font-weight: 750; }
.article-shell { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.article-body { color: var(--df-ink); font-size: 1.05rem; line-height: 1.78; }
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.15rem; }
.article-body h2, .article-body h3, .article-body h4 { color: var(--df-green); font-family: Georgia, "Times New Roman", serif; line-height: 1.18; letter-spacing: 0; }
.article-body h2 { margin: 2.3rem 0 .8rem; font-size: 2rem; }
.article-body h3 { margin: 1.8rem 0 .65rem; font-size: 1.45rem; }
.article-body h4 { margin: 1.4rem 0 .5rem; font-size: 1.15rem; }
.article-body a { color: var(--df-green); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.35rem; margin: 0 0 1.2rem; }
.article-body li { margin-bottom: .55rem; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.4rem auto; }
.article-body figure { margin: 1.7rem 0; }
.article-body figcaption { color: var(--df-muted); font-size: .92rem; margin-top: .45rem; text-align: center; }
.article-body blockquote, .article-body .df-pullquote, .article-body .df-callout { border-left: 4px solid var(--df-gold); background: var(--df-soft); padding: 18px 20px; margin: 1.6rem 0; border-radius: 8px; }
.article-body blockquote p:last-child, .article-body .df-callout p:last-child, .article-body .df-pullquote p:last-child { margin-bottom: 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .95rem; }
.article-body th, .article-body td { border: 1px solid var(--df-line); padding: 10px; vertical-align: top; }
.article-body th { background: var(--df-soft-2); color: var(--df-green); text-align: left; }
.article-body hr { border: 0; border-top: 1px solid var(--df-line); margin: 2rem 0; }
.article-body .wp-block-spacer { display: none; }
.article-body .df-steps { display: grid; gap: 12px; margin: 1.2rem 0; }
.article-body .df-step { display: flex; gap: 12px; align-items: flex-start; }
.article-body .df-step-n { display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--df-green); color: #fff; font-weight: 850; }
.article-body .df-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 1.3rem 0; }
.article-body .df-metric { border: 1px solid var(--df-line); background: var(--df-soft); border-radius: 8px; padding: 14px; }
.article-body .df-metric-label { color: var(--df-muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.article-body .df-metric-val { color: var(--df-green); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 800; }
.article-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--df-line); }
.article-footer-nav a { display: block; min-height: 112px; border: 1px solid var(--df-line); border-radius: 8px; padding: 18px; color: var(--df-ink); text-decoration: none; background: #fff; }
.article-footer-nav a:hover { box-shadow: var(--df-shadow); transform: translateY(-2px); }
.article-footer-nav span { display: block; color: var(--df-gold); font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.article-footer-nav strong { display: block; color: var(--df-green); line-height: 1.25; }
.site-footer { background: var(--df-green); color: #fff; padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr; gap: 28px; }
.site-footer .brand { color: #fff; }
.footer-brand .brand-lockup { width: 300px; max-width: 100%; }
.site-footer p { color: rgba(255,255,255,.76); }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.site-footer a:not(.brand) { display: block; color: rgba(255,255,255,.88); text-decoration: none; margin: 6px 0; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 920px) {
  .header-inner, .section-head, .split { display: grid; align-items: start; }
  .site-nav { justify-content: start; }
  .hero-grid, .tool-card, .footer-grid, .veteran-grid, .article-hero-grid { grid-template-columns: 1fr; }
  .article-hero-image { max-height: 360px; }
  .topic-grid, .roadmap, .article-grid, .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .shell, .narrow { width: min(100% - 28px, 1140px); }
  .brand-lockup { width: min(272px, 100%); }
  .site-nav { gap: 2px; }
  .site-nav a { padding: 8px; font-size: .86rem; }
  .hero-grid { min-height: auto; padding: 34px 0; }
  .veteran-grid { gap: 22px; padding-bottom: 34px; }
  .veteran-grid img { height: 220px; }
  .article-hero-grid { padding: 40px 0; gap: 24px; }
  .article-hero h1 { font-size: 2.25rem; }
  .hero-search div, .search-box { display: grid; }
  .topic-grid, .roadmap, .article-grid, .resource-grid, .tool-grid, .mini-tool-list, .article-list .article-card, .article-footer-nav, .article-body .df-metrics { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .tool-card { padding: 18px; }
}
