@font-face {
  font-family: "Site Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("DejaVuSansM Nerd Font"), local("DejaVuSansMono Nerd Font"),
    url("assets/dejavu-sans-mono-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Site Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("DejaVuSansM Nerd Font Bold"), local("DejaVuSansMNerdFont-Bold"),
    local("DejaVuSansMono Nerd Font Bold"), local("DejaVuSansMonoNerdFont-Bold"),
    url("assets/dejavu-sans-mono-bold.woff2") format("woff2");
}

:root {
  --base03: #002b36;
  --base02: #073642;
  --base01: #586e75;
  --base00: #657b83;
  --base0: #839496;
  --base1: #93a1a1;
  --base2: #eee8d5;
  --base3: #fdf6e3;
  --yellow: #b58900;
  --orange: #cb4b16;
  --red: #dc322f;
  --magenta: #d33682;
  --violet: #6c71c4;
  --blue: #268bd2;
  --cyan: #2aa198;
  --green: #859900;
  --blue-bright: var(--cyan);
  --blue-link: var(--blue);
  --vim-cyan: var(--cyan);
  --vim-cyan-bright: var(--base2);
  --vim-blue: var(--blue);
  --vim-blue-link: var(--blue);
  --vim-green: var(--green);
  --vim-yellow: var(--yellow);
  --vim-yellow-bright: var(--yellow);
  --vim-violet: var(--violet);
  --vim-violet-link: var(--violet);
  --vim-violet-bright: var(--base2);
  --vim-orange: var(--orange);
  --vim-orange-light: var(--orange);
  --topbar-h: 57px;
  --prompt-h: 92px;
  --status-h: 29px;
  --c-nvidia: #76b900; /* Nvidia published brand green */
  --c-google: #eee8d5; /* Solarized base2, cream */
  --c-tesla: #dc322f;  /* Solarized red */
  --c-arista: #268bd2; /* Solarized blue */
  --c-hire4real: #10b981; /* hire4real.fyi theme colour */
  --c-school: #dc322f; /* SBU red */

  --page-w: 1200px;
  --mono: "Site Mono", "DejaVuSansM Nerd Font", "DejaVuSansM Nerd Font Mono", "DejaVuSansMono Nerd Font", "DejaVuSansMono Nerd Font Mono", "DejaVu Sans Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Solarized light: every monotone slot swaps with its mirror value. */
:root[data-theme="light"] {
  --base03: #fdf6e3;
  --base02: #eee8d5;
  --base01: #93a1a1;
  --base00: #839496;
  --base0: #657b83;
  --base1: #586e75;
  --base2: #073642;
  --base3: #002b36;
  --c-nvidia: #76b900;
  --c-google: #586e75; /* base01: cream would vanish on the light row */
  --c-tesla: #dc322f;
  --c-arista: #268bd2;
  --c-hire4real: #10b981;
  --c-school: #dc322f;
}

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--base01);
  -webkit-mask-image: url("assets/watermark.svg");
  -webkit-mask-repeat: repeat;
  -webkit-mask-size: 220px 110px;
  mask-image: url("assets/watermark.svg");
  mask-repeat: repeat;
  mask-size: 220px 110px;
  opacity: 0.045;
}

html {
  color-scheme: dark;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--base1);
  background: var(--base03);
  font-family: var(--mono);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--base03);
  background: var(--blue);
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 120ms ease;
}

a:hover {
  color: var(--base2);
}

.page {
  flex: 1;
  width: min(var(--page-w), calc(100% - 48px));
  margin: 0 auto;
  padding: var(--topbar-h) 0 24px;
}

/* The question, as a prompt already sent: its own bar under the powerline,
   framed like the prompt box at the foot of the page. */
.fired-prompt {
  position: sticky;
  top: var(--topbar-h);
  z-index: 40;
  margin-top: 12px;
  padding: 12px 16px;
  border: 0;
  border-left: 2px solid var(--blue);
  background: var(--base02);
}

.fired-prompt p {
  margin: 0;
  color: var(--base1);
  font-size: 1rem;
  line-height: 1.5;
}

.response {
  padding-top: 28px;
}

