/* Shared case-study components — extracted from all 6 case pages.
   Loaded after design-system.css, before each page's inline <style>.
   Edit a shared component here once; it updates every case study. */

nav { position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px max(48px, calc((100% - 1440px) / 2 + 48px));
      background: var(--surface);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s; }
nav.scrolled { border-color: var(--line); }
.nav-name { font-family: var(--serif);
      font-size: 17px;
      color: var(--ink);
      text-decoration: none; }
.nav-back:hover { color: var(--ink); }
.case-hero { padding: 140px max(48px, calc((100% - 1440px) / 2 + 48px)) 80px;
      border-bottom: 1px solid var(--line);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: end; }
.case-eyebrow { font-size: 14px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-faint);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 12px; }
.case-title { font-family: var(--serif);
      font-size: clamp(36px, 4.5vw, 58px);
      line-height: 1.05;
      letter-spacing: -0.01em;
      margin-bottom: 24px; }
.case-subtitle { font-size: 17px;
      font-weight: 300;
      color: var(--ink-muted);
      line-height: 1.7;
      max-width: 480px; }
.meta-label { font-size: 14px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-faint);
      margin-bottom: 8px; }
.meta-value { font-size: 14px;
      font-weight: 300;
      color: var(--ink-muted);
      line-height: 1.6; }
.tag { font-size: 14px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink-muted);
      border: 1px solid var(--line);
      padding: 4px 10px; }
.case-section { padding: 80px max(48px, calc((100% - 1440px) / 2 + 48px));
      border-bottom: 1px solid var(--line);
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 80px; }
.section-label { font-size: 14px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-faint);
      padding-top: 6px;
      position: sticky;
      top: 80px;
      align-self: start; }
.section-heading { font-family: var(--serif);
      font-size: 32px;
      line-height: 1.15;
      margin-bottom: 20px; }
.section-heading em { font-style: italic; color: var(--ink-muted); }
.section-body { font-size: 16px;
      font-weight: 300;
      color: var(--ink-muted);
      line-height: 1.8;
      max-width: 640px; }
.section-body p { margin-bottom: 20px; }
.section-body p:last-child { margin-bottom: 0; }
.callout { margin: 32px 0;
      padding: 24px 28px;
      border-left: 2px solid var(--ink);
      background: var(--surface-alt); }
.callout p { font-size: 17px;
      font-weight: 300;
      font-style: italic;
      color: var(--ink);
      line-height: 1.65;
      margin: 0 !important; }
.next-case { padding: 80px max(48px, calc((100% - 1440px) / 2 + 48px));
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px; }
.next-label { font-size: 14px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-faint);
      margin-bottom: 12px; }
.next-title { font-family: var(--serif);
      font-size: 28px;
      color: var(--ink);
      text-decoration: none;
      display: block;
      transition: color 0.2s; }
.next-title:hover { color: var(--ink-muted); }
.next-arrow { font-size: 32px;
      color: var(--ink-faint);
      text-decoration: none;
      transition: transform 0.2s, color 0.2s;
      flex-shrink: 0; }
.next-arrow:hover { transform: translate(4px, -4px); color: var(--ink); }
.fade-up { opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
