:root {
  --plastic: #efe1bd;
  --paper: #fff4d8;
  --paper-dark: #e5d0a5;
  --mustard: #d4a64d;
  --blue: #526e82;
  --green: #58a45d;
  --red: #b63d31;
  --gray: #747770;
  --ink: #211b12;
  --shadow: 7px 7px 0 var(--ink);
  --nod-speed: 2s;
  --switch-speed: 2.5s;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(33, 27, 18, .055) 1px, transparent 1px),
    linear-gradient(rgba(33, 27, 18, .055) 1px, transparent 1px),
    #cfaa63;
  background-size: 27px 27px;
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .2;
  background:
    radial-gradient(rgba(33, 27, 18, .32) .7px, transparent .8px),
    linear-gradient(rgba(255,255,255,.18), rgba(0,0,0,.04));
  background-size: 7px 7px, 100% 4px;
  mix-blend-mode: multiply;
}

button,
textarea,
select,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
dl,
blockquote { margin-top: 0; }

h1,
h2 {
  margin-bottom: 18px;
  font-weight: 1000;
  line-height: .88;
  letter-spacing: 0;
}

h1 { font-size: clamp(5rem, 17vw, 15rem); }
h2 { font-size: clamp(2.6rem, 8vw, 8rem); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(14px, 4vw, 42px);
  border-bottom: 5px solid var(--ink);
  background: rgba(255, 244, 216, .96);
  box-shadow: 0 5px 0 rgba(33, 27, 18, .18);
  overflow-x: auto;
  overflow-y: hidden;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.site-brand img {
  width: 46px;
  height: 46px;
  border: 4px solid var(--ink);
  border-radius: 4px;
  background: var(--mustard);
  object-fit: cover;
  object-position: 52% 36%;
}

.site-header nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px 12px;
  margin-left: auto;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-header nav a {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.header-cta {
  width: 74px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  padding: 6px;
  border: 4px solid var(--ink);
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.header-cta.say-yes-link {
  background: var(--paper);
}

.screen-noise {
  position: fixed;
  inset: 0;
  z-index: 49;
  pointer-events: none;
  opacity: .05;
  background: repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 3px);
  animation: monitorJitter 7s steps(2, end) infinite;
}

.idle-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  width: min(92vw, 520px);
  padding: 13px 16px;
  border: 4px solid var(--ink);
  background: var(--green);
  box-shadow: var(--shadow);
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
  text-align: center;
  transform: translate(-50%, 160%);
  transition: transform .25s ease;
}

.idle-toast.visible { transform: translate(-50%, 0); }

section {
  position: relative;
  padding: clamp(52px, 7vw, 96px) clamp(15px, 5vw, 72px);
  border-bottom: 5px solid var(--ink);
  scroll-margin-top: 92px;
}

.section-kicker,
.tiny-label,
.subcopy,
.system-strip,
.machine-readout,
.machine-button,
.memo-feed,
.worlds,
.calibration,
.paper-form,
.manual,
.meme-machine,
.modal-window,
.tag-plate,
.final-scene footer {
  font-family: "Courier New", Courier, monospace;
}

.section-kicker,
.tiny-label {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.subcopy {
  margin-bottom: 28px;
  font-weight: 900;
}

.approval-terminal {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  background:
    linear-gradient(120deg, rgba(255,255,255,.18), transparent 44%),
    var(--mustard);
}

.terminal-shell {
  width: min(1360px, 100%);
  border: 6px solid var(--ink);
  background: var(--plastic);
  box-shadow: 12px 12px 0 rgba(33, 27, 18, .9);
  overflow: hidden;
}

.system-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 14px;
  border-bottom: 5px solid var(--ink);
  background: var(--blue);
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
}

.status-dot,
.green-light {
  width: 16px;
  height: 16px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(88, 164, 93, .25);
  animation: blink 1.4s steps(2, end) infinite;
}

.hero-grid {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(18px, 4vw, 46px);
}

.hero-copy {
  min-width: 0;
  overflow: hidden;
}

.hero-copy h1 {
  font-size: clamp(4.4rem, 10vw, 9.8rem);
  max-width: 100%;
}

.hero-line {
  margin-bottom: 7px;
  font-size: clamp(2rem, 5.3vw, 4.8rem);
  font-weight: 1000;
  line-height: .9;
}

.world-line {
  display: inline-block;
  margin: 12px 0 24px;
  padding: 7px 10px;
  border: 4px solid var(--ink);
  background: var(--paper);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 900;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.approval-terminal .button-row {
  justify-content: center;
}

.tag-plate .button-row {
  justify-content: center;
}

.machine-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 4px solid var(--ink);
  border-radius: 4px;
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.machine-button:hover:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
  background: #fffaf0;
}

.machine-button:active:not(:disabled) {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--ink);
}

