:root{font-family:Inter,Arial,sans-serif;color:#192b24;background:#f7f8f0;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0}main,header,footer{width:min(1080px,90%);margin:auto}header,nav,.hero,article{display:flex;align-items:center}header{justify-content:space-between;padding:20px 0;border-bottom:2px solid}nav{gap:clamp(12px,3vw,36px)}a{color:inherit;text-underline-offset:4px}nav a,.mark{text-decoration:none}.mark{font:bold 26px monospace}.mark span,h1 span{color:#a44125}.hero{gap:4%;justify-content:space-between;padding:64px 0}.hero>div:first-child{max-width:640px}h1,h2,h3,p{margin:0}h1{font-size:clamp(3.4rem,7vw,6.4rem);line-height:.92;letter-spacing:-.066em;margin:19px 0}p,label{font-size:1.05rem;line-height:1.55}small,time,footer{font: .9rem 'Courier New',monospace;letter-spacing:.05em}.button{display:inline-block;background:#223d32;color:white;border:0;border-radius:4px;text-decoration:none;padding:13px 20px;margin-top:20px;font:bold 1rem Arial;cursor:pointer}.button:disabled{opacity:.65;cursor:default}.monitor{width:25%;transform:rotate(3deg);border:3px solid;background:#ffc07a;border-radius:15px;padding:15px;box-shadow:8px 8px #243d33}.screen{background:repeating-linear-gradient(#254339 0 3px,#294b40 3px 5px);border-radius:9px;padding:16% 12%;color:#cbf5aa;font: bold clamp(2rem,6vw,5rem) monospace}.monitor i{display:block;width:24%;border-bottom:5px double;margin:12px 0 0 auto}section+section{border-top:2px solid;padding:36px 0}h2{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.05em;margin-bottom:16px}article{gap:20px;border-top:1px solid #abb5a7;padding:18px 0}article:first-of-type{margin-top:20px}time{background:#e3eacb;text-align:center;padding:10px;min-width:64px}time strong{display:block;font-size:1.7rem}h3{font-size:1.25rem;margin-bottom:6px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.cards>div{background:#e8eddf;padding:22px}.cards small{display:block;margin-bottom:20px}textarea,select{width:100%;font:inherit;padding:12px;background:white;border:1px solid #687768;border-radius:4px;margin:6px 0 14px}form{max-width:660px}form .button{margin:0}footer{padding:24px 0;border-top:2px solid}:focus-visible{outline:3px solid #c44b19;outline-offset:3px}@media(max-width:680px){.monitor{display:none}.hero{padding:45px 0}.cards{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}

.page-intro {
  padding: 44px 0 32px;
}
.page-intro h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1;
}
.page-intro time {
  background: none;
  padding: 0;
  font-size: 1rem;
}
#papers li + li {
  margin-top: 8px;
}

#past summary {
  padding: 14px 0;
  font-weight: bold;
  cursor: pointer;
}
#library li + li {
  margin-top: 8px;
}

.mark span, h1 .title-cursor {
  color: inherit;
}
.title-cursor {
  animation: cursor-blink 2.4s step-end infinite;
}
@keyframes cursor-blink {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .title-cursor { animation: none; }
}
.series {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  font: 0.875rem monospace;
  background: #e3eacb;
}
.series.bitdevs { background: #fbe0ba; }
.series.ai { background: #dce8f8; }
.series.hack { background: #f5dce7; }

/* Terminal typography */
.mark, h1, h2, .series, .external {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}
h1 {
  letter-spacing: -.085em;
  overflow-wrap: anywhere;
}
h2 {
  letter-spacing: -.065em;
}
.series {
  font-size: .875rem;
}
.series.hack {
  background: #e3eacb;
}
.external {
  display: inline-block;
  margin-left: .65rem;
  color: #526359;
  font-size: .8125rem;
  font-weight: normal;
  vertical-align: middle;
}
@media (max-width: 680px) {
  .hero h1 { font-size: clamp(2.45rem, 9vw, 4rem); }
}

/* Event poster */
.hero {
  position: relative;
  isolation: isolate;
  display: block;
  padding: clamp(26px, 6vw, 76px);
  margin-block: 22px;
  overflow: hidden;
  background: #f8bf84;
  border: 2px solid #192b24;
}
.hero > div:first-child {
  max-width: none;
}
.hero small {
  display: inline-block;
  font-weight: bold;
  border-bottom: 2px solid currentColor;
  padding-bottom: 5px;
}
.hero h1 {
  font-family: "Archivo Black", "Arial Black", system-ui, sans-serif;
  font-weight: 950;
  font-size: clamp(2.65rem, 8.8vw, 8rem);
  letter-spacing: -.085em;
  line-height: .89;
  margin-block: 24px;
}
.hero p {
  max-width: 34ch;
}
.poster-art {
  position: absolute;
  z-index: -1;
  width: 56%;
  aspect-ratio: 1;
  right: -14%;
  bottom: -45%;
  border: 2px solid #283f34;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #283f34 0 1px, transparent 2px 14px);
  opacity: .32;
}
.calendar-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 20px;
}
#meetups article, main:not(#home) article {
  border-color: #869585;
  gap: clamp(10px, 2.5vw, 30px);
}
article time {
  background: none;
  border-right: 1px solid #869585;
  padding-inline: 0 14px;
}
article time strong {
  font-size: 2rem;
}
.series {
  font-weight: bold;
}
@media (max-width: 680px) {
  .hero {
    padding-inline: 18px;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 9.8vw, 4rem);
  }
  .poster-art {
    width: 85%;
    bottom: -24%;
  }
}

