/* panr/terminal-css standalone.css — vendored from https://panr.github.io/terminal-css/ */
/* [[ FONT ]] */

/* [[ VARIABLES ]] */

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Fira Code",
    "JetBrains Mono",
    Monaco,
    Consolas,
     "Ubuntu Mono",
    monospace;
  font-size: var(--font-size);
  font-weight: 400;
  line-height: var(--line-height);
  background-color: var(--background);
  color: var(--foreground);
  text-rendering: optimizeLegibility;
  font-variant-ligatures: contextual;
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
}

/* [[ HEADING ]] */

h1, h2, h3, h4, h5, h6,
p, ul, img {
  margin: 25px 0;
}

a {
  color: var(--accent);
}

button {
  position: relative;
  font: inherit;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  background: transparent;
  color: var(--accent);
  padding: 5px 18px;
  border: 4px solid var(--accent);
  border-radius: var(--radius);
  transition: background 0.15s linear;
  appearance: none;
  cursor: pointer;
  outline: none;
}

button:hover {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}

button:focus-visible,
a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

/* [[ FORMS ]] removed: no forms on this site and markdown cannot produce them.
   Restore from https://panr.github.io/terminal-css/styles/standalone.css if ever needed. */

img {
  display: block;
  max-width: 100%;
  border: 8px solid var(--accent);
  border-radius: var(--radius);
  padding: 8px;
  overflow: hidden;
}

ul {
  margin-left: 4ch;
  padding: 0;
}

ul ul {
  margin-top: 0;
}

li::marker {
  color: var(--accent);
}

ul li {
  position: relative;
}

code {
  font-family:
    "Fira Code",
    "JetBrains Mono",
    Monaco,
    Consolas,
    Ubuntu Mono,
    monospace !important;
  font-feature-settings: normal;
  background: color-mix(in srgb, var(--foreground) 5%, transparent);
  color: color-mix(in srgb, var(--foreground) 5%, var(--accent));
  padding: 0 6px;
  margin: 0 2px;
  font-size: 0.95em;
}

code {
  border: 1px solid color-mix(in srgb, var(--foreground) 25%, transparent);
}

code code {
  background: transparent;
  padding: 0;
  margin: 0;
}

/* Bold elements */

h1, h2, h3, h4, h5, h6,
b, strong,
button {
  font-weight: 600;
}


/* Neon on black, over terminal-css (concatenated ahead of this at build) */
:root {
  --bg: #000000;
  --bg-deep: #050708;
  --surface: #0d1417;
  --fg: #e6f7fa;
  --dim: #6f8f97;
  --teal: #00ffc8;
  --blue: #00e5ff;
  --aqua: #7df9ff;
  --violet: #b18cff;

  --accent: var(--teal);
  --line: color-mix(in srgb, var(--fg) 12%, transparent);
  --line2: color-mix(in srgb, var(--teal) 45%, transparent);
  --glass: color-mix(in srgb, var(--surface) 60%, transparent);
  --glow: 0 0 1.5rem -0.25rem color-mix(in srgb, var(--teal) 70%, transparent);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* terminal-css knobs */
  --background: var(--bg-deep);
  --foreground: var(--fg);
  --font-size: 15px;
  --line-height: 1.7;
  --radius: 10px;
  color-scheme: dark;
}

/* colour behind the glass — without this there is nothing to blur */
body { font-family: var(--sans); background: var(--bg); }

/* neon scrollbar: the standard properties win in new browsers, WebKit rules cover the rest */
html { scrollbar-width: thin; scrollbar-color: var(--teal) var(--bg-deep); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg-deep);
  border-radius: 999px;
  background: var(--teal);
}
::-webkit-scrollbar-thumb:hover { background: var(--aqua); }

/* the sprite is a definition sheet, never painted itself */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* near-black brand marks keep their real colour, on a light plate so they are visible */
svg.plate { background: var(--fg); border-radius: 4px; padding: 2px; }
.chips svg.plate { border-radius: 3px; padding: 1px; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
.hl {
  color: var(--teal);
  text-shadow: 0 0 1.2rem color-mix(in srgb, var(--teal) 70%, transparent),
    0 0 3.5rem color-mix(in srgb, var(--teal) 45%, transparent);
}

/* ---------- chrome ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem clamp(1rem, 5vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-deep) 70%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
}
.bar nav { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--mono); font-size: 0.85rem; }
.bar nav a {
  padding: 0.3rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--dim);
}
.bar nav a:hover {
  border-color: var(--line2);
  background: color-mix(in srgb, var(--teal) 15%, transparent);
  color: var(--fg);
  text-decoration: none;
}

/* ---------- bands ---------- */

main { padding: 0; }
.band {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  border-bottom: 1px solid var(--line);
}
.band:nth-of-type(even) { background: color-mix(in srgb, var(--bg-deep) 45%, transparent); }
html { scroll-padding-top: 4.5rem; }
.wrap { max-width: 66rem; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 2.5rem); }