.machine-button.primary { background: var(--green); }
.machine-button.buy-button { background: #e2b857; }
.machine-button:disabled { opacity: .62; cursor: not-allowed; }

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(22px, 4vw, 34px);
  text-align: center;
}

.section-actions .machine-button {
  min-width: min(100%, 168px);
}

.no-button.evade-one { transform: translateX(28px) rotate(-3deg); }
.no-button.evade-two { transform: translateY(16px) translateX(-14px) rotate(4deg); }
.no-button.removed { visibility: hidden; }

.machine-readout {
  margin-top: 18px;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 4px inset #8d8066;
  background: #201d19;
  color: #95d987;
  font-weight: 900;
  text-transform: uppercase;
}

.yesbot-figure {
  position: relative;
  margin: 0;
  justify-self: center;
}

.yesbot-figure img {
  width: min(100%, 500px);
  filter: drop-shadow(15px 18px 0 rgba(33, 27, 18, .22));
  transform-origin: 53% 38%;
}

.hero-bot {
  width: min(100%, 520px);
  padding: clamp(10px, 2vw, 18px);
  border: 5px solid var(--ink);
  background: var(--mustard);
  box-shadow: 9px 9px 0 rgba(33, 27, 18, .22);
}

.hero-bot img {
  margin: 0 auto;
  max-height: min(58vh, 590px);
  object-fit: contain;
}

.hero-bot img { animation: yesNod var(--nod-speed) cubic-bezier(.2, 1.7, .48, 1) infinite; }

.hero-bot::after {
  content: "";
  position: absolute;
  left: 42%;
  top: 52%;
  z-index: -1;
  width: 16%;
  height: 9%;
  border-radius: 50%;
  background: rgba(33,27,18,.22);
  filter: blur(10px);
}

.head-click {
  position: absolute;
  left: 22%;
  top: 7%;
  z-index: 4;
  width: 57%;
  height: 42%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-bot figcaption {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 5%, 34px);
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 88vw;
  padding: 8px 10px;
  border: 3px solid var(--ink);
  background: var(--paper);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 900;
  transform: translateX(-50%) rotate(-1deg);
}

.global-stamp {
  position: fixed;
  left: 50%;
  top: 36%;
  z-index: 90;
  padding: .12em .22em;
  border: .12em solid var(--green);
  color: var(--green);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(4rem, 15vw, 13rem);
  letter-spacing: 0;
  line-height: .85;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-13deg) scale(1.8);
}

.global-stamp.slam {
  animation: stampSlam .58s cubic-bezier(.2, 1.45, .38, 1) forwards;
}

.memo-printer {
  background:
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(33,27,18,.07) 35px 37px),
    var(--paper);
}

.memo-feed {
  display: grid;
  gap: 18px;
  max-width: 1120px;
}

.memo {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 122px;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border-top: 2px dashed rgba(33,27,18,.55);
  border-bottom: 2px dashed rgba(33,27,18,.55);
  background: rgba(255, 250, 236, .72);
}

.memo img {
  width: 84px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--ink);
  background: var(--mustard);
  animation: yesNod 2.4s ease-in-out infinite;
}

.memo blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.06;
}

.memo em {
  display: block;
  margin-top: 9px;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.memo .stamp {
  justify-self: end;
  border: 5px solid var(--green);
  color: var(--green);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.55rem;
  line-height: .9;
  padding: 7px;
}

.worlds {
  background: #7890a1;
  overflow: hidden;
}

.world-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(275px, 32vw);
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 20px;
  scroll-snap-type: x mandatory;
}

