/* The office is the front door. Content only exists after an invitation. */
[hidden] {
  display: none !important;
}
html {
  scroll-padding-top: 100px;
}
body {
  background: var(--bg);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.office-header {
  height: 76px;
  width: calc(100% - 64px);
  max-width: 1440px;
  background: var(--header-bg);
  box-shadow: 0 0 0 100vmax var(--header-bg);
  transition:
    background-color var(--theme-fade),
    box-shadow var(--theme-fade);
}
.office-header .wordmark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
}
.office-logo {
  width: 48px;
  height: 48px;
}
/* Pale lime disappears on paper; the logo block keeps its hue but deepens. */
[data-theme="light"] .office-logo path[fill="#d5ef78"] {
  fill: #7d9c23;
}
.office-header .language-switch {
  margin-left: 10px;
}
/* Same setting as the office Day/Night button, reachable from every page.
   Shows the current state, like the office button does. */
.theme-toggle {
  display: grid;
  place-items: center;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--lang-border);
  border-radius: 50%;
  background: none;
  color: var(--lang-text);
  transition:
    color 0.2s ease,
    border-color var(--theme-fade);
}
.theme-toggle:hover {
  color: var(--accent);
}
.theme-toggle svg {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  transition:
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-moon,
[data-theme="dark"] .theme-sun {
  opacity: 0;
  transform: rotate(-40deg) scale(0.6);
}
[data-theme="dark"] .theme-moon {
  opacity: 1;
  transform: none;
}
.office-landing {
  padding: 24px 24px 36px;
  min-height: calc(var(--office-height, 100svh) - 76px);
  display: grid;
  place-items: center;
}
.office-playground {
  width: min(100%, 790px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.scene-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1px 18px;
  gap: 16px;
}
.scene-top h1 {
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 31px);
  letter-spacing: -0.6px;
  font-weight: 700;
  margin: 0;
}
.office-light {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  padding: 7px 14px;
  border-radius: 30px;
  min-height: 44px;
  font: 11px monospace;
}
.office-light:hover {
  background: var(--control-hover);
}
.office-light .scene-weather {
  font-size: 24px;
  color: var(--control-icon);
  line-height: 1;
}
.office-stage {
  width: min(100%, calc(var(--office-height, 100svh) - 230px));
  margin: 0 auto;
  border-radius: 12px;
  overflow: visible;
  background: #8e9b7b;
  box-shadow: var(--stage-shadow);
  transition: box-shadow var(--theme-fade);
}
.office-image {
  border-radius: 12px;
}
.office-night {
  transition: opacity 1.1s ease;
}
.office-playground .scene-foot {
  padding: 18px 0 0;
  border: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.scene-foot > span {
  color: #a5b799;
  font: 11px monospace;
  letter-spacing: 0.3px;
}
.scene-foot .motion-button {
  display: grid;
  place-items: center;
  padding: 0;
  border-color: #3c503e;
  width: 44px;
  height: 44px;
  min-height: 44px;
  flex-shrink: 0;
}
.motion-button .motion-play,
.motion-button[aria-pressed="true"] .motion-pause { display: none; }
.motion-button[aria-pressed="true"] .motion-play { display: block; }
.avatar-balloon {
  position: absolute;
  z-index: 9;
  left: 46%;
  top: 23%;
  width: 230px;
  padding: 17px;
  background: #f0f2d9;
  color: #263326;
  box-shadow: 0 9px 26px #0d170e44;
  border-radius: 15px 15px 15px 3px;
  transform-origin: bottom left;
  animation: balloon-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.avatar-balloon::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  border-width: 13px 15px 0 0;
  border-style: solid;
  border-color: #f0f2d9 transparent transparent;
}
.avatar-balloon p {
  margin: 0 0 12px;
  color: inherit;
  font-family: var(--display);
  font-style: italic;
  font-size: 21px;
  line-height: 1.2;
}
.page-choices {
  display: grid;
  gap: 5px;
}
.page-choices button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 8px 11px;
  background: #dce3c3;
  color: #263326;
  text-align: left;
  font-size: 12px;
}
.page-choices button:hover,
.page-choices button:focus-visible {
  background: #e3ffa0;
  color: #121413;
  outline-offset: 4px;
}
.page-choices button span {
  margin-left: 12px;
}
.balloon-building {
  font: 11px monospace;
  color: #55624d;
  display: block;
  padding: 5px 0;
}
@keyframes balloon-in {
  from {
    opacity: 0;
    transform: translateY(7px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.printer-hotspot {
  left: 60%;
  top: 38%;
  width: 16%;
  height: 18%;
}
.rack-hotspot {
  left: 78%;
  top: 39%;
  width: 14%;
  height: 29%;
}
.office-hotspot {
  cursor: pointer;
}
.office-hotspot span {
  font-size: 11px;
  width: max-content;
  max-width: 140px;
  height: auto;
  line-height: 1.4;
  padding: 6px 9px;
  white-space: nowrap;
  border-radius: 8px;
  pointer-events: none;
}
.office-hotspot:disabled {
  cursor: progress;
}
.office-hotspot:disabled span {
  opacity: 1;
}
.print-balloon {
  position: absolute;
  z-index: 9;
  left: 47%;
  top: 3%;
  width: 250px;
  padding: 13px 13px 11px;
  background: #f0f2d9;
  color: #263326;
  box-shadow: 0 9px 26px #0d170e44;
  border-radius: 15px 15px 3px 15px;
  transform-origin: bottom right;
  animation: balloon-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.print-balloon::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  border-width: 13px 0 0 15px;
  border-style: solid;
  border-color: #f0f2d9 transparent transparent;
}
.print-balloon p {
  margin: 0 0 9px;
  color: inherit;
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.2;
}
.print-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}
.print-choices button {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 6px 3px 5px;
  background: #dce3c3;
  color: #263326;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}
.print-choices button:hover,
.print-choices button:focus-visible {
  background: #bfce91;
  outline-offset: 1px;
}
.print-choices img {
  width: 34px;
  height: 34px;
  display: block;
  filter: drop-shadow(0 1px 1px #26332633);
}
.monitor-site {
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
[data-page-screen="true"] .monitor-site {
  opacity: 1;
}
[data-page-screen="true"] .terminal-effects {
  opacity: 0;
}
.monitor-viewport {
  width: 1000px;
  height: 485px;
  overflow: hidden;
  background: #111713;
  color: #eeeee6;
  font-family: "HK Grotesk", "Trebuchet MS", sans-serif;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) {
  width: 1000px;
  transform-origin: top left;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .content-document {
  padding: 35px 45px;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .page-intro {
  margin-bottom: 20px;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .page-title {
  font-size: 46px;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .page-lead {
  margin: 0 0 24px;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .era-entry {
  margin-bottom: 32px;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .browser-content {
  padding: 24px 32px;
  min-height: 190px;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .browser-content h3 {
  font-size: 26px;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .browser-content p {
  font-size: 15px;
  line-height: 1.5;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .era-caption {
  margin-bottom: 9px;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .content-section {
  padding-top: 22px;
}
.page-outlet {
  position: relative;
  border-top: 1px solid var(--outlet-line);
  background: var(--bg);
  transition:
    background-color var(--theme-fade),
    border-color var(--theme-fade);
  padding: 0 28px;
  overflow: clip;
}
.page-surface {
  position: relative;
}
.content-document {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 0 60px;
}
.page-intro {
  margin: 0 0 30px;
}
.page-intro .section-label {
  color: var(--label);
  font-size: 10px;
  display: block;
  margin-bottom: 22px;
}
.page-title {
  font-family: var(--display);
  font-style: normal;
  font-weight: 900;
  font-size: clamp(37px, 5.6vw, 70px);
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 0;
}
.page-title:focus {
  outline: none;
}
.page-lead {
  font-size: 16px;
  margin: 0 0 64px;
}
.content-section {
  width: 100%;
  margin: 0;
  padding: 45px 0;
}
.content-document .section-heading,
.content-document .project,
.content-document .about-body {
  opacity: 1;
  transform: none;
}
.content-document .about {
  display: block;
  border: 0;
}
.content-document .about-body {
  padding: 0;
}
.content-document .about h2 {
  font-size: clamp(25px, 3.5vw, 40px);
}
.content-document .skills-section {
  background: none;
}
.content-document .skills-inner {
  padding: 0;
}
.content-document .skill-grid {
  gap: 20px;
}
.content-document .skill-grid > div {
  background: #1b281e;
  border: 1px solid #384a35;
}
.content-document .home-notes {
  border-top: 1px solid #384a35;
}
.content-document .home-story {
  max-width: 710px;
}
.content-document .home-builds {
  border-top: 1px solid #384a35;
  margin-top: 38px;
}
.content-document .home-story h3 {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  margin: 15px 0;
}
.content-document .contact {
  margin-top: 30px;
  border-top: 1px solid #384a35;
}
.content-document .contact h2 {
  font-size: clamp(30px, 4vw, 55px);
}
.content-document .project {
  padding: 35px 0;
}
.content-document .project-visual {
  min-height: 300px;
}
.page-end {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 70px;
}
:is(#back-office, [data-snapshot-id="back-office"]) {
  border: 1px solid var(--button-border);
  border-radius: 99px;
  min-height: 44px;
  background: var(--button-bg);
  padding: 12px 22px;
  font: 12px monospace;
}
:is(#back-office, [data-snapshot-id="back-office"]):hover {
  background: var(--button-hover);
}
footer {
  padding: 28px 0 !important;
}
.noscript-note {
  max-width: 650px;
  padding: 25px;
  margin: auto;
}
.construction-console {
  max-width: 1100px;
  margin: auto;
  border-bottom: 1px solid var(--console-line);
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  font: 11px monospace;
  color: var(--console-text);
}
:is(#construction-step, [data-snapshot-id="construction-step"]) {
  margin-left: auto;
  color: var(--console-step);
}
:is(#construction-percent, [data-snapshot-id="construction-percent"]) {
  font-variant-numeric: tabular-nums;
  min-width: 4ch;
  text-align: right;
}
[data-building="false"] .construction-console {
  display: none;
}
[data-building="true"]::before {
  content: "";
  height: 2px;
  background: #c6e68b;
  position: absolute;
  inset: 0 0 auto;
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
  z-index: 1;
}
[data-building="true"] .content-document {
  background-image:
    linear-gradient(#81966816 1px, transparent 1px),
    linear-gradient(90deg, #81966816 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-surface[data-phase="structure"] .content-document {
  filter: saturate(0);
}
.page-surface[data-phase="structure"] .content-document * {
  color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.page-surface[data-phase="structure"] .browser-window,
.page-surface[data-phase="structure"] .content-section,
.page-surface[data-phase="structure"] .retro-desktop {
  background: transparent;
  outline: 1px dashed #849b6a;
  border-color: #849b6a;
}
.page-surface[data-phase="structure"] .browser-content {
  background: repeating-linear-gradient(
    0deg,
    transparent 0 26px,
    #35472b 26px 37px,
    transparent 37px 50px
  );
}
.page-surface[data-phase="layout"] .content-document h2,
.page-surface[data-phase="layout"] .content-document h3,
.page-surface[data-phase="layout"] .content-document p,
.page-surface[data-phase="layout"] .content-document .tags {
  opacity: 0;
}
.page-surface[data-phase="type"] .content-document h2,
.page-surface[data-phase="type"] .content-document h3,
.page-surface[data-phase="type"] .content-document p {
  animation: type-reveal 0.7s steps(16, end) both;
}
.page-surface[data-phase="polish"] .build-piece,
.page-surface[data-phase="polish"] .content-section {
  animation: piece-settle 0.55s ease-out both;
}
@keyframes type-reveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes piece-settle {
  from {
    transform: translateY(10px);
    opacity: 0.7;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
/* A reverse-chronological collection of browser windows, inspired by their eras. */
.browser-timeline {
  display: grid;
  gap: 70px;
}
.era-entry {
  min-width: 0;
}
.era-caption {
  display: flex;
  justify-content: space-between;
  margin: 0 0 17px;
  font: 10px monospace;
  letter-spacing: 1.3px;
  color: var(--caption);
}
.browser-window {
  border: 1px solid #b8c5cd;
  border-radius: 11px;
  overflow: hidden;
  background: #edf0f4;
  box-shadow: 0 24px 50px #0003;
  color: #252b31;
}
.browser-decoration {
  font:
    12px Arial,
    sans-serif;
  user-select: none;
}
.browser-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 25px;
  padding: 0 14px;
  background: #dfe4ed;
  color: #4b5665;
}
.browser-app {
  font-size: 11px;
}
.window-controls {
  letter-spacing: 8px;
  font-size: 13px;
}
.browser-tabs {
  display: flex;
  align-items: end;
  gap: 16px;
  height: 38px;
  padding: 0 12px;
  background: #dfe4ed;
}
.browser-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 240px;
  padding: 10px 14px;
  border-radius: 12px 12px 0 0;
  background: #fff;
  color: #303840;
}
.browser-tab i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: conic-gradient(#e8574d 0 33%, #f3c749 33% 66%, #58a879 66%);
  border: 3px solid #ffffff70;
}
.browser-tab b {
  font-size: 12px;
  font-weight: 400;
  margin-left: auto;
}
.tab-plus {
  align-self: center;
  font-size: 20px;
}
.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 15px;
  background: #fff;
  border-bottom: 1px solid #dde1e4;
  min-height: 45px;
}
.history-buttons {
  font-size: 18px;
  white-space: nowrap;
  letter-spacing: 5px;
}
.browser-address {
  flex: 1;
  background: #eff1f4;
  border-radius: 99px;
  padding: 7px 14px;
  color: #56606d;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.browser-address i {
  font-style: normal;
  margin-right: 9px;
}
.browser-tools {
  white-space: nowrap;
  font-size: 20px;
}
.browser-menu {
  display: none;
}
.browser-status {
  display: none;
}
.browser-content {
  position: relative;
  padding: 48px 54px;
  min-height: 280px;
  background: #f9f8f2;
}
.browser-content .eyebrow {
  display: block;
  font: 11px monospace;
  color: #68745c;
  margin-bottom: 17px;
}
.browser-content h3 {
  font-family: "HK Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(25px, 3.2vw, 39px);
  letter-spacing: -1.1px;
  font-weight: 500;
  margin: 0 0 20px;
  line-height: 1.18;
  max-width: 820px;
  color: #263323;
}
.browser-content p {
  font:
    16px/1.8 Portfolio,
    "Trebuchet MS",
    sans-serif;
  color: #596153;
  margin: 0;
  max-width: 800px;
}
.browser-content .tags {
  margin-top: 26px;
}
.browser-content .tags li {
  background: #e5eadc;
  border: 1px solid #d6decd;
  color: #546747;
  font-size: 11px;
  padding: 6px 11px;
}
.firefox-australis {
  border-radius: 7px;
  border-color: #7a94a7;
}
.firefox-australis .browser-titlebar,
.firefox-australis .browser-tabs {
  background: linear-gradient(#c8d8e7, #a7bed4);
}
.firefox-australis .browser-tab {
  border-radius: 25px 25px 0 0;
  padding-left: 23px;
  background: linear-gradient(#fafbfd, #e8edf2);
}
.firefox-australis .browser-toolbar {
  background: linear-gradient(#e8edf2, #f9fafb);
}
.firefox-australis .browser-address {
  background: #fff;
  border: 1px solid #9faebd;
  border-radius: 4px;
}
.firefox-australis .browser-tab i,
.firefox-classic .browser-tab i {
  background: radial-gradient(
    circle at 65% 70%,
    #647fb8 0 35%,
    #f07b20 37% 66%,
    #ffbd49 70%
  );
  border: 0;
  border-radius: 45% 20% 50% 50%;
}
.firefox-australis .browser-content {
  background: #f3f6fa;
}
.firefox-australis .browser-content h3 {
  color: #28456b;
}
.firefox-australis .browser-content p {
  color: #50627b;
}
.firefox-classic {
  border-radius: 6px;
  border-color: #607a95;
}
.firefox-classic .browser-titlebar {
  background: linear-gradient(#adcee9, #81aaca);
  height: 30px;
}
.firefox-classic .browser-app {
  color: white;
  background: linear-gradient(#eda64b, #d06b14);
  align-self: stretch;
  padding: 5px 18px;
  margin-left: -14px;
  border: 1px solid #a44c09;
  border-radius: 0 0 5px 0;
}
.firefox-classic .browser-tabs {
  background: #aac9e2;
  height: 34px;
}
.firefox-classic .browser-tab {
  border: 1px solid #8fadc2;
  border-radius: 7px 7px 0 0;
  padding: 7px 12px;
  background: #e9f0f7;
}
.firefox-classic .browser-toolbar {
  background: linear-gradient(#e7eff7, #dce8f2);
}
.firefox-classic .browser-address {
  border: 1px solid #9ab1c1;
  background: #fff;
  border-radius: 3px;
}
.firefox-classic .browser-content {
  font-family: Arial, sans-serif;
  background: #fff;
  border-top: 3px solid #4a7193;
}
.firefox-classic .browser-content h3 {
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #254f70;
}
.ie8,
.ie7 {
  border: 5px solid #8cb1d0;
  border-top-width: 1px;
  border-radius: 7px 7px 3px 3px;
  box-shadow:
    inset 0 0 0 1px #e3f0ff,
    0 24px 50px #0003;
}
.ie8 .browser-titlebar,
.ie7 .browser-titlebar {
  background: linear-gradient(#c4e4fa, #7cafd7);
  height: 28px;
  text-shadow: 0 1px white;
}
.ie8 .browser-tabs,
.ie7 .browser-tabs {
  background: #d7e3ed;
  height: 31px;
}
.ie8 .browser-tab,
.ie7 .browser-tab {
  border-radius: 3px 3px 0 0;
  border: 1px solid #879aad;
  border-bottom: 0;
  padding: 7px 12px;
  background: #f6f8fc;
}
.ie8 .browser-tab i,
.ie7 .browser-tab i {
  background: #3a85c4;
  border: 2px solid #f5cf5a;
  transform: rotate(-20deg);
  border-radius: 50%;
}
.ie8 .browser-toolbar,
.ie7 .browser-toolbar {
  background: linear-gradient(#f0f6fc, #d7e5f2);
  min-height: 39px;
  padding: 5px 10px;
}
.ie8 .browser-address,
.ie7 .browser-address {
  background: white;
  border: 1px solid #8096ad;
  border-radius: 2px;
  padding: 5px 8px;
}
.ie8 .browser-menu,
.ie7 .browser-menu {
  display: block;
  background: #f0f1ee;
  border-bottom: 1px solid #b4b4ae;
  padding: 6px 10px;
  font-size: 11px;
}
.ie8 .browser-content,
.ie7 .browser-content {
  background: #fff;
  padding: 35px 40px;
}
.ie8 .browser-content h3,
.ie7 .browser-content h3 {
  color: #124f86;
  font-family: Arial, sans-serif;
  font-size: 30px;
  letter-spacing: 0;
  border-bottom: 1px solid #b4c9dc;
  padding-bottom: 14px;
}
.ie8 .browser-content p,
.ie7 .browser-content p {
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #303a43;
}
.ie8 .browser-status,
.ie7 .browser-status {
  display: flex;
  justify-content: space-between;
  background: #e7eaf0;
  border-top: 1px solid #a6b4c1;
  padding: 4px 9px;
  font:
    11px Arial,
    sans-serif;
}
.ie7 {
  border-color: #708da2;
}
.ie7 .browser-titlebar {
  background: linear-gradient(#9abdd6, #526d85);
  color: white;
  text-shadow: 1px 1px #374a59;
}
.ie7 .browser-tabs {
  background: linear-gradient(#cbdce8, #91aec7);
}
/* The last stop predates the CV: a deliberately tactile Windows 98 dial-up memory. */
.retro-desktop {
  position: relative;
  background: #087f7e;
  padding: 65px 30px 85px 150px;
  box-shadow: 0 24px 50px #0003;
  min-height: 440px;
  border: 1px solid #469d91;
}
.retro-icons {
  position: absolute;
  top: 26px;
  left: 22px;
  display: grid;
  gap: 28px;
  width: 100px;
  text-align: center;
  color: #e9eeee;
  text-shadow: 1px 1px #001f22;
  font:
    36px "Courier New",
    monospace;
}
.retro-icons small {
  display: block;
  font:
    11px/1.3 Arial,
    sans-serif;
  margin-top: 6px;
}
.dialup-window {
  width: min(100%, 590px);
  margin: auto;
  background: #c0c0c0;
  padding: 3px;
  border: 2px solid;
  border-color: #fff #242424 #242424 #fff;
  box-shadow: 2px 2px #003d3c;
  color: #111;
  font-family: Tahoma, Arial, sans-serif;
}
.dialup-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 5px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}
.dialup-title b {
  color: #111;
  background: #c0c0c0;
  border: 2px outset #eee;
  line-height: 13px;
  width: 18px;
  text-align: center;
}
.dialup-body {
  padding: 22px;
}
.modem-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #002f69;
  font: bold 35px monospace;
}
.modem-visual i {
  font-size: 22px;
  letter-spacing: 3px;
  color: #555;
}
.dialup-body h3 {
  font:
    700 20px Tahoma,
    Arial,
    sans-serif;
  letter-spacing: -0.5px;
  margin: 18px 0 12px;
  color: #111;
}
.dialup-body p {
  color: #222;
  font:
    13px/1.5 Tahoma,
    Arial,
    sans-serif;
  margin: 0 0 18px;
}
.dialup-fields {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  font-size: 12px;
}
.dialup-fields strong {
  background: #fff;
  border: 2px inset #ddd;
  padding: 4px 6px;
  font-weight: 400;
}
.dialup-fields > span {
  padding-top: 6px;
}
.dialup-meter {
  display: flex;
  gap: 4px;
  height: 18px;
  border: 2px inset #ddd;
  margin: 18px 0;
  padding: 2px;
}
.dialup-meter i {
  flex: 1;
  background: #000080;
  opacity: 0.2;
}
.dialup-connect {
  background: #c0c0c0;
  border: 2px outset #eee;
  color: #111;
  min-height: 36px;
  min-width: 100px;
  font-size: 12px;
  display: block;
  margin-left: auto;
}
.dialup-connect:active {
  border-style: inset;
}
[data-connection="dialling"] .dialup-meter i {
  animation: dial 0.5s alternate infinite;
}
[data-connection="connected"] .dialup-meter i {
  opacity: 1;
}
@keyframes dial {
  to {
    opacity: 1;
  }
}
.retro-taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  background: #c0c0c0;
  border-top: 2px outset #eee;
  color: #111;
  font:
    12px Tahoma,
    Arial,
    sans-serif;
}
.retro-taskbar b {
  padding: 5px 9px;
  border: 2px outset #eee;
}
.retro-taskbar > span {
  padding: 5px 15px;
  border: 2px inset #eee;
}
.retro-taskbar time {
  margin-left: auto;
  border: 2px inset #eee;
  padding: 5px 10px;
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 84px;
  }
  .office-header {
    display: flex;
    height: 68px;
    padding: 0;
    width: calc(100% - 36px);
  }
  .office-header .language-switch {
    margin-left: 8px;
  }
  .office-landing {
    min-height: calc(var(--office-height, 100svh) - 68px);
    padding: 18px 14px 28px;
    align-content: center;
  }
  .scene-top {
    padding: 0 3px 18px;
  }
  .scene-top h1 {
    font-size: 24px;
  }
  .office-light {
    padding: 7px 10px;
  }
  .light-name {
    display: none;
  }
  .office-stage {
    width: 100%;
    margin: 0;
  }
  .office-playground .scene-foot {
    padding: 16px 3px 0;
    gap: 8px;
  }
  .scene-foot > span {
    font-size: 9px;
  }
  .scene-foot .motion-button {
    font-size: 9px;
  }
  .avatar-balloon {
    top: 9%;
    left: 36%;
    width: 62%;
    padding: 12px;
    border-radius: 12px 12px 12px 2px;
  }
  .avatar-balloon p {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .page-choices {
    gap: 3px;
  }
  .page-choices button {
    min-height: 38px;
    font-size: 11px;
    padding: 7px 9px;
  }
  .avatar-balloon::after {
    bottom: -10px;
    border-width: 11px 12px 0 0;
  }
  .print-balloon {
    top: 2%;
    left: 18%;
    width: 68%;
    padding: 10px 10px 8px;
    border-radius: 12px 12px 2px 12px;
  }
  .print-balloon p {
    font-size: 16px;
    margin-bottom: 7px;
  }
  .print-balloon::after {
    bottom: -10px;
    border-width: 11px 0 0 12px;
  }
  .print-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .print-choices button {
    min-height: 46px;
    flex-direction: row;
    grid-template-columns: 30px 1fr;
    align-items: center;
    justify-items: start;
    gap: 7px;
    padding: 6px 8px;
    font-size: 11px;
  }
  .print-choices img {
    width: 30px;
    height: 30px;
  }
  .page-outlet {
    padding: 0 18px;
  }
  .content-document {
    padding: 48px 0;
  }
  .page-title {
    letter-spacing: -1px;
  }
  .page-lead {
    font-size: 13px;
    margin-bottom: 40px;
  }
  .browser-timeline {
    gap: 42px;
  }
  .era-caption {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .browser-content,
  .ie8 .browser-content,
  .ie7 .browser-content {
    padding: 25px 21px;
    min-height: unset;
  }
  .browser-content h3,
  .ie8 .browser-content h3,
  .ie7 .browser-content h3 {
    font-size: 24px;
  }
  .browser-content p,
  .ie8 .browser-content p,
  .ie7 .browser-content p {
    font-size: 13px;
    line-height: 1.65;
  }
  .browser-toolbar {
    padding: 7px;
    gap: 6px;
    min-height: 36px;
  }
  .browser-address {
    font-size: 9px;
    padding: 6px 8px;
  }
  .history-buttons {
    letter-spacing: 1px;
    font-size: 14px;
  }
  .browser-tools {
    font-size: 14px;
  }
  .browser-tabs {
    height: 30px;
    padding: 0 8px;
  }
  .browser-tab {
    max-width: 78%;
    font-size: 10px;
    padding: 7px 10px;
  }
  .browser-titlebar {
    height: 22px;
  }
  .browser-menu {
    white-space: nowrap;
    font-size: 9px !important;
  }
  .browser-content .tags {
    gap: 5px;
    margin-top: 18px;
  }
  .browser-content .tags li {
    font-size: 9px;
  }
  .construction-console {
    gap: 10px;
    font-size: 8px;
  }
  .construction-command {
    display: none;
  }
  :is(#construction-step, [data-snapshot-id="construction-step"]) {
    margin-left: 0;
    flex: 1;
  }
  .content-document .skill-grid {
    grid-template-columns: 1fr;
  }
  .content-document .project {
    gap: 25px;
  }
  .content-document .project-visual {
    min-height: 250px;
  }
  .content-document .home-builds {
    display: grid;
    grid-template-columns: 1fr;
  }
  .retro-desktop {
    padding: 100px 10px 70px;
    min-height: 0;
  }
  .retro-icons {
    top: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    gap: 8px;
    font-size: 26px;
  }
  .retro-icons small {
    font-size: 9px;
  }
  .dialup-body {
    padding: 16px;
  }
  .dialup-body h3 {
    font-size: 18px;
  }
  .dialup-fields {
    grid-template-columns: 70px 1fr;
    font-size: 11px;
  }
  .retro-taskbar {
    font-size: 10px;
    gap: 5px;
  }
  .retro-taskbar > span {
    padding: 5px;
  }
  .retro-taskbar time {
    padding: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .avatar-balloon,
  .page-surface * {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .office-header,
  .office-landing,
  .construction-console,
  .page-end {
    display: none !important;
  }
  .page-outlet {
    border: 0;
  }
  .content-document {
    padding: 0;
  }
  .era-entry {
    break-inside: avoid;
  }
  .browser-timeline {
    display: block;
  }
  .era-entry {
    margin: 30px 0;
  }
}
/* Make room for the full-size construction while its twin is built on the monitor. */
.office-stage {
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.office-landing.has-page {
  min-height: 0;
  padding-top: 18px;
  padding-bottom: 24px;
}
.office-landing.has-page .office-stage {
  width: min(100%, 400px);
}
.office-landing.has-page .office-playground {
  max-width: 790px;
}
@media (max-width: 700px) {
  .office-landing.has-page .office-stage {
    width: min(100%, calc(var(--office-height, 100svh) - 230px));
  }
  .office-landing.has-page .avatar-balloon {
    left: 36%;
    width: 64%;
  }
}
/* Keep the face and screen visible: a small balloon above, three choices below. */
.avatar-balloon {
  inset: 0;
  width: auto;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  pointer-events: none;
}
.avatar-balloon::after {
  display: none;
}
.avatar-balloon > p {
  position: absolute;
  left: 53%;
  top: 12%;
  width: max-content;
  max-width: 44%;
  margin: 0;
  padding: 13px 17px;
  border-radius: 13px 13px 13px 2px;
  background: #121413;
  color: #eeeee6;
  box-shadow: 0 8px 22px #0d170e22;
  font-size: 21px;
}
.avatar-balloon > p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  border-width: 11px 13px 0 0;
  border-style: solid;
  border-color: #121413 transparent transparent;
}
.page-choices {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 5%;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}
.page-choices button {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 12px 18px;
  justify-content: center;
  background: var(--lime);
  color: #121413;
  box-shadow: 0 5px 18px #12141333;
  border-radius: 3px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.page-choices button span {
  margin-left: 4px;
}
.balloon-building {
  position: absolute;
  left: 53%;
  top: 22%;
  max-width: 44%;
  background: #121413;
  color: var(--lime);
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 10px;
}
.office-landing.has-page .avatar-balloon {
  left: 0;
  width: auto;
}
.office-landing.has-page .avatar-balloon > p {
  top: 0;
  left: 48%;
  max-width: 52%;
  font-size: 17px;
  padding: 10px 12px;
}
.office-landing.has-page .balloon-building {
  top: 13%;
  left: 52%;
  max-width: 48%;
  font-size: 9px;
}
[data-page-screen="true"][data-page-loading="false"][data-build="building"]
  .terminal-effects,
[data-page-screen="true"][data-page-loading="false"][data-build="complete"]
  .terminal-effects {
  opacity: 1;
}
[data-page-screen="true"][data-page-loading="false"][data-build="building"]
  .monitor-site,
[data-page-screen="true"][data-page-loading="false"][data-build="complete"]
  .monitor-site {
  opacity: 0;
}
@media (max-width: 700px) {
  .office-landing {
    align-content: start;
    padding-top: 35px;
  }
  .avatar-balloon > p {
    left: 40%;
    top: 7%;
    max-width: 58%;
    font-size: 17px;
    padding: 10px 12px;
  }
  .page-choices {
    left: 3%;
    right: 3%;
    bottom: 2%;
    gap: 5px;
  }
  .page-choices button {
    font-size: 16px;
    padding: 10px 6px;
    min-height: 48px;
  }
  .office-landing.has-page .avatar-balloon > p {
    top: -6%;
    left: 38%;
    max-width: 62%;
  }
  .office-landing.has-page .balloon-building {
    top: 10%;
    left: 38%;
    max-width: 62%;
  }
}
.office-light {
  min-width: 44px;
  flex-shrink: 0;
}
.rack-hotspot span {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Experience: one browser per era, with a persistent year navigator. */
.page-experience {
  max-width: 1180px;
}
.page-experience .page-intro {
  margin-bottom: 52px;
}
.page-experience .experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 125px;
  gap: 45px;
  align-items: start;
}
.page-experience .browser-timeline {
  grid-column: 1;
  grid-row: 1;
  gap: 68px;
  min-width: 0;
}
.page-experience .experience-year-nav {
  display: block;
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 112px;
  align-self: start;
  padding-top: 2px;
}
.page-experience .experience-nav-label {
  display: block;
  margin: 0 0 22px 17px;
  color: var(--nav-label);
  font: 9px/1.4 monospace;
  letter-spacing: 1.5px;
}
.page-experience .experience-year-nav ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-experience .experience-year-nav a {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 61px;
  padding: 10px 0 12px 17px;
  border-left: 1px solid var(--nav-line);
  color: var(--nav-text);
  text-decoration: none;
  transition: color 0.2s;
}
.page-experience .experience-year-nav a::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nav-dot);
}
.page-experience .experience-nav-year {
  font: 13px/1.3 monospace;
  white-space: nowrap;
}
.page-experience .experience-nav-name {
  font-size: 9px;
  line-height: 1.4;
}
.experience-year-nav .nav-short {
  display: none;
}
@media (max-width: 850px) {
  .experience-year-nav .nav-long {
    display: none;
  }
  .experience-year-nav .nav-short {
    display: inline;
  }
}
.page-experience .experience-year-nav a:hover,
.page-experience .experience-year-nav a[aria-current="location"] {
  color: var(--accent);
}
.page-experience .experience-year-nav a[aria-current="location"]::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 7%, transparent);
}
.page-experience .experience-year-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.page-experience .experience-role {
  scroll-margin-top: 130px;
}
.page-experience .experience-role:focus {
  outline: none;
}
.page-experience .experience-role:focus-visible {
  box-shadow: inset 0 0 0 2px #82963d;
}
.page-experience .browser-content + .browser-content {
  border-top: 1px solid #d8ddcf;
}
.page-experience .browser-content {
  min-height: 0;
  padding: 39px 40px 43px;
}
.page-experience .browser-content h3 {
  font-size: clamp(25px, 2.5vw, 35px);
}
.page-experience .browser-content p {
  font-size: 15px;
}
.page-experience .experience-browser-tabs {
  gap: 5px;
}
.page-experience .experience-browser-tabs .browser-tab {
  width: auto;
  flex: 1;
  min-width: 0;
  max-width: 260px;
  text-decoration: none;
  background: #ffffff70;
  white-space: nowrap;
}
.page-experience .experience-browser-tabs .browser-tab > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-experience .experience-browser-tabs .browser-tab i,
.page-experience .experience-browser-tabs .browser-tab b {
  flex-shrink: 0;
}
.page-experience .experience-browser-tabs .browser-tab[aria-current="location"],
.page-experience .experience-browser-tabs .browser-tab:hover {
  background: #fff;
}
.page-experience .experience-browser-tabs .browser-tab:focus-visible {
  outline: 2px solid #3b642e;
  outline-offset: -3px;
}
.page-experience .experience-browser-tabs .tab-plus {
  padding: 0 5px;
}
.page-experience .ie8 .experience-browser-tabs .browser-tab {
  font-size: 11px;
  padding-left: 9px;
  padding-right: 9px;
}
.page-experience .ie8 .browser-content h3 {
  font-size: 27px;
}
/* Connect To layout studied from the period ISP screenshot in design/experience-reference.md. */
.page-experience .retro-desktop {
  padding: 34px 24px 65px 112px;
  min-height: 660px;
  background: #008080;
}
.page-experience .retro-icons {
  width: 74px;
  left: 18px;
  top: 32px;
  gap: 31px;
}
.page-experience .retro-icons i {
  display: block;
  position: relative;
  width: 32px;
  height: 29px;
  margin: 0 auto 8px;
}
.page-experience .desktop-computer i {
  height: 23px;
  background: #008080;
  border: 4px ridge #e3e3e3;
  box-shadow: 1px 1px #111;
}
.page-experience .desktop-computer i::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -11px;
  height: 5px;
  border: 2px outset #ddd;
  background: #c0c0c0;
}
.page-experience .desktop-folder i {
  height: 24px;
  background: #ffe58b;
  border: 1px solid #735c00;
  box-shadow:
    inset 2px 2px #fff4c9,
    1px 1px #111;
}
.page-experience .desktop-folder i::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -5px;
  width: 15px;
  height: 5px;
  border: 1px solid #735c00;
  border-bottom: 0;
  background: #ffe58b;
}
.page-experience .desktop-document i {
  width: 25px;
  border: 1px solid #333;
  background: repeating-linear-gradient(#fff 0 4px, #55718a 4px 5px);
  box-shadow:
    inset 4px 0 #fff,
    inset -4px 0 #fff,
    1px 1px #111;
}
.page-experience .dialup-window {
  width: min(100%, 385px);
  padding: 2px;
  box-shadow: 2px 2px #003c3c;
}
.page-experience .dialup-title {
  padding: 2px 3px;
  min-height: 23px;
  background: linear-gradient(90deg, #000080, #1084d0);
}
.page-experience .dialup-title h4 {
  margin: 0;
  font:
    bold 12px/1.4 Tahoma,
    Arial,
    sans-serif;
}
.page-experience .dialup-window-controls {
  display: flex;
  gap: 2px;
}
.page-experience .dialup-title b {
  font:
    bold 12px/12px Arial,
    sans-serif;
  width: 17px;
  height: 17px;
}
.page-experience .dialup-body {
  padding: 15px 13px 8px;
  font:
    11px/1.3 Tahoma,
    Arial,
    sans-serif;
}
.page-experience .dialup-connection {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.page-experience .dialup-connection svg {
  flex-shrink: 0;
}
.page-experience .dialup-rule {
  height: 2px;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #fff;
  margin: 12px 0;
}
.page-experience .dialup-login-fields {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 7px 8px;
  margin: 0;
}
.page-experience .dialup-login-fields dt,
.page-experience .dialup-login-fields dd {
  margin: 0;
}
.page-experience .dialup-field {
  display: block;
  min-width: 0;
  min-height: 23px;
  padding: 3px 4px;
  background: white;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  box-shadow: inset 1px 1px #333;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-experience .dialup-login-fields:not(.dialup-location-fields) dd {
  margin-right: 38px;
}
.page-experience .dialup-saved {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 7px 0 0 86px;
}
.page-experience .dialup-saved > span:first-child {
  width: 13px;
  height: 13px;
  background: white;
  border: 1px inset #888;
  font:
    bold 11px/11px Arial,
    sans-serif;
}
.page-experience .dialup-number {
  margin-right: 65px !important;
}
.page-experience .dialup-location {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.page-experience .dialup-location .dialup-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 1px 1px 4px;
  min-width: 0;
  flex: 1;
}
.page-experience .dialup-location .dialup-field b {
  background: #c0c0c0;
  border: 2px outset #eee;
  font:
    12px/13px Arial,
    sans-serif;
  min-width: 16px;
  height: 17px;
  text-align: center;
  margin-left: 5px;
}
.page-experience .dialup-faux-button {
  padding: 4px;
  border: 2px outset #eee;
  background: #c0c0c0;
  white-space: nowrap;
  font-size: 9px;
}
.page-experience .dialup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}
.page-experience .dialup-actions button {
  display: block;
  margin: 0;
  min-width: 86px;
  min-height: 34px;
  padding: 4px 8px;
  border: 2px outset #eee;
  border-radius: 0;
  background: #c0c0c0;
  color: #111;
  box-shadow: 1px 1px #333;
  font:
    11px Tahoma,
    Arial,
    sans-serif;
}
.page-experience .dialup-actions button:active {
  border-style: inset;
}
.page-experience .dialup-actions button:focus-visible {
  outline: 1px dotted #111;
  outline-offset: -5px;
}
.page-experience .dialup-body .dialup-status {
  margin: 13px 0 0;
  color: #333;
  font:
    10px/1.4 Tahoma,
    Arial,
    sans-serif;
}
.page-experience .dialup-meter {
  height: 12px;
  gap: 2px;
  margin: 5px 0 0;
  padding: 1px;
}
.page-experience .origin-note {
  max-width: 405px;
  margin: 25px auto 0;
  border: 2px outset #ddd;
  background: #fff;
  box-shadow: 2px 2px #004b4b;
  color: #111;
}
.page-experience .origin-note-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 5px;
  background: #808080;
  color: white;
  font:
    10px/1.4 Tahoma,
    Arial,
    sans-serif;
}
.page-experience .origin-note-title > span:last-child {
  white-space: nowrap;
}
.page-experience .origin-note-body {
  padding: 16px 17px 19px;
  font-family: "Courier New", monospace;
}
.page-experience .origin-note h3 {
  margin: 0 0 9px;
  font:
    bold 14px/1.4 "Courier New",
    monospace;
  color: #111;
}
.page-experience .origin-note p {
  margin: 0;
  font:
    12px/1.5 "Courier New",
    monospace;
  color: #222;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .experience-year-nav {
  position: static;
}
:is(#monitor-page, [data-snapshot-id="monitor-page"]) .experience-layout {
  grid-template-columns: minmax(0, 1fr) 105px;
  gap: 25px;
}
@media (max-width: 850px) {
  .page-experience .experience-layout {
    display: block;
  }
  .page-experience .experience-year-nav {
    /* Sits flush under the sticky header, whatever height it has. */
    top: calc(var(--header-height, 84px) - 1px);
    z-index: 6;
    margin: 0 -2px 34px;
    padding: 8px 2px 10px;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--nav-line);
  }
  .page-experience .experience-nav-label {
    display: none;
  }
  .page-experience .experience-year-nav ol {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--nav-dot) transparent;
  }
  .page-experience .experience-year-nav li {
    flex: 0 0 auto;
  }
  .page-experience .experience-year-nav a {
    padding: 9px 15px 8px 0;
    min-height: 45px;
    border-left: 0;
  }
  .page-experience .experience-year-nav a::before {
    display: none;
  }
  .page-experience .experience-nav-year {
    font-size: 11px;
  }
  .page-experience .experience-nav-name {
    font-size: 8px;
  }
  .page-experience .experience-role {
    scroll-margin-top: 160px;
  }
}
@media (max-width: 600px) {
  .page-experience .experience-year-nav {
    top: calc(var(--header-height, 70px) - 1px);
  }
  .page-experience .page-intro {
    margin-bottom: 28px;
  }
  .page-experience .browser-content {
    padding: 28px 21px 31px;
  }
  .page-experience .browser-content h3,
  .page-experience .ie8 .browser-content h3 {
    font-size: 24px;
  }
  .page-experience .browser-content p {
    font-size: 13px;
  }
  .page-experience .experience-browser-tabs .browser-tab {
    gap: 5px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 10px;
  }
  .page-experience .ie8 .experience-browser-tabs .browser-tab {
    font-size: 9px;
    max-width: none;
  }
  .page-experience .ie8 .experience-browser-tabs .browser-tab i,
  .page-experience .ie8 .experience-browser-tabs .browser-tab b {
    display: none;
  }
  .page-experience .retro-desktop {
    padding: 97px 13px 54px;
    min-height: 0;
  }
  .page-experience .retro-icons {
    top: 21px;
    left: 0;
    width: 100%;
    gap: 8px;
  }
  .page-experience .retro-icons i {
    transform: scale(0.8);
    transform-origin: bottom;
    margin-bottom: 6px;
  }
  .page-experience .dialup-body {
    padding: 12px 9px 8px;
    font-size: 10px;
  }
  .page-experience .dialup-login-fields {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 7px 5px;
  }
  .page-experience .dialup-login-fields:not(.dialup-location-fields) dd,
  .page-experience .dialup-number {
    margin-right: 0 !important;
  }
  .page-experience .dialup-saved {
    margin-left: 75px;
  }
  .page-experience .dialup-location {
    flex-wrap: wrap;
  }
  .page-experience .dialup-location .dialup-field {
    flex-basis: 100%;
  }
  .page-experience .dialup-actions button {
    min-height: 44px;
    min-width: 80px;
  }
  .page-experience .origin-note-title {
    font-size: 9px;
  }
}
@media print {
  .page-experience .experience-year-nav {
    display: none;
  }
  .page-experience .experience-layout {
    display: block;
  }
}

/* Main typography follows the HK Grotesk reference; period UI keeps its fonts. */
.content-document h2:not(.page-title),
.content-document .project-copy h3,
.content-document .home-story h3 {
  font-weight: 700;
}
.content-document h2 em,
.avatar-balloon p {
  font-style: normal;
}

/* The hint and the motion control sit inside the scene, in the two empty
   corners below the room, instead of taking a row of their own. */
.office-playground .office-stage .scene-foot {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: clamp(10px, 2.4%, 22px);
  border: 0;
  pointer-events: none;
}
.office-playground .office-stage .scene-foot > span {
  max-width: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: #0f1712a6;
  backdrop-filter: blur(8px);
  color: #dfe8cf;
  font: 500 12px/1.2 var(--display);
  letter-spacing: 0;
}
.office-playground .office-stage .scene-foot .motion-button {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #d5ef7859;
  border-radius: 50%;
  background: #0f1712b8;
  backdrop-filter: blur(8px);
  color: var(--lime);
  box-shadow: 0 6px 18px #0006;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.office-playground .office-stage .scene-foot .motion-button:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: #15200f;
}
.office-playground .office-stage .scene-foot .motion-button:active {
  transform: scale(0.94);
}
.office-playground .office-stage .scene-foot .motion-button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
/* Paused: the control is filled, so the state reads without the icon. */
.office-playground .office-stage .scene-foot .motion-button[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #15200f;
}
.office-playground .office-stage .scene-foot .motion-button .motion-play {
  transform: translateX(1px);
}
@media (max-width: 700px) {
  .office-playground .office-stage .scene-foot {
    padding: 8px;
  }
  .office-playground .office-stage .scene-foot > span {
    padding: 6px 10px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-playground .office-stage .scene-foot .motion-button {
    transition: none;
  }
}

/* Diagnostic view, only with ?debug=viewport. */
.viewport-debug {
  position: fixed;
  left: 6px;
  right: 6px;
  bottom: 6px;
  z-index: 1000;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #d5ef78;
  border-radius: 6px;
  background: #0b100cf0;
  color: #e6f5c4;
  font: 10px/1.45 monospace;
  white-space: pre-wrap;
  word-break: break-all;
  pointer-events: none;
}
.viewport-probe {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  visibility: hidden;
  pointer-events: none;
}
.viewport-probe-svh {
  height: 100svh;
}
.viewport-probe-lvh {
  height: 100lvh;
}
.viewport-probe-dvh {
  height: 100dvh;
}
.viewport-probe-vh {
  height: 100vh;
}

/* Device probes for ?probe=..., see viewport-debug.js. Inert without it. */
[data-probe~="backdrop"] .office-stage * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
[data-probe~="shadow"] .office-stage {
  box-shadow: none !important;
  transition: none !important;
}
[data-probe~="canvas"] .office-stage canvas {
  display: none !important;
}
[data-probe~="filter"] .office-stage * {
  filter: none !important;
}
[data-probe~="isolation"] .office-stage {
  isolation: auto !important;
}
