/* ==========================================================================
   Pau Vila — Brand & Editorial System v0.3
   Ported from https://www.pauvila.com/system.html
   ========================================================================== */

:root{
  /* Cool neutrals — paper white, ink, navy, steel */
  --paper:        #F6F4EE;   /* warm-cool paper */
  --paper-2:      #EDEAE2;   /* slightly deeper paper */
  --rule:         #1A1F2C;   /* near-black ink */
  --ink:          #0E1320;   /* deep ink */
  --ink-2:        #2A3142;   /* secondary ink */
  --steel:        #6B7484;   /* steel mid */
  --steel-2:      #9AA1AE;   /* muted steel */
  --hairline:     #C9CDD4;
  --navy:         #1B2A4E;   /* primary navy */
  --navy-2:       #294072;
  --signal:       #2B6CDF;   /* restrained signal/accent (electric blue) */
  --signal-shadow: rgba(43,108,223,.5);
  --signal-shadow-0: rgba(43,108,223,0);

  --maxw: 1280px;

  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-sans:  "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "onum";
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(to right, rgba(14,19,32,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,19,32,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}

img{ max-width:100%; display:block; }
button{ font: inherit; color: inherit; }
::selection{ background: var(--signal); color: var(--paper); }

/* ───── 1. SYSTEM BAR (top, dark) ───── */
.sysbar{
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.sysbar-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.sysbar-l, .sysbar-r{ display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.sysbar .lk{ color: var(--steel-2); }
.sysbar .lk b{ color: var(--paper); font-weight: 500; }
.sysbar .live{
  display:inline-flex; align-items:center; gap:6px;
  color: var(--signal);
}
.sysbar .live::before{
  content:""; width:6px; height:6px; background: var(--signal); border-radius: 50%;
  box-shadow: 0 0 0 0 var(--signal-shadow);
  animation: pulse 2s infinite;
}
.sysbar .div{ width:1px; height: 12px; background: rgba(246,244,238,.18); }
.sysbar a{ color: inherit; text-decoration: none; }
.sysbar .langsw a{ color: var(--steel-2); padding: 0 4px; }
.sysbar .langsw a.active{ color: var(--paper); font-weight: 500; }

@keyframes pulse{
  0%   { box-shadow: 0 0 0 0 var(--signal-shadow); }
  70%  { box-shadow: 0 0 0 8px var(--signal-shadow-0); }
  100% { box-shadow: 0 0 0 0 var(--signal-shadow-0); }
}

/* ───── 2. META BAR / hero-nav (sticky brand & nav) ───── */
.hero-nav{
  position: sticky;
  top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--ink);
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-nav .brand{
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.hero-nav .brand .dot{ color: var(--signal); }
.hero-nav .nav-links{ display: flex; gap: 32px; align-items: center; }
.hero-nav .nav-links a{
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.hero-nav .nav-links a:hover{ color: var(--ink); }
.hero-nav .nav-links a.active{ color: var(--ink); border-bottom-color: var(--ink); }

/* ───── 3. HERO COORDS strip (engineering coordinates) ───── */
.hero-coords{
  display:flex; justify-content: space-between; align-items: center;
  padding: 8px 32px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--steel);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper-2);
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-coords span b{ color: var(--ink); font-weight: 500; }

/* ───── Page shell ───── */
.shell{
  max-width: var(--maxw);
  margin: 0 auto;
}

main.shell{ padding: 0; }

/* ───── 4. COVER (homepage opening) ───── */
.cover{
  padding: 80px 32px 120px;
  border-bottom: 1px solid var(--rule);
}
.cover-inner{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: end;
}
.cover h1{
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.cover h1 em{ font-style: italic; color: var(--navy); }
.cover h1 .amp{ color: var(--signal); font-style: italic; font-weight: 300; }
.cover .kicker{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 28px;
  display: flex; gap: 16px; align-items:center;
}
.cover .kicker .bar{ flex: 1; height:1px; background: var(--rule); }
.cover-meta{
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}
.cover-meta dt{
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 14px;
}
.cover-meta dt:first-child{ margin-top: 0; }
.cover-meta dd{ margin: 2px 0 0; color: var(--ink); }

/* ───── 5. HERO BODY (featured + side list) ───── */
.hero{
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.hero-body{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.hero-lead{
  padding: 64px 56px 56px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 460px;
  text-decoration: none;
  color: inherit;
  transition: background .25s ease;
}
.hero-lead:hover{ background: var(--paper-2); }
.hero-kicker{
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 28px;
}
.hero-kicker .pulse{
  width: 7px; height: 7px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 var(--signal-shadow);
  animation: pulse 2s infinite;
}
.hero-kicker .bar{ flex:1; height:1px; background: var(--hairline); }
.hero-headline{
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero-headline em{ font-style: italic; color: var(--navy); }
.hero-lead:hover .hero-headline{ color: var(--ink); }
.hero-sub{
  font-family: var(--f-serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 36px;
  max-width: 520px;
}
.hero-meta{
  display:flex; gap: 28px; align-items: center; flex-wrap: wrap;
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--steel);
}
.hero-meta .who{
  display: flex; gap: 10px; align-items: center;
  color: var(--ink);
}
.hero-avatar{
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--f-serif);
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.02em;
}
.hero-side{
  padding: 36px 40px;
  display: flex; flex-direction: column;
  background: var(--paper-2);
}
.hero-side h5{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 22px;
  display:flex; align-items:center; justify-content: space-between;
  font-weight: 400;
}
.hero-side h5 .count{ color: var(--ink); font-weight: 500; }
.hero-list{ display:flex; flex-direction: column; gap: 0; flex: 1; }
.hero-item{
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s ease;
}
.hero-item:last-child{ border-bottom: 1px solid var(--hairline); }
.hero-item:hover{ transform: translateX(2px); }
.hero-item .n{
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--steel);
  padding-top: 4px;
  letter-spacing: 0.04em;
}
.hero-item .ti{
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0 0 4px;
  transition: color .18s;
}
.hero-item .mi{
  font-family: var(--f-sans);
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-item:hover .ti{ color: var(--signal); }

/* ───── 6. HERO STRIP (stats row) ───── */
.hero-strip{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.hero-strip > div{
  padding: 22px 28px;
  border-right: 1px solid var(--rule);
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.02em;
}
.hero-strip > div:last-child{ border-right: none; }
.hero-strip b{
  display:block;
  font-family: var(--f-serif);
  font-size: 26px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.hero-strip .lbl{
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ───── 7. TICK RULE (engineering) ───── */
.tick-rule{
  height: 28px;
  border: 1px solid var(--rule);
  background:
    repeating-linear-gradient(to right,
      var(--rule) 0 1px,
      transparent 1px 32px);
  background-position: 12px 0;
  background-repeat: no-repeat;
  background-size: calc(100% - 24px) 6px;
  position: relative;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--steel);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tick-rule::before{
  content: attr(data-l);
  position: absolute; left: 12px; top: 9px;
  background: var(--paper); padding: 0 8px 0 0;
}
.tick-rule::after{
  content: attr(data-r);
  position: absolute; right: 12px; top: 9px;
  background: var(--paper); padding: 0 0 0 8px;
  color: var(--ink);
}

/* ───── 8. FRAME (corner crosshairs) ───── */
.frame{ position: relative; }
.frame::before, .frame::after,
.frame > .ctl, .frame > .ctr{
  content:"";
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
  z-index: 2;
}
.frame::before{ top:-5px; left:-5px; }
.frame::after{ top:-5px; right:-5px; }
.frame > .ctl{ bottom:-5px; left:-5px; }
.frame > .ctr{ bottom:-5px; right:-5px; }

/* ───── 9. SECTION HEAD (numbered with signal bar) ───── */
.ds-head{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 56px 32px 32px;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
}
.ds-num{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
  text-transform: uppercase;
}
.ds-num b{ color: var(--ink); font-weight: 500; }
.ds-num::before{
  content:""; display:block; width: 28px; height: 1px; background: var(--signal);
  margin-bottom: 12px;
}
.ds-title{
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.ds-title em{ font-style: italic; color: var(--navy); }
.ds-blurb{
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}

/* ───── 10. SEARCH BAR (engineering panel) ───── */
.search-bar{
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 18px 32px;
}
.search-form{
  display: grid;
  grid-template-columns: 1fr 260px auto;
  gap: 12px;
  align-items: stretch;
  max-width: var(--maxw);
  margin: 0 auto;
}
.search-input, .media-filter{
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--ink);
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 12px 14px;
  border-radius: 0;
  outline: none;
  appearance: none;
}
.search-input::placeholder{
  color: var(--steel);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.search-input:focus, .media-filter:focus{
  border-color: var(--signal);
  box-shadow: 0 0 0 1px var(--signal);
}
.media-filter{
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.results-bar{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.results-bar b{ color: var(--ink); font-weight: 500; }
.results-bar a{ color: var(--signal); text-decoration: none; }
.results-bar a:hover{ text-decoration: underline; }

/* ───── 11. ARTICLE GRID (cards) ───── */
.article-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--rule);
}
.article-card{
  padding: 32px 32px 36px;
  border-right: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: background .25s ease;
  min-height: 280px;
}
.article-grid > .article-card:nth-child(2n){ border-right: none; }
.article-card:hover{ background: var(--paper-2); }
.article-card .ac-meta{
  display: flex; gap: 12px; align-items: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
.article-card .ac-num{
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.08em;
}
.article-card .ac-num b{ color: var(--ink); font-weight: 500; }
.article-card .ac-title{
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  transition: color .18s;
}
.article-card:hover .ac-title{ color: var(--signal); }
.article-card .ac-title em{ font-style: italic; color: var(--navy); }
.article-card .ac-excerpt{
  font-family: var(--f-serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.article-card .ac-foot{
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--steel);
  margin-top: 6px;
}
.article-card .ac-foot .author{ color: var(--ink); font-weight: 500; }
.article-card .ac-foot .dotsep{ width: 3px; height: 3px; border-radius: 50%; background: var(--steel-2); }

/* media badge */
.media-badge{
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid var(--hairline);
  text-decoration: none;
  background: var(--paper);
}

/* signal arrow on hover */
.article-card::after{
  content: "→";
  position: absolute;
  top: 32px; right: 32px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--steel-2);
  transition: color .18s, transform .25s;
}
.article-card:hover::after{ color: var(--signal); transform: translateX(4px); }

/* ───── 12. BANNER between cards ───── */
.article-banner{
  grid-column: 1 / -1;
  padding: 0;
  border-top: 1px solid var(--rule);
  background: var(--ink);
  position: relative;
}
.article-banner img{
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.1);
  opacity: .85;
}
.article-banner::before{
  content: attr(data-label);
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(43,108,223,.85);
  padding: 4px 10px;
  z-index: 2;
}

/* ───── 13. PAGINATION (engineering tick) ───── */
.pagination{
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 32px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--paper);
}
.pagination .pages{ display: flex; gap: 4px; align-items: center; }
.pagination a, .pagination span{
  display: inline-block;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--rule);
  background: var(--paper);
  font-weight: 500;
}
.pagination a:hover{ background: var(--ink); color: var(--paper); }
.pagination .current{ background: var(--ink); color: var(--paper); }
.pagination .nav{
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  border: none;
  background: none;
  padding: 0;
  color: var(--ink);
}
.pagination .nav:hover{ color: var(--signal); background: none; }

/* ───── 14. ARTICLE PAGE (full editorial layout) ───── */
.article-back{
  padding: 24px 32px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--f-sans);
  font-size: 13px;
}
.article-back a{
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.article-back a:hover{ color: var(--signal); border-bottom-color: var(--signal); }

.article{
  background: var(--paper);
  padding: 64px 0 0;
  border-bottom: 1px solid var(--rule);
}
.article-head{
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px 48px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}
.article-cat{
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 24px;
  font-weight: 600;
  display: flex; gap: 14px; align-items: center;
}
.article-cat .bar{ flex:1; height:1px; background: var(--hairline); max-width: 60px; }
.article-h1{
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.article-h1 em{ font-style: italic; color: var(--navy); }
.article-stand{
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 640px;
}
.article-byline{
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--steel);
}
.article-byline b{ color: var(--ink); font-weight: 600; }
.article-byline .dotsep{ width: 3px; height: 3px; border-radius: 50%; background: var(--steel-2); }
.article-byline .article-cat-inline{
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 600;
}

.article-body{
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 32px 80px;
  font-family: var(--f-serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
}
.article-body p{ margin: 0 0 24px; }
.article-body p.dropcap::first-letter{
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 76px;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 -2px;
  color: var(--navy);
}
.article-body h2{
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 48px 0 16px;
}
.article-body blockquote{
  margin: 36px 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--signal);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
}
.article-body blockquote cite{
  display:block;
  margin-top: 14px;
  font-family: var(--f-sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.article-body a{
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--steel-2);
  text-underline-offset: 3px;
}
.article-body a:hover{ color: var(--signal); text-decoration-color: var(--signal); }

.article-foot{
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px 80px;
  display: flex; flex-direction: column; gap: 24px;
}
.article-foot .source-link{
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.article-foot .source-link a{
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  font-weight: 500;
}
.article-foot .source-link a:hover{ color: var(--signal); border-bottom-color: var(--signal); }

/* Related articles */
.related{
  border-top: 1px solid var(--rule);
  padding: 56px 32px 80px;
  background: var(--paper-2);
}
.related h3{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 32px;
  font-weight: 400;
  display: flex; gap: 14px; align-items: center;
}
.related h3::before{
  content:""; width: 28px; height: 1px; background: var(--signal);
}
.related-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.related-grid .article-card{
  border-right: 1px solid var(--rule);
  border-top: none;
  padding: 28px 24px;
  min-height: 220px;
}
.related-grid .article-card:last-child{ border-right: none; }
.related-grid .article-card .ac-title{ font-size: 22px; }
.related-grid .article-card::after{ top: 24px; right: 24px; font-size: 18px; }

/* ───── 15. ABOUT / BIO ───── */
.bio-wrap{
  padding: 56px 32px 80px;
  border-bottom: 1px solid var(--rule);
}
.bio{
  border: 1px solid var(--rule);
  background: var(--paper);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  max-width: var(--maxw);
  margin: 0 auto;
}
.bio-l{
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
  display: flex; flex-direction: column; gap: 24px;
}
.bio-portrait{
  width: 100%; aspect-ratio: 1/1;
  background:
    repeating-linear-gradient(45deg,
      rgba(246,244,238,.06) 0 8px,
      rgba(246,244,238,0) 8px 16px),
    linear-gradient(180deg, var(--navy-2) 0%, var(--ink) 100%);
  border: 1px solid rgba(246,244,238,.15);
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,244,238,.5);
  position: relative;
  overflow: hidden;
}
.bio-portrait img{
  width: 100%; height: 100%; object-fit: cover;
}
.bio-portrait .pv-mark{
  position: absolute;
  font-family: var(--f-serif);
  font-size: 96px;
  font-weight: 400;
  color: rgba(246,244,238,.85);
  letter-spacing: -0.04em;
  line-height: 1;
}
.bio-portrait .pv-mark .dot{ color: var(--signal); }
.bio-name{
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.bio-name .dot{ color: var(--signal); }
.bio-role{
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin: 6px 0 0;
}
.bio-coords{
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--steel-2);
  text-transform: uppercase;
  border-top: 1px solid rgba(246,244,238,.15);
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.bio-coords b{ color: var(--paper); font-weight: 500; }
.bio-r{
  padding: 48px 48px;
  display: flex; flex-direction: column; gap: 22px;
}
.bio-r .standfirst{
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0 0 8px;
}
.bio-r p{
  margin: 0;
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}
.bio-r p em{ font-style: italic; color: var(--navy); }
.bio-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  margin-top: 16px;
  padding-top: 24px;
}
.bio-stats > div{
  border-right: 1px solid var(--hairline);
  padding-right: 16px;
  margin-right: 16px;
}
.bio-stats > div:last-child{ border-right: none; }
.bio-stats b{
  display:block;
  font-family: var(--f-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.bio-stats span{
  display:block;
  margin-top: 8px;
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.bio-stats em{
  font-family: var(--f-mono);
  font-style: normal;
  color: var(--signal);
  font-size: 14px;
  margin-left: 2px;
}
.bio-links{
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--f-sans);
  font-size: 13px;
  margin-top: 8px;
}
.bio-links a{
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--steel-2);
  padding-bottom: 2px;
}
.bio-links a:hover{ color: var(--signal); border-bottom-color: var(--signal); }

/* ───── 16. PRINCIPLES ───── */
.principles-wrap{ padding: 56px 32px 0; }
.principles{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  max-width: var(--maxw);
  margin: 0 auto;
}
.pr{
  padding: 36px 32px 40px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 18px;
}
.pr:last-child{ border-right: none; }
.pr .num{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--signal);
}
.pr h4{
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}
.pr h4 em{ font-style: italic; color: var(--navy); }
.pr p{
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ───── 17. BUTTONS / TAGS / CALLOUT ───── */
.btn{
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover{ background: var(--navy); border-color: var(--navy); }
.btn .arr{ font-family: var(--f-serif); font-size: 18px; font-style: italic; line-height: 1; }
.btn.ghost{ background: transparent; color: var(--ink); }
.btn.ghost:hover{ background: var(--ink); color: var(--paper); }
.btn.signal{
  background: transparent; border-color: var(--signal); color: var(--signal);
}
.btn.signal:hover{ background: var(--signal); color: var(--paper); }
.btn.minimal{
  background: transparent; border: none; padding: 6px 0;
  color: var(--ink); border-bottom: 1px solid var(--ink);
}
.btn.minimal:hover{ color: var(--signal); border-bottom-color: var(--signal); }

.tag{
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 5px 10px;
  background: transparent;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}
.tag.solid{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag.signal{ color: var(--signal); border-color: var(--signal); }

.callout{
  display:inline-flex; align-items:center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
}
.callout::before{
  content:""; width: 18px; height: 1px; background: var(--signal);
}

/* ───── 18. EMPTY STATE ───── */
.empty-state{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 32px;
  text-align: center;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--steel);
  border-bottom: 1px solid var(--rule);
}
.empty-state::before{
  content:"—";
  display: block;
  color: var(--signal);
  font-style: normal;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 0.2em;
}

/* ───── 19. PAGE HEADING (about etc.) ───── */
.page-heading{
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.page-heading em{ font-style: italic; color: var(--navy); }

/* ───── ADMIN LOGIN ───── */
.login-wrap{
  padding: 56px 32px 96px;
  border-bottom: 1px solid var(--rule);
}
.login-panel{
  border: 1px solid var(--rule);
  background: var(--paper);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
}
.login-l{
  padding: 56px 48px;
  background: var(--ink);
  color: var(--paper);
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 18px;
}
.login-num{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--signal);
  text-transform: uppercase;
}
.login-h{
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--paper);
}
.login-h em{ font-style: italic; color: var(--steel-2); }
.login-blurb{
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--steel-2);
  margin: 0;
  max-width: 320px;
}
.login-l .callout{
  margin-top: auto;
  color: var(--signal);
}
.login-r{
  padding: 56px 48px;
  display: flex; flex-direction: column; gap: 14px;
  justify-content: center;
}
.login-lbl{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.login-input{
  font-family: var(--f-mono);
  font-size: 22px;
  letter-spacing: 0.4em;
  text-align: center;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 16px 14px;
  outline: none;
  border-radius: 0;
  appearance: none;
  width: 100%;
}
.login-input:focus{
  border-color: var(--signal);
  box-shadow: 0 0 0 1px var(--signal);
}
.login-error{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B33A3A;
  background: rgba(179,58,58,.06);
  border: 1px solid rgba(179,58,58,.3);
  padding: 10px 12px;
}
.login-r .btn{ justify-content: center; padding: 14px 22px; }

@media (max-width: 720px){
  .login-wrap{ padding: 32px 20px 64px; }
  .login-panel{ grid-template-columns: 1fr; }
  .login-l{ padding: 36px 28px; border-right: none; border-bottom: 1px solid var(--rule); }
  .login-r{ padding: 36px 28px; }
  .login-h{ font-size: 36px; }
}

/* ───── 20. FOOTER ───── */
.ds-foot{
  padding: 36px 32px 56px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.ds-foot .lhs, .ds-foot .rhs{ display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ds-foot .dot-sig{ width:7px; height:7px; background: var(--signal); border-radius:50%; display:inline-block; }
.ds-foot a{ color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hairline); padding-bottom: 2px; }
.ds-foot a:hover{ color: var(--signal); border-bottom-color: var(--signal); }

/* ───── 21. RESPONSIVE ───── */
@media (max-width: 980px){
  .cover{ padding: 56px 24px 80px; }
  .cover-inner{ grid-template-columns: 1fr; gap: 40px; }
  .hero-body{ grid-template-columns: 1fr; }
  .hero-lead{ border-right: none; border-bottom: 1px solid var(--rule); padding: 48px 32px; min-height: 0; }
  .hero-side{ padding: 32px; }
  .hero-strip{ grid-template-columns: repeat(2, 1fr); }
  .hero-strip > div:nth-child(2n){ border-right: none; }
  .hero-strip > div{ border-bottom: 1px solid var(--rule); }
  .hero-strip > div:nth-last-child(-n+2){ border-bottom: none; }
  .article-grid{ grid-template-columns: 1fr; }
  .article-grid > .article-card{ border-right: none; }
  .bio{ grid-template-columns: 1fr; }
  .bio-l{ border-right: none; border-bottom: 1px solid var(--rule); }
  .bio-r{ padding: 36px 28px; }
  .bio-stats{ grid-template-columns: repeat(3, 1fr); }
  .principles{ grid-template-columns: 1fr; }
  .pr{ border-right: none; border-bottom: 1px solid var(--rule); }
  .pr:last-child{ border-bottom: none; }
  .related-grid{ grid-template-columns: 1fr; }
  .related-grid .article-card{ border-right: none; border-bottom: 1px solid var(--rule); }
  .related-grid .article-card:last-child{ border-bottom: none; }
  .ds-head{ grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 640px){
  body{ font-size: 16px; }
  .sysbar-inner{ padding: 6px 16px; gap: 12px; font-size: 10px; }
  .sysbar .div{ display: none; }
  .hero-nav{ padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  .hero-nav .nav-links{ gap: 18px; }
  .hero-coords{ padding: 6px 16px; font-size: 9px; }
  .cover{ padding: 40px 20px 60px; }
  .hero-lead{ padding: 36px 20px; }
  .hero-side{ padding: 24px 20px; }
  .article-card{ padding: 24px 20px; min-height: 0; }
  .article-card::after{ top: 24px; right: 20px; }
  .article-head{ padding: 0 20px 36px; }
  .article-body{ padding: 36px 20px 60px; font-size: 17px; }
  .article-body blockquote{ font-size: 20px; padding-left: 20px; }
  .article-body p.dropcap::first-letter{ font-size: 60px; }
  .article-foot{ padding: 0 20px 60px; }
  .related{ padding: 40px 20px 60px; }
  .bio-wrap{ padding: 40px 20px 60px; }
  .bio-r{ padding: 32px 24px; }
  .bio-stats{ grid-template-columns: 1fr; gap: 16px; }
  .bio-stats > div{ border-right: none; border-bottom: 1px solid var(--hairline); padding: 0 0 16px; margin: 0; }
  .bio-stats > div:last-child{ border-bottom: none; }
  .search-form{ grid-template-columns: 1fr; }
  .search-bar{ padding: 14px 20px; }
  .results-bar{ padding: 12px 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .pagination{ padding: 20px; }
  .ds-foot{ padding: 28px 20px 40px; flex-direction: column; align-items: flex-start; }
}
