/* Computer Room's public front page. Modern type and spacing; the desktop's own parts (windows, buttons, the
   taskbar, its icons and its pixel font) are the decoration. Nothing here is loaded from anyone else's server. */
@font-face { font-family: "Computer Sans"; src: url("fonts/computer-sans-16.ttf") format("truetype"); font-display: swap; }
:root {
  --teal: #008080; --teal-deep: #006a6a; --navy: #000080; --navy-2: #1084d0;
  --grey: #c0c0c0; --grey-hi: #ffffff; --grey-lo: #808080; --ink: #16181d; --soft: #4a4f5a;
  --paper: #f4f2ec; --card: #fbfaf6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pixel: "Computer Sans", "MS Sans Serif", Tahoma, Geneva, sans-serif;
  --bevel: inset 1px 1px 0 var(--grey-hi), inset -1px -1px 0 #000, inset 2px 2px 0 #dfdfdf, inset -2px -2px 0 var(--grey-lo);
  --sunk: inset 1px 1px 0 var(--grey-lo), inset -1px -1px 0 var(--grey-hi), inset 2px 2px 0 #000, inset -2px -2px 0 #dfdfdf;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
img[src$=".svg"], .screen img { image-rendering: pixelated; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 76px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0 0 1em; }

/* ── the pixel label: small, exact, never smoothed ── */
.eyebrow, .win > header, .dialog > header, .screen-bar, .taskbar, .page-status { font-family: var(--pixel); font-size: 16px; line-height: 1; -webkit-font-smoothing: none; font-smooth: never; letter-spacing: 0; }
.eyebrow { text-transform: none; color: var(--teal-deep); margin: 0 0 18px; }

/* ── buttons: the desktop's own, a size up ── */
.btn { display: inline-block; font: 600 16px/1 var(--sans); color: #000; text-decoration: none; background: var(--grey); padding: 13px 22px; box-shadow: var(--bevel); border: 0; cursor: pointer; }
.btn:hover { background: #cfcfcf; }
.btn:active { box-shadow: var(--sunk); padding: 14px 21px 12px 23px; }
.btn:focus-visible { outline: 1px dotted #000; outline-offset: -6px; }
.btn.primary { box-shadow: var(--bevel), 0 0 0 1px #000; }
.link { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

/* ── a word to phones: the desktop itself needs a desk ── */
.desk-note { display: none; margin: 0; padding: 12px 20px; background: #ffffe1; color: #000; font: 15px/1.4 var(--sans); border-bottom: 1px solid #000; text-align: center; }
@media (max-width: 700px), (pointer: coarse) { .desk-note { display: block; } }

/* ── top ── */
.sky { background: var(--teal); color: #fff; padding-bottom: 300px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1240px; margin: 0 auto; padding: 18px 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 20px var(--serif); color: #fff; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.top nav a:not(.btn) { color: #e6f4f4; text-decoration: none; }
.top nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.top nav .btn { padding: 9px 16px; font-size: 14px; }
.top nav .btn:active { padding: 10px 15px 8px 17px; }

/* ── hero: the words, then the desktop itself at its real size ── */
.hero { max-width: 880px; margin: 0 auto; padding: 64px 28px 0; text-align: center; }
.hero .eyebrow { color: #b8ecec; }
.hero .lead { font-size: 21px; line-height: 1.55; color: #e9f6f6; max-width: 32em; margin: 26px auto 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fine { color: #b8ecec; margin: 22px 0 0; font: 14px var(--sans); }
.screen { max-width: 1188px; margin: -240px auto 0; background: var(--grey); padding: 4px; box-shadow: var(--bevel), 0 40px 80px -30px rgba(0, 30, 30, 0.6); width: calc(100% - 56px); }
.screen-bar { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; color: #fff; background: linear-gradient(90deg, var(--navy), var(--navy-2)); margin-bottom: 4px; }
.screen > img { display: block; width: 100%; }

/* ── bands ── */
.band { max-width: 1240px; margin: 0 auto; padding: 120px 28px 0; }
.band > h2 { max-width: 16em; }
.band > h2 + .cards { margin-top: 40px; }
.sub { color: var(--soft); font-size: 20px; margin: 14px 0 44px; }

/* ── the three windows ── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.win { background: var(--grey); padding: 4px; box-shadow: var(--bevel), 0 18px 40px -22px rgba(0, 0, 0, 0.45); }
.win > header, .dialog > header { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; color: #fff; background: linear-gradient(90deg, var(--navy), var(--navy-2)); }
.win-body { background: var(--card); margin-top: 4px; padding: 24px 26px 22px; box-shadow: var(--sunk); }
/* The icon sits beside its heading, at the size it always had, so the window does not open on empty space. */
.cards .win { display: flex; flex-direction: column; } .cards .win-body { flex: 1; }   /* three windows of one height, each filled */
.win-body .lead-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.win-body .big { width: 64px; height: 64px; flex: none; }
.win-body h3 { margin: 0; }
.win-body p { font-size: 16.5px; color: #2c3038; }
/* No paragraph ends on a word by itself: the browser evens out the last lines where it can. */
p, li, h1, h2, h3 { text-wrap: pretty; }
.quiet { color: var(--teal-deep) !important; font-weight: 600; margin-bottom: 0; }

/* ── what isn't here: a message box ── */
.band.alt { max-width: none; background: var(--teal); margin-top: 110px; padding: 90px 28px; }
.dialog { max-width: 760px; margin: 0 auto; background: var(--grey); padding: 4px; box-shadow: var(--bevel), 0 30px 60px -20px rgba(0, 40, 40, 0.7); }
.dialog > header { justify-content: space-between; }
.dialog .x { display: grid; place-items: center; width: 20px; height: 18px; background: var(--grey); color: #000; box-shadow: var(--bevel); font: 700 14px/1 var(--sans); }
.dialog-body { display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding: 34px 34px 26px; }
.dialog-body > img { width: 64px; height: 64px; }
.dialog h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 20px; }
.dialog h2:last-child { margin-bottom: 0; text-wrap: balance; }
#not-here .dialog-body { padding-bottom: 34px; align-items: center; }
.dialog ul { list-style: none; margin: 0; padding: 0; }
.dialog li { padding: 9px 0; border-top: 1px solid var(--grey-lo); box-shadow: 0 -1px 0 var(--grey-hi) inset; font-size: 17px; }
.dialog li:first-child { border-top: 0; }
.dialog-btns { display: flex; justify-content: flex-end; margin-top: 24px; }
.dialog-btns .btn { min-width: 110px; text-align: center; }

/* ── for writers ── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.split h2 { margin-bottom: 22px; }
.split p { color: #2c3038; max-width: 30em; }
.page { background: #0000a8; color: #fff; font: 17px/1.9 "SF Mono", Menlo, Consolas, "Courier New", monospace; padding: 44px 44px 0; min-height: 360px; display: flex; flex-direction: column; box-shadow: 0 0 0 4px var(--grey), 0 0 0 5px #000, 0 26px 50px -20px rgba(0, 0, 0, 0.55); }
.page-line.s { color: #a8c8ff; margin-bottom: 22px; }
.caret { display: inline-block; width: 0.6em; height: 1.1em; background: #fff; vertical-align: text-bottom; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.page-status { margin: auto -44px 0; padding: 8px 14px; background: #00a8a8; color: #000; display: flex; gap: 28px; }

/* ── steps ── */
.closing { text-align: center; padding-top: 0; padding-bottom: 70px; }
.closing .fine { color: var(--soft); margin-top: 16px; }

/* ── the note ── */
/* A program shown with its picture and a few plain facts (the front page and the writers' page both use these). */
.screen.shot { margin: 0 auto 44px; max-width: 768px; width: 100%; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.facts > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.facts h3 { font-size: 20px; margin-bottom: 8px; }
.facts p { font-size: 16.5px; color: var(--soft); margin: 0; }
.facts.lead-in { margin-top: 36px; }
.screen.shot + .facts { margin-top: 64px; }
.band .sub { font-size: 20px; color: #2c3038; max-width: 32em; margin: 16px 0 40px; }
@media (max-width: 940px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; gap: 20px; } .band .sub { font-size: 18px; margin-bottom: 26px; } }
/* The games, near the end: a line, and three of them, each in its own window. */
.games > p { color: #2c3038; max-width: 34em; margin-top: 22px; }
.games > p + p { margin-top: 12px; }
.game-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 44px; align-items: end; }
.game-row figure { margin: 0; }
.game-row .game-shot { display: block; width: 100%; height: auto; box-shadow: 0 22px 44px -22px rgba(0, 30, 30, 0.55); }
.game-row .game-ico { display: none; image-rendering: pixelated; }
.game-row figcaption { margin-top: 14px; font-family: var(--pixel); font-size: 16px; color: var(--soft); -webkit-font-smoothing: none; }
/* The writers' section: the page of a book, and over its corner a page of a script (Screenplay). */
.pages { position: relative; padding-bottom: 96px; }
.script { position: absolute; right: -8px; bottom: 0; width: min(78%, 400px); background: #fff; color: #000; font: 13px/1.5 "Courier Prime", "Courier New", Courier, monospace; padding: 22px 24px 0; box-shadow: 0 0 0 4px var(--grey), 0 0 0 5px #000, 0 26px 50px -20px rgba(0, 20, 20, 0.6); }
.script .sl { margin-bottom: 12px; }
.script .who { margin: 12px 0 0 38%; }
.script .par { margin-left: 28%; }
.script .say { margin: 0 14% 0 18%; }
.script-status { margin: 18px -24px 0; padding: 5px 10px; background: var(--grey); color: #000; font: 12px/1.4 Arial, Helvetica, sans-serif; display: flex; gap: 18px; box-shadow: inset 0 1px #fff; }
.letter { display: grid; grid-template-columns: 64px 1fr; gap: 28px; max-width: 900px; padding-bottom: 120px; }
.letter img { width: 64px; height: 64px; }
.letter blockquote { margin: 0; }
.letter p { font: 26px/1.45 var(--serif); }
.letter footer { font-family: var(--pixel); font-size: 16px; color: var(--soft); -webkit-font-smoothing: none; }

/* ── the foot: a taskbar ── */
.foot { background: var(--grey); box-shadow: inset 0 1px 0 var(--grey-hi), inset 0 2px 0 #dfdfdf; padding: 5px 6px; }
.taskbar { display: flex; align-items: center; gap: 14px; max-width: 1240px; margin: 0 auto; color: #000; }
/* the name at the foot is the same logo as at the top, with no button round it (Morr, 2026-12-03) */
.taskbar .start { display: inline-flex; align-items: center; gap: 8px; padding: 6px 4px; font: 600 17px var(--serif); -webkit-font-smoothing: antialiased; }
.taskbar .grow { flex: 1; }
.taskbar a { padding: 6px 4px; }

/* The front page, writers first (2026-12-03): text bands, a wider picture for Screenplay, and the questions. */
.band.text h2 { max-width: 18em; margin-bottom: 20px; }
.band.text p:not(.eyebrow) { font-size: 20px; line-height: 1.55; color: #2c3038; max-width: 32em; margin: 0; }
.band.text + .band { padding-top: 80px; }
.screen.shot.wide { max-width: 968px; }
.dialog .small { font-size: 17px; line-height: 1.5; color: #303030; margin: 0; }
.asks { margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.asks > div { border-top: 2px solid var(--ink); padding: 18px 0 26px; }
.asks dt { font: 600 20px/1.25 var(--serif); margin-bottom: 8px; }
.asks dd { margin: 0; font-size: 16.5px; color: var(--soft); max-width: 30em; }
#questions { padding-bottom: 110px; }
.closing h2 { max-width: none; margin-bottom: 28px; }
@media (max-width: 940px) {
  body { font-size: 17px; }
  .asks { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 36px; }
  .sky { padding-bottom: 150px; } .screen { margin-top: -110px; }
  .cards { grid-template-columns: 1fr; }
  .top nav a:not(.btn) { display: none; }
  .band { padding-top: 80px; }
  .dialog-body, .letter { grid-template-columns: 1fr; }
  #not-here .dialog-body { grid-template-columns: 48px 1fr; gap: 16px; padding: 26px 22px; } #not-here .dialog-body > img { width: 48px; height: 48px; }
  .page { padding: 28px 24px 0; font-size: 15px; } .page-status { margin: auto -24px 0; gap: 16px; }
  .game-row { grid-template-columns: 1fr; gap: 34px; max-width: 520px; }
  .script { right: 0; font-size: 12px; } .pages { padding-bottom: 110px; }
  .win-body { min-height: 0; }
}
/* a phone: tighter gaps between the parts, and nothing in the top bar or the taskbar breaks onto a second line */
@media (max-width: 600px) {
  .top { padding: 14px 20px; gap: 12px; } .brand { font-size: 18px; white-space: nowrap; } .top nav .btn { white-space: nowrap; }
  .hero { padding: 40px 22px 0; } .hero .lead { font-size: 19px; margin: 20px auto 26px; }
  .band { padding: 60px 20px 0; }
  .band.alt { margin-top: 60px; padding: 48px 20px; }
  .band > h2 + .cards { margin-top: 26px; } .cards { gap: 18px; }
  .split { gap: 28px; }
  /* on a phone the computer sits in the paragraph's first lines and the words run round it, with the whole width to themselves (Morr, 2026-12-02: it pushed the whole paragraph over) */
  .band.letter { display: block; padding-bottom: 36px; } .letter img { float: left; width: 44px; height: 44px; margin: 5px 14px 2px 0; } .letter p { font-size: 21px; margin: 0; }
  /* a phone shows the three games as their icons in a row, with their names: the pictures of their windows are for a bigger screen (Morr, 2026-12-02) */
  .game-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: none; margin-top: 30px; text-align: center; align-items: start; }
  .game-row .game-shot { display: none; } .game-row .game-ico { display: block; width: 64px; height: 64px; margin: 0 auto; }
  .game-row figcaption { margin-top: 10px; }
  .band.closing { padding-top: 0; padding-bottom: 44px; }
  .taskbar { gap: 10px; font-size: 13px; } .taskbar .start, .taskbar a { white-space: nowrap; } .taskbar .start { padding: 5px 2px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } html { scroll-behavior: auto; } }
/* The note a phone sees can send the link on; the foot's links; the privacy page, the terms and the page for a wrong address. */
.desk-note a { color: #000080; font-weight: 600; white-space: nowrap; }
a.start { text-decoration: none; color: inherit; }
.sky.slim { padding-bottom: 0; }
.doc-text { max-width: 760px; padding-top: 70px; padding-bottom: 110px; }
.doc-text h1 { font-size: clamp(38px, 5vw, 56px); }
.doc-text .when { font-family: var(--pixel); font-size: 16px; color: var(--teal-deep); margin: 14px 0 30px; -webkit-font-smoothing: none; }
.doc-text .lede { font-size: 20px; line-height: 1.55; color: #2c3038; }
.doc-text h2 { font-size: 26px; margin: 46px 0 14px; max-width: none; }
.doc-text p, .doc-text li { color: #2c3038; }
.doc-text ul, .doc-text ol { margin: 0 0 1em; padding-left: 1.2em; }
.doc-text li { margin-bottom: 0.6em; }
.band.alt.lost { margin-top: 0; padding: 120px 28px 160px; }
.lost .dialog h2 { margin-bottom: 12px; }
.lost .dialog-btns { justify-content: flex-start; }
@media (max-width: 600px) { .taskbar .mail { display: none; } .doc-text { padding-top: 44px; padding-bottom: 60px; } }
