/* Case study pages (work/<slug>/index.html): one stylesheet for all of them. The tokens, nav,
   masthead and footer are copied from the essay page; keep the :root blocks identical to
   index.html. Case-specific rules start at "case study" below. */
@font-face{
  font-family:'Inter';
  src:url('../fonts/inter-var.woff2') format('woff2');
  font-weight:300 800;
  font-display:swap;
}
:root{
  --canvas:#fcfcfc; --wash:#f0f4fe; --card:#ffffff;
  --ink:#020520; --body:#14141e; --caption:#374151; --helper:#6b7280;
  --line:#e2e8f0; --fog:#f1f5f9;
  --blue:#145aff; --blue-soft:#3b82f6; --focus:#0099ff;
  --blue-fill:#145aff;                                  /* filled blue surfaces; same in both modes */
  --paper:#fcfcfc; --mast-end:#e9ebf1;                  /* veils and halos over the dot field; masthead fallback gradient end */
  --ink-fixed:#020520;                                  /* ink that stays dark in both modes */
  --wordmark:#4b4b4b;                                   /* Upwork wordmark grey */
  --dots-back:#fcfcfc; --dots-front:#020520;            /* masthead, footer and essay fold shader colors */
  --green:#16ca2e; --red:#f26052; --orange:#ffa64d;
  --r-card:8.8px; --r-input:13.2px; --r-panel:17.6px; --r-section:44px; --r-pill:9999px;
  --shadow-card:rgba(0,0,0,.1) 0 0 4.4px -2px;
  --shadow-section:rgba(0,0,0,.082) 0 .36px 1.8px -1.4px, rgba(0,0,0,.07) 0 1.37px 7.6px -3.1px, rgba(0,0,0,.016) 0 6.6px 33px -4.7px;
  --shadow-glow:rgba(20,90,255,.1) 0 0 110px -30.8px;
  --shadow-featured:rgba(2,5,32,.14) 0 19.8px 44px -19.8px, rgba(2,5,32,.08) 0 2px 8.8px -2px;
  --t:.16s ease;
  --ease-out-quart:cubic-bezier(.165,.84,.44,1);
  --gutter:clamp(17.6px,4.4vw,44px);
}
/* dark: the ink navy as canvas. Applied by a stored choice (data-theme) or, with none stored, by
   the system preference. The block is written twice because a selector cannot span a media query. */
