@import url('/font-system.css?v=20261117f');
:root {
  --ink: #151713;
  --ink-soft: #3f433b;
  --paper: #ffffff;
  --paper-deep: #f5f5f1;
  --white: #fffef9;
  --lime: #d8ff45;
  --lime-deep: #bfe51c;
  --purple: #7a65b3;
  --line: rgba(21, 23, 19, 0.16);
  --line-strong: rgba(21, 23, 19, 0.3);
  --shadow: 0 28px 70px rgba(30, 27, 20, 0.12);
  --radius-large: 32px;
  --radius-medium: 20px;
  --page: min(1280px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lime);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(244, 242, 233, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--page);
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  width: 142px;
  height: auto;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.82rem;
  font-weight: 600;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta:hover,
.button:hover {
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.blog-hero {
  width: var(--page);
  min-height: 580px;
  margin: 0 auto;
  padding: 86px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 64px;
  border-bottom: 1px solid var(--line-strong);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.3rem, 7.2vw, 7.2rem);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.highlight {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.05em;
  bottom: 0.02em;
  left: -0.03em;
  height: 0.24em;
  border-radius: 999px;
  background: var(--lime);
  transform: rotate(-1.5deg);
}

.hero-note {
  padding: 24px 0 4px 28px;
  border-left: 1px solid var(--line-strong);
}

.hero-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.hero-note strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.3;
}

.article-listing {
  width: var(--page);
  margin: 0 auto;
  padding: 84px 0 110px;
}

.listing-heading {
  margin-bottom: 38px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.listing-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.listing-heading p {
  max-width: 390px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px 28px;
}

.article-card {
  min-width: 0;
}

.article-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius-large);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.card-image-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--paper-deep);
}

.article-card:first-child .card-image-link {
  border-radius: 0;
}

.card-image-link img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.article-card:first-child .card-image-link img {
  height: 100%;
  min-height: 500px;
  aspect-ratio: auto;
}

.article-card:hover .card-image-link img {
  transform: scale(1.025);
}

.card-copy {
  padding-top: 22px;
}