.world-track article {
  min-height: 470px;
  position: relative;
  scroll-snap-align: start;
  padding: 16px;
  border: 5px solid var(--ink);
  background:
    linear-gradient(0deg, rgba(255,255,255,.15), transparent 60%),
    var(--paper-dark);
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
}

.world-track article:nth-child(2) { background-color: #d7b45f; }
.world-track article:nth-child(3) { background-color: #d6dbd4; }
.world-track article:nth-child(4) { background-color: #b8c3cd; }
.world-track article:nth-child(5) { background-color: #d0c2a2; }

.world-track span,
.world-track strong,
.world-track em {
  display: block;
  position: relative;
  z-index: 2;
}

.world-track span {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
}

.world-track strong {
  font-size: 1.8rem;
}

.world-track p {
  position: relative;
  z-index: 2;
  margin: 18px 0;
  font-size: 1.1rem;
  font-weight: 900;
}

.world-track img {
  position: absolute;
  right: -40px;
  bottom: 52px;
  width: 270px;
  animation: yesNod 2.1s ease-in-out infinite;
}

.world-track em {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px;
  border: 3px solid var(--ink);
  background: var(--green);
  font-style: normal;
  font-weight: 900;
}

.opinion-update {
  background: var(--plastic);
}

.status-banner,
.memory-complete {
  max-width: 1100px;
  padding: 12px;
  border: 4px solid var(--ink);
  background: var(--blue);
  color: var(--paper);
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
}

.position-rig {
  display: grid;
  gap: 18px;
  align-items: center;
  margin: 28px 0 18px;
}

.position-rig article {
  min-height: 235px;
  padding: 16px;
  border: 4px solid var(--ink);
  background: var(--paper);
}

.position-rig span {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: 900;
}

.position-rig p {
  margin: 25px 0;
  font-size: clamp(1.5rem, 4vw, 3.1rem);
  font-weight: 1000;
  line-height: .98;
}

.position-rig strong {
  color: var(--green);
  font-family: "Courier New", Courier, monospace;
}

.switch-bot img {
  width: min(260px, 70vw);
  animation: switchNod var(--switch-speed) cubic-bezier(.45, 0, .28, 1) infinite;
}

.calibration {
  display: grid;
  gap: 8px;
  max-width: 680px;
  font-weight: 900;
}

meter {
  width: 100%;
  height: 28px;
  border: 3px solid var(--ink);
}

.performance-review {
  background:
    linear-gradient(90deg, transparent 0 34px, rgba(182,61,49,.28) 34px 36px, transparent 36px),
    var(--paper-dark);
}

.paper-form {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 40px);
  border: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-head,
.employee-grid,
.metric-lines label {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-head,
.employee-grid dt,
.metric-lines label {
  font-weight: 900;
  text-transform: uppercase;
}

.employee-grid {
  margin-bottom: 24px;
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

.employee-grid div {
  padding: 10px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.employee-grid dd {
  margin: 4px 0 0;
  font-size: 1.5rem;
  font-weight: 900;
}

.metric-lines {
  display: grid;
  gap: 9px;
}

.metric-lines label {
  padding-bottom: 7px;
  border-bottom: 2px dotted var(--ink);
}

.metric-lines span { text-align: right; }

blockquote {
  margin: 28px 0;
  padding-left: 18px;
  border-left: 8px solid var(--blue);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 900;
}

.stamp-trigger {
  padding: 13px 16px;
  border: 6px solid var(--green);
  background: transparent;
  color: var(--green);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(2rem, 6vw, 5.5rem);
  line-height: .86;
  cursor: pointer;
  transform: rotate(-4deg);
}

.stamp-trigger.hit { animation: stampSlamSmall .42s ease-out; }

.manual {
  display: grid;
  gap: 24px;
  background: #d9d2c3;
}

.spec-list {
  display: grid;
  max-width: 780px;
  border-top: 4px solid var(--ink);
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, .8fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 3px solid var(--ink);
}

.spec-list dt { font-weight: 900; }
.spec-list dd { margin: 0; color: var(--green); font-weight: 900; text-align: right; }

.diagram {
  position: relative;
  min-height: 620px;
  margin: 0;
  border: 5px solid var(--ink);
  background: var(--mustard);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.diagram img {
  position: relative;
  z-index: 1;
  width: min(390px, 72vw);
  margin: 0 auto;
  padding-top: 42px;
  animation: yesNod 2.7s ease-in-out infinite;
}

.callout {
  position: absolute;
  z-index: 3;
  max-width: 220px;
  padding: 8px;
  border: 3px solid var(--ink);
  background: var(--paper);
  font-size: 12px;
  font-weight: 900;
}

.callout::before {
  content: "";
  position: absolute;
  top: 50%;
  width: var(--line-width, 84px);
  border-top: 3px solid var(--ink);
  transform-origin: center;
}

.c1 {
  left: 6%;
  top: 12%;
  --line-width: 132px;
}
.c1::before {
  left: calc(100% - 2px);
  transform: rotate(9deg);
}

.c2 {
  right: 5%;
  top: 46%;
  --line-width: 104px;
}
.c2::before {
  right: calc(100% - 2px);
  transform: rotate(-13deg);
}

.c3 {
  left: 5%;
  top: 58%;
  --line-width: 122px;
}
.c3::before {
  left: calc(100% - 2px);
  transform: rotate(-18deg);
}

.c4 {
  right: 6%;
  top: 65%;
  --line-width: 108px;
}
.c4::before {
  right: calc(100% - 2px);
  transform: rotate(14deg);
}

.c5 {
  left: 50%;
  bottom: 7%;
  --line-width: 88px;
  transform: translateX(-50%);
}
.c5::before {
  left: 46%;
  top: -28px;
  transform: rotate(-62deg);
}

.meme-machine {
  background: #b9c2bd;
}

.meme-workbench {
  display: grid;
  gap: 22px;
  align-items: start;
}

.meme-controls {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 5px solid var(--ink);
  background: var(--blue);
  box-shadow: var(--shadow);
}

.meme-controls label {
  color: var(--paper);
  font-weight: 900;
}

select,
textarea {
  width: 100%;
  padding: 12px;
  border: 4px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
}

textarea {
  resize: vertical;
  line-height: 1.3;
}

.meme-preview {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 560px;
  padding: 18px;
  border: 6px solid var(--ink);
  background:
    radial-gradient(circle at 10% 20%, rgba(33,27,18,.08) 0 2px, transparent 3px),
    var(--paper);
  overflow: hidden;
  text-align: center;
}

.meme-preview span {
  font-family: "Courier New", Courier, monospace;
  font-size: 1rem;
  font-weight: 900;
}

.meme-preview p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.9rem, 6vw, 5.2rem);
  font-weight: 1000;
  line-height: .95;
  overflow-wrap: anywhere;
}

.meme-preview img {
  width: min(320px, 72vw);
  border: 4px solid var(--ink);
  background: var(--mustard);
}

.meme-preview strong {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1.8rem, 5vw, 4rem);
  color: var(--green);
}

.meme-stamp {
  position: absolute;
  left: 50%;
  top: 55%;
  padding: 6px 12px;
  border: 8px solid var(--green);
  color: var(--green);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: .86;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-12deg) scale(1.7);
}

.meme-stamp.visible { animation: stampSlam .52s ease-out forwards; }

.ask-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 18px;
  border: 0;
  background: rgba(33, 27, 18, .52);
}

.ask-modal-shell.open { display: grid; }

.modal-window {
  width: min(640px, 100%);
  display: grid;
  gap: 13px;
  padding: 0 16px 16px;
  border: 5px solid var(--ink);
  background: var(--paper-dark);
  box-shadow: 12px 12px 0 rgba(33,27,18,.8);
}

.modal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 -16px 8px;
  padding: 10px;
  border-bottom: 4px solid var(--ink);
  background: var(--blue);
  color: var(--paper);
  font-weight: 900;
}

.modal-bar button {
  border: 3px solid var(--ink);
  background: var(--red);
  color: var(--paper);
  font-weight: 900;
  cursor: pointer;
}

.modal-window label {
  font-size: 1.3rem;
  font-weight: 900;
}

.answer-output {
  min-height: 125px;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 14px;
  border: 4px inset #8d8066;
  background: #201d19;
  color: #95d987;
  white-space: pre-line;
  font-weight: 900;
}

.answer-output b {
  display: block;
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.3rem, 12vw, 7rem);
  line-height: .9;
}

.asset-tag {
  background:
    linear-gradient(90deg, transparent 0 20px, rgba(33,27,18,.18) 20px 22px, transparent 22px),
    #747770;
}

.tag-plate {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 40px);
  border: 6px solid var(--ink);
  background: var(--paper-dark);
  box-shadow: 10px 10px 0 rgba(33,27,18,.88);
}

