/* Two palettes on one layout. 2049: amber haze on warm black. 2019: neon and rain on blue-black. */
:root {
  --bg:       #07090a;
  --bg-2:     #0e1112;
  --ink:      #ece5d8;
  --ink-2:    #b9b1a3;
  --ink-3:    #8c8579;
  --rule:     rgba(236, 229, 216, 0.13);
  --accent:   #ffb454;
  --accent-2: #62d2c7;
  --on-accent: #1a1206;
  --glow:     255, 170, 70;
  --glow-2:   98, 210, 199;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --shell: 66rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --side: 11rem;
  --skyline: clamp(9.5rem, 20vw, 15rem);   /* the strip under the text; the horizon sits just inside it */
  --sky: linear-gradient(to top,
    #a85c10 0, #9c570f calc(var(--skyline) * 0.9), #63370c calc(var(--skyline) * 1.45),
    #2a180a calc(var(--skyline) * 2.2), #0f0c09 calc(var(--skyline) * 3), var(--bg) calc(var(--skyline) * 3.9));
}
:root[data-era="2019"] {
  --bg:       #05070c;
  --bg-2:     #0a0e16;
  --ink:      #e4ecf3;
  --ink-2:    #aab7c4;
  --ink-3:    #7f8c9a;
  --rule:     rgba(170, 210, 240, 0.15);
  --accent:   #4fe3f7;
  --accent-2: #ff6aa8;
  --on-accent: #031318;
  --glow:     79, 227, 247;
  --glow-2:   255, 95, 162;
  --sky: linear-gradient(to top,
    #2c2028 0, #33242a calc(var(--skyline) * 0.9), #1b2036 calc(var(--skyline) * 1.4),
    #0c1322 calc(var(--skyline) * 2.2), var(--bg) calc(var(--skyline) * 3.4));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* faint scanlines over everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 3px);
}
::selection { background: var(--accent); color: var(--on-accent); }

h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { text-wrap: balance; }

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }
.label {
  font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.skip {
  position: absolute; left: -999rem; top: 0; z-index: 60;
  background: var(--accent); color: var(--on-accent); padding: 0.5rem 0.9rem;
}
.skip:focus { left: 0; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.bar__inner {
  max-width: var(--shell); margin: 0 auto; padding: 0.6rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.bar__name {
  display: inline-flex; align-items: center; min-height: 2.25rem; margin-right: auto; flex: none; white-space: nowrap;
  font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none;
}
.bar__name:hover { color: var(--ink); }
.bar__nav { display: flex; gap: 1.2rem; }
.bar__nav a {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-2);
}
.bar__nav a:hover { color: var(--accent); }
.era { display: flex; border: 1px solid var(--rule); }
.era button {
  font: inherit; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem; border: 0; background: none; color: var(--ink-3); cursor: pointer;
}
.era button:hover { color: var(--ink); }
.era button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
@media (max-width: 60rem) { .bar__nav { display: none; } }   /* seven links need this much room beside the name */

/* ---------- hero: a city at the bottom of the frame ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--sky); border-bottom: 1px solid rgba(var(--glow), 0.4); }
/* a darker edge to the frame, and a little neon in the air in 2019 */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background: radial-gradient(120% 95% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.5));
}
:root[data-era="2019"] .hero::before {
  background:
    radial-gradient(34rem 26rem at 92% 16%, rgba(var(--glow-2), 0.13), transparent 70%),
    radial-gradient(120% 95% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.5));
}
/* film grain */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero canvas { position: absolute; pointer-events: none; }
/* the still city is a little wider than the frame, so it can slide with the pointer */
#city { z-index: -2; left: -26px; bottom: 0; width: calc(100% + 52px); will-change: transform; }
#air { z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero__grid { padding-top: clamp(2.75rem, 6vw, 4.5rem); }
/* the text keeps to the left; the sky to its right is left to the city */
@media (min-width: 62.0625rem) { .hero__text { max-width: calc(100% - clamp(10rem, 15vw, 12.5rem) - 3.5rem); } }
.hero__ground { height: var(--skyline); margin-top: 1.5rem; }

.hero h1 {
  font-size: clamp(2.1rem, 7vw, 4.5rem);
  font-weight: 300; line-height: 1.04;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin: 1.1rem 0 0.9rem -0.04em;
  text-shadow: 0 0 2.2rem rgba(var(--glow), 0.35);
}
.hero__role {
  font-family: var(--mono); font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent);
}
.hero__lede {
  max-width: 40rem; margin-top: 1.4rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.1563rem); line-height: 1.55; color: var(--ink-2);
}
.hero__lede strong { color: var(--ink); font-weight: 600; }

