/* Public website for Latest & Greatest. Same brand as the image cards:
   navy, amber, coral, condensed display type. */
:root {
  --bg: #0a0e20;
  --bg-2: #0f1530;
  --panel: #141b3a;
  --line: #262f5a;
  --text: #eef1fb;
  --muted: #b3bbdc;
  --faint: #8089b3;
  --amber: #ffc400;
  --coral: #ff5448;
  --display: "Barlow Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 560px at 88% -8%, rgba(255, 84, 72, 0.13), transparent 60%),
    radial-gradient(900px 520px at -10% 30%, rgba(255, 196, 0, 0.06), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 400 17px/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #1a1020; padding: 10px 14px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header and footer ---------- */
.top, .foot, main > section, .post { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #1c1f3f; border: 3px solid var(--amber); font: 700 17px/1 var(--display); letter-spacing: .02em; }
.name { font: 700 24px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.name b { color: var(--amber); }
.top nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 26px); font-weight: 600; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); padding: 10px 2px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }
.top nav a[aria-current] { box-shadow: 0 2px 0 var(--amber); }
.top nav .cta { color: #1a1020; background: var(--amber); padding: 10px 16px; border-radius: 999px; }
.top nav .cta:hover { color: #1a1020; filter: brightness(1.07); }

.foot { margin-top: clamp(48px, 8vw, 96px); padding-block: 36px 48px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; color: var(--muted); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: start; font-weight: 600; }
.foot nav a { text-decoration: none; padding: 6px 0; }
.foot nav a:hover { color: var(--text); }
.foot .brand { margin-bottom: 8px; }
.foot .small { grid-column: 1 / -1; font-size: 13px; color: var(--faint); max-width: 70ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--amber); color: #1a1020; font-weight: 700; text-decoration: none; }
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--amber); filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(28px, 6vw, 72px) clamp(40px, 7vw, 88px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.hero h1 { font-size: clamp(46px, 8.2vw, 96px); text-transform: uppercase; letter-spacing: -.005em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 46ch; margin: 22px 0 28px; }
.fan { position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; justify-self: center; }
.fan img { position: absolute; width: 56%; top: 8%; left: 22%; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .08); }
.fan .f1 { transform: translate(-46%, 6%) rotate(-9deg); filter: brightness(.82); }
.fan .f2 { transform: translate(46%, 6%) rotate(9deg); filter: brightness(.82); }
.fan .f0 { z-index: 1; }

/* ---------- sections ---------- */
.block { padding-block: clamp(20px, 4vw, 40px); }
.block.first { padding-top: clamp(24px, 5vw, 56px); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.block-head h1, .block-head h2 { font-size: clamp(32px, 5vw, 52px); text-transform: uppercase; }
.block-head a { color: var(--amber); font-weight: 600; font-size: 15px; white-space: nowrap; }
.block-head p { color: var(--faint); font-size: 15px; }
.empty { color: var(--muted); }

/* ---------- story cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.story { display: grid; gap: 14px; align-content: start; min-width: 0; }
.story .pic { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); aspect-ratio: 4 / 5; }
.story .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.story:hover .pic img { transform: scale(1.03); }
.noimg { height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, #0a0e20, #18204a); }
.noimg span { font: 700 34px/1 var(--display); text-transform: uppercase; color: var(--amber); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--faint); }
.kicker { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; color: #fff; background: var(--coral); padding: 4px 9px; border-radius: 999px; text-decoration: none; }
.story h3 { font-size: clamp(24px, 2.6vw, 30px); text-transform: uppercase; margin: 8px 0; overflow-wrap: anywhere; }
.story h3 a { text-decoration: none; }
.story h3 a:hover { color: var(--amber); }
.story .ex { color: var(--muted); font-size: 15px; line-height: 1.5; }
.story.lead { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(18px, 4vw, 44px); align-items: center; margin-bottom: clamp(24px, 4vw, 44px); padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(20, 27, 58, .85), rgba(15, 21, 48, .85)); }
.story.lead h3 { font-size: clamp(34px, 5vw, 60px); }
.story.lead .ex { font-size: 17px; }

/* ---------- what we do ---------- */
.what { padding-block: clamp(36px, 6vw, 72px); }
.what > h2, .follow h2, .breaking h2 { font-size: clamp(32px, 5vw, 52px); text-transform: uppercase; }
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: 26px; }
.cols > div { border-top: 3px solid var(--amber); padding-top: 16px; }
.cols .n { font: 700 15px/1 var(--display); color: var(--amber); letter-spacing: .1em; }
.cols h3 { font-size: 26px; text-transform: uppercase; margin: 8px 0 8px; }
.cols p { color: var(--muted); font-size: 15px; line-height: 1.55; }

.breaking { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: start; padding-block: clamp(22px, 4vw, 36px); margin-block: clamp(8px, 2vw, 20px); border-block: 1px solid var(--line); }
.breaking .tag { font: 700 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; background: var(--coral); color: #fff; padding: 8px 12px; border-radius: 6px; margin-top: 8px; }
.breaking p { color: var(--muted); max-width: 62ch; margin-top: 10px; }

.follow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; margin-top: clamp(32px, 6vw, 72px); padding-block: clamp(26px, 4vw, 40px); border-radius: 20px; background: linear-gradient(120deg, #1a2247, #141b3a 60%, #2a1a35); border: 1px solid var(--line); }
.follow p { color: var(--muted); margin-top: 8px; max-width: 52ch; }

/* ---------- article ---------- */
.post { padding-top: clamp(20px, 4vw, 48px); }
.post header { max-width: 900px; }
.post h1 { font-size: clamp(40px, 7vw, 84px); text-transform: uppercase; margin: 14px 0 0; overflow-wrap: anywhere; }
.standfirst { font-size: clamp(18px, 2.3vw, 22px); color: var(--muted); margin-top: 18px; max-width: 60ch; line-height: 1.45; }
.post-body { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: start; margin-top: clamp(24px, 4vw, 44px); }
.post figure { margin: 0; }
.post figure img { border-radius: 14px; border: 1px solid var(--line); width: 100%; }
.post figcaption { font-size: 12px; color: var(--faint); margin-top: 8px; }
.copy { max-width: 62ch; }
.copy p { font-size: clamp(18px, 2vw, 20px); line-height: 1.65; margin-bottom: 1.1em; }
.copy p:first-child { font-size: clamp(20px, 2.4vw, 23px); line-height: 1.5; color: #fff; }
.copy .source { font-size: 16px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.copy .source a, .prose a { color: var(--amber); font-weight: 600; text-underline-offset: 3px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.tags li { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }

/* ---------- about / plain pages ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(40px, 7vw, 76px); text-transform: uppercase; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); text-transform: uppercase; margin: 36px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose .standfirst { color: var(--text); margin-bottom: 8px; }
.prose .actions { margin-top: 22px; }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 36px; color: var(--faint); font-size: 14px; }
.pager a:last-child { justify-self: end; }
.pager a:first-child { justify-self: start; }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .grid, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-body { grid-template-columns: minmax(0, 1fr); }
  .post figure { max-width: 420px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .top nav a:not(.cta) { font-size: 14px; }
  .top nav .cta { display: none; }
  .name { font-size: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .fan { max-width: 340px; order: -1; }
  .story.lead { grid-template-columns: minmax(0, 1fr); }
  .story.lead .pic { max-width: 320px; }
  .follow, .foot { grid-template-columns: minmax(0, 1fr); }
  .breaking { grid-template-columns: minmax(0, 1fr); }
  .breaking .tag { justify-self: start; }
}
@media (max-width: 460px) {
  .grid, .grid.three, .cols { grid-template-columns: minmax(0, 1fr); }
  .story:not(.lead) { grid-template-columns: 112px minmax(0, 1fr); align-items: start; }
  .story:not(.lead) .ex { display: none; }
  .story:not(.lead) h3 { font-size: 22px; margin: 6px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .story .pic img { transition: none; } }