:root[data-theme="dark"]{
  color-scheme:dark;
  --canvas:#070a1a; --wash:#0f1733; --card:#10142a;
  --ink:#f4f6fb; --body:#e6e9f2; --caption:#aab2c8; --helper:#7d879e;
  --line:#222a47; --fog:#141a33;
  --blue:#3b82f6; --focus:#60a5fa;
  --paper:#070a1a; --mast-end:#10142a;
  --wordmark:#c7cde0;
  --dots-back:#070a1a; --dots-front:#ffffff;
  --shadow-card:rgba(0,0,0,.5) 0 0 4.4px -2px;
  --shadow-section:rgba(0,0,0,.4) 0 .36px 1.8px -1.4px, rgba(0,0,0,.35) 0 1.37px 7.6px -3.1px, rgba(0,0,0,.2) 0 6.6px 33px -4.7px;
  --shadow-glow:rgba(59,130,246,.25) 0 0 110px -30.8px;
  --shadow-featured:rgba(0,0,0,.6) 0 19.8px 44px -19.8px, rgba(0,0,0,.4) 0 2px 8.8px -2px;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --canvas:#070a1a; --wash:#0f1733; --card:#10142a;
    --ink:#f4f6fb; --body:#e6e9f2; --caption:#aab2c8; --helper:#7d879e;
    --line:#222a47; --fog:#141a33;
    --blue:#3b82f6; --focus:#60a5fa;
    --paper:#070a1a; --mast-end:#10142a;
    --wordmark:#c7cde0;
    --dots-back:#070a1a; --dots-front:#ffffff;
    --shadow-card:rgba(0,0,0,.5) 0 0 4.4px -2px;
    --shadow-section:rgba(0,0,0,.4) 0 .36px 1.8px -1.4px, rgba(0,0,0,.35) 0 1.37px 7.6px -3.1px, rgba(0,0,0,.2) 0 6.6px 33px -4.7px;
    --shadow-glow:rgba(59,130,246,.25) 0 0 110px -30.8px;
    --shadow-featured:rgba(0,0,0,.6) 0 19.8px 44px -19.8px, rgba(0,0,0,.4) 0 2px 8.8px -2px;
  }
}
*{margin:0;padding:0;box-sizing:border-box}
::selection{background:var(--blue-fill);color:#fff}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:0s!important}}
body{
  background:var(--canvas);color:var(--body);
  font-family:'Inter',ui-sans-serif,system-ui,-apple-system,sans-serif;font-optical-sizing:auto;
  font-size:18.7px;line-height:1.63;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;transition:color var(--t),background var(--t)}
:focus-visible{outline:2px solid var(--focus);outline-offset:3.3px;border-radius:4.4px}
.skip{position:absolute;left:17.6px;top:-4.4rem;background:var(--ink);color:var(--canvas);padding:.5em 1em;z-index:10;border-radius:var(--r-pill)}
.skip:focus{top:13.2px}
.wrap{max-width:1320px;margin-inline:auto;padding-inline:var(--gutter)}
.pill{
  display:inline-flex;align-items:center;gap:6.6px;
  background:var(--fog);color:var(--caption);border-radius:var(--r-pill);
  padding:4.4px 11px;font-size:13.2px;font-weight:500;line-height:1.4;white-space:nowrap;
}
.btn{
  display:inline-flex;align-items:center;gap:8.8px;
  background:var(--canvas);color:var(--blue);border:1px solid var(--blue);border-radius:var(--r-pill);
  padding:9.9px 19.8px;font-size:15.4px;font-weight:500;line-height:1.2;
}
.btn:hover{background:var(--blue-fill);color:#fff}

/* ---------- reveal button: label shrinks, arrow circle scales in from the right ---------- */
.btn-reveal{
  --h:50.6px;
  position:relative;display:inline-flex;align-items:center;height:var(--h);color:#fff;
}
.btn-reveal .inner,
.btn-reveal .circle{
  background:var(--blue-fill);border-radius:var(--r-pill);height:var(--h);
  display:flex;align-items:center;justify-content:center;
  transition:all .5s var(--ease-out-quart);
}
.btn-reveal .inner{
  position:relative;z-index:1;gap:7.7px;
  padding-inline:48.4px;font-size:15.4px;font-weight:500;line-height:1.2;white-space:nowrap;
}
.btn-reveal .li-logo{width:70.4px;height:17.6px;fill:currentColor;fill-rule:evenodd;flex:none;margin-top:1px}
.btn-reveal .circle{
  position:absolute;right:0;width:var(--h);overflow:hidden;
  scale:0;transform-origin:left center;
}
.btn-reveal .circle span{
  display:grid;place-items:center;width:100%;height:100%;
  transform:translateX(-100%);
  transition:all .3s var(--ease-out-quart) .1s;
}
.btn-reveal .circle svg{width:17.6px;height:17.6px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-reveal:hover .inner,
.btn-reveal:focus-visible .inner{padding-inline:23.1px;margin-right:var(--h)}
.btn-reveal:hover .circle,
.btn-reveal:focus-visible .circle{scale:1}
.btn-reveal:hover .circle span,
.btn-reveal:focus-visible .circle span{transform:translateX(0)}
.btn-reveal:focus-visible{outline-offset:4.4px;border-radius:var(--r-pill)}
.ext{width:13.2px;height:13.2px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- nav, same as the home page ---------- */
.nav{position:relative;z-index:2;background:transparent}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:17.6px;min-height:79.2px;flex-wrap:wrap;padding-block:13.2px}
.brand{display:flex;align-items:center;gap:11px;font-size:19.8px;font-weight:600;color:var(--body)}
.links{display:flex;gap:17.6px;font-size:16.5px;font-weight:500;color:var(--body)}
.links a:hover{color:var(--blue)}
.actions{display:flex;align-items:center;gap:17.6px;font-size:15.4px;font-weight:500}
/* paper halo behind the actions group (the email button) so the dot field never runs up against
   the button; a blurred pill below the text within the nav's stack */
.actions{position:relative;isolation:auto}
.actions::before{
  content:"";position:absolute;inset:-13.2px -28.6px;z-index:-1;pointer-events:none;
  background:var(--paper);border-radius:999px;filter:blur(13.2px);
}
/* mail button: a 44px neutral ring that keeps a 44px footprint in the nav. On hover and focus
   a blue pill with the address opens leftward from behind the circle (clip-path, so the layout
   never shifts and the section links stay centred). Mirror of .btn-reveal, which is blue by
   default and grows an arrow circle on the right. The ring stays neutral at rest so the hero's
   LinkedIn button is the only blue fill in the first viewport. */
.btn-mail{
  --h:44px;
  position:relative;display:block;width:var(--h);height:var(--h);flex:none;
  color:var(--body);border-radius:var(--r-pill);
}
.btn-mail .label{
  position:absolute;right:0;top:0;height:100%;z-index:0;
  display:flex;align-items:center;padding:0 calc(var(--h) + 2px) 0 19.8px;
  background:var(--blue-fill);color:#fff;border-radius:var(--r-pill);
  font-size:15.4px;font-weight:500;line-height:1.2;white-space:nowrap;
  clip-path:inset(0 0 0 100% round var(--r-pill));
  transition:clip-path .5s var(--ease-out-quart);
}
.btn-mail .ico{
  position:absolute;inset:0;z-index:1;display:grid;place-items:center;
  background:color-mix(in srgb,var(--paper) 72%,transparent);backdrop-filter:blur(8.8px);border:1px solid var(--line);border-radius:var(--r-pill);
  transition:background var(--t),color var(--t),border-color var(--t);
}
.btn-mail svg{width:17.6px;height:17.6px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-mail:hover .ico,
.btn-mail:focus-visible .ico{background:var(--blue-fill);border-color:var(--blue-fill);color:#fff}
.btn-mail:hover .label,
.btn-mail:focus-visible .label{clip-path:inset(0 round var(--r-pill))}
.btn-mail:focus-visible{outline-offset:4.4px;border-radius:var(--r-pill)}
/* hamburger, ≤836px: three bars; open state crosses the outer two into an X and fades the middle */
.menu-btn{
  display:none;position:relative;width:44px;height:44px;flex:none;
  border:0;background:transparent;border-radius:var(--r-pill);color:var(--body);cursor:pointer;
  transition:color var(--t);
}
.menu-btn:hover{color:var(--blue)}
.menu-btn:focus-visible{border-radius:var(--r-pill)}
.menu-btn span{
  position:absolute;left:12.1px;width:19.8px;height:2px;border-radius:2px;background:currentColor;
  transition:transform var(--t),opacity var(--t);
}
.menu-btn span:nth-child(1){top:14.3px}
.menu-btn span:nth-child(2){top:20.9px}
.menu-btn span:nth-child(3){top:27.5px}
.menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(6.6px) rotate(45deg)}
.menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.6px) rotate(-45deg)}
/* menu panel: a white card hung from the nav's bottom edge, over the title block */
.menu{
  position:absolute;left:var(--gutter);right:var(--gutter);top:calc(100% - 4.4px);z-index:5;
  background:var(--card);border-radius:var(--r-panel);padding:8.8px;box-shadow:var(--shadow-section);
}
.menu[hidden]{display:none}
.menu a{display:block;padding:13.2px 15.4px;font-size:19.8px;font-weight:500;line-height:1.3;color:var(--ink);border-radius:var(--r-card)}
.menu a:hover{background:var(--fog);color:var(--blue)}
.menu nav+nav{margin-top:8.8px;padding-top:8.8px;border-top:1px solid var(--line)}
.menu .mail{margin-top:17.6px;border-top:1px solid var(--line);color:var(--blue)}
@media (max-width:836px){
  .links{display:none}
  .menu-btn{display:block}
}
@media (min-width:837px){.menu{display:none!important}}

/* ---------- title block: nav + title share one dithered surface, as on the home page ---------- */
.mast{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg, var(--paper) 0%, var(--mast-end) 100%);
  border-radius:0 0 var(--r-section) var(--r-section);
}
.dither{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;transition:opacity 1.4s cubic-bezier(.22,1,.36,1)}
.dither.in{opacity:1}  /* set by the mount script once the first frame is drawn; the CSS gradient shows until then */
.dither canvas{width:100%!important;height:100%!important;display:block}
/* paper veil down the left: solid to the right edge of the title column (the 836px column is
   centred, so about 60% at desktop widths), gone by about 80%, so the clouds show at the right */
.veil-left{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(90deg, var(--paper) 0%, var(--paper) 58%, color-mix(in srgb,var(--paper) 85%,transparent) 66%, color-mix(in srgb,var(--paper) 40%,transparent) 74%, transparent 82%);
}
/* paper behind the nav row, so the profile links at the right sit on plain paper */
.mast::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(180deg, var(--paper) 0%, color-mix(in srgb,var(--paper) 90%,transparent) 16%, transparent 40%);
}
/* under 1100px the column fills the width: the veil turns vertical, paper over the title block
   fading out below the date into a band of dots (the block gets extra bottom padding for it),
   with soft paper at the left edge so the dots fade in from the left */
