:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --fg: #1a1917;
  --fg-body: #3a3733;
  --fg-muted: #66625b;
  --line: rgba(26, 25, 23, 0.13);
  --bg-layer: none;
  --hl-rest: rgba(26, 25, 23, 0.3);
  --hl-pink: #b02a76;
  --hl-pink-line: rgba(176, 42, 118, 0.42);
  --hl-pink-glow: rgba(176, 42, 118, 0.16);
  --hl-gold: #8a6400;
  --hl-gold-line: rgba(138, 100, 0, 0.42);
  --hl-gold-glow: rgba(138, 100, 0, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --measure: 38rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --s1: 0.25rem;
  --s2: 0.375rem;
  --s3: 0.5rem;
  --s4: 0.75rem;
  --s5: 1rem;
  --s6: 1.5rem;
  --s7: 2rem;
  --s8: 3rem;
  --s9: 4rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d0c0b;
    --bg-layer: radial-gradient(
      120% 80% at 50% -10%,
      #1a1612 0%,
      transparent 55%
    );
    --fg: #f4efe6;
    --fg-body: #cfc4b5;
    --fg-muted: #9a8f82;
    --line: rgba(244, 239, 230, 0.13);
    --hl-rest: rgba(244, 239, 230, 0.26);
    --hl-pink: #e055a8;
    --hl-pink-line: rgba(224, 85, 168, 0.5);
    --hl-pink-glow: rgba(224, 85, 168, 0.34);
    --hl-gold: #fed34c;
    --hl-gold-line: rgba(254, 211, 76, 0.5);
    --hl-gold-glow: rgba(254, 211, 76, 0.34);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0c0b;
  --bg-layer: radial-gradient(
    120% 80% at 50% -10%,
    #1a1612 0%,
    transparent 55%
  );
  --fg: #f4efe6;
  --fg-body: #cfc4b5;
  --fg-muted: #9a8f82;
  --line: rgba(244, 239, 230, 0.13);
  --hl-rest: rgba(244, 239, 230, 0.26);
  --hl-pink: #e055a8;
  --hl-pink-line: rgba(224, 85, 168, 0.5);
  --hl-pink-glow: rgba(224, 85, 168, 0.34);
  --hl-gold: #fed34c;
  --hl-gold-line: rgba(254, 211, 76, 0.5);
  --hl-gold-glow: rgba(254, 211, 76, 0.34);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f4ed;
  --fg: #1a1917;
  --fg-body: #3a3733;
  --fg-muted: #66625b;
  --line: rgba(26, 25, 23, 0.13);
  --bg-layer: none;
  --hl-rest: rgba(26, 25, 23, 0.3);
  --hl-pink: #b02a76;
  --hl-pink-line: rgba(176, 42, 118, 0.42);
  --hl-pink-glow: rgba(176, 42, 118, 0.16);
  --hl-gold: #8a6400;
  --hl-gold-line: rgba(138, 100, 0, 0.42);
  --hl-gold-glow: rgba(138, 100, 0, 0.16);
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 260ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-layer), var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root[data-theme-changing] body,
:root[data-theme-changing] p,
:root[data-theme-changing] .row-title {
  transition: background-color 200ms ease, color 200ms ease;
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(var(--s8), 11vh, 7rem) var(--s6) var(--s9);
}

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

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

.nowrap {
  white-space: nowrap;
}

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

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}

.masthead-stacked {
  display: block;
}

.masthead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}

.masthead-stacked h1 {
  margin-top: var(--s5);
}

h1 {
  margin: 0;
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

#name {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 180ms ease;
}

.back {
  display: inline-block;
  font-size: 0.9375rem;
  color: var(--fg-muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.back:hover,
.back:focus-visible {
  color: var(--fg);
  text-decoration-color: currentColor;
}

.theme-toggle {
  flex: none;
  appearance: none;
  margin: -0.875rem -0.875rem -0.875rem 0;
  padding: 0.875rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 0;
  transition: color 160ms ease;
}

.theme-toggle:hover {
  color: var(--fg);
}

.theme-toggle svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }
}

.intro {
  margin: var(--s7) 0 0;
  color: var(--fg-body);
}

.intro p {
  margin: 0;
  text-wrap: pretty;
}

.intro p + p {
  margin-top: var(--s5);
}

