@font-face {
  font-family: "Geist";
  src: url("fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f5f4f0;
  --card: #ffffff;
  --text: #121212;
  --text-2: #45464a;
  --text-3: #6b6c70;
  --edge: rgb(18 18 18 / 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 "Geist", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #2ff0b8; color: #04392a; }
code, .path, .lb-counter { font-family: "Geist Mono", ui-monospace, monospace; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.page { width: min(1040px, 100% - 40px); margin: 0 auto; padding: 56px 0 40px; }
.path { margin: 0; color: var(--text-3); font-size: 13px; }
h1 { margin: 6px 0 0; font-size: 56px; font-weight: 650; line-height: 1; letter-spacing: -0.05em; }
.lede { max-width: 62ch; margin: 16px 0 0; color: var(--text-2); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.snippet { display: inline-flex; margin-top: 20px; padding: 10px 16px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--edge); font-size: 14px; }

.group { margin-top: 64px; }
h2 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -0.03em; }
.sub { max-width: 66ch; margin: 6px 0 20px; color: var(--text-2); text-wrap: pretty; }

/* Thumbnails: white prints with a soft lift, so they read as things to pick up. */
.tile,
.shot,
.avatar {
  display: block;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--edge), 0 1px 2px rgb(0 0 0 / 0.04), 0 14px 28px -20px rgb(0 0 0 / 0.4);
  cursor: zoom-in;
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 220ms ease;
}
.tile img,
.shot img,
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  .tile:hover,
  .shot:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--edge), 0 4px 8px rgb(0 0 0 / 0.05), 0 22px 38px -22px rgb(0 0 0 / 0.5); }
}
.tile:active,
.shot:active,
.avatar:active { transform: scale(0.98); }

.art { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 12px; }
.tile { border-radius: 14px; }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }

.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shot { aspect-ratio: 16 / 10; border-radius: 16px; }
.shot img { object-position: top center; }
.shot.banner { grid-column: span 2; aspect-ratio: 32 / 9; }
.shot.banner img { object-position: 50% 40%; }

.alone { display: flex; align-items: center; gap: 24px; max-width: 640px; }
.avatar { flex: none; width: 120px; height: 120px; border-radius: 999px; }
.alone p { margin: 0; color: var(--text-2); }

.keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin: 18px 0 0; }
.keys div { padding: 14px 16px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--edge); }
.keys dt { font-weight: 600; }
.keys dd { margin: 2px 0 0; color: var(--text-2); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--edge); color: var(--text-3); font-size: 13px; }
.foot p { margin: 0; }

@media (max-width: 640px) {
  .page { width: min(1040px, 100% - 32px); padding-top: 32px; }
  h1 { font-size: 44px; }
  .lede { font-size: 16px; }
  .art { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .screens { grid-template-columns: 1fr; }
  .shot.banner { grid-column: auto; }
  .alone { flex-direction: column; align-items: flex-start; }
}
