@font-face {
  font-family: "Pixelify Sans";
  src: url("/assets/fonts/pixelify-sans-cyrillic-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+20B4, U+2116, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Pixelify Sans";
  src: url("/assets/fonts/pixelify-sans-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-cyrillic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+20B4, U+2116, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-cyrillic-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-052F, U+1C80-1C8A, U+20B4, U+2116, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #111311;
  --panel: #1b1f1d;
  --steel: #49514d;
  --steel-light: #727b76;
  --cream: #efe9dc;
  --paper: #d8d0c0;
  --mint: #8cf5c8;
  --amber: #ffbf65;
  --brown: #8a4e31;
  --warning: #ff6b4a;
  --display: "Pixelify Sans", Impact, Haettenschweiler, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --pad: clamp(1rem, 3vw, 3rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--cream);
  font-family: var(--mono);
  background:
    radial-gradient(circle at 80% 12%, rgba(140, 245, 200, .07), transparent 24rem),
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 34px 34px, 34px 34px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
}

body.alert-mode { --mint: #ffbf65; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--mint); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--mint);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.screen-noise {
  position: fixed;
  inset: 0;
  z-index: 49;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.section-shell {
  width: min(1440px, calc(100% - 1.25rem));
  margin-inline: auto;
}

.masthead {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  min-height: 3.75rem;
  padding: .7rem max(.75rem, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .4rem 1rem;
  border-bottom: 1px solid var(--steel);
  background: rgba(17, 19, 17, .92);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  width: max-content;
  gap: .65rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .08em;
}

.brand-mark {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--mint);
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px var(--mint);
}

.live-status {
  justify-self: end;
  color: var(--mint);
  font-size: .66rem;
  letter-spacing: .08em;
}

.status-dot {
  display: inline-block;
  width: .48rem;
  height: .48rem;
  margin-right: .45rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 .2rem rgba(140, 245, 200, .12), 0 0 .8rem var(--mint);
  animation: pulse 1.6s steps(2, end) infinite;
}

.masthead nav {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.25rem;
  padding-top: .45rem;
  border-top: 1px solid rgba(239, 233, 220, .1);
}

.masthead nav a {
  color: var(--paper);
  font-size: .65rem;
  text-decoration: none;
  text-transform: uppercase;
}

.masthead nav a::before { content: "/"; margin-right: .28rem; color: var(--steel-light); }
.masthead nav a:hover,
.masthead nav a:focus-visible { color: var(--mint); }

main { padding-top: 6.2rem; }

.hero {
  min-height: calc(100svh - 6.2rem);
  display: grid;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 4rem) var(--pad);
  overflow: hidden;
  border: 1px solid var(--steel);
  background:
    linear-gradient(135deg, transparent 0 49.7%, rgba(140, 245, 200, .05) 49.8% 50.2%, transparent 50.3%),
    rgba(27, 31, 29, .76);
}

.eyebrow,
.section-index {
  margin: 0 0 1rem;
  color: var(--mint);
  font-size: clamp(.6rem, 1.3vw, .76rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1rem;
}

.hero h1,
section h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.35rem, 12vw, 9.6rem);
  line-height: .82;
  text-shadow: .045em .045em 0 rgba(0, 0, 0, .45);
}

.hero h1 span { color: var(--paper); font-size: .45em; letter-spacing: .08em; }
.hero h1 em { color: var(--mint); font-style: normal; }

.terminal-log {
  max-width: 48rem;
  margin: 1.5rem 0;
  padding: .8rem 1rem;
  color: var(--paper);
  font-size: clamp(.67rem, 1.6vw, .82rem);
  line-height: 1.75;
  border-left: 2px solid var(--mint);
  background: rgba(0, 0, 0, .22);
}

.terminal-log p { margin: 0; }
.terminal-log span { margin-right: .7rem; color: var(--steel-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.button {
  position: relative;
  min-height: 3rem;
  padding: .78rem 1.05rem;
  border: 1px solid var(--cream);
  border-radius: 0;
  color: var(--cream);
  background: transparent;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .35);
}

.button::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(239, 233, 220, .18);
  pointer-events: none;
}

.button:hover,
.button:focus-visible {
  color: var(--ink);
  background: var(--cream);
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.button:active { transform: translate(3px, 3px); }
.button--primary { color: var(--ink); border-color: var(--mint); background: var(--mint); }
.button--warning { border-color: var(--amber); color: var(--amber); }
.hero-response { min-height: 1.3em; margin: 1rem 0 0; color: var(--steel-light); font-size: .68rem; text-transform: uppercase; }

.mascot-station {
  position: relative;
  min-height: 25rem;
  display: grid;
  place-items: center;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(239, 233, 220, .22);
  background:
    radial-gradient(circle, rgba(140, 245, 200, .12) 0 1px, transparent 2px) 0 0 / 18px 18px,
    radial-gradient(circle at 50% 55%, rgba(140, 245, 200, .12), transparent 45%),
    rgba(0, 0, 0, .17);
}

.mascot-station::before,
.mascot-station::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(75vw, 31rem);
  aspect-ratio: 1;
  border: 1px solid rgba(140, 245, 200, .22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.mascot-station::after { width: min(55vw, 23rem); border-style: dashed; animation: spin 36s linear infinite; }
.station-corners { position: absolute; inset: .65rem; width: 2rem; height: 2rem; border: solid var(--mint); border-width: 1px 0 0 1px; }
.station-label { position: absolute; z-index: 2; top: .75rem; left: 1rem; margin: 0; color: var(--steel-light); font-size: .62rem; letter-spacing: .1em; }

.mascot {
  position: relative;
  z-index: 2;
  width: min(88%, 34rem);
  filter: drop-shadow(0 1rem 1.2rem rgba(0, 0, 0, .55));
  animation: breathe 4s ease-in-out infinite;
  transform-origin: 50% 86%;
}

.mascot.is-petted { animation: pet .55s steps(4, end); }
.mascot.is-woken { animation: wake .45s steps(3, end) 3; filter: drop-shadow(0 0 1rem var(--warning)); }
.mascot-orbit span { position: absolute; z-index: 3; padding: .25rem .4rem; color: var(--mint); background: var(--ink); border: 1px solid var(--steel); font-size: .54rem; }
.mascot-orbit span:nth-child(1) { top: 22%; right: 7%; }
.mascot-orbit span:nth-child(2) { bottom: 24%; left: 4%; }
.mascot-orbit span:nth-child(3) { right: 6%; bottom: 10%; color: var(--amber); }
.station-meter { position: absolute; left: 1rem; right: 1rem; bottom: 2.5rem; height: .35rem; border: 1px solid var(--steel); }
.station-meter span { display: block; width: 88%; height: 100%; background: repeating-linear-gradient(90deg, var(--mint) 0 10px, transparent 10px 13px); }
.station-foot { position: absolute; inset: auto 1rem .65rem; display: flex; justify-content: space-between; margin: 0; color: var(--steel-light); font-size: .55rem; }
.station-foot span:first-child { color: var(--warning); }

.stats { display: grid; margin-top: .6rem; border: 1px solid var(--steel); background: var(--panel); }
.stats div { min-height: 7rem; padding: 1rem; display: grid; align-content: center; border-bottom: 1px solid var(--steel); }
.stats div:last-child { border-bottom: 0; }
.stats span,
.stats i { font-size: .58rem; text-transform: uppercase; }
.stats span { color: var(--steel-light); letter-spacing: .1em; }
.stats strong { margin: .45rem 0; font-size: clamp(1rem, 3vw, 1.4rem); }
.stats i { color: var(--mint); font-style: normal; }
.stats .stat-alert i { color: var(--warning); }

.poetry,
.archive,
.observations,
.feed { margin-top: clamp(4rem, 10vw, 10rem); }

.section-index { display: flex; align-items: center; gap: .7rem; color: var(--steel-light); }
.section-index::before { content: ""; width: 2rem; height: 1px; background: var(--steel-light); }
.poetry-console { border: 1px solid var(--steel-light); box-shadow: .6rem .6rem 0 rgba(73, 81, 77, .28); background: var(--panel); }
.console-bar { min-height: 2.2rem; padding: .55rem .75rem; display: flex; justify-content: space-between; align-items: center; color: var(--ink); background: var(--paper); font-size: .62rem; font-weight: 900; }
.console-lights { display: flex; gap: .35rem; }
.console-lights i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--brown); }
.console-lights i:nth-child(2) { background: var(--amber); }
.console-lights i:nth-child(3) { background: var(--steel); }
.poetry-grid { padding: clamp(1.25rem, 5vw, 4rem); }
.poetry h2,
.archive h2,
.observations h2,
.feed h2 { margin: 0; font-size: clamp(2.8rem, 8vw, 7.5rem); line-height: .88; }
.poem-output { margin-top: 2rem; padding: 1.25rem 0 0; border-top: 1px solid var(--steel); }
.poem-number { color: var(--amber); font-size: .6rem; }
blockquote { min-height: 5em; margin: 1.4rem 0; font-family: var(--mono); font-size: clamp(1.45rem, 4vw, 2.7rem); font-style: normal; line-height: 1.22; }
blockquote.is-glitch { animation: glitch .28s steps(2, end); }
.text-button { padding: .5rem 0; border: 0; border-bottom: 1px solid; color: var(--mint); background: transparent; font-size: .68rem; font-weight: 900; cursor: pointer; }
.text-button:hover,
.text-button:focus-visible { color: var(--amber); outline: 1px dashed; outline-offset: .35rem; }

.archive-heading { display: grid; gap: 1.2rem; margin-bottom: 2rem; }
.archive h2 span,
.feed h2 span { color: var(--mint); }
.archive-note { max-width: 38ch; margin: 0; align-self: end; color: var(--steel-light); font-size: .72rem; line-height: 1.65; }
.photo-grid { display: grid; gap: 1.2rem; }
.photo-state { margin: 0; }
.photo-frame { position: relative; overflow: hidden; border: 1px solid var(--steel); background: var(--panel); }
.photo-frame::before { content: ""; position: absolute; z-index: 2; inset: .45rem; border: 1px solid rgba(239, 233, 220, .24); pointer-events: none; }
.photo-frame::after { content: "● REC"; position: absolute; z-index: 3; top: .8rem; right: .9rem; color: var(--warning); font-size: .55rem; text-shadow: 0 1px 2px #000; }
.photo-state img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.05); transition: filter .35s, transform .7s; }
.photo-state:hover img { filter: saturate(1); transform: scale(1.025); }
.photo-state figcaption { padding: .75rem .1rem 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem .75rem; }
.photo-state figcaption span,
.photo-state figcaption i { color: var(--steel-light); font-size: .56rem; font-style: normal; text-transform: uppercase; }
.photo-state figcaption strong { justify-self: end; font-size: .75rem; text-transform: uppercase; }
.photo-state figcaption i { grid-column: 1 / -1; color: var(--mint); }
.state-01 .photo-frame,
.state-02 .photo-frame,
.state-03 .photo-frame,
.state-04 .photo-frame,
.state-05 .photo-frame,
.state-06 .photo-frame { aspect-ratio: 3 / 4; }
.state-07 .photo-frame { aspect-ratio: 4 / 3; }

