

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-var-latin.e3a28eade2.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-var-latin-ext.5717f37059.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/publicsans-var-latin.5ed4d31c98.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/publicsans-var-latin-ext.3a00a32f02.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {

  color-scheme: light dark;

  --base: light-dark(#F1F3F5, #101317);
  --raised: light-dark(#FAFBFC, #171B20);
  --ink: light-dark(#14181C, #E8EBEE);
  --ink-2: light-dark(#565E67, #99A1AA);

  --ink-3: light-dark(#676F78, #7E8790);

  --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --accent: light-dark(#A94D14, #E8823C);
  --accent-display: light-dark(#C85A17, #E8823C);

  --btn-fg: light-dark(#F1F3F5, #101317);
  --btn-bg: light-dark(#A94D14, #E8823C);
  --btn-bg-hover: light-dark(#8E3F0E, #F59A59);
  --btn-bg-active: light-dark(#78340B, #FBAA6E);

  --nav-bg: light-dark(rgba(241, 243, 245, 0.78), rgba(16, 19, 23, 0.78));

  --veil-tint: light-dark(rgba(241, 243, 245, 0.42), rgba(16, 19, 23, 0.42));

  --media-edge: light-dark(#C6CCD3, #49525B);

  --plane-bg: light-dark(#FFFFFF, #222932);
  --plane-bg-deep: light-dark(#E8ECF0, #161B21);
  --plane-line: light-dark(#CDD3DA, #3B4550);
  --cell: light-dark(#7C8590, #79838E);

  --plane-shadow: 0 1px 2px rgba(20, 24, 28, 0.05),
                  0 8px 18px -8px rgba(20, 24, 28, 0.22);

  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --s6: 64px;

  --t-meta: 13px;
  --t-body: 15.5px;

  --r-xs: 2px;
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;

  --track: minmax(0, 3fr) minmax(0, 8fr) minmax(0, 1fr);
  --track-gap: var(--s4);

  --gutter: clamp(var(--s3), 4vw, var(--s5));
  --edge: calc(max(0px, (100vw - 1240px) / 2) + var(--gutter));

  --gap-tight: clamp(var(--s6), 6vw, calc(var(--s6) + var(--s4)));
  --gap-std:   clamp(calc(var(--s6) + var(--s4)), 9vw, calc(var(--s6) * 2));
  --gap-wide:  clamp(calc(var(--s6) + var(--s5)), 12vw, calc(var(--s6) * 2 + var(--s5)));

  --dur-state: 160ms;
  --dur-space: 520ms;

  --dur-reveal: 620ms;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --display: "Archivo", system-ui, sans-serif;
  --text: "Public Sans", system-ui, sans-serif;
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --plane-shadow: 0 1px 2px rgba(0, 0, 0, 0.5),
                    0 10px 22px -10px rgba(0, 0, 0, 0.85);
  }
}
:root[data-theme="dark"] {
  --plane-shadow: 0 1px 2px rgba(0, 0, 0, 0.5),
                  0 10px 22px -10px rgba(0, 0, 0, 0.85);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink-2);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, figure, figcaption, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--raised); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s2) var(--s3); font-size: var(--t-body); font-weight: 500;
}
.skip:focus { top: var(--s2); }

.hero__name,
.hero__role,
.section__title,
.role__title,
.project__title,
.tok {
  font-family: var(--display);
  font-weight: 600;
}

.hero__name {
  font-variation-settings: "wdth" 118, "wght" 600;
  font-size: clamp(46px, 8.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section__title {
  font-variation-settings: "wdth" 116, "wght" 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.role__title,
.project__title {
  font-variation-settings: "wdth" 115, "wght" 600;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.tok {
  font-variation-settings: "wdth" 118, "wght" 600;
  font-size: 0.97em;
  color: var(--accent);
}

.hero__role {
  font-variation-settings: "wdth" 116, "wght" 400;
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  margin-top: var(--s3);
}
.hero__role .tok { font-size: 1em; }

.hero__role span { white-space: nowrap; }

.lead {
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
}

.num { font-variant-numeric: tabular-nums; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero    { padding-top: clamp(var(--s5), 8vw, calc(var(--s6) + var(--s5))); padding-bottom: var(--gap-std); }
.record  { padding-top: 0; padding-bottom: 0; }
.work    { padding-top: var(--gap-wide); padding-bottom: var(--gap-wide); }
.creds   { padding-top: var(--s6); padding-bottom: 0; }
.skills  { padding-top: var(--gap-tight); padding-bottom: 0; }
.contact { padding-top: var(--gap-wide); padding-bottom: var(--gap-std); }

.section > .container {
  display: grid;
  grid-template-columns: var(--track);
  column-gap: var(--track-gap);
  align-items: start;
}
.section > .container > * { grid-column: 2 / 3; }
.section > .container > .section__title { grid-column: 1 / 2; }

.section > .container > .roles { grid-column: 1 / -1; }

[id] { scroll-margin-top: calc(var(--s6) + var(--s4)); }

@media (max-width: 560px) {
  html.pill-armed [id],
  html.pill-live [id] { scroll-margin-top: var(--s4); }
}

#sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--s6);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;

  transition: background-color var(--dur-state) var(--ease),
              border-color var(--dur-state) var(--ease);
}

.nav.is-stuck {
  background: var(--nav-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: var(--nav-gap);
  --nav-gap: clamp(var(--s3), 2.4vw, var(--s5));
}

.nav__end { display: flex; align-items: center; gap: var(--nav-gap); }

.nav__me {
  font-family: var(--display);
  font-variation-settings: "wdth" 116, "wght" 600;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;

  transition: opacity var(--dur-state) var(--ease),
              visibility 0s linear var(--dur-state);
}
.nav__me:hover { text-decoration: none; }
.nav.is-stuck .nav__me {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-state) var(--ease), visibility 0s linear 0s;
}

.nav__list { display: flex; gap: var(--nav-gap); }
.nav__list a {
  font-size: var(--t-meta);
  font-weight: 400;
  color: var(--ink-2);
  transition: color var(--dur-state) linear;
}
.nav__list a:hover { color: var(--ink); text-decoration: none; }
.nav__list a.is-active { color: var(--accent); font-weight: 500; }

.theme {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;

  margin-inline: calc((34px - 14px) / -2);
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
  transition: color var(--dur-state) linear;
}
html.theme-live .theme { display: grid; }
.theme:hover { color: var(--ink); }

.theme__mark {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  overflow: hidden;
}
.theme__mark::before,
.theme__mark::after { content: ""; position: absolute; top: 0; bottom: 0; }
.theme__mark::before { left: 0; right: 50%; background: light-dark(currentColor, transparent); }
.theme__mark::after { left: 50%; right: 0; background: light-dark(transparent, currentColor); }

@media (prefers-reduced-motion: no-preference) {
  :root.theme-flip::view-transition-image-pair(root) { isolation: auto; }

  :root.theme-flip::view-transition-old(root),
  :root.theme-flip::view-transition-new(root) {
    mix-blend-mode: normal;
    transform-origin: 50% 50%;
  }

  :root.theme-flip::view-transition-old(root) {
    animation: theme-flip-out calc(var(--dur-space) / 2) ease-in both;
  }

  :root.theme-flip::view-transition-new(root) {
    animation: theme-flip-in calc(var(--dur-space) / 2) var(--ease)
               calc(var(--dur-space) / 2) both;
  }
}

@keyframes theme-flip-out {
  to { transform: perspective(1400px) rotateX(-90deg); }
}
@keyframes theme-flip-in {
  from { transform: perspective(1400px) rotateX(90deg); }
}

.pill {
  display: none;
  position: fixed;
  left: 0;
  right: 0;

  bottom: calc(var(--s4) + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  justify-content: center;

  pointer-events: none;
}

@media (max-width: 560px) {
  html.pill-armed .pill,
  html.pill-live .pill { display: flex; }
}

.pill__measure {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  visibility: hidden;
  pointer-events: none;
}

.pill__measure .pill__row { font-weight: 500; }

.pill__surface {
  position: relative;
  pointer-events: auto;
  background: var(--nav-bg);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.pill__surface--open {
  background: var(--base);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.pill__surface--static { border-radius: 999px; }

.pill__trigger--live,
.pill__list--live {
  overflow: hidden;
  border-radius: inherit;
}

.pill__trigger {
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  padding: 0 var(--s3);
  margin: 0;
  background: none;
  border: 0;
  font: inherit;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
}
.pill__trigger--live { position: absolute; inset: 0; }

.pill__trigger--live:focus-visible { border-radius: inherit; }

.pill__labelbox { position: relative; display: inline-flex; align-items: center; }
.pill__label {
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}

.pill__chev {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--ink-2);
}

.pill { --pill-row-h: 44px; }

.pill__list {
  display: flex;
  flex-direction: column;
  width: max-content;
  margin: 0;
  padding: var(--s2);
  list-style: none;
}
.pill__list--live { position: absolute; inset: 0; width: auto; }

.pill__row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--pill-row-h);
  padding: 0 var(--s2);
  border-radius: var(--r);
  color: var(--ink-2);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
a.pill__row:hover { color: var(--ink); text-decoration: none; }
.pill__row[aria-current="true"] { color: var(--ink); font-weight: 500; }

.pill__row:focus-visible { border-radius: var(--r); }

.pill__foot {
  margin-top: var(--s1);
  padding-top: var(--s1);
  border-top: 1px solid var(--line);
}

html:not(.theme-live) .pill__foot { display: none; }

.pill__row--theme {

  justify-content: space-between;
  gap: var(--s4);
}

button.pill__row {
  width: 100%;
  margin: 0;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
button.pill__row:hover { color: var(--ink); }

.pill__highlight {
  position: absolute;
  top: var(--s2);
  left: var(--s2);
  right: var(--s2);
  height: var(--pill-row-h);
  border-radius: var(--r);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.pill__rowlabel { position: relative; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(var(--s4), 5vw, var(--s6));
  align-items: end;
}

.hero__scope {
  margin-top: var(--s4);
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
}

.hero__actions {
  margin-top: var(--s5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  border-radius: var(--r);
  padding: var(--s2) var(--s4);
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color var(--dur-state) linear,
              border-color var(--dur-state) linear,
              color var(--dur-state) linear;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: var(--btn-bg);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
}
.btn--primary:active {
  background: var(--btn-bg-active);
  border-color: var(--btn-bg-active);
}

.btn--quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--quiet:hover { border-color: var(--ink-3); }

.btn--flow {
  position: relative;
  overflow: hidden;
  gap: var(--s1);
  padding: var(--s2) var(--s5);

  border-radius: 999px;
  background: transparent;
  color: var(--ink);

  border-color: var(--btn-bg);

  --ease-arrow: cubic-bezier(0.34, 1.56, 0.64, 1);

  transition: color var(--dur-state) var(--ease),
              border-color var(--dur-state) var(--ease),
              border-radius var(--dur-space) var(--ease);
}

.btn--flow:hover,
.btn--flow:focus-visible {
  color: var(--btn-fg);
  border-color: transparent;
  border-radius: var(--r-lg);
}

.btn__fill {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
  border-radius: 50%;
  background: var(--btn-bg);
  transform: scale(0);
  transition: transform var(--dur-space) var(--ease);
}
.btn--flow:hover .btn__fill,
.btn--flow:focus-visible .btn__fill { transform: scale(1); }
.btn--flow:active .btn__fill { background: var(--btn-bg-active); }

.btn__label {
  position: relative;
  z-index: 1;
  transform: translateX(calc(var(--s2) * -1));
  transition: transform var(--dur-space) var(--ease);
}
.btn--flow:hover .btn__label,
.btn--flow:focus-visible .btn__label { transform: translateX(var(--s2)); }

.btn__arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  margin-top: -8px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: left var(--dur-space) var(--ease-arrow),
              right var(--dur-space) var(--ease-arrow);
}
.btn__arrow--in { left: -25%; }
.btn__arrow--out { right: var(--s3); }
.btn--flow:hover .btn__arrow--in,
.btn--flow:focus-visible .btn__arrow--in { left: var(--s3); }
.btn--flow:hover .btn__arrow--out,
.btn--flow:focus-visible .btn__arrow--out { right: -25%; }

.standing { border-top: 1px solid var(--line); }
.standing__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s1);
  padding: var(--s3) 0;
}
.standing__row + .standing__row { border-top: 1px solid var(--line); }
.standing dt {
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--ink-3);
}
.standing dd {
  font-size: var(--t-body);
  line-height: 1.45;
  color: var(--ink);
}

.record__lead { margin-bottom: var(--s5); }

.role {
  display: grid;
  grid-template-columns: var(--track);
  column-gap: var(--track-gap);
  padding-block: var(--s5);
  border-top: 1px solid var(--line);

}
.roles > .role:last-child { border-bottom: 1px solid var(--line); }

.role__meta > p {
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--ink-3);
}
.role__dates { color: var(--ink-2); }
.role__org { margin-top: var(--s2); }
.role__loc { margin-top: var(--s1); }

.role__scope {
  margin-top: var(--s3);
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 62ch;
}

.role__detail { margin-top: var(--s4); }

.role__synopsis {
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.role__detail--withfig {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: var(--s5);
  align-items: start;
}

.tiers {

  --fan-x: 14px;
  --fan-y: 89px;
  --fan-z: 30px;
  --card-h: 71px;

  --cell-w: 26px;
  --cell-h: 18px;
  --cell-gap: 8px;
  --cell-r: var(--r-sm);

  --cell-pitch: calc(var(--cell-w) + var(--cell-gap));

  --tube-w: 3px;
  --tube-inset: calc(var(--tube-w) / 2);

  --cell-lit: color-mix(in oklab, var(--cell), var(--ink) 55%);
  --thread: color-mix(in oklab, var(--plane-line), var(--ink-2) 45%);
  --pulse: var(--ink);

  --step-x: var(--fan-x);
  --step-y: var(--fan-y);
  --step-z: var(--fan-z);

  --spring: cubic-bezier(0.34, 1.5, 0.6, 1);

  --open-dur: 500ms;
  --open-stagger: 120ms;
  --trace-dur: 180ms;
  --flow-step: 900ms;
}

.tiers__stage {
  position: relative;
  height: calc(3 * var(--fan-y) + var(--card-h));
  perspective: 1400px;
}

.tiers__inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.plane {
  --d: calc(var(--i) / 3);

  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 3 * var(--fan-x));
  min-width: 0;
  height: var(--card-h);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;

  border-radius: 14px;
  border: 1px solid var(--plane-line);
  background: var(--plane-bg);
  background: color-mix(in oklab, var(--plane-bg), var(--plane-bg-deep) calc(var(--d) * 100%));
  box-shadow: var(--plane-shadow);

  transform: translate3d(
    calc(var(--i) * var(--step-x)),
    calc(var(--i) * var(--step-y)),
    calc(var(--i) * var(--step-z) * -1)
  );
  transition: transform var(--open-dur) var(--spring);
  transition-delay: calc(var(--i) * var(--open-stagger));
}

.plane__label {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  font-size: var(--t-meta);
  line-height: 1;
  color: var(--ink-2);
}

.plane__tier { font-weight: 500; }
.plane__role { font-weight: 400; }

.plane__row {
  display: flex;
  align-self: flex-end;
  gap: var(--cell-gap);
}

.cell {
  position: relative;
  display: block;
  width: var(--cell-w);
  height: var(--cell-h);
  flex: 0 0 auto;
  border-radius: var(--cell-r);
  border: 1px solid var(--plane-line);
  background: var(--cell);

  transition: background-color var(--dur-state) linear,
              border-color var(--dur-state) linear,
              border-radius var(--dur-state) linear,
              outline-color var(--dur-state) linear;
}

.cell--link {
  --chain-delay: calc(var(--open-stagger) + var(--open-dur) + var(--i) * var(--trace-dur));

  background: var(--cell-lit);
  transition-delay: var(--chain-delay);
}

.tube {
  --dy: calc(var(--fan-y) - var(--cell-h));

  position: absolute;
  top: calc(100% + var(--tube-inset));
  width: var(--run);
  height: calc(var(--dy) - 2 * var(--tube-inset));
  overflow: visible;
  fill: none;
}

.tube--r {
  left: 50%;
  --run: calc(var(--fan-x) + var(--m) * var(--cell-pitch));
}

.tube--l {
  right: 50%;
  --run: calc(var(--m) * var(--cell-pitch) - var(--fan-x));
  transform: scaleX(-1);
}

.tube__line,
.tube__flow {
  stroke-width: var(--tube-w);
  stroke-linecap: round;

  vector-effect: non-scaling-stroke;
}

.tube__line {
  stroke: var(--thread);
  stroke-dasharray: 100 100;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset var(--trace-dur) var(--ease) var(--chain-delay);
}

.tube__flow {
  --flow-dash: 22;

  stroke: var(--pulse);
  stroke-dasharray: var(--flow-dash) calc(2 * 100 - var(--flow-dash));
  stroke-dashoffset: -100;
}

@keyframes tube-flow {
  0%   { stroke-dashoffset: var(--flow-dash); }
  40%  { stroke-dashoffset: -100; }
  100% { stroke-dashoffset: -100; }
}

.cell--flag {
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 999px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .js .tiers:not(.is-open) {
    --step-x: 5px;
    --step-y: 7px;
    --step-z: 11px;
  }

  .js .tiers:not(.is-open) .cell--flag {
    background: var(--cell);
    border-color: var(--plane-line);
    border-radius: var(--cell-r);
    outline-color: transparent;
  }
  .js .tiers:not(.is-open) .cell--link {
    background: var(--cell);
  }

  .js .tiers:not(.is-open) .tube__line {
    stroke-dashoffset: 100;
  }

  .js .tiers.is-open .tube__flow {

    animation: tube-flow calc(3 * var(--flow-step)) linear
               calc(var(--open-stagger) + var(--open-dur) + 3 * var(--trace-dur)
                    + var(--i) * var(--flow-step))
               infinite;
    animation-play-state: paused;
  }
  .js .tiers.is-open.is-live .tube__flow {
    animation-play-state: running;
  }
}

@property --globe-phi {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@property --globe-map {
  syntax: "<color>";
  inherits: false;
  initial-value: transparent;
}

@property --globe-invert {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@property --globe-mark {
  syntax: "<color>";
  inherits: false;
  initial-value: transparent;
}

@property --globe-field {
  syntax: "<color>";
  inherits: false;
  initial-value: transparent;
}

.globe { display: none; }

.globe.is-live { display: block; }

.globe__canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1;

  pointer-events: none;

  --globe-map: var(--ink-3);
  --globe-mark: var(--ink-2);
  --globe-field: var(--base);
  filter: invert(var(--globe-invert));
}

.globe__canvas { --globe-invert: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .globe__canvas { --globe-invert: 0; }
}
:root[data-theme="dark"] .globe__canvas { --globe-invert: 0; }

@keyframes globe-turn {
  from { --globe-phi: 0; }
  to   { --globe-phi: 6.283185; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .globe__canvas {
      animation: globe-turn linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
}

.approach {
  margin: var(--s5) 0 0;

  container-type: inline-size;
}

.approach__stage {
  position: relative;
  aspect-ratio: 100 / 51;

  overflow: clip;
}

.approach__tanker {
  display: block;
  width: 70%;
  height: auto;
}

.approach__receiver {
  position: absolute;
  left: 66.139%;
  top: 62.604%;
  width: 20.58%;
  height: auto;
}

@keyframes approach-join {
  from { transform: translate(97.181%, 241.679%); }
  to   { transform: none; }
}

@container (min-width: 520px) {
  @media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {

      .approach__receiver {
        animation: approach-join linear both;
        animation-timeline: view();
        animation-range: entry 10% cover 50%;
      }
    }
  }
}

@media print {
  .approach__receiver { animation: none; transform: none; }
  .approach { break-inside: avoid; }
}

.work { background: var(--raised); }

.work__lead { margin-bottom: var(--s6); }

.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s5);
  align-items: center;
}
.band + .band { margin-top: var(--gap-std); }

.band--medialeft .band__body { padding-right: var(--edge); }
.band--mediaright .band__body { padding-left: var(--edge); }

.project__url { margin-top: var(--s2); font-size: var(--t-body); }
.project__desc {
  margin-top: var(--s3);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}

.tags {
  margin-top: var(--s4);
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--s4);
  row-gap: var(--s2);
}
.tags span {
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}

.media {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--media-edge);
  background: var(--raised);
}
.media:hover { text-decoration: none; }

.band--medialeft .media { border-left: 0; border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.band--mediaright .media { border-right: 0; border-radius: var(--r-lg) 0 0 var(--r-lg); }

.media__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1918 / 912;
}

.media__veil {
  position: absolute;
  inset: 0;
  background-color: var(--veil-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;

  transition: opacity var(--dur-space) var(--ease), visibility 0s linear var(--dur-space);
  pointer-events: none;
}
.js .media__veil { opacity: 1; }

.js .media.is-revealed .media__veil { opacity: 0; visibility: hidden; }
.js .media:hover .media__veil,
.js .media:focus-visible .media__veil { opacity: 0; }

.clip {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--media-edge);
  background: var(--raised);
}
.band--mediaright .clip { border-right: 0; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.band--medialeft .clip { border-left: 0; border-radius: 0 var(--r-lg) var(--r-lg) 0; }

.clip__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 614;

  pointer-events: none;
}

.clip__control {
  position: absolute;
  right: var(--s2);
  bottom: var(--s2);

  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  border: 1px solid var(--media-edge);
  border-radius: var(--r);
  background: var(--raised);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;

  transition: opacity var(--dur-state) var(--ease),
              border-color var(--dur-state) linear;
}
.clip__control svg { display: block; width: 14px; height: 14px; fill: currentColor; }

.clip:hover .clip__control,
.clip:focus-within .clip__control,
.clip__control:focus-visible,
.clip__control:focus { opacity: 1; }

.clip__control:hover { border-color: var(--ink-3); }

@media (hover: none) {
  .clip__control { opacity: 1; }
}

.creds__group + .creds__group { margin-top: var(--s5); }
.creds__heading {
  font-family: var(--text);
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}

.deflist { margin-top: var(--s3); }

.deflist__row {
  padding-block: var(--s2);
}
.deflist dt {
  font-size: var(--t-body);
  line-height: 1.5;
  color: var(--ink);
}
.deflist dd {
  margin-top: var(--s1);
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--ink-3);
}

.skills__cols {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, max-content));
  column-gap: var(--s5);
  row-gap: var(--s5);
  justify-content: start;

  grid-column: 2 / -1;
}
.skills__label {
  font-family: var(--text);
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--ink);
}
.skills__set {
  margin-top: var(--s2);
  display: flex;
  flex-direction: column;

  row-gap: var(--s2);
}
.skills__set span {
  font-size: var(--t-body);
  line-height: 1.3;
  color: var(--ink-2);
}

.contact__inner { border-top: 1px solid var(--line); padding-top: var(--s5); }
.contact__links {
  margin-top: var(--s4);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--s4);
  row-gap: var(--s2);
  font-size: var(--t-body);
}
.contact__aside { color: var(--ink-3); font-size: var(--t-meta); }

.section > .container > .contact__mark {
  grid-column: 1 / 2;
  grid-row: 2 / span 2;
  align-self: start;
  justify-self: start;
  height: 300px;
  width: auto;
  color: var(--ink-3);
}

.foot { border-top: 1px solid var(--line); }
.foot__inner { padding-block: var(--s4); }
.foot p {
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}

.js .rise {
  opacity: 0;
  transform: translateY(20px);
}
.js .rise.is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
}

@media (max-width: 1000px) {
  .role__detail--withfig { grid-template-columns: minmax(0, 1fr); }
  .tiers { max-width: 420px; }

  .globe { max-width: 300px; }
}

@media (max-width: 1100px) {
  .skills__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s5);
    row-gap: var(--s5);
  }
}

@media (max-width: 700px) {
  .skills__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .section > .container { display: block; }
  .section__title { font-size: clamp(26px, 4vw, 30px); }
  .section__title + * { margin-top: var(--s4); }

  .hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero__scope { max-width: 40ch; }
  .hero__standing { margin-top: var(--s3); }

  .role { grid-template-columns: minmax(0, 1fr); }
  .role__meta { display: flex; flex-wrap: wrap; column-gap: var(--s3); row-gap: var(--s1); }
  .role__org, .role__loc { margin-top: 0; }

  .section > .container > .contact__mark { height: 200px; margin-top: var(--s5); }

  .band { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .band--mediaright .band__media { order: -1; }
  .band--medialeft .band__body,
  .band--mediaright .band__body { padding-inline: var(--gutter); }

  .band--medialeft .clip,
  .band--mediaright .clip,
  .band--medialeft .media,
  .band--mediaright .media {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

}

@media (max-width: 560px) {

  html.pill-armed .nav,
  html.pill-live .nav { display: none; }

  html:not(.pill-armed):not(.pill-live) .nav__me { display: none; }

  html.theme-live .theme { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rise,
  .js .rise.is-in { opacity: 1; transform: none; transition: none; }

  .plane { transition: none; }
  .cell { transition: none; }
  .tube__line { transition: none; }

  .tube__flow { animation: none; display: none; }

  .js .media__veil { opacity: 0; transition: none; }

  .nav { transition: none; }
  .btn, .nav__list a { transition: none; }

  .btn__fill, .btn__label, .btn__arrow { transition: none; }
  .btn--flow:hover, .btn--flow:focus-visible { border-radius: 999px; }
  .btn__arrow--in { display: none; }
  .btn__label,
  .btn--flow:hover .btn__label,
  .btn--flow:focus-visible .btn__label { transform: none; }
  .btn--flow:hover .btn__arrow--out,
  .btn--flow:focus-visible .btn__arrow--out { right: var(--s3); }

  .nav__me, .nav.is-stuck .nav__me { transition: none; }
}

@media print {

:root, :root[data-theme] {
    color-scheme: light;
    --base: #F1F3F5; --raised: #FAFBFC;
    --ink: #14181C; --ink-2: #565E67; --ink-3: #676F78;
    --line: #DBDFE4; --accent: #A94D14;
    --plane-bg: #FFFFFF; --plane-bg-deep: #E8ECF0;
    --plane-line: #CDD3DA; --cell: #7C8590; --plane-shadow: none;
    --media-edge: #C6CCD3;
  }

  body { background: #FFFFFF; }

  .globe { display: none; }

  .section > .container { display: block; }
  .section__title { font-size: 30px; }
  .section__title + * { margin-top: var(--s4); }
  .role { grid-template-columns: minmax(0, 1fr); }
  .role__meta { display: flex; flex-wrap: wrap; column-gap: var(--s3); row-gap: var(--s1); }
  .role__org, .role__loc { margin-top: 0; }

  .work { background: none; }

  .js .rise,
  .js .rise.is-in { opacity: 1; transform: none; transition: none; }

  .js .media__veil { display: none; }

  .js .tiers:not(.is-open) {
    --step-x: var(--fan-x); --step-y: var(--fan-y); --step-z: var(--fan-z);
  }
  .js .tiers:not(.is-open) .cell--flag {
    background: var(--accent); border-color: var(--accent);
    border-radius: 999px; outline-color: var(--accent);
  }
  .js .tiers:not(.is-open) .cell--link { background: var(--cell-lit); }
  .js .tiers:not(.is-open) .tube__line { stroke-dashoffset: 0; }

  .tube__flow { display: none; }
  .plane, .cell, .tube__line { transition: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }

  .clip {
    background-image: url("media/brew-balance-poster.3ff066cc37.jpg");
    background-size: cover;
    background-position: center;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .clip__video { visibility: hidden; }
  .clip__control { display: none; }

  a { color: inherit; text-decoration: underline; }

  .btn--primary {
    background: none;
    color: var(--ink);
    border-color: var(--line);
    text-decoration: none;
  }

  .btn--flow {
    color: var(--ink);
    border-color: var(--line);
    text-decoration: none;
  }
  .btn__fill, .btn__arrow { display: none; }
  .btn__label { transform: none; }

  .nav, .skip, .contact__mark, .pill { display: none; }
  .role, .band, .creds__group, .skills__col { break-inside: avoid; }
}

@media (prefers-reduced-transparency: reduce) {
  .js .media__veil { opacity: 0; }
  .nav.is-stuck {
    background: var(--base);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .pill__surface {
    background: var(--base);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
