/* bloodflowing.com — The Circulation Research Digest */
:root {
  --red: #d7261e;
  --red-dark: #b81d16;
  --red-text: #c4161c;
  --ink: #111318;
  --text: #23262d;
  --muted: #555b66;
  --navy: #13213a;
  --navy-2: #1b2b48;
  --paper: #faf8f5;
  --card: #f4f1ed;
  --line: #d9d5cf;
  --white: #fff;
  --maxw: 1440px;
  --gutter: 24px;
  --display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.02em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 6px 0 8px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 96px; height: 40px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.03em; display: block; }
.brand-tag { display: block; font-family: var(--body); font-weight: 600; font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase; margin-top: 6px; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-family: var(--display); font-weight: 600; font-size: 17px; text-decoration: none; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red-text); }
.nav-tools { display: flex; align-items: center; gap: 18px; }
.icon-btn { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink); display: inline-flex; }
.icon-btn svg { width: 24px; height: 24px; }
.nav-sep { width: 1px; height: 36px; background: var(--line); }
.btn-digest {
  background: var(--navy); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  padding: 9px 13px; border-radius: 4px; white-space: nowrap;
}
.btn-digest:hover { background: var(--navy-2); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.13fr; gap: 24px; padding: 16px 0 20px; border-bottom: 1px solid var(--line); align-items: start; }
.hero-copy { padding: 6px 16px 0; }
.kicker { font-family: var(--display); font-weight: 700; font-size: 17.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red-text); margin: 0 0 14px; }
.hero h1 { font-size: clamp(42px, 4.6vw, 66px); line-height: 0.94; font-weight: 800; letter-spacing: -0.035em; }
.hero p.lede { font-size: 22px; line-height: 1.26; margin: 18px 0 18px; color: var(--text); max-width: 640px; }
.hero-ctas { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.btn-red {
  display: inline-block; background: var(--red); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.01em;
  padding: 10px 44px; border-radius: 4px; min-width: 336px; text-align: center;
}
.btn-red:hover { background: var(--red-dark); }
.link-underline { font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.tagline { font-style: italic; font-size: 19px; margin: 12px 0 0; color: var(--text); }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 728 / 360; object-fit: cover; }
.hero-media figcaption { position: absolute; right: 16px; bottom: 18px; color: #fff; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 14px; }
.section-head h2 { font-size: clamp(32px, 3vw, 44px); font-weight: 700; }
.arrow-link { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--red-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; white-space: nowrap; }
.arrow-link::after { content: " →"; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: 1.55fr 1fr 1.1fr; gap: 16px; padding-bottom: 24px; }
.card { background: var(--card); display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card img { width: 100%; aspect-ratio: 576 / 154; object-fit: cover; }
.cards .card:nth-child(2) img { aspect-ratio: 382 / 154; }
.cards .card:nth-child(3) img { aspect-ratio: 412 / 154; }
.card-body { padding: 14px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card .eyebrow { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-text); margin: 0 0 6px; }
.card h3 { font-size: clamp(24px, 2.05vw, 30px); line-height: 1.02; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.028em; }
.card p { margin: 0 0 14px; font-size: 19px; line-height: 1.25; }
.card .arrow-link { font-size: 19px; align-self: flex-start; }

/* ---------- Strip ---------- */
.strip { background: var(--navy); color: #fff; }
.strip .wrap { display: grid; grid-template-columns: 3.4fr repeat(5, 1fr); align-items: center; padding-top: 24px; padding-bottom: 24px; }
.strip h2 { color: #fff; font-size: clamp(30px, 2.8vw, 40px); font-weight: 700; }
.strip p { margin: 6px 0 0; font-size: 17px; color: #e7e9ef; }
.strip-lead { padding: 0 24px 0 18px; border-right: 1px solid rgba(255,255,255,.55); }
.strip-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 4px 8px; border-right: 1px solid rgba(255,255,255,.55); font-family: var(--display); font-weight: 500; font-size: 18px; }
.strip-item:last-child { border-right: 0; }
.strip-item svg { width: 42px; height: 42px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); font-size: 16px; }
.site-footer .bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0 18px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links li + li::before { content: "|"; margin: 0 18px; color: var(--ink); }
.footer-links a { text-decoration: none; color: var(--ink); }
.footer-links a:hover { color: var(--red-text); text-decoration: underline; }
.footer-meta { border-top: 1px solid var(--line); padding: 14px 0 26px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-meta a { color: var(--muted); }

/* ---------- Interior pages ---------- */
.page-hero { padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 4.4vw, 62px); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.page-hero .lede { font-size: 22px; line-height: 1.35; max-width: 820px; margin: 16px 0 0; }
.page-hero.with-media { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.page-hero.with-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 28px 0 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 28px 0 40px; }
.tile { background: var(--card); padding: 22px 24px 24px; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tile img { margin: -22px -24px 18px; width: calc(100% + 48px); max-width: none; aspect-ratio: 16 / 7; object-fit: cover; }
.tile .eyebrow { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--red-text); margin: 0 0 6px; }
.tile h3 { font-size: 26px; line-height: 1.08; font-weight: 700; margin-bottom: 10px; }
.tile p { margin: 0 0 14px; font-size: 17.5px; line-height: 1.4; }
.tile .meta { font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 6px; }
.tile .arrow-link { margin-top: auto; font-size: 17px; }

.status { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #fff; border: 1px solid var(--line); padding: 3px 8px; border-radius: 3px; margin-bottom: 10px; color: var(--muted); align-self: flex-start; }

.checklist { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: var(--navy); color: #fff; margin: 28px 0 40px; }
.checklist div { padding: 24px 20px; border-right: 1px solid rgba(255,255,255,.35); }
.checklist div:last-child { border-right: 0; }
.checklist h3 { color: #fff; font-size: 21px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.checklist h3 svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.checklist p { margin: 0; font-size: 16px; color: #e3e6ee; line-height: 1.45; }

/* Prose (standards + legal) */
.prose-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 36px 0 56px; }
.toc { position: sticky; top: 20px; align-self: start; font-size: 15.5px; }
.toc h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: var(--body); font-weight: 700; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 6px 0; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--red-text); text-decoration: underline; }
.prose { max-width: 780px; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; scroll-margin-top: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; }
.prose ul, .prose ol { padding-left: 24px; }
.prose a { color: var(--red-text); }
.prose .callout { background: var(--card); border-left: 4px solid var(--red); padding: 16px 20px; margin: 20px 0; }
.prose .callout p { margin: 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 16px 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--card); font-family: var(--display); }
.updated { font-size: 15px; color: var(--muted); margin-top: 10px; }
.caps-note { text-transform: uppercase; font-size: 15.5px !important; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 620px; }
.form label { font-family: var(--display); font-weight: 600; font-size: 16px; display: block; margin-bottom: 6px; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid #bdb7ae; border-radius: 4px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.form .consent input { width: auto; margin-top: 5px; }
.form button { justify-self: start; border: 0; cursor: pointer; font-size: 20px; min-width: 0; padding: 12px 34px; }

.digest-band { background: var(--navy); color: #fff; padding: 40px 0; }
.digest-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.digest-band h2 { color: #fff; font-size: 38px; }
.digest-band p { color: #e3e6ee; }
.digest-band .form label { color: #fff; }
.digest-band .inline { display: flex; gap: 10px; }
.digest-band .inline input { flex: 1; }

.topic-filter { display: flex; gap: 10px; flex-wrap: wrap; padding: 24px 0 0; }
.chip { font-family: var(--display); font-weight: 600; font-size: 15px; border: 1px solid var(--ink); border-radius: 999px; padding: 6px 14px; background: transparent; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .nav a { font-size: 16px; }
  .brand-name { font-size: 28px; }
  .brand svg { width: 74px; }
  .strip .wrap { grid-template-columns: repeat(5, 1fr); row-gap: 22px; }
  .strip-lead { grid-column: 1 / -1; border-right: 0; padding: 0; }
  .checklist { grid-template-columns: repeat(2, 1fr); }
  .checklist div { border-bottom: 1px solid rgba(255,255,255,.35); }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gutter) 16px; border-bottom: 1px solid var(--line); z-index: 20; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 19px; }
  .site-header .bar { position: relative; }
  .hero, .page-hero.with-media, .digest-band .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding: 6px 0 0; }
  .cards, .grid-3 { grid-template-columns: 1fr; }
  .cards .card img { aspect-ratio: 16 / 6 !important; }
  .grid-2 { grid-template-columns: 1fr; }
  .prose-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .brand svg { width: 52px; height: 28px; }
  .brand-name { font-size: 23px; }
  .brand-tag { font-size: 8px; letter-spacing: 0.1em; white-space: nowrap; }
  .nav-sep, .btn-digest { display: none; }
  .btn-red { min-width: 0; width: 100%; font-size: 22px; }
  .hero p.lede { font-size: 19px; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .strip-item { border-right: 0; }
  .checklist { grid-template-columns: 1fr; }
  .site-footer .bottom { flex-direction: column; align-items: flex-start; }
  .footer-links li + li::before { margin: 0 10px; }
  .form .row { grid-template-columns: 1fr; }
  .digest-band .inline { flex-direction: column; }
}

/* ---------- One-thing articles ---------- */
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 28px; }
.acard { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--red); padding: 20px 22px 22px; text-decoration: none; color: var(--text); transition: transform .15s ease, box-shadow .15s ease; }
.acard:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,19,24,.08); }
.acard-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.acard-cat { color: var(--red-text); }
.acard-time { color: var(--muted); font-weight: 600; }
.acard-stat { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--navy); letter-spacing: -.03em; }
.acard-title { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.12; color: var(--ink); letter-spacing: -.015em; }
.acard-teaser { font-size: 17px; line-height: 1.4; color: var(--muted); }
.acard-go { margin-top: auto; padding-top: 6px; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--red-text); text-decoration: underline; text-underline-offset: 4px; }
.acard-go::after { content: " →"; }
.home-one { padding-top: 10px; border-top: 1px solid var(--line); }

.a-wrap { max-width: 860px; padding-top: 28px; padding-bottom: 20px; }
.a-meta { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.a-meta a { color: var(--red-text); text-decoration: none; }
.a-title { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; margin-bottom: 26px; }
.a-answer { background: var(--navy); color: #fff; border-radius: 6px; padding: 26px 30px 28px; }
.a-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #ff8f86; }
.a-big { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -.02em; }
.a-why { margin: 14px 0 0; font-size: 19px; line-height: 1.45; color: #d9deea; }
.a-cols { display: grid; grid-template-columns: 1fr 230px; gap: 18px; margin: 18px 0; }
.a-do { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px 26px; }
.a-do h2, .a-study h2 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.a-do ol { margin: 0; padding-left: 22px; }
.a-do li { margin: 8px 0; font-size: 18px; }
.a-stat { background: var(--card); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.a-num { font-family: var(--display); font-weight: 800; font-size: 60px; line-height: 1; color: var(--red-text); letter-spacing: -.03em; }
.a-numlabel { margin-top: 8px; font-size: 16px; line-height: 1.35; color: var(--text); }
.a-study { border-top: 1px solid var(--line); padding-top: 22px; }
.a-study p { margin: 0 0 14px; }
.a-study dl { margin: 0 0 14px; display: grid; gap: 10px; }
.a-study dl div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.a-study dt { font-weight: 700; color: var(--ink); }
.a-study dd { margin: 0; }
.a-check { background: #fff4f3; border-left: 4px solid var(--red); padding: 12px 16px; }
.a-source a { color: var(--red-text); font-weight: 600; }
.a-disclaim { font-size: 15px; color: var(--muted); }
.a-more { padding-top: 6px; }

@media (max-width: 900px) {
  .agrid { grid-template-columns: 1fr; }
  .a-cols { grid-template-columns: 1fr; }
  .a-study dl div { grid-template-columns: 1fr; gap: 2px; }
  .a-answer { padding: 22px; }
}

/* ---------- Guides ---------- */
.g-lede { font-size: 21px; line-height: 1.45; margin: -8px 0 22px; color: var(--text); }
.g-short { margin: 0; padding-left: 22px; }
.g-short li { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.35; margin: 8px 0; }
.g-prose { max-width: none; padding: 8px 0 10px; }
.g-prose h2 { margin-top: 34px; }
.g-sources li { font-size: 16px; }