.observation-panel { display: grid; border: 1px solid var(--steel); background: var(--panel); }
.sprite-window { position: relative; padding: 1rem; display: grid; align-content: center; overflow: hidden; background: linear-gradient(rgba(140, 245, 200, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 245, 200, .05) 1px, transparent 1px), #0d100f; background-size: 22px 22px; }
.sprite-window img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 .8rem .8rem rgba(0, 0, 0, .5)); }
.sprite-window > span { position: absolute; z-index: 2; left: 1rem; bottom: .8rem; color: var(--mint); font-size: .55rem; }
.crosshair { position: absolute; inset: 50% auto auto 50%; width: 12rem; aspect-ratio: 1; border: 1px solid rgba(140, 245, 200, .25); border-radius: 50%; transform: translate(-50%, -50%); }
.crosshair::before,
.crosshair::after { content: ""; position: absolute; background: rgba(140, 245, 200, .25); }
.crosshair::before { width: 1px; height: 160%; left: 50%; top: -30%; }
.crosshair::after { height: 1px; width: 160%; top: 50%; left: -30%; }
.observation-copy { padding: clamp(1.5rem, 5vw, 4rem); border-top: 1px solid var(--steel); }
.observations h2 { font-size: clamp(2.7rem, 6vw, 6rem); }
.observations h2 em { color: var(--amber); font-style: normal; }
.observation-copy ul { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--steel); }
.observation-copy li { padding: .8rem 0; display: grid; grid-template-columns: 2.3rem 1fr; border-bottom: 1px solid var(--steel); color: var(--paper); font-size: .72rem; }
.observation-copy li span { color: var(--mint); }

