/* Phone menu: a hamburger button that opens a full-screen list. Desktop keeps the inline menu.
   The inline menu is only hidden once site.js has run (html.js), so it still works without scripts. */
.menu-btn { display: none; }
.menu-overlay { display: none; }

@media (max-width: 639px) {
  .js nav[aria-label="Site"] { display: none !important; }
  .js .menu-btn {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; flex: 0 0 44px;
    background: rgba(0,0,0,.4); border: 1px solid #2a2a2a; border-radius: 10px;
    color: #f2f2f2; cursor: pointer;
  }
  .js header { position: relative; }
  .js header .menu-btn { position: absolute; top: 14px; right: 16px; }

  .menu-overlay.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 100;
    background: #000;
    padding: 14px 20px 28px; overflow-y: auto;
    text-align: left;
  }
  .menu-overlay .menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .menu-overlay .menu-top img { width: 84px; height: auto; margin: 0; }
  .menu-overlay .menu-close {
    width: 44px; height: 44px; padding: 0;
    background: none; border: 1px solid #2a2a2a; border-radius: 10px;
    color: #f2f2f2; font-size: 26px; line-height: 1; cursor: pointer;
  }
  .menu-overlay a.item {
    display: block; padding: 17px 0;
    font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2;
    color: #f2f2f2; text-decoration: none; text-transform: none;
    border-bottom: 1px solid #1f1f1f;
  }
  .menu-overlay a.item[aria-current] { color: #EFC12E; }
  .menu-overlay a.get {
    display: block; margin-top: 28px; padding: 15px 20px; text-align: center;
    background: #EFC12E; color: #000; font-size: 17px; font-weight: 700;
    text-decoration: none; border-radius: 999px;
  }
  .menu-overlay .menu-note { font-size: 14px; color: #9a9a9a; text-align: center; margin: 12px 0 0; }
}

/* ── Screenshots: small on the page, tap to enlarge ── */
figure.shot { margin: 22px 0 6px; }
figure.shot a.zoom { display: inline-block; position: relative; cursor: zoom-in; line-height: 0; }
figure.shot img { width: 170px; max-width: 100%; height: auto; border-radius: 16px; border: 1px solid #2a2a2a; display: block; }
figure.shot a.zoom::after {
  content: "Tap to enlarge"; position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  white-space: nowrap; font-size: 12px; line-height: 1; color: #000; background: #EFC12E;
  padding: 6px 10px; border-radius: 999px; opacity: .92;
}
figure.shot figcaption { font-size: 14px; line-height: 1.5; color: #9a9a9a; margin-top: 10px; max-width: 34em; }

/* tour rows: screenshot beside its explanation */
.screen { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid #1f1f1f; }
.screen:first-of-type { border-top: 1px solid #1f1f1f; }
.screen figure.shot { margin: 0; flex: 0 0 150px; }
.screen figure.shot img { width: 150px; }
.screen > div { min-width: 0; }
.screen h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; }
.screen p { margin: 0 0 12px; }
.screen dl { margin: 0 0 12px; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 15px; }
.screen dt { color: #f2f2f2; font-weight: 600; }
.screen dd { margin: 0; color: #9a9a9a; }
.screen h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #EFC12E; margin: 14px 0 8px; }
@media (max-width: 479px) {
  .screen { gap: 14px; }
  .screen figure.shot { flex-basis: 108px; }
  .screen figure.shot img { width: 108px; border-radius: 12px; }
  .screen figure.shot a.zoom::after { content: "Enlarge"; font-size: 11px; padding: 5px 8px; bottom: 8px; }
}

.lightbox { display: none; }
.lightbox.open {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94);
  padding: 16px; cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 18px; border: 1px solid #2a2a2a; }
.lightbox p { color: #cfcfcf; font-size: 14px; line-height: 1.45; text-align: center; max-width: 34em; margin: 12px 0 0; }
.lightbox button {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0;
  background: rgba(0,0,0,.6); border: 1px solid #2a2a2a; border-radius: 10px;
  color: #f2f2f2; font-size: 26px; line-height: 1; cursor: pointer;
}

/* visualiser strips on the tour */
.viz { margin: 0 0 14px; }
.viz a.zoom { display: block; cursor: zoom-in; line-height: 0; }
.viz img { width: 100%; max-width: 420px; height: auto; border-radius: 8px; border: 1px solid #2a2a2a; display: block; }
.viz p { font-size: 15px; margin: 6px 0 0; }
.lightbox img { object-fit: contain; }

/* main-screen shot in the home hero, and side-by-side pairs */
figure.shot.hero { margin: 30px auto 0; text-align: center; }
figure.shot.hero img { width: 230px; }
figure.shot.hero figcaption { margin: 12px auto 0; text-align: center; max-width: 26em; }
.shot-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; align-items: flex-start; }
.shot-pair figure.shot { flex: 0 1 calc((100% - 28px) / 3); max-width: 170px; }
.shot-pair figure.shot a.zoom { display: block; }
.shot-pair figure.shot img { width: 100%; }
@media (max-width: 479px) {
  .shot-pair figure.shot a.zoom::after { content: "Enlarge"; font-size: 11px; padding: 5px 8px; bottom: 8px; }
  .shot-pair figure.shot figcaption { font-size: 13px; }
}
