/* The Day After Labor — rebuilt 2026 as a plain static site.
   Colours and the Moderne Sans display face come from the 2017 WordPress theme. */

@font-face {
  font-family: "Moderne Sans";
  src: url("../fonts/moderne-sans.ttf") format("truetype");
  font-display: swap;
}

:root {
  --orange: #e07552;
  --orange-strong: #f47542;
  --ink: #111;
  --paper: #fff;
  --slate: #32363f;
  --grid: rgba(255, 255, 255, 0.08);
  --display: "Moderne Sans", "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav-h: 64px;
}

*, *::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: 17px;
  line-height: 1.6;
  color: #eee;
  background-color: var(--slate);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 57px 57px;
}

a { color: var(--orange); }
a:hover { color: #fff; }

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--ink); padding: 8px 12px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 24px;
  background: rgba(244, 117, 66, 0.97);
  transition: background-color .4s ease;
}
.topbar.scrolled { background: rgba(20, 20, 20, 0.94); }

.brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none;
  font-family: var(--display);
  font-size: 22px; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand img { width: 34px; height: 34px; }

.topnav { display: flex; gap: 4px; }
.topnav a {
  color: #fff; text-decoration: none;
  padding: 8px 14px; border-radius: 2px;
  font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
}
.topnav a:hover, .topnav a[aria-current="page"] { background: rgba(0, 0, 0, 0.18); color: #fff; }

@media (max-width: 720px) {
  .topbar { padding: 0 14px; }
  .brand { font-size: 15px; letter-spacing: .18em; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .topnav a { padding: 6px 8px; font-size: 13px; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
}

/* ---------- Slideshow ---------- */
.slideshow {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: #000;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.6s ease, visibility 0s linear 1.6s;
}
.slide.is-active {
  opacity: 1; visibility: visible;
  transition: opacity 1.6s ease, visibility 0s;
}
.slide > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.45) 100%);
}
.slide-copy {
  position: absolute; z-index: 1;
  top: calc(var(--nav-h) + 6vh);
  left: 6vw;
  max-width: min(760px, 88vw);
}
.slide-copy.right { left: auto; right: 6vw; }

.card {
  padding: 22px 28px;
  border-top: 16px solid rgba(255, 255, 255, 0.7);
  border-bottom: 16px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  background-clip: padding-box;
}
.card.dark {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
}
.slide-number {
  font-family: var(--display);
  color: var(--orange);
  font-size: 15px; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 6px;
}
.card h1, .card h2 {
  font-family: var(--display);
  font-weight: normal;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.1;
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 46px);
}
.stat {
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.2;
  margin: 0;
}
.stat strong { font-weight: 700; white-space: nowrap; }
.card ul { margin: 14px 0 0; padding-left: 1.3em; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.35; }
.card li + li { margin-top: 8px; }
.card .lead { font-size: clamp(16px, 1.7vw, 21px); margin: 14px 0 0; }
.learn-more {
  display: inline-block; margin-top: 14px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.card.dark .learn-more { color: #fff; }
.learn-more:hover { color: var(--orange); }

.slide-controls {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 22px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.slide-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7); background: rgba(0,0,0,.35); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
}
.slide-btn:hover, .slide-btn:focus-visible { background: var(--orange); border-color: var(--orange); }
.dots { display: flex; gap: 8px; }
.dot {
  width: 12px; height: 12px; padding: 0; border-radius: 50%;
  border: 1px solid #fff; background: rgba(255,255,255,.25); cursor: pointer;
}
.dot[aria-current="true"] { background: var(--orange); border-color: var(--orange); }

@media (max-width: 720px) {
  .slide-copy, .slide-copy.right { left: 14px; right: 14px; max-width: none; top: calc(var(--nav-h) + 24px); }
  .card { padding: 16px 18px; border-top-width: 10px; border-bottom-width: 10px; }
  .slide-controls { bottom: 14px; gap: 10px; }
  .dots { gap: 6px; }
  .dot { width: 10px; height: 10px; }
}

/* ---------- Content sections ---------- */
.section {
  max-width: 900px; margin: 0 auto; padding: 72px 24px;
}
.section h2 {
  font-family: var(--display); font-weight: normal;
  color: var(--orange); text-transform: uppercase; letter-spacing: .08em;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 18px;
}
.section p { margin: 0 0 16px; }
.panel {
  background: rgba(50, 54, 63, 0.95);
  border-left: 6px solid var(--orange);
  padding: 32px;
}
.button {
  display: inline-block; margin-top: 8px;
  padding: 12px 26px;
  border: 1px solid var(--orange); color: var(--orange); background: transparent;
  text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: 15px;
}
.button:hover { background: var(--orange); color: #fff; }

/* ---------- News archive ---------- */
.page-head { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 8px; }
.note { color: #bbb; font-size: 15px; }
.search-row { margin: 20px 0 8px; }
.search-row input {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 17px;
  border: 1px solid var(--orange); background: #fff; color: var(--ink);
}
.count { color: #bbb; font-size: 14px; margin: 8px 0 0; }
.articles { list-style: none; margin: 0; padding: 0 0 40px; }
.articles li { margin: 0 0 12px; }
.articles a {
  display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center;
  padding: 14px; background: #efefef; color: var(--ink); text-decoration: none;
  transition: background-color .2s ease;
}
.articles a:hover { background: #fff; color: var(--ink); }
.articles .thumb {
  width: 160px; height: 96px; background: var(--orange) url("../img/icon-180.png") center / 56px no-repeat;
  overflow: hidden;
}
.articles .thumb img { width: 100%; height: 100%; object-fit: cover; }
.articles .title { font-size: 18px; line-height: 1.35; }
.articles .host { display: block; color: #666; font-size: 13px; margin-top: 4px; }
@media (max-width: 560px) {
  .articles a { grid-template-columns: 96px 1fr; gap: 12px; }
  .articles .thumb { width: 96px; height: 64px; background-size: 36px; }
  .articles .title { font-size: 16px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(20, 20, 20, 0.92);
  color: #bbb; font-size: 15px;
  padding: 36px 24px; text-align: center;
}
.site-footer p { margin: 6px 0; }
.share { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.share a {
  color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid #666; padding: 6px 12px;
}
.share a:hover { border-color: var(--orange); background: var(--orange); }
