/* «На проходной»: будка ночью, бумага пропуска, горчичная кнопка, красная печать, синие чернила блокнота.
   Шрифты игры: PT Serif (заголовки), PT Sans (текст). Шапка и подвал студии — в /site.css. */
@font-face { font-family: 'PT Serif'; font-weight: 700; font-display: swap; src: url(/fonts/pt-serif-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'PT Serif'; font-weight: 700; font-display: swap; src: url(/fonts/pt-serif-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: 'PT Sans'; font-weight: 400; font-display: swap; src: url(/fonts/pt-sans-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'PT Sans'; font-weight: 400; font-display: swap; src: url(/fonts/pt-sans-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: 'PT Sans'; font-weight: 700; font-display: swap; src: url(/fonts/pt-sans-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'PT Sans'; font-weight: 700; font-display: swap; src: url(/fonts/pt-sans-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
.prohodnaya {
  --ink: #2b2420;
  --booth: #2a2420;
  --paper: #f3ead6;
  --paper2: #e8dbbd;
  --mustard: #d9a441;
  --red: #c0392b;
  --pen: #23407e;
  background: var(--booth);
  color: var(--paper);
  font-family: 'PT Sans', system-ui, sans-serif;
}

.prohodnaya h1,
.prohodnaya h2,
.prohodnaya h3 {
  font-family: 'PT Serif', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

/* первый экран: обложка игры, поверх — пропуск */
.p-hero {
  padding: clamp(10rem, 38vw, 22rem) 1rem clamp(2rem, 6vw, 4rem);
  background: linear-gradient(rgba(42, 36, 32, 0) 35%, rgba(42, 36, 32, 0.75) 75%, var(--booth)), url('/img/prohodnaya/hero.webp') center 25% / cover no-repeat;
}

.p-hero-in {
  max-width: 46rem;
  margin: 0 auto;
}

.p-pass {
  position: relative;
  padding: 0.7rem 1.1rem 1.1rem;
  color: var(--ink);
  background: var(--paper);
  border-radius: 0.9rem;
  box-shadow: 0 0.2rem 0 #0006, 0 1.2rem 2.4rem rgba(0, 0, 0, 0.45);
}

.p-pass-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.1rem 0.5rem;
  margin-bottom: 0.8rem;
  font: 700 0.75rem/1 'PT Mono', ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a5d50;
  border-bottom: 1px dashed #2b242066;
}

.p-pass-body {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.p-icon {
  flex: none;
  width: clamp(5rem, 18vw, 8rem);
  height: auto;
  border-radius: 1.2rem;
  box-shadow: 0 0.2rem 0 #0005;
}

.p-pass h1 {
  margin: 0 0 0.5rem;
  line-height: 1;
}

.p-logo {
  width: min(24rem, 100%);
  height: auto;
  vertical-align: middle;
}

.p-pass h1 .age {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  vertical-align: middle;
}

.p-tagline {
  margin: 0;
  padding-right: 4.2rem;
  font-size: clamp(1rem, 2.7vw, 1.15rem);
  line-height: 1.45;
}

.p-stamp {
  position: absolute;
  right: 0.9rem;
  bottom: -1.9rem;
  width: 4.6rem;
  height: 4.6rem;
  display: grid;
  place-content: center;
  text-align: center;
  font: 700 0.7rem/1.1 'PT Sans', sans-serif;
  letter-spacing: 0.08em;
  color: #c0392bcc;
  border: 0.18rem solid #c0392bcc;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.3rem transparent, inset 0 0 0 0.38rem #c0392b55;
  transform: rotate(-14deg);
  pointer-events: none;
}

.p-stamp small {
  display: block;
  font-size: 1rem;
}

.p-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.p-btn {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  font: 700 1.15rem/1.2 'PT Serif', Georgia, serif;
  color: var(--ink);
  text-decoration: none;
  background: var(--mustard);
  border: 0.15rem solid var(--ink);
  border-radius: 0.8rem;
  box-shadow: 0 0.3rem 0 var(--ink);
  transition: transform 0.1s, box-shadow 0.1s;
}

.p-btn:hover {
  transform: translateY(-0.1rem);
  box-shadow: 0 0.4rem 0 var(--ink);
}

.p-btn:active {
  transform: translateY(0.2rem);
  box-shadow: 0 0.1rem 0 var(--ink);
}

.p-note {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #d6c9ae;
}

/* полосы */
.p-band {
  padding: clamp(2rem, 6vw, 3.5rem) 1rem;
}

.p-band h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--mustard);
}

.p-band--paper {
  color: var(--ink);
  background: var(--paper);
}

.p-band--paper h2 {
  color: var(--ink);
}

.p-band--play {
  text-align: center;
}

.p-band--play .p-btns {
  justify-content: center;
}

.p-band--play .p-note {
  margin: 1rem auto 0;
}

.p-sub {
  margin: 1.2rem 0 0;
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* скриншоты — лентой вбок */
.p-shots {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scroll-snap-type: x mandatory;
}

.p-shots img {
  flex: none;
  width: min(15rem, 64vw);
  height: auto;
  border-radius: 1rem;
  scroll-snap-align: start;
  box-shadow: 0 0.6rem 1.4rem rgba(0, 0, 0, 0.4);
}

.p-hint {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #a99c84;
}

/* как играть */
.p-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  max-width: 44rem;
}

.p-steps li {
  position: relative;
  padding: 0.2rem 0 0.2rem 3rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.p-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-content: center;
  font: 700 1.1rem 'PT Serif', serif;
  color: var(--red);
  border: 0.15rem solid var(--red);
  border-radius: 50%;
  transform: rotate(-8deg);
}

/* герои */
.p-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 1rem;
}

.p-people figure {
  margin: 0;
  padding: 0.8rem;
  color: var(--ink);
  background: var(--paper);
  border-radius: 0.8rem;
  box-shadow: 0 0.2rem 0 #0005;
}

.p-people img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  background: #d9cbb0;
  border-radius: 0.5rem;
}

.p-people figcaption {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.p-people b {
  display: block;
  margin-bottom: 0.2rem;
  font: 700 1.05rem 'PT Serif', serif;
}

/* что ещё */
.p-notes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}

.p-notes article {
  padding: 1rem 1.1rem;
  background: #fffaf0;
  border-left: 0.3rem solid var(--pen);
  border-radius: 0.4rem;
}

.p-notes h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.p-notes p {
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .p-hero {
    padding-top: 22rem;
    background-position: center, 6% 4%;
    background-size: auto, 250% auto;
  }

  .p-pass-body {
    display: block;
  }

  .p-icon {
    display: none;
  }

  .p-tagline {
    padding-right: 0;
    padding-bottom: 1.6rem;
  }

  .p-people {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .p-people figure {
    padding: 0.55rem;
  }

  .p-people figcaption {
    font-size: 0.85rem;
  }
}