/* Amber phosphor display */
.hero {
  color: #ffd294;
  background: repeating-linear-gradient(transparent 0 3px, #0002 3px 4px),
    radial-gradient(ellipse at 35% 28%, #33261c, #161410 75%);
  border: 5px solid #444139;
  border-radius: 24px;
  box-shadow: inset 0 0 38px #0009, 0 5px 0 #24231e;
}
.hero h1 {
  font-family: "IBM Plex Mono", Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: clamp(2.25rem, 7.6vw, 7rem);
  line-height: 1;
  text-shadow: 0 0 18px #f9a33c65;
}
.hero small {
  color: #ffdcac;
}
.hero .button {
  background: #ffd294;
  color: #21180f;
}
.terminal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #ac7954;
  max-width: 54ch;
  font: .95rem Menlo, Consolas, monospace;
}
.terminal-shortcuts, #terminal-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#terminal-form {
  align-items: center;
  margin-top: 12px;
}
.terminal button, .terminal input {
  border: 1px solid #ac7954;
  border-radius: 3px;
  padding: 7px 9px;
  color: inherit;
  background: #201810;
  font: inherit;
}
.terminal button {
  cursor: pointer;
}
.terminal button:hover {
  background: #47321e;
}
.terminal input {
  width: min(100%, 16ch);
}
.terminal input::placeholder {
  color: #d7ae8b;
}
#terminal-output:not(:empty) {
  margin-top: 12px;
  line-height: 1.5;
}
.hero :focus-visible {
  outline-color: #ffd294;
}

@font-face {
  font-family: VT323;
  src: url("fonts/VT323-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  font-family: VT323, "Courier New", monospace;
  font-size: 21px;
  color-scheme: dark;
  color: #ffcb88;
  background: #18130d;
  scroll-padding-block-end: calc(var(--dock-height, 0px) + 1rem);
}
body {
  min-height: 100dvh;
  padding-bottom: var(--dock-height, 0px);
  background: radial-gradient(ellipse at 45% 28%, #302014, #18130d 75%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: repeating-linear-gradient(transparent 0 3px, #0002 3px 4px);
  box-shadow: inset 0 0 46px #0008;
}
.hero {
  color: inherit;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  padding: clamp(28px, 6vw, 72px) 0;
}
.hero h1, .mark, h1, h2, .series, .external, small, time, footer,
.title-cursor, .button, .terminal, label {
  font-family: inherit;
  font-weight: normal;
  letter-spacing: 0;
}
.hero h1 {
  font-size: clamp(2.5rem, 10vw, 6rem);
}
.mark span, h1 span, .hero small, .external {
  color: inherit;
}
a:hover, .masthead-links a[aria-current="page"] {
  color: #fff0cb;
}
.button, .hero .button, .terminal button {
  background: #ffcb88;
  color: #23170e;
}
.button:hover, .terminal button:hover {
  background: #ffe1b3;
  color: #23170e;
}
:focus-visible {
  outline-color: #ffddaa;
}
article time, .series, .series.ai, .series.hack, .series.bitdevs,
textarea, select {
  color: inherit;
  background: #342418;
  border-color: #976747;
}
.terminal {
  position: fixed;
  z-index: 9;
  inset: auto 0 0;
  max-width: none;
  margin: 0;
  padding: 12px max(5%, calc((100% - 1080px)/2)) max(12px, env(safe-area-inset-bottom));
  background: #20170f;
  box-shadow: 0 -10px 30px #100b0666;
}
.terminal-shortcuts button {
  background: transparent;
  color: inherit;
}

/* Full-screen shell */
body.shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.shell-screen {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: auto;
  padding: clamp(14px, 4vw, 52px);
  scrollbar-color: #976747 #20170f;
}
.shell-boot {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
.shell-boot h1 {
  font-size: clamp(1.6rem, 5.3vw, 3.5rem);
  text-shadow: 0 0 14px #e6975475;
  margin: 0 0 .5rem;
}
.shell-boot p, .shell-echo, .shell-entry pre {
  font-size: 1rem;
}
.shell-entry {
  margin-top: 1rem;
}
.shell-echo {
  color: #ffe4bb;
  overflow-wrap: anywhere;
}
.shell-entry pre {
  font-family: inherit;
  white-space: pre-wrap;
}
.shell-list {
  list-style: none;
  padding: 0;
}
.shell-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .8rem;
  margin-bottom: .65rem;
}
.shell-list time {
  text-align: left;
  background: none;
  padding: 0;
}
.shell-list small {
  display: block;
  color: #d3a97e;
}
.shell-dock {
  background: #20170f;
  border-top: 1px solid #976747;
  padding: 10px clamp(14px, 4vw, 52px) max(12px, env(safe-area-inset-bottom));
}
.shell-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.shell-dock #terminal-form {
  flex-wrap: nowrap;
  max-width: none;
  gap: .5rem;
  margin-top: .4rem;
}
.shell-dock input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #976747;
  color: inherit;
  caret-color: #ffe4bb;
  font: inherit;
}
.shell-dock button {
  background: transparent;
  color: inherit;
  border: 1px solid #976747;
  padding: 0 .45rem;
  font: inherit;
  cursor: pointer;
}
.shell-dock button:hover {
  background: #ffcb88;
  color: #23170e;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.shell {
  font-family: Menlo, "Courier Prime", Consolas, monospace;
  font-size: clamp(.8rem, 2vw, .95rem);
}
.shell-boot h1, .shell-boot .title-cursor {
  font-family: VT323, monospace;
}
.shell-boot h1 {
  font-size: clamp(2rem, 6vw, 4.2rem);
}
#terminal-view {
  max-width: 72ch;
}
#terminal-view p {
  font-size: inherit;
  margin-block: .65em;
}
#terminal-view h2 {
  font-size: 1.2em;
}
#terminal-view section {
  margin-top: 1.5rem;
}
#terminal-view .baud-line {
  display: inline-block;
  max-width: 100%;
  color: inherit;
  box-decoration-break: clone;
}
.shell-dock label {
  font-size: inherit;
}

