* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #444;
  background: #fff;
  font: 14px/1.45 Arial, Helvetica, sans-serif;
}

a {
  color: #555;
}

a:hover,
a:focus {
  color: #111;
}

.site {
  width: min(1170px, 100%);
  margin: 0 auto;
  padding: 0 25px;
}

.brand {
  display: block;
  width: fit-content;
  margin: 0 auto 34px;
  padding-top: 8px;
}

.brand img {
  display: block;
  width: auto;
  height: 80px;
  max-width: min(100%, 340px);
}

.navigation {
  position: relative;
  z-index: 1;
  min-height: 42px;
  background: #fff;
}

.navigation input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.menu-toggle {
  display: none;
}

.menu-toggle-label {
  display: none;
}

.navigation ul {
  display: flex;
  width: fit-content;
  margin: 0;
  padding: 0;
  list-style: none;
  background: linear-gradient(to bottom, #d6d6d6 0%, #808080 100%);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.navigation li a {
  display: block;
  min-height: 42px;
  padding: 10px 20px;
  border-top: 1px solid #aaa;
  border-right: 1px solid #999;
  border-left: 1px solid #dbdbdb;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.navigation li a:hover,
.navigation li a:focus,
.navigation li[aria-current="page"] a {
  background: linear-gradient(to bottom, #aaa 0%, #646464 100%);
  color: #fff;
}

main {
  padding: 150px 25px 55px;
}

h1,
h2,
h3 {
  margin: 0 0 20px;
  color: #444;
  font-weight: 400;
  line-height: 1.25;
}

h1 {
  font-size: 40px;
}

h2 {
  margin-top: 28px;
  font-size: 26px;
}

h3 {
  margin-top: 24px;
  font-size: 22px;
}

h4 {
  margin: 0 0 20px;
  color: #f00;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

p {
  margin: 0 0 20px;
}

.home-banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 24px 0;
}

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 155px;
  gap: 34px;
  align-items: start;
}

.photo-list {
  text-align: center;
}

.photo-list figure {
  margin: 0 0 22px;
}

.photo-list img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 130px;
  margin: 0 auto 5px;
  object-fit: contain;
}

.photo-list figcaption {
  font-size: 12px;
  font-weight: 700;
}

.route-images {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr);
  gap: 24px;
  align-items: start;
  margin: 20px 0 28px;
}

.route-images img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-copy p {
  margin-bottom: 16px;
}

.legal-copy ul {
  margin-top: -8px;
  margin-bottom: 18px;
}

.site-footer {
  padding: 0 25px 25px;
  text-align: right;
}

.site-footer a {
  display: inline-block;
  color: #666;
  font-size: 22px;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 700px) {
  .site {
    padding: 0 18px;
  }

  .brand {
    margin-bottom: 24px;
  }

  .brand img {
    height: auto;
    max-height: 80px;
  }

  .navigation {
    min-height: 42px;
  }

  .menu-toggle {
    position: absolute;
    display: block;
    width: 1px;
    height: 1px;
    overflow: visible;
    clip: rect(0, 0, 0, 0);
    margin: 0;
    opacity: 0;
    clip-path: inset(50%);
  }

  .menu-toggle-label {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    color: #444;
    cursor: pointer;
    font-weight: 700;
  }

  .menu-toggle-label::before {
    content: "";
    width: 18px;
    height: 14px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  }

  .menu-toggle:focus-visible + .menu-toggle-label {
    outline: 2px solid #444;
    outline-offset: 2px;
  }

  .navigation ul {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    width: min(320px, 90vw);
    padding: 0;
    background: #333;
    box-shadow: none;
  }

  .menu-toggle:checked + .menu-toggle-label + ul {
    display: block;
  }

  .navigation li a {
    min-height: 52px;
    padding: 14px 20px;
    border: 0;
    color: #ddd;
    font-size: 18px;
    font-weight: 400;
  }

  .navigation li a:hover,
  .navigation li a:focus,
  .navigation li[aria-current="page"] a {
    background: #1b1b1b;
    color: #fff;
  }

  main {
    padding: 120px 8px 45px;
  }

  h1 {
    font-size: 34px;
  }

  .columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .photo-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .route-images {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-images img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    object-position: left top;
  }
}