.sec-head { margin-bottom: 2.25rem; }
.sec-head h2 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--fg);
  text-wrap: balance;
}
.sec-head .sub { margin: 0.6rem 0 0; color: var(--dim); }

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.toc a {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--dim);
}
.toc a:hover { border-color: var(--teal); color: var(--teal); box-shadow: var(--glow); text-decoration: none; }

/* ---------- hero ---------- */

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
}
@media (max-width: 46rem) { .hero .wrap { grid-template-columns: 1fr; } }

/* line art on white — invert it and screen out the paper so only the strokes land */
.portrait {
  justify-self: center;
  width: auto;
  max-height: min(21rem, 48vh);
  margin: 0;
  padding: 0;
  border: 0;
  filter: invert(1);
  mix-blend-mode: screen;
}

.hero h1 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.1rem, 7vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: var(--fg);
  text-wrap: balance;
}
/* a list of disciplines, so it is marked up as one — `role="list"` in the markup keeps the
   semantics that `list-style: none` strips in Safari. The items stay inline so `text-wrap: balance`
   still gets an inline formatting context to balance. */
.hero .role {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--aqua);
  text-wrap: balance;
}
/* break between items, never inside one — the separator rides with the item after it,
   so a wrapped line starts with "\2022 item" instead of leaving a bullet dangling at the end of the one above */
.hero .role li { display: inline; white-space: nowrap; }
.hero .role li + li::before { content: "\2022\00a0"; }

/* portrait and epigraph share the right column — the quote reads as the figure's caption */
.hero .side { display: grid; justify-items: center; gap: 1.25rem; }

/* ---------- hero neon ---------- */

/* a slow teal bloom drifting behind the intro */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -35%;
  left: -12%;
  width: 50rem;
  height: 50rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--teal) 13%, transparent), transparent 62%);
  pointer-events: none;
  animation: bloom 14s ease-in-out infinite alternate;
}
.hero .wrap { position: relative; }

/* every loop below is decorative; stop paying for them once the hero has scrolled away */
.hero.paused::before, .hero.paused *, .hero.paused *::before, .hero.paused *::after { animation-play-state: paused; }

@keyframes bloom {
  from { transform: translate(0, 0) scale(1); opacity: 0.6; }
  to { transform: translate(7rem, 4rem) scale(1.2); opacity: 1; }
}

/* the name breathes instead of sitting at one glow level */
.hero .hl { animation: neon 3.4s ease-in-out infinite; }
@keyframes neon {
  50% {
    text-shadow:
      0 0 0.5rem color-mix(in srgb, var(--teal) 90%, transparent),
      0 0 2rem color-mix(in srgb, var(--teal) 70%, transparent),
      0 0 5rem color-mix(in srgb, var(--teal) 40%, transparent);
  }
}

/* terminal caret after the role line */
.hero .role::after {
  content: "_";
  margin-left: 0.15rem;
  color: var(--teal);
  animation: caret 1.1s steps(1, end) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2.25rem 0 0; font-family: var(--mono); font-size: 0.85rem; }
.links a {
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: var(--glass);
  color: var(--teal);
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.links a:hover { background: color-mix(in srgb, var(--teal) 18%, transparent); box-shadow: var(--glow); text-decoration: none; }


/* ---------- glass cards ---------- */

.card,
.entry,
.proj {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--fg) 7%, transparent);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
/* a jumped-to card stays lit so it is obvious where the link landed */
.card:hover,
.entry:hover,
.proj:hover,
.card:target,
.entry:target,
.proj:target {
  border-color: color-mix(in srgb, var(--teal) 70%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--fg) 12%, transparent), var(--glow);
  transform: translateY(-2px);
}
.card h3,
.entry h3,
.proj-head h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
}

/* ---------- career ---------- */

.timeline { display: grid; gap: 1rem; }
.entry { padding: 1.5rem 1.6rem; }
.part { position: relative; }
/* concurrent roles share one card, split by a rule rather than a gap */
.entry.group { display: grid; grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr)); gap: 2rem; }
.group .part + .part { border-left: 1px solid var(--line); padding-left: 2rem; }
@media (max-width: 58rem) {
  .entry.group { grid-template-columns: 1fr; gap: 1.5rem; }
  .group .part + .part { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
}
.arrow {
  justify-self: center;
  padding: 0.1rem 0;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--teal);
  text-shadow: 0 0 0.9rem color-mix(in srgb, var(--teal) 80%, transparent);
}

