@font-face {
  font-family: "Instrument Serif";
  src: url("../axolotl/fonts/instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  src: url("../axolotl/fonts/instrument-serif-italic.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --desk: #202a30;
  --panel: #263439;
  --chrome: #182126;
  --ink: #20302e;
  --paper: #e7eadc;
  --rule: #798b83;
  --lime: #d1eb85;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: ui-monospace, "DejaVu Sans Mono", monospace;
  --gutter: clamp(.85rem, 1.65vw, 2.2rem);
  font-family: Inter, system-ui, sans-serif;
  background: var(--desk);
  color: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, p, ul { margin: 0; }
body { min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: middle; }
a:focus-visible, button:focus-visible, video:focus-visible {
  outline: 3px solid #ff986f;
  outline-offset: -3px;
}
.path, .meta, .system-bar, .titlebar, .taskbar, .back-link { font-family: var(--mono); }
.path, .meta { font-size: .8rem; line-height: 1.45; }
.system-bar, .taskbar {
  display: flex;
  align-items: center;
  padding-inline: var(--gutter);
  background: var(--chrome);
  font-size: .875rem;
}
.system-bar { min-height: 2.9rem; gap: 1.15rem; border-bottom: 1px solid #435054; }
.system-bar a, .taskbar a, .bio-link, .project-link, .reel-tile a, .back-link, .action, .visit, .queue li a {
  text-decoration: none;
}
.identity, .wm, .workspaces, .taskbar nav, .taskbar a, .titlebar, .bio-link,
.project-name, .reel-tile a, .back-link, .action, .visit { display: flex; align-items: center; }
.identity { gap: .55rem; min-height: 44px; font-weight: 650; }
.identity .icon, .wm .icon { color: var(--lime); }
.wm { margin-left: auto; gap: .5rem; }
.workspaces { gap: .15rem; padding-left: .8rem; border-left: 1px solid #56625e; }
.workspaces a { display: grid; place-items: center; width: 2rem; min-height: 2rem; border-radius: 4px; }
.workspaces a:hover, .taskbar a:hover { background: #344548; }
.workspaces [aria-current], .workspaces [aria-current]:hover { background: var(--lime); color: var(--ink); }
.taskbar {
  justify-content: space-between;
  min-height: 3.25rem;
  gap: 1rem;
  margin-top: auto;
  border-top: 1px solid #3a494b;
}
.taskbar nav { gap: .4rem; }
.taskbar a { min-height: 44px; gap: .45rem; padding: .35rem .65rem; border-radius: 4px; }
.taskbar [aria-current] { background: #344548; }
.domain { font-size: .8rem; color: #b6c6c0; }
.tile-grid {
  width: 100%;
  padding: var(--gutter);
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.45fr);
  grid-template-rows: minmax(22rem, 1fr) auto;
  gap: clamp(.55rem, .8vw, 1rem);
}
.window { min-width: 0; border: 1px solid var(--rule); border-radius: .5rem; }
.window[data-focused] { border-color: #c4d6a9; }
.titlebar {
  min-height: 2.35rem;
  gap: .55rem;
  padding: .15rem .9rem;
  border-radius: .43rem .43rem 0 0;
  background: #34484b;
  border-bottom: 1px solid var(--rule);
  font-size: .8rem;
  line-height: 1.3;
}
.titlebar .icon { width: 1.05rem; height: 1.05rem; }
.bio { grid-row: 1 / 3; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
.bio .titlebar, .about-page .titlebar { background: #d5dacb; border-color: #a8b4a6; }
.bio-body { flex: 1; display: flex; flex-direction: column; padding: clamp(1.3rem, 2.5vw, 3rem); }
.bio h1 { font-size: clamp(5rem, 9.5vw, 10rem); line-height: .86; margin: 1.4rem 0; }
.bio h1 em { display: block; }
.signature { margin-top: auto; display: flex; gap: .7rem; align-items: flex-end; }
.signature img { object-fit: contain; width: clamp(3.4rem, 6.2vw, 6rem); height: auto; }
.signature strong { padding-bottom: .25rem; font-size: .9rem; font-weight: 625; }
.intro { max-width: 36ch; margin-top: .8rem; line-height: 1.55; }
.bio-link { justify-content: space-between; padding: .8rem clamp(1.3rem, 2.5vw, 3rem); border-top: 1px solid #afbaac; min-height: 44px; font-weight: 600; }
.bio-link:hover { background: #dce3cf; }
.project-tile { background: var(--panel); display: flex; flex-direction: column; }
.project-link { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 0 0 .45rem .45rem; }
.project-link:focus-visible { outline-offset: 1px; }
.project-picture { position: relative; overflow: hidden; flex: 1; min-height: 12rem; background: #087e91; }
.project-picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 47% 54%; }
.project-picture span { position: absolute; top: .9rem; left: 1rem; padding: .34rem .65rem; background: #15282c; color: #fcfcf4; border-radius: 1rem; font-size: .78rem; }
.project-name { justify-content: space-between; padding: .8rem 1.3rem 1rem; gap: .5rem; }
.project-name h2 { font-size: clamp(2.35rem, 4vw, 4.35rem); line-height: 1.05; }
.project-name .meta { margin-top: .25rem; color: #c6d0c3; }
.launch-icon { display: grid; place-items: center; background: var(--lime); color: var(--ink); width: 3rem; height: 3rem; border-radius: 50%; flex: none; }
.project-link:hover .launch-icon { background: #e8ffae; }
.reel-tile { position: relative; background: #cbe780; color: var(--ink); border-color: #cbe780; }
.reel-tile a { min-height: 5.3rem; gap: 1rem; padding: .65rem 1.2rem; border-radius: inherit; }
.reel-tile a:hover { background: #d8ef99; }
.reel-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid #778d55; border-radius: 5px; }
.reel-icon .icon { width: 1.65rem; height: 1.65rem; }
.reel-tile h2 { margin-top: .15rem; font: 650 clamp(1.1rem, 2vw, 1.65rem)/1.15 Inter, system-ui, sans-serif; letter-spacing: -.035em; }
.reel-play { margin-left: auto; display: flex; align-items: center; gap: .7rem; }
.reel-play time { font: .8rem var(--mono); }
/* The mascot gets a reserved stretch of title bar. The image never covers a control. */
.peek-slot { flex: 1; position: relative; min-width: 3.3rem; align-self: stretch; }
.peek-slot.reel-slot { position: absolute; top: .15rem; left: 43%; right: 18%; height: .5rem; pointer-events: none; }
.peek {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 3.2rem;
  height: 2.75rem;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  pointer-events: auto;
  z-index: 2;
}
.peek[data-edge="left"] { right: auto; left: 0; }
.peek img {
  position: absolute;
  width: 2.9rem;
  max-width: none;
  top: 100%;
  left: .14rem;
  transition: transform .45s cubic-bezier(.2,.8,.32,1);
}
.peek[data-visible] img { transform: translateY(-62%); }
@media (prefers-reduced-motion: reduce) { .peek img { transition: none; } }
.expanded { flex: 1; width: min(100%, 90rem); margin-inline: auto; padding: 0 var(--gutter) var(--gutter); }
.back-link { width: fit-content; min-height: 44px; gap: .6rem; font-size: .875rem; }
.back-link:hover, .domain:hover { text-decoration: underline; }
.story, .about-page { background: #f3f4e9; color: var(--ink); }
.story .titlebar { background: #dce4d6; }
.story-body { display: grid; grid-template-columns: minmax(10rem, .56fr) 2fr; }
.story-index { padding: clamp(1.2rem,3vw,2.8rem); background: #e3eadd; border-right: 1px solid #bdc8b8; border-bottom-left-radius: inherit; }
.story-index nav { margin: 1.3rem 0; display: grid; }
.story-index nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid #c1cebd; }
.story-index nav a:hover { text-decoration: underline; }
.story-copy, .about-copy { padding: clamp(1.5rem, 4.4vw, 5rem); }
.story-copy { max-width: 57rem; }
.expanded h1 { font-size: clamp(3.4rem, 7vw, 7rem); line-height: .98; margin: .5rem 0 1rem; }
.expanded h2 { font-size: clamp(2rem, 3.2vw, 3.5rem); line-height: 1.05; margin: 1.6rem 0 .6rem; }
.expanded p:not(.path) { max-width: 64ch; line-height: 1.65; }
.expanded p + p { margin-top: 1rem; }
.expanded .standfirst { font-size: clamp(1.1rem, 1.55vw, 1.5rem); }
.story-image { margin-top: 1.5rem; width: 100%; border-radius: 5px; }
.story-links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.25rem; }
.action { min-height: 44px; width: fit-content; padding: .55rem .9rem; gap: .6rem; border-radius: 4px; background: #29453a; color: #f5f4e8; }
.action:hover { background: #3b5b42; }
.about-copy { display: grid; grid-template-columns: 1.5fr 1fr; align-items: start; gap: 1.5rem clamp(2rem, 7vw, 8rem); }
.about-pet { align-self: center; justify-self: center; width: min(75%, 16rem); }
.about-copy h2 { margin-top: .35rem; }
.reel-page { background: #29202b; color: #ffede7; border-color: #73616e; }
.reel-page .titlebar { background: #362a36; border-color: #705965; }
.reel-body { padding: clamp(1.1rem, 2.5vw, 3rem); }
.reel-body h1 { margin-bottom: 1.4rem; }
.reel-body h1 em { color: #ffb59e; }
.studio { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(14rem, .9fr); gap: .8rem; }
.player, .queue { background: #352a35; border: 1px solid #66525d; border-radius: .4rem; min-width: 0; overflow: hidden; }
.player { align-self: start; }
.player h2, .queue h2 { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: .8rem 1rem; font: 550 1rem/1.35 Inter, system-ui, sans-serif; letter-spacing: 0; }
.player video { display: block; width: 100%; aspect-ratio: 16/8.8; background: #171419; }
.queue { display: flex; flex-direction: column; }
.queue h2 { border-bottom: 1px solid #66525d; }
.queue ul { padding: 0 .7rem; list-style: none; }
.queue li a { display: flex; align-items: center; gap: .7rem; padding: .8rem .25rem; border-bottom: 1px solid #5b4855; }
.queue li img { width: 3.8rem; height: 2.7rem; object-fit: cover; border-radius: 3px; }
.queue li span { flex: 1; }
.queue li small { display: block; font-size: .8rem; color: #d7c7cc; margin-top: .17rem; }
.queue li a[aria-current], .queue li a:hover, .visit:hover { color: #ffb59e; }
.visit { justify-content: space-between; gap: .5rem; padding: .95rem; margin-top: auto; }
@media (min-width: 100rem) {
  .tile-grid { width: min(100%, 115rem); margin-inline: auto; }
}
@media (max-width: 44rem) {
  :root { --gutter: .65rem; }
  .system-bar { gap: .5rem; padding-inline: .8rem; }
  .workspaces { padding-left: .3rem; }
  .workspaces a { width: 1.7rem; min-height: 44px; }
  .wm { gap: .3rem; font-size: .8rem; }
  .tile-grid { grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(14rem,1fr) auto; gap: .55rem; }
  .titlebar { min-height: 2rem; }
  .bio { grid-row: auto; }
  .bio-body { padding: .85rem 1rem; }
  .bio-body .path { display: none; }
  .bio h1 { margin: 0; font-size: clamp(3rem, 10vw, 4.5rem); line-height: .98; }
  .bio h1 em { display: inline; }
  .signature { position: relative; margin: .4rem 0 0; }
  .signature img { position: absolute; right: 0; bottom: 0; width: 3.3rem; }
  .signature strong { font-size: .85rem; padding: 0; }
  .intro { max-width: 48ch; margin-top: .55rem; font-size: .96rem; line-height: 1.4; }
  .bio-link { padding: .4rem 1rem; }
  .project-name { padding: .65rem .9rem; }
  .project-name h2 { font-size: 2.2rem; }
  .launch-icon { width: 2.3rem; height: 2.3rem; }
  .project-picture { min-height: 8.5rem; }
  .reel-tile a { min-height: 4.2rem; padding: .55rem .8rem; gap: .75rem; }
  .reel-play time { display: none; }
  .reel-icon { width: 2.2rem; height: 2.2rem; }
  .taskbar { position: sticky; z-index: 3; bottom: 0; padding: .15rem 0 max(.15rem,env(safe-area-inset-bottom)); }
  .taskbar nav { width: 100%; justify-content: space-around; gap: 0; }
  .taskbar nav a { flex-direction: column; gap: .12rem; font-size: .78rem; }
  .taskbar .domain { display: none; }
  .story-body, .about-copy, .studio { grid-template-columns: minmax(0,1fr); }
  .story-index { padding: .6rem 1rem; border-right: 0; border-bottom: 1px solid #bdc8b8; }
  .story-index .path, .story-index .action { display: none; }
  .story-index nav { margin: 0; display: flex; gap: .9rem; flex-wrap: wrap; }
  .story-index nav a { font-size: .875rem; border: 0; }
  .story-copy, .about-copy { padding: 1.2rem; }
  .about-pet { justify-self: start; width: 5rem; }
  .studio { gap: .65rem; }
  .player video { aspect-ratio: 16/9; }
  .queue li a { padding-block: .55rem; }
}