@font-face {
  font-family: "Courier Prime";
  src: url("fonts/CourierPrime-Regular.ttf") format("truetype");
  font-display: swap;
}
body.shell {
  grid-template-rows: auto minmax(0, 1fr) auto;
  font-family: "Courier Prime", Courier, monospace;
  --terminal-gutter: clamp(14px, 4vw, 52px);
}
.shell h1, .shell h2, .shell h3, .shell .title-cursor {
  font-family: VT323, "Courier Prime", monospace;
  font-weight: normal;
  letter-spacing: 0;
}
.shell-masthead {
  display: block;
  width: auto;
  margin: 0;
  padding: clamp(14px, 3vw, 30px) var(--terminal-gutter) 0;
  border: 0;
}
.shell-masthead .masthead-title {
  font-family: VT323, "Courier Prime", monospace;
  margin: 0;
  font-size: clamp(1.65rem, 6vw, 4.2rem);
  text-shadow: 0 0 14px #e6975475;
}
.shell-screen {
  padding: .6rem var(--terminal-gutter) 1rem;
}
#terminal-view h2 {
  font-size: 1.6em;
}
.shell-list time, .shell-list small, .shell .external {
  font-family: inherit;
}
.shell-dock {
  padding-inline: var(--terminal-gutter);
  background: transparent;
  border: 0;
}
.shell-dock button, .shell-dock button:hover {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.shell-dock button:hover {
  color: #fff0cb;
}
.shell-shortcuts > span {
  color: #d3a97e;
}
.shell-dock input {
  border: 0;
  border-radius: 0;
}

.prompt-input {
  position: relative;
  flex: 1;
  min-width: 0;
}
.shell-dock .prompt-input input {
  display: block;
  width: 100%;
  padding: 0;
}
.prompt-cursor {
  display: none;
  position: absolute;
  inset-block-start: .1em;
  inset-inline-start: 0;
  width: 1ch;
  height: 1em;
  background: currentColor;
  pointer-events: none;
  animation: cursor-blink 1.2s step-end infinite;
}
.prompt-input input[placeholder=" "]:placeholder-shown {
  caret-color: transparent;
}
.prompt-input input[placeholder=" "]:placeholder-shown + .prompt-cursor {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .prompt-cursor { animation: none; }
}

body.shell {
  --terminal-heading-size: clamp(1.65rem, 6vw, 4.2rem);
}
.shell-masthead .masthead-title, #terminal-view h1 {
  font-size: var(--terminal-heading-size);
  line-height: .95;
}
#terminal-view h1 {
  margin: .3em 0;
}
.terminal-rule {
  overflow: hidden;
  white-space: nowrap;
  color: #b98860;
  line-height: 1;
  margin-block: .45rem;
  mask-image: linear-gradient(to right, #000 96%, transparent);
}
#terminal-view section + section {
  border: 0;
  padding: 0;
}
#terminal-view a.button {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
}
#terminal-view a.button::before, .shell-shortcuts button::before {
  content: "[";
}
#terminal-view a.button::after, .shell-shortcuts button::after {
  content: "]";
}
.shell-shortcuts button {
  text-decoration: none;
}
.shell-shortcuts button:hover {
  text-decoration: underline;
}
.shell .external {
  font-size: .8em;
}
#terminal-view form label {
  display: block;
  font-size: 1em;
}
#terminal-view form textarea, #terminal-view form select {
  background: transparent;
  border: 1px dashed #b98860;
  border-radius: 0;
  padding: .45em;
  color: inherit;
}
#terminal-view form select option {
  background: #20170f;
}
#terminal-view form .button {
  border: 0;
  padding: .25em 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
}

