:root {
  color-scheme: dark;
  --paper: #f4ece0;
  --quiet: #c4b9a6;
  --shade: #121513;
  --panel: #1d201b;
  --edge: #55574b;
  --lamp: #f8af61;
  --readout: #eacf9b;
  --serif: Georgia,"Times New Roman",serif;
  --sans: "Trebuchet MS",Arial,sans-serif;
  --label: "Courier New",monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--shade);
  color: var(--paper);
  font: 17px/1.6 var(--sans);
}

a {
  color: inherit;
}

button,input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2 {
  font: 500 52px/1 var(--serif);
  letter-spacing: -.045em;
}

a:focus-visible,button:focus-visible,input:focus-visible {
  outline: 2px solid var(--lamp);
  outline-offset: 5px;
}

::selection {
  background: var(--lamp);
  color: var(--shade);
}

.desk-width {
  width: min(88%,1360px);
  margin-inline: auto;
}

.desk-skip {
  position: absolute;
  left: 1rem;
  top: -6em;
  padding: .5rem;
  background: var(--lamp);
  color: var(--shade);
  z-index: 5;
}

.desk-skip:focus {
  top: 1rem;
}

.desk-bar {
  background: #161913;
  border-bottom: 1px solid #32382f;
}

.desk-nav {
  height: 81px;
  display: flex;
  align-items: center;
  gap: 35px;
}

.desk-nav nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
}

.desk-nav nav a,.email-tab,.take-toggle,.arrival-line a {
  font: 700 .78rem/1.35 var(--label);
  letter-spacing: .04em;
  text-decoration: none;
}

.desk-nav nav a:hover,.floor-copy a:hover,.notes-run a:hover {
  color: var(--lamp);
}

.cabin-mark {
  font: 700 1.12rem/1.08 var(--label);
  text-decoration: none;
  letter-spacing: -.06em;
  white-space: nowrap;
}

.cabin-mark span {
  color: var(--lamp);
}

.cabin-mark small {
  font-size: .62rem;
  letter-spacing: .24em;
  display: block;
  margin-top: .3em;
}

.email-tab {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: .82rem .98rem;
  border: 1px solid var(--lamp);
  color: var(--lamp);
  justify-content: center;
}

.email-tab:hover {
  background: var(--lamp);
  color: var(--shade);
}

.desk-cover {
  position: relative;
  isolation: isolate;
  min-height: clamp(500px,64vh,690px);
  display: grid;
  align-items: end;
  background: #373328;
}

.desk-cover-photo,.desk-cover-shade {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: -1;
}

.desk-cover-photo {
  object-position: center 54%;
}

.desk-cover-shade {
  background: linear-gradient(90deg,#10120fe8 0%,#10120f96 37%,transparent 74%),linear-gradient(0deg,#10120fea,transparent 49%);
}

.desk-cover-inner {
  padding: 4rem 0 3.8rem;
}

.tape-label {
  color: var(--readout);
  font: 700 .73rem/1.5 var(--label);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tape-label i {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--lamp);
  border-radius: 50%;
  box-shadow: 0 0 18px #f8af618f;
  margin-right: .45rem;
}

.desk-cover h1 {
  font-size: clamp(4.25rem,9.2vw,9.2rem);
  margin: .34em 0 .17em;
  text-wrap: balance;
}

.desk-deck {
  max-width: 33ch;
  color: #fff5df;
  font-size: clamp(1.02rem,2.3vw,1.28rem);
}

.plain-jump {
  margin-top: 1.15rem;
  display: inline-block;
  padding-bottom: .3rem;
  color: var(--lamp);
  border-bottom: 1px solid var(--lamp);
}

.listening-desk {
  display: grid;
  grid-template-columns: minmax(16rem,1fr) 1.35fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 2.3rem;
  border-bottom: 1px solid var(--edge);
  scroll-margin-top: 1rem;
}

.listen-label h2 {
  font-size: clamp(1.9rem,4vw,3.2rem);
  margin: .17em 0;
}

.listen-label>p:last-child,.floor-copy>p:not(.tape-label),.notes-run p,.book-slab p:not(.tape-label) {
  color: var(--quiet);
}

.audio-rack {
  background: var(--panel);
  border: 1px solid var(--edge);
  padding: 1rem;
}

.take-group,.transport {
  display: flex;
  align-items: center;
  gap: .82rem;
}

.take-group button {
  background: transparent;
  color: var(--quiet);
  border: 1px solid var(--edge);
  padding: .57rem .7rem;
  white-space: nowrap;
}

.take-group button b {
  margin-right: .4rem;
  color: var(--lamp);
}

.take-group button[aria-pressed=true] {
  background: #443727;
  color: var(--paper);
  border-color: var(--lamp);
}

.transport {
  margin-top: .85rem;
}

.transport-button {
  color: var(--shade);
  background: var(--lamp);
  border: 0;
  border-radius: 50%;
  width: 2.45rem;
  min-width: 2.45rem;
  height: 2.45rem;
  line-height: 1;
  font-size: .95rem;
}

.tape-rail {
  flex: 1;
  min-width: 3rem;
  display: grid;
  align-items: center;
  position: relative;
  height: 2rem;
}

.tape-rail img,.tape-rail input {
  height: 100%;
  grid-area: 1/1;
}

.tape-rail img {
  object-fit: fill;
  opacity: .65;
  width: 100%;
}

.tape-rail input {
  z-index: 1;
  width: 100%;
  margin: 0;
  accent-color: var(--lamp);
  cursor: ew-resize;
  opacity: .85;
}

.transport output {
  font: 700 .78rem var(--label);
  min-width: 3ch;
  color: var(--lamp);
}

.rack-status {
  font: .75rem/1.4 var(--label);
  color: var(--readout);
  margin-top: .5rem;
}

.floor-feature {
  margin-top: clamp(3rem,10vw,9rem);
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(1.5rem,6vw,6.25rem);
  align-items: center;
}

.floor-feature figure {
  overflow: hidden;
}

.floor-feature img {
  aspect-ratio: 1.52;
  height: auto;
  clip-path: inset(0 calc(var(--shutter,0)*1%) 0 0);
}

.floor-feature figcaption {
  font: .67rem/1.5 var(--label);
  margin-top: .7rem;
  letter-spacing: .11em;
  color: var(--quiet);
  text-transform: uppercase;
}

.floor-copy h2,.work-menu h2,.book-slab h2 {
  font-size: clamp(2.4rem,5.15vw,5.3rem);
  margin: .28em 0;
}

.floor-copy a,.notes-run a {
  display: inline-block;
  color: var(--readout);
  margin-top: 1.15rem;
  text-underline-offset: 4px;
}

.work-menu {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(1.5rem,6vw,6.25rem);
  margin-top: clamp(3rem,10vw,9rem);
  align-items: start;
}

.work-lines {
  border-top: 1px solid var(--edge);
}

.work-lines a {
  display: grid;
  grid-template-columns: minmax(7ch,1fr) 2fr 1rem;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--edge);
  text-decoration: none;
  color: var(--quiet);
}