@media (max-width:1099px){
  .veil-left{display:none}
  .mast::after{
    background:
      linear-gradient(180deg, var(--paper) 0%, var(--paper) 79%, color-mix(in srgb,var(--paper) 50%,transparent) 88%, transparent 97%),
      linear-gradient(90deg, color-mix(in srgb,var(--paper) 80%,transparent) 0%, color-mix(in srgb,var(--paper) 30%,transparent) 22%, transparent 48%);
  }
}
.head{position:relative;z-index:1;padding-block:clamp(35.2px,5.5vw,61.6px) clamp(52.8px,7.7vw,79.2px)}
@media (max-width:1099px){.head{padding-bottom:clamp(105.6px,15.4vw,140.8px)}}  /* room for the dot band under the date */
.head .wrap{max-width:836px}
.head h1{
  margin-top:22px;color:var(--ink);font-weight:600;
  font-size:clamp(35.2px,4.8vw,44px);line-height:1.05;letter-spacing:-.037em;
  max-width:20ch;text-wrap:balance;
}
.deck{margin-top:17.6px;font-size:22px;line-height:1.4;letter-spacing:-.18px;color:var(--caption);max-width:30ch;text-wrap:balance}
.date{margin-top:22px;font-size:15.4px;font-weight:500;color:var(--helper)}