.article-card:first-child .card-copy {
  padding: clamp(34px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-meta {
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card:first-child .card-meta {
  color: rgba(255, 254, 249, 0.64);
}

.card-meta span + span::before {
  content: "·";
  margin-right: 9px;
}

.card-copy h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.card-copy h3 a {
  text-decoration: none;
}

.card-copy h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 0.12em;
}

.card-excerpt {
  margin: 18px 0 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.article-card:first-child .card-excerpt {
  color: rgba(255, 254, 249, 0.7);
}

.text-link {
  align-self: flex-start;
  display: inline-flex;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.article-card:first-child .text-link {
  color: var(--lime);
}

.blog-purpose {
  background: var(--lime);
}

.purpose-inner {
  width: var(--page);
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  align-items: end;
  gap: 70px;
}

.purpose-inner h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.purpose-copy p {
  margin: 0 0 24px;
  font-size: 0.93rem;
}

.purpose-copy .button {
  background: var(--ink);
  color: var(--white);
}

.purpose-copy .button:hover {
  background: var(--white);
  color: var(--ink);
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  width: var(--page);
  min-height: 210px;
  margin: 0 auto;
  padding: 54px 0 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.footer-brand img {
  width: 152px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--white);
}

.footer-brand p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.76rem;
  font-weight: 600;
}

/* Article pages */
.article-page {
  background: var(--white);
}

.article-page .site-header {
  background: rgba(255, 254, 249, 0.9);
}

.article-main {
  padding-bottom: 100px;
}

.article-shell {
  width: var(--page);
  margin: 0 auto;
}

.breadcrumbs {
  padding: 32px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.article-hero {
  max-width: 1060px;
  margin: 0 auto;
  padding: 72px 0 48px;
  text-align: center;
}

.article-kicker {
  margin: 0 0 22px;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 1050px;
  margin: 0 auto;
  font-size: clamp(2.8rem, 6.5vw, 6.35rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.97;
  text-wrap: balance;
}

.article-deck {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.article-byline {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
}

.author-link {
  color: var(--ink);
  font-weight: 700;
}

.article-hero-media {
  margin: 12px 0 0;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.article-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-layout {
  max-width: 1080px;
  margin: 0 auto;
  padding: 82px 0 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 720px);
  justify-content: center;
  gap: 60px;
}

.article-aside {
  position: sticky;
  top: 118px;
  align-self: start;
  padding-top: 5px;
}

.article-aside p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-aside a {
  display: block;
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.article-aside a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.article-content {
  min-width: 0;
  color: #292c26;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.86;
}

.article-content p {
  margin: 0 0 1.55em;
}

.article-content .article-lead {
  margin-bottom: 2em;
  color: var(--ink);
  font-size: clamp(1.24rem, 2vw, 1.52rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.6;
}

.article-content h2 {
  margin: 2.6em 0 0.75em;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.14;
  scroll-margin-top: 120px;
}

.article-callout {
  margin: 54px 0;
  padding: 34px 36px 30px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-medium);
  background: var(--lime);
  box-shadow: 7px 7px 0 var(--ink);
}

.article-callout .callout-label {
  margin-bottom: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.article-callout p:last-child {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.55;
}

.article-footer-nav {
  max-width: 1060px;
  margin: 92px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.article-footer-nav > p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.next-card {
  min-height: 180px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-medium);
  background: var(--paper);
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.next-card:hover {
  background: var(--lime);
  transform: translateY(-3px);
}

.next-card span {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-card strong {
  max-width: 420px;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.back-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 960px) {
  .blog-hero {
    min-height: auto;
    padding-top: 70px;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-note {
    max-width: 500px;
  }

  .article-card:first-child {
    grid-template-columns: 1fr;
  }

  .article-card:first-child .card-image-link img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .purpose-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .purpose-copy {
    max-width: 520px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 720px);
  }

  .article-aside {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --page: min(100% - 28px, 1280px);
    --radius-large: 22px;
  }

  .header-inner {
    min-height: 70px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .site-logo img {
    width: 112px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 0.9rem;
    font-size: 0.72rem;
  }

  .blog-hero {
    padding: 56px 0 52px;
    gap: 38px;
  }

  .blog-hero h1 {
    font-size: clamp(3rem, 14.5vw, 5rem);
  }

  .hero-note {
    padding: 0;
    border-left: 0;
  }

  .article-listing {
    padding: 58px 0 74px;
  }

  .listing-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .article-grid,
  .next-grid {
    grid-template-columns: 1fr;
  }

  .article-card:first-child {
    grid-column: auto;
  }

  .article-card:first-child .card-copy {
    padding: 30px 24px 34px;
  }

  .card-copy h3 {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }

  .purpose-inner {
    padding: 56px 0;
  }

  .footer-inner {
    min-height: 250px;
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .article-main {
    padding-bottom: 70px;
  }

  .breadcrumbs {
    padding-top: 22px;
  }

  .article-hero {
    padding: 50px 0 34px;
    text-align: left;
  }

  .article-hero h1,
  .article-deck {
    margin-left: 0;
    text-wrap: pretty;
  }

  .article-byline {
    justify-content: flex-start;
  }

  .article-hero-media {
    margin-top: 4px;
  }

  .article-layout {
    padding-top: 52px;
  }

  .article-content {
    line-height: 1.78;
  }

  .article-content h2 {
    margin-top: 2.2em;
  }

  .article-callout {
    margin: 42px 0;
    padding: 26px 22px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .article-footer-nav {
    margin-top: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* SPAR Blog homepage */
.blog-home {
  background: var(--paper);
}

.blog-home .site-header {
  border-bottom-color: rgba(21, 23, 19, 0.1);
  background: rgba(244, 242, 233, 0.9);
}

.blog-home .header-inner {
  min-height: 78px;
  grid-template-columns: 1fr auto;
}

.sparblog-wordmark {
  --wordmark-ink: #181a17;
  --wordmark-dot: #dfff61;
  display: inline-block;
  width: max-content;
  color: var(--wordmark-ink);
  font-family: var(--font-sans);
  font-weight: 750;
  font-kerning: normal;
  letter-spacing: -0.055em;
  line-height: 0.95;
  white-space: nowrap;
  text-decoration: none;
}

.blog-home :is(h1, h2, h3),
.article-page :is(h1, h2, h3) {
  font-family: var(--font-sans);
}

.sparblog-wordmark__dot {
  color: var(--wordmark-dot);
}

.sparblog-wordmark--header {
  font-size: clamp(1.18rem, 1.1rem + 0.35vw, 1.4rem);
}

.blog-home .blog-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: calc(100svh - 78px);
  min-height: 680px;
  max-height: 960px;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: #10120e;
}

.blog-hero__image,
.blog-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.blog-hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  transform: scale(1.002);
}

.blog-hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 6, 0.76) 0%, rgba(7, 8, 6, 0.27) 53%, rgba(7, 8, 6, 0.1) 100%),
    linear-gradient(0deg, rgba(7, 8, 6, 0.92) 0%, rgba(7, 8, 6, 0.08) 68%);
}

.blog-hero__content {
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  padding: 76px 0 68px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-home .blog-hero .eyebrow {
  margin-bottom: 22px;
  color: var(--lime);
}

.blog-home .blog-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--white);
  font-size: clamp(4.6rem, 11.5vw, 11rem);
  font-weight: 650;
  letter-spacing: -0.082em;
  line-height: 0.84;
  text-wrap: balance;
}

.blog-hero__intro {
  max-width: 780px;
  margin-top: clamp(36px, 6vh, 66px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 38px;
}

.blog-hero__intro p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 254, 249, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.hero-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.08rem;
  border: 1px solid var(--lime);
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-link:hover {
  color: var(--white);
  background: transparent;
  transform: translateY(-2px);
}

.blog-home .article-listing {
  width: var(--page);
  padding: clamp(86px, 10vw, 132px) 0 clamp(100px, 13vw, 170px);
}

.blog-home .listing-heading {
  margin-bottom: clamp(46px, 7vw, 82px);
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
}

.listing-kicker {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-home .listing-heading h2 {
  font-size: clamp(2.8rem, 6.4vw, 6.5rem);
  letter-spacing: -0.07em;
}

.blog-home .article-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 42px 28px;
}

.blog-empty-state {
  max-width: 760px;
  margin: 22px auto 0;
  padding: clamp(34px, 7vw, 72px) clamp(22px, 5vw, 54px);
  border: 1px solid #d8ddd2;
  background: linear-gradient(145deg, #fff 0%, #f5f8ef 100%);
  text-align: center;
}

.blog-empty-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd4bf;
  background: #e8f4cf;
  color: #243019;
}

.blog-empty-icon svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.blog-empty-state h3 { margin: 8px 0 10px; font-size: clamp(1.65rem, 4vw, 2.45rem); letter-spacing: -.045em; }
.blog-empty-state > p:last-child { max-width: 520px; margin: 0 auto; color: #62685f; line-height: 1.7; }
.article-aside span { display: block; padding: 10px 0; color: #555d52; border-top: 1px solid #e2e5df; font-size: .82rem; }

.blog-home .article-card:first-child,
.blog-home .article-card--lead {
  grid-column: 1 / span 8;
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.blog-home .article-card--compact {
  grid-column: 9 / -1;
  margin-top: 132px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 7px 7px 0 rgba(21, 23, 19, 0.9);
}

.blog-home .article-card--horizontal {
  grid-column: 3 / -1;
  margin-top: 32px;
  padding: 38px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.blog-home .card-image-link,
.blog-home .article-card:first-child .card-image-link {
  overflow: hidden;
  border-radius: 26px;
  background: var(--paper-deep);
}

.blog-home .card-image-link img,
.blog-home .article-card:first-child .card-image-link img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-home .article-card--compact .card-image-link {
  border-radius: 17px;
}

.blog-home .card-copy,
.blog-home .article-card:first-child .card-copy {
  padding: 24px 4px 0;
  display: block;
}

.blog-home .article-card--compact .card-copy {
  padding: 22px 12px 18px;
}

.blog-home .article-card--horizontal .card-copy {
  padding: 0;
}

.blog-home .card-meta,
.blog-home .article-card:first-child .card-meta {
  color: var(--ink-soft);
}

.blog-home .article-card--lead .card-copy h3 {
  max-width: 880px;
  font-size: clamp(2rem, 4.2vw, 4.35rem);
  line-height: 0.99;
}

.blog-home .article-card--compact .card-copy h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.blog-home .article-card--horizontal .card-copy h3 {
  font-size: clamp(1.8rem, 3.5vw, 3.6rem);
  line-height: 1.02;
}

.blog-home .card-excerpt,
.blog-home .article-card:first-child .card-excerpt {
  max-width: 690px;
  color: var(--ink-soft);
}

.blog-home .text-link,
.blog-home .article-card:first-child .text-link {
  padding: 0.68rem 0.92rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.blog-home .text-link:hover {
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-2px);
}

.blog-home .site-footer {
  color: var(--white);
  background: #10120e;
}

.blog-home .footer-inner {
  min-height: 0;
  padding: clamp(70px, 9vw, 112px) 0 70px;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(60px, 10vw, 150px);
}

.sparblog-wordmark--footer {
  --wordmark-ink: #fcfcf8;
  font-size: clamp(2.75rem, 4.8vw, 5rem);
}

.blog-home .footer-brand p {
  max-width: 300px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-link-group p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-link-group a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 550;
  text-decoration: none;
}

.footer-link-group a:hover {
  color: var(--lime);
  text-decoration: underline;
}

.footer-base {
  width: var(--page);
  margin: 0 auto;
  padding: 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
}

.footer-base p {
  margin: 0;
}

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

.footer-base a:hover {
  color: var(--lime);
}

.article-page .site-footer {
  background: #10120e;
}

.article-page .footer-inner {
  min-height: 0;
  padding: clamp(64px, 8vw, 92px) 0 clamp(54px, 7vw, 78px);
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(48px, 8vw, 120px);
}

.article-page .sparblog-wordmark--footer {
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
}

.article-page .footer-brand p {
  max-width: 360px;
  line-height: 1.7;
}

.article-page .footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  justify-content: stretch;
  gap: 18px 32px;
}

.article-page .footer-links a {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.article-page .footer-links a:hover {
  color: var(--lime);
}

@media (max-width: 1080px) {
  .blog-home .article-card:first-child,
  .blog-home .article-card--lead {
    grid-column: 1 / span 7;
  }

  .blog-home .article-card--compact {
    grid-column: 8 / -1;
    margin-top: 76px;
  }

  .blog-home .article-card--horizontal {
    grid-column: 2 / -1;
  }
}

@media (max-width: 760px) {
  .blog-home .header-inner {
    min-height: 70px;
  }

  .sparblog-wordmark--header {
    font-size: 1.18rem;
  }

  .blog-home .blog-hero {
    height: min(780px, calc(100svh - 70px));
    min-height: 620px;
  }

  .blog-hero__shade {
    background:
      linear-gradient(90deg, rgba(7, 8, 6, 0.66) 0%, rgba(7, 8, 6, 0.12) 100%),
      linear-gradient(0deg, rgba(7, 8, 6, 0.95) 0%, rgba(7, 8, 6, 0.08) 72%);
  }

  .blog-hero__content {
    padding: 50px 0 42px;
  }

  .blog-home .blog-hero h1 {
    font-size: clamp(4rem, 20vw, 7rem);
    line-height: 0.88;
  }

  .blog-hero__intro {
    margin-top: 32px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .hero-link {
    justify-self: start;
  }

  .blog-home .listing-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .blog-home .article-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .blog-home .article-card:first-child,
  .blog-home .article-card--lead,
  .blog-home .article-card--compact,
  .blog-home .article-card--horizontal {
    grid-column: auto;
    margin-top: 0;
  }

  .blog-home .article-card--compact {
    padding: 10px;
    box-shadow: 5px 5px 0 rgba(21, 23, 19, 0.9);
  }

  .blog-home .article-card--horizontal {
    padding: 28px 0;
    display: block;
  }

  .blog-home .article-card--horizontal .card-copy {
    padding-top: 24px;
  }

  .blog-home .footer-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 46px;
  }
}

@media (max-width: 480px) {
  .blog-home .header-cta {
    min-height: 38px;
    padding-inline: 0.8rem;
    font-size: 0.68rem;
  }

  .blog-home .blog-hero {
    min-height: 590px;
  }

  .blog-home .blog-hero h1 {
    max-width: 8ch;
  }

  .blog-home .article-listing {
    padding-top: 72px;
  }

  .blog-home .card-image-link,
  .blog-home .article-card:first-child .card-image-link {
    border-radius: 18px;
  }

  .footer-directory {
    grid-template-columns: 1fr;
  }

  .footer-base {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .article-page .footer-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .article-page .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Homepage editorial index -------------------------------------------------
   A considered mix of Pinterest's image-led rhythm and a newspaper's rules,
   hierarchy and scanning speed. All selectors stay scoped to the blog home so
   the long-form article templates retain their existing layout. */
.blog-home {
  --editorial-rule: rgba(21, 23, 19, 0.22);
  --editorial-rule-strong: rgba(21, 23, 19, 0.82);
}

.blog-home .journal-tag {
  width: max-content;
  margin: clamp(20px, 3vh, 32px) 0 0;
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(216, 255, 69, 0.62);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(7, 8, 6, 0.28);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.blog-home .article-listing {
  position: relative;
  padding-top: clamp(82px, 9vw, 124px);
  padding-bottom: clamp(92px, 11vw, 148px);
}

.blog-home .listing-heading {
  position: relative;
  margin-bottom: clamp(44px, 6vw, 72px);
  padding-top: 23px;
  border-top: 2px solid var(--editorial-rule-strong);
}

.blog-home .listing-heading::before {
  content: "FEATURED";
  position: absolute;
  top: -2px;
  right: 0;
  padding: 7px 0 0 18px;
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.blog-home .listing-heading h2 {
  max-width: 9ch;
  font-size: clamp(3rem, 6.1vw, 6.25rem);
  line-height: 0.92;
  text-wrap: balance;
}

.blog-home .listing-heading > p {
  padding-bottom: 0.36rem;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.7;
}

.blog-home .article-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 58px) clamp(22px, 2.4vw, 34px);
}

.blog-home .article-card {
  position: relative;
  min-width: 0;
}

.blog-home .article-card:first-child,
.blog-home .article-card--lead {
  grid-column: 1 / span 8;
}

.blog-home .article-card--compact {
  grid-column: 9 / -1;
  margin-top: clamp(72px, 8vw, 112px);
  padding: 10px 10px 2px;
  border-color: var(--editorial-rule);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--ink);
}

.blog-home .article-card--horizontal {
  grid-column: 2 / -1;
  margin-top: clamp(16px, 3vw, 38px);
  padding: clamp(30px, 4vw, 48px) 0;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  border-color: var(--editorial-rule-strong);
}

.blog-home .card-image-link,
.blog-home .article-card:first-child .card-image-link {
  position: relative;
  isolation: isolate;
  border-radius: clamp(18px, 2vw, 26px);
  box-shadow: 0 1px 0 rgba(21, 23, 19, 0.08);
}

.blog-home .article-card--compact .card-image-link {
  border-radius: 16px;
}

.blog-home .card-image-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(21, 23, 19, 0.1);
  border-radius: inherit;
  box-shadow: inset 0 -50px 75px rgba(7, 8, 6, 0.08);
  pointer-events: none;
}

.blog-home .card-image-link img,
.blog-home .article-card:first-child .card-image-link img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.72, 0.2, 1),
    filter 350ms ease;
}

.blog-home .card-copy,
.blog-home .article-card:first-child .card-copy {
  padding-top: clamp(20px, 2.2vw, 28px);
}

.blog-home .article-card--compact .card-copy {
  padding: 21px 10px 25px;
}

.blog-home .article-card--horizontal .card-copy {
  padding: 0;
}

.blog-home .card-meta,
.blog-home .article-card:first-child .card-meta {
  margin-bottom: 13px;
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.blog-home .article-card--lead .card-copy h3 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 4.1vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.blog-home .article-card--compact .card-copy h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: pretty;
}

.blog-home .article-card--horizontal .card-copy h3 {
  font-size: clamp(1.85rem, 3.25vw, 3.45rem);
  letter-spacing: -0.055em;
  line-height: 1.01;
  text-wrap: balance;
}

.blog-home .card-copy h3 a {
  background-image: linear-gradient(var(--lime), var(--lime));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 0.16em;
  transition: background-size 260ms ease, color 180ms ease;
}

.blog-home .card-copy h3 a:hover {
  text-decoration: none;
  background-size: 100% 0.16em;
}

.blog-home .card-excerpt {
  max-width: 66ch;
  margin-top: 16px;
  margin-bottom: 21px;
  line-height: 1.72;
}

.blog-home .text-link {
  min-height: 38px;
  align-items: center;
  padding-inline: 0.94rem;
}

/* Placeholder journal archive: replace each row's content when a story ships. */
.blog-home .blog-archive,
.blog-home .journal-stream {
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 clamp(108px, 13vw, 172px);
}

.blog-home .archive-heading,
.blog-home .journal-stream__intro {
  position: relative;
  padding: clamp(24px, 3vw, 38px) 0 clamp(42px, 6vw, 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(32px, 7vw, 100px);
  border-top: 2px solid var(--editorial-rule-strong);
}

.blog-home .archive-heading::before,
.blog-home .journal-stream__intro::before {
  content: "THE INDEX";
  position: absolute;
  top: -2px;
  right: 0;
  padding: 7px 0 0 18px;
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.blog-home .archive-heading h2,
.blog-home .journal-stream__intro h2 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(2.65rem, 5.5vw, 5.8rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.blog-home .archive-heading > p,
.blog-home .journal-stream__intro > p {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.75;
}

.blog-home .placeholder-blog-list,
.blog-home .journal-list {
  border-top: 1px solid var(--editorial-rule-strong);
}

.blog-home .placeholder-blog-row,
.blog-home .journal-list-item {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px) 12px;
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  border-bottom: 1px solid var(--editorial-rule-strong);
  transition: background-color 220ms ease, padding 220ms ease;
}

.blog-home .placeholder-blog-row__media,
.blog-home .journal-list-item__media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-deep);
}

.blog-home .placeholder-blog-row__media::after,
.blog-home .journal-list-item__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(21, 23, 19, 0.12);
  border-radius: inherit;
  pointer-events: none;
}

.blog-home .placeholder-blog-row__media img,
.blog-home .journal-list-item__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.72, 0.2, 1),
    filter 300ms ease;
}

.blog-home .journal-list-item__media--brand {
  background: var(--white);
}

.blog-home .journal-list-item__media--brand img {
  padding: 12%;
  object-fit: contain;
}

.blog-home .placeholder-blog-row__copy,
.blog-home .journal-list-item__copy {
  min-width: 0;
  padding-right: clamp(0px, 3vw, 44px);
}

.blog-home .placeholder-blog-row__copy .card-meta,
.blog-home .journal-list-item__meta {
  margin: 0 0 12px;
}

.blog-home .placeholder-blog-row__copy h3,
.blog-home .journal-list-item__copy h3 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(1.45rem, 2.55vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.04;
  text-wrap: balance;
}

.blog-home .placeholder-blog-row__copy h3 a,
.blog-home .journal-list-item__copy h3 a {
  text-decoration: none;
}

.blog-home .placeholder-blog-row__brief,
.blog-home .journal-list-item__brief {
  max-width: 66ch;
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.7;
}

@media (hover: hover) and (pointer: fine) {
  .blog-home .article-card:hover .card-image-link img,
  .blog-home .article-card:focus-within .card-image-link img {
    filter: saturate(1.04) contrast(1.02);
    transform: scale(1.035);
  }

  .blog-home .placeholder-blog-row:hover,
  .blog-home .placeholder-blog-row:focus-within,
  .blog-home .journal-list-item:hover,
  .blog-home .journal-list-item:focus-within {
    background: rgba(255, 254, 249, 0.72);
    box-shadow: inset 4px 0 0 var(--lime);
  }

  .blog-home .placeholder-blog-row:hover img,
  .blog-home .placeholder-blog-row:focus-within img,
  .blog-home .journal-list-item:hover img,
  .blog-home .journal-list-item:focus-within img {
    filter: saturate(1.04) contrast(1.02);
    transform: scale(1.035);
  }
}

@media (max-width: 1080px) {
  .blog-home .article-card:first-child,
  .blog-home .article-card--lead {
    grid-column: 1 / span 7;
  }

  .blog-home .article-card--compact {
    grid-column: 8 / -1;
    margin-top: 58px;
  }

  .blog-home .article-card--horizontal {
    grid-column: 1 / -1;
  }

  .blog-home .placeholder-blog-row,
  .blog-home .journal-list-item {
    grid-template-columns: minmax(220px, 30vw) minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .blog-home .journal-tag {
    margin-top: 20px;
    font-size: 0.61rem;
  }

  .blog-home .listing-heading,
  .blog-home .archive-heading,
  .blog-home .journal-stream__intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .blog-home .listing-heading h2,
  .blog-home .archive-heading h2,
  .blog-home .journal-stream__intro h2 {
    max-width: 10ch;
  }

  .blog-home .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 16px;
  }

  .blog-home .article-card:first-child,
  .blog-home .article-card--lead {
    grid-column: 1 / -1;
  }

  .blog-home .article-card--compact {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .blog-home .article-card--horizontal {
    grid-column: 1 / -1;
    margin-top: 0;
    padding: 28px 0;
    display: grid;
    grid-template-columns: minmax(145px, 0.86fr) minmax(0, 1.14fr);
    gap: 20px;
  }

  .blog-home .article-card--horizontal .card-copy {
    padding: 0;
  }

  .blog-home .article-card--horizontal .card-copy h3 {
    font-size: clamp(1.35rem, 4.8vw, 2rem);
  }

  .blog-home .article-card--horizontal .card-excerpt {
    display: none;
  }

  .blog-home .blog-archive,
  .blog-home .journal-stream {
    padding-bottom: 96px;
  }

  .blog-home .placeholder-blog-row,
  .blog-home .journal-list-item {
    padding: 20px 0;
    grid-template-columns: minmax(128px, 32vw) minmax(0, 1fr);
    gap: 18px;
  }

  .blog-home .placeholder-blog-row__copy,
  .blog-home .journal-list-item__copy {
    padding-right: 0;
  }

  .blog-home .placeholder-blog-row__copy .card-meta,
  .blog-home .journal-list-item__meta {
    margin-bottom: 8px;
    font-size: 0.57rem;
  }

  .blog-home .placeholder-blog-row__copy h3,
  .blog-home .journal-list-item__copy h3 {
    font-size: clamp(1rem, 3.8vw, 1.4rem);
    line-height: 1.12;
    text-wrap: pretty;
  }

  .blog-home .placeholder-blog-row__brief,
  .blog-home .journal-list-item__brief {
    margin-top: 9px;
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 480px) {
  .blog-home .article-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .blog-home .article-card--horizontal {
    grid-template-columns: minmax(116px, 34vw) minmax(0, 1fr);
    gap: 14px;
  }

  .blog-home .article-card--horizontal .card-meta {
    margin-bottom: 8px;
    font-size: 0.56rem;
  }

  .blog-home .article-card--horizontal .card-copy h3 {
    font-size: clamp(1rem, 4.6vw, 1.3rem);
    line-height: 1.08;
  }

  .blog-home .article-card--horizontal .text-link {
    min-height: 32px;
    margin-top: 11px;
    padding: 0.5rem 0.68rem;
    font-size: 0.64rem;
  }

  .blog-home .placeholder-blog-row,
  .blog-home .journal-list-item {
    grid-template-columns: minmax(104px, 31vw) minmax(0, 1fr);
    gap: 13px;
  }

  .blog-home .placeholder-blog-row__media,
  .blog-home .journal-list-item__media {
    border-radius: 10px;
  }

  .blog-home .placeholder-blog-row__copy h3,
  .blog-home .journal-list-item__copy h3 {
    font-size: clamp(0.92rem, 4vw, 1.12rem);
  }

  .blog-home .placeholder-blog-row__brief,
  .blog-home .journal-list-item__brief {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-home .card-image-link img,
  .blog-home .placeholder-blog-row__media img,
  .blog-home .journal-list-item__media img {
    transform: none !important;
  }
}

/* Flightcast-inspired Sparlab typography system ------------------------- */

.blog-home :is(h1, h2, h3),
.article-page :is(h1, h2, h3) {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.blog-home .blog-hero h1,
.article-page .article-hero h1 {
  font-size: var(--type-display-size);
  font-weight: var(--type-display-weight);
  letter-spacing: var(--type-display-tracking);
  line-height: var(--type-display-line);
}

.blog-home .card-copy h3 {
  font-size: var(--type-card-size);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: var(--type-card-line);
}

:is(.eyebrow, .article-kicker, .listing-kicker, .callout-label) {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1rem;
  text-transform: uppercase;
}

/* Journal index and shared journal footer */
.blog-home,
body.article-page {
  --page: min(1120px, calc(100% - clamp(32px, 7vw, 96px)));
}

.blog-home .site-header {
  background: rgba(255, 255, 255, 0.96);
}

.blog-home .blog-hero {
  width: var(--page);
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "intro visual";
  align-items: center;
  gap: clamp(20px, 4.5vw, 56px);
  overflow: visible;
  color: var(--ink);
  background: var(--paper);
}

.blog-home .blog-hero__content {
  grid-area: intro;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
}

.blog-home .blog-hero__image {
  grid-area: visual;
  position: static;
  z-index: auto;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background: var(--paper-deep);
  transform: none;
}

.blog-home .listing-heading::before,
.blog-home .journal-stream__intro::before {
  display: none;
}

.blog-home .blog-hero .eyebrow {
  margin-bottom: 8px;
  color: #53653b;
}

.blog-home .blog-hero h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(2.5rem, 6.1vw, 4.5rem);
  text-wrap: pretty;
}

.blog-home .blog-hero__intro {
  max-width: 45ch;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
}

.blog-home .blog-hero__intro p {
  color: var(--ink-soft);
  font-size: clamp(0.9375rem, 1.55vw, 1.0625rem);
}

.blog-home .hero-link {
  justify-self: start;
  border-color: var(--capsule-active);
  border-radius: var(--capsule-radius);
  background: var(--capsule-active);
  color: var(--capsule-active-text);
}

.blog-home .hero-link:hover {
  background: var(--ink-soft);
  transform: none;
}

.blog-home .article-listing {
  padding: 0 0 clamp(40px, 6vw, 64px);
  scroll-margin-top: 92px;
}

.blog-home .listing-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px 24px;
  margin-bottom: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.blog-home .listing-heading h2 {
  max-width: none;
  font-size: clamp(1.5rem, 2.7vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.blog-home .article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.blog-home .article-grid > .article-card {
  display: grid;
  grid-template: auto 1fr / minmax(0, 1fr);
  grid-column: auto;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: none;
}

.blog-home .article-grid > .article-card:only-child {
  grid-template: 1fr / minmax(0, 1fr) minmax(0, 1fr);
  grid-column: 1 / -1;
}

.blog-home .article-grid .article-card .card-image-link {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.blog-home .article-grid .article-card .card-image-link img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.blog-home .article-grid .article-card .card-image-link:focus-visible {
  outline-offset: -4px;
}

.blog-home .article-grid .article-card .card-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2vw, 24px);
}

.blog-home .article-grid .article-card .card-copy :is(.card-meta, h3, .card-excerpt) {
  max-width: none;
  margin: 0;
}

.blog-home .article-grid .article-card .card-copy h3 {
  font-size: clamp(1.125rem, 2.1vw, 1.375rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.025em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.blog-home .article-grid .article-card .card-excerpt {
  display: block;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.blog-home .article-grid .article-card .text-link {
  align-self: start;
  margin: auto 0 0;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.8125rem;
  text-decoration: underline;
  box-shadow: none;
  transform: none;
}

.blog-home .blog-empty-state {
  margin: 0;
  padding: 24px;
  border-radius: 16px;
}

:is(.blog-home, .article-page) .blog-footer {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

:is(.blog-home, .article-page) .blog-footer .footer-inner {
  min-height: 0;
  padding: clamp(24px, 4vw, 42px) 0 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.blog-footer .sparblog-wordmark--footer {
  --wordmark-ink: #181a17;
  font-size: 1.625rem;
}

:is(.blog-home, .article-page) .blog-footer .footer-brand p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.blog-footer .footer-directory {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.blog-footer .footer-link-group {
  gap: 7px;
}

.blog-footer .footer-link-group p,
.blog-footer .footer-link-group a {
  margin: 0;
  color: var(--ink-soft);
}

.blog-footer .footer-link-group a:hover,
.blog-footer .footer-base a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.blog-footer .footer-base {
  padding: 14px 0 22px;
  border-color: var(--line);
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .blog-home .blog-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "visual";
  }

  .blog-home .blog-hero__image {
    aspect-ratio: 16 / 8;
  }

  .blog-home .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .blog-home .article-grid,
  .blog-home .article-grid > .article-card:only-child,
  :is(.blog-home, .article-page) .blog-footer .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-footer .footer-base {
    gap: 4px;
  }
}

/* The database-backed journal index. */
.blog-home:has(.journal-index) {
  --journal-canvas: #fff;
  --journal-photo-mat: #efefed;
  --journal-surface: #fff;
  --journal-muted: #565652;
  --journal-edge: #dededb;
  --journal-shadow: 0 2px 5px #20201d10, 0 10px 24px -15px #20201d40;
  background: var(--journal-canvas);
}

.blog-home:has(.journal-index) .feed-header {
  border-color: #20201d12;
  background: var(--journal-canvas);
}

.blog-home:has(.journal-index) .blog-footer {
  border-color: #20201d1a;
  background: var(--journal-canvas);
}

.blog-home .journal-index {
  width: var(--page);
  margin-inline: auto;
}

.blog-home .journal-masthead {
  display: grid;
  justify-items: center;
  gap: 13px;
  padding-block: clamp(30px, 5.5vw, 78px) clamp(21px, 3.1vw, 44px);
  text-align: center;
}

.blog-home .journal-masthead h1 {
  max-width: 16ch;
  margin: 0;
  font-size: var(--type-display-size);
  font-weight: var(--type-display-weight);
  letter-spacing: var(--type-display-tracking);
  line-height: var(--type-display-line);
  text-wrap: balance;
}

.blog-home .journal-masthead p {
  max-width: 56ch;
  margin: 0;
  color: var(--journal-muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.blog-home .journal-masthead--welcome h1 {
  max-width: 100%;
  color: var(--spr-ink);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.blog-home .journal-masthead--welcome h1 > span {
  display: block;
}

.blog-home .journal-masthead--welcome h1 > span:first-child {
  color: #787878;
}

.blog-home .journal-masthead--welcome p {
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.5;
  text-wrap: balance;
}

@media (max-width: 479px) {
  .blog-home .journal-masthead--welcome h1 {
    --type-display-size: clamp(1.5rem, 7.5vw, 2.25rem);
  }
}

.blog-home .journal-masthead--missing {
  padding-block-end: clamp(36px, 6vw, 70px);
}

.blog-home .journal-feed {
  padding-block: 0 clamp(43px, 7vw, 86px);
  scroll-margin-top: 92px;
}

.blog-home .journal-feed > h2 {
  margin: 0 2px 12px;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.25;
}

.blog-home .journal-empty {
  margin: 0;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--journal-edge);
  border-radius: 22px;
  background: var(--journal-surface);
  color: var(--journal-muted);
  box-shadow: var(--journal-shadow);
}

.blog-home .journal-stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.blog-home .journal-story {
  min-width: 0;
}

.blog-home .journal-story__link {
  --journal-inset: 5px;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: var(--journal-inset);
  border: 1px solid var(--journal-edge);
  border-radius: 22px;
  background: var(--journal-surface);
  color: var(--ink);
  box-shadow: var(--journal-shadow);
  text-decoration: none;
}

.blog-home .journal-story__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: clamp(13px, 1.8vw, 21px);
  overflow-wrap: anywhere;
}

.blog-home .journal-story__copy > * {
  margin: 0;
}

.blog-home .journal-story__topic {
  width: fit-content;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: var(--capsule-radius);
  background: #efefed;
  color: #343430;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.35;
}

.blog-home .journal-story h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  font-weight: 590;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.blog-home .journal-story__excerpt {
  max-width: 58ch;
  color: var(--journal-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.blog-home .journal-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  margin-block-start: auto;
  padding-block-start: 6px;
  color: var(--journal-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.blog-home .journal-story__meta time + span::before {
  content: "·";
  margin-inline-end: 10px;
}

.blog-home .journal-story__cover {
  position: relative;
  order: -1;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: var(--journal-photo-mat);
}

.blog-home .journal-story__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-home .journal-story--lead {
  grid-column: 1 / -1;
}

.blog-home .journal-story--lead .journal-story__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  grid-template-areas: "cover copy";
  border-radius: clamp(22px, 2.2vw, 29px);
}

.blog-home .journal-story--lead.journal-story--text .journal-story__link {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy";
}

.blog-home .journal-story--lead .journal-story__copy {
  grid-area: copy;
  gap: clamp(10px, 1.5vw, 17px);
  padding: clamp(17px, 3.7vw, 42px);
}

.blog-home .journal-story--lead .journal-story__cover {
  grid-area: cover;
  order: 0;
  align-self: center;
  width: 100%;
  border-radius: clamp(16px, 1.85vw, 23px);
}

.blog-home .journal-story--lead h3 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 3.65vw, 3rem);
  font-weight: 570;
  line-height: 1.04;
  letter-spacing: -0.049em;
}

.blog-home .journal-story__link:is(:hover, :focus-visible) h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

@media (max-width: 760px) {
  .blog-home .journal-story--lead .journal-story__link {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "cover" "copy";
  }

  .blog-home .journal-stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 520px) {
  .blog-home .journal-stories {
    gap: 12px;
  }

  .blog-home .journal-story:not(.journal-story--lead) .journal-story__link {
    --journal-inset: 4px;
    border-radius: 16px;
  }

  .blog-home .journal-story:not(.journal-story--lead) .journal-story__cover {
    border-radius: 11px;
  }

  .blog-home .journal-story:not(.journal-story--lead) .journal-story__copy {
    gap: 7px;
    padding: 9px;
  }

  .blog-home .journal-story:not(.journal-story--lead) h3 {
    font-size: clamp(.9375rem, 4vw, 1.125rem);
    line-height: 1.22;
  }

  .blog-home .journal-story:not(.journal-story--lead) .journal-story__excerpt {
    font-size: .8125rem;
    line-height: 1.45;
  }

  .blog-home .journal-story:not(.journal-story--lead) .journal-story__meta {
    display: grid;
    gap: 2px;
    font-size: .75rem;
  }

  .blog-home .journal-story:not(.journal-story--lead) .journal-story__meta time + span::before {
    content: none;
  }
}
