/* editorial.css — standalone article theme for the VeraJets safety pieces.
   Deliberately NOT the main site's dark cyan theme: light, print-style, serif. */

:root{
  --paper:#eceef1;
  --paper-2:#f5f7f9;
  --ink:#161a20;
  --ink-soft:#39414c;
  --muted:#5a626e;
  --rule:rgba(20,30,48,.14);
  --rule-strong:rgba(20,30,48,.26);
  --accent:#33608f;      /* steel blue — Slate accent */
  --maxw:700px;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink-soft);
  font-family:"Inter",system-ui,-apple-system,sans-serif;
  font-size:17px;
  line-height:1.72;
  font-feature-settings:"onum" 1,"pnum" 1;
  -webkit-font-smoothing:antialiased;
}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}

/* Masthead — honest self-attribution (this IS VeraJets' own research) */
.masthead{max-width:var(--maxw);margin:0 auto;padding:36px 24px 0;}
.masthead .brandline{
  font-family:"Inter",system-ui,-apple-system,sans-serif;
  font-size:12px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--accent);font-weight:600;
}
.masthead .rule{border:0;border-top:1px solid var(--rule);margin:14px 0 0;}

article{max-width:var(--maxw);margin:0 auto;padding:0 24px 8px;}

h1.title{
  font-family:"Cormorant Garamond",Georgia,serif;color:var(--ink);
  font-size:clamp(2.4rem,5.6vw,3.6rem);line-height:1.06;font-weight:500;letter-spacing:-.01em;
  margin:34px 0 18px;
}
.dek{
  font-size:1.3rem;line-height:1.5;color:var(--ink-soft);font-weight:400;
  margin:0 0 24px;
}
.byline{
  font-family:"Inter",system-ui,-apple-system,sans-serif;
  font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);font-weight:500;
  padding-bottom:26px;margin:0 0 30px;border-bottom:1px solid var(--rule);
}
.subhead-note{
  font-family:"Inter",system-ui,sans-serif;font-size:13px;color:var(--muted);
  letter-spacing:.02em;margin:-8px 0 26px;
}

article p{margin:0 0 22px;}
article h2{
  font-family:"Cormorant Garamond",Georgia,serif;color:var(--ink);
  font-size:clamp(1.75rem,3.4vw,2.35rem);font-weight:500;line-height:1.14;letter-spacing:-.01em;
  margin:44px 0 16px;
}
article h3{font-family:"Cormorant Garamond",Georgia,serif;color:var(--ink);font-size:1.5rem;font-weight:600;line-height:1.2;margin:32px 0 10px;}
article a{
  color:var(--accent);text-decoration:underline;
  text-underline-offset:2px;text-decoration-thickness:.6px;
  overflow-wrap:anywhere;
}
article strong{font-weight:600;}
article ul,article ol{margin:0 0 22px;padding-left:1.3em;}
article li{margin:0 0 10px;}

/* Lead paragraph gets a subtle emphasis */
article p.lede{font-size:1.08rem;}

/* Tables — clean, tabular, print-ish */
.tbl{margin:28px 0;overflow-x:auto;}
.tbl table{
  border-collapse:collapse;width:100%;
  font-family:"Inter",system-ui,-apple-system,sans-serif;
  font-size:14.5px;line-height:1.4;color:var(--ink);
}
.tbl caption{
  caption-side:top;text-align:left;
  font-family:"Inter",system-ui,sans-serif;
  font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--muted);margin-bottom:10px;font-weight:600;
}
.tbl th,.tbl td{
  text-align:left;padding:10px 13px;border-bottom:1px solid var(--rule);
  vertical-align:top;
}
.tbl thead th{border-bottom:2px solid var(--rule-strong);font-weight:600;white-space:nowrap;}
.tbl tbody tr:last-child td{border-bottom:2px solid var(--rule-strong);}
.tbl td.num,.tbl th.num{text-align:right;font-variant-numeric:tabular-nums;}
.tbl tbody tr:hover td{background:var(--paper-2);}

/* Legend chips (data compendium) */
.legend{display:flex;flex-wrap:wrap;gap:8px 20px;font-family:"Inter",sans-serif;
  font-size:12.5px;color:var(--ink-soft);margin:2px 0 34px;
  padding:14px 16px;background:var(--paper-2);border:1px solid var(--rule);border-radius:6px;}
.legend span{display:inline-flex;align-items:center;gap:7px;}
.legend i{width:11px;height:11px;border-radius:2px;display:inline-block;}
.legend i.pub{background:#3f7a43;}
.legend i.est{background:#c0892b;}
.legend i.done{background:#3a6b96;}

/* provenance chips */
.tag{display:inline-block;font-family:"Inter",system-ui,sans-serif;
  font-size:9.5px;font-weight:700;letter-spacing:.09em;line-height:1;
  padding:3px 6px;border-radius:3px;vertical-align:middle;margin-left:7px;
  position:relative;top:-1px;}
.tag.pub{background:#e6f0e6;color:#2f6b34;}
.tag.est{background:#f7ecd7;color:#8a6414;}
.tag.done{background:#e6edf4;color:#345a7d;}
h2 .tag,h3 .tag{font-size:9px;}

/* Methodology & sources */
.sources{
  border-top:1px solid var(--rule);margin-top:48px;padding-top:26px;
  font-size:15.5px;line-height:1.62;color:var(--ink-soft);
}
.sources h2{font-size:1rem;text-transform:uppercase;letter-spacing:.09em;
  font-family:"Inter",system-ui,sans-serif;margin:0 0 14px;}
.sources ol{padding-left:1.4em;}
.disclaimer{font-size:13.5px;color:var(--muted);font-style:italic;margin-top:22px;}

/* End-of-article native CTAs (funnel) */
.endnote{max-width:var(--maxw);margin:10px auto 70px;padding:0 24px;text-align:center;}
.endnote .dots{color:var(--rule-strong);letter-spacing:.7em;font-size:20px;margin:40px 0 8px;}
.endnote .cta-line{margin:20px 0;}
.endnote a.cta{
  font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;
  font-size:1.7rem;line-height:1.3;color:var(--accent);
  text-decoration:none;border-bottom:1px solid rgba(51,96,143,.35);
  padding-bottom:2px;transition:border-color .15s ease;
}
.endnote a.cta:hover{border-bottom-color:var(--accent);}
.endnote a.cta .arr{font-family:"Inter",sans-serif;}
.endnote .cta-sub{font-size:13px;color:var(--muted);font-family:"Inter",sans-serif;margin:6px 0 0;}

.pagefoot{max-width:var(--maxw);margin:44px auto 60px;padding:24px 24px 0;border-top:1px solid var(--rule);
  font-family:"Inter",system-ui,sans-serif;font-size:12.5px;line-height:1.7;color:var(--muted);text-align:center;}
.pagefoot p{margin:0 0 8px;}
.pagefoot a{color:var(--accent);}

@media (max-width:620px){
  body{font-size:18px;}
  h1.title{font-size:2rem;}
  .dek{font-size:1.15rem;}
  article h2{font-size:1.35rem;}
}