/* ---------- footer, same as the home page ---------- */
footer{background:var(--canvas);color:var(--body);border:1px solid var(--line);border-radius:var(--r-panel);width:calc(100% - 2*var(--gutter));max-width:calc(1320px - 2*var(--gutter));margin:clamp(26.4px,4.4vw,52.8px) auto var(--gutter)}
footer .wrap{padding-block:57.2px 44px}
/* the page ends on the same LinkedIn button the hero opens with; the email is the quiet second option */
footer h2{color:var(--ink);font-weight:600;font-size:clamp(35.2px,4.4vw,44px);line-height:1.05;letter-spacing:-.037em;text-wrap:balance}
footer .cta{display:flex;align-items:center;gap:13.2px 26.4px;flex-wrap:wrap;margin-top:26.4px}
footer .email{font-size:17.6px;font-weight:500;color:var(--caption)}
footer .email:hover{color:var(--blue)}
footer .base{display:flex;justify-content:space-between;align-items:center;gap:17.6px 26.4px;flex-wrap:wrap;margin-top:clamp(44px,6.6vw,61.6px)}
footer .small{font-size:15.4px;color:var(--helper)}
footer nav{display:flex;gap:26.4px;font-size:15.4px;font-weight:500;color:var(--caption)}
footer nav a:hover{color:var(--ink)}
/* theme toggle, in the footer: a 44px ring on the canvas, filled blue on hover. Sun and moon are
   stacked; the one for the mode a click would switch to is shown, the other sits faded, shrunk
   and turned 40°, so a switch crossfades and rotates. aria-pressed mirrors dark. */