.entry .meta { margin-bottom: 1rem; padding-right: 8rem; }
.entry h3 { font-size: 1.2rem; color: var(--teal); }
.entry .org { margin: 0.25rem 0 0; font-family: var(--mono); font-size: 0.85rem; color: var(--dim); }
.badge {
  position: absolute;
  box-shadow: 0 0 0.9rem -0.35rem color-mix(in srgb, var(--blue) 85%, transparent);
  top: 1.5rem;
  right: 1.6rem;
  margin: 0;
  padding: 0.15rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--aqua) 40%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--aqua) 12%, transparent);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--aqua);
}
@media (max-width: 34rem) {
  .badge { position: static; display: inline-block; margin-bottom: 0.8rem; }
  .entry .meta { padding-right: 0; }
}

.part > ul { margin: 0; padding-left: 1.15rem; list-style: none; }
.part > ul > li { position: relative; margin-bottom: 0.5rem; }
.part > ul > li::before { content: "▸"; position: absolute; left: -1.15rem; color: var(--teal); }
.entry ul ul { margin: 0.3rem 0 0.6rem; padding-left: 1.15rem; list-style: none; }
.entry ul ul li { position: relative; color: color-mix(in srgb, var(--fg) 70%, transparent); }
.entry ul ul li::before { content: "–"; position: absolute; left: -1.15rem; color: var(--dim); }
.entry strong { color: var(--aqua); font-weight: 600; }

/* ---------- projects ---------- */

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1rem;
  align-items: start;
}
.proj { position: relative; padding: 1rem 1.25rem 1.4rem; }
.thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 3px);
  background: linear-gradient(160deg, color-mix(in srgb, var(--teal) 12%, transparent), var(--bg) 70%);
  color: var(--brand, var(--teal));
  overflow: hidden;
}
.thumb svg { width: 3.5rem; height: 3.5rem; }
.thumb img { width: 100%; height: 100%; margin: 0; padding: 0; border: 0; object-fit: cover; }

.proj-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.proj-head h3 { font-size: 1.1rem; text-wrap: balance; }
.proj-links { display: flex; flex-shrink: 0; gap: 0.5rem; }
.proj-links a {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--dim);
}
.proj-links a:hover { color: var(--blue); }
.proj-links svg { width: 1.05rem; height: 1.05rem; display: block; }
.proj .period { margin: 0.35rem 0 0; font-family: var(--mono); font-size: 0.8rem; color: var(--dim); }

.proj > p { margin: 0.9rem 0 1.2rem; color: color-mix(in srgb, var(--fg) 80%, transparent); }
.proj strong { color: var(--aqua); font-weight: 600; }

/* the button's overlay makes the whole card the hit target, without nesting it in a link */
.details {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--teal);
  cursor: pointer;
}
.details::after { content: ""; position: absolute; inset: 0; }
.proj:hover .details { text-decoration: underline; }

/* ---------- detail dialog ---------- */

.modal {
  width: min(64rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 3rem);
  margin: auto;
  padding: 1.5rem 2rem;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  color: var(--fg);
  overflow: auto;
}
.modal::backdrop { background: color-mix(in srgb, var(--bg-deep) 75%, transparent); backdrop-filter: blur(4px); }
.modal h3 { margin: 0; font-family: var(--sans); font-weight: 600; font-size: 1.4rem; color: var(--teal); }
/* every section runs the full width of the panel, one under the other */
.msec > h4:first-child { margin-top: 0.95rem; }
/* a prose section keeps the rhythm and value colour of the spec sections beside it */
.msec p { margin: 0 0 0.6rem; color: color-mix(in srgb, var(--fg) 85%, transparent); }
.msec p:last-child { margin-bottom: 0; }

.modal h4 {
  margin: 0.95rem 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.modal .period { margin: 0.3rem 0 0; }
.spec {
  display: grid;
  /* label column sizes to its own labels, capped so a long one cannot eat the values */
  grid-template-columns: fit-content(11rem) minmax(0, 1fr);
  /* the label is smaller mono than the value's sans — sit them on a shared baseline */
  align-items: baseline;
  gap: 0.35rem 1.25rem;
  margin: 0;
}
.spec dt {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--teal);
}
.spec dd { margin: 0; color: color-mix(in srgb, var(--fg) 85%, transparent); }
.spec dd.wide { grid-column: 1 / -1; }
.spec code { font-size: 0.85em; }