/* Meetup detail views already sit below the terminal masthead. */
#terminal-view > .page-intro {
  margin-top: 0;
  padding: 0;
}
#terminal-view > .page-intro h1 {
  margin-top: .2em;
}

body.shell {
  grid-template-rows: auto minmax(0, 1fr);
}
#masthead-route {
  color: inherit;
  white-space: pre-wrap;
  font: inherit;
}
#cursor-toggle {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: text;
}
#cursor-toggle:focus-visible {
  animation: none;
}
.masthead-links {
  display: flex;
  flex-wrap: wrap;
  gap: .25em 1em;
  margin-top: .5em;
}
.masthead-links a {
  padding: 0;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.shell-masthead #terminal-form[hidden] {
  display: none;
}
.shell-masthead #terminal-form {
  flex-wrap: nowrap;
  gap: .5em;
  margin-top: .5em;
  font: inherit;
}
.shell-masthead .prompt-input input {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
}

#masthead-edit {
  color: inherit;
  font: inherit;
  white-space: pre;
}
#terminal-command {
  color: inherit;
  font: inherit;
  white-space: pre-wrap;
  outline: 0;
  caret-color: transparent;
}
#terminal-command[aria-invalid="true"] {
  text-decoration: underline wavy;
}



.shell-masthead .masthead-separator {
  color: inherit;
  white-space: pre;
}


a .external {
  display: inline;
  margin-left: 0;
  vertical-align: baseline;
}

#terminal-view {
  position: relative;
}
.terminal-word {
  display: inline-block;
}
.terminal-untyped {
  visibility: hidden;
}
.terminal-output-cursor {
  position: absolute;
  z-index: 1;
  background: currentColor;
  pointer-events: none;
}

#terminal-view a.terminal-typing-link {
  text-decoration: none;
}
.terminal-underline:not(.terminal-untyped) {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-skip-ink: none;
}
.terminal-space {
  white-space: pre-wrap;
}

.terminal-select {
  position: relative;
}
.terminal-select-preview {
  position: absolute;
  inset-block-start: 6px;
  inset-inline-start: 0;
  padding: calc(.45em + 1px);
  line-height: normal;
  pointer-events: none;
}

#terminal-view .terminal-select-enhanced select {
  appearance: none;
  color: transparent;
  padding-inline-end: 2em;
}
#terminal-view .terminal-select select option {
  color: #ffcb88;
}
.terminal-select-enhanced:has(select:not(.terminal-untyped))::after {
  content: "▾";
  position: absolute;
  inset-block-start: 6px;
  inset-inline-end: .65em;
  padding-block: calc(.45em + 1px);
  line-height: normal;
  pointer-events: none;
}

body.shell {
  grid-template-columns: minmax(0, 1fr);
}
.shell-masthead .masthead-title {
  display: flex;
  flex-wrap: wrap;
}
.shell-masthead .masthead-name,
.shell-masthead .masthead-prompt {
  color: inherit;
  min-width: 0;
  max-width: 100%;
}
.shell-masthead .masthead-prompt {
  flex: 0 0 100%;
  overflow-wrap: anywhere;
  font-size: .8em;
}

.shell-masthead .masthead-name {
  text-transform: uppercase;
}
.shell-masthead .masthead-name span,
#terminal-command .route-slash {
  color: inherit;
}
.masthead-computer {
  margin-inline-start: 1ch;
}
.masthead-dot,
#terminal-command .route-slash {
  margin-inline: 1ch;
}
.shell-masthead .masthead-separator {
  margin-inline-end: 1ch;
}
#cursor-toggle {
  user-select: none;
}
