/* Polska Pinball Hall — offline venue, paper-catalog layout */
:root {
  --paper: #f1e6d4;
  --paper-2: #e6d7c0;
  --cream: #faf4ea;
  --ink: #1a1612;
  --ink-2: #3c352e;
  --muted: #6f665c;
  --line: rgba(26, 22, 18, 0.12);
  --night: #121018;
  --night-2: #1c1824;
  --sakura: #b94a54;
  --sakura-deep: #8d303a;
  --gold: #a67c3d;
  --gold-soft: #c9ae7a;
  --mist: #d9cbb6;
  --ok: #3d6b5a;
  --max: 1180px;
  --nav-h: 4.5rem;
  --display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(26, 22, 18, 0.04) 1px, transparent 0);
  background-size: 18px 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

picture {
  display: block;
}

a {
  color: var(--sakura-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(2.15rem, 6vw, 4.2rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  z-index: 80;
}

.skip:focus {
  top: 0.6rem;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(241, 230, 212, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.mast__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--nav-h);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand__mark {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 58vw;
}

.nav-toggle {
  appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 500 0.82rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

.nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0 1rem;
}

.nav.is-open {
  display: flex;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.nav a[aria-current="page"] {
  color: var(--sakura-deep);
}

.hero {
  display: grid;
  gap: 0;
  background: var(--night);
  color: var(--cream);
}

.hero__copy {
  padding: 1.6rem 0 1.8rem;
}

.hero .wrap {
  width: min(100% - 1.5rem, var(--max));
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
}

.hero h1 {
  color: var(--cream);
  max-width: 14ch;
}

.hero__lead {
  color: #d8cfc3;
  max-width: 38ch;
  font-size: 1.05rem;
}

.hero__photo {
  background: #121018 url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABQODxIPDRQSEBIXFRQYHjIhHhwcHj0sLiQySUBMS0dARkVQWnNiUFVtVkVGZIhlbXd7gYKBTmCNl4x9lnN+gXz/2wBDARUXFx4aHjshITt8U0ZTfHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHz/wAARCAASACADAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAAAgMEBQH/xAApEAACAQMDAgQHAAAAAAAAAAABAgMABBESIXEiMQUTUaEUFTI0QlKB/8QAGAEAAwEBAAAAAAAAAAAAAAAAAAECAwT/xAAfEQACAgICAwEAAAAAAAAAAAAAAQIRMUESIQMyYaH/2gAMAwEAAhEDEQA/AMa31xJGZIWIcYGd9Q4qekzdrlGpIYFgaUMtuqqe6tnbijlHZMYuP0ZNDbS9UUQT1OdwfSh0lVlSktLYDSNC5OXUZ+hkUnHJGBUxpx7FOU7qP6K+Yh1g8mIuYsalJO+2P5Td2Lp4Ev4lOmVDBSP1wfelVhyaDSF5LX4jWfOY5XBpP7geVZNJdXcT9UjdQzvVxpYJk3hk5ZhEignSe4ztRsWjh/LmgRsW329tyayls6F6ol8VA0A47SMPYU/GZ+Q//9k=") center / cover no-repeat;
}

.hero__photo picture,
.hero__photo img {
  width: 100%;
  height: 52vw;
  max-height: 420px;
  object-fit: cover;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.15rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn--solid {
  background: var(--cream);
  color: var(--ink);
}

.btn--solid:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

.btn--line {
  border-color: rgba(250, 244, 234, 0.4);
  color: var(--cream);
}

.btn--line:hover {
  background: rgba(250, 244, 234, 0.08);
  color: var(--cream);
}

.btn--ink {
  background: var(--ink);
  color: var(--cream);
}

.btn--ink:hover {
  background: var(--sakura-deep);
  color: var(--cream);
}

.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  background: var(--cream);
  padding: 1.1rem 1.25rem;
}

.fact span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.fact strong,
.fact a {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.block {
  padding: 3.2rem 0;
}

.block--night {
  background: var(--night);
  color: var(--cream);
}

.block--wash {
  background: var(--paper-2);
}

.block--night a {
  color: var(--gold-soft);
}

.block--night a:hover {
  color: var(--cream);
}

.label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sakura-deep);
  margin-bottom: 0.55rem;
}

.block--night .label {
  color: var(--gold-soft);
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 62ch;
}

.block--night .lead {
  color: #cfc6bb;
}

.about-card {
  background: var(--cream);
  border: 1px solid var(--ink);
  padding: 1.4rem 1.25rem 1.5rem;
  position: relative;
}

.about-card::before,
.about-card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--sakura);
}

.about-card::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.about-card::after {
  bottom: 8px;
  right: 8px;
  border-left: 0;
  border-top: 0;
}

.about-card h2 {
  max-width: 16ch;
}

.note {
  margin-top: 1.15rem;
  padding: 0.95rem 1rem;
  background: #f4e6d8;
  border-left: 3px solid var(--sakura);
  font-size: 0.98rem;
}

.block--night .note {
  background: rgba(250, 244, 234, 0.06);
  color: #ece4d8;
}

.mosaic {
  display: grid;
  gap: 0.7rem;
}

.mosaic figure {
  margin: 0;
  background: var(--night);
}

.mosaic picture,
.tiles picture,
.pair__media picture {
  height: 100%;
}

.mosaic img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #1a1620;
}