.modal ul:not(.chips) { margin: 0; padding-left: 1.15rem; list-style: none; }
.modal ul:not(.chips) li { position: relative; margin-bottom: 0.5rem; color: color-mix(in srgb, var(--fg) 80%, transparent); }
.modal ul:not(.chips) li::before { content: "▸"; position: absolute; left: -1.15rem; color: var(--teal); }
.modal strong { color: var(--aqua); font-weight: 600; }
.modal .chips + h5, .slide h5 {
  margin: 1.4rem 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.slide h5:first-child { margin-top: 0; }

.chips { margin-top: 0; }
.modal form { float: right; margin-left: 1rem; }
.close {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  color: var(--dim);
  cursor: pointer;
}
.close:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- technologies ---------- */

.masonry { columns: 3 19rem; column-gap: 1rem; }
.card {
  break-inside: avoid;
  margin-bottom: 1rem;
  padding: 1.25rem 1.4rem 1.5rem;
}
.card h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  color: var(--teal);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tiles > li { display: flex; }
.tile {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.35rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: center;
  transition: background 0.15s, border-color 0.15s;
}
.tile:hover { background: color-mix(in srgb, var(--surface) 45%, transparent); border-color: var(--line); }
/* a tile only links when a project's stack backs it up */
a.tile { color: inherit; }
a.tile:hover { border-color: var(--teal); text-decoration: none; }
a.tile:hover .lbl { color: var(--teal); }
.tile .glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.85rem;
  color: var(--brand, var(--dim));
}
.tile .glyph svg { width: 1.65rem; height: 1.65rem; display: block; }
.tile .lbl {
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.tile:hover .lbl { color: var(--fg); }

.also {
  margin: 1rem 0 0.6rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--dim);
}

/* ---------- popup slides ---------- */

.slidenav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.slidenav button {
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--dim);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.slidenav button:hover { color: var(--fg); border-color: color-mix(in srgb, var(--teal) 50%, transparent); }
.slidenav button.on {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: var(--glow);
}
.slidenav .steps { display: flex; gap: 0.4rem; margin-left: auto; }
.slidenav .step { padding: 0.3rem 0.7rem; line-height: 1; }
.slidenav .step:disabled { opacity: 0.35; cursor: default; }
.slidenav .step:disabled:hover { color: var(--dim); border-color: var(--line); }

.stage { overflow: hidden; transition: height 0.35s ease; }
.track {
  display: flex;
  align-items: flex-start;
  transform: translateX(calc(var(--i, 0) * -100%));
  transition: transform 0.35s ease;
}
.slide { flex: 0 0 100%; min-width: 100%; }
@media (prefers-reduced-motion: reduce) { .track, .stage { transition: none; } }

/* the diagram already carries its own top padding */
.slide > .diagram:first-child { padding-top: 0; }

/* ---------- architecture diagrams ---------- */

.diagram {
  margin: 0 0 1.75rem;
  padding: 1rem 0.25rem 0.5rem;
  overflow-x: auto;
}
.diagram svg { display: block; width: 100%; min-width: 40rem; height: auto; }

/* ---------- stack chips ---------- */

.chips {
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), auto);
  justify-content: start;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 35%, transparent);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--fg) 80%, transparent);
}
.chips svg { width: 1.2rem; height: 1.2rem; color: var(--brand, var(--dim)); flex-shrink: 0; }

/* the fixed column count cannot fit a phone — wrap freely instead (must follow .chips) */
@media (max-width: 46rem) {
  .chips { display: flex; flex-wrap: wrap; }
}

footer {
  padding: 2.5rem clamp(1rem, 5vw, 3rem);
  color: var(--dim);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.quote {
  max-width: 24rem;
  margin: 0;
  padding: 0 1rem;
  font-family: var(--sans);
  font-weight: 400;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
  color: color-mix(in srgb, var(--fg) 68%, transparent);
  text-wrap: balance;
}
.quote::before, .quote::after {
  color: var(--teal);
  text-shadow: 0 0 0.8rem color-mix(in srgb, var(--teal) 55%, transparent);
  animation: neon 3.4s ease-in-out infinite;
}
/* the epigraph breathes on its own, now that the portrait's rim is gone */
.quote { animation: quote-glow 6s ease-in-out infinite alternate; }
@keyframes quote-glow {
  from { color: color-mix(in srgb, var(--fg) 55%, transparent); }
  to {
    color: color-mix(in srgb, var(--fg) 90%, transparent);
    text-shadow: 0 0 1.4rem color-mix(in srgb, var(--aqua) 32%, transparent);
  }
}
.quote::before { content: "\201C"; }
.quote::after { content: "\201D"; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
