/* Company Officer Forge: shared site styles (brand tokens, base type, header, footer, buttons, placeholders).
   Used by index.html, privacy.html, 404.html and articles/*.html. Page-specific styles stay inline in each page. */
/* ===== Brand tokens (Company Officer Forge Brand Guide v1.0) ===== */
:root{
  --red:#B3191F;      /* Engine Red: primary accent, headlines */
  --blk:#1C1E21;      /* Turnout Black: text, dark backgrounds */
  --brass:#C9973A;    /* Brass Bell: rules, details */
  --ember:#E8671E;    /* Forge Ember: sparing highlight only */
  --steel:#6D7680;    /* Tool Steel: secondary UI */
  --chalk:#F3EFE6;    /* Station Chalk: light backgrounds */
  --line:#E3DDD0;
  --head:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  --body:'Source Sans 3',Arial,sans-serif;
  --wrap:1180px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:var(--body);font-size:1.125rem;line-height:1.5;color:var(--blk);background:var(--chalk)}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,.eyebrow,.btn,.nav a{font-family:var(--head);text-transform:uppercase}
h1,h2,h3{margin:0;line-height:1.02;text-wrap:balance}
h1{font-weight:800;letter-spacing:.03em;font-size:clamp(2.75rem,6.4vw,5.25rem)}
h2{font-weight:800;letter-spacing:.04em;font-size:clamp(2.1rem,4vw,3.25rem)}
h3{font-weight:700;letter-spacing:.05em;font-size:1.5rem}
p{margin:0 0 1rem}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 1.5rem}
.eyebrow{display:block;font-weight:600;letter-spacing:.14em;font-size:1rem;margin:0 0 .9rem}
/* Brass rule: the signature divider */
.rule{width:88px;height:3px;background:var(--brass);border:0;margin:1.1rem 0 1.4rem}
.section{padding:clamp(3.5rem,8vw,6rem) 0}
.section-head{max-width:760px;margin-bottom:2.5rem}
.section-head h2{color:var(--red)}
.lede{font-size:1.25rem}

