html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.site-nav { font-family: 'IBM Plex Sans', system-ui, sans-serif; max-width: 1100px; margin: 0 auto; padding: 16px 24px 0; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.site-nav .brand { color: #0F1A2A; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav .links { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav .links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: #26313F; text-decoration: none; font-size: 14px; font-weight: 500; transition: background .2s ease; }
.site-nav .links a:hover { background: #E4ECF6; color: #0F1A2A; }
.site-nav .links a[aria-current="page"] { background: #0F1A2A; color: #FFFFFF; }
.site-nav a:focus-visible { outline: 2px solid #1C5CAB; outline-offset: 2px; }

/* "Next case study" link at the end of each story (added by website-build/postprocess.py) */
.next-case { font-family: 'IBM Plex Sans', system-ui, sans-serif; display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.next-case a { text-decoration: none; color: #0F1A2A; background: #FFFFFF; border: 1px solid #DCE1E8; border-radius: 16px; transition: transform .2s ease, box-shadow .2s ease; }
.next-case a:hover { color: #0F1A2A; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,26,42,.12); }
.next-case a:focus-visible { outline: 3px solid #2A78D6; outline-offset: 3px; }
.next-case .next { flex: 999 1 420px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; }
.next-case .next span:first-child { display: flex; flex-direction: column; gap: 6px; }
.next-case .k { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #1C5CAB; }
.next-case .t { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.next-case .arrow { font-size: 24px; color: #1C5CAB; }
.next-case .all { flex: 1 1 160px; display: flex; align-items: center; justify-content: center; padding: 18px 22px; font-size: 15px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .next-case a { transition: none; } .next-case a:hover { transform: none; } }
