@font-face {
  font-family: Satoshi;
  src: url('/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Satoshi;
  src: url('/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  font-family: Satoshi, Arial, sans-serif;
  color: #343b35;
  background: #f4f2ec;
  --muted: #656b62;
  --accent: #5b50c6;
  --line: #dcded3;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
p, h1, h2 { margin: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; background: #fff; padding: 15px; }
.skip-link:focus { top: 15px; }
.page-header, main, .page-footer { width: min(1440px, calc(100% - 80px)); margin-inline: auto; }
.page-header { min-height: 100px; display: flex; align-items: center; gap: 26px; }
.brand { font-size: 38px; font-weight: 700; letter-spacing: -4px; min-width: 48px; min-height: 48px; }
.brand span { color: var(--accent); }
.lab-label, .eyebrow, .scene-index, .scene-bottom, .page-footer { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.lab-label { padding-block: 16px; }
.lab-label span { color: #a1a496; margin-inline: 12px; }
.back-link { margin-left: auto; font-size: 12px; padding-block: 16px; }
.back-link span { margin-left: 15px; }
.courtyard {
  position: relative;
  height: clamp(480px, 63svh, 760px);
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #d7d9ce;
  border-radius: 4px;
  background-color: #e9ebdf;
  background-image: linear-gradient(#b5bba523 1px, transparent 1px), linear-gradient(90deg, #b5bba523 1px, transparent 1px), radial-gradient(ellipse at 30% 0%, #f8f8ec, transparent 80%);
  background-size: 80px 80px, 80px 80px, 100% 100%;
  touch-action: pan-y;
}
.scene-heading { position: absolute; top: 42px; left: 48px; pointer-events: none; z-index: 1; }
.eyebrow { color: var(--muted); line-height: 1.6; }
.live-dot { display: inline-block; width: 6px; height: 6px; background: #647557; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
h1 { margin-top: 26px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(72px, 7.3vw, 114px); font-weight: 400; line-height: .96; letter-spacing: -5px; }
h1 em { color: #67745b; font-weight: 400; }
.intro { margin-top: 25px; color: #5e6956; font-size: 13px; line-height: 1.7; }
.scene-index { position: absolute; top: 44px; right: 40px; color: #727b69; line-height: 1.8; text-align: right; pointer-events: none; }
#pigeon-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-bottom { position: absolute; bottom: 24px; left: 28px; right: 28px; display: flex; justify-content: space-between; gap: 20px; color: #647058; font-size: 8px; pointer-events: none; }
.experience-controls { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 30px; }
.instructions > p:last-child { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.buttons { display: flex; gap: 8px; }
.buttons button { min-height: 48px; border-radius: 5px; }
.feed-button { border: 1px solid #343b35; background: #343b35; color: #fff; padding: 12px 20px; font-size: 12px; }
.feed-button > span { margin-right: 9px; color: #dfd4ad; font-size: 20px; line-height: 12px; vertical-align: -1px; }
.feed-button:hover { background: #4b5547; }
.icon-button { min-width: 48px; min-height: 48px; border: 1px solid #cdd0c3; border-radius: 5px; background: transparent; font-size: 21px; }
.icon-button:hover, .icon-button[aria-pressed='true'] { background: #e4e5db; }
.status { font-size: 11px; color: var(--muted); margin-top: 12px; text-align: right; }
.page-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 78px; color: var(--muted); font-size: 8px; }
.about-button { min-height: 44px; border: 0; background: transparent; font-size: 11px; }
.about-button span { margin-left: 10px; }
.touch-hint { display: none; }
dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100svh - 40px); padding: 45px; background: #f4f2ec; color: #343b35; border: 1px solid #d7d9ce; border-radius: 10px; }
dialog::backdrop { background: #222a246b; backdrop-filter: blur(5px); }
.close-button { float: right; margin: -24px -24px 0 12px; }
dialog h2 { font: 400 42px/1.1 Georgia, serif; letter-spacing: -1.5px; margin: 24px 0; }
dialog p:not(.eyebrow) { font-size: 14px; line-height: 1.8; margin-top: 18px; }
dialog a { text-decoration: underline; text-underline-offset: 3px; }
dialog .credits { color: var(--muted); font-size: 12px; }
.noscript { padding: 20px; }
@media (pointer: coarse) { .touch-hint { display: inline; } .mouse-hint { display: none; } }
@media (max-width: 760px) {
  .page-header, main, .page-footer { width: calc(100% - 36px); }
  .page-header { min-height: 82px; gap: 14px; }
  .brand { font-size: 33px; min-width: 40px; }
  .lab-label { font-size: 8px; letter-spacing: 1px; }
  .lab-label span { margin-inline: 5px; }
  .back-link { font-size: 10px; }
  .back-link span { margin-left: 3px; }
  .courtyard { height: 540px; height: clamp(450px, 68svh, 610px); background-size: 60px 60px, 60px 60px, 100% 100%; }
  .scene-heading { top: 26px; left: 26px; }
  .scene-heading .eyebrow { font-size: 8px; letter-spacing: 1px; }
  h1 { font-size: clamp(60px, 19vw, 76px); letter-spacing: -4px; margin-top: 24px; }
  .intro { font-size: 12px; margin-top: 18px; }
  .scene-index { display: none; }
  .scene-bottom { bottom: 20px; left: 20px; right: 20px; font-size: 7px; letter-spacing: .8px; }
  .scene-bottom > span:first-child { max-width: 155px; }
  .experience-controls { flex-direction: column; align-items: stretch; gap: 22px; padding-block: 25px; }
  .feed-button { flex: 1; }
  .status { text-align: left; }
  .page-footer { font-size: 7px; letter-spacing: 1px; }
  dialog { padding: 32px; }
  .close-button { margin: -16px -16px 0 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

/* The original creature is decorative; pointer events reach the courtyard. */
#pigeon-canvas { pointer-events: none; }
.bird-speech { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; white-space: nowrap; font: 18px/24px Georgia, serif; color: #343b35; }
.feed-button:disabled { opacity: .55; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .courtyard:not([data-paused]) { cursor: none; }
}

.breakfast-table { position: absolute; inset: 0; pointer-events: none; }
.table-object { position: absolute; width: clamp(90px, 12vw, 180px); margin: 0; transform-origin: center; will-change: transform; }
.table-object img { display: block; width: 100%; height: auto; user-select: none; filter: drop-shadow(6px 12px 7px #51412f1b); }
.table-object figcaption { margin-top: 7px; text-align: center; font-size: 7px; font-weight: 700; letter-spacing: 1px; color: #68705c; }
.object-hit { position: absolute; inset: 12% 12% 20%; border-radius: 50%; }
.table-coffee { left: 52%; top: 12%; width: clamp(105px, 14vw, 195px); }
.table-croissant { left: 78%; top: 32%; width: clamp(85px, 11vw, 145px); }
.table-knot { left: 37%; top: 62%; width: clamp(95px, 13vw, 160px); }
.table-bagel { left: 65%; top: 62%; width: clamp(95px, 12vw, 155px); }
@media (max-width: 760px) {
  .courtyard { height: clamp(620px, 87svh, 770px); }
  .scene-heading { top: 24px; }
  .scene-heading h1 { font-size: clamp(53px, 17vw, 70px); }
  .scene-heading .intro { margin-top: 13px; font-size: 11px; }
  .table-object { width: 100px; }
  .table-object figcaption { font-size: 6px; letter-spacing: .5px; }
  .table-coffee { left: 9%; top: 47%; width: 115px; }
  .table-croissant { left: 65%; top: 37%; width: 88px; }
  .table-knot { left: 13%; top: 74%; width: 100px; }
  .table-bagel { left: 61%; top: 70%; width: 100px; }
}