h1 {
  margin: 0 0 24px;
  color: var(--base2);
  font-size: clamp(2.5rem, 6vw, 4.375rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.cursor {
  display: inline-block;
  width: 0.62em;
  height: 1.15em;
  margin-left: 0.06em;
  vertical-align: -0.15em;
  background: var(--base01);
  animation: blink 1.15s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.role {
  margin: 0 0 18px;
  color: var(--blue-bright);
  font-size: 1.5rem;
  line-height: 1.4;
}

.pl-icon svg {
  display: inline-block;
  vertical-align: -0.18em;
}

/* The glyph sizes above are tuned per Nerd Font mark; an SVG mark wants the
   plain text size back so 1.102em is measured against the bar's text. */
.pl-icon.i-mark {
  font-size: 1em;
  margin-right: 0.35em;
}

.pl-icon.pl-emoji {
  margin-right: 0;
  font-size: 1.26em;
}

.role-emoji {
  margin-right: 0.45em;
}

/* The title word keeps the blue of the terminal prompt; the company and the
   stack keep their own colours. */
.role-title {
  color: var(--blue);
}

.pl-icon.i-mark svg {
  margin-right: 0;
}

/* Separator: the same disc the theme buttons use, in the link colour. The
   group keeps the disc glued to the term after it, so a narrow screen breaks
   before the dot, never leaving it alone at the start of a line. */
.role-group {
  white-space: nowrap;
}

.role-dot {
  display: inline-block;
  width: 4.3em;
  color: var(--cyan);
  font-size: 0.65em;
  line-height: 1;
  text-align: center;
  vertical-align: 0.3em;
}

.role .mark {
  color: var(--base01);
}

.intro {
  margin: 0;
  color: var(--base1);
  font-size: 1rem;
  line-height: 1.7;
}

code {
  color: var(--vim-cyan);
  font: inherit;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--base01);
  border-radius: 0;
  color: var(--base1);
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: color 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.button:hover {
  border-color: var(--base1);
  background: var(--base02);
  color: var(--base2);
}

.button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.button .icon {
  margin-right: 0.35em;
  line-height: 1;
}

/* Nerd Font glyphs ink a different fraction of their em, so each mark gets
   its own size. Every one lands at 1.5x the cap height of the text next to
   it: DejaVu Sans Mono caps at 0.734em, so the target ink is 1.102em. */
/* The hero buttons keep their 1.26em ink; the powerline bar wants the
   same 18px the technology marks use, so its glyphs get 1.2em of ink
   (github inks 0.872em of the font size). */
.button .icon {
  font-size: var(--icon-size, 1.26em);
}

.pl-icon {
  font-size: var(--icon-size, 1.38em);
}
.button .icon.i-in {
  --icon-size: 1.47em; /* linkedin inks 0.750em */
}
.pl-icon.i-in {
  --icon-size: 1.6em;
}
.button .icon.i-mail {
  --icon-size: 1.59em; /* envelope inks 0.692em */
}
.pl-icon.i-mail {
  --icon-size: 1.74em;
}
.pl-icon.i-in,
.button .icon.i-in {
  color: #0A66C2;
}

.button .icon.pdf-icon,
.pl-icon.pdf-icon {
  width: 1.2em;
  height: 1.2em;
  font-size: 1em;
  flex: none;
}

/* These two drawings sit inside a padded 24-unit viewBox, so their boxes
   run larger than the ink they show: 1.5em and 1.3em land at 18px of ink,
   the same as the GitHub mark. */
.pl-cal {
  width: 1.5em;
  height: 1.5em;
  flex: none;
}

.pl-clock {
  width: 1.3em;
  height: 1.3em;
  flex: none;
}

.button-primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--base03);
}

.button-primary:hover {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--base03);
  filter: brightness(1.12);
}

.bracket {
  opacity: 0.7;
}

.section {
  margin-top: 40px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 18px;
}

.section-head h2 {
  margin: 0;
}

.section-controls {
  display: flex;
  gap: 8px;
}

.mini {
  padding: 2px 8px;
  border: 1px solid var(--base01);
  background: transparent;
  color: var(--base0);
  font-family: inherit;
  font-size: 0.8125rem;
  line-height: 1.4;
  cursor: pointer;
}

.mini:hover {
  border-color: var(--base1);
  color: var(--base2);
}

.mini:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.row-line {
  grid-column: 1 / -1;
  grid-row: 2;
  padding-left: 39px;
  color: var(--base1);
  font-size: 0.9375rem;
  line-height: 1.55;
  white-space: normal;
}



.decision-body {
  margin: 0;
  font-size: 0.9375rem;
}

/* Same blue dot as the Experience bullets; the label and its text share
   one text column so they read as one item. */
.decision-node {
  position: relative;
  padding: 10px 0 0 1.5em;
}

