/* Journal article: the same cool editorial system used by the portfolio homepage. */
body.single-post {
  --article-canvas: #f4f6f8;
  --article-paper: #fff;
  --article-ink: #101828;
  --article-muted: #667085;
  --article-blue: #1769e0;
  --article-blue-soft: #e8f0ff;
  --article-line: #dfe4ea;
  --article-night: #0b1324;
  background: var(--article-canvas);
  color: var(--article-ink);
}
body.single-post .site-main { overflow: clip; background: var(--article-canvas); }
body.single-post .shell { width: min(1180px, calc(100vw - 48px)); max-width: none; }
body.single-post .shell.narrow { width: min(780px, calc(100vw - 48px)); }

body.single-post .site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  padding: 16px 0 0;
  border: 0;
  background: linear-gradient(180deg,rgba(244,246,248,.94),rgba(244,246,248,0));
}
body.admin-bar.single-post .site-header { top: 32px; }
body.single-post .header-inner {
  width: min(1080px, calc(100vw - 56px));
  max-width: none;
  height: 68px;
  min-height: 0;
  padding: 0 16px 0 22px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 36px;
  background: rgba(250,252,255,.76);
  box-shadow: 0 14px 40px rgba(24,38,62,.09),inset 0 1px rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
body.single-post .brand,
body.single-post .menu a,
body.single-post .language-switcher a { color: var(--article-ink); }
body.single-post .brand-name { font-size: 18px; letter-spacing: .12em; }
body.single-post .brand-descriptor { color: #6b7890; font-size: 10px; letter-spacing: .12em; }
body.single-post .menu a:hover,
body.single-post .menu a:focus-visible,
body.single-post .language-switcher a:hover,
body.single-post .language-switcher a:focus-visible { color: var(--article-blue); }
body.single-post .primary-navigation .header-cta,
body.single-post .primary-navigation .header-cta:hover,
body.single-post .primary-navigation .header-cta:focus-visible {
  border-color: var(--article-night);
  border-radius: 999px;
  background: var(--article-night);
  color: #fff;
}

body.single-post .article-single { position: relative; }
body.single-post .article-single::before {
  position: absolute;
  z-index: 0;
  top: -120px;
  right: -220px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(23,105,224,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 110px rgba(255,255,255,.28),0 0 0 240px rgba(23,105,224,.025);
  content: "";
  pointer-events: none;
}
body.single-post .article-header {
  position: relative;
  z-index: 1;
  padding: clamp(110px,13vw,180px) 0 clamp(64px,8vw,100px);
  text-align: left;
}
body.single-post .article-header .eyebrow {
  margin: 0 0 30px;
  color: var(--article-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
body.single-post .article-header h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--article-ink);
  font-size: clamp(3.5rem,7.2vw,7.4rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.06em;
}
body.single-post .article-header .hero-copy {
  max-width: 650px;
  margin-top: 34px;
  color: var(--article-muted);
  font-size: clamp(1.05rem,1.4vw,1.25rem);
  line-height: 1.7;
}
body.single-post .article-image {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(72px,9vw,120px);
}
body.single-post .article-image img {
  display: block;
  width: 100%;
  max-height: 720px;
  border: 1px solid rgba(16,24,40,.08);
  border-radius: clamp(22px,2.5vw,36px);
  box-shadow: 0 30px 80px rgba(16,24,40,.12);
  object-fit: cover;
}
body.single-post .article-content {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(100px,12vw,170px);
  color: #344054;
  font-size: clamp(1.05rem,1.25vw,1.18rem);
  line-height: 1.82;
}
body.single-post .article-content > * + * { margin-top: 1.5em; }
body.single-post .article-content h2,
body.single-post .article-content h3 {
  color: var(--article-ink);
  font-weight: 600;
  letter-spacing: -.035em;
}
body.single-post .article-content h2 {
  margin-top: 2.4em;
  padding-top: .9em;
  border-top: 1px solid var(--article-line);
  font-size: clamp(2rem,3.8vw,3.5rem);
  line-height: 1.08;
}
body.single-post .article-content h3 { margin-top: 2em; font-size: clamp(1.35rem,2vw,1.8rem); }
body.single-post .article-content a { color: var(--article-blue); text-decoration-color: rgba(23,105,224,.35); text-underline-offset: .2em; }
body.single-post .article-content blockquote {
  margin: 2.5em 0;
  padding: 26px 30px;
  border: 0;
  border-left: 3px solid var(--article-blue);
  border-radius: 0 18px 18px 0;
  background: var(--article-paper);
  box-shadow: 0 16px 44px rgba(16,24,40,.06);
  color: var(--article-ink);
  font-family: inherit;
  font-size: 1.16em;
}
body.single-post .article-content pre,
body.single-post .article-content .wp-block-code { overflow: auto; padding: 24px; border-radius: 18px; background: var(--article-night); color: #e8eef8; }
body.single-post .article-content figure { margin-block: 2.5em; }
body.single-post .article-content img { border-radius: 18px; }
body.single-post .article-content figcaption { color: var(--article-muted); font-size: .78rem; }
body.single-post .cta-section { padding: clamp(72px,9vw,128px) 0; background: var(--article-canvas); }
body.single-post .cta-panel { border-radius: clamp(24px,3vw,40px); background: radial-gradient(circle at 85% 20%,rgba(23,105,224,.42),transparent 25%),var(--article-night); color: #fff; }
body.single-post .cta-panel h2,
body.single-post .cta-panel p { color: #fff; }
body.single-post .cta-panel .button-light { border-color: #fff; background: #fff; color: var(--article-night); }
body.single-post .site-footer { border-top: 0; background: var(--article-night); }
body.single-post :focus-visible { outline-color: var(--article-blue); }

@media (max-width: 980px) {
  body.single-post .nav-toggle { border-color: var(--article-line); background: rgba(255,255,255,.86); color: var(--article-ink); }
  body.single-post .primary-navigation { border: 1px solid rgba(255,255,255,.8); border-radius: 22px; background: rgba(250,251,252,.97); box-shadow: 0 22px 55px rgba(16,24,40,.12); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
}
@media (max-width: 782px) { body.admin-bar.single-post .site-header { top: 46px; } }
@media (max-width: 680px) {
  body.single-post .shell,
  body.single-post .shell.narrow { width: calc(100vw - 32px); }
  body.single-post .site-header { padding-top: 10px; }
  body.single-post .header-inner { width: calc(100vw - 24px); height: 62px; min-height: 0; padding: 0 8px 0 18px; border-radius: 31px; }
  body.single-post .brand-descriptor { display: none; }
  body.single-post .article-header { padding-top: 88px; }
  body.single-post .article-header h1 { font-size: clamp(3.2rem,15vw,5.2rem); }
}
