/* Unsupervised. Palette: Resurrect 64 only. No radius, no blur, no gradients. */
:root {
  --ink: #2e222f;
  --plum: #3e3546;
  --human: #a884f3;
  --mint: #c7dcd0;
  --white: #ffffff;
  --margot: #e83b3b;
  --dex: #4d9be6;
  --norma: #1ebc73;
  --chip: #f79617;
  --display: 'Silkscreen', monospace;
  --body: 'Pixelify Sans', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--mint);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
}
img { image-rendering: pixelated; display: block; max-width: none; }
a { color: var(--human); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--mint); }
::selection { background: var(--human); color: var(--ink); }
input, textarea, button { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
input:focus, textarea:focus {
  outline: 4px solid var(--human);
  outline-offset: 4px;
}
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* Notched pixel border: four offset shadows, corners left empty. Colour via --c. */
.notch {
  margin: 4px;
  box-shadow: 0 -4px 0 0 var(--c), 0 4px 0 0 var(--c), -4px 0 0 0 var(--c), 4px 0 0 0 var(--c);
}

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.band { scroll-margin-top: 64px; }
.band > .wrap { padding-top: 64px; padding-bottom: 64px; }
.band-plum { background: var(--plum); }
.stack-36 { display: flex; flex-direction: column; gap: 36px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.two-col { display: flex; flex-wrap: wrap; gap: 40px; }

.sec-head { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sec-head h2 { font-size: clamp(28px, 5vw, 48px); line-height: 1.05; color: var(--white); }
.eyebrow { font-family: var(--display); font-size: 14px; color: var(--human); }
.eyebrow-chip { color: var(--chip); }
.measure-44 { max-width: 44ch; }
.measure-36 { max-width: 36ch; }

/* Buttons */
.btn {
  font-family: var(--display);
  color: var(--ink);
  background: var(--c);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 0;
  cursor: pointer;
}
.btn:hover { color: var(--ink); }
.btn-hero {
  font-size: 18px;
  padding: 14px 20px;
  min-height: 52px;
  box-shadow: 0 -4px 0 0 var(--c), 0 4px 0 0 var(--c), -4px 0 0 0 var(--c), 4px 0 0 0 var(--c), 8px 8px 0 0 var(--plum);
}
.btn-hero:active { transform: translate(4px, 4px); }
.btn-social { font-size: 16px; padding: 12px 16px; min-height: 48px; }

/* 0. Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  box-shadow: 0 4px 0 0 var(--plum);
}
.header-row {
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; text-decoration: none; color: var(--mint); min-height: 40px; }
.brand:hover { color: var(--mint); }
.brand-wide { display: none; width: 300px; height: 80px; margin: -12px 0; }
.brand-small { display: flex; align-items: center; gap: 10px; }
.brand-small img { width: 32px; height: 34px; }
.brand-text { font-family: var(--display); font-size: 18px; letter-spacing: 1px; color: var(--white); }
.brand-text .un { color: var(--human); }
@media (min-width: 760px) {
  .brand-wide { display: block; }
  .brand-small { display: none; }
}
.nav { display: flex; align-items: center; gap: 20px; font-family: var(--display); font-size: 14px; }
.nav-link { color: var(--mint); text-decoration: none; padding: 12px 0; }
.nav-link:hover { color: var(--white); }
.nav-cta {
  background: var(--chip);
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
}
.nav-cta:hover { color: var(--ink); }
@media (max-width: 400px) {
  .brand-text { font-size: 15px; letter-spacing: 0; }
  .nav { gap: 14px; }
}
@media (max-width: 359px) {
  .nav-link { display: none; }
}

/* 1. Hero */
.hero {
  padding-top: 40px;
  padding-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.hero-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.rec { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 14px; }
.rec-dot { width: 12px; height: 12px; background: var(--margot); animation: rec 1.6s steps(1, end) infinite; }
@keyframes rec { 0% { opacity: 1; } 50% { opacity: 0.2; } }
.hero h1 { font-size: clamp(32px, 6.4vw, 60px); line-height: 1.05; letter-spacing: -0.5px; color: var(--white); }
.h1-hl { color: var(--human); }
.cursor { animation: blink 1s steps(1, end) infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } }
.hero-sub { font-size: clamp(18px, 2.2vw, 22px); max-width: 34ch; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 20px; padding: 4px; }

.hero-visual { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.scene { background: var(--plum); padding: 8px; display: flex; justify-content: center; }
.dialogue {
  position: relative;
  background: var(--ink);
  padding: 14px 18px 16px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dlg-name { font-family: var(--display); font-size: 16px; }
.dlg-text { font-size: 18px; color: var(--white); padding-right: 24px; }
.dlg-tri {
  position: absolute;
  right: 16px;
  bottom: 12px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--mint);
  animation: blink 1s steps(1, end) infinite;
}

/* 2. Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 28px; }
.card { background: var(--ink); display: flex; flex-direction: column; }
.card-well {
  background: var(--c);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 256px;
}
.portrait { width: 256px; height: 256px; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 32px; line-height: 1; color: var(--c); }
.card-role { font-family: var(--display); font-size: 13px; color: var(--mint); }
.card-tag { color: var(--white); }
.card-bio { flex: 1; }
.kpi {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  box-shadow: 0 -4px 0 0 var(--plum);
  font-family: var(--display);
  font-size: 13px;
}
.kpi-v { color: var(--white); text-align: right; }

/* 3. Services */
.col-intro { flex: 1 1 300px; }
.col-list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.services { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.services li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  box-shadow: 0 4px 0 0 var(--plum);
}
.services li:last-child { box-shadow: none; }
.svc-num { font-family: var(--display); font-size: 14px; color: var(--c); }
.svc-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.svc-name { font-family: var(--display); font-size: clamp(18px, 2.6vw, 24px); color: var(--white); }
.svc-tag { font-family: var(--display); font-size: 12px; color: var(--ink); background: var(--c); padding: 4px 8px; }
.locked .svc-name { color: var(--human); }
.locked .svc-tag { background: none; color: var(--human); padding: 2px 6px; box-shadow: inset 0 0 0 2px var(--human); }
.honesty { background: var(--plum); color: var(--white); padding: 18px 20px; }

/* 4. Show */
.show-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.show-head h2 { text-wrap: balance; }
.social-btns { display: flex; flex-wrap: wrap; gap: 20px; padding: 4px; }
.clips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.clip { text-decoration: none; color: var(--mint); display: flex; flex-direction: column; gap: 12px; }
.clip:hover, .clip:hover .clip-cap { color: var(--white); }
.clip-still {
  aspect-ratio: 9 / 16;
  max-height: 440px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 13px;
  overflow: hidden;
}
.clip-still img { width: 100%; height: 100%; object-fit: cover; }
.clip-ep { font-family: var(--display); font-size: 13px; color: var(--c); }

/* 5. Decrees */
.board {
  list-style: none;
  padding: 24px;
  background: var(--plum);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.decree {
  position: relative;
  background: var(--mint);
  color: var(--ink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.decree::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--human);
}
.decree-no { font-family: var(--display); font-size: 13px; }
.decree-text { font-size: 20px; line-height: 1.3; }

/* 6. Hire */
.hire-intro { flex: 1 1 300px; gap: 16px; }
.hire-form-col { flex: 1 1 420px; min-width: 0; }
.hire-form, .sent { background: var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.sent { gap: 10px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-family: var(--display); font-size: 14px; }
.field input, .field textarea {
  background: var(--plum);
  color: var(--white);
  border: 0;
  border-radius: 0;
  padding: 12px 14px;
  min-height: 48px;
  font-family: var(--body);
  font-size: 18px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-send {
  align-self: flex-start;
  font-size: 18px;
  padding: 14px 28px;
  min-height: 52px;
}
.btn-send:active { transform: translate(2px, 2px); }
.btn-send:disabled { cursor: wait; opacity: 0.6; }
.form-note { font-size: 16px; }
.form-error { color: var(--white); box-shadow: inset 4px 0 0 0 var(--margot); padding: 4px 0 4px 14px; }
.sent-name { font-family: var(--display); font-size: 16px; color: var(--chip); }
.sent-text { font-size: 20px; color: var(--white); }
[hidden] { display: none !important; }

/* 7. Footer */
.site-footer { box-shadow: 0 -4px 0 0 var(--plum); font-size: 16px; }
.footer-grid {
  padding-top: 48px;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}
.foot-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; scroll-margin-top: 64px; }
.foot-col:first-child { gap: 14px; }
.foot-logo { width: 180px; height: 180px; }
.foot-social { display: flex; gap: 16px; font-family: var(--display); font-size: 14px; }
.foot-h { font-family: var(--display); font-size: 14px; color: var(--white); }
.foot-bottom {
  padding-bottom: 32px;
  font-family: var(--display);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.foot-sign { color: var(--human); }

/* Thanks page */
.thanks { min-height: 70vh; display: flex; align-items: center; }
.thanks .sent { max-width: 560px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec-dot, .cursor, .dlg-tri { animation: none; }
  .btn-hero:active, .btn-send:active { transform: none; }
}