.work-lines a b {
  color: var(--paper);
  font: 500 1.6rem var(--serif);
}

.work-lines a:hover b,.work-lines a:hover span:last-child,.arrival-line a:hover {
  color: var(--lamp);
}

.book-slab {
  margin-top: clamp(3rem,9vw,8rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem,6vw,5rem);
  background: #292720;
  border: 1px solid #4f4939;
}

.book-slab .email-tab {
  white-space: nowrap;
}

.notes-run {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  margin-top: 4.75rem;
}

.notes-run article {
  border-top: 1px solid var(--edge);
  padding-top: 1.2rem;
}

.notes-run h2 {
  font-size: 1.9rem;
  margin-bottom: .5rem;
}

.arrival-line {
  margin-block: 4.5rem 5rem;
  border-top: 1px solid var(--edge);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.3rem;
  color: var(--quiet);
}

.arrival-line h2 {
  font-size: 1.75rem;
  color: var(--paper);
}

.arrival-line a {
  color: var(--readout);
}

.desk-base {
  background: #20231c;
  border-top: 1px solid #42463a;
  padding: 2.8rem 0;
}

.base-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.4rem;
}

.base-grid a {
  display: block;
  text-decoration: none;
}

.base-grid p {
  margin-top: .8rem;
}

.base-grid nav a {
  margin-bottom: .5rem;
  color: var(--quiet);
}

.base-grid a:hover {
  color: var(--lamp);
}

.inside-page {
  padding: 3.75rem 0 5.8rem;
}

.inside-page h1 {
  font-size: clamp(3rem,7vw,6rem);
  margin: .28em 0;
}

.inside-lead {
  max-width: 52ch;
  color: var(--quiet);
  font-size: 1.2rem;
}

.page-photo {
  max-height: 470px;
  aspect-ratio: 2.55;
  margin: 2.6rem 0;
}

.desk-notes {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.9rem;
  margin-top: 2.5rem;
}

.desk-notes section {
  border-top: 1px solid var(--edge);
  padding-top: 1.1rem;
}

.desk-notes h2 {
  font-size: 2rem;
  margin-bottom: .55rem;
}

.desk-notes p {
  color: var(--quiet);
  max-width: 52ch;
}

.page-actions,.inside-back {
  margin-top: 2.6rem;
  color: var(--readout);
}

@media(max-width:780px) {
  .desk-nav {
    gap: .85rem;
    height: auto;
    min-height: 72px;
    padding: .8rem 0;
    justify-content: space-between;
  }
  .desk-nav nav {
    gap: .75rem;
    margin-left: 0;
  }
  .desk-nav nav a {
    font-size: .69rem;
  }
  .desk-nav .email-tab {
    padding: .6rem .51rem;
    gap: .2rem;
  }
  .desk-cover-inner {
    padding-bottom: 2rem;
  }
  .desk-cover h1 {
    font-size: clamp(3.6rem,12vw,6rem);
  }
  .desk-cover {
    min-height: 490px;
  }
  .desk-cover-shade {
    background: linear-gradient(0deg,#11130fe5 15%,#11130f4c 80%);
  }
  .listening-desk,.floor-feature,.work-menu {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .notes-run,.desk-notes {
    grid-template-columns: 1fr;
  }
  .book-slab,.arrival-line {
    align-items: flex-start;
    flex-direction: column;
  }
  .base-grid {
    grid-template-columns: 1fr 1fr;
  }
  .base-grid>div:first-child {
    grid-column: 1/-1;
  }
  .page-photo {
    aspect-ratio: 1.5;
  }
  .desk-deck {
    max-width: 26ch;
  }
}

@media(max-width:450px) {
  .desk-nav nav a:nth-child(n+2) {
    display: none;
  }
  .desk-cover {
    min-height: 430px;
  }
  .work-lines a {
    grid-template-columns: 1fr 1rem;
  }
  .work-lines a span:nth-child(2) {
    grid-row: 2;
  }
  .work-lines a span:last-child {
    grid-column: 2;
    grid-row: 1;
  }
  .listen-label>p:last-child {
    font-size: .94rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto!important;
    transition: none!important;
  }
  .floor-feature img {
    clip-path: none;
  }
}