.status {
  display: inline-flex; align-items: flex-start; gap: 0.6rem; margin-top: 1.5rem;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--accent-2);
}
.status::before {
  content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; flex: none; margin-top: 0.42em;
  background: var(--accent-2); box-shadow: 0 0 0.6rem rgba(var(--glow-2), 0.9);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.links.dl { margin-top: 10px; }   /* whole pixels: the scene below must not shift by a fraction */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.62rem 1rem; border: 1px solid var(--rule); text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: border-color 130ms ease, color 130ms ease, background 130ms ease;
}
.btn svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--solid:hover { background: transparent; color: var(--accent); }
button.btn { line-height: 1.6; border-radius: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }

/* the title comes up like a title card */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: title 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__text > :not(h1) { animation: rise 0.9s ease 0.35s both; }
  @keyframes title { from { opacity: 0; filter: blur(8px); transform: translateY(0.15em); } }
  @keyframes rise { from { opacity: 0; transform: translateY(0.5rem); } }
}
@media (prefers-reduced-motion: reduce) {
  .status::before { animation: none; }
}
/* ---------- measured results, under the city ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.25rem; padding-block: 2.25rem 0.5rem; }
.stats b {
  display: block; font-family: var(--mono); font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; color: var(--accent);
  text-shadow: 0 0 1.2rem rgba(var(--glow), 0.45); font-variant-numeric: tabular-nums;
}
.stats span { display: block; margin-top: 0.3rem; font-size: 0.875rem; line-height: 1.45; color: var(--ink); }
.stats .label { margin-top: 0.4rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(2.75rem, 6vw, 4.25rem); }
.sec-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.25rem; }
.sec-head h2 { font-size: 1rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; }
/* one plain rule from the heading to the edge of the column */
.sec-head::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.expand {
  order: 3; font: inherit; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); background: none; border: 0; padding: 0.3rem 0; cursor: pointer;
}
.expand:hover { color: var(--accent); }

