@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&display=swap');

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #56d7ed url("images/gvr-logo.webp") center/cover no-repeat;
  color: transparent;
  font-size: 0;
  flex: none;
}

:root {
  --ink: #05090b;
  --forest: #2c5a64;
  --moss: #68ab54;
  --cream: #f5fcfd;
  --sand: #bbe6e3;
  --coral: #e3373f;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.65 Manrope,Arial,sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: #fff;
  padding: .5rem;
}

.site-header {
  height: 88px;
  padding: 0 max(5vw,28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 12px;
  line-height: 1.22;
  letter-spacing: .03em;
}

.brand strong {
  font-family: Fraunces,serif;
  font-size: 17px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

nav {
  display: flex;
  gap: 27px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

nav a:not(.nav-join) {
  border-bottom: 2px solid transparent;
  padding: 7px 0;
}

nav a:hover,nav .active {
  border-color: var(--coral);
}

.nav-join,.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: var(--coral);
  padding: 13px 19px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  transition: transform .2s,background .2s;
}

.nav-join:hover,.button:hover {
  transform: translateY(-2px);
  background: #b71928;
}

.menu-button {
  display: none;
}

.hero {
  min-height: 548px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--ink);
  color: #fff;
}

.hero-copy {
  padding: 105px max(5vw,28px) 65px max(8vw,60px);
  align-self: center;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--moss);
  font: 500 11px "DM Mono",monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1,h2,h3 {
  font-family: Fraunces,Georgia,serif;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px,5.1vw,73px);
}

.lead {
  max-width: 520px;
  margin: 23px 0 27px;
  font-size: 17px;
  color: #d9f5f5;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.text-link span {
  color: var(--coral);
  font-size: 17px;
  padding-left: 5px;
}

.hero-art {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #56d7ed;
}

.hero-art p {
  position: absolute;
  top: 16%;
  left: 13%;
  z-index: 2;
  margin: 0;
  color: var(--ink);
  font: 600 clamp(30px,3.8vw,57px)/1 Fraunces,serif;
  letter-spacing: -.06em;
}

.sun {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #f5df00;
  top: 9%;
  right: 20%;
}

.hill {
  position: absolute;
  border-radius: 50% 50% 0 0;
}

.hill-one {
  width: 125%;
  height: 55%;
  background: #68ab54;
  bottom: -8%;
  left: -30%;
  transform: rotate(5deg);
}

.hill-two {
  width: 130%;
  height: 43%;
  background: #2c5a64;
  bottom: -15%;
  right: -48%;
  transform: rotate(-7deg);
}

.runner {
  z-index: 3;
  position: absolute;
  bottom: 20%;
  width: 13px;
  height: 46px;
  background: var(--ink);
  border-radius: 10px 10px 3px 3px;
  transform: rotate(17deg);
}

.runner:before {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ink);
  top: -21px;
  left: -2px;
}

.runner:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 6px;
  background: var(--ink);
  bottom: -5px;
  left: -26px;
  transform: rotate(-38deg);
  border-radius: 4px;
}

.runner-one {
  left: 48%;
}

.runner-two {
  left: 63%;
  bottom: 27%;
  transform: scale(.78) rotate(-10deg);
}

.section {
  padding: 100px max(8vw,60px);
}

.section h2 {
  font-size: clamp(34px,4vw,53px);
  margin: 0;
}

.next-run {
  background: var(--sand);
}

.section-heading {
  margin-bottom: 35px;
}

.update-card {
  position: relative;
  max-width: 1000px;
  padding: 50px 54px;
  background: var(--ink);
  color: #fff;
}

.update-card h3 {
  max-width: 670px;
  font-size: clamp(26px,3.3vw,42px);
  margin: 10px 0;
}

.update-card p {
  max-width: 650px;
  color: #d5f3ef;
}

.schedule-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}

.schedule-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 22px;
  background: #ffffff14;
  border-radius: 999px;
}

.schedule-list strong {
  font-size: 15px;
}

.schedule-list span {
  font: 13px "DM Mono",monospace;
  color: #d5f3ef;
}

.pulse {
  font: 11px "DM Mono",monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #dcead6;
}

.pulse span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px #ffffff16;
}

.button-light {
  background: var(--cream);
  color: var(--ink);
}

.button-light:hover {
  background: #fff;
  color: var(--ink);
}

.light {
  color: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}

.intro-copy {
  max-width: 530px;
  font-size: 18px;
}

.intro-copy p {
  margin-top: 3px;
  margin-bottom: 25px;
}

.row-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.location-card {
  min-height: 310px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--forest);
  transition: transform .2s;
}

.location-card:hover {
  transform: translateY(-5px);
}

.location-card span {
  font: 11px "DM Mono",monospace;
  color: #d9f5f5;
}

.location-card h3 {
  margin: auto 0 8px;
  font-size: 30px;
}

.location-card p {
  margin: 0;
  font-size: 12px;
  color: #dbe7db;
}

.location-card b {
  margin-top: 20px;
  font-size: 12px;
}

.location-card i {
  font-style: normal;
  color: #f5df00;
  padding-left: 5px;
}

.beith {
  background: #2c5a64;
}

.dalry {
  background: #378c9d;
}

.kilbirnie {
  background: #68ab54;
}

.lochwinnoch {
  background: #266c82;
}

.strava-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  background: #56d7ed;
  color: var(--ink);
}

.strava-callout .eyebrow {
  color: #2c5a64;
}

.strava-callout p {
  max-width: 390px;
}

.strava-callout .button {
  margin-top: 17px;
  background: var(--ink);
}

.stat-stack {
  display: grid;
  align-content: center;
  border-top: 1px solid #05090b71;
}

.stat-stack div {
  display: flex;
  align-items: center;
  gap: 27px;
  padding: 18px 0;
  border-bottom: 1px solid #05090b71;
}

