:root {
  color-scheme: light;
  --cream: #fffaf0;
  --cream-deep: #f1ead8;
  --ink: #26231f;
  --muted: #625c52;
  --blue: #0000b8;
  --blue-dark: #00006d;
  --teal: #006d68;
  --purple: #681a80;
  --red: #a92c27;
  --yellow: #ffd84a;
  --line: #aaa08d;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Verdana, Geneva, Tahoma, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

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

html {
  background: #d7e7e4 url("/assets/images/web-tile.svg") repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body { margin: 0; min-width: 0; }

[hidden] { display: none !important; }

a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .15em;
}

a:visited { color: var(--purple); }
a:hover { color: var(--red); }

a:focus-visible {
  background: var(--yellow);
  color: #111;
  outline: 3px solid #111;
  outline-offset: 3px;
}

.skip-link {
  background: #111;
  color: #fff;
  left: 1rem;
  padding: .7rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-200%);
  z-index: 20;
}

.skip-link:focus { transform: translateY(0); }

.wrap,
.site-header__inner {
  margin-inline: auto;
  max-width: 55rem;
  width: calc(100% - 2rem);
}

.site-header {
  background: #fff7cf;
  border-bottom: 4px double var(--blue-dark);
  box-shadow: 0 3px 0 rgb(0 0 0 / .18);
}

.site-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 4.6rem;
}

.site-name {
  color: var(--blue-dark);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.site-name:visited { color: var(--blue-dark); }
.site-name::before { color: var(--red); content: "★ "; }

.site-nav {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  min-height: 2.75rem;
  padding-block: .55rem;
}

.site-nav a[aria-current="page"] {
  background: var(--yellow);
  color: #111;
  padding-inline: .45rem;
  text-decoration-style: double;
}

.retro-welcome {
  background: #111e72;
  border: 5px ridge #a9c7ff;
  box-shadow: 8px 8px 0 rgb(0 0 0 / .22);
  color: #fff;
  margin-top: 2.2rem;
  padding: clamp(1.4rem, 4vw, 2.5rem) 1rem;
  text-align: center;
}

.retro-welcome__signal {
  color: var(--yellow);
  letter-spacing: .8em;
  margin: 0 0 .5rem;
  padding-left: .8em;
}

.retro-welcome__title {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.15rem, 8vw, 4.6rem);
  letter-spacing: .035em;
  line-height: 1;
  margin: 0;
  text-shadow: 3px 3px 0 #b01b73;
  text-transform: uppercase;
}

.retro-welcome__subtitle {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  margin: .8rem 0 .3rem;
}

.retro-welcome__address {
  color: #d7efff;
  font-family: var(--mono);
  font-size: .78rem;
  margin: 0;
}

.home-page main,
.about-page main { background: var(--cream); }

.home-page main {
  border-inline: 1px solid var(--line);
  margin-inline: auto;
  max-width: 59rem;
  padding-bottom: 4rem;
}

.kicker {
  color: var(--teal);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; }

