:root {
  --ink: #0b1c2c;
  --ink-2: #132d42;
  --paper: #f0dfb9;
  --paper-light: #fff5dc;
  --red: #c52b21;
  --red-dark: #8f1d18;
  --gold: #e9a72c;
  --muted: #75674f;
  --line: #bca77d;
  --shadow: 8px 8px 0 rgba(11, 28, 44, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(11, 28, 44, .08) .75px, transparent .75px),
    linear-gradient(90deg, rgba(255, 255, 255, .18), transparent 45%, rgba(197, 43, 33, .04));
  background-size: 5px 5px, 100% 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: .6rem .8rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 5px solid var(--red);
  color: var(--paper-light);
  background: var(--ink);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 74px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid var(--paper-light);
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  font-size: 13px;
}

.brand-name { font-size: clamp(1.3rem, 3vw, 2rem); line-height: .9; }
.brand-sub { display: block; margin-top: 4px; color: var(--gold); font: 700 .58rem/1 sans-serif; letter-spacing: .15em; }

.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.site-nav a {
  color: var(--paper-light);
  font: 800 .72rem/1 sans-serif;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--gold); }

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper-light);
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 18, 30, .98) 0%, rgba(5, 18, 30, .86) 34%, rgba(5, 18, 30, .14) 70%), url("robot-union-hero.jpg") center/cover no-repeat;
}

.hero-copy {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: auto;
  padding: 110px 0 72px;
}

.eyebrow, .stamp, .source-label, .case-number, .section-label {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow { color: var(--gold); font-size: .75rem; }
.hero h1 {
  max-width: 760px;
  margin: .25rem 0 1rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4rem, 10vw, 8.7rem);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: .79;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--red-dark);
}
.hero-deck { max-width: 670px; margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.48rem); line-height: 1.35; }
.hero-note { display: inline-block; margin-top: 26px; padding: 8px 11px; color: var(--ink); background: var(--gold); font: 900 .72rem/1.2 sans-serif; letter-spacing: .08em; text-transform: uppercase; }

.ticker {
  overflow: hidden;
  border-block: 3px solid var(--ink);
  color: var(--paper-light);
  background: var(--red);
}
.ticker p {
  width: min(1240px, calc(100% - 32px));
  margin: auto;
  padding: 12px 0;
  font: 900 .83rem/1.25 Arial, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.page-shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: clamp(60px, 8vw, 105px) 0; }
