/* Well Aware Media — design system: cobalt, black, white. Heavy headlines. */
:root {
  --cobalt: #0b3bff;
  --cobalt-deep: #0828b8;
  --ink: #0a0a0a;
  --paper: #ffffff;
  --grey: #6b6b6b;
  --rule: #0a0a0a;
  --head: "Archivo", "Arial Narrow", Impact, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

/* Type */
.hd { font-family: var(--head); font-stretch: 75%; font-weight: 900; text-transform: uppercase; line-height: .88; letter-spacing: -0.01em; }
.label { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cobalt { color: var(--cobalt); }
.bg-cobalt { background: var(--cobalt); color: #fff; }
.bg-ink { background: var(--ink); color: #fff; }

/* Top bar + masthead */
.topbar { border-bottom: 2px solid var(--ink); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar nav { display: flex; gap: 22px; }
.topbar a:hover { color: var(--cobalt); }
.mast { border-bottom: 6px solid var(--ink); }
.mast .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 14px; }
.mast .logo { font-family: var(--head); font-stretch: 62%; font-weight: 900; font-size: clamp(64px, 13vw, 190px); line-height: .8; letter-spacing: -0.02em; text-transform: uppercase; }
.mast .logo span { color: var(--cobalt); }
.mast .tag { max-width: 260px; text-align: right; font-family: var(--head); font-weight: 800; font-size: 18px; line-height: 1.05; text-transform: uppercase; }
.mast-sm .wrap { padding-top: 10px; padding-bottom: 10px; align-items: center; }
.mast-sm .logo { font-size: clamp(40px, 6vw, 64px); }

/* Ticker */
.ticker { overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--cobalt); color: #fff; }
.ticker .track { display: flex; gap: 48px; width: max-content; padding: 10px 0; animation: tick 50s linear infinite; }
.ticker span { font-family: var(--head); font-weight: 800; font-size: 16px; text-transform: uppercase; white-space: nowrap; }
.ticker span::before { content: "■"; margin-right: 14px; font-size: 10px; vertical-align: 2px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Stamp */
.stamp { display: inline-grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; border: 4px solid var(--cobalt); color: var(--cobalt); text-align: center; transform: rotate(-12deg); font-family: var(--head); font-weight: 900; text-transform: uppercase; line-height: .9; position: relative; }
.stamp::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px solid currentColor; }
.stamp b { display: block; font-size: 30px; font-stretch: 70%; }
.stamp small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; line-height: 1.15; margin: 4px auto 0; max-width: 72%; }
.stamp.white { border-color: #fff; color: #fff; }

/* Buttons */
.btn { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; padding: 14px 22px; border: 3px solid var(--ink); background: var(--ink); color: #fff; transition: background .15s, color .15s; cursor: pointer; }
.btn:hover { background: var(--cobalt); border-color: var(--cobalt); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.white { background: #fff; color: var(--ink); border-color: #fff; }
.btn.white:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Section heads */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; border-top: 6px solid var(--ink); padding-top: 10px; margin: 72px 0 24px; }
.sec-head h2 { font-size: clamp(40px, 6vw, 80px); }
.sec-head a:hover { color: var(--cobalt); }

/* Cards */
.card { display: block; border-top: 2px solid var(--ink); padding-top: 14px; }
.card .k { margin-bottom: 10px; display: block; }
.card h3 { font-size: clamp(28px, 3vw, 42px); }
.card p { margin-top: 10px; color: #222; font-size: 17px; }
.card:hover h3 { color: var(--cobalt); }

/* Footer */
footer { margin-top: 96px; background: var(--ink); color: #fff; }
footer .wrap { padding-top: 56px; padding-bottom: 40px; }
footer .big { font-size: clamp(60px, 12vw, 180px); color: var(--cobalt); }
footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; border-top: 2px solid #333; padding-top: 20px; }
footer a:hover { color: var(--cobalt); }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Article */
.art-hero { padding: 48px 0 36px; border-bottom: 6px solid var(--ink); }
.art-hero h1 { font-size: clamp(56px, 10vw, 150px); margin: 18px 0 22px; max-width: 14ch; }
.art-hero .dek { font-size: clamp(20px, 2vw, 26px); max-width: 760px; line-height: 1.4; }
.art-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; color: var(--grey); }
.art-body { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; padding-top: 48px; }
.art-body aside { position: sticky; top: 24px; align-self: start; }
.art-body aside .stamp { margin-bottom: 24px; }
.prose p { margin-bottom: 1.2em; }
.prose h2 { font-family: var(--head); font-stretch: 75%; font-weight: 900; text-transform: uppercase; font-size: 44px; line-height: .95; margin: 1.4em 0 .5em; }
.prose strong { font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.2em; }
.prose li { margin-bottom: .4em; }
.pull { font-family: var(--head); font-stretch: 75%; font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 4.5vw, 60px); line-height: .92; color: var(--cobalt); border-top: 6px solid var(--cobalt); border-bottom: 6px solid var(--cobalt); padding: 20px 0; margin: 1.2em 0 1.4em; }
.bignum { display: flex; gap: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); margin: 1.4em 0; }
.bignum div { flex: 1; padding: 18px 16px 18px 0; }
.bignum div + div { border-left: 2px solid var(--ink); padding-left: 16px; }
.bignum b { display: block; font-family: var(--head); font-stretch: 70%; font-weight: 900; font-size: clamp(44px, 6vw, 80px); line-height: .9; color: var(--cobalt); }
.bignum span { font-family: var(--mono); font-size: 13px; line-height: 1.4; display: block; margin-top: 6px; }
.sources { font-family: var(--mono); font-size: 13px; color: var(--grey); border-top: 2px solid var(--ink); padding-top: 14px; margin-top: 2em; }
.next { margin-top: 64px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .topbar nav { gap: 14px; }
  .topbar .hide-sm { display: none; }
  .mast .tag { display: none; }
  .art-body { grid-template-columns: 1fr; gap: 24px; }
  .art-body aside { position: static; display: flex; align-items: center; gap: 20px; }
  .art-body aside .stamp { margin: 0; width: 104px; height: 104px; }
  .art-body aside .stamp b { font-size: 24px; }
  .bignum { flex-direction: column; }
  .bignum div + div { border-left: none; border-top: 2px solid var(--ink); padding-left: 0; }
}