.intro {
  display: grid;
  gap: 0 clamp(2rem, 6vw, 4rem);
  grid-template-columns: minmax(0, .82fr) minmax(20rem, 1.18fr);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.intro > .kicker,
.intro > h1,
.intro > .standfirst { grid-column: 1; }

.intro h1 {
  color: var(--blue-dark);
  font-size: clamp(3.2rem, 8vw, 6rem);
  letter-spacing: -.04em;
  line-height: .94;
  margin: 0;
  text-shadow: 2px 2px 0 #e4cf5e;
}

.standfirst {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  line-height: 1.45;
}

.intro > .standfirst { margin: 1.7rem 0 0; max-width: 30ch; }

.intro-copy {
  align-self: start;
  background: #fff;
  border: 3px ridge #c5bda8;
  box-shadow: 5px 5px 0 #d8cfba;
  grid-column: 2;
  grid-row: 1 / span 3;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.intro-copy p { margin: 0 0 1em; }
.intro-copy p:last-child { margin-bottom: 0; }

.homepage-extras {
  align-items: stretch;
  border-block: 3px double var(--teal);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(14rem, .8fr) minmax(0, 1.2fr);
  margin-bottom: clamp(3rem, 7vw, 5rem);
  padding-block: 1.5rem;
}

.counter-box {
  background: #101010;
  border: 4px inset #d4d4d4;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

.counter-box p {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  margin: 0 0 .65rem;
  text-transform: uppercase;
}

.counter { display: flex; gap: 3px; justify-content: center; }

.counter span {
  background: #202020;
  border: 1px solid #777;
  color: #65ff6f;
  font-family: var(--mono);
  font-size: 1.35rem;
  line-height: 1;
  padding: .25rem .2rem;
  text-shadow: 0 0 5px #40ff4d;
}

.counter-box small {
  color: #d9d9d9;
  display: block;
  font-size: .68rem;
  margin-top: .7rem;
}

.homepage-note {
  align-self: center;
  font-family: var(--mono);
  font-size: .88rem;
}

.homepage-note p { margin: 0 0 .5rem; }
.homepage-note p:last-child { margin-bottom: 0; }
.article-index { padding-bottom: 1rem; }

.section-heading {
  align-items: baseline;
  background: var(--teal);
  border: 3px outset #8cd2cc;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: .65rem 1rem;
}

.section-heading h2 {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0;
  text-transform: uppercase;
}

.section-heading span { color: #fff8bd; font-family: var(--mono); font-size: .78rem; }
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list > li { border-bottom: 2px dotted var(--purple); }

.article-teaser {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 3rem minmax(0, 1fr);
  padding-block: clamp(1.8rem, 4vw, 2.7rem);
}

.article-teaser__number {
  background: var(--yellow);
  border: 2px solid var(--red);
  color: #111;
  font-family: var(--mono);
  font-size: .9rem;
  font-weight: 700;
  height: 2.35rem;
  padding-top: .34rem;
  text-align: center;
  transform: rotate(-2deg);
  width: 2.35rem;
}

.article-teaser h3 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1.12;
  margin: 0;
  max-width: 25ch;
}

.article-teaser > div:last-child > p:not(.article-meta) {
  color: var(--muted);
  margin: .8rem 0 .7rem;
  max-width: 58ch;
}

.article-meta { color: var(--muted); font-family: var(--mono); font-size: .78rem; margin: 0; }

.page {
  background: var(--cream);
  border-inline: 1px solid var(--line);
  min-height: 68vh;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.2rem, 5vw, 4rem);
}

.page-header {
  border-bottom: 5px double var(--purple);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
}

.page-header h1 {
  color: var(--blue-dark);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  margin: 0;
  text-shadow: 2px 2px 0 #ead45b;
}

.about-copy { margin-left: clamp(0rem, 12vw, 7rem); }
.article-page-body { background-color: #d7e7e4; }

.article-page {
  background: var(--cream);
  border-inline: 1px solid #bbb09e;
  box-shadow: 0 0 20px rgb(38 35 31 / .14);
  margin-block: 2rem;
  max-width: 49rem;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.25rem, 7vw, 4rem);
  width: calc(100% - 2rem);
}

.article-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.article-header h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 0 0 1.5rem;
  max-width: 18ch;
}

.article-page .kicker { color: var(--teal); font-size: .72rem; }

.prose {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.2vw, 1.2rem);
  line-height: 1.72;
  max-width: 70ch;
}

