/* Site shell: announcement bar, header, mobile menu, footer. Plain CSS, ar- prefixed.
   Figma 1440: announce 34.4px, header 101px + 1px rule, footer 1920x322 fitted to the page width. */
/* ── Announcement ── */
.ar-announce { background: var(--ar-red); color: #fff; font: 700 11.2px/16.8px var(--ar-font-body); letter-spacing: 1.568px; text-transform: uppercase; }
.ar-announce__inner { max-width: var(--ar-max); margin: 0 auto; display: flex; justify-content: space-between; gap: 8px 24px; padding: 8.8px var(--ar-gutter); }
.ar-announce__r { text-align: right; white-space: nowrap; }

/* ── Header ── */
.ar-header { background: #fff; border-bottom: 1px solid var(--ar-line); position: relative; z-index: 20; }
.ar-header__bar { box-sizing: border-box; column-gap: 24px; max-width: 1250px; margin: 0 auto; height: 101px; padding: 0 var(--ar-gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.ar-header a, .ar-footer a, .ar-menu a { color: inherit; text-decoration: none; }
.ar-header__logo { justify-self: start; display: block; width: 78.19px; height: 76px; }
.ar-header__logo img { display: block; width: 100%; height: 100%; }
/* Replaced logos (any src other than the two bundled files): object-fit: contain fits any aspect ratio or natural size into the same fixed
   CSS box as the default logo; the inline editor rewrites the live img width/height attributes after Replace, and the
   explicit CSS size here (header 100% of the fixed link, footer 224x218) makes that irrelevant. Scoped so the bundled
   logos (stretched on purpose by preserveAspectRatio="none") stay pixel-identical. */
.ar-header__logo img:not([src="/assets/logo.svg"]), .ar-footer__logo:not([src="/assets/logo-footer.svg"]) { object-fit: contain; }
.ar-header__nav { display: flex; gap: 37.5px; }
.ar-header__nav a, .ar-header__cta { font: 700 11.52px/17.28px var(--ar-font-body); letter-spacing: 1.152px; text-transform: uppercase; color: var(--ar-navy); white-space: nowrap; transition: color 0.15s ease; }
.ar-header__nav a:hover, .ar-header__nav a[aria-current], .ar-menu__panel a:hover, .ar-menu__panel a[aria-current] { color: var(--ar-red); }
.ar-header__cta { justify-self: end; display: flex; align-items: center; gap: 16px; }
.ar-header__cta:hover { color: var(--ar-red); }
.ar-header .ar-arrowbox { transition: background 0.15s ease, transform 0.15s ease; }
.ar-header__cta:hover .ar-arrowbox, .ar-menu__cta:hover .ar-arrowbox { background: var(--ar-navy-deep); }
.ar-menu { display: none; }

/* Tablet: tighter nav */
@media (max-width: 1180px) { .ar-header__nav { gap: 24px; } }

/* Mobile menu (native <details>) */
@media (max-width: 960px) {
  .ar-header__bar { height: 80px; grid-template-columns: 1fr auto; }
  .ar-header__logo { width: 62px; height: 60px; }
  .ar-header__nav, .ar-header__cta { display: none; }
  .ar-menu { display: block; justify-self: end; }
  .ar-menu__btn { box-sizing: border-box; list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ar-line); }
  .ar-menu__btn:focus-visible { outline: 2px solid var(--ar-red); outline-offset: 3px; }
  .ar-menu__btn::-webkit-details-marker { display: none; }
  .ar-menu__bars, .ar-menu__bars::before, .ar-menu__bars::after { display: block; width: 20px; height: 2px; background: var(--ar-navy); transition: transform 0.18s ease, background 0.18s ease; }
  .ar-menu__bars { position: relative; }
  .ar-menu__bars::before, .ar-menu__bars::after { content: ""; position: absolute; left: 0; }
  .ar-menu__bars::before { top: -6px; }
  .ar-menu__bars::after { top: 6px; }
  .ar-menu[open] .ar-menu__bars { background: transparent; }
  .ar-menu[open] .ar-menu__bars::before { transform: translateY(6px) rotate(45deg); }
  .ar-menu[open] .ar-menu__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .ar-menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ar-line); box-shadow: 0 12px 24px rgba(7, 13, 62, 0.12); padding: 8px var(--ar-gutter) 20px; display: flex; flex-direction: column; }
  .ar-menu__panel a { font: 700 12px/17px var(--ar-font-body); letter-spacing: 1.2px; text-transform: uppercase; color: var(--ar-navy); padding: 16px 0; border-bottom: 1px solid var(--ar-line); }
  .ar-menu__panel .ar-menu__cta { display: flex; align-items: center; justify-content: space-between; border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 720px) {
  .ar-announce__inner { flex-direction: column; align-items: center; gap: 0; text-align: center; letter-spacing: 1.2px; }
  .ar-announce__r { text-align: center; }
}

/* ── Footer ── (design width 1920: 1293px content centred, columns at +485 and +791) */
.ar-footer { background: var(--ar-navy-deep); color: var(--ar-footer-text); font: 500 14px/20px var(--ar-font-body); text-transform: uppercase; }
.ar-footer__inner { width: min(1293px, 100% - 2 * var(--ar-gutter)); margin: 0 auto; }
.ar-footer__grid { box-sizing: border-box; display: grid; grid-template-columns: 485px 306px 1fr; padding-top: 19px; min-height: 272px; }
.ar-footer ul { list-style: none; margin: 0; padding: 0; }
.ar-footer a { transition: color 0.15s ease; }
.ar-footer a:hover { color: #fff; }
.ar-footer a:focus-visible { outline-color: #fff; }
.ar-footer__brand { display: block; align-self: start; margin-top: 15px; width: 224px; height: 218px; }
.ar-footer__logo { display: block; width: 224px; height: 218px; }
.ar-footer__h { margin: 0 0 6px; padding-top: 14px; font: 700 18px/29px var(--ar-font-body); color: var(--ar-footer-text); }
.ar-footer__links { display: flex; flex-direction: column; }
.ar-footer__links li { line-height: 41px; }
.ar-footer .ar-footer__info { display: flex; flex-direction: column; gap: 30px; margin-top: 15px; }
.ar-footer__row { display: flex; align-items: center; gap: 12px; padding-left: 3px; }
.ar-footer__row--phone { align-items: flex-start; }
.ar-footer__icon { flex: none; display: block; width: 27px; height: 27px; margin: -1px 0 -1px -1px; }
.ar-footer__icon--pin { width: 25px; height: 29px; margin: 0 1px 0 0; }
.ar-footer__val { display: block; line-height: 17px; }
.ar-footer__val > span { display: block; }
.ar-footer__row--pin .ar-footer__val > span { display: inline; }
/* "Leave a review" (meta.review): the last Get in Touch row; the arrow moves like the buttons' on hover. */
.ar-footer__review { display: inline-flex; align-items: center; gap: 8px; }
.ar-footer__review-arrow { flex: none; font-weight: 700; transition: transform 0.18s ease; }
.ar-footer__review:hover .ar-footer__review-arrow { transform: translate(3px, -3px); }
@media (prefers-reduced-motion: reduce) { .ar-footer__review-arrow { transition: none; } .ar-footer__review:hover .ar-footer__review-arrow { transform: none; } }
.ar-footer__legal { display: flex; justify-content: space-between; gap: 8px 24px; padding: 15px 0 14px 9px; color: #fff; font: 400 14px/20px var(--ar-font-body); text-transform: none; }

@media (max-width: 1100px) {
  .ar-footer__grid { grid-template-columns: 224px 1fr 1fr; gap: 0 40px; }
}
@media (max-width: 760px) {
  .ar-footer__grid { grid-template-columns: 1fr; padding-top: 40px; min-height: 0; gap: 8px; }
  .ar-footer__brand { margin-top: 0; }
  .ar-footer__col { margin-top: 16px; }
  .ar-footer__h { padding-top: 0; line-height: 1.4; margin-bottom: 8px; }
  .ar-footer__links li { line-height: 36px; }
  .ar-footer .ar-footer__info { gap: 18px; margin-top: 0; }
  .ar-footer__legal { flex-direction: column; padding: 28px 0 24px; }
}

/* ── 404 page (notFoundBody in zk_render.js); the game stage mounts below the links ───────────────── */
.ar-nf { padding: 64px 0 72px; text-align: center; }
.ar-nf__inner { width: var(--ar-frame); max-width: 720px; margin: 0 auto; }
.ar-nf__kicker { margin: 0 0 14px; font: 700 14px/1 var(--ar-font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ar-red); }
.ar-nf__title { margin: 0 0 16px; font: 700 clamp(2rem, 1.1rem + 2.9vw, 3rem)/1.146 var(--ar-font-display); letter-spacing: -0.023em; color: var(--ar-navy); text-wrap: balance; }
.ar-nf__text { margin: 0 auto; max-width: 34em; font: 400 17px/1.6 var(--ar-font-body); color: var(--ar-ink-72); }
.ar-nf__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ar-nf__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.ar-nf__link { display: inline-block; padding: 8px 0; font: 600 15px/1.4 var(--ar-font-body); color: var(--ar-navy); text-decoration: underline; text-decoration-color: var(--ar-line); text-underline-offset: 4px; transition: text-decoration-color 0.18s ease, color 0.18s ease; }
.ar-nf__link:hover { color: var(--ar-red); text-decoration-color: var(--ar-red); }
.ar-nf__game { margin-top: 48px; }
.ar-nf__game[hidden] { display: none; }
@media (max-width: 560px) { .ar-nf { padding-top: 40px; padding-bottom: 48px; } .ar-nf__text { font-size: 16px; } }
