/* ScyAI blog. Header, footer, article and button rules are copied from
   https://www.scyai.com/ (fonts.css, styles.css, article.css, footer.css),
   captured 2026-09-30. Blog-only components follow at the end. */

/* --------------------------------------------------------- fonts.css */
/* Inter, self-hosted (Google Fonts build, variable weight 400–600 with the opsz axis). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------- styles.css: tokens, base */
:root {
  /* Full-height hairlines follow the shared content column. */
  --frame-line: rgba(140, 140, 140, .13);   /* the page frame's side strokes */
  --frame-gut: clamp(24px, 3.5vw, 56px);   /* text keeps this clear of the strokes */

  --ink: #1f1f1f;
  --orange: #ff7a00;    /* the accent: drift, flags — one orange everywhere */
  --white: #fff;
  --surface: #f5f5f7;   /* the policy-audit panel */
  --band-inner: 1440px;
}

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

/* readable by AT, invisible on screen */
.u-hide {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;   /* the nowrap text must not widen the page */
  clip-path: inset(50%);
  white-space: nowrap;
}

html { -webkit-text-size-adjust: 100%; }

/* The page frame: every section is a padded wrapper; inside it, .frame caps
   the content at the site max-width and draws the side strokes. */
.frame {
  max-width: calc(var(--band-inner) + 2px);   /* account for the frame borders */
  margin-inline: auto;
  border-inline: 1px solid var(--frame-line);
}

@media (max-width: 900px) {
  .frame { border-inline: 0; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input { font-family: inherit; }
[hidden] { display: none !important; }

/* ------------------------------------------ styles.css: navigation 01 */
.navigation-01-header {
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease-out-quad: cubic-bezier(.25, .46, .45, .94);
  --ease-out-cubic: cubic-bezier(.215, .61, .355, 1);
  --ease-dropdown: linear(0, .005, .02 2.1%, .081 4.7%, .467 15.7%, .563, .645, .717, .778 28.5%, .829 32%, .872 35.8%, .909 40.1%, .938 44.9%, .961 50.3%, .977 56.5%, .987 63.6%, .994 72.3%, 1);
  --duration-dropdown: .5s;
  --nav-surface: rgba(14, 16, 24, .82);
  --nav-hover-surface: rgba(199, 199, 209, .06);
  --nav-pressed-surface: rgba(199, 199, 209, .12);
  --clr-light: var(--nav-surface);
  --corner-shape: superellipse(1.2);
  --box-shadow:
    0 0 0 1px rgba(51, 51, 51, .04),
    0 1px 1px .5px rgba(51, 51, 51, .04),
    0 3px 3px -1.5px rgba(51, 51, 51, .02),
    0 6px 6px -3px rgba(51, 51, 51, .04),
    0 12px 12px -6px rgba(51, 51, 51, .04),
    0 24px 24px -12px rgba(51, 51, 51, .04),
    0 48px 48px -24px rgba(51, 51, 51, .04);

  position: fixed;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  width: 100%;
  padding-block: 16px;
  overflow: visible;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 450;

  --nav-hover-surface: rgba(14, 16, 24, .06);
  --nav-pressed-surface: rgba(14, 16, 24, .12);
}

.navigation-01-header.is-on-light {
  --nav-hover-surface: rgba(14, 16, 24, .06);
  --nav-pressed-surface: rgba(14, 16, 24, .12);
  color: var(--ink);
}

.navigation-01-header *,
.navigation-01-header *::before,
.navigation-01-header *::after { box-sizing: border-box; }

.navigation-01-header a { color: inherit; text-decoration: none; }
.navigation-01-header ul,
.navigation-01-header li { padding: 0; margin: 0; list-style: none; }

.navigation-01-header button {
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}

.navigation-01-header img,
.navigation-01-header svg { display: block; max-width: 100%; }

.navigation-01-header .cta {
  position: relative;
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  background-color: var(--ink);
  border-radius: 999px;   /* the one control left in the bar: a pill */
  transition: background-color 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.navigation-01-header .cta:active { background-color: rgba(31, 31, 31, .82); transform: scale(.96); }

.navigation-01-header .header-shell {
  --header-shell-expanded-max: 1024px;
  position: relative;
  width: 100%;
  max-width: var(--header-shell-expanded-max);
}

.navigation-01-header .header-bar {
  display: none;
}

.navigation-01-header .header-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 6px 12px 6px 16px;
  overflow: visible;
}

.navigation-01-header :where(a, button):focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  box-shadow: none;
}

.navigation-01-header .logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 40px;
  border-radius: 9999px;
}