/* shared pieces: bullets, stack line, the number, the toggle */
.points { display: grid; gap: 0.5rem; max-width: 42rem; margin-top: 0.8rem; }
.points li { position: relative; padding-left: 1.15rem; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
.points li::before { content: ""; position: absolute; left: 0.1rem; top: 0.66em; width: 4px; height: 4px; background: var(--accent); }
.points strong, .more > p strong, .role__sum strong { color: var(--ink); font-weight: 600; }

.tags { display: flex; flex-wrap: wrap; margin-top: 0.85rem; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.03em; color: var(--ink-3); }
.tags li { white-space: nowrap; }
.tags li:not(:last-child)::after { content: "/"; margin: 0 0.55em; opacity: 0.55; }

.readout { display: flex; align-items: baseline; gap: 0.75rem; margin-top: 0.8rem; }
.readout b {
  font-family: var(--mono); font-weight: 500; font-size: 1.375rem; color: var(--accent);
  text-shadow: 0 0 1rem rgba(var(--glow), 0.45); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.readout span { font-size: 0.8125rem; line-height: 1.4; color: var(--ink-2); }

details.more { margin-top: 0.8rem; }
details.more > summary {
  display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer; list-style: none;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); padding: 0.25rem 0;
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before {
  content: "+"; display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem;
  border: 1px solid var(--accent); color: var(--accent); font-size: 0.8125rem; letter-spacing: 0; line-height: 1;
}
details.more[open] > summary::before { content: "-"; }
details.more > summary:hover { color: var(--accent); }
.more > p { max-width: 42rem; margin-top: 0.7rem; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }

/* ---------- experience: one block per company, its roles joined on a rail ---------- */
.co { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: 1.25rem 2rem; padding-block: 2rem; }
.co + .co { border-top: 1px solid var(--rule); }
.co:first-of-type { padding-top: 0; }
.co:last-of-type { padding-bottom: 0; }
.co__id { display: flex; gap: 0.9rem; align-items: flex-start; align-self: start; position: sticky; top: 4.75rem; }
.co__logo {
  flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--rule); background: var(--bg-2);
  font-family: var(--mono); font-size: 0.8125rem; color: var(--accent);
}
.co__logo img { width: 62%; height: 62%; object-fit: contain; display: block; filter: grayscale(1); opacity: 0.92; }
.co__logo--sm { width: 2.25rem; height: 2.25rem; margin-top: 0.1rem; }
.co__logo--mark img { filter: brightness(0) invert(1); }             /* a mark in one colour on nothing: shown white */
.co__logo--fill img { width: 100%; height: 100%; opacity: 0.85; }   /* a logo that is a filled square */
/* education, awards and certifications show logos in their own colours */
.co__logo--own img { filter: none; opacity: 1; }
.co__logo--utah { background: #be0000; border-color: transparent; }   /* the university's red behind its white U */
.co__logo--wf { background: #ffcd41; border-color: transparent; }     /* the letters are holes in a red square: the yellow shows through them */
.co__logo--wf img { transform: scale(1.06); }                         /* and the square stops just short of its own edge */
.co__logo--photo img { width: 100%; height: 100%; filter: grayscale(1) invert(1) contrast(1.35); mix-blend-mode: screen; }
.co h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.co__name { display: flex; align-items: center; gap: 0.6rem; }   /* a company's name with the link to its website beside it */
.co__meta { font-family: var(--mono); font-size: 0.6875rem; line-height: 1.5; color: var(--ink-3); margin-top: 0.25rem; }

.role { position: relative; padding: 0 0 1.9rem 2.1rem; }
.role:last-child { padding-bottom: 0; }
/* the node: hollow for a finished role, lit for a current one */
.role::before {
  content: ""; position: absolute; left: 0; top: 0.42rem; width: 0.625rem; height: 0.625rem; border-radius: 50%;
  border: 1.5px solid var(--accent); background: var(--bg); box-shadow: 0 0 0.6rem rgba(var(--glow), 0.55);
}
.role--now::before { background: var(--accent); }
/* the line to the next role at the same company */
.role:not(:last-child)::after {
  content: ""; position: absolute; left: calc(0.3125rem - 0.5px); top: 1.3rem; bottom: -0.2rem; width: 1px;
  background: linear-gradient(to bottom, rgba(var(--glow), 0.9), rgba(var(--glow), 0.35));
}
.role h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.role__when { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); margin-top: 0.2rem; font-variant-numeric: tabular-nums; }
.role__when span { color: var(--ink-3); }
.role__sum { max-width: 42rem; margin-top: 0.55rem; color: var(--ink-2); }

/* ---------- projects ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--rule); padding: 1.3rem 1.4rem 1.15rem;
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
  transition: border-color 160ms ease;
}
.card:hover { border-color: rgba(var(--glow), 0.4); }
/* corner brackets */
.card::before, .card::after { content: ""; position: absolute; width: 0.7rem; height: 0.7rem; border: 1px solid var(--accent); pointer-events: none; }
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.card__top .label { padding-top: 0.2rem; }
/* open or closed source, said in words and not by colour alone */
.src {
  flex: none; display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.18rem 0.5rem; border: 1px solid var(--rule); color: var(--ink-3);
}
.src::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; border: 1px solid currentColor; }
.src--open { color: var(--accent-2); border-color: rgba(var(--glow-2), 0.45); }
.src--open::before { background: currentColor; box-shadow: 0 0 0.5rem rgba(var(--glow-2), 0.8); }
.src b { font-weight: 400; color: var(--ink-2); }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; margin-top: 0.5rem; }
.card h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; padding-top: 0.2rem; }
/* where the project lives: its repository, and its own site if it has one */
.card__links { flex: none; display: flex; gap: 0.4rem; }
.card__links a {
  display: grid; place-items: center; width: 2rem; height: 2rem;
  border: 1px solid var(--rule); color: var(--ink-2); transition: color 160ms ease, border-color 160ms ease;
}
.card__links a:hover { color: var(--accent); border-color: rgba(var(--glow), 0.5); }
.card__links svg { width: 1rem; height: 1rem; fill: currentColor; }
.card__what { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; margin-top: 0.5rem; }
.card .points li { font-size: 0.9063rem; }
.card .tags { margin-top: auto; padding-top: 0.95rem; }