.hl {
  color: var(--fg-muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-skip-ink: auto;
  text-decoration-color: var(--hl-rest);
  text-shadow: 0 0 14px transparent;
  transition: color 160ms ease, text-decoration-color 160ms ease,
    text-shadow 160ms ease;
}

.hl-pink:hover,
.hl-pink:focus-visible,
.hl-pink.is-lit {
  color: var(--hl-pink);
  text-decoration-color: var(--hl-pink-line);
  text-shadow: 0 0 14px var(--hl-pink-glow);
}

.hl-gold:hover,
.hl-gold:focus-visible,
.hl-gold.is-lit {
  color: var(--hl-gold);
  text-decoration-color: var(--hl-gold-line);
  text-shadow: 0 0 14px var(--hl-gold-glow);
}

.index {
  margin: var(--s8) 0 0;
  padding: 0;
  list-style: none;
}

.group {
  margin-top: var(--s8);
}

.group h2 {
  margin: 0 0 var(--s2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.group .index {
  margin-top: 0;
}

.row-drop summary {
  list-style: none;
  cursor: pointer;
}

.row-drop summary::-webkit-details-marker {
  display: none;
}

.summary-line {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}

.chev {
  width: 0.6875rem;
  height: 0.6875rem;
  color: var(--fg-muted);
  transition: transform 200ms var(--ease), color 160ms ease;
}

.row-drop summary:hover .row-title,
.row-drop summary:focus-visible .row-title {
  text-decoration-color: currentColor;
}

.row-drop summary:hover .chev,
.row-drop summary:focus-visible .chev {
  color: var(--fg);
}

.row-drop details[open] .chev {
  transform: rotate(180deg);
}

.drop-sub {
  display: block;
  margin-top: var(--s1);
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

.roles {
  margin: var(--s5) 0 var(--s1);
  padding: 0;
  list-style: none;
}

.roles li {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
}

.roles li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.logo {
  flex: none;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 28%;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px var(--line);
}

.role-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.role {
  font-weight: 500;
  letter-spacing: -0.006em;
}

.role-meta {
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

.gear {
  margin: var(--s1) 0 0;
  padding: 0;
  list-style: none;
  font-family: "IBM Plex Sans", var(--font);
  font-size: 0.875rem;
  letter-spacing: 0.005em;
  color: var(--fg-muted);
}

.gear li {
  display: flex;
  gap: 0.4rem;
}

.gear li::before {
  content: "-";
}

.index > li {
  position: relative;
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
}

.index > li:last-child {
  border-bottom: 0;
}

.index a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.index > li:has(a:focus-visible) {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
  border-radius: 3px;
}

.index a:focus-visible {
  outline: 0;
}

.row-title {
  font-weight: 500;
  letter-spacing: -0.006em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms ease;
}

.index > li:not(.is-empty):not(.row-drop):hover .row-title,
.index > li:has(a:focus-visible) .row-title {
  text-decoration-color: currentColor;
}

.row-title svg {
  width: 0.6875rem;
  height: 0.6875rem;
  margin-left: var(--s2);
  color: var(--fg-muted);
  vertical-align: -0.02em;
  transition: transform 160ms var(--ease), color 160ms ease;
}

.index > li:not(.is-empty):hover .row-title svg,
.index > li:has(a:focus-visible) .row-title svg {
  color: var(--fg);
  transform: translate(1.5px, -1.5px);
}

.index > li > p {
  margin: var(--s1) 0 0;
  font-size: 0.9375rem;
  color: var(--fg-muted);
  text-wrap: pretty;
  transition: color 160ms ease;
}

.index > li:not(.is-empty):not(.row-drop):hover > p,
.index > li:has(a:focus-visible) > p {
  color: var(--fg-body);
}

.index > li.is-empty .row-title {
  color: var(--fg-muted);
  font-weight: 400;
}

footer {
  margin-top: var(--s8);
  padding-top: var(--s6);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s6);
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

footer a {
  padding: 0.6rem 0;
  margin: -0.6rem 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--fg);
  text-decoration-color: currentColor;
}

footer svg {
  width: 0.6875rem;
  height: 0.6875rem;
  margin-left: var(--s2);
  vertical-align: -0.02em;
  transition: transform 160ms var(--ease);
}

footer a:hover svg,
footer a:focus-visible svg {
  transform: translate(1.5px, -1.5px);
}

.format {
  margin-left: var(--s1);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}

.pending {
  padding: 0.6rem 0;
  margin: -0.6rem 0;
  color: var(--fg-muted);
}

@media (max-width: 30rem) {
  .page {
    padding-top: var(--s8);
    padding-left: var(--s5);
    padding-right: var(--s5);
  }

  .index {
    margin-top: var(--s7);
  }

  footer {
    margin-top: var(--s7);
    gap: var(--s5);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 1ms;
  }
}