.decision-node:first-child {
  padding-top: 0;
}

.decision-node::before {
  content: "";
  position: absolute;
  left: 0.18em;
  top: calc(10px + 0.62em);
  width: 0.38em;
  height: 0.38em;
  border-radius: 50%;
  background: var(--blue);
}

.decision-node:first-child::before {
  top: 0.62em;
}

.decision-node dt {
  margin: 0;
  color: var(--base2);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
}

.decision-node dd {
  margin: 0;
  color: var(--base1);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media print {
  .pl-top,
  .prompt-stack {
    position: static;
  }

  .exp-item .exp-body {
    display: block !important;
  }
}

.section h2 {
  margin: 0 0 18px;
  color: var(--vim-orange-light);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  scroll-margin-top: calc(var(--topbar-h) + 72px);
}

.section h2 .mark {
  color: var(--vim-orange-light);
  font-weight: 700;
  opacity: 0.85;
}

/* Credits page list and the footer colophon link. */
.credits-list {
  margin: 0;
  padding-left: 1.5em;
  color: var(--base1);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.credits-list li + li {
  margin-top: 6px;
}

.credits-list code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.credits-list a {
  color: var(--cyan);
}

.credits-list a:hover {
  color: var(--base2);
}

.status-more {
  color: var(--base0);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.status-more:hover {
  color: var(--base2);
}

/* The scan bar that sat at the left of the old footer status line: a
   dotted rail with a blue gradient sweeping across it. */
.status-bar {
  position: relative;
  display: inline-block;
  width: 10ch;
  height: 1em;
  margin-right: 1ch;
  vertical-align: -0.12em;
  overflow: hidden;
  background-image: radial-gradient(circle, rgb(38 139 210 / 0.45) 0.07em, transparent 0.075em);
  background-size: 1ch 1em;
  background-position: 0 50%;
  background-repeat: repeat-x;
}

.scan {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 10ch 100%;
  -webkit-mask-image: linear-gradient(90deg, #000 0 0.62ch, transparent 0.62ch 1ch);
  -webkit-mask-size: 1ch 0.55em;
  -webkit-mask-position: 0 50%;
  -webkit-mask-repeat: repeat-x;
  mask-image: linear-gradient(90deg, #000 0 0.62ch, transparent 0.62ch 1ch);
  mask-size: 1ch 0.55em;
  mask-position: 0 50%;
  mask-repeat: repeat-x;
}

.scan-fwd {
  background-image: linear-gradient(
    90deg,
    transparent 0 3ch,
    rgb(38 139 210 / 0.1) 3ch 4ch,
    rgb(38 139 210 / 0.22) 4ch 5ch,
    rgb(38 139 210 / 0.38) 5ch 6ch,
    rgb(38 139 210 / 0.58) 6ch 7ch,
    rgb(38 139 210 / 0.78) 7ch 8ch,
    rgb(38 139 210 / 0.92) 8ch 9ch,
    var(--blue) 9ch 10ch
  );
  animation: scan-fwd 3.2s linear infinite;
}

.scan-back {
  background-image: linear-gradient(
    90deg,
    var(--blue) 0 1ch,
    rgb(38 139 210 / 0.92) 1ch 2ch,
    rgb(38 139 210 / 0.78) 2ch 3ch,
    rgb(38 139 210 / 0.58) 3ch 4ch,
    rgb(38 139 210 / 0.38) 4ch 5ch,
    rgb(38 139 210 / 0.22) 5ch 6ch,
    rgb(38 139 210 / 0.1) 6ch 7ch,
    transparent 7ch 10ch
  );
  animation: scan-back 3.2s linear infinite;
}

@keyframes scan-fwd {
  0% { transform: translateX(-9ch); }
  12% { transform: translateX(-9ch); }
  46% { transform: translateX(0); }
  54% { transform: translateX(0); }
  54.01% { transform: translateX(10ch); }
  100% { transform: translateX(10ch); }
}

@keyframes scan-back {
  0% { transform: translateX(-10ch); }
  54% { transform: translateX(-10ch); }
  54.01% { transform: translateX(9ch); }
  88% { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* A note beside a section heading: body size, green, bold, parenthesized. */
.section-note {
  margin-left: 0.75em;
  color: var(--green);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.work-list {
  display: grid;
  gap: 0;
}

.work-item h3 {
  margin: 0;
  color: var(--base2);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: inherit;
}

.work-item h3 a {
  color: inherit;
}

.work-item h3 a:hover {
  color: var(--base3);
}

.work-item h3 .plus {
  color: var(--vim-blue);
}

.work-link {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}

.work-link:hover {
  color: var(--base2);
  text-decoration-color: currentColor;
}

.work-link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.open-source .work-link {
  color: var(--base2);
  font-size: 1.0625rem;
}

.open-source .work-link:hover {
  color: var(--base3);
}

.inline-link {
  color: var(--cyan);
  text-decoration: none;
}

.inline-link:hover {
  color: var(--base2);
}

.inline-link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.work-item p {
  margin: 0;
  color: var(--base1);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1em;
  padding: 0 4px;
  border: 1px solid currentColor;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  opacity: 0.8;
}

/* The outer <svg> has no viewBox, so the symbol fills whatever box CSS gives
   it. Widths are the trimmed ratio times the 1.102em height: a square box
   would letterbox the wide marks back down to nothing. */
.term-link {
  color: var(--cyan);
  text-decoration: none;
}

.term-link:hover {
  color: var(--base2);
}

.term-link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.term-link code {
  color: inherit;
}

.term-link:hover code {
  color: inherit;
}

.company-link {
  color: inherit;
  text-decoration: none;
}

.company-link:hover {
  color: var(--base2);
}

.company-link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.experience-list {
  display: grid;
  gap: 0;
}

.exp-item {
  background: var(--base02);
  border-bottom: 1px solid var(--base03);
}

/* Expanded rows sit on the page ink; collapsed rows lift one step. */
.exp-item[open] {
  background: var(--base03);
}

/* The headliner keeps the collapsed ink when the row opens, so it reads as
   its own bar above the expanded body. */
.exp-item[open] .exp-summary {
  background: var(--base02);
}

/* The open headliner paints over the item background, so a pinned row
   carries its blue stripe on the summary too. */
.exp-item[data-pinned] .exp-summary {
  box-shadow: inset 2px 0 0 var(--blue);
}

.exp-item[data-pinned] {
  box-shadow: inset 2px 0 0 var(--blue);
}

.exp-summary {
  display: grid;
  /* The right column is exactly as wide as its widest item, so the
     longest date or tech stack ends on the same 16px inset as the role
     text does on the left. */
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) 236px;
  align-items: baseline;
  gap: 12px;
  padding: 11px 16px 11px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
}

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

.exp-summary:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.exp-toggle::before {
  content: "+";
  color: var(--vim-blue);
  font-weight: 700;
}

.exp-toggle {
  margin-left: 16px;
  margin-right: 0.75em;
}

.exp-item[open] .exp-toggle::before {
  content: "−";
}

.exp-role {
  margin: 0;
  color: var(--base2);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: inherit;
}

/* Desktop keeps the company and date in their own grid columns; on mobile
   the wrapper becomes the attached right-side meta group. */
.exp-meta {
  display: contents;
}

.exp-company {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 7px;
  color: var(--base2);
  font-weight: 700;
}

.exp-company.company-link:hover {
  color: var(--base3);
}

/* Company rows use text chips. One size, one shape, one colour per company;
   the border is the text colour at 35%. The chip text is the headliner
   size (1.0625rem = 17px) wherever the chip sits. */
.chip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 1.0625rem; /* the headliner text size, wherever the chip sits */
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
  padding: 0.15em 0.5em;
  border: 2px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 4px;
  background: transparent;
}

.chip--nvidia { color: var(--c-nvidia); }
.chip--google { color: var(--c-google); }
.chip--tesla { color: var(--c-tesla); }
.chip--arista { color: var(--c-arista); }
.chip--hire4real { color: var(--c-hire4real); }
.chip--school { color: var(--c-school); }


/* The old wordmark reads with a half-letter gap between letters. */
.now {
  color: var(--green);
  font-weight: 600;
}

/* Dates and tech stacks start on one left edge, like the role and the
   company chip do. The column is as wide as its longest item, so that
   item ends on the same 16px inset the role text keeps on the left. */
.exp-dates {
  color: var(--base2);
  text-align: left;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Tech stacks stay on one line, at the headliner text size. */
.exp-dates.work-tags {
  white-space: nowrap;
}

.exp-body {
  padding: 10px 0 14px 2em;
  cursor: pointer;
}

.exp-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.exp-bullets li {
  position: relative;
  padding-left: 1.5em;
  color: var(--base1);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.exp-bullets li + li {
  margin-top: 4px;
}

.exp-bullets li::before {
  content: "";
  position: absolute;
  left: 0.18em;
  top: 0.62em;
  width: 0.38em;
  height: 0.38em;
  border-radius: 50%;
  background: var(--blue);
}

.open-source {
  margin: 0;
  color: var(--base1);
  font-size: 0.9375rem;
}

.skills {
  display: grid;
  gap: 10px;
  margin: 0;
}

/* One official mark per linked skill, 1.5x the cap height of its 15px text. */
.skill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  vertical-align: middle;
}

.skill-logo {
  height: 1.2em;
  width: auto;
  flex: none;
}

/* PCIe, I2C and DMTF carry transparent padding; scale the box so the
   visible ink still measures 18px (1.5x the 12px cap height). */
.skill-logo[src$="pcie.svg"] {
  height: 1.271em;
}

.skill-logo[src$="i2c.svg"] {
  height: 1.49em;
}

.skill-logo[src$="dmtf.svg"] {
  height: 1.235em;
}

/* USB and LAN swap their files so the mark is cream on dark and dark on
   light. */
/* Project tags, the hero role line and the build credit follow the same
   1.5x cap-height rule in their own font size. */
.tag-logo,
.role-skill,
.model-logo {
  height: 1.2em;
  width: auto;
  vertical-align: -0.25em;
}

.tag-logo {
  margin-right: 0.3em;
}

/* Technology marks inside the prose follow the same 1.5x cap rule. */
.tech-logo {
  height: 1.2em;
  width: auto;
  vertical-align: -0.25em;
  margin-right: 0.3em;
}

/* Explicit opt-out: this mark is in the markup but not shown. */
.icon-exception {
  display: none;
}

/* Go is just GO in the Go blue, in our own font. */
/* Marks link to their technology homepage; the text keeps its own ink
   and every mark brightens on hover, like the company header links. */
.logo-link {
  color: inherit;
  text-decoration: none;
  transition: filter 120ms ease;
}

.logo-link:hover {
  color: inherit;
  text-decoration: none;
  filter: brightness(1.3);
}

.tech-logo,
.tag-logo,
.skill-logo,
.model-logo {
  transition: filter 120ms ease;
}

.term-link:hover img,
.inline-link:hover img,
.work-link:hover img,
.company-link:hover img {
  filter: brightness(1.3);
}

/* Project tag links take the same cyan ink. */
.logo-link.tag {
  color: var(--cyan);
}

/* In-body technology words take the cyan link ink, like the bullet
   technology links. AMD keeps its red word. */
a.logo-link.tech-word,
.tech-word a.logo-link {
  color: var(--cyan);
}

/* Keep each inline tech mark glued to its word. */
.tech-word {
  white-space: nowrap;
}

/* Inline company names carry their brand ink. Intel and AMD are just the
   words in our own font, no extra mark. */
.role-skill {
  margin-right: 0.45em;
  vertical-align: -0.22em;
}

.model-logo {
  margin-right: 0.35em;
}

.skill-row {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  font-size: 0.9375rem;
}

.skill-row dt {
  color: var(--base2);
  font-size: 1.0625rem;
  font-weight: 700;
}

.skill-row dd {
  margin: 0;
  color: var(--base1);
}

.education {
  display: grid;
  gap: 2px;
}

.edu-school {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--base1);
  font-size: 0.9375rem;
}

/* The university name is bold red; the shield is a sibling so the text
   baseline matches Stony Brook, NY and May 2015. */
.edu-link {
  color: var(--red);
  font-weight: 700;
}

.edu-link.chip--school {
  color: var(--c-school);
}

.edu-sep {
  color: var(--base01);
  font-size: 1.5em;
  line-height: 1;
}

.edu-place {
  color: var(--base0);
}

.edu-dates {
  color: var(--base0);
  font-variant-numeric: tabular-nums;
}

.edu-degree {
  margin: 0;
  /* The school chip pads half its own 1.0625rem text plus the 2px border;
     the degree line starts on the chip's text, not its border. */
  padding-left: calc(0.53125rem + 2px);
  color: var(--base1);
  font-size: 0.9375rem;
}

.tip {
  position: fixed;
  z-index: 200;
  padding: 4px 8px;
  border: 1px solid var(--base01);
  background: var(--base02);
  color: var(--base1);
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}

.tip[hidden] {
  display: none;
}

.tip.is-over-open {
  background: var(--base03);
  border-color: var(--base1);
}

.prompt-stack {
  position: sticky;
  margin-top: 24px;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: var(--base03);
}


.stat-dot {
  color: var(--base01);
}

.prompt-box {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--status-h);
  z-index: 100;
  width: min(var(--page-w), calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 16px 20px;
  border: 0;
  border-left: 2px solid var(--blue);
  background: var(--base02);
}

.prompt-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--base2);
  font-size: 1.0625rem;
  text-decoration: none;
}

.prompt-link:hover {
  color: var(--blue-bright);
}

.prompt-link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.cursor-small {
  color: inherit;
}

h1 .cursor {
  margin-left: 0.25em;
}

.prompt-meta {
  margin: 18px 0 0;
  color: var(--base0);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.model-agent {
  color: var(--blue);
}

/* OpenCode itself is a technology link: cyan, new tab. */
.prompt-meta .logo-link {
  color: var(--cyan);
}

.model-auto,
.model-dim,
.model-provider {
  color: var(--base01);
}

.model-name {
  color: var(--base0);
}

.model-max {
  color: var(--yellow);
  font-weight: 700;
}

.prompt-activity {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--status-h) + var(--prompt-h));
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(var(--page-w), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 16px 8px;
  background: var(--base03);
  color: var(--base01);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.spinner {
  color: var(--base01);
}

.activity-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.activity-glyph {
  margin-right: 0.35em;
}

.prompt-status {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 16px;
  width: min(var(--page-w), calc(100% - 48px));
  margin: 0 auto;
  padding: 4px 16px;
  background: var(--base03);
  color: var(--base1);
  font-size: 0.9375rem;
  line-height: 1.3;
}

.prompt-stack > * {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: auto;
  margin: 0;
}

.status-left,
.status-right {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.status-left {
  margin-right: auto;
  color: var(--base01);
}

.status-copy {
  margin-left: 8px;
  color: var(--base1);
}

.status-right {
  color: var(--base01);
}

.pl-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  background: var(--base03);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
}

.pl-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(var(--page-w), calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
}

.pl-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 4px;
  width: 100%;
}

.pl-group {
  display: flex;
  align-items: center;
  min-width: 0;
}

.pl-right {
  margin-left: auto;
}

.pl-seg .chip {
  font-size: 1em; /* the bar keeps its own text size */
}

/* tmuxline's separator for two areas that share a background: U+E0B1, the
   thin right arrow, in the segment text colour. */
.pl-thin {
  flex: none;
  width: 14px;
  height: 28px;
  margin: 0 5px 0 0;
  fill: var(--base1);
}

/* The hero chip follows the hero line, so its box matches the words
   around it. */
.role .chip {
  font-size: 1em;
}

.pl-seg {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  height: 28px;
  margin-left: -10px;
  padding: 0 16px;
  background: var(--seg-bg);
  color: var(--seg-fg);
  white-space: nowrap;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}

.pl-seg:first-child {
  margin-left: 0;
  padding-left: 10px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.pl-seg:last-child {
  padding-right: 10px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%);
}

.pl-seg:only-child {
  margin-left: 0;
  padding-left: 10px;
  padding-right: 10px;
  clip-path: none;
}

.pl-left .pl-seg:last-child,
.pl-left .pl-seg:only-child {
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}

.pl-right .pl-seg,
.pl-right .pl-seg:first-child,
.pl-right .pl-seg:last-child,
.pl-right .pl-seg:only-child {
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}

.pl-right .pl-seg {
  margin-left: -10px;
  padding: 0 16px;
}

.pl-right .pl-seg:first-child {
  margin-left: 0;
  padding-left: 16px;
}

.pl-right .pl-seg:last-child {
  padding-right: 10px;
}

.pl-theme-btn {
  --seg-bg: var(--base02);
  --seg-fg: var(--base0);
  border: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Each button shows the page colour of the theme it selects. */
.pl-theme-btn[data-theme-set="dark"] {
  --seg-bg: #002b36;
  --seg-fg: #fdf6e3;
}

.pl-theme-btn[data-theme-set="light"] {
  --seg-bg: #fdf6e3;
  --seg-fg: #002b36;
}

.pl-theme-btn.is-active {
  --seg-bg: var(--blue);
  --seg-fg: var(--base03);
}

.pl-theme-btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -2px;
}

/* The theme buttons carry a radio, not a bullet: a hollow ring when off,
   and a green centre inside a dark circle when on. */
.pl-radio {
  position: relative;
  flex: none;
  box-sizing: border-box;
  width: 0.85em;
  height: 0.85em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.pl-theme-btn.is-active .pl-radio {
  border-color: var(--base03);
  background: var(--green);
}

.pl-seg[href] {
  transition: filter 120ms ease;
}

.pl-seg[href]:hover {
  filter: brightness(1.15);
}

.pl-icon {
  margin-right: 0.28em;
}

.pl-icon.i-loc {
  margin-right: 0.45em;
}

.social-icon {
  height: 1.2em;
  width: auto;
  flex: none;
  margin-right: 0.3em;
  vertical-align: -0.22em;
}

.pl-seg .social-icon {
  margin-right: 0.28em;
}

html[data-theme="dark"] .button .gh-black {
  display: none;
}

html[data-theme="light"] .button .gh-white {
  display: none;
}



.place-map {
  height: 1.2em;
  width: auto;
  vertical-align: -0.26em;
  margin-right: 0.28em;
}

.pl-fill {
  flex: 1;
  min-width: 16px;
  height: 1em;
  background-image: radial-gradient(circle, var(--base01) 1px, transparent 1.5px);
  background-size: 8px 8px;
  background-repeat: repeat-x;
  background-position: center;
}

.pl-blue {
  --seg-bg: var(--vim-blue-link);
  --seg-fg: var(--base03);
}

.pl-light {
  --seg-bg: var(--base1);
  --seg-fg: var(--base03);
}


.pl-dir {
  --seg-bg: var(--base02);
  --seg-fg: var(--blue);
}

.pl-vcs {
  --seg-bg: var(--base02);
  --seg-fg: var(--c-nvidia);
}

.pl-vim {
  --seg-bg: var(--green);
  --seg-fg: var(--base03);
}

.pl-status {
  --seg-bg: var(--green);
  --seg-fg: var(--base02);
}

.pl-social {
  --seg-bg: var(--base02);
  --seg-fg: var(--base1);
}

/* Right side, p10k order: base02, base00, base1. */
.pl-line:not(.pl-line-social) .pl-right .pl-seg:nth-child(1) {
  --seg-bg: var(--base02);
  --seg-fg: var(--base1);
}

.pl-line:not(.pl-line-social) .pl-right .pl-seg:nth-child(2) {
  --seg-bg: var(--base00);
  --seg-fg: var(--base03);
}

.pl-line:not(.pl-line-social) .pl-right .pl-seg:nth-child(3) {
  --seg-bg: var(--base1);
  --seg-fg: var(--base03);
}

.pl-line-social .pl-right .pl-seg:nth-child(1) {
  --seg-bg: var(--green);
  --seg-fg: var(--base03);
}

.pl-line-social .pl-right .pl-seg:nth-child(2) {
  --seg-bg: var(--base00);
  --seg-fg: var(--base03);
}

.pl-line-social .pl-right .pl-seg:nth-child(3) {
  --seg-bg: var(--base1);
  --seg-fg: var(--base03);
}

.pl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.28em;
  min-width: 1.5em;
  padding: 0 0.15em;
  border: 1px solid currentColor;
  font-size: 0.78em;
  line-height: 1.3;
  opacity: 0.9;
}

.pl-context {
  --seg-bg: var(--yellow);
  --seg-fg: var(--base03);
}

@media (max-width: 720px) {
  :root {
    --topbar-h: 57px;
    --prompt-h: 89px;
    --status-h: 47px;
  }

  body {
    font-size: 16px;
  }

    h1 {
    font-size: 2.5rem;
  }

  .role {
    font-size: 1.25rem;
  }

  /* The desktop air around each dot eats a phone line; keep it compact. */
  .role-dot {
    width: 2.6em;
  }

  .intro {
    font-size: 0.9375rem;
  }

  .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 22px;
  }

  .actions .button {
    justify-content: flex-start;
    padding: 0 14px;
  }

  .section {
    margin-top: 32px;
  }

  .section h2 {
    scroll-margin-top: calc(var(--topbar-h) + 12px);
  }

  .fired-prompt {
    position: static;
    margin-top: 10px;
  }

  .mini {
    min-height: 32px;
    padding: 4px 10px;
  }

  .prompt-stack {
    position: static;
  }

  .prompt-box {
    padding: 16px 12px;
  }

  .work-item p {
    margin-left: 0;
  }

  .exp-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    padding: 10px;
  }

  .exp-toggle {
    margin-left: 6px;
  }

  .exp-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0 2px;
    flex: 1 0 100%;
    margin-left: 0;
    padding-left: 29px;
  }

  /* The company starts on the role text column; the date or tags end at
     the right edge, so every row header lines up. The dates take the tag
     size on a phone so long ranges stay on one line with the company. */
  .exp-meta .exp-dates {
    margin-left: auto;
    font-size: 0.875rem;
  }

  .exp-meta .exp-dates::before {
    content: "·";
    margin-right: 0.4em;
    color: var(--base01);
  }

  .row-line {
    flex: 1 0 100%;
    padding-left: 29px;
  }

  .exp-body {
    padding-left: 1.5em;
  }

  .skill-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .prompt-meta {
    display: none;
  }

  .spinner {
    display: none;
  }

  .pl-top {
    gap: 4px;
    width: min(var(--page-w), calc(100% - 48px));
    margin: 0 auto;
    padding: 4px 0;
  }

  .pl-line {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .pl-line .pl-right {
    margin-left: auto;
  }

  .pl-top .pl-group {
    flex-wrap: wrap;
  }

  .prompt-status {
    padding: 4px 8px;
    font-size: 0.8125rem;
  }

  .status-right {
    margin-left: auto;
    justify-content: flex-end;
  }

  .status-agents {
    display: none;
  }

  .pl-fill {
    display: none;
  }

  .pl-hide-sm {
    display: none;
  }

  .pl-seg {
    height: 22px;
    margin-left: -8px;
    padding: 0 12px;
    font-size: 0.8125rem;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%);
  }

  .pl-seg:first-child {
    padding-left: 8px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  }

  .pl-seg:last-child {
    padding-right: 8px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8px 50%);
  }

  .pl-seg:only-child {
    padding-left: 8px;
    padding-right: 8px;
    clip-path: none;
  }

  .pl-left .pl-seg:last-child,
  .pl-left .pl-seg:only-child {
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%);
  }

  .pl-right .pl-seg,
  .pl-right .pl-seg:first-child,
  .pl-right .pl-seg:last-child,
  .pl-right .pl-seg:only-child {
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
  }

  .pl-right .pl-seg {
    margin-left: -8px;
    padding: 0 12px;
  }

  .pl-right .pl-seg:first-child {
    margin-left: 0;
    padding-left: 12px;
  }

  .pl-right .pl-seg:last-child {
    padding-right: 8px;
  }
}