/* Accessibility */
.skip{position:absolute;left:-999px;top:0;background:var(--brass);color:var(--blk);padding:.75rem 1rem;z-index:100;font-weight:700}
.skip:focus{left:1rem;top:1rem}
:focus-visible{outline:3px solid var(--ember);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Buttons */
.btn{display:inline-block;font-weight:700;letter-spacing:.08em;font-size:1.125rem;text-decoration:none;padding:.9rem 1.5rem;border-radius:3px;border:2px solid transparent;cursor:pointer;line-height:1.1}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:#961419}
.btn-ghost{border-color:var(--chalk);color:var(--chalk)}
.btn-ghost:hover{background:var(--chalk);color:var(--blk)}
.btn-dark{background:var(--blk);color:var(--chalk)}
.btn-dark:hover{background:#000}

/* ===== Header ===== */
.site-header{background:var(--blk);color:var(--chalk);border-bottom:3px solid var(--brass);position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:84px}
.brand img{width:200px;height:auto} /* horizontal min 180px per guide */
.nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:1.6rem}
.nav a{text-decoration:none;font-weight:600;letter-spacing:.1em;font-size:1rem}
.nav a:not(.btn):hover{color:var(--brass)}
.nav .btn{font-size:1rem;padding:.65rem 1.1rem}

/* ===== Placeholders: [BRACKETED] text still to be filled in ===== */
.ph{background:#FBE9D9;outline:1px dashed var(--ember);padding:0 .2em;border-radius:2px}
.site-footer .ph{background:transparent;color:var(--chalk);outline-color:var(--brass)}

/* ===== Category tag (content pillars) ===== */
.tag-pill{display:inline-block;align-self:flex-start;background:var(--brass);color:var(--blk);font-family:var(--head);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.9rem;line-height:1;padding:.4rem .6rem;border-radius:2px;margin-bottom:.9rem}

/* ===== Footer ===== */
.site-footer{background:var(--blk);color:var(--chalk);padding:3rem 0 2rem;border-top:3px solid var(--brass)}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:2rem}
.site-footer img{width:200px}
.foot-tag{font-family:var(--head);font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--brass);font-size:1.2rem;margin:1rem 0 0}
.site-footer h2{font-size:1.1rem;letter-spacing:.14em;color:var(--brass);margin-bottom:.8rem;font-weight:700}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
.site-footer a{text-decoration:none}
.site-footer a:hover{text-decoration:underline;color:var(--brass)}
.legal{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid #3a3d42;font-size:.95rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.legal p{margin:0}

/* ===== Responsive (shared) ===== */
@media (max-width:900px){
  .nav li:not(.nav-cta){display:none}
  .foot-grid{grid-template-columns:1fr 1fr}
  .foot-grid > div:first-child{grid-column:1/-1}
}
@media (max-width:560px){
  body{font-size:1.0625rem}
  .wrap{padding:0 1.25rem}
  .site-header .wrap{min-height:72px;gap:.75rem}
  .brand img{width:180px}
  .nav .btn{font-size:.95rem;padding:.55rem .8rem;letter-spacing:.06em}
  .foot-grid{grid-template-columns:1fr}
}

/* ===== Article pages (articles/*.html) ===== */
.post-head{background:var(--blk);color:var(--chalk);padding:clamp(3rem,7vw,5rem) 0 clamp(2.5rem,6vw,3.5rem)}
.post-head .wrap,.post-body .wrap{max-width:calc(68ch + 3rem)}
.post-head h1{font-size:clamp(2.4rem,5.2vw,4rem)}
.post-head .dek{font-size:1.35rem;line-height:1.45;margin:0 0 1.5rem;max-width:60ch}
.post-meta{font-family:var(--head);font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--brass);font-size:1rem;margin:0;display:flex;flex-wrap:wrap;gap:.25rem .9rem}
.post-meta span+span::before{content:"·";margin-right:.9rem;color:var(--chalk)}
.post-body{background:#fff;padding:clamp(2.75rem,6vw,4.5rem) 0}
.prose{max-width:68ch;font-size:1.2rem;line-height:1.65}
.prose > *+*{margin-top:1.15em}
.prose p,.prose ul,.prose ol,.prose blockquote,.prose figure{margin-bottom:0}
.prose h2{color:var(--red);font-size:clamp(1.8rem,3.4vw,2.35rem);margin-top:2.2em}
.prose h3{font-size:1.45rem;margin-top:1.8em}
.prose h2+*,.prose h3+*{margin-top:.6em}
.prose ul,.prose ol{padding-left:1.4em}
.prose li+li{margin-top:.45em}
.prose li::marker{color:var(--red);font-weight:700}
.prose a{color:var(--red);text-decoration:underline;text-underline-offset:2px}
.prose a:hover{color:var(--blk)}
.prose strong{font-weight:700}
.prose blockquote{background:var(--chalk);border-left:6px solid var(--red);padding:1.25rem 1.5rem;margin-left:0;margin-right:0}
.prose blockquote p{margin:0}
.prose blockquote cite{display:block;margin-top:.6rem;font-style:normal;font-weight:600;font-size:1rem}
.pullquote{border-top:3px solid var(--brass);border-bottom:3px solid var(--brass);padding:1.25rem 0;margin:2em 0 0;font-family:var(--head);font-weight:800;text-transform:uppercase;letter-spacing:.02em;font-size:clamp(1.7rem,3.2vw,2.3rem);line-height:1.08;text-wrap:balance}
.pullquote+*{margin-top:2em}
.prose figure{margin-left:0;margin-right:0}
.prose figure img{width:100%;height:auto;border-radius:4px}
.figure-ph{aspect-ratio:16/9;background:var(--chalk);border:2px dashed var(--steel);border-radius:4px;display:flex;align-items:center;justify-content:center;text-align:center;padding:1.5rem;font-weight:600}
.prose figcaption{font-size:1rem;margin-top:.6rem;color:var(--blk);border-left:3px solid var(--brass);padding-left:.75rem}
.post-signoff{font-family:var(--head);font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--red);font-size:1.25rem}
.post-note{font-size:1rem;font-style:italic;border-top:1px solid #d9d3c7;padding-top:1rem}
.post-sources{border-top:1px solid #d9d3c7;padding-top:1.25rem;font-size:.95rem;line-height:1.5}
.prose .post-sources h2{color:var(--blk);font-size:1.25rem;letter-spacing:.08em;margin:0 0 .6rem}
.post-sources ol{margin:0}
.post-sources a{word-break:break-word}
.post-cta{max-width:68ch;margin-top:3rem;background:var(--chalk);border-top:6px solid var(--red);border-radius:4px;padding:2rem}
.post-cta .eyebrow{color:var(--red)}
.post-cta h2{font-size:clamp(1.8rem,3.4vw,2.4rem);color:var(--blk);margin-bottom:.75rem}
.post-cta p{margin:0 0 1.5rem}
.post-back{max-width:68ch;margin:2rem 0 0;font-weight:600}
.post-back a{color:var(--red)}
@media (max-width:560px){
  .prose{font-size:1.125rem}
  .post-meta{flex-direction:column}
  .post-meta span+span::before{content:none}
  .post-cta{padding:1.5rem}
  .post-cta .btn{width:100%;text-align:center}
}