.feed { min-height: 34rem; display: grid; overflow: hidden; border: 1px solid var(--steel-light); background: linear-gradient(120deg, var(--paper) 0 48%, var(--cream) 48% 50%, var(--paper) 50%); color: var(--ink); }
.feed-copy { position: relative; z-index: 3; padding: clamp(1.5rem, 5vw, 4rem); }
.feed .section-index { color: var(--steel); }
.feed h2 { font-size: clamp(3rem, 8vw, 8rem); }
.feed h2 span { color: var(--brown); }
#respect-output { max-width: 32rem; margin: 1.5rem 0; padding: .75rem; border: 1px solid; background: rgba(239, 233, 220, .55); font-size: .72rem; text-transform: uppercase; }
.button--feed { min-width: 13rem; color: var(--cream); border-color: var(--ink); background: var(--ink); }
.button--feed span { color: var(--mint); }
.feed-stage { position: relative; min-height: 22rem; overflow: hidden; border-top: 1px solid var(--steel); }
.feed-mascot { position: absolute; z-index: 2; width: min(67vw, 27rem); right: -2rem; bottom: -7rem; filter: drop-shadow(0 .8rem 1rem rgba(17, 19, 17, .35)); transform-origin: 50% 80%; }
.feed-mascot.is-fed { animation: fed .65s cubic-bezier(.2, .9, .3, 1.4); }
.bowl { position: absolute; z-index: 4; left: 8%; bottom: 2rem; width: 10rem; height: 4rem; display: grid; place-items: center; color: var(--cream); border-radius: 15% 15% 50% 50%; background: var(--brown); box-shadow: inset 0 .55rem 0 #5f321f, 0 .55rem 0 rgba(0, 0, 0, .15); }
.bowl span { margin-top: .8rem; font-weight: 900; letter-spacing: .15em; }
.feed-stage > p { position: absolute; top: 1rem; right: 1rem; margin: 0; color: var(--steel); font-size: .58rem; line-height: 1.6; text-align: right; }
.crumb { position: absolute; z-index: 6; width: .6rem; height: .6rem; background: var(--brown); box-shadow: .7rem .35rem 0 var(--amber); animation: crumb .85s forwards; }
.footer { margin: 1rem auto; padding: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; border: 1px solid var(--steel); color: var(--steel-light); font-size: .58rem; line-height: 1.5; text-transform: uppercase; }
.footer p { margin: 0; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(2rem); transition: opacity .65s, transform .65s; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.boot-item { opacity: 0; animation: boot .65s .12s steps(5, end) forwards; }
.boot-item:nth-child(2) { animation-delay: .28s; }

@keyframes boot { 0% { opacity: 0; transform: translateY(.7rem); clip-path: inset(0 0 100% 0); } 100% { opacity: 1; transform: none; clip-path: inset(0); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes breathe { 50% { transform: translateY(-.45rem) scale(1.012); } }
@keyframes pet { 25% { transform: rotate(-2deg) scale(.98, 1.03); } 50% { transform: rotate(2deg) scale(1.03, .97); } 75% { transform: rotate(-1deg); } }
@keyframes wake { 33% { transform: translateX(-.35rem); } 66% { transform: translateX(.35rem); } }
@keyframes glitch { 0% { transform: translateX(-.25rem); text-shadow: .2rem 0 var(--warning); } 50% { transform: translateX(.2rem); text-shadow: -.2rem 0 var(--mint); } }
@keyframes fed { 40% { transform: translateY(-1rem) rotate(-3deg) scale(1.05); } 70% { transform: translateY(.2rem) rotate(2deg); } }
@keyframes crumb { to { opacity: 0; transform: translate(var(--crumb-x), var(--crumb-y)) rotate(180deg); } }

@media (max-width: 599px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: .5rem;
  }

  .brand {
    min-width: 0;
    gap: .4rem;
    font-size: clamp(.78rem, 3.8vw, 1rem);
    white-space: nowrap;
  }

  .brand-mark { flex: 0 0 auto; }

  .live-status {
    min-width: 0;
    font-size: clamp(.52rem, 2.25vw, .64rem);
    letter-spacing: .035em;
    white-space: nowrap;
  }

  .status-dot { margin-right: .3rem; }

  .masthead nav {
    min-width: 0;
    gap: clamp(.45rem, 3vw, 1rem);
  }

  .masthead nav a {
    min-width: 0;
    font-size: clamp(.56rem, 2.5vw, .65rem);
  }

  .hero,
  .hero-copy,
  .hero-copy > *,
  .terminal-log,
  .hero-actions {
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy > .eyebrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: start;
  }

  .hero-copy > .eyebrow span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.15rem, 11vw, 3.1rem);
    line-height: .86;
    letter-spacing: .012em;
    overflow-wrap: anywhere;
  }

  .hero h1 span { letter-spacing: .045em; }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .button,
  .button--feed {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  section h2,
  .terminal-log,
  .hero-response,
  .archive-note,
  .observation-copy li,
  .photo-state figcaption strong {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 600px) {
  .section-shell { width: min(1440px, calc(100% - 2rem)); }
  .masthead { grid-template-columns: 1fr auto auto; }
  .masthead nav { grid-column: 3; grid-row: 1; padding: 0; border: 0; }
  .live-status { grid-column: 2; grid-row: 1; }
  main { padding-top: 4.3rem; }
  .hero { min-height: calc(100svh - 4.3rem); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div { border-right: 1px solid var(--steel); }
  .stats div:nth-child(2n) { border-right: 0; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .state-07 { grid-column: 1 / -1; width: 76%; justify-self: center; }
}

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(25rem, .85fr); }
  .mascot-station { min-height: 100%; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats div { border-bottom: 0; }
  .stats div:last-child { border-right: 0; }
  .poetry-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 5vw; }
  .poem-output { margin: 0; padding: 0 0 0 2rem; border: 0; border-left: 1px solid var(--steel); }
  .archive-heading { grid-template-columns: 1fr auto; }
  .photo-grid { grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: clamp(1rem, 2vw, 2rem); }
  .state-01 { grid-column: 1 / span 5; }
  .state-02 { grid-column: 7 / span 6; margin-top: 8rem; }
  .state-03 { grid-column: 2 / span 4; margin-top: -3rem; }
  .state-04 { grid-column: 7 / span 5; margin-top: 2rem; }
  .state-05 { grid-column: 1 / span 6; margin-top: 5rem; }
  .state-06 { grid-column: 8 / span 5; margin-top: -1rem; }
  .state-07 { grid-column: 3 / span 8; width: auto; margin-top: 5rem; }
  .state-05 .photo-frame { aspect-ratio: 4 / 3; }
  .observation-panel { grid-template-columns: 1.05fr .95fr; }
  .observation-copy { border: 0; border-left: 1px solid var(--steel); }
  .feed { grid-template-columns: 1.1fr .9fr; }
  .feed-stage { min-height: 34rem; border: 0; border-left: 1px solid var(--steel); }
  .feed-mascot { width: min(33vw, 34rem); right: -3rem; bottom: -8rem; }
}

@media (min-width: 1280px) {
  .hero h1 { font-size: clamp(7rem, 8.2vw, 9rem); }
  .mascot { width: min(98%, 40rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .boot-item { opacity: 1; transform: none; clip-path: none; }
}
