:root {
  --ink: #0c1210;
  --paper: #e8e7d9;
  --acid: #b7e33a;
  --acid-deep: #8eb921;
  --night: #071722;
  --slate: #23333b;
  --rule: rgba(12, 18, 16, 0.22);
  --shell: min(1120px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: -100px;
  left: 24px;
  padding: 10px 16px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus { top: 18px; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px max(24px, calc((100vw - 1120px) / 2));
  color: white;
}

.wordmark { display: block; width: 174px; text-decoration: none; }
.wordmark img { display: block; width: 100%; height: auto; }
.header-link { border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding-bottom: 4px; text-decoration: none; text-transform: uppercase; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(780px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #21102f;
  color: white;
}

.hero-map { position: absolute; z-index: -3; inset: -20%; background: url("assets/game-bg.png") repeat; background-size: 640px auto; image-rendering: pixelated; opacity: .28; transform: rotate(-5deg) scale(1.18); }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(15, 4, 28, .96) 0%, rgba(36, 10, 61, .79) 49%, rgba(31, 8, 49, .35) 100%), linear-gradient(0deg, rgba(5, 8, 13, .86), transparent 57%); }
.hero-content { position: relative; z-index: 1; padding-block: 180px 145px; }
.eyebrow { margin: 0 0 14px; color: var(--acid-deep); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: var(--acid); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, summary { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 500; letter-spacing: .025em; line-height: .88; text-transform: uppercase; }
h1 { max-width: 780px; margin-bottom: 26px; font-size: clamp(58px, 10vw, 144px); }
h1 em { color: var(--acid); font-style: normal; }
h2 { margin-bottom: 0; font-size: clamp(42px, 6.4vw, 82px); }
h3 { font-size: 31px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-logo { display: block; width: min(700px, 65vw); height: auto; margin: 0 0 24px -13px; filter: drop-shadow(0 16px 0 rgba(0, 0, 0, .24)); }
.hero-copy { max-width: 480px; margin-bottom: 30px; font-size: 18px; line-height: 1.35; }
.button { display: inline-flex; align-items: center; gap: 24px; padding: 14px 18px; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: transform .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { transform: translate(3px, -3px); }
.button-primary { background: var(--acid); color: var(--ink); }
.button-dark { background: var(--ink); color: white; }
.hero-character { position: absolute; z-index: 0; right: max(7vw, calc((100vw - 1120px) / 2)); bottom: -48px; max-width: 34vw; height: min(82%, 685px); object-fit: contain; object-position: bottom; filter: drop-shadow(20px 24px 0 rgba(1, 4, 9, .45)); }
.hero-stamp { position: absolute; right: 24px; bottom: 23px; max-width: 230px; margin: 0; color: rgba(255,255,255,.75); font-size: 10px; font-weight: 800; letter-spacing: .1em; line-height: 1.35; text-align: right; text-transform: uppercase; }

.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 10vw, 160px); padding-block: 112px; }
.intro-copy { align-self: end; max-width: 570px; margin: 0; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.25; }

.crew-section { padding-block: 105px 118px; background: var(--ink); color: white; overflow: hidden; }
.crew-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 55px; }
.crew-heading .eyebrow { color: var(--acid); }
.crew-heading > p { max-width: 300px; margin: 0 0 8px; color: rgba(255, 255, 255, .72); font-size: 17px; }
.crew-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.crew-card { position: relative; min-height: 440px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .22); background: #233943; }
.crew-card--arm { background: #5d4374; }
.crew-card--babayaga { background: #2d5867; }
.crew-card--betty { background: #445927; }
.crew-card--mrdot { background: #82423d; }
.crew-card--mrwill { background: #483578; }
.crew-card::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(0deg, rgba(4, 8, 10, .78), transparent 45%); pointer-events: none; }
.crew-portrait { position: absolute; top: 15px; right: -22px; width: 127px; height: auto; opacity: .4; filter: grayscale(1) contrast(1.5); }
.crew-pose { position: absolute; z-index: 1; bottom: -15px; left: 50%; max-width: 116%; height: 87%; transform: translateX(-50%); object-fit: contain; object-position: bottom; filter: drop-shadow(10px 9px 0 rgba(0, 0, 0, .25)); transition: transform .28s ease; }
.crew-card:hover .crew-pose { transform: translate(-50%, -8px); }
.crew-card p { position: absolute; z-index: 2; right: 15px; bottom: 10px; left: 15px; margin: 0; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }

.support { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 112px); padding-block: 120px; }
.support-heading > p:last-child { max-width: 390px; margin: 32px 0 0; }
.support-grid { display: grid; gap: 16px; align-content: center; }
.support-card { min-height: 266px; padding: 30px; border: 1px solid var(--rule); background: rgba(255,255,255,.28); }
.support-card--highlight { background: var(--acid); }
.card-number { margin-bottom: 32px; font-size: 10px; font-weight: 900; letter-spacing: .11em; }
.support-card h3 { margin-bottom: 14px; }
.support-card p:not(.card-number):not(.contact-note) { max-width: 520px; }
.support-card ul { margin: 17px 0 0; padding: 0; list-style: none; }
.support-card li { padding: 7px 0; border-bottom: 1px solid var(--rule); }
.support-card li::before { content: "✓"; display: inline-block; width: 24px; font-weight: 900; }
.contact-note { margin: 12px 0 0; font-size: 12px; font-weight: 700; }

.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 8vw, 112px); padding-block: 110px; border-top: 1px solid var(--rule); }
.faq-list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary { padding: 22px 34px 22px 0; cursor: pointer; font-size: 24px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: 0; content: "+"; font-family: Arial, Helvetica, sans-serif; font-size: 28px; font-weight: 400; line-height: .7; }
details[open] summary::after { content: "−"; }
details p { max-width: 690px; margin: -3px 0 22px; color: #3f4944; }

.notice { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; margin-bottom: 95px; padding: 26px 30px; background: var(--slate); color: white; }
.notice-label { margin: 0; color: var(--acid); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.notice-copy { margin: 0; font-size: clamp(17px, 2vw, 25px); font-weight: 700; line-height: 1.2; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 36px; align-items: end; padding-bottom: 35px; color: #3f4944; font-size: 11px; font-weight: 700; }
.wordmark--small { width: 150px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer p { margin: 0; }

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  margin-inline: auto;
  padding-block: 24px;
  border-bottom: 1px solid var(--rule);
}

.legal-header-link { color: var(--ink); }

.legal {
  max-width: 800px;
  padding-block: 105px 90px;
}

.legal h1 { margin-bottom: 30px; color: var(--ink); }
.legal h1 em { color: var(--acid-deep); }
.legal-lead { max-width: 640px; margin-bottom: 70px; font-size: clamp(20px, 3vw, 30px); line-height: 1.25; }
.legal section { padding: 29px 0; border-top: 1px solid var(--rule); }
.legal section:last-of-type { border-bottom: 1px solid var(--rule); }
.legal h2 { margin-bottom: 16px; font-size: 34px; }
.legal section p { max-width: 680px; margin-bottom: 0; }
.legal a { color: #405f0b; font-weight: 800; }
.legal-note { margin: 40px 0 0; padding: 18px; border-left: 5px solid var(--acid-deep); background: rgba(183, 227, 58, .18); }
.legal-note code { font-family: Consolas, monospace; font-size: .9em; }

@media (max-width: 760px) {
  :root { --shell: min(100% - 36px, 1120px); }
  .site-header { padding-inline: 18px; }
  .wordmark { width: 138px; }
  .header-link { font-size: 10px; }
  .hero { min-height: 670px; }
  .hero-map { background-size: 440px auto; }
  .hero-shade { background: linear-gradient(90deg, rgba(15, 4, 28, .93), rgba(35, 7, 60, .45)), linear-gradient(0deg, rgba(5, 8, 13, .91), transparent 60%); }
  .hero-content { padding-block: 185px 97px; }
  .hero-logo { width: min(430px, 100%); margin-left: -7px; }
  .hero-character { right: -18px; bottom: -25px; max-width: 47vw; height: 48%; opacity: .78; }
  .hero-copy { font-size: 16px; }
  .hero-stamp { right: 18px; bottom: 16px; }
  .intro, .support, .faq { grid-template-columns: 1fr; padding-block: 74px; }
  .intro { gap: 30px; }
  .crew-section { padding-block: 75px; }
  .crew-heading { display: block; margin-bottom: 38px; }
  .crew-heading > p { margin-top: 25px; }
  .crew-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .crew-card { min-height: 345px; }
  .crew-card:last-child { grid-column: 1 / -1; }
  .crew-card:last-child .crew-pose { max-width: 63%; }
  .support { gap: 40px; }
  .support-card { padding: 25px; }
  .faq { gap: 40px; }
  summary { font-size: 21px; }
  .notice { grid-template-columns: 1fr; gap: 9px; margin-bottom: 60px; padding: 24px; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .legal { padding-block: 70px 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