.navigation-01-header .logo img {
  width: auto;
  height: 100%;
  transition: filter 180ms ease-out;
}

.navigation-01-header.is-on-light .logo img { filter: brightness(0); }

@media (hover: hover) and (pointer: fine) {
  .navigation-01-header .logo:hover { opacity: .72; }
  .navigation-01-header .cta:hover { background-color: rgba(31, 31, 31, .86); }
}

@media (max-width: 900px) {
  .navigation-01-header { padding-inline: 16px; }
  .navigation-01-header .header-shell { max-width: none; }
  .navigation-01-header .header-content { display: flex; align-items: center; gap: 8px; padding-inline: 10px 8px; }
  .navigation-01-header .logo { flex: none; margin-inline-end: auto; }
  .navigation-01-header .cta { min-height: 36px; padding-inline: 14px; font-size: 12px; }
}

@media (max-width: 460px) {
  .navigation-01-header { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .navigation-01-header *,
  .navigation-01-header *::before,
  .navigation-01-header *::after { scroll-behavior: auto; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.navigation-01-header { view-transition-name: site-header; }
.navigation-01-header .logo { view-transition-name: site-logo; }
.navigation-01-header .cta { view-transition-name: site-cta; }


/* ------------------------------------------------------ styles.css: .btn */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;                    /* Figma: frame 2147226511, gap 12 */
  height: 44px;
  padding-inline: 22px;
  border: 0;
  border-radius: 33px;
  background: rgba(0, 0, 0, .67);
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.34px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.btn:hover { background: rgba(0, 0, 0, .82); }
.btn:active { transform: scale(.96); }

.btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: 3px;
}

/* Lenis: the only bits of its stylesheet the site uses */
html.lenis, html.lenis body { height: auto; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* ------------------------------------------------------- article.css */
/* Article and case-study pages: one reading column inside the page frame. */
.post-page { background: var(--white); color: var(--ink); }
.post { background: var(--white); }
.post__frame { padding: 112px var(--frame-gut) clamp(96px, 12vw, 160px); border-inline: 0; }
.post__body { max-width: 720px; margin-inline: auto; }

/* the nav sits on the reading column: logo and CTA land on its edges,
   and follow the frame gutter once the column is narrower than 720 */
.post-page .navigation-01-header { padding-inline: calc(var(--frame-gut) - 14px); }
.post-page .navigation-01-header .header-shell { --header-shell-expanded-max: 748px; max-width: 748px; }
.post-page .navigation-01-header .header-content { padding-inline: 14px; }
.post__draft { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(255, 122, 0, .1); color: #b85a00; font-style: normal; font-size: 12px; line-height: 18px; }

.post__title { margin: 0 0 24px; font-size: 48px; line-height: 56px; font-weight: 500; letter-spacing: -1.44px; text-wrap: balance; }
.post__lede { margin: 0 0 40px; font-size: 22px; line-height: 32px; letter-spacing: -.22px; color: rgba(0, 0, 0, .62); text-wrap: pretty; }

.post__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 0 0 48px; padding: 24px 0; border-block: 1px solid var(--frame-line); }
.post__meta div { display: grid; gap: 4px; }
.post__meta dt { font-size: 12px; line-height: 16px; letter-spacing: .02em; color: rgba(0, 0, 0, .45); }
.post__meta dd { margin: 0; font-size: 15px; line-height: 22px; }

.post__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 56px; }
.post__figures li { padding: 24px; border-radius: 16px; background: #f8f9fd; }
.post__figures strong { display: block; font-size: 32px; line-height: 36px; font-weight: 500; letter-spacing: -.96px; font-variant-numeric: tabular-nums; }
.post__figures span { display: block; margin-top: 8px; font-size: 14px; line-height: 20px; color: rgba(0, 0, 0, .55); text-wrap: pretty; }

.post__body h2 { margin: 48px 0 16px; font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.48px; }
.post__body p { margin: 0 0 20px; font-size: 17px; line-height: 28px; letter-spacing: -.17px; color: rgba(0, 0, 0, .78); text-wrap: pretty; }
.post__body ul, .post__body ol { margin: 0 0 20px; padding-left: 20px; list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li { margin: 0 0 10px; font-size: 17px; line-height: 28px; letter-spacing: -.17px; color: rgba(0, 0, 0, .78); text-wrap: pretty; }

.post__quote { margin: 40px 0; padding: 0 0 0 24px; border-left: 2px solid var(--ink); }
.post__quote blockquote { margin: 0; font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.48px; text-wrap: balance; }
.post__quote figcaption { margin-top: 12px; font-size: 14px; line-height: 20px; color: rgba(0, 0, 0, .5); }

.post__cta { margin-top: 64px; padding: 40px; border-radius: 20px; background: var(--ink); color: var(--white); text-align: center; }
.post__cta h2 { margin: 0 0 8px; font-size: 28px; line-height: 34px; letter-spacing: -.56px; text-wrap: balance; }
.post__cta p { margin: 0 0 24px; color: rgba(255, 255, 255, .7); }
.post__cta .btn { background: var(--white); color: var(--ink); }

@media (max-width: 600px) {
  .post__title { font-size: 34px; line-height: 41px; letter-spacing: -.68px; }
  .post__lede { font-size: 19px; line-height: 28px; }
  .post__figures { grid-template-columns: 1fr; }
  .post__meta { grid-template-columns: 1fr; }
  .post__draft { margin-left: 0; }
  .post__cta { padding: 32px 24px; }
}
.post__body h3 { margin: 0 0 8px; font-size: 17px; line-height: 24px; font-weight: 500; }
.post__about { padding-top: 32px; border-top: 1px solid var(--frame-line); }
.post__body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 0, 0, .25); }

/* About and legal pages */
.post__table { margin: 0 0 24px; overflow-x: auto; }
.post__table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.post__table th, .post__table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--frame-line); text-align: left; vertical-align: top; color: rgba(0, 0, 0, .78); }
.post__table th { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; color: rgba(0, 0, 0, .45); }

