:root {
  --wall: #f2f0eb;
  --wall-2: #e9e6df;
  --ink: #17171a;
  --muted: #5d5d66;
  --line: #d8d4ca;
  --orange: #ff8700;
  --orange-ink: #b85e00;
  --plate: #ffffff;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 40px rgba(30,20,0,.12);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --period: Verdana, Geneva, Tahoma, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wall: #141416; --wall-2: #1b1b1e; --ink: #efede8; --muted: #a2a1a8;
    --line: #2e2e33; --orange-ink: #ffa63d;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --wall: #141416; --wall-2: #1b1b1e; --ink: #efede8; --muted: #a2a1a8;
  --line: #2e2e33; --orange-ink: #ffa63d;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px rgba(0,0,0,.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wall); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--wall); padding: 8px 12px; z-index: 9; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { font-family: var(--mono); font-size: 15px; text-decoration: none; letter-spacing: -.01em; }
.brand b { color: var(--orange-ink); font-weight: 600; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover, .top nav a:focus-visible { color: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 56px 0 96px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.03; letter-spacing: -.03em; margin: 0 0 24px; font-weight: 700; }
h1 em { font-style: normal; color: var(--orange-ink); }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 32px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.btn.solid { background: var(--ink); color: var(--wall); }
.btn:hover, .btn:focus-visible { background: var(--orange); border-color: var(--orange); color: #17171a; }

/* the plate: a white mat the marks hang on */
.plate-wrap { justify-self: center; width: min(100%, 420px); }
.plate { position: relative; aspect-ratio: 1; background: var(--plate); box-shadow: var(--shadow); padding: 9%; outline: 1px solid var(--line); outline-offset: 10px; }
.plate img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity 900ms ease, transform 900ms ease; }
.plate img.on { opacity: 1; transform: none; }
.plate canvas { display: none; position: absolute; inset: 9%; width: 82%; height: 82%; }
.plate.morph canvas { display: block; }
.plate.morph img { display: none; }
.no-js .plate { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.no-js .plate img { position: static; opacity: 1; transform: none; width: 100%; height: auto; }
.label { margin: 30px 0 0 10px; font-family: var(--period); font-size: 12px; line-height: 1.5; color: var(--ink); max-width: 340px; min-height: 5.2em; }
.label strong { display: block; font-size: 13px; }
.label span { color: var(--muted); }
.ticks { display: flex; gap: 8px; margin: 14px 0 0 10px; padding: 0; list-style: none; }
.ticks button { font: 12px var(--mono); color: var(--muted); background: none; border: 0; border-top: 2px solid var(--line); padding: 8px 12px 0 0; cursor: pointer; }
.ticks button[aria-current="true"] { color: var(--ink); border-top-color: var(--orange); }
.no-js .ticks, .no-js .label { display: none; }

/* sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; }
.sub { color: var(--muted); margin: 0 0 44px; }

/* rooms */
.rooms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 32px; }
.room { display: flex; flex-direction: column; gap: 16px; }
.room h3 { margin: 0; font-size: 22px; letter-spacing: -.01em; display: flex; align-items: center; gap: 12px; }
.room h3 img { width: 34px; height: 34px; background: #fff; padding: 3px; outline: 1px solid var(--line); }
.room h3 small { font: 12px var(--mono); color: var(--muted); font-weight: 400; margin-left: auto; }

figure.shown { margin: 0; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.pill { display: inline-block; font: 12px var(--mono); padding: 1px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.pill.go { border-color: var(--orange); color: var(--orange-ink); }
a.pill { text-decoration: none; }
a.pill:hover, a.pill:focus-visible { background: var(--orange); color: #17171a; }

/* the doors: one tile per release, as wide as the others */
.tiles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tile { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; row-gap: 16px; height: 100%;
  padding: 20px 20px 18px; background: var(--plate); border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile img { width: 44px; height: 44px; background: #fff; padding: 3px; outline: 1px solid var(--line); }
.tile b { font-size: 22px; letter-spacing: -.01em; line-height: 1.1; }
.tile .meta { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--muted); }
.tile .go { color: var(--orange-ink); }
.tile:hover, .tile:focus-visible { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile { background: var(--wall-2); } }
:root[data-theme="dark"] .tile { background: var(--wall-2); }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } .tile:hover, .tile:focus-visible { transform: none; } }
pre { background: var(--wall-2); border: 1px solid var(--line); padding: 16px 18px; overflow-x: auto; font: 14px/1.6 var(--mono); margin: 0 0 20px; }
.warn { border-left: 3px solid var(--orange); padding: 4px 0 4px 16px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 40px 0 64px; color: var(--muted); font-size: 14px; }
footer p { margin: 0 0 10px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 24px 0 64px; }
  .tiles { grid-template-columns: 1fr; gap: 10px; }
  .tile { grid-template-columns: auto auto 1fr; padding: 12px 16px; }
  .tile img { width: 36px; height: 36px; }
  .tile b { font-size: 19px; }
  .tile .meta { grid-column: auto; justify-self: end; align-self: center; gap: 16px; }
  .top nav a:not(:last-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plate img { transition: none; }
}

/* Icons beside the words of the navigation links and pills. They take the text's colour. */
.ico { width: 1.1em; height: 1.1em; vertical-align: -0.2em; margin-right: .4em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.fill { fill: currentColor; stroke: none; }
.top nav a { white-space: nowrap; }
