:root {
  --ink: #1a2332;
  --muted: #5c6b7a;
  --line: #d5dde6;
  --paper: #f3f6f9;
  --card: #ffffff;
  --accent: #1f6b5c;
  --accent-soft: #e6f2ef;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
  background:
    radial-gradient(1200px 600px at 10% -10%, #dff0ea 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #e7eef7 0%, transparent 50%),
    var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

.page {
  width: min(740px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
}

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}

.masthead__brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.masthead__brand a {
  color: inherit;
  text-decoration: none;
}

.masthead__brand a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.masthead__tag {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.story h1 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.deck {
  margin: 0 0 1.15rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: #334155;
  font-weight: 500;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}

.byline .dot { opacity: 0.55; }

.hero-fig,
.inline-fig {
  margin: 1.35rem 0 1.75rem;
}

.hero-fig img,
.inline-fig img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  max-height: none;
  background: #e8eef3;
}

.hero-fig figcaption,
.inline-fig figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  font-weight: 500;
}

.story p {
  margin: 0 0 1.15rem;
}

.story h2 {
  margin: 2rem 0 0.85rem;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.bullets {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.bullets li {
  margin: 0 0 0.55rem;
}

.pull {
  margin: 1.75rem 0;
  padding: 0.25rem 0 0.25rem 1.1rem;
  border-left: 3px solid var(--accent);
}

.pull p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 650;
  color: #243447;
}

.product-note {
  margin: 2rem 0 1.5rem;
  padding: 1.1rem 1.15rem;
  background: var(--accent-soft);
  border: 1px solid #cfe3dc;
  border-radius: 10px;
}

.product-note--text {
  display: block;
}

.product-note__label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-note__name {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
}

.product-note__text {
  margin: 0;
  font-size: 0.95rem;
  color: #3d5560;
  line-height: 1.5;
}

.feed-sep {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.75rem 0 2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-sep::before,
.feed-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.feed-sentinel {
  height: 1px;
}

.feed-status {
  margin: 0.5rem 0 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.feed .story + .feed-sep + .story {
  /* spacing handled by sep */
}

.story-foot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.story-foot p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .hero-fig img,
  .inline-fig img { aspect-ratio: 4 / 3; }
  .related__card {
    grid-template-columns: 88px 1fr;
    gap: 0.7rem;
  }
  .related__card img {
    width: 88px;
    height: 72px;
  }
}