.theme-btn{
  position:relative;display:grid;place-items:center;width:44px;height:44px;flex:none;
  background:transparent;color:var(--caption);border:1px solid var(--line);border-radius:var(--r-pill);cursor:pointer;
  transition:background var(--t),color var(--t),border-color var(--t);
}
.theme-btn:hover,.theme-btn:focus-visible{background:var(--blue-fill);border-color:var(--blue-fill);color:#fff}
.theme-btn:focus-visible{outline-offset:4.4px;border-radius:var(--r-pill)}
.theme-btn svg{width:17.6px;height:17.6px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none;overflow:visible}
.theme-btn .sun,.theme-btn .moon{transform-origin:50% 50%;transition:opacity .4s ease,scale .4s ease,rotate .4s ease}
.theme-btn .sun{opacity:0;scale:.6;rotate:40deg}
.theme-btn[aria-pressed="true"] .moon{opacity:0;scale:.6;rotate:-40deg}
.theme-btn[aria-pressed="true"] .sun{opacity:1;scale:1;rotate:0deg}
/* the profile links and the toggle sit on a crisp canvas pill so they never run over the dot
   field (a blurred halo smears through the dots here; the pill's edge reads cleaner) */
footer .end{display:flex;align-items:center;gap:26.4px;padding:8.8px 17.6px;margin:-8.8px -17.6px;background:var(--canvas);border-radius:var(--r-pill)}
/* narrow phones: tighter gaps so the profile links and the toggle fit inside the panel */
@media (max-width:528px){footer nav{gap:13.2px}footer .end{gap:17.6px}}

/* ---------- case study ---------- */
/* The title block lines up with the screenshot under it (1144px column, as the home grid) instead
   of the essay's centred 836px reading column. The text itself stays narrow (h1 20ch, deck 34ch),
   so the left veil still covers it. */
.head .wrap{max-width:calc(1144px + 2*var(--gutter))}
.crumbs{display:flex;align-items:center;gap:13.2px;font-size:15.4px;font-weight:500;color:var(--helper)}
.crumbs a{display:inline-flex;align-items:center;gap:6.6px;color:var(--caption)}
.crumbs a:hover{color:var(--blue)}
.crumbs svg{width:15.4px;height:15.4px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.crumbs .count{font-variant-numeric:tabular-nums}
.crumbs .count::before{content:"";display:inline-block;width:1px;height:13.2px;margin-right:13.2px;vertical-align:-1.5px;background:var(--line)}
.head .pills{display:flex;flex-wrap:wrap;gap:6.6px;margin-top:26.4px}
.head h1{margin-top:15.4px}
.head .deck{max-width:34ch}
.head .cta{display:flex;flex-wrap:wrap;gap:11px;margin-top:26.4px}
.head .btn .ext{width:13.2px;height:13.2px}

.case{max-width:calc(1144px + 2*var(--gutter));padding-block:clamp(35.2px,5.5vw,61.6px) clamp(26.4px,4.4vw,44px)}
/* phones: the screenshot rides up over the masthead's rounded edge, as the featured card does */
@media (max-width:836px){.case{position:relative;z-index:1;margin-top:-39.6px;padding-top:0}}

/* screenshot: the home page's featured treatment, desktop with a phone inset */
.shot{
  position:relative;display:block;aspect-ratio:5/3;overflow:hidden;margin:0;
  border:1px solid var(--line);border-radius:13.2px;background:var(--fog);box-shadow:var(--shadow-featured);
}
.shot img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.shot.video img{object-position:center}
.phone{
  position:absolute;right:clamp(17.6px,3%,35.2px);bottom:clamp(17.6px,3%,35.2px);
  width:clamp(88px,16%,220px);aspect-ratio:390/844;border-radius:clamp(11px,1.8vw,22px);overflow:hidden;
  border:2px solid var(--ink-fixed);background:var(--ink-fixed);box-shadow:color-mix(in srgb,var(--ink-fixed) 25%,transparent) 0 8.8px 26.4px;
}
.play{
  position:absolute;inset:0;display:grid;place-items:center;border:0;background:color-mix(in srgb,var(--ink-fixed) 18%,transparent);cursor:pointer;
  transition:background var(--t);
}
.play:hover{background:color-mix(in srgb,var(--ink-fixed) 30%,transparent)}
.play span{
  display:inline-flex;align-items:center;gap:8.8px;
  background:var(--card);color:var(--blue);border:1px solid var(--blue);border-radius:var(--r-pill);
  padding:11px 22px;font:500 15.4px/1.2 'Inter',sans-serif;
}
.play svg{width:13.2px;height:13.2px;fill:currentColor}
.shot iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* body: what I did on the left, the facts on the right; one column under 836px */
.cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,22rem);gap:clamp(35.2px,6.6vw,88px);margin-top:clamp(44px,6.6vw,70.4px)}
@media (max-width:836px){.cols{grid-template-columns:1fr;gap:44px}}
.cols h2,.facts dt{font-size:13.2px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--helper)}
.did{list-style:none;margin-top:17.6px;display:grid;gap:15.4px;max-width:38rem}
.did li{position:relative;padding-left:24.2px;color:var(--body);text-wrap:pretty}
.did li::before{content:"";position:absolute;left:2.2px;top:.62em;width:7.7px;height:7.7px;border-radius:50%;background:var(--blue)}
.facts dl{display:grid;gap:26.4px}
.facts dd{margin-top:8.8px;font-size:16.5px;line-height:1.5;color:var(--body)}
.tags{list-style:none;display:flex;flex-wrap:wrap;gap:6.6px}
.tags li{background:var(--wash);color:var(--ink);border-radius:var(--r-pill);padding:4.4px 12.1px;font-size:14.3px;font-weight:500;line-height:1.4;white-space:nowrap}
.facts .out{display:flex;flex-direction:column;gap:6.6px}
.facts .out a{display:block;width:fit-content;max-width:100%;overflow-wrap:anywhere;font-weight:500;color:var(--caption)}
.facts .out a:hover{color:var(--blue)}
.facts .out .ext{display:inline;margin-left:6.6px;vertical-align:-.5px}  /* inline, so a wrapped link keeps the arrow after its last word */

