/* CognitoRiverDelta public site. Palette taken from the brand poster: gallery-white paper (the poster's own
   #FAFAFA, so the art sits on the page with no visible box), brushed-chrome greys, the navy exponential curve,
   charcoal wordmark. One deep-space band carries the orbital thesis. */
:root {
  --paper: #fafafa; --paper-2: #f1f3f6; --card: #ffffff;
  --ink: #1d2026; --ink-2: #3b414c; --mut: #69717f;
  --grid: #e3e6eb; --line: #d5d9e0;
  --navy: #22417f; --navy-2: #2f5bb0; --navy-3: #5d86d6;
  --chrome-1: #f4f6f9; --chrome-2: #c9ced6; --chrome-3: #8e96a3;
  --space: #070d1c; --space-2: #0e1a33; --space-ink: #e8edf6; --space-mut: #9aa8c2;
  --radius: 14px; --shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 8px 28px rgba(20, 30, 50, .07);
  --max: 1120px;
  --display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
.eyebrow { font: 600 12.5px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 14px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 760px; }
.mut { color: var(--mut); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 250, .86); backdrop-filter: saturate(1.4) blur(10px);
       border-bottom: 1px solid var(--grid); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; object-position: 50% 12%; }
.wordmark { font: 800 15px/1 var(--display); letter-spacing: .06em; }
.wordmark span { font-weight: 500; }
.nav a.l { color: var(--ink-2); text-decoration: none; font: 500 14.5px/1 var(--display); }
.nav a.l:hover, .nav a.l.on { color: var(--navy); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font: 600 15px/1 var(--display);
       text-decoration: none; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.pri { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(34, 65, 127, .28); }
.btn.pri:hover { background: var(--navy-2); color: #fff; }
.btn.sec { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.ghost { color: var(--space-ink); border-color: rgba(255, 255, 255, .28); }
.btn.sm { padding: 8px 14px; font-size: 13.5px; }
.nav .btn { padding: 8px 15px; font-size: 13.5px; }

/* hero: poster on graph paper, the curve continuing past the art */
/* One background (fade over graph paper) and no z-index on the content: mix-blend-mode only reaches what is behind
   it inside the same stacking context, so an isolating z-index here would leave the poster in a white box. */
.hero { position: relative; overflow: hidden; padding: 36px 0 64px;
        background-image: radial-gradient(ellipse at 50% 40%, rgba(250, 250, 250, 0) 30%, var(--paper) 78%),
                          linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
        background-size: 100% 100%, 44px 44px, 44px 44px; background-position: center, center top, center top; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--navy); }
.hero .lede { margin-bottom: 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.poster { mix-blend-mode: multiply; }  /* the poster's white drops out, so the page's graph paper runs through the art */
.hero-curve { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 160px; opacity: .5; }
.hero-curve path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 3.2s ease-out .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-curve path { animation: none; stroke-dashoffset: 0; } .btn:hover { transform: none; } }

section { padding: 88px 0; }
section.tint { background: var(--paper-2); border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); }
.head { max-width: 780px; margin-bottom: 42px; }

/* the name: three words */
.words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.word { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; box-shadow: var(--shadow);
        position: relative; overflow: hidden; }
.word::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--chrome-2), var(--navy-2), var(--chrome-2)); }
.word svg { width: 44px; height: 44px; margin-bottom: 14px; color: var(--navy); }
.word h3 { font-size: 26px; font-weight: 800; letter-spacing: .02em; margin-bottom: 4px; }
.word .root { font: italic 500 14.5px/1.4 var(--body); color: var(--mut); margin-bottom: 12px; }
.word p { margin: 0 0 10px; color: var(--ink-2); font-size: 16px; }
.sum { margin-top: 30px; padding: 22px 26px; border-left: 4px solid var(--navy); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0;
       font: 500 18.5px/1.6 var(--body); color: var(--ink); box-shadow: var(--shadow); }

