/* The Record — swarm.llc editorial section */
:root {
  --red: #EC0401;
  --red-dark: #d00300;
  --ink: #111213;
  --paper: #f8f8f8;
  --paper-warm: #f3f2ef;
  --rule: #1112131f;
  --rule-hard: #111213;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --sans: "Sora", system-ui, -apple-system, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --green: #0a7d33;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
::selection { background: var(--red); color: #fff; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* chrome (shared with landing) */
.topbar {
  background: var(--ink); color: #f8f8f8;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; }
.topbar em { font-style: normal; color: #ff5a57; }
@media (max-width: 720px) { .topbar span:last-child { display: none; } }

header.site { border-bottom: 2px solid var(--rule-hard); background: var(--paper); position: sticky; top: 0; z-index: 50; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.wordmark { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink); }
.wordmark .mark { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.wordmark .mark i { font-style: normal; color: var(--red); }
.wordmark .by { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #666; }
nav.main { display: flex; gap: 28px; align-items: center; }
nav.main a { font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
nav.main a:hover, nav.main a.here { border-bottom-color: var(--red); }
.btn {
  display: inline-block; background: var(--red); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 14px; padding: 11px 22px; border-radius: 2px; border: 2px solid var(--red);
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
@media (max-width: 860px) { nav.main a { display: none; } }

footer { background: var(--ink); color: #9a9a9a; padding: 54px 0 64px; font-size: 13px; margin-top: 110px; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { footer .wrap { grid-template-columns: 1fr; } }
footer .fm { font-weight: 800; color: #fff; font-size: 17px; margin-bottom: 12px; }
footer .fm i { font-style: normal; color: var(--red); }
footer p { font-weight: 300; line-height: 1.7; }
footer .col b { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 500; }
footer .col a { display: block; color: #9a9a9a; text-decoration: none; padding: 5px 0; }
footer .col a:hover { color: #fff; }
.legal { border-top: 1px solid #ffffff1c; margin-top: 46px; padding-top: 24px; font-family: var(--mono); font-size: 10.5px; line-height: 1.9; color: #6f6f6f; }
.legal .wrap { display: block; }

/* record index */
.rec-hero { padding: 74px 0 0; }
.rec-kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.rec-kicker::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.rec-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.rec-hero p.sub { margin-top: 18px; font-size: 17px; font-weight: 300; color: #555; max-width: 40em; }
.rec-rule { height: 2px; background: var(--rule-hard); margin: 44px 0 0; }

.filings { display: grid; grid-template-columns: 1fr; }
.filing {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 30px; align-items: baseline;
  padding: 34px 0 36px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink);
}
.filing:hover h2 { color: var(--red); }
.filing .no { font-family: var(--mono); font-size: 12px; color: var(--red); font-weight: 600; letter-spacing: .1em; }
.filing .no span { display: block; color: #888; font-weight: 400; margin-top: 6px; }
.filing h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; transition: color .15s ease; }
.filing p { margin-top: 10px; font-family: var(--serif); font-size: 15.5px; font-weight: 300; color: #4a4a4a; line-height: 1.65; max-width: 48em; }
.filing .cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #666; border: 1px solid var(--rule-hard); padding: 5px 10px; white-space: nowrap; }
@media (max-width: 760px) { .filing { grid-template-columns: 1fr; gap: 10px; } .filing .cat { justify-self: start; } }

/* article */
.art-head { padding: 70px 0 0; }
.art-meta {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #666;
  margin-bottom: 26px;
}
.art-meta .no { color: var(--red); font-weight: 600; }
.art-meta .cat { border: 1px solid var(--rule-hard); padding: 4px 10px; }
.art-head h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; max-width: 22em; }
.art-head p.standfirst {
  margin-top: 24px; font-family: var(--serif); font-size: 20px; font-weight: 300;
  color: #3c3c3c; line-height: 1.6; max-width: 36em;
}
.art-head .byline { margin-top: 26px; font-family: var(--mono); font-size: 12px; color: #777; }
.art-head .byline b { color: var(--ink); font-weight: 600; }
.art-rule { height: 2px; background: var(--rule-hard); margin: 40px 0 56px; }

article.record { max-width: 720px; margin: 0 auto; padding: 0 24px; }
article.record > p {
  font-family: var(--serif); font-size: 18px; line-height: 1.8; font-weight: 300;
  color: #222; margin-bottom: 26px;
}
article.record p strong { font-weight: 600; color: var(--ink); }
article.record a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(236,4,1,.5); text-underline-offset: 3px; }
article.record a:hover { color: var(--red); }
article.record h2 {
  font-family: var(--sans); font-size: 25px; font-weight: 800; letter-spacing: -0.02em;
  margin: 54px 0 20px; line-height: 1.2; display: flex; gap: 14px; align-items: baseline;
}
article.record h2 .n { font-family: var(--mono); font-size: 13px; color: var(--red); font-weight: 600; letter-spacing: .08em; }
article.record ul, article.record ol { margin: 0 0 26px 22px; }
article.record li { font-family: var(--serif); font-size: 17.5px; line-height: 1.75; font-weight: 300; color: #222; margin-bottom: 10px; }
article.record blockquote {
  border-left: 6px solid var(--red); padding: 6px 0 6px 26px; margin: 40px 0;
}
article.record blockquote p {
  font-family: var(--sans); font-size: 22px; font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.35; color: var(--ink); margin: 0;
}
article.record blockquote cite { display: block; font-family: var(--mono); font-size: 11px; color: #777; margin-top: 12px; font-style: normal; letter-spacing: .06em; }
article.record .callout {
  background: #fff; border: 2px solid var(--rule-hard); padding: 24px 26px; margin: 36px 0;
}
article.record .callout .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 10px; }
article.record .callout p { font-family: var(--serif); font-size: 16px; line-height: 1.7; margin-bottom: 0; }
article.record .callout p + p { margin-top: 12px; }
article.record table { width: 100%; border-collapse: collapse; margin: 36px 0; border: 2px solid var(--rule-hard); background: #fff; }
article.record th {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  text-align: left; padding: 12px 16px; background: var(--ink); color: #f8f8f8; font-weight: 500;
}
article.record td { padding: 13px 16px; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 15px; font-weight: 300; vertical-align: top; }
article.record tr:last-child td { border-bottom: none; }
article.record td:first-child { font-family: var(--sans); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
article.record .srcs {
  margin-top: 56px; border-top: 1px solid var(--rule); padding-top: 20px;
}
article.record .srcs .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #666; margin-bottom: 12px; }
article.record .srcs a { display: block; font-family: var(--mono); font-size: 12px; padding: 4px 0; color: #444; text-decoration: none; }
article.record .srcs a:hover { color: var(--red); }
.art-cta {
  max-width: 720px; margin: 70px auto 0; padding: 0 24px;
}
.art-cta .box { background: var(--ink); color: #fff; padding: 34px 34px 38px; }
.art-cta .box p.q { font-family: var(--sans); font-size: 21px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; max-width: 24em; }
.art-cta .box .row { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.art-cta .ghost { display: inline-block; color: #fff; border: 2px solid #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 11px 22px; border-radius: 2px; }
.art-cta .ghost:hover { background: #fff; color: var(--ink); }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
