/* Urban Vanguard — rugged editorial. Loaded after the layout foundation. */
:root {
  --ink: #252821;
  --paper: #F1EBDD;
  --white: #F9F6EE;
  --sage: #656B4D;
  --sage-dark: #424934;
  --muted: #534F46;
  --line: #CFC5B2;
  --wash: #E6DFD0;
  --copper: #765038;
  --forest: #30392E;
  --brass: #926A37;
}

body { background: var(--paper); color: var(--ink); }
.site-header { background: #F4EFE3; border-bottom-color: #BFB39F; }
.hero, .page-intro { background: #EEE7D8; }
.hero { padding-top: 48px; }
.hero-grid { gap: 54px; }
.hero-visual img, .intro-split img, .about-photo img {
  border: 1px solid #9F937C;
  border-radius: 0;
  box-shadow: 10px 10px 0 rgba(48,57,46,.12);
}
.hero-visual img { aspect-ratio: 1.12; object-position: center; }
.image-caption { border-bottom: 1px solid var(--line); margin-top: 2px; }
.eyebrow, .card-meta, .category-tag, .research-label, .footer-label, .index-count,
.edition-line, .image-caption, .stage-num, .pillar-number { font-family: var(--mono); }
.eyebrow { color: var(--sage-dark); letter-spacing: .16em; }
.page-intro h1, .hero-copy h1 { letter-spacing: -.045em; }
.brand-rule::before, .primary-nav > a[aria-current="page"]::after { background: var(--brass); }
.primary-nav .nav-baseline { color: var(--white); background: var(--forest); border-color: var(--forest); }
.primary-nav .nav-baseline:hover, .button-dark:hover { background: #44503C; border-color: #44503C; color: var(--white); }
.button { border-radius: 0; text-transform: uppercase; letter-spacing: .05em; }
.button-dark { background: var(--forest); border-color: var(--forest); color: var(--white); box-shadow: 3px 3px 0 rgba(37,40,33,.14); }
.button-light { border-color: #CFC5B2; }
.text-link { color: #42513A; border-bottom-color: #A4987F; }
.text-link:hover { color: #263626; border-bottom-color: var(--brass); }
.status-dot { background: var(--brass); box-shadow: 0 0 0 4px rgba(146,106,55,.12); }
.pillar { --pillar-accent: #1268E8; --pillar-icon-color: #1268E8; --pillar-wash: #E7F0FF; --pillar-icon-tile: #E7F0FF; --pillar-icon-border: #9FC2FF; border-top: 3px solid var(--pillar-accent); background: #F8F5ED; }
.pillar:nth-child(2) { --pillar-accent: #9C7C00; --pillar-icon-color: #FFE000; --pillar-wash: #F3EBD2; --pillar-icon-tile: #30392E; --pillar-icon-border: #FFE000; }
.pillar:nth-child(3) { --pillar-accent: #E65C1C; --pillar-icon-color: #E65C1C; --pillar-wash: #FDE6DA; --pillar-icon-tile: #FDE6DA; --pillar-icon-border: #F4B39A; }
.pillar:nth-child(4) { --pillar-accent: #D93025; --pillar-icon-color: #D93025; --pillar-wash: #FCE7E5; --pillar-icon-tile: #FCE7E5; --pillar-icon-border: #F2A9A4; }
.pillar:nth-child(5) { --pillar-accent: #5F4BCB; --pillar-icon-color: #5F4BCB; --pillar-wash: #ECE9FC; --pillar-icon-tile: #ECE9FC; --pillar-icon-border: #B9B0F1; }
.pillar:nth-child(6) { --pillar-accent: #128A45; --pillar-icon-color: #128A45; --pillar-wash: #E4F4E9; --pillar-icon-tile: #E4F4E9; --pillar-icon-border: #9BD4AD; }
.pillar:hover { background: var(--pillar-wash); }
.pillar .icon { padding: 7px; border: 1px solid var(--pillar-icon-border, var(--pillar-accent)); background: var(--pillar-icon-tile, var(--pillar-wash)); color: var(--pillar-icon-color, var(--pillar-accent)); stroke-width: 1.9; border-radius: 0; }
.pillar-arrow { color: var(--brass); }
.dark-section, .site-footer { background: #282D25; }
.dark-section { background-image: linear-gradient(116deg,#30392E 0%,#252821 80%); }
.dark-section p, .footer-brand p { color: #D0C8B7; }
.dark-section .eyebrow, .footer-brand .eyebrow, .footer-label, .stage-num { color: #C5A36C; }
.stage { border-bottom-color: #59604E; }
.stage-num { font-weight: 700; }
.stage h3 { color: var(--white); }
.guide-card, .review-card, .about-panel { border-radius: 0; box-shadow: none; }
.guide-card, .review-card { border: 1px solid #C7BCA7; border-top: 3px solid var(--brass); background: var(--white); }
.guide-card:nth-child(3n+2) { border-top-color: #5F694E; }
.guide-card:nth-child(3n) { border-top-color: #845843; }
.guide-card:hover, .review-card:hover { border-color: #82775E; box-shadow: 4px 5px 0 rgba(48,57,46,.09); }
.guide-cover { background: #DFD6C4; }
.cover-art { color: #414638; background: linear-gradient(135deg,#E7DFCF,#CFC6B4); }
.guide-cover .cover-label { color: #F9F6EE; background: #30392E; border: 1px solid #68705A; border-radius: 0; }
.guide-body h3, .review-card h3 { letter-spacing: -.025em; }
.category-tag, .research-label { color: #454C39; font-size: 9px; }
.research-label { border: 1px solid #C5B79E; background: #EFE8DA; border-radius: 0; }
.guide-article { margin: 0 24px 24px; padding-top: 15px; border-top: 1px solid var(--line); }
.guide-article summary { padding: 7px 0; cursor: pointer; color: #394331; font-weight: 650; font-size: 12px; }
.guide-article summary:hover { color: #805E31; }
.guide-article .article-copy { padding-top: 6px; }
.guide-article h4 { margin: 20px 0 8px; color: #33362E; font: 600 16px/1.35 var(--serif); }
.guide-article .article-copy p { margin-top: 9px; font-size: 12px; line-height: 1.85; }
.guide-article .article-related { margin-top: 17px; }
.guide-card:target, .review-card:target { outline: 2px solid var(--brass); outline-offset: 4px; }
.library-grid { align-items: start; }
.library-grid .guide-article { margin-left: 21px; margin-right: 21px; }
.category-grid, .evaluation-grid, .table-wrap { border-radius: 0; }
.category-item:hover { background: #EBE4D6; }
.category-item .icon { color: #4B533C; }
.evaluation-item > span { color: #735133; }
.evaluation-item:nth-child(3n+2), .about-panel:nth-child(2) { background: #E9E1D2; }
.about-panel { border: 1px solid var(--line); border-top: 3px solid var(--brass); background: var(--white); }
.about-panel:nth-child(2) { border-top-color: #656B4D; }
.page-banner, .safety-note { background: #E8E0D1; }
.safety-note { border-left: 3px solid var(--brass); border-radius: 0; }
.philosophy { background: #E6DFD1; }
.newsletter { background: #DDD4C3; border-top: 1px solid #C5B99F; }
.newsletter h2 { color: #2D342A; }
.newsletter .newsletter-action { margin-top: 20px; }
.footer-top nav a { color: #E2DCCC; }
.site-footer a:hover { color: #D9BB84; }
.footer-disclosures, .footer-bottom { border-top-color: #59604E; }
.footer-disclosures p, .footer-bottom { color: #CFC8B9; }
.footer-disclosures strong { color: #F3EDDF; }
.site-footer :focus-visible, .dark-section :focus-visible { outline-color: #D5B77E; }
thead th { color: #454B39; background: #E7DFD0; }
tbody tr:nth-child(even) { background: #F1ECDF; }

/* Diagrams and editorial detail imagery are source-controlled, labeled, and static. */
.diagram-section { padding: 70px 0; border-top: 1px solid var(--line); background: #E8E1D3; }
.diagram-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 44px; align-items: center; }
.diagram-copy h2 { margin: 13px 0 16px; }
.diagram-copy p { max-width: 480px; font-size: 14px; }
.diagram-figure { padding: 14px; border: 1px solid #BFB39F; background: #F8F5ED; }
.diagram-figure img { width: 100%; height: auto; }
.diagram-figure figcaption { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 9px; color: #554F44; font-size: 10px; letter-spacing: .04em; }
.guide-visual-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: center; margin: 0 0 39px; }
.guide-visual-intro h2 { margin: 11px 0 13px; font-size: 30px; }
.guide-visual-intro p { font-size: 13px; }
.guide-photo img { aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #A99D85; }
.guide-photo figcaption { padding-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.about-photo { margin-top: 23px; }
.about-photo img { width: 100%; }
.about-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 10px; }
.status-block { max-width: 680px; }
.contact-grid .fine-print, .privacy-note { margin-top: 15px; font-size: 11px; }
.article-hero-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px; align-items: center; margin-top: 18px; }
.article-heading h1 { max-width: 720px; margin: 13px 0 18px; font-size: clamp(42px, 5vw, 64px); line-height: 1.02; }
.article-heading .lead { max-width: 620px; }
.article-byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: .025em; }
.article-byline strong { color: var(--ink); font-weight: 700; }
.article-hero-photo { margin: 0; }
.article-hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #A99D85; box-shadow: 10px 10px 0 rgba(48,57,46,.12); }
.article-hero-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.article-content-wrap { max-width: 970px; padding-top: 40px; padding-bottom: 78px; }
.article-disclosure { margin: 0 0 38px; padding: 17px 20px; border: 1px solid #BFB39F; border-left: 3px solid var(--brass); background: #E8E0D1; color: #34362E; font-size: 12px; line-height: 1.75; }
.article-disclosure strong { color: #2D342A; }
.article-copy { max-width: 790px; margin: 0 auto; }
.article-copy p, .article-copy li { color: #3E3C34; font-size: 15px; line-height: 1.88; }
.article-copy p { margin: 0 0 19px; }
.article-copy h2 { margin: 52px 0 17px; padding-bottom: 11px; border-bottom: 1px solid var(--line); font-size: clamp(27px, 3.3vw, 36px); line-height: 1.18; }
.article-copy h3 { margin: 31px 0 12px; font-family: var(--serif); font-size: 23px; line-height: 1.3; }
.article-copy ul, .article-copy ol { margin: 14px 0 25px; padding-left: 25px; }
.article-copy li { padding-left: 4px; margin: 0 0 9px; }
.article-copy a { color: #42513A; text-decoration: underline; text-decoration-color: #A4987F; text-underline-offset: 3px; }
.article-copy a:hover { color: #263626; text-decoration-color: var(--brass); }
.article-copy sup { font: 11px/1 var(--mono); }
.article-sources { margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--forest); }
.article-sources h2 { margin: 0 0 15px; padding: 0; border: 0; font-size: 27px; }
.article-sources ol { padding-left: 23px; }
.article-sources li { margin: 0 0 11px; color: var(--muted); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.article-sources a { color: #42513A; }
.article-related { display: flex; align-items: baseline; flex-wrap: wrap; gap: 15px 26px; max-width: 790px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }
.article-related .eyebrow { flex-basis: 100%; }
.article-related .text-link { margin: 0; }
@media (max-width: 800px) {
  .hero-grid { gap: 30px; }
  .article-hero-layout { grid-template-columns: 1fr; gap: 25px; }
  .article-heading h1 { max-width: 700px; font-size: clamp(39px, 8vw, 56px); }
  .article-hero-photo { max-width: 700px; }
  .article-content-wrap { padding-top: 30px; }
  .diagram-layout { grid-template-columns: 1fr; gap: 24px; }
  .guide-visual-intro { grid-template-columns: 1fr; gap: 20px; }
  .diagram-section { padding: 53px 0; }
}
@media (max-width: 520px) {
  .hero { padding-top: 26px; }
  .article-heading h1 { font-size: 39px; }
  .article-byline { gap: 7px; font-size: 9px; }
  .article-hero-photo img { box-shadow: 5px 5px 0 rgba(48,57,46,.12); }
  .article-disclosure { margin-bottom: 30px; padding: 14px 15px; }
  .article-copy p, .article-copy li { font-size: 14px; }
  .article-copy h2 { margin-top: 42px; }
  .article-related { gap: 13px; }
  .hero-visual img, .intro-split img { box-shadow: 5px 5px 0 rgba(48,57,46,.12); }
  .diagram-figure { padding: 7px; }
  .diagram-figure figcaption { font-size: 9px; }
  .guide-article { margin-left: 19px; margin-right: 19px; }
  .guide-article h4 { font-size: 15px; }
  .guide-visual-intro h2 { font-size: 26px; }
}
@media print {
  body, .hero, .page-intro, .dark-section, .philosophy, .newsletter { background: white !important; color: black !important; }
  .hero-visual img, .intro-split img, .about-photo img { box-shadow: none; }
  .dark-section p, .dark-section .eyebrow, .stage-num, .button-dark { color: black !important; }
  .button-dark { background: white; border-color: black; box-shadow: none; }
}