.stat-stack strong {
  font: 600 51px/1 Fraunces,serif;
}

.stat-stack span {
  font: 12px "DM Mono",monospace;
  text-transform: uppercase;
  line-height: 1.4;
}

.join {
  text-align: center;
  padding-bottom: 115px;
}

.join p:not(.eyebrow) {
  max-width: 530px;
  margin: 19px auto 27px;
}

.join .button {
  margin-top: 2px;
}

footer {
  padding: 48px max(8vw,60px) 27px;
  background: var(--ink);
  color: #e3f6f8;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  font-size: 12px;
}

footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
}

footer p {
  margin: 0;
  color: #a9d9dd;
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.footer-links a:hover {
  text-decoration: underline;
}

footer small {
  grid-column: 1/-1;
  padding-top: 28px;
  color: #78b6bd;
  font-size: 10px;
}

@media(max-width:760px) {
  .site-header {
    height: 72px;
  }

  .menu-button {
    display: block;
    border: 0;
    background: none;
    font: 700 13px Manrope;
    color: var(--ink);
  }

  nav {
    display: none;
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    top: 72px;
    padding: 20px 28px;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
  }

  nav.open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 76px 28px 55px;
  }

  .hero-art {
    min-height: 300px;
  }

  .section {
    padding: 70px 28px;
  }

  .row-heading {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }

  .location-grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-card {
    min-height: 230px;
  }

  .location-card h3 {
    font-size: 25px;
  }

  .intro-grid,.strava-callout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .update-card {
    padding: 35px 28px;
  }

  .footer-links {
    justify-content: start;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hero h1 {
    font-size: 48px;
  }
}

@media(max-width:430px) {
  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-card {
    min-height: 190px;
  }

  .hero h1 {
    font-size: 42px;
  }
}

.route-gallery {
  background: var(--cream);
}

.route-gallery .section-heading>p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.route-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #b9e5e9;
  overflow: hidden;
}

.route-card h3 {
  margin: 3px 0 20px;
  font-size: 28px;
}

.route-number {
  margin: 0;
  color: #2c5a64;
  font: 10px "DM Mono",monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media(max-width:960px) {
  .route-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:760px) {
  .route-gallery {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

.leaders {
  background: var(--sand);
}

.leaders .section-heading>p:not(.eyebrow) {
  max-width: 610px;
  margin: 18px 0 0;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.leader-card {
  background: #fff;
}

.leader-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.leader-card>div {
  padding: 19px 18px 22px;
}

.leader-card .eyebrow {
  margin-bottom: 7px;
  color: #2c5a64;
  font-size: 9px;
}

.leader-card h3 {
  margin: 0;
  font-size: 26px;
}

.leader-card p:last-child {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

@media(max-width:960px) {
  .leader-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:500px) {
  .leader-grid {
    grid-template-columns: 1fr;
  }
}

.nav-join,.button {
  background: #c72732;
}

.nav-join:hover,.button:hover {
  background: #a71e27;
}

.button-light {
  background: #f5fcfd;
  color: #05090b;
}

.button-light:hover {
  background: #fff;
  color: #05090b;
}

.section .eyebrow,.leader-card .eyebrow {
  color: #245a3c;
}

.strava-callout .eyebrow {
  color: #245a3c;
}

.dalry {
  background: #276a78;
}

.location-card,.location-card span,.location-card p,.location-card i {
  color: #fff;
}

.kilbirnie,.kilbirnie span,.kilbirnie p,.kilbirnie i {
  color: var(--ink);
}

.hero-art {
  background: #2c5a64;
}

.banner-image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-art:has(.banner-image)::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: color-mix(in srgb, var(--forest) 32%, transparent);
  content: "";
  pointer-events: none;
}

.text-link:hover {
  border-bottom-color: transparent;
}

.kilbirnie {
  background: #3d7939;
}

.kilbirnie,.kilbirnie span,.kilbirnie p,.kilbirnie i {
  color: #fff;
}

.locations-intro {
  padding-bottom: 45px;
}

.page-title {
  margin: 0;
  font-family: Fraunces,serif;
  font-size: clamp(42px,6vw,76px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.locations-lead {
  max-width: 650px;
  color: var(--ink);
}

.locations-grid-section {
  padding-top: 25px;
}

.join-actions {
  justify-content: center;
}

.about-hero {
  min-height: 390px;
}

.about-hero-copy {
  padding-top: 65px;
  padding-bottom: 65px;
}

.first-run {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8vw;
  align-items: start;
  background: #fff;
}

.first-run-intro>p:not(.eyebrow) {
  max-width: 410px;
  margin: 20px 0 28px;
}

.first-run-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #b9e5e9;
}

.first-run-steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #b9e5e9;
}

.first-run-steps>li>span {
  color: #245a3c;
  font: 500 12px "DM Mono",monospace;
}

.first-run-steps h3 {
  margin: 0;
  font-size: 26px;
}

.first-run-steps p {
  max-width: 480px;
  margin: 8px 0 0;
  font-size: 14px;
}

@media(max-width:760px) {
  .first-run {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .first-run-steps li {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }
}

.meeting-point {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(300px, 1.2fr);
  gap: 7vw;
  align-items: center;
  background: #fff;
}

.meeting-point .section-heading {
  margin: 0;
}

.meeting-point .section-heading>p:not(.eyebrow) {
  max-width: 480px;
  margin: 18px 0 23px;
}

.meeting-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.what3words-prefix {
  padding-left: 0;
  color: var(--coral);
}

.meeting-map {
  width: 100%;
  min-height: 390px;
  border: 0;
}

@media(max-width:760px) {
  .meeting-point {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .meeting-map {
    min-height: 320px;
  }
}