.section + .section { border-top: 2px solid var(--line); }
.section-head { max-width: 860px; margin-bottom: 34px; }
.section-label { color: var(--red); font-size: .72rem; }
.section h2, .article-header h1 {
  margin: .15em 0 .3em;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: .92;
  text-transform: uppercase;
}
.section-intro { max-width: 760px; margin: 0; color: #493f30; font-size: 1.15rem; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.stat { min-height: 205px; padding: 25px; background: var(--paper-light); }
.stat + .stat { border-left: 3px solid var(--ink); }
.stat strong { display: block; color: var(--red); font-family: Impact, sans-serif; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-weight: 700; line-height: 1.25; }
.stat a { display: inline-block; margin-top: 13px; color: var(--muted); font: 800 .66rem/1 sans-serif; letter-spacing: .08em; text-transform: uppercase; }

.case-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.case-card {
  grid-column: span 4;
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 27px;
  border: 3px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 6px 6px 0 rgba(11, 28, 44, .14);
}
.case-card.featured { grid-column: span 6; }
.case-card:nth-child(3n + 2) { transform: rotate(.2deg); }
.case-card:nth-child(3n) { transform: rotate(-.2deg); }
.case-number { color: var(--red); font-size: .68rem; }
.case-card h3 { margin: .35rem 0 .65rem; font: 900 2rem/.95 Impact, sans-serif; text-transform: uppercase; }
.case-card p { margin: 0 0 1rem; }
.finding { margin-top: auto !important; padding-top: 18px; border-top: 2px solid var(--ink); font-style: italic; }
.case-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 15px; }
.case-links a, .read-more, .source-link {
  color: var(--red-dark);
  font: 900 .7rem/1.3 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-band { color: var(--paper-light); background: var(--ink); }
.feature-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 0; border: 3px solid var(--paper-light); }
.feature-image { min-height: 510px; width: 100%; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 64px); }
.feature-copy .section-label { color: var(--gold); }
.feature-copy h2 { font-size: clamp(3rem, 5vw, 5rem); }
.feature-band .feature-copy p { color: #eadcbf; }
.feature-copy .read-more { align-self: flex-start; margin-top: 16px; padding: 13px 15px; color: var(--ink); background: var(--gold); text-decoration: none; }

.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.article-card { display: grid; grid-template-columns: 9px 1fr; border: 3px solid var(--ink); background: rgba(255, 245, 220, .72); }
.article-card::before { content: ""; background: var(--red); }
.article-card-body { padding: 26px; }
.article-card h3 { margin: 0 0 8px; font: 900 2rem/.98 Impact, sans-serif; text-transform: uppercase; }
.article-card p { margin: 0 0 16px; }

.manifesto { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.manifesto blockquote { margin: 0; padding: 30px; border: 3px solid var(--ink); color: var(--paper-light); background: var(--red); box-shadow: var(--shadow); font: 900 clamp(1.5rem, 3vw, 2.4rem)/1.13 Arial, sans-serif; }
.manifesto-list { margin: 0; padding: 0; list-style: none; counter-reset: demands; }
.manifesto-list li { position: relative; padding: 0 0 25px 60px; counter-increment: demands; }
.manifesto-list li::before { content: counter(demands, decimal-leading-zero); position: absolute; left: 0; top: 2px; color: var(--red); font: 900 1.1rem/1 Arial, sans-serif; }
.manifesto-list strong { display: block; font-family: Arial, sans-serif; text-transform: uppercase; }

.disclaimer { padding: 25px; border: 2px dashed var(--ink); background: rgba(255,255,255,.25); }
.disclaimer strong { font-family: Arial, sans-serif; text-transform: uppercase; }

.site-footer { padding: 48px 0; color: #e8dcc2; background: var(--ink); }
.footer-grid { width: min(1240px, calc(100% - 32px)); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.site-footer h2 { margin: 0 0 8px; color: var(--gold); font: 900 1.4rem/1 Impact, sans-serif; text-transform: uppercase; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--paper-light); }
.copyright { color: #ab9f89; font-size: .78rem; }

/* Reports */
.article-header { padding: clamp(70px, 10vw, 130px) 0 55px; border-bottom: 4px solid var(--red); }
.article-header h1 { max-width: 1000px; }
.article-deck { max-width: 780px; margin: 0; font-size: 1.3rem; }
.article-meta { margin-top: 22px; color: var(--red-dark); font: 900 .72rem/1.4 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 270px; gap: 70px; justify-content: center; padding: 65px 0 100px; }
.article-body { font-size: 1.1rem; }
.article-body p:first-child::first-letter { float: left; margin: .06em .12em 0 0; color: var(--red); font: 900 5.1rem/.7 Impact, sans-serif; }
.article-body h2 { margin: 2rem 0 .7rem; font: 900 2.2rem/1 Impact, sans-serif; text-transform: uppercase; }
.article-body blockquote { margin: 35px 0; padding: 22px 26px; border-left: 9px solid var(--red); background: var(--paper-light); font-size: 1.25rem; font-weight: 700; }
.article-aside { align-self: start; padding: 22px; border: 3px solid var(--ink); background: var(--paper-light); box-shadow: var(--shadow); }
.article-aside h2 { margin: 0 0 12px; font: 900 1.45rem/1 Impact, sans-serif; text-transform: uppercase; }
.article-aside ul { margin: 0; padding-left: 20px; }
.article-aside li { margin-bottom: 10px; }
.article-figure { margin: 38px 0; }
.article-figure img { border: 3px solid var(--ink); }
.article-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.back-link { display: inline-block; margin-top: 35px; color: var(--red-dark); font: 900 .75rem/1 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .site-header { position: static; }
  .header-inner { padding: 16px 0; align-items: flex-start; flex-direction: column; }
  .site-nav { justify-content: flex-start; }
  .hero { min-height: 610px; }
  .hero::before { background: linear-gradient(0deg, rgba(5,18,30,.98), rgba(5,18,30,.25) 70%), url("robot-union-hero.jpg") 66% center/cover no-repeat; }
  .hero-copy { padding-top: 260px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 3px solid var(--ink); }
  .case-card, .case-card.featured { grid-column: span 6; }
  .feature-layout, .manifesto, .article-layout { grid-template-columns: 1fr; }
  .feature-image { min-height: 360px; }
  .article-layout { gap: 40px; }
  .article-aside { order: -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { min-height: 540px; }
  .hero-copy { padding-top: 225px; }
  .site-nav { width: 100%; display: grid; grid-template-columns: repeat(2, max-content); }
  .hero h1, .section h2, .article-header h1 { overflow-wrap: anywhere; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .hero-note { display: block; max-width: 100%; }
  .stat-grid, .article-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 3px solid var(--ink); }
  .case-card, .case-card.featured { grid-column: 1 / -1; min-height: 0; }
  .site-nav { gap: 14px; }
  .feature-copy { padding: 30px 22px; }
  .feature-image { min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
