:root {
  --blue: #2442ff;
  --blue-dark: #1a2fb8;
  --yellow: #ffd23f;
  --ink: #0a0a0a;
  --white: #ffffff;
  --orange: #e8590c;
  --soft: #dce3ff;
  --display: "Anton", "Impact", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--mono);
  color: var(--white);
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 4vw, 56px);
  background: linear-gradient(var(--blue), rgba(36, 66, 255, 0));
}
.logo {
  background: var(--ink); color: var(--yellow);
  font-family: var(--display); font-size: 26px; padding: 4px 14px;
  transform: rotate(-4deg); transition: transform 0.2s;
}
.logo:hover { transform: rotate(2deg) scale(1.08); }
.site-nav { display: flex; gap: 8px; }
.site-nav a {
  border: 2px solid var(--white); padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover, .site-nav a.active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* shared */
.screen {
  min-height: 100vh; min-height: 100svh;
  padding: 96px clamp(20px, 5vw, 72px) 56px;
  position: relative;
}
.kicker { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0.14em; color: var(--yellow); text-transform: uppercase; }
.lede { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--soft); }
.giant { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.86; font-size: clamp(110px, 21vw, 260px); margin-left: -4px; }
.giant-sm { font-size: clamp(100px, 18vw, 220px); }
.big { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.92; font-size: clamp(52px, 8vw, 104px); }
.big span { color: var(--yellow); }

.btn {
  display: inline-block; align-self: flex-start; padding: 16px 26px; font-weight: 700; font-size: 16px;
  border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 9px 9px 0 var(--ink); }
.btn-white { background: var(--white); color: var(--blue); transform: rotate(1deg); }
.btn-yellow { background: var(--yellow); color: var(--ink); overflow-wrap: anywhere; }

.next {
  align-self: flex-start; display: inline-block; margin-top: 8px;
  border: 2px solid var(--yellow); color: var(--yellow); padding: 12px 22px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.next:hover { background: var(--yellow); color: var(--ink); }

/* cover */
.cover { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; overflow: hidden; }
.cover-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 2; }
.tape {
  align-self: flex-start; margin: 0; background: var(--yellow); color: var(--ink);
  padding: 14px 22px; font-weight: 700; font-size: clamp(13px, 2.4vw, 16px); letter-spacing: 0.1em;
  text-transform: uppercase; transform: rotate(-2deg); box-shadow: 6px 6px 0 var(--ink);
}
.cover-art { flex: 1 1 420px; position: relative; height: min(76vh, 680px); min-height: 520px; }
.disc {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: min(88%, 480px); aspect-ratio: 1; border-radius: 50%; background: var(--yellow);
}
.figure {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) rotate(var(--tilt, 0deg));
  height: 100%; width: auto; max-width: none; z-index: 2; transition: transform 0.25s ease-out;
}
.chip {
  position: absolute; z-index: 3; font: 700 14px var(--mono); color: var(--white); cursor: pointer;
  background: var(--ink); border: 0; padding: 12px 18px; border-radius: 999px;
  animation: bob 4s ease-in-out infinite; transition: background 0.15s, color 0.15s;
}
.chip:hover, .chip.popped { background: var(--yellow); color: var(--ink); }
.chip-aws { --r: -8deg; left: 2%; top: 14%; }
.chip-azure { --r: 6deg; right: 2%; top: 24%; animation-delay: -1.3s; }
.chip-mcp { --r: -4deg; right: 4%; bottom: 26%; background: var(--orange); animation-delay: -2.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-12px) rotate(var(--r)); } }
.hint { flex-basis: 100%; margin: 0; font-size: 13px; letter-spacing: 0.12em; color: #9fb0ff; text-transform: uppercase; }

/* story */
.story { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.story-art { flex: 0 1 380px; position: relative; display: flex; justify-content: center; align-self: flex-end; }
.bubble {
  position: absolute; top: 24px; left: 0; z-index: 3; margin: 0; max-width: 220px;
  background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: 18px;
  padding: 12px 16px; font-weight: 700; font-size: 14px; box-shadow: 5px 5px 0 var(--ink);
}
.bubble-right { left: auto; right: 0; }
.figure-small { height: min(62vh, 560px); width: auto; margin-top: 80px; }
.story-copy { flex: 1 1 560px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.moves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sticker { border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 18px 20px; transition: transform 0.2s, box-shadow 0.2s; }
.sticker p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
.sticker .num { font-family: var(--display); font-size: 30px; text-transform: uppercase; }
.sticker:hover { transform: rotate(0deg) scale(1.04) !important; box-shadow: 9px 9px 0 var(--ink); }
.s-yellow { background: var(--yellow); color: var(--ink); transform: rotate(-1.5deg); }
.s-white { background: var(--white); color: var(--ink); transform: rotate(1.5deg); }
.s-black { background: var(--ink); color: var(--white); border-color: var(--white); box-shadow: 6px 6px 0 var(--yellow); transform: rotate(1deg); }
.s-black .num { color: var(--yellow); }
.s-orange { background: var(--orange); color: var(--white); transform: rotate(-1deg); }

/* work */
.work { display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: var(--white); color: var(--ink); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
  padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translate(-3px, -3px) rotate(-0.6deg); box-shadow: 12px 12px 0 var(--ink); }
.card-hot { background: var(--yellow); }
.card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; text-transform: uppercase; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; }
.tag { align-self: flex-start; background: var(--ink); color: var(--yellow); padding: 5px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.chips { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 2px solid var(--ink); padding: 4px 10px; font-size: 12px; font-weight: 700; border-radius: 999px; }
.flow { margin-top: auto !important; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.flow span { background: var(--ink); color: var(--white); padding: 6px 12px; border-radius: 999px; }

/* contact */
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; overflow: hidden; }
.contact-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.contact-art { flex: 0 1 380px; position: relative; display: flex; justify-content: center; align-self: flex-end; }

.site-footer {
  background: var(--ink); padding: 20px clamp(20px, 5vw, 72px);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #9fb0ff;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--yellow); font-weight: 700; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .sticker.reveal.in-view.s-yellow { transform: rotate(-1.5deg); }
.js .sticker.reveal.in-view.s-white { transform: rotate(1.5deg); }
.js .sticker.reveal.in-view.s-black { transform: rotate(1deg); }
.js .sticker.reveal.in-view.s-orange { transform: rotate(-1deg); }

/* tablet and phone */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .moves { grid-template-columns: 1fr; }
  .cover-art { height: 560px; min-height: 0; }
  .figure-small { height: 420px; margin-top: 70px; }
  .story-art, .contact-art { align-self: center; }
}
@media (max-width: 520px) {
  .site-nav a { padding: 7px 12px; font-size: 12px; }
  .cover { padding-top: 88px; }
  .cover-art { height: 500px; }
  .chip { padding: 10px 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