.tag-plate > span,
.tag-plate p {
  font-weight: 900;
}

.ca-row {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

code {
  display: block;
  padding: 14px;
  border: 3px solid var(--ink);
  background: var(--paper);
  font-size: clamp(1.1rem, 4vw, 2.7rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.inert-link {
  opacity: .72;
  cursor: not-allowed;
}

@keyframes yesNod {
  0%, 100% { transform: rotate(-1.2deg) translateY(0) scaleY(1); }
  45% { transform: rotate(2.2deg) translateY(6px) scaleY(.985); }
  60% { transform: rotate(1deg) translateY(2px) scaleY(1.006); }
}

@keyframes switchNod {
  0%, 100% { transform: rotate(-5deg) translateX(-8px); }
  50% { transform: rotate(5deg) translateX(8px); }
}

@keyframes blink { 50% { opacity: .32; } }

@keyframes stampSlam {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-13deg) scale(1.8); }
  35% { opacity: 1; transform: translate(-50%, -50%) rotate(-13deg) scale(.92); }
  55% { transform: translate(-50%, -50%) rotate(-13deg) scale(1.04); }
  100% { opacity: .9; transform: translate(-50%, -50%) rotate(-13deg) scale(1); }
}

@keyframes stampSlamSmall {
  0% { transform: rotate(-4deg) scale(1.35); }
  100% { transform: rotate(-4deg) scale(1); }
}

@keyframes monitorJitter {
  50% { transform: translateY(1px); }
}

@media (min-width: 900px) {
  .hero-grid,
  .position-rig,
  .manual,
  .meme-workbench {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
  }

  .position-rig {
    grid-template-columns: minmax(0, 1fr) 280px minmax(0, 1fr);
  }

  .ca-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 86px; }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 8px 12px;
  }

  .site-header nav {
    justify-content: flex-start;
    margin-left: auto;
    min-width: max-content;
  }

  .header-actions {
    width: auto;
    min-width: max-content;
  }

  .header-cta {
    flex: 0 0 auto;
    width: 64px;
    height: 48px;
    font-size: 10px;
  }

  section { padding-left: 13px; padding-right: 13px; }

  .terminal-shell { box-shadow: 7px 7px 0 rgba(33, 27, 18, .9); }

  .button-row .machine-button,
  .button-row a,
  .section-actions .machine-button {
    width: 100%;
  }

  .hero-copy h1 { font-size: clamp(3.7rem, 18vw, 4.35rem); }
  .hero-line { font-size: clamp(2.15rem, 13vw, 4.1rem); }
  .hero-bot { width: 100%; }
  .hero-bot img { max-height: 470px; }

  .memo {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .memo img { width: 60px; }

  .memo .stamp {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .world-track { grid-auto-columns: minmax(260px, 86vw); }

  .world-track img { width: 230px; }

  .form-head,
  .employee-grid,
  .metric-lines label,
  .spec-list div {
    grid-template-columns: 1fr;
  }

  .metric-lines span,
  .spec-list dd { text-align: left; }

  .diagram { min-height: 640px; }
  .callout { position: static; display: block; margin: 8px auto; }
  .callout::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
