/* ============================================================
   abuso.dev — holding page: the index, in assembly
   paper #F2F0E9 · ink #1B1A16 · casamance green #17573C
   Big Shoulders (display) · Newsreader (text) · Spline Sans Mono (meta)
   Temporary. The full site lives in /_full — see README.
   ============================================================ */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Big Shoulders';
  src: url('/fonts/big-shoulders-v4-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Big Shoulders';
  src: url('/fonts/big-shoulders-v4-latin-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader-v26-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader-v26-latin-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Spline Sans Mono';
  src: url('/fonts/spline-sans-mono-v13-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Spline Sans Mono';
  src: url('/fonts/spline-sans-mono-v13-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --paper: #F2F0E9;
  --ink: #1B1A16;
  --ink-soft: #6B675C;
  --rule: #CBC6B6;
  --green: #17573C;
  --green-live: #0F8A4E;
  --saffron: #C1741B;
  --display: 'Big Shoulders', 'Arial Narrow', sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --mono: 'Spline Sans Mono', 'Courier New', monospace;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { background: var(--saffron); color: var(--paper); }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); position: relative; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 100; font-family: var(--mono); font-size: 12px;
}
.skip:focus { left: 0; }

/* ---------- masthead ---------- */
.topbar {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 2px solid var(--ink);
  font-weight: 500;
}
.topbar-status { color: var(--green); }
.tick { display: inline-block; margin-left: 2px; animation: tick 2.2s step-end infinite; }
@keyframes tick { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.masthead-count {
  position: absolute;
  right: var(--pad);
  top: clamp(90px, 10vw, 150px);
  text-align: right;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  font-weight: 500;
}
@media (max-width: 1099px) { .masthead-count { display: none; } }

.masthead-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(5.5rem, 17vw, 15.5rem);
  line-height: 0.84;
  letter-spacing: -0.005em;
  margin: clamp(24px, 4vw, 56px) 0 clamp(20px, 3vw, 44px) -0.04em;
}
.masthead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(32px, 5vw, 64px);
}
.masthead-statement {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: 0.002em;
}
.masthead-statement em { font-style: normal; color: var(--green); }

.holding { max-width: 46ch; }
.holding-lead {
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--green);
  margin-bottom: 14px;
}
.holding-prose { font-size: 17px; line-height: 1.6; }

.clockbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 13px 0;
  font-weight: 500;
}
.clock { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.clock-sep { color: var(--green); font-size: 15px; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-live);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); animation: rise 0.75s cubic-bezier(0.2, 0.65, 0.2, 1) forwards; }
.r1 { animation-delay: 0.05s; }
.r2 { animation-delay: 0.18s; }
.r3 { animation-delay: 0.30s; }
.r4 { animation-delay: 0.45s; }
.r5 { animation-delay: 0.60s; }
.r6 { animation-delay: 0.72s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- shared block title ---------- */
.block-title {
  font-size: 11px; letter-spacing: 0.2em; font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

/* ---------- contents ledger ---------- */
.contents { padding: clamp(48px, 6vw, 88px) 0 0; }
.toc { list-style: none; max-width: 860px; font-weight: 500; }
.toc li {
  display: flex; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--rule);
  padding: 13px 0;
}
.toc li:last-child { border-bottom: 1px solid var(--rule); }
.toc-no { color: var(--green); }
.toc-name { color: var(--ink); letter-spacing: 0.12em; }
.toc-leader {
  flex: 1;
  border-bottom: 1px dotted var(--rule);
  transform: translateY(-4px);
  min-width: 24px;
}
.toc-state { color: var(--ink-soft); letter-spacing: 0.12em; font-size: 11px; }
.toc-open { color: var(--green); }

/* ---------- floor: meanwhile + write ---------- */
.floor {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 110px);
}

.now { list-style: none; }
.now li {
  display: grid; grid-template-columns: 108px 1fr; gap: 20px;
  border-top: 1px solid var(--rule);
  padding: 14px 0;
  align-items: baseline;
}
.now li:last-child { border-bottom: 1px solid var(--rule); }
.now-verb { color: var(--green); font-weight: 500; }
.now-what { font-size: 17.5px; }

.write-lead { font-size: 20px; line-height: 1.5; max-width: 30ch; margin-bottom: 22px; }
.write-list { list-style: none; }
.write-list li { padding: 4px 0; font-size: 18px; }
.write-list a:hover { color: var(--green); }

/* ---------- colophon ---------- */
.colophon { border-top: 2px solid var(--ink); padding: 24px 0 40px; }
.colophon-grid {
  display: grid; grid-template-columns: auto auto auto;
  gap: 12px 32px; justify-content: space-between;
  font-size: 10px; color: var(--ink-soft); letter-spacing: 0.1em; line-height: 1.7;
}

/* ---------- small screens ---------- */
@media (max-width: 899px) {
  .colophon-grid { grid-template-columns: 1fr; }
  .floor { grid-template-columns: 1fr; gap: clamp(40px, 8vw, 64px); }
}
@media (max-width: 767px) {
  body { font-size: 17px; }
  .topbar-mid { display: none; }
  .masthead-grid { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .clockbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .clock-sep { display: none; }
  .toc-name { letter-spacing: 0.08em; }
  .toc-state { font-size: 10px; }
  .now li { grid-template-columns: 96px 1fr; gap: 14px; }
}
@media (max-width: 519px) {
  .clock-geo { display: none; }
  .toc li { gap: 10px; }
  .toc-leader { min-width: 12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .live-dot { animation: none; }
  .tick { animation: none; }
}