.article-page .prose { margin-inline: auto; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { color: var(--ink); font-size: clamp(1.65rem, 4vw, 2.15rem); line-height: 1.2; margin-top: 2.2em; }
.prose .standfirst { color: #35302a; font-size: clamp(1.35rem, 3vw, 1.6rem); line-height: 1.48; margin-bottom: 1.4em; }
.prose cite { font-style: italic; }
.prose a { text-decoration-thickness: .07em; }

.article-nav {
  border-block: 3px double var(--teal);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(8rem, .6fr) minmax(0, 1.4fr);
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-block: 1.4rem;
}

.article-nav a { font-family: var(--serif); }
.article-nav a:not(.article-nav__home) { justify-self: end; max-width: 28ch; text-align: right; }
.article-nav a span { color: var(--muted); display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; margin-bottom: .15rem; text-transform: uppercase; }

.article-nav--three { grid-template-columns: .55fr 1fr 1fr; }
.article-nav--three a:nth-child(2) { justify-self: center; max-width: 22ch; text-align: center; }

.site-footer {
  background: #fff7cf;
  border: 4px ridge #c7bd9f;
  margin-block: 2rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  text-align: center;
}

.badge-rack { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }

.web-badge {
  align-items: center;
  border: 2px outset #ddd;
  color: #fff;
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 700;
  height: 31px;
  justify-content: center;
  letter-spacing: .02em;
  line-height: 1.05;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  width: 88px;
}

.web-badge--blue { background: #001e9b; }
.web-badge--teal { background: #006c65; }
.web-badge--yellow { background: #ffdb3f; color: #171717; }
.web-badge--purple { background: #711d89; }
.web-badge--red { background: #a92824; }
.web-badge--black { background: #171717; }

.construction-note {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: .76rem;
  gap: .7rem;
  justify-content: center;
  margin: 1.4rem 0 1rem;
}

.construction-note img {
  animation: gentle-bob 2.4s steps(2, jump-none) infinite;
  height: 44px;
  image-rendering: pixelated;
  width: 52px;
}

.construction-note p,
.footer-smallprint p { margin: 0; }

.footer-smallprint {
  border-top: 1px dotted var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: .7rem;
  padding-top: .9rem;
}

.footer-smallprint p + p { margin-top: .35rem; }

/* Round two: a deliberately coherent 1999 homepage, not a modern page in fancy dress. */
.site-header {
  border-top: 6px solid var(--purple);
  box-shadow: inset 0 3px 0 var(--yellow), 0 4px 0 rgb(0 0 0 / .18);
}

.site-header::after {
  background: var(--teal);
  color: #fff;
  content: "PERSONAL HOMEPAGE  //  ONLINE";
  display: block;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  padding: .18rem calc((100% - min(55rem, calc(100% - 2rem))) / 2);
  text-align: right;
}

.site-nav { gap: .55rem; }

.site-nav a {
  background: #ded8c6;
  border: 3px outset #fff;
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 700;
  min-height: 2.6rem;
  padding: .4rem .65rem;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::before { content: "[ "; }
.site-nav a::after { content: " ]"; }

.site-nav a:hover {
  background: #fff;
  color: var(--red);
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  background: var(--yellow);
  border-style: inset;
  color: #111;
  padding-inline: .65rem;
}

.home-page main {
  border: 4px ridge #bab19d;
  box-shadow: 12px 12px 0 rgb(0 0 0 / .18);
  margin-bottom: 3rem;
  max-width: 64rem;
  padding-bottom: 2.2rem;
}

.home-page .retro-welcome {
  max-width: 59rem;
  width: calc(100% - 2rem);
}

.intentional-notice {
  align-items: center;
  background: #fff7b8;
  border: 3px dashed var(--red);
  box-shadow: 5px 5px 0 #d5c96e;
  display: flex;
  gap: 1rem;
  margin-block: 2rem;
  padding: .8rem 1rem;
}

.intentional-notice__icon {
  align-items: center;
  background: var(--blue-dark);
  border: 3px outset #95a7ff;
  color: #fff;
  display: flex;
  flex: 0 0 2.5rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 700;
  height: 2.5rem;
  justify-content: center;
}

.intentional-notice p {
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.45;
  margin: 0;
}

.intentional-notice strong {
  color: var(--red);
  text-transform: uppercase;
}

.homepage-grid {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 13rem minmax(0, 1fr);
  max-width: 59rem;
}

.home-rail {
  display: grid;
  gap: 1rem;
  grid-column: 1;
  grid-row: 1;
}

.retro-panel {
  background: #fff7cf;
  border: 3px outset #d9d1ba;
  box-shadow: 4px 4px 0 #aba28f;
  min-width: 0;
  padding: .75rem;
}

.retro-panel__title {
  background: var(--blue-dark);
  border: 2px inset #8091e2;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  margin: -.35rem -.35rem .8rem;
  padding: .4rem;
  text-align: center;
  text-transform: uppercase;
}

.site-specs {
  border-top: 2px dotted var(--teal);
  display: grid;
  font-family: var(--mono);
  font-size: .68rem;
  gap: .25rem .4rem;
  grid-template-columns: 1fr auto;
  margin: 0;
  padding-top: .45rem;
}

.site-specs dt { color: var(--muted); }
.site-specs dd { font-weight: 700; margin: 0; text-align: right; }

.home-rail .counter-box {
  border-width: 3px;
  margin: -.1rem;
  padding: .7rem .35rem;
}

.home-rail .counter span { font-size: 1.05rem; }
.home-rail .counter-box small { font-size: .65rem; line-height: 1.35; }

.home-rail .homepage-note {
  font-family: var(--mono);
  font-size: .75rem;
  line-height: 1.5;
  text-align: left;
}

.homepage-main { grid-column: 2; min-width: 0; }

.home-page .intro {
  background: #fff;
  border: 3px outset #d7d2c2;
  display: block;
  padding: 0;
}

.window-titlebar {
  align-items: center;
  background: var(--blue-dark);
  color: #fff;
  display: flex;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  justify-content: space-between;
  padding: .35rem .5rem;
  text-transform: uppercase;
}

.intro-inner { padding: clamp(1.2rem, 4vw, 2.2rem); }

.home-page .intro h1 {
  font-size: clamp(3.1rem, 8vw, 5.2rem);
  transform: rotate(-1deg);
}

.home-page .intro .standfirst {
  margin: 1.5rem 0 0;
  max-width: 32ch;
}

.home-page .intro-copy {
  background: transparent;
  border: 0;
  border-top: 4px double var(--purple);
  box-shadow: none;
  margin-top: 1.8rem;
  padding: 1.6rem 0 0;
}

.home-page .article-index {
  background: #fff;
  border: 3px outset #d7d2c2;
  margin-top: 1.25rem;
  padding: 0 .9rem .2rem;
}

.home-page .section-heading { margin: 0 -.9rem; }

.section-heading__label {
  color: #fff8bd;
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-page .section-heading h2 { line-height: 1.05; }

.home-page .article-list > li {
  background-image: url("/assets/images/pixel-corner.svg");
  background-position: right .5rem top .5rem;
  background-repeat: no-repeat;
}

.new-label {
  color: var(--red);
  font-family: var(--mono);
  font-size: .62rem;
  text-transform: uppercase;
  vertical-align: top;
}

.badge-label {
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  margin: 0 0 .6rem;
  text-transform: uppercase;
}

.home-page .badge-rack {
  background: #111e72;
  border: 4px ridge #a9c7ff;
  padding: .75rem;
}

.home-page .web-badge { box-shadow: 2px 2px 0 #050505; }

.construction-note img { height: 44px; width: 60px; }

@keyframes gentle-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 46rem) {
  html { background: var(--cream); }
  .site-header__inner { min-height: 4.4rem; }
  .site-name { font-size: 1.05rem; }
  .site-nav { gap: .75rem; }
  .retro-welcome { margin-top: 1rem; }
  .home-page main { border-inline: 0; }
  .intentional-notice { align-items: flex-start; }
  .homepage-grid { grid-template-columns: 1fr; }
  .homepage-main { grid-column: 1; grid-row: 1; }
  .home-rail { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro { display: block; }
  .intro-copy { margin-top: 2.2rem; }
  .homepage-extras { grid-template-columns: 1fr; }
  .homepage-note { text-align: center; }
  .section-heading span { display: none; }
  .article-teaser { gap: .8rem; grid-template-columns: 2.5rem minmax(0, 1fr); }
  .page { border-inline: 0; }
  .about-copy { margin-left: 0; }
  .article-page { border: 0; box-shadow: none; margin-block: 0; width: 100%; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a:not(.article-nav__home) { justify-self: start; text-align: left; }
  .site-footer { border-inline: 0; margin: 0; width: 100%; }
}

@media (max-width: 24rem) {
  .site-header__inner { align-items: flex-start; flex-direction: column; padding-block: .65rem; }
  .site-nav a { min-height: 2.5rem; }
  .site-header::after { text-align: left; }
  .retro-welcome__signal { display: none; }
  .intentional-notice__icon { display: none; }
  .home-rail { grid-template-columns: 1fr; }
}

/* Full-screen dial-up intro: hidden unless JavaScript deliberately reveals it. */
.dialup-intro {
  background: #397f7b;
  color: #111;
  font-family: Tahoma, Verdana, sans-serif;
  inset: 0;
  overflow: hidden;
  position: fixed;
  z-index: 9999;
}

.dialup-intro.is-visible { display: block !important; }

.dialup-desktop {
  inset: 0 0 2.25rem;
  position: absolute;
}

.desktop-icon {
  color: #fff;
  font-size: .72rem;
  left: 1.2rem;
  position: absolute;
  text-align: center;
  text-shadow: 1px 1px #000;
  top: 1.2rem;
  width: 5.5rem;
}

.desktop-icon--internet { top: 7.2rem; }

.desktop-icon span {
  background: #d8d1b9;
  border: 3px outset #efeadb;
  display: block;
  height: 2.8rem;
  margin: 0 auto .35rem;
  position: relative;
  width: 3.3rem;
}

.desktop-icon--computer span::before {
  background: #174e61;
  border: 3px inset #777;
  content: "";
  inset: .3rem .35rem .8rem;
  position: absolute;
}

.desktop-icon--computer span::after {
  background: #77705e;
  bottom: .25rem;
  content: "";
  height: .3rem;
  left: .65rem;
  position: absolute;
  width: 1.6rem;
}

.desktop-icon--internet span {
  background: #126b8c;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #82c6d5;
}

.desktop-icon b { font-weight: 400; }

.dialup-window {
  background: #c6c6c6;
  border: 4px outset #efefef;
  box-shadow: 8px 10px 0 rgb(0 0 0 / .28);
  left: 50%;
  max-height: calc(100dvh - 5rem);
  max-width: 31rem;
  position: absolute;
  top: 47%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
}

.dialup-titlebar {
  align-items: center;
  background: #000080;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: .32rem .42rem;
}

.dialup-titlebar h2 {
  font-family: Tahoma, Verdana, sans-serif;
  font-size: .9rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.dialup-titlebar span {
  background: #c6c6c6;
  border: 2px outset #fff;
  color: #111;
  font-family: var(--mono);
  font-size: .68rem;
  padding: 0 .25rem;
}

.dialup-window__body {
  min-height: 22rem;
  padding: 1.2rem 1.35rem 1rem 7.5rem;
  position: relative;
}

.dialup-modem {
  height: 8rem;
  left: 1.15rem;
  position: absolute;
  top: 1.35rem;
  width: 5.2rem;
}

.dialup-modem__screen {
  background: #164b58;
  border: 5px outset #eee8d5;
  display: block;
  height: 4.4rem;
  position: relative;
  width: 5rem;
}

.dialup-modem__screen::after {
  background: #82d6cd;
  box-shadow: 0 .7rem #82d6cd, 1.15rem 0 #82d6cd;
  content: "";
  height: .18rem;
  left: 1rem;
  position: absolute;
  top: 1.1rem;
  width: 1rem;
}

.dialup-modem__base {
  background: #d8d1ba;
  border: 3px outset #eee8d5;
  display: block;
  height: .75rem;
  margin: .25rem auto 0;
  width: 3.5rem;
}

.dialup-modem__line {
  border-bottom: 3px solid #3b3932;
  border-right: 3px solid #3b3932;
  display: block;
  height: 1.2rem;
  left: 4.2rem;
  position: absolute;
  top: 4.6rem;
  width: 1.1rem;
}

.dialup-modem__box {
  background: #d8d1ba;
  border: 3px outset #eee8d5;
  display: block;
  height: 2.1rem;
  left: 3.8rem;
  position: absolute;
  top: 5.7rem;
  width: 2.6rem;
}

.dialup-modem__box::after {
  background: #44a84c;
  box-shadow: .5rem 0 #e3b42f;
  content: "";
  height: .3rem;
  left: .45rem;
  position: absolute;
  top: .45rem;
  width: .3rem;
}

.dialup-copy {
  font-size: .82rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.dialup-details {
  display: grid;
  font-size: .82rem;
  gap: .45rem .55rem;
  grid-template-columns: auto minmax(8rem, 1fr);
  margin: 0;
}

.dialup-details dt { align-self: center; }

.dialup-details dd {
  background: #fff;
  border: 2px inset #efefef;
  font-family: var(--mono);
  margin: 0;
  min-height: 1.7rem;
  padding: .15rem .35rem;
}

.dialup-status {
  align-items: center;
  border-top: 1px solid #8e8e8e;
  display: flex;
  font-size: .8rem;
  gap: .55rem;
  margin-top: 1rem;
  min-height: 2.2rem;
  padding-top: .6rem;
}

.dialup-status__lights { display: flex; gap: .18rem; }

.dialup-status__lights i {
  background: #777;
  border: 1px inset #eee;
  display: block;
  height: .55rem;
  width: .55rem;
}

.dialup-intro.is-connecting .dialup-status__lights i:first-child,
.dialup-intro.is-connected .dialup-status__lights i { background: #1baf38; }

.dialup-intro.is-connecting .dialup-status__lights i:nth-child(2) { animation: modem-light .8s steps(2, end) infinite; }
.dialup-intro.is-connecting .dialup-status__lights i:nth-child(3) { animation: modem-light .55s steps(2, end) infinite reverse; }

.dialup-progress {
  background: #fff;
  border: 3px inset #eee;
  height: 1.25rem;
  margin-top: .35rem;
  overflow: hidden;
  padding: 2px;
}

.dialup-progress span {
  background: #000080;
  display: block;
  height: 100%;
  width: 0;
}

.dialup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.dialup-button {
  background: #c6c6c6;
  border: 3px outset #fff;
  color: #111;
  cursor: pointer;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  min-height: 2.6rem;
  padding: .4rem .7rem;
  text-transform: uppercase;
}

.dialup-button--connect { min-width: 7rem; }
.dialup-button:active { border-style: inset; }
.dialup-button:disabled { color: #666; cursor: wait; }
.dialup-button:focus-visible { outline: 3px solid #000; outline-offset: 3px; }

.dialup-intro.has-audio-error .dialup-status strong { color: #8b0000; }

.dialup-taskbar {
  align-items: center;
  background: #c6c6c6;
  border-top: 3px outset #fff;
  bottom: 0;
  display: grid;
  font-size: .72rem;
  gap: .35rem;
  grid-template-columns: auto 1fr auto;
  height: 2.25rem;
  left: 0;
  padding: .2rem .35rem;
  position: absolute;
  right: 0;
}

.dialup-start,
.dialup-taskbar time {
  border: 2px outset #fff;
  font-weight: 700;
  padding: .15rem .4rem;
}

.dialup-taskbar time { border-style: inset; font-weight: 400; }

.dialup-wipe {
  background: #effffb;
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: scaleY(0);
  transform-origin: center;
  z-index: 10;
}

.dialup-intro.is-exiting .dialup-wipe { animation: dialup-wipe .62s steps(8, end) forwards; }

body.dialup-open { overflow: hidden; }

@keyframes modem-light {
  0%, 48% { background: #777; }
  49%, 100% { background: #1baf38; }
}

@keyframes dialup-wipe {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(.02); }
  75% { transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); }
}

@media (max-width: 34rem) {
  .desktop-icon { display: none; }
  .dialup-window { top: 46%; }
  .dialup-window__body { min-height: 0; padding: 1rem; }
  .dialup-modem { float: left; height: 4.8rem; margin: 0 .9rem .5rem 0; position: relative; left: auto; top: auto; transform: scale(.68); transform-origin: left top; width: 4.4rem; }
  .dialup-copy { min-height: 4rem; }
  .dialup-details { clear: both; grid-template-columns: 5.5rem minmax(0, 1fr); }
  .dialup-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .dialup-button { width: 100%; }
  .dialup-taskbar > span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dialup-intro.is-connecting .dialup-status__lights i,
  .dialup-intro.is-exiting .dialup-wipe { animation: none !important; }
  .dialup-intro.is-exiting .dialup-wipe { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  html, .article-page-body { background: #fff; }
  .site-header, .site-footer, .article-nav, .skip-link { display: none; }
  .article-page { border: 0; box-shadow: none; margin: 0; max-width: none; padding: 0; }
}
