/* Home page: the site menu, the Drives band and the footer links.
   Kept apart from journey.css so the home film styles stay untouched. */
.top nav { gap: clamp(10px, 1.6vw, 22px); }
.top nav a.rent { padding: 7px 13px; border: 1px solid currentColor; border-radius: 999px; }
.top nav a.rent::after { display: none; }
@media (max-width: 1300px) { .top nav a:not(.pill):not(.rent) { display: none; } }
@media (max-width: 640px) { .top nav a.rent { display: inline-flex; padding: 6px 11px; font-size: .85em; } }
@media (max-width: 380px) { .top nav a.rent { display: none; } }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.foot-links a, .foot-pk a { color: inherit; }

/* Phone and tablet menu: a Menu button that opens a list of every page. */
.top .menu { display: none; position: relative; }
.top .menu summary {
  list-style: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  border: 1px solid currentColor; font-size: 0.92rem; font-weight: 500; color: var(--ink);
}
.top .menu summary::-webkit-details-marker { display: none; }
.top .menu[open] summary { background: var(--ink); color: #fff; border-color: var(--ink); }
.top .menu .sheet {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  display: grid; padding: 8px; border-radius: 18px; background: #ffffff;
  box-shadow: 0 18px 40px -16px rgba(17, 28, 51, 0.45); border: 1px solid rgba(25, 33, 49, 0.08);
}
.top .menu .sheet a {
  display: block !important; padding: 12px 14px; border: 0; border-radius: 12px;
  font-size: 1rem; color: var(--ink) !important; white-space: normal;
}
.top .menu .sheet a:hover { background: rgba(59, 111, 143, 0.08); }
.top .menu .sheet a.rent { border-top: 1px solid rgba(25, 33, 49, 0.1); border-radius: 0; margin-top: 6px; padding-top: 14px; color: var(--clay) !important; }
.look-a .top:not(.is-scrolled) .menu:not([open]) summary { color: #fff; }
@media (max-width: 1300px) { .top .menu { display: block; } }
/* On phones the Menu button takes the place of the Rent button (Rent is inside the menu). */
@media (max-width: 640px) { .top nav > a.rent { display: none !important; } .top nav { gap: 8px; } }
@media (max-width: 360px) { .top nav > a.pill { display: none; } }