@media (max-width: 340px) {
  :root {
    --prompt-h: 111px;
  }
}

@media (max-width: 420px) {
  :root {
    --topbar-h: 57px;
  }

  .pl-line:not(.pl-line-social) .pl-right .pl-seg,
  .pl-line-social .pl-right .pl-seg:nth-child(n + 2),
  .pl-status,
  .pl-vim,
  .pl-context {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor {
    animation: none;
  }

  .scan {
    animation: none;
  }

  .scan-fwd {
    transform: translateX(-7ch);
  }

  .scan-back {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* The fixed chrome must leave the paper; the base rules come later in the
   sheet than the first print block, so this one sits at the end. */
@media print {
  .pl-top,
  .prompt-stack {
    position: static;
  }
}

/* Company keywords in prose take the headliner colour, without the chip box.
   Only the company word itself carries the colour: a link that is a product
   or technology name (term-link, tech-word, tag) keeps its own colour. */
.page a[href^="https://www.nvidia.com"]:not(.term-link):not(.tech-word):not(.tag) { color: var(--c-nvidia); }
.page a[href^="https://www.tesla.com"]:not(.term-link):not(.tech-word):not(.tag) { color: var(--c-tesla); }
.page a[href^="https://www.google.com"]:not(.term-link):not(.tech-word):not(.tag),
.page a[href^="https://developers.google.com"]:not(.term-link):not(.tech-word):not(.tag) { color: var(--c-google); }
.page a[href^="https://www.arista.com"]:not(.term-link):not(.tech-word):not(.tag) { color: var(--c-arista); }
.page a[href^="https://hire4real.fyi"]:not(.term-link):not(.tech-word):not(.tag) { color: var(--c-hire4real); }

/* Go reads in the site cyan, same as every other technology word. */
.page a[href^="https://go.dev"] { color: var(--cyan); }

/* Headliner tech stacks take the headliner cream, not the link cyan. */
.exp-dates a.logo-link { color: var(--base2); }

/* Alphabet is Google's parent: the same cream as the Google keyword. */
.page a[href^="https://abc.xyz"]:not(.term-link):not(.tech-word):not(.tag) { color: var(--c-google); }