.post__body .post__team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.post__body .post__team li { margin: 0; line-height: 20px; }
.post__team img, .post__team-initials { display: flex; align-items: center; justify-content: center; width: 100%; height: auto; aspect-ratio: 2 / 3; margin-bottom: 12px; border-radius: 16px; object-fit: cover; background: #f8f9fd; }
.post__team-initials { font-size: 32px; font-weight: 500; letter-spacing: -.64px; color: rgba(0, 0, 0, .45); }
.post__team strong { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.post__team li > span:last-child { display: block; font-size: 14px; color: rgba(0, 0, 0, .55); }

.post__body .post__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; margin: 24px 0 0; padding: 0; list-style: none; }
.post__body .post__logos li { margin: 0; }
.post__logos img { display: block; width: auto; height: 36px; }
.post__body .post__logos a { text-decoration: none; }

@media (max-width: 600px) {
  .post__body .post__team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* -------------------------------------------------------- footer.css */
.site-footer { padding: 96px 16px 16px; background: #fff; color: #fff; }
.site-footer__statement { margin: 0 auto -8px; padding-inline: 16px; text-align: center; font-size: clamp(64px, 9.4vw, 160px); line-height: .94; letter-spacing: -.065em; font-weight: 500; color: #262626; }
.site-footer__panel { position: relative; border-radius: 24px; background: #191919; padding: 48px; }
.site-footer__main, .site-footer__bottom { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) auto; gap: 64px; max-width: 1440px; margin-inline: auto; }
.site-footer__main { min-height: 360px; }
.site-footer__logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__logo img { width: 112px; height: auto; filter: brightness(0) invert(1); }
.site-footer h2 { margin: 0 0 8px; font: inherit; font-weight: 400; color: #969696; }
.site-footer, .site-footer button { font-family: Inter, sans-serif; font-size: 16px; line-height: 24px; letter-spacing: -.3px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer nav > a, .site-footer__contact > a { display: table; min-height: 32px; padding-block: 4px; }
.site-footer__invitation { margin-top: 48px; }
.site-footer__invitation h2 { color: #fff; }
.site-footer__invitation p { color: #b0b0b0; margin: 0; text-wrap: pretty; }
.site-footer .site-footer__cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 24px; min-height: 48px; padding: 8px 24px; border: 0; border-radius: 12px; background: #fff; color: #191919; font: inherit; font-weight: 500; cursor: pointer; transition: background-color 160ms ease, transform 160ms ease; }
.site-footer__contact { margin-top: 40px; }
.site-footer__bottom { align-items: end; padding-top: 48px; font-size: 14px; line-height: 24px; }
.site-footer__bottom p { margin: 0; color: #969696; }
.site-footer__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__bottom nav > a { padding: 0; min-height: 24px; }
.site-footer :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (hover: hover) { .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; } .site-footer .site-footer__cta:hover { background: #e6e6e6; text-decoration: none; } }
@media (prefers-reduced-motion: no-preference) { .site-footer__cta:active { transform: scale(.97); } }
@media (max-width: 900px) {
  .site-footer__panel { padding: 32px; }
  .site-footer__main, .site-footer__bottom { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__invitation { margin-top: 24px; }
  .site-footer__bottom { padding-top: 64px; }
  .site-footer__bottom p:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-footer { padding: 64px 12px 12px; }
  .site-footer__statement { font-size: clamp(44px, 10vw, 64px); line-height: 1.02; margin-bottom: 16px; padding-inline: 0; }
  /* each sentence wraps to two even lines; the scan layer cannot wrap, so it sits out */
  .site-footer__line { text-wrap: balance; }
  .site-footer__scan-text, .site-footer__scan-beam, .site-footer__ink-text { display: none; }
  .site-footer__statement.has-scan { color: #262626; }
  .site-footer__panel { padding: 24px; }
  .site-footer__main { grid-template-columns: minmax(0, 1fr) auto; gap: 40px 16px; }
  .site-footer__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 48px; }
  .site-footer nav > a, .site-footer__contact > a { min-height: 44px; padding-block: 10px; }
  .site-footer__contact > a { overflow-wrap: anywhere; }
  .site-footer__bottom nav > a { padding-block: 10px; }
  .site-footer__contact { margin-top: 24px; }
}

@property --footer-scan {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 110%;
}
.site-footer__statement { position: relative; isolation: isolate; }
/* with the scan in place both layers are SVG; the HTML text only keeps the layout and the copy */
.site-footer__statement.has-scan { color: transparent; }
.site-footer__ink-text {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding-inline: inherit;
  overflow: visible;
}
.site-footer__ink-text text { font: inherit; letter-spacing: inherit; }
.site-footer__scan-text {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding-inline: inherit;
  overflow: visible;
  mask-image: linear-gradient(to bottom, transparent calc(var(--footer-scan) + 1px), #000 calc(var(--footer-scan) + 1px), #000 calc(var(--footer-scan) + 32%), transparent calc(var(--footer-scan) + 95%));
}
.site-footer__scan-text text {
  font: inherit;
  letter-spacing: inherit;
}
.site-footer__scan-beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-text-fill-color: initial;
}
.site-footer__scan-beam::after {
  content: '';
  position: absolute;
  top: var(--footer-scan);
  left: 0;
  right: 0;
  height: 1px;
  background: #fff;
}
.site-footer__statement.has-scan {
  animation: footer-scan 6s linear infinite;
  animation-play-state: paused;
}
.site-footer__statement.is-scanning { animation-play-state: running; }
@keyframes footer-scan {
  from { --footer-scan: 110%; }
  to { --footer-scan: -100%; }
}
/* the spots breathe on the hero heatmap's cycle: 2.4s swell, 3.6s settle */
@keyframes footer-breathe {
  0%, 100% { transform: scale(.9); opacity: .92; }
  40% { transform: scale(1.14); opacity: 1; }
}
.site-footer__scan-text ellipse { transform-box: fill-box; transform-origin: center; }
.site-footer__statement.is-scanning .site-footer__scan-text ellipse { animation: footer-breathe 6s ease-in-out infinite; }
.site-footer__scan-text ellipse:nth-child(3n + 1) { animation-delay: -2s; }
.site-footer__scan-text ellipse:nth-child(3n + 2) { animation-delay: -4s; }

@media (prefers-reduced-motion: reduce) {
  .site-footer__statement.has-scan { animation: none; }
  .site-footer__scan-text ellipse { animation: none; }
  .site-footer__scan-text { mask-image: none; }
  .site-footer__scan-beam { display: none; }
}

.site-footer__line { display: block; }
.site-footer__line .kern { margin-left: var(--kern, 0); }

/* ----------------------------- styles.css: phone type, the rules used here */
@media (max-width: 600px) {
  .site-footer__invitation p,
  .site-footer nav > a,
  .btn { font-size: 17px; line-height: 22px; letter-spacing: -.43px; }
  .navigation-01-header .cta,
  .site-footer__bottom { font-size: 13px; line-height: 18px; letter-spacing: -.08px; }
}

/* ------------------------------------------------------ blog components */
/* Blog-only. Built from the site's tokens and type scale: 48/56 titles,
   22/32 ledes, pills from the header CTA and cards from the homepage
   "Notes on risk and insurance" story rail. */

.skip-link { position: absolute; top: -100px; left: 16px; z-index: 300; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 500; }
.skip-link:focus { top: 16px; }
main :focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* hub */
.blog { background: var(--white); }
.blog__frame { padding: 112px var(--frame-gut) clamp(96px, 12vw, 160px); border-inline: 0; }
.blog__inner { max-width: 1027px; margin-inline: auto; }
.blog__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.blog__head .post__lede { margin-bottom: 0; }
.blog__eyebrow { margin: 0 0 16px; font-size: 12px; line-height: 16px; letter-spacing: .02em; color: rgba(0, 0, 0, .45); }

.blog__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; }
.blog__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.blog__filter { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 18px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color 150ms ease, color 150ms ease, transform 150ms ease; }
.blog__filter[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.blog__filter span { opacity: .55; font-variant-numeric: tabular-nums; }
.blog__filter:active { transform: scale(.96); }
.blog__search { display: flex; align-items: center; gap: 8px; width: min(280px, 100%); min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); color: rgba(0, 0, 0, .45); }
.blog__search:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
.blog__search input { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.blog__search input::placeholder { color: rgba(0, 0, 0, .45); }
.blog__search input::-webkit-search-cancel-button { cursor: pointer; }

.blog__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.blog .post__cta p { font-size: 17px; line-height: 28px; letter-spacing: -.17px; text-wrap: pretty; }
.blog__count { margin: 16px 0 0; font-size: 12px; line-height: 16px; color: rgba(0, 0, 0, .45); }
.blog__empty { padding: 48px 24px; border-radius: 24px; background: #f8f9fd; text-align: center; }
.blog__empty h2 { margin: 0 0 8px; font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.48px; }
.blog__empty p { margin: 0 0 24px; color: rgba(0, 0, 0, .55); }

/* story card, as on the homepage rail: the whole card is the link */
.story { position: relative; overflow: hidden; border-radius: 24px; background: #f8f9fd; }
.story__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 32px 32px 16px; font-size: 20px; font-weight: 500; line-height: 40px; letter-spacing: -.6px; }
.story__who { display: flex; align-items: center; gap: 17px; min-width: 0; }
.story__mark { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: #000; color: var(--white); }
.story__mark--type { font-family: Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 600; }
.story .story__line { margin: 0; font-size: inherit; font-weight: inherit; line-height: 1.4; text-wrap: balance; }
.story__line strong { font-weight: 500; color: #000; }
.story__line span { color: rgba(0, 0, 0, .5); }
.story__cta { display: inline-flex; flex: none; align-items: center; min-height: 44px; color: #000; text-decoration: none; }
.story__cta span { display: inline-block; margin-left: 2px; transition: translate 200ms cubic-bezier(.23, 1, .32, 1); }
.story__cta::after { content: ""; position: absolute; inset: 0; }
.story__cta:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.story__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 0 32px 32px 93px; font-size: 14px; line-height: 20px; color: rgba(0, 0, 0, .55); }
.story__meta a { position: relative; z-index: 1; color: var(--ink); }
.story__card { aspect-ratio: 1284 / 676; background: #e9eaef; }
.story__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) {
  .blog__filter:hover { background: #ebebef; }
  .blog__filter[aria-pressed="true"]:hover { background: rgba(31, 31, 31, .86); }
  .story__cta:hover span, .story:hover .story__cta span { translate: 3px 0; }
  .story__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
}

/* article */
.post__body .post__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 32px; font-size: 12px; line-height: 16px; letter-spacing: .02em; color: rgba(0, 0, 0, .45); }
.post__body .post__crumbs a { text-decoration: none; }
.post__body .post__crumbs a:hover { color: var(--ink); }
.post__body .btn { text-decoration: none; }
.post__cover { margin: 0 0 48px; }
.post__cover img { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; object-fit: cover; }
.post__cover figcaption { margin-top: 12px; font-size: 12px; line-height: 16px; color: rgba(0, 0, 0, .45); }
.post__toc { margin: 0 0 16px; padding: 24px; border-radius: 16px; background: #f8f9fd; }
.post__body .post__toc-title { margin: 0 0 12px; font-size: 12px; line-height: 16px; letter-spacing: .02em; color: rgba(0, 0, 0, .45); }
.post__body .post__toc ol { margin: 0; }
.post__body .post__toc li { margin: 0 0 4px; font-size: 15px; line-height: 24px; }
.post__body .post__toc a { text-decoration: none; }
.post__body .post__toc a:hover { text-decoration: underline; }
.post__body > section { scroll-margin-top: 96px; }
.post__body h3 a { text-decoration: none; }

/* author */
.author__avatar { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin: 0 0 32px; border-radius: 16px; background: #f8f9fd; color: rgba(0, 0, 0, .45); font-size: 32px; font-weight: 500; letter-spacing: -.64px; }
.author__articles { max-width: 720px; margin: 64px auto 0; }
.author__articles h2 { margin: 0 0 24px; font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.48px; }

@media (max-width: 900px) {
  .story__row { flex-wrap: wrap; gap: 12px; padding: 24px 24px 12px; font-size: 16px; line-height: 28px; letter-spacing: -.32px; }
  .story__mark { width: 32px; height: 32px; border-radius: 6px; }
  .story__mark--type { font-size: 17px; }
  .story__meta { padding: 0 24px 24px; }
}
@media (max-width: 600px) {
  .blog__head { margin-bottom: 40px; }
  .blog__search { width: 100%; }
  .story .story__line { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.43px; }
  .post__toc { padding: 20px; }
}

/* Article blocks: callouts, citations, sub-headings, sources, author box */
.post__callout { margin: 0 0 40px; padding: 24px 28px; border-radius: 16px; background: #f8f9fd; }
.post__callout-label { margin: 0 0 8px !important; font-size: 12px !important; line-height: 16px !important; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: rgba(0, 0, 0, .45) !important; }
.post__callout p:last-child, .post__callout ul { margin-bottom: 0; }
.post__callout--takeaways { margin: 40px 0 0; }
.post__callout li { margin-bottom: 8px; }
.post__cite { margin-left: 2px; font-size: 11px; line-height: 0; }
.post__cite a { text-decoration: none !important; color: rgba(0, 0, 0, .55); }
.post__body h3.post__h3 { margin: 32px 0 12px; font-size: 20px; line-height: 28px; letter-spacing: -.3px; }
.post__body h3.post__q { margin: 28px 0 8px; font-size: 18px; line-height: 26px; }
.post__sources li { font-size: 15px; line-height: 24px; }
.post__table th[scope="row"] { font-size: 15px; line-height: 22px; letter-spacing: 0; font-weight: 500; color: var(--ink); }
.post__author { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 16px; }
.post__author-photo, .author__photo { display: block; width: 96px; height: auto; aspect-ratio: 2 / 3; border-radius: 16px; object-fit: cover; background: #f8f9fd; }
.author__photo { width: 128px; margin: 0 0 32px; }
.post__author-role { margin: 0 0 12px !important; font-size: 15px !important; line-height: 22px !important; color: rgba(0, 0, 0, .55) !important; }
.post__ai { margin: 32px 0 0 !important; font-size: 13px !important; line-height: 20px !important; color: rgba(0, 0, 0, .45) !important; }
@media (max-width: 600px) { .post__author { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; } .post__author-photo { width: 72px; } .post__callout { padding: 20px; } }