/* river -> delta diagram */
.delta-fig { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.delta-fig svg { width: 100%; height: auto; }
.two { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
                    background: var(--navy); color: #fff; font: 700 14px/32px var(--display); text-align: center; }
.steps b { font-family: var(--display); }

/* the exponential decade: deep-space band */
.space { background: radial-gradient(ellipse at 80% 0%, #1a2f5c 0%, var(--space-2) 38%, var(--space) 75%); color: var(--space-ink); position: relative; overflow: hidden; }
.space::before { content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 68%, #cfe0ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 47% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 81%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 77% 37%, #bcd2ff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 89% 64%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 86%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 36% 42%, #dfe8ff 50%, transparent 51%),
    radial-gradient(1px 1px at 56% 55%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 94% 12%, #fff 50%, transparent 51%);
  background-size: 420px 420px; }
.space .wrap { position: relative; }
.space h2 { color: #fff; }
.space .eyebrow { color: var(--navy-3); }
.space .lede { color: var(--space-mut); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.pillar { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12);
          border-radius: var(--radius); padding: 22px 22px 18px; }
.pillar .n { font: 800 13px/1 var(--display); color: var(--navy-3); letter-spacing: .12em; margin-bottom: 10px; }
.pillar h3 { color: #fff; font-size: 19px; }
.pillar p { color: var(--space-mut); font-size: 15.5px; margin: 0; }
.pillar.wide { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
               background: linear-gradient(90deg, rgba(93, 134, 214, .18), rgba(255, 255, 255, .03)); border-color: rgba(93, 134, 214, .35); }
.pillar.wide .big { font: 800 clamp(34px, 5vw, 54px)/1 var(--display); color: #fff; letter-spacing: -.02em; }
.pace { margin-top: 38px; font: 600 clamp(20px, 2.6vw, 27px)/1.45 var(--display); color: #fff; max-width: 900px; }
.pace span { color: var(--navy-3); }
.disclaim { margin-top: 18px; font-size: 13.5px; color: var(--space-mut); }

/* symbiosis */
.sym { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch; }
.side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); }
.join { display: flex; align-items: center; justify-content: center; font: 800 38px/1 var(--display); color: var(--navy); }

/* reports */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.rcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
         box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.rcard:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20, 30, 50, .06), 0 14px 36px rgba(20, 30, 50, .11); color: var(--ink); }
.rcard .k { font: 600 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 10px; }
.rcard h3 { font-size: 19px; margin-bottom: 8px; }
.rcard p { color: var(--ink-2); font-size: 15px; margin: 0 0 14px; flex: 1; }
.rcard .d { font-size: 13px; color: var(--mut); }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--mut); text-align: center; }

/* join / support */
.joinus { text-align: center; }
.joinus .cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.soon { font-size: 12px; font-weight: 600; background: var(--paper-2); color: var(--mut); border-radius: 999px; padding: 2px 8px; margin-left: 4px; }

/* article pages (vision, reports) */
.article { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.article h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
.article .meta { color: var(--mut); font-size: 14.5px; margin-bottom: 26px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.prose h2 { font-size: 26px; margin-top: 1.8em; padding-top: .4em; border-top: 1px solid var(--grid); }
.prose h3 { font-size: 20px; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose blockquote { margin: 1.2em 0; padding: 4px 20px; border-left: 4px solid var(--navy); color: var(--ink); background: var(--card); border-radius: 0 10px 10px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); font-family: var(--display); font-size: 13px; }
.prose hr { border: 0; border-top: 1px solid var(--grid); margin: 2em 0; }
.prose code { background: var(--paper-2); padding: 1px 5px; border-radius: 5px; font-size: .92em; }
.back { font: 600 14px/1 var(--display); text-decoration: none; }
.note { font-size: 13.5px; color: var(--mut); border-top: 1px solid var(--grid); margin-top: 40px; padding-top: 16px; }

/* footer */
footer { background: var(--space); color: var(--space-mut); padding: 44px 0 36px; font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
footer .wordmark { color: #fff; font-size: 16px; }
footer a { color: var(--space-ink); }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; align-items: flex-start; }

@media (max-width: 900px) {
  .hero .wrap, .two, .sym { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .words, .pillars { grid-template-columns: 1fr; }
  .pillar.wide { grid-column: auto; grid-template-columns: 1fr; }
  .join { font-size: 30px; }
  .nav a.l.opt { display: none; }
  footer .wrap { grid-template-columns: 1fr; }
  footer .links { justify-content: flex-start; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 14px; }
  .wordmark { font-size: 13px; }
}

/* evolution: the emblem read left to right */
.evo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.evo::before { content: ""; position: absolute; left: 4%; right: 4%; top: 22px; height: 3px; border-radius: 3px;
               background: linear-gradient(90deg, var(--chrome-2), var(--navy-2) 70%, var(--navy)); }
.stage { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 50px 20px 20px; box-shadow: var(--shadow); }
.stage .n { position: absolute; top: 8px; left: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 3px solid var(--navy-2);
            font: 800 12px/24px var(--display); color: var(--navy); text-align: center; }
.stage h3 { font-size: 18px; }
.stage p { margin: 0; color: var(--ink-2); font-size: 15px; }
.stage.up { background: linear-gradient(170deg, #13254a, var(--space)); border-color: #22417f; }
.stage.up h3 { color: #fff; }
.stage.up p { color: var(--space-mut); }
.stage.up .n { background: var(--navy); color: #fff; border-color: #9cc0ff; }

/* the orbital hive mind */
.hive { width: 100%; height: auto; display: block; margin: -30px 0 20px;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.hive .links path { stroke-dasharray: 3 7; opacity: .55; animation: beam 6s linear infinite; }
.hive .sats circle.glow { fill: #9cc0ff; opacity: .18; }
.hive .sats circle.core { fill: #eaf1ff; }
@keyframes beam { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) { .hive .links path { animation: none; } }
@media (max-width: 900px) { .evo { grid-template-columns: 1fr 1fr; } .evo::before { display: none; } }
@media (max-width: 520px) { .evo { grid-template-columns: 1fr; } }
.btn, .wordmark { white-space: nowrap; }
@media (max-width: 520px) {
  .nav .wrap { gap: 10px; }
  .wordmark { font-size: 11.5px; letter-spacing: .03em; }
  .brand img { width: 26px; height: 26px; }
  .nav a.l { font-size: 13.5px; }
  .nav .btn { padding: 7px 11px; font-size: 12.5px; }
}

/* print: what "Download PDF" produces (site_build._print_pdfs) */
.print-only { display: none; }
@media print {
  body { background: #fff; font-size: 11.5pt; }
  .nav, footer, .back, .article .meta .btn { display: none !important; }
  .print-only { display: flex; }
  .printhead { justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--navy); padding-bottom: 8px; margin-bottom: 18px;
               font-size: 10pt; color: var(--mut); }
  .printhead .wordmark { color: var(--ink); font-size: 13pt; }
  .article { padding: 0; max-width: none; }
  .prose h2 { break-after: avoid; } .prose table, .prose blockquote { break-inside: avoid; }
  a { color: var(--ink); text-decoration: none; }
}

/* what AI will need, five years at a time */
.road-h { color: #fff; font-size: clamp(22px, 3vw, 28px); margin: 44px 0 18px; }
.road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px;
                background: linear-gradient(90deg, rgba(93, 134, 214, .15), var(--navy-3), #cfe0ff); }
.leg { position: relative; padding-top: 40px; }
.leg::before { content: ""; position: absolute; top: 10px; left: 0; width: 16px; height: 16px; border-radius: 50%;
               background: var(--space); border: 3px solid var(--navy-3); box-shadow: 0 0 12px rgba(156, 192, 255, .6); }
.leg:last-child::before { background: #cfe0ff; }
.leg .yr { font: 800 13px/1 var(--display); letter-spacing: .1em; color: var(--navy-3); margin-bottom: 8px; }
.leg h4 { font: 700 17px/1.25 var(--display); color: #fff; margin: 0 0 8px; }
.leg p { color: var(--space-mut); font-size: 14.5px; margin: 0 0 10px; }
.leg .need { font-size: 12.5px; color: #cfe0ff; border-left: 2px solid var(--navy-3); padding-left: 9px; }
.road-note { color: var(--space-mut); font-size: 14px; margin: 18px 0 0; }
@media (max-width: 900px) { .road { grid-template-columns: 1fr 1fr; } .road::before { display: none; } }
@media (max-width: 520px) { .road { grid-template-columns: 1fr; } }

/* archive, topics, search */
.sbox { display: flex; gap: 8px; flex-wrap: wrap; margin: -18px 0 18px; }
.sbox input { flex: 1; min-width: 220px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--card); color: var(--ink); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--ink-2); border-radius: 999px; padding: 6px 13px; font: 600 13px/1 var(--display); cursor: pointer; }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.month { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin: 34px 0 14px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: -8px 0 22px; }
.tags a { font: 600 12px/1 var(--display); text-decoration: none; background: var(--paper-2); color: var(--navy); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
.related { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--grid); }
.related .cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pf { --pagefind-ui-primary: var(--navy); --pagefind-ui-text: var(--ink); --pagefind-ui-background: var(--card); --pagefind-ui-border: var(--line);
      --pagefind-ui-tag: var(--paper-2); --pagefind-ui-border-radius: 12px; --pagefind-ui-font: var(--body); max-width: 900px; }

/* today's briefing (home) */
.today { padding: 0 0 64px; margin-top: -28px; position: relative; }
.today-card { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
              box-shadow: 0 2px 6px rgba(20, 30, 50, .05), 0 22px 60px rgba(20, 30, 50, .10); overflow: hidden; }
.today-main { padding: 34px 36px; border-top: 5px solid var(--navy); }
.today-main h2 { font-size: clamp(26px, 3.4vw, 36px); }
.today-main h2 a { color: var(--ink); text-decoration: none; }
.today-main .lede { font-size: 17.5px; margin-bottom: 22px; }
.today-main .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.today-prev { background: var(--paper-2); border-left: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; }
.today-prev .k { font: 600 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 8px; }
.today-prev a { display: flex; flex-direction: column; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.today-prev a:hover { background: var(--card); }
.today-prev .d { font: 700 13.5px/1.3 var(--display); color: var(--navy); }
.today-prev .t { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.today-prev .more { font: 600 13.5px/1 var(--display); color: var(--navy-2); margin-top: 6px; }

/* briefings archive */
.blist { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.bitem { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
         padding: 16px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.bitem:hover { border-color: var(--navy-3); }
.bdate { flex: 0 0 64px; text-align: center; border-right: 1px solid var(--grid); padding-right: 14px; }
.bdate b { display: block; font: 800 28px/1 var(--display); color: var(--navy); }
.bdate span { font: 600 12px/1.6 var(--display); color: var(--mut); text-transform: uppercase; letter-spacing: .06em; }
.btext { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bt { font: 700 16px/1.3 var(--display); }
.bs { font-size: 14.5px; color: var(--ink-2); }
.bresults { margin: 0 0 20px; }
.bresults mark { background: #dfe8ff; color: inherit; padding: 0 2px; border-radius: 3px; }
.cals { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.cal-h { font: 700 15px/1 var(--display); margin-bottom: 10px; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 13px; }
.cal-g > span:nth-child(-n+7) { font: 600 11px/2 var(--display); color: var(--mut); }
.cal-g a { display: block; padding: 5px 0; border-radius: 7px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; }
.cal-g a:hover { background: var(--navy-2); }
.cal-g .off { padding: 5px 0; color: #b9bfc9; }
.daynav { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 24px; font: 600 14px/1 var(--display); }
.daynav a { text-decoration: none; }
.prose + .daynav { margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--grid); }
@media (max-width: 900px) { .today-card { grid-template-columns: 1fr; } .today-prev { border-left: 0; border-top: 1px solid var(--line); } .today { margin-top: -12px; } }

@media (max-width: 520px) { .sm-hide { display: none; } .nav .wrap { gap: 8px; } .nav a.l { font-size: 13px; } }
@media (max-width: 360px) { .brand img { display: none; } .wordmark { font-size: 10.5px; letter-spacing: .02em; } .nav .btn { padding: 6px 9px; } }
@media (max-width: 360px) { .nav a.l[href$="search.html"] { display: none; } }

/* section tabs: under the header on every page; Daily Briefings is the lead tab */
.tabs { background: var(--card); border-bottom: 1px solid var(--grid); position: sticky; top: 62px; z-index: 9; }
.tabs .wrap { display: flex; gap: 4px; align-items: center; height: 48px; overflow-x: auto; scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; font: 600 14px/1 var(--display); color: var(--ink-2); text-decoration: none;
       border: 1px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--navy); background: var(--paper-2); }
.tab.on { color: var(--navy); background: var(--paper-2); border-color: var(--line); }
.tab-lead { background: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(34, 65, 127, .25); margin-right: 8px; }
.tab-lead:hover { background: var(--navy-2); color: #fff; }
.tab-lead.on { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(93, 134, 214, .35); }

/* the branded banner at the top of every tab */
.banner { position: relative; overflow: hidden; padding: 48px 0 40px; border-bottom: 1px solid var(--grid);
          background-image: radial-gradient(ellipse at 30% 20%, rgba(250, 250, 250, 0) 25%, var(--paper) 80%),
                            linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
          background-size: 100% 100%, 44px 44px, 44px 44px; }
.banner-curve { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; opacity: .45; pointer-events: none; }
.banner .wrap { position: relative; }
.banner h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 12px; }
.banner .lede { max-width: 820px; margin: 0; }
.tabbody { padding: 40px 0 88px; }
.sec-h { font-size: 20px; margin: 44px 0 14px; }
.sec-h .mut { font: 500 14px var(--body); margin-left: 6px; }
.tabbody .today-card { margin-top: 0; }
@media (max-width: 520px) { .tabs { top: 62px; } .tabs .wrap { height: 44px; } .tab { padding: 7px 11px; font-size: 13px; } .banner { padding: 32px 0 30px; } }

/* reader support (Patreon) - warm accent, distinct from the navy primary actions */
.btn.support { background: #fff4ec; color: #b4451f; border-color: #f3c7ad; }
.btn.support:hover { background: #ffe6d6; color: #8f3415; }
.nav .btn.support { padding: 8px 13px; font-size: 13.5px; }
.support-card { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 40px;
                padding: 18px 20px; background: #fffaf6; border: 1px solid #f3d9c9; border-radius: var(--radius); font-size: 15px; color: var(--ink-2); }
.support-card > div { flex: 1 1 320px; }
@media (max-width: 520px) { .nav .btn.support { padding: 7px 10px; } }
