@import url("/assets/fonts/brand-fonts.css?v=20260901-directional-glyphs-2");

@font-face {
  font-family: "Press Start 2P";
  src: url("../assets/fonts/press-start-2p-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #09070b;
  --panel: #111015;
  --paper: #f4f0e8;
  --quiet: rgba(244, 240, 232, 0.7);
  --signal: #47e5ee;
  --magenta: #ff2fcf;
  --pixel: var(--brand-heading);
  --editorial: var(--brand-body);
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
  background: var(--ink);
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background:
    linear-gradient(rgba(71, 229, 238, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 47, 207, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 88% 8%, rgba(255, 47, 207, 0.18), transparent 30rem),
    radial-gradient(circle at 6% 86%, rgba(71, 229, 238, 0.15), transparent 28rem),
    var(--ink);
  background-size: 2rem 2rem, 2rem 2rem, auto, auto, auto;
  color: var(--paper);
  font-family: var(--editorial);
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.secret-shell {
  width: min(100% - 2rem, 74rem);
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.secret-nav,
.secret-footer {
  display: grid;
  padding: 0.9rem 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  color: var(--quiet);
  font: 0.62rem/1.6 var(--pixel);
  text-transform: uppercase;
}

.secret-nav__identity,
.secret-nav__links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
}

.secret-nav__identity { justify-content: space-between; }
.secret-nav__identity span { color: var(--quiet); text-align: right; }
.secret-nav__links { justify-content: flex-end; }
.secret-nav__links a { padding: 0.7rem 0.65rem; border: 1px solid rgba(244, 240, 232, 0.24); }
.secret-nav__links .secret-nav__cta { border-color: var(--signal); background: var(--signal); color: var(--ink); }
.secret-footer { display: flex; }

.secret-nav a,
.secret-footer a {
  color: var(--signal);
  text-decoration: none;
}

.secret-nav a:hover,
.secret-footer a:hover { color: var(--magenta); }

.pollo-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.48);
  background: rgba(8, 7, 11, 0.92);
  box-shadow: 12px 12px 0 var(--signal), -6px -6px 0 var(--magenta);
}

.pollo-console::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,0.025) 3px 4px);
  content: "";
  pointer-events: none;
}

.console-bar {
  display: flex;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(244, 240, 232, 0.25);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--quiet);
  font: 0.62rem/1.5 var(--pixel);
  text-transform: uppercase;
}

.console-bar b { color: var(--signal); font: inherit; }

.pollo-arrival {
  display: grid;
  min-height: 32rem;
  grid-template-columns: minmax(15rem, 0.85fr) minmax(0, 1.35fr);
}

.pollo-portrait {
  position: relative;
  min-height: 28rem;
  margin: 0;
  border-right: 1px solid rgba(244, 240, 232, 0.25);
  background:
    radial-gradient(circle at 50% 45%, rgba(71, 229, 238, 0.24), transparent 48%),
    #0d0c10;
}

.pollo-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1.2rem 2rem rgba(0,0,0,0.72));
}

.pollo-portrait figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.65rem;
  border: 1px solid rgba(71, 229, 238, 0.55);
  background: rgba(9, 7, 11, 0.82);
  color: var(--signal);
  font: 0.58rem/1.5 var(--pixel);
  text-align: center;
  text-transform: uppercase;
}

