@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #121110;
  --accent: #ce1019;
  --page-width: 78rem;
  --gutter: clamp(18px, 3vw, 36px);
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: -8em; left: var(--gutter); z-index: 2; padding: 12px; background: white; }
.skip-link:focus { top: 8px; }
.masthead, main { width: min(100%, var(--page-width)); margin-inline: auto; }
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 10px var(--gutter);
}
.brand { display: flex; flex-direction: column; flex-shrink: 0; color: #112c43; line-height: 1.1; }
.brand > span { font-size: 25px; font-weight: 800; letter-spacing: -1px; }
.brand-light { font-weight: 400; }
.brand small { font-size: 13px; margin-top: 6px; }
.brand b { font-size: 23px; letter-spacing: -1px; color: #ed2055; }
.masthead nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }
.masthead nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .18em; }
h1 {
  font-weight: 600;
  font-size: clamp(2.4rem, 3.9vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  padding: clamp(12px, 2vh, 22px) var(--gutter) clamp(16px, 2vh, 22px);
}
h1 span { display: block; }
.panorama img { display: block; width: 100%; height: auto; max-height: min(43svh, 22rem); object-fit: cover; object-position: center 48%; }
.routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10%;
  padding: clamp(18px, 2.4vh, 24px) 8.7% clamp(20px, 3vh, 32px) 5.8%;
}
.route { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; border-bottom: 2px solid var(--accent); padding-bottom: 12px; }
.route-title { font-size: clamp(1.65rem, 2.6vw, 2.25rem); font-weight: 600; line-height: 1.12; letter-spacing: -.04em; }
.route-detail { font-size: clamp(1rem, 1.35vw, 1.125rem); line-height: 1.35; letter-spacing: -.02em; }
.route:hover .route-title, .route:focus-visible .route-title { color: var(--accent); }
footer { padding: 32px max(var(--gutter), calc((100% - var(--page-width)) / 2 + var(--gutter))); background: #f6f5f3; font-size: .9375rem; line-height: 1.55; }
.footer-top, .footer-links { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px 24px; }
.phone { font-size: 1.35rem; font-weight: 700; }
.footer-links { justify-content: flex-start; margin: 20px 0; }
footer > p, footer details { color: #464442; max-width: 94ch; margin-top: 12px; }
footer summary { cursor: pointer; }
footer details a { text-decoration: underline; }
@media (max-width: 700px) {
  .masthead { flex-wrap: wrap; gap: 2px 15px; padding-top: 14px; padding-bottom: 0; }
  .masthead nav { gap: 22px; }
  .masthead nav a { font-size: .94rem; }
  .brand > span { font-size: 22px; }
  .brand small { font-size: 12px; }
  .brand b { font-size: 21px; }
  .masthead .brand > span { font-size: 19px; }
  .masthead .brand b { font-size: 18px; }
  h1 { font-size: clamp(1.9rem, 8.05vw, 3.55rem); line-height: 1.12; padding-block: 21px 24px; }
  h1 span { display: inline; }
  .panorama img { max-height: none; }
  .routes { gap: 5%; padding: 20px var(--gutter) 30px; }
  .route { gap: 8px; }
  .route-title { font-size: clamp(1.42rem, 5.35vw, 2.1rem); }
  .route-detail { font-size: .94rem; line-height: 1.35; }
}
