/* beronilla.rodeo: one screen per section, built around the data */

:root {
  color-scheme: dark;
  --bg:     light-dark(#f7f7f4, #101216);
  --bg-2:   light-dark(#eeeee9, #171a20);
  --fg:     light-dark(#15171c, #eceef2);
  --fg-2:   light-dark(#40444d, #b4b9c4);
  --muted:  light-dark(#5b606b, #8c93a1);
  --line:   light-dark(#d9d9d2, #262a33);
  --line-2: light-dark(#bdbdb4, #3a404c);
  --accent: light-dark(#0b6b73, #5fd0d8);
  --mark:   light-dark(#9a4d00, #ffb454);
  --violet: light-dark(#4f46c8, #a49cff);
  --edu:    light-dark(#3f7033, #8fcf7a);
  --rose:   light-dark(#a3325c, #f58fb4);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --wrap: min(100%, 86rem);
  --top-h: 3.5rem;
  --page-pad: clamp(1.5rem, 4vh, 4rem);
  --view-top: clamp(1.25rem, 5vh, 4rem);
  box-sizing: border-box;
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"]  { color-scheme: dark; }
*, *::before, *::after { box-sizing: inherit; }

html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: clamp(1rem, .25vw + .95rem, 1.1rem)/1.6 var(--sans);
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.kicker[tabindex="-1"]:focus, .page[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.skip { position: absolute; left: -999px; top: 0; background: var(--fg); color: var(--bg); padding: .5rem .8rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0); }
.top-in { display: flex; align-items: center; gap: 1.5rem; width: var(--wrap); margin: 0 auto; height: var(--top-h); padding: 0 var(--gutter); }
.mark { font: 600 .95rem var(--mono); text-decoration: none; letter-spacing: .02em; min-width: 2.75rem; min-height: 2.75rem; display: grid; place-items: center; margin-left: -.6rem; }
.topnav { display: flex; gap: clamp(1rem, 2vw, 2rem); margin-left: auto; position: relative; }
.nav-ind { position: absolute; bottom: .45rem; left: 0; width: 0; height: 1px; background: var(--accent); opacity: 0; transition: left .3s var(--ease), width .3s var(--ease), opacity .2s; }
.nav-ind.on { opacity: 1; }
.topnav a { color: var(--fg-2); text-decoration: none; font-size: .92rem; padding: .5rem 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.topnav a:hover { border-bottom-color: var(--line-2); }
.topnav a:hover, .topnav a[aria-current] { color: var(--fg); }
.top-actions { display: flex; align-items: center; gap: .25rem; }
.pull, .sheet, .swipe { display: none; }
.a11y { position: fixed; left: calc(27px + env(safe-area-inset-left, 0)); bottom: calc(27px + env(safe-area-inset-bottom, 0)); z-index: 25; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ss-rows { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ss-pill { display: flex; align-items: center; gap: 6px; padding: 4px 15px 4px 5px; border-radius: 50px; background: var(--bg-2); color: var(--fg-2); border: 0; box-shadow: 0 4px 40px rgb(0 0 0 / .18); font: .72rem var(--mono); letter-spacing: .01em; cursor: pointer; user-select: none; text-align: left; }
.ss-pill:hover { color: var(--fg); }
.ss-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip { position: relative; display: inline-grid; place-items: center; min-width: 47px; height: 26px; padding: 0 8px; border-radius: 50px; background: var(--bg); color: var(--fg-2); border: 1px solid var(--line); transition: background .15s, color .15s, border-color .15s; }
.chip.set, .a11y-status.is-checked { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.a11y-status input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; border: 0; background: transparent; border-radius: 50px; cursor: pointer; }
.a11y-status input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ss-note { max-width: 18rem; padding: .8rem .95rem; border-radius: 12px; background: var(--bg-2); color: var(--fg-2); box-shadow: 0 4px 40px rgb(0 0 0 / .18); font-size: .85rem; line-height: 1.45; display: grid; gap: .6rem; justify-items: start; }
.ss-note .btn { font-size: .8rem; min-height: 2rem; }
.ss-rows[hidden], .ss-note[hidden] { display: none; }
.no-js .a11y { display: none; }
.cmd-btn { display: flex; gap: .5rem; align-items: center; min-height: 2.75rem; padding: 0 .6rem; color: var(--fg-2); font-size: .9rem; border: 1px solid var(--line); border-radius: 6px; }
.cmd-btn:hover { border-color: var(--line-2); color: var(--fg); }
.cmd-key { font: .78rem var(--mono); color: var(--muted); }

/* one view at a time; a view taller than the screen scrolls inside itself, the document never does */
.page { display: flex; padding: var(--view-top) 0 var(--page-pad); border-top: 1px solid var(--line-2); }
.page:first-of-type { border-top: 0; }
.page-in { width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); align-self: flex-start; }
.js body { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.js main { flex: 1; min-height: 0; }
.js .page { display: none; height: 100%; overflow-y: auto; overflow-x: hidden; border-top: 0; }
@media (min-width: 56.01rem) and (pointer: fine) { .js .page { padding-bottom: calc(var(--page-pad) + 3.6rem); } }
.js .page.on { display: flex; }

/* hero */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); gap: clamp(1rem, 3vh, 3.5rem) clamp(2rem, 5vw, 5rem); align-items: start; }
.meta { display: grid; justify-items: start; gap: .2rem; font-size: .9rem; line-height: 1.45; color: var(--muted); margin-bottom: clamp(.6rem, 1.6vh, 1.4rem); border-left: 1px solid var(--line-2); padding-left: .9rem; }
.meta span { text-wrap: nowrap; }
.meta-short { display: none; }
.name { font-size: min(clamp(2.6rem, 7vw, 6.5rem), 10dvh); line-height: .95; font-weight: 650; letter-spacing: -.035em; }
.name span { display: block; }
.tag em { font-style: italic; color: var(--fg); }
.tag { margin-top: clamp(.6rem, 2vh, 2rem); max-width: 34rem; font-size: min(clamp(1.05rem, 1vw + .8rem, 1.55rem), 3dvh); line-height: 1.4; color: var(--fg-2); text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(.9rem, 2.5vh, 2.25rem); }
.btn { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--line-2); border-radius: 6px; text-decoration: none; font-weight: 550; font-size: .95rem; }
.btn:hover { border-color: var(--fg); }
.btn.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); }

/* sections */
.sec { display: grid; grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 4rem); }
.sec-head { align-self: start; }
.kicker { font-size: .92rem; font-weight: 650; line-height: 1.4; color: var(--accent); }
.kicker-sub { margin-top: .4rem; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.sec-body { min-width: 0; }
.statement { font-size: min(clamp(1.8rem, 3vw + .7rem, 3.2rem), 7dvh); line-height: 1.1; letter-spacing: -.025em; font-weight: 650; margin-bottom: clamp(.5rem, 1.5vh, 1rem); }
.statement-lg { font-size: min(clamp(2.4rem, 5vw + .8rem, 5rem), 8dvh); }
.statement .w { display: inline-block; }
.js .statement.rise .w { opacity: 0; transform: translateY(.45em); animation: rise .48s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.lead { font-size: clamp(1.02rem, .4vw + .9rem, 1.25rem); color: var(--fg-2); max-width: 46rem; text-wrap: pretty; }
.rules { margin-top: clamp(1.5rem, 4vh, 3rem); display: grid; gap: clamp(1rem, 2.5vh, 2.25rem) clamp(1.5rem, 3vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)); }

/* interests: four areas set as one index; choosing an item keeps its column and opens the fact beside it */
.field-wrap { position: relative; }
.ifield { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 2.6vw, 2.75rem); align-items: start; }
.cat { min-width: 0; padding-bottom: clamp(.7rem, 1.9vh, 1.3rem); border-bottom: 1px solid var(--line); transform: translateX(var(--tx, 0px)); transition: transform .42s var(--ease), opacity .42s var(--ease); }
.cat-name { position: relative; font-size: clamp(1.1rem, .5vw + .95rem, 1.5rem); font-weight: 650; letter-spacing: -.015em; line-height: 1.2; padding-top: clamp(.5rem, 1.5vh, 1rem); margin-bottom: clamp(.6rem, 2vh, 1.4rem); transition: opacity .35s var(--ease); }
.cat-name::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--line-2); transform-origin: left center; transition: transform .5s var(--ease) var(--rd, 0ms); }
.cat-list { display: grid; align-content: start; gap: clamp(.5rem, 1.7vh, 1.15rem); }
.sub { font-size: .78rem; font-weight: 500; color: var(--muted); transition: opacity .35s var(--ease); }
.cat-list > .sub:not(:first-child) { margin-top: clamp(.9rem, 3vh, 2.2rem); }
.node { position: relative; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.node-top { position: relative; display: grid; gap: .12rem; justify-items: start; text-align: left; padding: .5rem 0; margin: 0; color: inherit; text-decoration: none; }
.node-top::before { content: ""; position: absolute; left: -.6rem; top: .55rem; bottom: .55rem; width: 2px; border-radius: 1px; background: var(--accent); transform: scaleY(0); transition: transform .25s var(--ease); }
.node-top:hover::before, .node-top:focus-visible::before, .node.live .node-top::before { transform: scaleY(1); }
.node-top:hover .node-name, .node-top:focus-visible .node-name { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.node-name { font-weight: 600; font-size: clamp(1rem, .3vw + .93rem, 1.2rem); line-height: 1.25; }
.node-flavour { color: var(--muted); font-size: clamp(.78rem, .15vw + .74rem, .9rem); line-height: 1.45; }
.node.live .node-name { color: var(--accent); font-weight: 700; }
.js .node-levels { display: none; }
/* opening: the chosen column slides to the left edge, the rest clear out, the fact fills the space */
.js .ifield.zoomed { pointer-events: none; }
.js .ifield.zoomed .cat:not(.held) { opacity: 0; transition-delay: var(--fd, 0ms); }
.focus { position: absolute; left: var(--cardx, 0px); right: 0; top: var(--cardy, 0px); z-index: 2; display: grid; align-content: start; justify-items: start; gap: .7rem; max-width: 40rem; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.focus[hidden] { display: none; }
.focus.on { opacity: 1; pointer-events: auto; }
.focus > * { opacity: 0; transform: translateY(14px); transition: opacity .38s var(--ease), transform .38s var(--ease); }
.focus.on > * { opacity: 1; transform: none; }
.focus.on .fact { transition-delay: .06s; }
.focus.on .focus-foot { transition-delay: .12s; }
.trail { display: grid; gap: .25rem; }
.trail:empty { display: none; }
.trail li { color: var(--fg-2); opacity: .55; font-size: 1rem; line-height: 1.45; }
.fact { font-size: clamp(1.35rem, 1.5vw + .8rem, 2.15rem); line-height: 1.22; letter-spacing: -.02em; font-weight: 620; text-wrap: pretty; }
.fact a { text-decoration-color: var(--line-2); }
.focus-foot { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; }
.btn.ghost { border-color: transparent; color: var(--fg-2); padding: 0 .8rem; }
.btn.ghost:hover { border-color: var(--line-2); color: var(--fg); }
.focus-foot .btn[disabled] { opacity: .6; cursor: default; }
.focus-foot .btn[hidden] { display: none; }
/* arrival: one sequence per area, the rule draws, the label fades, the items land */
.js .ifield:not(.in) .node, .js .ifield:not(.in) .cat-name, .js .ifield:not(.in) .sub { opacity: 0; }
.js .ifield:not(.in) .cat-name::before { transform: scaleX(0); }
.js .ifield:not(.in) .node { transform: translateY(10px); }
.js .ifield.in .node { transition-delay: var(--d, 0ms); }
.js .ifield.in .cat-name { transition-delay: var(--rd, 0ms); }
.js .ifield.in .sub { transition-delay: calc(var(--rd, 0ms) + 120ms); }
.no-js .ifield { display: block; min-height: 0; }
.no-js .cat { margin-bottom: 1.25rem; border-bottom: 0; }
.no-js .node { margin: 0 0 1rem; }
.no-js .node-top::before { display: none; }
.no-js .node-levels { display: grid; gap: .15rem; padding: .25rem 0 0 .9rem; border-left: 1px solid var(--line-2); color: var(--fg-2); font-size: .95rem; }
@media (max-width: 56rem) {
  .ifield { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem clamp(1rem, 4vw, 2rem); }
  .cat { padding-bottom: .7rem; }
  .cat-name { font-size: 1.05rem; padding-top: .5rem; margin-bottom: .45rem; }
  .cat-list { gap: .35rem; }
  .node-top { padding: .35rem 0; }
  .node-top::before { left: -.45rem; top: .4rem; bottom: .4rem; }
  .node-name { font-size: 1rem; }
  .node-flavour { font-size: .78rem; }
  .js .ifield.zoomed { display: block; }
  .js .ifield.zoomed .cat:not(.held) { display: none; }
  .js .ifield.zoomed .cat.held { transform: none; opacity: 1; }
  .cat-list { gap: .45rem; }
  /* keep the last column's rule clear of the fixed settings pill */
  .js #interests > .page-in { padding-bottom: 6.5rem; }
  .field-wrap.zoomed .focus { position: static; max-width: none; margin-top: 1.2rem; }
}

/* principles */
.tenets { margin-top: clamp(.75rem, 2.5vh, 2.5rem); display: grid; gap: clamp(.5rem, 1.8vh, 2rem) clamp(1.5rem, 3vw, 3.5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tenets > li { border-top: 1px solid var(--line-2); padding-top: clamp(.45rem, 1.2vh, .8rem); transition: opacity .25s var(--ease); }
/* when the four do not fit the screen they fold to their titles and open one at a time */
.js .tenets.fold > li { cursor: pointer; }
.js .tenets.fold > li > h3 { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0; }
.js .tenets.fold > li > h3::after { content: "+"; color: var(--muted); font-weight: 400; }
.tenet-btn { flex: 1; font: inherit; letter-spacing: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.js .tenets.fold > li.open > h3 { margin-bottom: .3rem; }
.js .tenets.fold > li.open > h3::after { content: "\2212"; }
.js .tenets.fold > li > p { display: none; }
.js .tenets.fold > li.open > p { display: block; }
.js .tenets.fold > li.open .tenet-why { max-height: none; opacity: 1; margin-top: .6rem; }
.tenets > li:focus-visible { outline-offset: 6px; }
@media (max-width: 56rem) { .tenets { grid-template-columns: minmax(0, 1fr); } }
@media (hover: hover) {
  .js .tenet-why { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .4s var(--ease), opacity .3s var(--ease), margin-top .3s var(--ease); }
  .js .tenets > li:hover .tenet-why, .js .tenets > li:focus-within .tenet-why { max-height: 8rem; opacity: 1; margin-top: .6rem; }
  .js .tenets:hover > li:not(:hover), .js .tenets:focus-within > li:not(:focus-within) { opacity: .5; }
}
.tenets h3 { font-size: 1.05rem; font-weight: 620; margin-bottom: .3rem; }
.tenets p { color: var(--fg-2); font-size: .95rem; text-wrap: pretty; }
.tenet-why { margin-top: .6rem; font-size: .88rem !important; color: var(--muted) !important; font-style: italic; }
.rules li { border-top: 1px solid var(--line); padding-top: 1rem; }
.rules h3, .built h3 { font-size: 1.05rem; font-weight: 620; margin-bottom: .35rem; }
.rules p, .built p { color: var(--fg-2); font-size: .96rem; text-wrap: pretty; }
/* contact form: plain fields, the same radius and rules as the buttons */
.mailform { margin-top: clamp(.75rem, 2vh, 2rem); display: grid; gap: clamp(.5rem, 1.2vh, .9rem) 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 46rem; }
.field { display: grid; gap: .3rem; position: relative; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: .75rem; margin-top: -.5rem; min-height: 1.2rem; }
.meter { flex: 1; height: 2px; background: transparent; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s linear; }
.count { font: .72rem var(--mono); color: var(--muted); min-width: 5.5em; text-align: right; }
.btn.sending { position: relative; overflow: hidden; }
.btn.sending::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 40%; background: var(--bg); animation: sending 1s linear infinite; }
@keyframes sending { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.field-wide, .mailform .cta { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea { font: inherit; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: .5rem 0; min-height: 2.75rem; width: 100%; }
.field textarea { resize: vertical; min-height: clamp(4.5rem, 12dvh, 7rem); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.mailform .cta { margin-top: .25rem; }
@media (max-width: 22rem) { .mailform { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 56rem) and (max-height: 700px) { .node-flavour { display: none; } .cat-list { gap: 0; } .ifield { gap: .6rem 1rem; } #contact .foot p:nth-child(2) { display: none; } .pivot-hl { display: none; } }

/* experience: one role at a time, oldest first, stepped through */
.xp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "top top" "band band" "main side"; column-gap: clamp(2rem, 5vw, 5rem); row-gap: clamp(.75rem, 2vh, 1.5rem); align-content: start; align-items: start; }
.xp-top { grid-area: top; display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: baseline; }
.xp-top .kicker-sub { margin-top: 0; }
.band-hl { grid-column: 1 / -1; min-height: 1.4em; margin-top: .15rem; font-size: .85rem; line-height: 1.4; color: var(--fg-2); }
.band-wrap { grid-area: band; --band-h: clamp(1.6rem, 3.6vh, 2.4rem); padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.band-years { position: relative; height: 1.2rem; font: .66rem/1 var(--mono); color: var(--muted); }
.band-years span { position: absolute; top: 0; transform: translateX(-50%); }
.band-years span:first-child { transform: none; }
.band-years span::after { content: ""; position: absolute; left: 50%; top: .85rem; width: 1px; height: 6px; background: var(--line-2); }
.band-years span:first-child::after { left: 0; }
.band { position: relative; height: var(--band-h); }
.cell { position: absolute; top: 0; bottom: 0; background: transparent; }
.run { position: absolute; top: 20%; bottom: 20%; border-radius: 3px; opacity: 1; transform-origin: left center; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.run.cgap { background: var(--line); opacity: .55; }
.run-lab { display: none; position: absolute; inset: 0; padding: 0 .35rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .74rem; line-height: var(--band-h); color: var(--bg); font-weight: 650; }
.pivot-key { display: none; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .6rem; font-size: .82rem; color: var(--fg-2); }
.pivot-key li { display: inline-flex; align-items: center; gap: .4rem; }
.pivot-key .sw { width: .8rem; height: .8rem; border-radius: 50%; }
.run.hov { transform: scaleY(1.1); }
.run.on { opacity: 1; transform: scaleY(1.22); }
.js .band:not(.in) .run { transform: scaleX(0); opacity: 0; }
.js .band.in .run { transition: transform .45s var(--ease) calc(var(--i, 0) * 28ms), opacity .3s linear calc(var(--i, 0) * 28ms); }
.js .band.in.settled .run { transition: transform .3s var(--ease), opacity .3s var(--ease); }
.seg { position: absolute; top: -.5rem; bottom: -.5rem; background: transparent; border: 0; padding: 0; cursor: pointer; border-radius: 4px; }
.seg:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ubar { position: absolute; top: calc(86.6% + 4px); height: 2px; border-radius: 1px; opacity: 0; transform: scaleX(0); transform-origin: left center; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.ubar.on { opacity: 1; transform: none; }
.sc0 { background: var(--edu); } .sc1 { background: var(--mark); } .sc2 { background: var(--violet); } .sc3 { background: var(--accent); }
.band-under { position: relative; height: 2.4rem; font-size: .76rem; line-height: 1; color: var(--muted); }
.band-under .deg { position: absolute; top: .3rem; height: 1.5px; background: var(--edu); }
.band-under .deg::after { content: ""; position: absolute; left: 0; top: 1.5px; width: 1px; height: .4rem; background: var(--line-2); }
.band-under .deg-lab { position: absolute; top: .95rem; white-space: nowrap; }
.band-under .mk { position: absolute; top: 0; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 6px solid var(--accent); transform: translateX(-50%); }
.band-under .mk-lab { position: absolute; right: 0; top: .95rem; text-align: right; white-space: nowrap; }
.xp-main { grid-area: main; display: grid; row-gap: .9rem; min-width: 0; }
.xp-side { grid-area: side; display: grid; gap: clamp(.9rem, 2vh, 1.5rem); border-left: 1px solid var(--line); padding-left: clamp(1.25rem, 2.5vw, 2.5rem); }
.xp-nav { display: flex; align-items: center; gap: .9rem; }
.xp-nav .btn { min-height: 2.25rem; padding: 0 .9rem; font-size: .85rem; }
.xp-nav .btn:disabled { opacity: .4; cursor: default; }
.xp-pos { font: .75rem var(--mono); color: var(--muted); line-height: 2.25rem; }
.no-js .xp-nav, .no-js .band-wrap { display: none; }
.js .xp-roles { display: grid; }
.js .xp-roles > li { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.js .xp-roles > li.is-active, .js .xp-roles > li.leaving { opacity: 1; visibility: visible; }
.xp .xp-roles > li, .xp .xp-roles > li:first-child { border-top: 0; padding-top: 0; }
.xp-roles .tl-when { margin-bottom: .35rem; display: block; }
.xp-roles .tl-what h3 { font-size: clamp(1.25rem, 1vw + .85rem, 1.6rem); letter-spacing: -.015em; line-height: 1.15; }
.xp-roles .tl-role { font-size: .95rem; margin-top: .25rem; }
.xp-roles .tl-what .tl-role + p { font-size: .95rem; line-height: 1.55; margin-top: .6rem; max-width: 58ch; }
.xp-roles .skills { margin-top: .8rem; }
.tl-what p { font-size: .89rem; }
.cred { transition: opacity .3s var(--ease); }
.xp-side li.cred { position: relative; }
.xp-side li.cred::before { content: ""; position: absolute; left: calc(-1 * clamp(1.25rem, 2.5vw, 2.5rem) - 1px); top: .45rem; bottom: .2rem; width: 2px; border-radius: 1px; background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease); }
.xp-side li.cred.earned::before { transform: none; }
.xp-side li.cred.earned > .tl-when::after { content: "During this role"; margin-left: .6rem; font: 600 .78rem var(--sans); color: var(--accent); }
.honours { margin-top: .3rem; }
.xp-side .tl-when { display: block; }
.xp-side .tl-what h4 { font-size: 1rem; }
.no-js .xp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "main" "side"; row-gap: 1.5rem; }
.no-js .xp-roles { display: grid; gap: .75rem; }
.xp-block > .kicker { margin-bottom: .6rem; }
.tl-role { color: var(--fg-2); font-size: .88rem; line-height: 1.4; }
.tl-what .tl-role + p { margin-top: .3rem; }
.tl > li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0 1.5rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.tl > li:first-child { border-top: 0; padding-top: 0; }
.tl-when { font: .8rem/1.7 var(--mono); color: var(--muted); }
.tl-what h3, .tl-what h4 { font-size: 1.02rem; font-weight: 620; }
.tl-what p { color: var(--fg-2); margin-top: .12rem; font-size: .92rem; line-height: 1.48; }
.tl-what sup { font-size: .65em; line-height: 0; }
.skills { display: flex; flex-wrap: wrap; gap: 0 .35em; margin-top: .55rem; font-size: .85rem; line-height: 1.5; color: var(--muted); }
.skills li:not(:last-child)::after { content: ","; display: inline-block; }

/* inside the experience page every entry stacks its date above the name */
.xp .tl > li { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
.xp-side .tl > li { padding: .5rem 0 0; }
.xp-side .tl > li:first-child { border-top: 0; padding-top: 0; }
.xp-block > .kicker { margin-bottom: .5rem; }

/* projects */
.built { display: grid; gap: clamp(.9rem, 2vh, 1.6rem) clamp(1.5rem, 3vw, 3rem); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.built .skills { margin-top: .6rem; }
.built-meta a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .2em; }
.built-meta a:hover { text-decoration-color: var(--accent); }

.built > li { border-top: 1px solid var(--line-2); padding-top: 1rem; }
.built > li:not(.minor) h3 { font-size: clamp(1.2rem, .7vw + .95rem, 1.55rem); letter-spacing: -.015em; line-height: 1.2; margin-bottom: .45rem; }
.built > li:not(.minor) > p:not(.built-meta) { font-size: clamp(.98rem, .2vw + .93rem, 1.08rem); }
.built > li.minor { border-top-color: var(--line); padding-top: .75rem; margin-top: clamp(.4rem, 2vh, 1.5rem); }
.built > li.minor h3 { font-size: .98rem; }
.built > li.minor > p:not(.built-meta) { font-size: .88rem; }
.built > li.minor .built-meta { font-size: .8rem; }
.built > li.minor .skills { font-size: .8rem; }
.built > li > a { display: block; text-decoration: none; }
.built > li > a:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); }
.built .built-meta { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.st { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; margin-right: .45rem; }
.st-live { background: var(--accent); }
.st-plan { box-shadow: inset 0 0 0 2px var(--line-2); }
.st-here { background: var(--fg); }
.js .page:not(.seen) .st { transform: scale(0); }
.js .page.seen .st { animation: pop .5s var(--ease) both; }
.js .page.seen .built > li:nth-child(2) .st { animation-delay: 120ms; }
.js .page.seen .built > li:nth-child(3) .st { animation-delay: 240ms; }
.js .page.seen .built > li:nth-child(4) .st { animation-delay: 360ms; }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
.built .skills li { cursor: default; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: .25em; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.built .skills li.lit { color: var(--fg); text-decoration-color: var(--accent); }
.arrow { display: inline-block; width: .9em; height: .9em; margin-left: .3em; vertical-align: -.05em; }
.arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the pivot: one dot per calendar month, regrouped in place */
.no-js .pivot { display: none; }
.pivot { margin: 0; }
.pivot-head { display: grid; gap: clamp(.4rem, 1vh, .7rem); margin-bottom: clamp(.5rem, 1.4vh, 1rem); }
.pivot-q { font: .78rem/1.5 var(--mono); color: var(--muted); }
.pivot-q span { color: var(--fg-2); }
.pivot-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .88rem; }
.pivot-lab { color: var(--muted); margin-right: .15rem; }
.pivot-ctrl button { font: inherit; color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 .6rem; min-height: 2.75rem; }
.pivot-ctrl button:hover { border-color: var(--fg); color: var(--fg); }
.pivot-ctrl button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.pivot-plot { position: relative; transition: height .5s var(--ease); }
.glabel { position: absolute; left: 0; font: .7rem/1 var(--mono); color: var(--muted); white-space: nowrap; }
.glabel span { color: var(--fg-2); }
.glabel.side { max-width: 92px; overflow: hidden; text-overflow: ellipsis; font-size: .62rem; }
.glabel.side span { margin-right: .3em; }
.maxis { position: absolute; top: 0; font: .62rem/1 var(--mono); color: var(--muted); text-align: center; }
.dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; opacity: 0; transition: opacity .25s linear; will-change: transform; }
.is-in .dot { opacity: 1; }
.c0 { background: var(--edu); }
.c1 { background: var(--mark); }
.c2 { background: var(--violet); }
.c3 { background: var(--accent); }
.c4 { background: var(--muted); }
.c5 { background: var(--rose); }
.both.b0 { background: linear-gradient(135deg, currentColor 0 50%, var(--edu) 50% 100%); }
.c1.both { color: var(--mark); }
.c5.both { color: var(--rose); }
.cgap { background: none; box-shadow: inset 0 0 0 2px var(--line-2); }
.pivot-plot[data-hl] .dot { opacity: .22; }
.pivot-plot[data-hl="c0"] .dot.c0, .pivot-plot[data-hl="c0"] .dot.b0 { opacity: 1; }
.pivot-plot[data-hl="c1"] .dot.c1, .pivot-plot[data-hl="c1"] .dot.b1 { opacity: 1; }
.pivot-plot[data-hl="c2"] .dot.c2, .pivot-plot[data-hl="c2"] .dot.b2 { opacity: 1; }
.pivot-plot[data-hl="c3"] .dot.c3, .pivot-plot[data-hl="c3"] .dot.b3 { opacity: 1; }
.pivot-plot[data-hl="c4"] .dot.c4, .pivot-plot[data-hl="c4"] .dot.b4 { opacity: 1; }
.pivot-plot[data-hl="c5"] .dot.c5, .pivot-plot[data-hl="c5"] .dot.b5 { opacity: 1; }
.pivot-plot[data-hl="gap"] .dot.cgap { opacity: 1; }
.pivot-hl { min-height: 1.5em; font: .78rem/1.5 var(--mono); color: var(--fg-2); }

/* footer: part of the last page, so the page ends where the page ends */
.page-end { flex-direction: column; justify-content: flex-start; }
.page-end > .page-in { margin: 0 auto; }
.foot { width: calc(var(--wrap) - 2 * var(--gutter)); margin: auto auto 0; padding: clamp(.6rem, 1.5vh, 1.25rem) 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: .8rem; color: var(--muted); }
.foot p { margin: 0; }
#colophon-live { font-family: var(--mono); font-size: .8rem; }
.linkish { padding: 0; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .22em; color: var(--fg-2); font-size: inherit; }

/* command palette */
.cmdk { border: 1px solid var(--line-2); border-radius: 8px; padding: 0; background: var(--bg); color: var(--fg); width: min(34rem, calc(100vw - 2rem)); margin: 12vh auto auto; }
.cmdk[open] { animation: cmdk-in .16s var(--ease); }
@keyframes cmdk-in { from { opacity: 0; transform: scale(.98); } }
.cmdk::backdrop { background: rgb(0 0 0 / .5); }
.cmdk-bar { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.cmdk-input { flex: 1; min-width: 0; padding: 1rem 1.1rem; border: 0; background: transparent; color: inherit; font: inherit; outline: none; }
.cmdk-close { display: none; font-size: .95rem; color: var(--fg-2); padding: 0 1.1rem; min-height: 2.75rem; }
.cmdk-list { max-height: 50vh; overflow: auto; padding: .4rem; }
.cmdk-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem .7rem; border-radius: 5px; cursor: pointer; }
.cmdk-list li[aria-selected="true"] { background: var(--bg-2); }
.cmdk-list small { font-size: .8rem; color: var(--muted); }
.cmdk-list .empty { color: var(--muted); cursor: default; }
.cmdk-hint { display: flex; gap: 1rem; padding: .6rem 1rem; border-top: 1px solid var(--line); font: .75rem var(--mono); color: var(--muted); }
::highlight(cmdk-match) { background: var(--mark); color: var(--bg); }
.toast { position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: .6rem 1rem; border-radius: 6px; font-size: .9rem; opacity: 0; pointer-events: none; }
.toast.is-on { opacity: 1; }

/* theme switch: the new look spreads out from the button */

/* 404 */
.notfound { width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 10vw, 7rem) var(--gutter); }
.notfound h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -.03em; margin: .5rem 0 1rem; }

@media (max-height: 820px) and (min-width: 56rem) { :root { --page-pad: .7rem; } }

@media (max-width: 86rem) {
  .sec { grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr); }
  .tl > li { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0 1.1rem; padding: .65rem 0; }
}

@media (max-height: 690px) {
  .skills { font-size: .8rem; }
}

@media (max-width: 52rem) {
  .built { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 68rem) {
  .xp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "band" "main" "side"; row-gap: clamp(.6rem, 1.6vh, 1rem); }
  .xp-top .kicker-sub { display: none; }
  .band-hl { font-size: .72rem; min-height: 1.2em; }
  .band-wrap { --band-h: 1.3rem; padding-bottom: .9rem; }
  .band-years { height: .95rem; font-size: .56rem; }
  .band-years span::after { top: .7rem; }
  .band-years span:nth-child(even) { display: none; }
  .band-under { height: 1.9rem; font-size: .68rem; }
  .band-under .deg-lab, .band-under .mk-lab { top: .85rem; }
  .band-under .long { display: none; }
  .xp-main { row-gap: .5rem; }
  .xp-roles .tl-what h3 { font-size: 1.15rem; }
  .xp-roles .tl-role { font-size: .88rem; }
  .xp-roles .tl-what .tl-role + p { font-size: .88rem; line-height: 1.45; margin-top: .4rem; }
  .xp-roles .skills { margin-top: .5rem; }
  .xp-nav .btn { min-height: 2rem; padding: 0 .7rem; }
  .xp-pos { line-height: 2rem; }
  .xp-side { gap: .5rem; border-left: 0; padding-left: 0; }
  .xp-side .skills, .xp-side .honours, #education .tl-what > p { display: none; }
  .xp-block > .kicker { margin-bottom: .25rem; }
  .xp-side .tl > li { padding-top: .3rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 .6rem; align-items: baseline; }
  .xp-side .tl-when { font-size: .72rem; line-height: 1.4; }
  .xp-side li.cred::before { left: -.6rem; }
  .xp-side .tl-what { display: flex; flex-wrap: wrap; gap: 0 .5rem; align-items: baseline; }
  .xp-side .tl-what h4 { font-size: .9rem; }
  .xp-side .tl-what p { margin-top: 0; font-size: .82rem; }
}
@media (max-width: 68rem) and (max-height: 720px) {
  .xp { row-gap: .35rem; }
  .band-under { display: none; }
  .band-wrap { padding-bottom: .5rem; }
  .xp-side .xp-block:first-child { display: none; }
  .xp-roles .tl-what .tl-role + p { font-size: .84rem; line-height: 1.4; }
  .xp-pos { display: none; }
  .band-hl { display: none; }
}
@media (max-width: 56rem) {
  .topnav, .cmd-key { display: none; }
  .top-actions { margin-left: auto; }
  .sec { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; }
  .meta-full { display: none; }
  .meta-short { display: block; }
  .tl > li { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
}

@media (pointer: coarse) { .cmdk-hint { display: none; } }
@media (max-width: 56rem), (pointer: coarse) {
  .cmd-btn { display: none; }
  .pull { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: .45rem; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .78rem; white-space: nowrap; z-index: 21; }
  .pull i { width: 1.4rem; height: 3px; border-radius: 2px; background: var(--line-2); }
  .js .pull { animation: pull-nudge 2.4s var(--ease) .8s 2; }
  @keyframes pull-nudge { 0%, 100% { transform: translate(-50%, -50%); } 30% { transform: translate(-50%, calc(-50% + 6px)); } 60% { transform: translate(-50%, -50%); } }
  .sheet { display: block; position: fixed; inset: 0; z-index: 30; background: var(--bg); color: var(--fg); transform: translateY(-100%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s .38s; padding-top: env(safe-area-inset-top, 0); }
  .sheet.open { transform: none; visibility: visible; transition: transform .38s var(--ease); }
  .sheet.drag { transition: none; visibility: visible; }
  .sheet-in { display: flex; flex-direction: column; height: 100%; padding: 0 var(--gutter); }
  .sheet-title { font-size: .92rem; font-weight: 650; color: var(--accent); padding: 1.2rem 0 .4rem; border-bottom: 1px solid var(--line); }
  .sheet-list { flex: 1; display: flex; flex-direction: column; justify-content: safe center; gap: .1rem; overflow: auto; }
  .sheet-list button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem .4rem; font: inherit; font-size: 1.35rem; font-weight: 560; color: var(--fg); text-align: left; border-radius: 6px; }
  .sheet-list button:active { background: var(--bg-2); }
  .sheet-list small { font-size: .8rem; font-weight: 400; color: var(--muted); }
  .sheet-list li.cur button { color: var(--accent); }
  .sheet-close { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 1rem 0 calc(1.2rem + env(safe-area-inset-bottom, 0)); font-size: .82rem; color: var(--muted); }
  .sheet-close i { width: 2.2rem; height: 4px; border-radius: 2px; background: var(--line-2); }
  .js .page > .page-in { padding-bottom: 2.9rem; }
  .js .page-end > .foot { padding-bottom: 2.9rem; }
  .a11y { left: calc(.75rem + env(safe-area-inset-left, 0)); bottom: calc(3rem + .6rem + env(safe-area-inset-bottom, 0)); }
  .ss-pill { padding: 3px 12px 3px 4px; font-size: .68rem; }
  .js .swipe { display: flex; align-items: center; justify-content: center; gap: .6rem; flex: none; height: 3rem; padding-bottom: env(safe-area-inset-bottom, 0); border-top: 1px solid var(--line); background: var(--bg); font-size: .78rem; color: var(--muted); }
  .swipe-dots { display: flex; gap: .35rem; }
  .swipe-dots button { width: 1.4rem; height: 1.4rem; display: grid; place-items: center; }
  .swipe-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .2s, box-shadow .2s, transform .2s var(--ease); }
  .swipe-dots button[aria-current]::before { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); transform: scale(1.25); }
  .chev { width: .45rem; height: .45rem; border-left: 1.5px solid var(--line-2); border-bottom: 1.5px solid var(--line-2); transform: rotate(45deg); }
  .chev.r { transform: rotate(-135deg); }
  .swipe-txt { margin-left: .4rem; }
  .swipe-txt[hidden] { display: none; }
  .js .swipe.nudge .swipe-txt { animation: swipe-nudge 1.6s var(--ease) .6s 2; }
  @keyframes swipe-nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-5px); } 60% { transform: translateX(5px); } }
  .cmdk { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .cmdk[open] { animation-name: cmdk-up; }
  @keyframes cmdk-up { from { opacity: 0; transform: translateY(12px); } }
  .cmdk-in { display: flex; flex-direction: column; height: 100%; }
  .cmdk-bar { padding-top: env(safe-area-inset-top, 0); }
  .cmdk-input { font-size: 1.05rem; padding: 1.1rem 1.25rem; }
  .cmdk-close { display: block; }
  .cmdk-list { flex: 1; max-height: none; padding: .75rem; }
  .cmdk-list li { padding: 1rem .9rem; font-size: 1.15rem; border-radius: 6px; }
  .cmdk-hint { display: none; }
}
@media (max-height: 700px) {
  .sheet-list button { padding: .5rem .4rem; font-size: 1.15rem; }
  .sheet-title { padding-top: .8rem; }
  .sheet-close { padding-top: .6rem; }
}

/* each page settles in once, the first time it is seen */
@media (prefers-reduced-motion: no-preference) {
  .js .page:not(.hero) .sec-head, .js .page:not(.hero) .sec-body > * { opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
  .js .page:not(.hero) .sec-body > :nth-child(1) { transition-delay: 60ms; }
  .js .page:not(.hero) .sec-body > :nth-child(2) { transition-delay: 120ms; }
  .js .page:not(.hero) .sec-body > :nth-child(3) { transition-delay: 180ms; }
  .js .page:not(.hero) .sec-body > :nth-child(n+4) { transition-delay: 240ms; }
  .js .page.seen .sec-head, .js .page.seen .sec-body > * { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .pivot-plot, .tenets > li, .tenet-why, .field::after, .meter i, .nav-ind, .focus, .focus > *, .run, .ubar, .seg, .cred, .node, .node-top::before, .cat, .cat-name::before { transition: none; }
  .cat { transform: none; }
  .js .band.in .run, .cat-name, .sub, .js .ifield.in .node { transition: none; }
  .js .ifield.zoomed .cat:not(.held) { display: none; }
  .btn.sending::after, .cmdk[open], .js .page.seen .st, .js .pull, .js .swipe.nudge .swipe-txt { animation: none; }
  .sheet, .sheet.open { transition: none; }
  .js .page:not(.seen) .st { transform: none; }
  .js .statement.rise .w { animation: none; opacity: 1; transform: none; }
}

@media print {
  @page { margin: 16mm; }
  html, html[data-theme="dark"], html[data-theme="light"] { color-scheme: light; }
  .js body { overflow: visible; }
  .js .page { display: block; height: auto; overflow: visible; }
  body { font-size: 11pt; line-height: 1.4; }
  .top, .cmdk, .sheet, .pull, .swipe, .a11y, .toast, .linkish, .hero .cta, .kicker-sub, .foot-print, .pivot-ctrl, .pivot-plot, .pivot-hl, .field-foot { display: none !important; }
  .page .sec-head, .page .sec-body > * { opacity: 1 !important; transform: none !important; }
  .tenet-why { max-height: none !important; opacity: 1 !important; margin-top: .6rem !important; }
  .tenets > li { opacity: 1 !important; }
  .tenets > li > p { display: block !important; }
  .tenets > li > h3::after { content: none !important; }
  .xp { display: block; }
  .band-wrap, .xp-nav, .focus, .nav-ind, .band-hl { display: none !important; }
  .js .xp-roles > li { position: static; grid-area: auto; opacity: 1; visibility: visible; }
  .xp-roles { display: grid; gap: .75rem; }
  .xp-side li.cred::before, .xp-side li.cred.earned > .tl-when::after { display: none !important; }
  .ifield { display: block; min-height: 0; transform: none !important; opacity: 1 !important; }
  .cat-name::before, .node-top::before { display: none !important; }
  .cat-name { border-top: 1px solid #000; }
  .cat { margin-bottom: .9rem; border-bottom: 0; break-inside: avoid; }
  .node { position: static; transform: none !important; opacity: 1 !important; margin: 0 0 .75rem; max-width: none; width: auto; }
  .node-top { justify-items: start; text-align: left; }
  .node-flavour { max-width: none; display: block; }
  .js .node-levels { display: block; padding-left: .9rem; }
  .st { animation: none !important; transform: none !important; }
  .statement .w { opacity: 1 !important; transform: none !important; animation: none !important; }
  .page { padding: .75rem 0; break-inside: avoid; display: block; border-top: 0; }
  a { text-decoration: none; }
}

/* accessibility mode: WCAG AAA palette, larger type, no motion, no colour-only meaning */
html[data-a11y="on"] {
  --bg: light-dark(#fbfbf8, #0b0c0e); --bg-2: light-dark(#f1f1ec, #15171b);
  --fg: light-dark(#141414, #f2f2f0); --fg-2: light-dark(#2b2b2b, #dcdcd8); --muted: light-dark(#4a4a4a, #b9b9b4);
  --line: light-dark(#767676, #8c8c88); --line-2: light-dark(#5c5c5c, #a3a39e);
  --accent: light-dark(#0a5a8f, #8fd3ff); --mark: light-dark(#a04a00, #ffb454); --violet: light-dark(#4a40c0, #aea6ff);
  --edu: light-dark(#2f6a2a, #93d27e); --rose: light-dark(#a0285a, #ff9ec2);
}
html[data-a11y="on"] body { line-height: 1.55; }
html[data-a11y="on"] a { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1.5px; }
html[data-a11y="on"] a.btn, html[data-a11y="on"] .mark { text-decoration: none; }
html[data-a11y="on"] .topnav a[aria-current] { text-decoration-thickness: 3px; }
html[data-a11y="on"] .btn, html[data-a11y="on"] .cmd-btn, html[data-a11y="on"] .pivot-ctrl button, html[data-a11y="on"] .cmdk { border-color: var(--line-2); }
html[data-a11y="on"] .kicker { color: var(--accent); }
html[data-a11y="on"] .btn.primary { border-color: var(--fg); }
html[data-a11y="on"] :focus-visible, html[data-a11y="on"] .seg:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
html[data-a11y="on"] .xp-nav .btn:disabled, html[data-a11y="on"] .focus-foot .btn[disabled], html[data-a11y="on"] .run, html[data-a11y="on"] .run.hov, html[data-a11y="on"] .field-wrap.hl .node:not(.lit), html[data-a11y="on"] .pivot-plot[data-hl] .dot { opacity: 1; }
html[data-a11y="on"] .xp-nav .btn:disabled, html[data-a11y="on"] .focus-foot .btn[disabled] { opacity: .5; }
html[data-a11y="on"] .run.on { transform: none; outline: 2px solid var(--fg); outline-offset: 2px; }
html[data-a11y="on"] .run-lab { display: flex; align-items: center; font-size: .66rem; line-height: 1; }
html[data-a11y="on"] .pivot-key { display: flex; font-size: .7rem; margin-top: .4rem; gap: .25rem .8rem; }
@media (max-height: 700px) { html[data-a11y="on"] .pivot-key { display: none; } }
html[data-a11y="on"] .cmd-btn { display: flex; }
html[data-a11y="on"] .swipe-dots button { position: relative; }
html[data-a11y="on"] .swipe-dots button:focus-visible::after { content: attr(aria-label); position: absolute; bottom: calc(100% + .3rem); left: 50%; transform: translateX(-50%); padding: .2rem .5rem; border: 2px solid var(--fg); border-radius: 4px; background: var(--bg); color: var(--fg); white-space: nowrap; }
html[data-a11y="on"] .swipe-dots button::before { width: 9px; height: 9px; box-shadow: inset 0 0 0 2px var(--fg); }
html[data-a11y="on"] .swipe-dots button[aria-current]::before { background: var(--fg); }
html[data-a11y="on"].js .page:not(.hero) .sec-head, html[data-a11y="on"].js .page:not(.hero) .sec-body > * { opacity: 1; transform: none; transition: none; }
html[data-a11y="on"].js .band .run, html[data-a11y="on"].js .band:not(.in) .run { transform: none; opacity: 1; transition: none; }
html[data-a11y="on"].js .pull, html[data-a11y="on"].js .swipe.nudge .swipe-txt { animation: none; }
html[data-a11y="on"] .cat, html[data-a11y="on"] .cat-name::before, html[data-a11y="on"] .focus > *::before, html[data-a11y="on"] .cat-name, html[data-a11y="on"] .sub, html[data-a11y="on"].js .ifield.in .node { transition: none; }
html[data-a11y="on"] .cat { transform: none; }
html[data-a11y="on"].js .ifield.zoomed .cat:not(.held) { display: none; }
html[data-a11y="on"] .plot .dot, html[data-a11y="on"] .pivot-plot.is-in .dot { transition: none; }
html[data-a11y="on"] .cmdk[open] { animation: none; }
html[data-a11y="on"] .sheet, html[data-a11y="on"] .sheet.open { transition: none; }
html[data-a11y="on"] { scroll-behavior: auto; }
html[data-a11y="on"] .dot, html[data-a11y="on"] .pivot-plot, html[data-a11y="on"] .tenets > li, html[data-a11y="on"] .tenet-why, html[data-a11y="on"] .field::after, html[data-a11y="on"] .meter i, html[data-a11y="on"] .nav-ind, html[data-a11y="on"] .ifield, html[data-a11y="on"] .focus, html[data-a11y="on"] .run, html[data-a11y="on"] .ubar, html[data-a11y="on"] .seg, html[data-a11y="on"] .cred, html[data-a11y="on"] html[data-a11y="on"] .node { transition: none; }
html[data-a11y="on"] .btn.sending::after, html[data-a11y="on"] .cmdk[open], html[data-a11y="on"] .page.seen .st, html[data-a11y="on"] .pull, html[data-a11y="on"] .swipe.nudge .swipe-txt { animation: none; }
html[data-a11y="on"] .sheet, html[data-a11y="on"] .sheet.open { transition: none; }
html[data-a11y="on"] .page:not(.seen) .st { transform: none; }
html[data-a11y="on"] .statement.rise .w { animation: none; opacity: 1; transform: none; }
@media (max-width: 56rem) {
  html[data-a11y="on"] .run-lab { display: none; }
}
html[data-a11y="on"] .ss-pill, html[data-a11y="on"] .ss-note { box-shadow: none; border: 1px solid var(--line-2); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