.pollo-message {
  display: flex;
  padding: clamp(2rem, 6vw, 5rem);
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.fact-label {
  margin: 0;
  color: var(--signal);
  font: 0.62rem/1.6 var(--pixel);
  text-transform: uppercase;
}

.pollo-message h1 {
  margin: 1rem 0 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-style: italic;
  font-weight: 950;
  letter-spacing: -0.085em;
  line-height: 1.12;
  text-transform: uppercase;
}

.pollo-message h1 span {
  display: block;
  color: var(--magenta);
  font-size: 0.44em;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.pollo-message .lede {
  max-width: 38rem;
  margin: 1.7rem 0 0;
  color: var(--paper);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 800;
  line-height: 1.35;
}

.pollo-message .aside {
  max-width: 38rem;
  margin: 0.8rem 0 0;
  color: var(--quiet);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.55;
}

.secret-actions {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.secret-actions a {
  display: inline-flex;
  min-height: 3.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--signal);
  align-items: center;
  justify-content: center;
  background: var(--signal);
  color: var(--ink);
  font: 0.62rem/1.5 var(--pixel);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.secret-actions a:hover { border-color: var(--magenta); background: var(--magenta); }

.secret-actions .quiet-action { background: transparent; color: var(--paper); }
.secret-actions .quiet-action:hover { color: var(--ink); }

.studio-route {
  width: fit-content;
  margin-top: 1.15rem;
  color: var(--quiet);
  font: 0.6rem/1.6 var(--pixel);
  text-decoration-color: rgba(244, 240, 232, 0.45);
  text-underline-offset: 0.3rem;
  text-transform: uppercase;
}

.studio-route:hover { color: var(--signal); }

.pollo-notes {
  display: grid;
  margin-top: 2.5rem;
  border: 1px solid var(--magenta);
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  background: rgba(255, 47, 207, 0.07);
  box-shadow: 8px 8px 0 rgba(255, 47, 207, 0.2);
}

.pollo-notes p {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 1.25rem;
  border-right: 1px solid rgba(244, 240, 232, 0.25);
  gap: 0.45rem;
}

.pollo-notes p span { color: var(--magenta); font: 0.58rem/1.5 var(--pixel); text-transform: uppercase; }
.pollo-notes p strong { font-size: 1.1rem; line-height: 1.25; text-transform: uppercase; }
.pollo-notes nav { display: grid; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pollo-notes a { display: flex; min-width: 0; min-height: 4.8rem; padding: 1rem; border-left: 1px solid rgba(244, 240, 232, 0.18); align-items: center; color: var(--paper); font: 0.58rem/1.55 var(--pixel); text-decoration: none; text-transform: uppercase; overflow-wrap: anywhere; }
.pollo-notes a:first-child { border-left: 0; }
.pollo-notes a:hover,
.pollo-notes a:focus-visible { background: var(--magenta); color: var(--ink); }

.robot-facts {
  display: grid;
  margin-top: 2.5rem;
  border: 1px solid rgba(244, 240, 232, 0.28);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(17, 16, 21, 0.84);
}

.facts-heading {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(244, 240, 232, 0.28);
  grid-column: 1 / -1;
}

.facts-heading h2 {
  max-width: 50rem;
  margin: 0.8rem 0 0;
  font-size: clamp(1.7rem, 3.5vw, 3.2rem);
  font-style: italic;
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 1.16;
  text-transform: uppercase;
}

.fact {
  min-height: 15rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(244, 240, 232, 0.2);
}

.fact:nth-of-type(odd) { border-right: 1px solid rgba(244, 240, 232, 0.2); }

.fact h3 {
  margin: 0.85rem 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.18;
}

.fact p,
.fact li {
  color: var(--quiet);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.62;
}

.fact ul { margin: 1rem 0 0; padding-left: 1.15rem; }
.fact a { color: var(--signal); text-underline-offset: 0.25rem; }

.final-signal {
  display: grid;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--signal);
  border-top: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  background: rgba(71, 229, 238, 0.07);
}

.final-signal h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.3vw, 3rem);
  font-style: italic;
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1.16;
  text-transform: uppercase;
}

.final-signal p { margin: 0.9rem 0 0; color: var(--quiet); font-weight: 700; }
.final-signal .secret-actions { margin: 0; }

@media (max-width: 760px) {
  .secret-shell { width: min(100% - 1.25rem, 74rem); }
  .secret-nav { grid-template-columns: 1fr; align-items: flex-start; }
  .secret-nav__identity { width: 100%; align-items: flex-start; }
  .secret-nav__identity span { max-width: 12rem; overflow-wrap: anywhere; }
  .secret-nav__links { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .secret-nav__links a { display: grid; min-height: 3rem; place-items: center; text-align: center; overflow-wrap: anywhere; }
  .pollo-console { box-shadow: 7px 7px 0 var(--signal), -3px -3px 0 var(--magenta); }
  .pollo-arrival { min-height: 0; grid-template-columns: 1fr; }
  .pollo-portrait { height: clamp(13rem, 52vw, 17rem); min-height: 0; border-right: 0; border-bottom: 1px solid rgba(244, 240, 232, 0.25); }
  .pollo-message { padding: 2rem 1.25rem 2.25rem; }
  .pollo-message h1 { max-width: 100%; font-size: clamp(2.1rem, 8.8vw, 2.7rem); line-height: 1.16; overflow-wrap: normal; }
  .console-bar { align-items: flex-start; flex-direction: column; }
  .pollo-notes { grid-template-columns: 1fr; }
  .pollo-notes p { border-right: 0; border-bottom: 1px solid rgba(244, 240, 232, 0.25); }
  .pollo-notes nav { grid-template-columns: 1fr; }
  .pollo-notes a,
  .pollo-notes a:first-child { min-height: 3.75rem; border-left: 0; border-top: 1px solid rgba(244, 240, 232, 0.18); }
  .pollo-notes a:first-child { border-top: 0; }
  .robot-facts { grid-template-columns: 1fr; }
  .facts-heading h2,
  .final-signal h2 { max-width: 100%; font-size: clamp(1.4rem, 6vw, 1.85rem); line-height: 1.18; overflow-wrap: normal; }
  .secret-actions a { width: 100%; }
  .fact:nth-of-type(odd) { border-right: 0; }
  .final-signal { grid-template-columns: 1fr; }
  .secret-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .pollo-portrait img { animation: executive-float 3.8s ease-in-out infinite; }
  @keyframes executive-float { 50% { transform: translateY(-0.45rem) rotate(-0.5deg); } }
}