/* pager: previous and next case study, wrapping at the ends. ← and → also flip (case.js). */
.pager{display:grid;grid-template-columns:1fr 1fr;gap:13.2px;margin-top:clamp(61.6px,8.8vw,105.6px)}
@media (max-width:528px){.pager{grid-template-columns:1fr}}
.pager a{display:flex;align-items:center;gap:17.6px;padding:22px 26.4px;background:var(--wash);border-radius:var(--r-panel);color:var(--ink);min-width:0}
.pager .next{justify-content:space-between;text-align:right}
.pager .next .arrow{order:2}
.pager span{display:block;font-size:15.4px;color:var(--caption)}
.pager b{display:block;font-size:22px;font-weight:600;line-height:1.3;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pager div{min-width:0}
.pager .prev div{margin-right:auto}
.pager .next div{margin-left:auto}
.pager .arrow{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--card);transition:background var(--t),border-color var(--t),color var(--t)}
.pager .arrow svg{width:17.6px;height:17.6px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pager a:hover .arrow,.pager a:focus-visible .arrow{background:var(--blue-fill);border-color:var(--blue-fill);color:#fff}
.pager a:focus-visible{border-radius:var(--r-panel)}

/* ---------- entrance: as on the essay page ---------- */
.js:not(.ready) :is(.nav,.crumbs,.head .pills,.head h1,.deck,.head .cta,.case){opacity:0}
.ready :is(.nav,.crumbs,.head .pills,.head h1,.deck,.head .cta,.case){
  animation:rise .6s cubic-bezier(.22,1,.36,1) both;animation-delay:var(--enter,0ms);
}
.ready :is(.nav,.case){animation-name:fade}
.ready .nav{animation-duration:.5s}
.head .pills{--enter:70ms}
.head h1{--enter:140ms}
.deck{--enter:210ms}
.head .cta{--enter:280ms}
.case{--enter:340ms}
@keyframes rise{from{opacity:0;translate:0 11px}to{opacity:1;translate:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .js :is(.nav,.crumbs,.head .pills,.head h1,.deck,.head .cta,.case){opacity:1;animation:none}
  .dither{transition-duration:.5s!important}
}
@media print{.skip,.nav,footer,.dither,.veil-left,.pager,.play{display:none}body{background:#fff;color:#000}.mast{background:none}.mast::after{content:none}}