/* ---------- skills ---------- */
.skills > div { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 0.25rem 2.5rem; padding-block: 0.75rem; }
.skills > div + div { border-top: 1px solid var(--rule); }
.skills dt { padding-top: 0.28rem; }
.skills dd { color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- education, awards, certifications: one row per entry, its date at the far end ---------- */
.rows li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; gap: 0.3rem 1rem; align-items: start; padding-block: 0.95rem; }
.rows li:first-child { padding-top: 0; }
.rows li:last-child { padding-bottom: 0; }
.rows li + li { border-top: 1px solid var(--rule); }
.rows strong { display: block; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.rows div > span { display: block; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); margin-top: 0.15rem; }
.rows .label { color: var(--ink-3); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: none; white-space: nowrap; padding-top: 0.3rem; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
.contact h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 300; letter-spacing: 0.02em; line-height: 1.2; }
.contact p { color: var(--ink-2); max-width: 36rem; margin-top: 0.8rem; }
.contact ul { display: grid; }
.contact li + li { border-top: 1px solid var(--rule); }
.contact li a {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 0;
  font-family: var(--mono); font-size: 0.8125rem; text-decoration: none;
}
.contact li svg { width: 15px; height: 15px; fill: currentColor; color: var(--accent); flex: none; }

.foot { border-top: 1px solid var(--rule); padding-block: 1.2rem; }

/* ---------- small screens ---------- */
@media (max-width: 54rem) {
  .co { grid-template-columns: 1fr; gap: 1.1rem; }
  .co__id { position: static; }
  /* stacked, the rail of roles runs down from the middle of the company's logo and the roles line up with its name */
  .role { padding-left: 3.9rem; }
  .role::before { left: calc(1.5rem - 0.3125rem); }
  .role:not(:last-child)::after { left: calc(1.5rem - 0.5px); }
  .skills > div { grid-template-columns: 1fr; gap: 0.35rem; }
  .skills dt { padding-top: 0; }
  .cards, .contact { grid-template-columns: 1fr; }
  .rows li { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .rows .label { grid-column: 2; white-space: normal; padding-top: 0; }
  .stats { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---------- the resume viewer: the page as a picture, with the PDF to download ---------- */
.cv {
  width: min(848px, calc(100vw - 1.5rem)); max-width: none;
  max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem);
  padding: 0; border: 1px solid rgba(var(--glow), 0.4); background: var(--bg-2); color: var(--ink); overflow: hidden;
}
.cv[open] { display: flex; flex-direction: column; }
.cv::backdrop { background: rgba(5, 7, 10, 0.86); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cv__bar { flex: none; display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--rule); }
.cv__bar .label { margin-right: auto; color: var(--ink-2); white-space: nowrap; }
.cv__bar .btn { white-space: nowrap; }
.cv__page { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0.9rem; }
.cv__page img { display: block; width: 100%; height: auto; background: #fff; }
@media (max-width: 54rem) {   /* the panel is narrower than the page: a tap shows the page at full size */
  .cv__page img { cursor: zoom-in; }
  .cv__page.big img { width: 816px; max-width: none; cursor: zoom-out; }
}
@media (max-width: 30rem) { .cv__bar .btn { padding-inline: 0.7rem; } .cv__pdf { display: none; } }

/* ---------- paper ---------- */
@media print {
  :root, :root[data-era="2019"] {
    --bg: #fff; --bg-2: #fff; --ink: #111; --ink-2: #333; --ink-3: #555;
    --rule: #ccc; --accent: #111; --accent-2: #111; --on-accent: #fff; --sky: none;
  }
  body::before, .hero::before, .hero::after, .hero canvas, .hero__ground, .bar, .expand, .skip, .dl { display: none !important; }
  * { text-shadow: none !important; box-shadow: none !important; }
  .hero { border-bottom: 0; }
  .hero__grid { padding-top: 0; }
  .co__id { position: static; }
  .co__logo img { filter: grayscale(1) invert(1) !important; mix-blend-mode: normal; }
  .co__logo--mark img { filter: brightness(0) !important; }
  .card, .role, .rows li { break-inside: avoid; }
  /* on paper a link is its address */
  .card__head, .co__name { display: block; }
  .card__links { display: block; }
  .card__links a { display: block; width: auto; height: auto; border: 0; font-family: var(--mono); font-size: 0.75rem; }
  .card__links a::after { content: attr(href); }
  .card__links svg { display: none; }
}

/* the icon sheet takes no room on the page */
.sprite { position: absolute; }

/* ---------- 404.html, the page for an address that does not exist ---------- */
.lost {
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - 3.5rem); min-height: calc(100dvh - 3.5rem); padding-block: 3rem;
}
.lost h1 {
  font-size: clamp(1.9rem, 6vw, 3.5rem); font-weight: 300; line-height: 1.08;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin: 1.1rem 0 0.9rem -0.04em;
  text-shadow: 0 0 2.2rem rgba(var(--glow), 0.35);
}
.lost__text { max-width: 34rem; font-size: 1.0625rem; color: var(--ink-2); }
