/* The palette and the shared measures. brand() links this stylesheet from
   every finished page, and the names below are declared only here: one
   brand colour, one radius, one label size, one body measure, for all
   six page types. */
:root{--accent:#e0603f;--ongoing:#8fd8ad;
      --radius:16px;--label:11px;--label-track:.1em;
      --body-lh:1.45}
a:link,a:visited{color:inherit}
.resume{max-width:760px;margin:8px auto 0;padding:0 20px;
        color:var(--muted);font-size:11.5px;line-height:1.4}
.resume[hidden],.resume [hidden]{display:none}
.resume a{color:var(--ink)}
.resume p{margin:0}
.resume button:focus-visible,.resume a:focus-visible{outline:2px solid #3d8bfd;
                                                     outline-offset:2px}
.resume-home{width:100%;margin:0;padding:12px 16px;display:grid;gap:3px;
             border:1px solid var(--grid);border-radius:var(--radius);
             background:var(--card);box-shadow:0 8px 30px #0007}
.resume-home h2{margin:0 0 2px;font-size:10.5px;font-weight:650;
                letter-spacing:.12em;line-height:1.3;text-transform:uppercase}
.resume-actions{display:flex;align-items:center;gap:7px;margin-top:6px}
.resume-home a{min-height:25px;padding:3px 9px;display:inline-flex;
               align-items:center;justify-content:center;border:1px solid #7aa7d855;
               border-radius:999px;background:#3d6f9e38;color:#b9d6f2;
               font-size:9.5px;font-weight:700;letter-spacing:.04em;
               text-decoration:none}
.resume-home a:hover{background:#3d6f9e55;border-color:#7aa7d877}
.resume-home a[aria-disabled="true"]{background:#ffffff05;border-color:var(--grid);
                                    color:#68727f;cursor:default}
.resume-home button{min-height:25px;padding:3px 9px;border:0;
                    border-radius:999px;background:#ffffff08;color:var(--muted);
                    font:600 9.5px system-ui,-apple-system,Segoe UI,sans-serif;
                    letter-spacing:.04em;cursor:pointer;
                    box-shadow:inset 0 0 0 1px var(--grid)}
.resume-home button:hover{background:#ffffff12;color:var(--ink)}
.resume-home button:disabled{opacity:.45;cursor:default}
.resume-home button:disabled:hover{background:#ffffff08;color:var(--muted)}
.resume-home .resume-place{min-width:0;margin:0;color:var(--ink);font-size:11.5px;
                           line-height:1.3}
.resume-home .resume-empty-hint{min-width:0;margin:0;color:var(--muted);
                                font-size:10.5px;line-height:1.3}
.resume-home .resume-matchup{min-width:0;margin:0;color:var(--muted);
                             font-size:10.5px;font-weight:600;line-height:1.3}
.resume-home .resume-message{margin-top:0}
.resume .resume-message:empty{display:none}
.resume .resume-message{margin:4px 0 0;color:var(--ink)}
.resume-bout{padding-inline:0}
.resume-bout-row{display:flex;justify-content:flex-start;align-items:center;
                 gap:5px;min-height:32px}
.resume-toggle{position:relative;display:inline-flex;align-items:center;gap:7px;
               min-height:24px;cursor:pointer;font-weight:600}
.resume-toggle input{position:absolute;z-index:1;left:0;top:50%;width:30px;height:18px;
                     margin:0;transform:translateY(-50%);opacity:0;cursor:pointer}
.resume-track{position:relative;width:30px;height:18px;flex:none;
              border-radius:999px;background:#454d57;transition:background .15s}
.resume-track::after{content:"";position:absolute;top:3px;left:3px;
                     width:12px;height:12px;border-radius:50%;background:#dce1e7;
                     transition:left .15s}
.resume-toggle input:checked+.resume-track{background:#2f7656}
.resume-toggle input:checked+.resume-track::after{left:15px;background:#dce1e7}
.resume-toggle input:focus-visible+.resume-track{outline:2px solid #3d8bfd;
                                                outline-offset:3px}
.resume-toggle input:disabled+.resume-track{opacity:.5}
.resume-more{position:relative}
.resume-more summary{display:inline-flex;align-items:center;min-height:24px;
                     list-style:none;cursor:pointer;color:var(--muted);
                     font-size:10px;font-weight:500;text-decoration:underline;
                     text-decoration-color:var(--grid);text-underline-offset:3px}
.resume-more summary::-webkit-details-marker{display:none}
.resume-more summary:hover{color:var(--ink);text-decoration-color:currentColor}
.resume-more summary:focus-visible{outline:2px solid #3d8bfd;outline-offset:2px}
.resume-more p{position:absolute;z-index:2;top:calc(100% + 6px);left:0;
               width:min(310px,calc(100vw - 28px));margin:0;padding:10px 12px;
               border:1px solid var(--grid);border-radius:10px;
               background:var(--card);box-shadow:0 8px 24px #0008;
               color:var(--muted);font-size:11.5px;line-height:1.45}
/* the masthead: not a card. The cards are the content, and a third box above
   them would read as one more thing to open. Ink on the page instead, at the
   column's own width and padding, so the wordmark lines up with the content. */
.mh{max-width:760px;margin:16px auto 34px;padding:0 20px 12px;
    display:grid;grid-template-columns:auto 1fr auto;align-items:center;
    gap:12px 18px;border-bottom:1px solid var(--grid)}
.mh .wm{font-size:12.5px;font-weight:700;letter-spacing:.28em;
        text-transform:uppercase;color:var(--ink);white-space:nowrap}
.mh .cm{color:var(--accent);letter-spacing:0;
        margin-left:-.28em}
/* the wordmark is an <a>, so it needs the two things a UA link brings and a
   span did not: no underline at rest, and no blue. The colour is already the
   ink from .mh .wm; the underline comes back on hover, offset so it clears
   the letterspacing rather than sitting on the baseline. */
.mh a.wm{text-decoration:none}
.mh a.wm:hover{text-decoration:underline;text-decoration-thickness:1px;
               text-underline-offset:5px}
.mh a.wm:focus-visible{outline:2px solid #3d8bfd;outline-offset:3px;border-radius:2px}
.mh .tag{font-size:10px;font-weight:600;letter-spacing:.16em;
         text-transform:uppercase;color:var(--muted);white-space:nowrap}
.site-nav{display:flex;justify-content:center;align-items:center;gap:4px}
.site-nav a,.ft a.ft-link{padding:5px 8px;border-radius:999px;color:var(--muted);
            font-size:10px;font-weight:650;letter-spacing:.08em;
            text-decoration:none;text-transform:uppercase;white-space:nowrap}
.site-nav a:hover,.ft a.ft-link:hover{color:var(--ink);background:#ffffff0a}
.site-nav a:focus-visible{outline:2px solid #3d8bfd;outline-offset:2px}
.crumbs{max-width:760px;margin:12px auto 0;padding:0 20px;
        display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;
        color:var(--muted);font-size:10.5px;line-height:1.4}
.crumbs a{display:inline-flex;align-items:center;padding:3px 6px;
          margin:-3px -6px;border-radius:999px;color:inherit;
          text-decoration:none}
.crumbs a:hover{color:var(--ink);background:#ffffff0a}
.crumbs .sep{color:#68727f}
.crumbs [aria-current="page"]{color:var(--ink);font-weight:600}
/* the strip is the top of the page now, so the nav beneath it takes the gap
   the body edge used to give it. Two classes deep, so it wins regardless of
   the order this block lands in. */
.mh+.crumbs{margin-top:-20px}
.mh+.crumbs+.daynav{margin-top:22px}
.mh+.crumbs+.page>.bnav{margin-top:22px}
.ft{max-width:760px;margin:6px auto 40px;padding:12px 20px 0;
    border-top:1px solid var(--grid);color:var(--muted);
    display:grid;grid-template-columns:1fr auto auto 1fr;gap:16px;
    align-items:center;
    font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.ft .tg{height:28px;display:flex;align-items:center;justify-self:end;
         text-align:right;white-space:nowrap}
.ft .credit{grid-column:1/-1;padding-top:2px;justify-self:center;
            font-size:9.5px;letter-spacing:.04em;text-transform:none;
            text-align:center;white-space:nowrap}
.ft .credit a{min-height:0;display:inline;color:inherit;font-weight:600;
               text-decoration:none;border-bottom:1px solid var(--grid)}
.ft .credit a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.ft .credit a:focus-visible{outline:2px solid #3d8bfd;outline-offset:2px}
.ft .nm{width:max-content;justify-self:start;
         color:var(--ink);font-weight:600;opacity:.75}
.ft .cm{color:var(--accent);letter-spacing:0;
        margin-left:-.12em}
.ft .ft-links{display:contents}
.ft a{color:var(--muted);text-decoration:none;
      border-bottom:1px solid transparent}
.ft a:hover{color:var(--ink);border-bottom-color:var(--grid)}
.ft a:focus-visible{outline:2px solid #3d8bfd;outline-offset:2px}
.ft a.nm{text-decoration:none;border-bottom-color:transparent}
.ft a.nm:hover{opacity:1;text-decoration:underline;text-decoration-thickness:1px;
               text-underline-offset:5px;border-bottom-color:transparent}
.ft a.nm:focus-visible{outline:2px solid #3d8bfd;outline-offset:3px;
                       border-radius:2px}
.mh a,.ft a{min-height:28px;display:inline-flex;align-items:center}
@media (max-width:560px){
  .mh{padding:14px 14px 9px;grid-template-columns:1fr auto;gap:6px 10px}
  .mh .wm{font-size:11px;letter-spacing:.22em}
  .mh .tag{display:none}
  .site-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;
             margin-left:-5px}
  .site-nav a{padding:5px;font-size:9.5px}
  .crumbs{padding:0 14px;font-size:10px}
  .mh+.crumbs{margin-top:-20px}
  .mh+.crumbs+.daynav{margin-top:14px}
  .mh+.crumbs+.page>.bnav{margin-top:14px}
  .ft{padding:11px 14px 0;margin-bottom:28px;
      grid-template-columns:1fr 1fr;
      row-gap:4px}
  .ft .nm{justify-self:start;text-align:left}
  .ft .ft-links{grid-column:2;grid-row:1;display:flex;
                 justify-self:end;align-items:center;gap:2px}
  .ft .tg{grid-column:1/-1;justify-self:end;text-align:right}
  .ft .credit{grid-column:1/-1;justify-self:center;text-align:center}
}
@media print{
  .resume{display:none}
  .mh{margin:0 auto;padding:0 0 5px;border-bottom:1px solid var(--grid)}
  .mh .wm{font-size:10px;letter-spacing:.2em}
  .mh .tag{font-size:8px}
  .site-nav,.crumbs{display:none}
  .ft{margin:6px auto 0;padding:6px 0 0;border-top:1px solid var(--grid);
      font-size:7.5px}
  /* the one colour the palette does not own; on paper it is just ink */
  .mh .cm,.ft .cm{color:inherit}
  .mh .credit a{color:inherit;border-bottom-color:#0004}
  .ft a{color:inherit;border-bottom-color:#0004}
}