.mosaic figcaption,
.tiles figcaption {
  padding: 0.65rem 0.8rem 0.85rem;
  color: #d5ccc0;
  font-size: 0.88rem;
}

.tiles {
  display: grid;
  gap: 0.7rem;
}

.tiles figure {
  margin: 0;
  background: var(--night);
}

.tiles img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #1a1620;
}

.pair {
  display: grid;
  gap: 1.5rem;
}

.pair img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #1a1620;
}

.hours-board {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 1.25rem 1.2rem 1.4rem;
}

.hours-board table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.hours-board th,
.hours-board td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.hours-board th {
  font-weight: 500;
}

.hours-board tr:last-child th,
.hours-board tr:last-child td {
  border-bottom: 0;
}

.rules {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
  display: grid;
  gap: 0.8rem;
}

.rules li {
  counter-increment: rule;
  background: var(--cream);
  padding: 1rem 1rem 1.05rem 1.15rem;
  border-top: 2px solid var(--ink);
}

.rules li::before {
  content: counter(rule, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--sakura);
  margin-bottom: 0.25rem;
}

.help a {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--cream);
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  margin-bottom: 0.55rem;
}

.help a:hover {
  border-color: var(--ink);
}

.help strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.help span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 2px solid var(--sakura);
  color: var(--sakura-deep);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-intro {
  padding: 2.4rem 0 0.4rem;
}

.page-intro h1 {
  max-width: 16ch;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.form input,
.form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--mist);
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form .consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.form .consent input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
}

.form button {
  appearance: none;
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.form__hint,
.form__status {
  font-size: 0.9rem;
  color: var(--muted);
}

.form__status.is-on {
  color: var(--ok);
  font-weight: 500;
}

.contact-photo {
  margin-top: 1.4rem;
}

.contact-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #1a1620;
}

.map-card {
  background: var(--night);
  color: var(--cream);
  padding: 1.2rem 1.15rem 1.3rem;
}

.map-svg {
  width: 100%;
  height: auto;
  display: block;
  background: #1a2430;
  margin: 0.9rem 0 1rem;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stamps span,
.stamps a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(250, 244, 234, 0.28);
  color: #efe6d8;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.38rem 0.55rem;
}

.stamps a {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.stamps .age-pill {
  border-color: var(--sakura);
  color: #f0c4c4;
}

.site-foot {
  background: var(--night);
  color: #d9d0c4;
  padding: 2.2rem 0 1.4rem;
}

.site-foot h2 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.55rem;
}

.site-foot a {
  color: var(--gold-soft);
}

.foot-grid {
  display: grid;
  gap: 1.4rem;
  margin: 1.4rem 0;
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-grid li {
  margin: 0.25rem 0;
}

.foot-grid a {
  text-decoration: none;
}

.foot-end {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid rgba(250, 244, 234, 0.1);
  padding-top: 1rem;
  font-size: 0.82rem;
  color: #9c948a;
}

.unveil {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.unveil.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .wrap {
    width: min(100% - 2.4rem, var(--max));
  }

  .nav-toggle {
    display: none;
  }

  .mast__bar {
    gap: 1.5rem;
  }

  .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
    padding: 0;
  }

  .nav a {
    border: 0;
    padding: 0;
    font-size: 0.95rem;
  }

  .hero {
    grid-template-columns: 1.05fr 1fr;
    min-height: 78vh;
  }

  .hero__copy {
    display: flex;
    align-items: center;
    padding: 3rem 0;
  }

  .hero__photo,
  .hero__photo picture,
  .hero__photo img {
    height: 100%;
    max-height: none;
    min-height: 78vh;
  }

  .facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .mosaic {
    grid-template-columns: 1.2fr 1fr;
  }

  .mosaic figure:first-child {
    grid-row: span 2;
  }

  .mosaic figure:first-child picture,
  .mosaic figure:first-child img {
    height: 100%;
    min-height: 430px;
  }

  .mosaic img {
    height: 210px;
  }

  .tiles {
    grid-template-columns: 1fr 1fr;
  }

  .pair {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.4rem;
  }

  .pair--flip .pair__media {
    order: 2;
  }

  .pair img {
    height: 360px;
  }

  .about-card {
    padding: 2.1rem 2.2rem 2.2rem;
    max-width: 46rem;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }

  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .foot-end {
    flex-direction: row;
    justify-content: space-between;
  }

  .rules {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1040px) {
  .hero h1 {
    font-size: 4.35rem;
  }

  .block {
    padding: 4.4rem 0;
  }

  .mosaic {
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .mosaic figure:first-child {
    grid-row: span 2;
  }

  .tiles {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .tiles img {
    height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .unveil {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
