/* Access page: three routes leaving one junction, in the Survey map style (builds on site.css). */

.access { min-height: 0; padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 120px); }
.access-head { position: relative; z-index: 1; }
.access-head > * { max-width: 860px; }
.access-head h1 { margin-top: 18px; font-size: clamp(48px, 7vw, 92px); }
.access-head em { display: block; }

.routes-section { padding-top: clamp(56px, 7vw, 88px); }
.routes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
/* The track joining the three routes, like a footpath on the map. */
.routes::before { position: absolute; top: 46px; right: 8%; left: 8%; border-top: 3px dashed var(--contour); content: ""; opacity: .7; }
.route-card { position: relative; display: flex; height: 100%; flex-direction: column; gap: 12px; padding: 70px 26px 26px; border: 2px solid var(--ink); background: var(--card); transition: transform 140ms ease, box-shadow 140ms ease; }
a.route-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.route-no { position: absolute; top: 24px; left: 24px; display: grid; width: 44px; height: 44px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); font: 700 14px var(--mono); }
.route-card h2 { margin-top: 0; font-size: clamp(30px, 3vw, 40px); }
.route-card > p:not(.ref) { color: var(--ink-2); }
.go { display: inline-flex; gap: 6px; margin-top: auto; padding-top: 10px; color: var(--water); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.route-private { border-style: dashed; background: repeating-linear-gradient(135deg, transparent 0 14px, var(--grid) 14px 15px), var(--card); }
.route-private .route-no { border-style: dashed; color: var(--muted); }
.gate { margin-top: auto; padding: 8px 12px; border: 1.5px dashed var(--dash); color: var(--muted); font: 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.routes-note { margin-top: 34px; color: var(--muted); }

@media (max-width: 860px) {
  /* Keep the map behind the words quiet on small screens. */
  .access .terrain { opacity: .4; }
  .routes { grid-template-columns: 1fr; }
  .routes::before { top: 30px; right: auto; bottom: 30px; left: 45px; border-top: 0; border-left: 3px dashed var(--contour); }
}
