:root {
  --paper: #f6efd9;
  --paper-deep: #ead8a8;
  --ink: #203226;
  --muted: #63715f;
  --green: #1f5a3e;
  --green-dark: #132d23;
  --gold: #e5ac37;
  --red: #d9442f;
  --blue: #4c8694;
  --white: #fffaf0;
  --shadow: 0 24px 80px rgba(18, 45, 35, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(229, 172, 55, 0.22), transparent 28rem),
    linear-gradient(180deg, #fff6df 0%, #f2e6c7 38%, #d5e1cb 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px clamp(18px, 4vw, 56px) 34px;
  background: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.48) 28rem, transparent 46rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0.4), rgba(255, 250, 240, 0.18) 46%, rgba(19, 45, 35, 0.1));
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--paper);
}

.hero-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.sun {
  position: absolute;
  right: 11%;
  top: 12%;
  width: min(15vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 232, 143, 0.74);
  box-shadow: 0 0 70px rgba(255, 221, 124, 0.72);
}

.hero-hill {
  position: absolute;
  bottom: 20%;
  width: 44vw;
  min-width: 520px;
  height: 42vh;
  border-radius: 56% 48% 10% 10%;
  transform: rotate(45deg) skew(-7deg, -7deg);
  transform-origin: 50% 100%;
}

.hill-back {
  background: linear-gradient(135deg, #6e9c67, #a8bf88);
  opacity: 0.72;
}

.hill-mid {
  background: linear-gradient(135deg, #255b3c, #73a369);
  opacity: 0.94;
  box-shadow: inset -28px -22px 42px rgba(29, 63, 42, 0.16);
}

.hill-a {
  left: -14%;
}

.hill-b {
  right: -6%;
  bottom: 23%;
  width: 36vw;
}

.hill-c {
  left: 16%;
  bottom: 18%;
  width: 38vw;
}

.hill-d {
  right: 18%;
  bottom: 18%;
  width: 34vw;
}

.hero-road {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0;
  height: 25%;
  background:
    linear-gradient(90deg, rgba(134, 109, 60, 0.34), transparent 30%, rgba(229, 172, 55, 0.36)),
    #cdb66b;
  transform: skewY(1.3deg);
  transform-origin: 0 0;
}

.hero-route-line {
  position: absolute;
  left: -7%;
  right: -7%;
  bottom: 11%;
  height: 7px;
  background: linear-gradient(90deg, var(--red), #f0b43c, var(--red));
  box-shadow: 0 4px 14px rgba(217, 68, 47, 0.28);
  transform: skewY(1.3deg);
}

.hero-route-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 250, 240, 0.62) 42px 58px);
  animation: routeDash 4.8s linear infinite;
}

@keyframes routeDash {
  to {
    transform: translateX(100px);
  }
}

.hero-bike {
  position: absolute;
  right: max(-44px, -2vw);
  bottom: 8%;
  width: min(52vw, 820px);
  min-width: 560px;
  color: var(--green-dark);
  filter: drop-shadow(0 26px 32px rgba(19, 45, 35, 0.22));
  animation: bikeFloat 5.6s ease-in-out infinite;
}

@keyframes bikeFloat {
  50% {
    transform: translateY(-10px) rotate(-0.35deg);
  }
}

.bike-shadow ellipse {
  fill: rgba(19, 45, 35, 0.2);
}

.bike-lines {
  fill: none;
  stroke: #172d24;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wheel {
  stroke-width: 18;
}

.hub {
  fill: var(--paper);
  stroke-width: 10;
}

.frame-main,
.fork {
  stroke: #d9442f;
  stroke-width: 22;
}

.fork {
  stroke: #172d24;
  stroke-width: 14;
}

.bike-accent {
  fill: none;
  stroke: #f0b43c;
  stroke-linecap: round;
  stroke-width: 8;
  stroke-dasharray: 28 24;
  animation: routeDash 5.4s linear infinite;
}

.beer-sign path {
  fill: #e5ac37;
  stroke: rgba(19, 45, 35, 0.2);
  stroke-width: 2;
}

.beer-sign text {
  fill: var(--green-dark);
  font-size: 34px;
  font-weight: 950;
  text-anchor: middle;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--green-dark);
  text-shadow: 0 1px 18px rgba(255, 250, 240, 0.72);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: min(850px, 100%);
  color: var(--green-dark);
  text-align: center;
  text-shadow: 0 2px 18px rgba(255, 250, 240, 0.92);
  padding: 7vh 0 13vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: none;
  margin-bottom: clamp(18px, 3vh, 34px);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-copy {
  margin-inline: auto;
  max-width: 680px;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button,
.reveal-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.reveal-button:hover {
  transform: translateY(-2px);
}

.button.primary,
.reveal-button {
  color: var(--green-dark);
  background: var(--gold);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.button.secondary {
  color: var(--green-dark);
  background: rgba(255, 250, 240, 0.58);
  border: 1px solid rgba(31, 90, 62, 0.22);
  backdrop-filter: blur(12px);
}

.scroll-hint {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-shadow: 0 1px 14px rgba(255, 250, 240, 0.8);
}

.scroll-hint span {
  width: 12px;
  height: 26px;
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
}

.scroll-hint span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  animation: wheel 1.3s ease-in-out infinite;
}

@keyframes wheel {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.4;
  }

  50% {
    transform: translate(-50%, 9px);
    opacity: 1;
  }
}

.section {
  position: relative;
  background: var(--paper);
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 11vw, 140px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: start;
}

.text-stack {
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.text-stack p:last-child {
  margin-bottom: 0;
}

.mission {
  border-top: 10px solid var(--green-dark);
}

.stages {
  background:
    linear-gradient(135deg, rgba(76, 134, 148, 0.18), transparent 34rem),
    var(--white);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.stage-card,
.photo-card {
  border: 1px solid rgba(31, 90, 62, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 12px 34px rgba(32, 50, 38, 0.08);
}

.stage-card {
  min-height: 214px;
  padding: 22px;
}

.stage-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.stage-card p,
.photo-card figcaption {
  color: var(--muted);
  line-height: 1.55;
}

.route-section {
  position: relative;
  min-height: 320vh;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(246, 239, 217, 0.94), rgba(228, 237, 218, 0.96)),
    var(--paper);
}

.route-pin {
  position: sticky;
  top: 0;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: clamp(18px, 3vh, 32px);
  padding: clamp(46px, 7vh, 72px) 0 clamp(32px, 5vh, 56px);
}

.route-copy {
  position: relative;
  z-index: 3;
}

.route-copy h2 {
  max-width: 780px;
}

.route-copy p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.route-board {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  max-height: min(62vh, 700px);
  overflow: hidden;
  border: 1px solid rgba(31, 90, 62, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.86), rgba(234, 216, 168, 0.68)),
    var(--paper-deep);
  box-shadow: var(--shadow);
}

.map-art {
  width: 100%;
  height: 100%;
  display: block;
}

.map-field {
  fill: rgba(93, 146, 91, 0.18);
}

.field-two {
  fill: rgba(229, 172, 55, 0.17);
}

.water {
  fill: none;
  stroke: rgba(76, 134, 148, 0.38);
  stroke-width: 28;
  stroke-linecap: round;
}

.lake-shape {
  fill: rgba(76, 134, 148, 0.62);
  stroke: rgba(255, 250, 240, 0.68);
  stroke-width: 7;
  filter: drop-shadow(0 10px 18px rgba(76, 134, 148, 0.18));
}

.lake-shine {
  fill: none;
  stroke: rgba(255, 250, 240, 0.72);
  stroke-width: 8;
  stroke-linecap: round;
}

.lake-shine.small {
  stroke-width: 5;
  opacity: 0.72;
}

.road {
  fill: none;
  stroke: rgba(32, 50, 38, 0.18);
  stroke-width: 18;
  stroke-linecap: round;
  stroke-dasharray: 3 32;
}

.route-line {
  fill: none;
  stroke: url("#routeGradient");
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 12px rgba(217, 68, 47, 0.22));
}

.town circle {
  fill: var(--white);
  stroke: var(--green);
  stroke-width: 9;
}

.town-goal circle {
  stroke: var(--red);
  animation: pulseGoal 1.9s ease-in-out infinite;
}

.town-lake circle {
  stroke: var(--blue);
}

@keyframes pulseGoal {
  50% {
    stroke-width: 16;
  }
}

.town text,
.map-label text {
  text-anchor: middle;
  fill: var(--green-dark);
  font-size: 31px;
  font-weight: 900;
}

.map-label text {
  fill: var(--red);
  font-size: 24px;
}

.label-start,
.label-back {
  display: none;
}

.bike-marker circle {
  fill: var(--white);
  stroke: var(--green-dark);
  stroke-width: 4;
}

.bike-marker text {
  text-anchor: middle;
  font-size: 31px;
}

.mini-bike {
  fill: none;
  stroke: var(--green-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

.mini-bike circle {
  fill: none;
}

.route-stat {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 172px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 90, 62, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 12px 36px rgba(32, 50, 38, 0.12);
}

.route-stat strong {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.route-stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.start-stat {
  left: 6%;
  bottom: 24%;
}

.goal-stat {
  right: 6%;
  top: 11%;
}

.lake-stat {
  left: 44%;
  top: 12%;
}

.return-stat {
  left: 43%;
  bottom: 5%;
}

.photos,
.photo-stack-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(246, 239, 217, 1)),
    var(--white);
}

.photo-stack-section {
  min-height: 1800vh;
}

.photo-stack-pin {
  position: sticky;
  top: 0;
  width: min(1160px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(26px, 6vw, 86px);
  align-items: center;
  padding: clamp(56px, 8vh, 84px) 0;
}

.photo-stack-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.photo-stack-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(74vh, 740px);
}

.photo-stack {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 3 / 4;
  perspective: 1200px;
}

.stack-card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(10px, 1.7vw, 16px);
  border-radius: 8px;
  background: var(--white);
  box-shadow:
    0 22px 70px rgba(18, 45, 35, 0.2),
    0 3px 10px rgba(18, 45, 35, 0.1);
  transform-origin: 50% -20%;
  will-change: transform, opacity;
}

.stack-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 6px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(32, 50, 38, 0.08);
}

.stack-card img,
.stack-card video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  background: #172d24;
}

.video-card {
  background:
    linear-gradient(180deg, var(--white), #efe2bd);
}

.photo-stack-counter {
  position: absolute;
  right: 2%;
  bottom: 5%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(19, 45, 35, 0.76);
  font-size: 0.9rem;
  font-weight: 850;
  box-shadow: 0 12px 34px rgba(18, 45, 35, 0.18);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.photo-card {
  margin: 0;
  overflow: hidden;
}

.photo-placeholder {
  display: grid;
  min-height: 255px;
  place-items: center;
  color: rgba(255, 250, 240, 0.94);
  background:
    linear-gradient(135deg, rgba(31, 90, 62, 0.92), rgba(76, 134, 148, 0.82)),
    var(--green);
  font-size: clamp(2rem, 7vw, 4.8rem);
  font-weight: 950;
}

.photo-card:nth-child(2) .photo-placeholder {
  background: linear-gradient(135deg, rgba(217, 68, 47, 0.9), rgba(229, 172, 55, 0.86));
}

.photo-card:nth-child(3) .photo-placeholder {
  background: linear-gradient(135deg, rgba(32, 50, 38, 0.9), rgba(229, 172, 55, 0.7));
}

.photo-card figcaption {
  margin: 0;
  padding: 16px 18px 19px;
}

.voucher-section {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(60px, 10vw, 120px) 18px;
  background:
    linear-gradient(rgba(19, 45, 35, 0.55), rgba(19, 45, 35, 0.78)),
    linear-gradient(135deg, #2c7552, #203226 58%, #7d2e24);
}

.voucher {
  width: min(820px, 100%);
  border: 2px dashed rgba(32, 50, 38, 0.48);
  border-radius: 8px;
  padding: clamp(28px, 6vw, 62px);
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(32, 50, 38, 0.08) 48% 52%, transparent 52%),
    var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  transform: rotate(-1deg);
}

.voucher-kicker {
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voucher h2 {
  margin: 12px 0 18px;
}

.voucher p {
  max-width: 660px;
  font-size: 1.1rem;
  line-height: 1.65;
}

.voucher-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.voucher-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 750;
}

.voucher-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--white);
}

.reveal-message {
  display: none;
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 6px solid var(--red);
  background: rgba(255, 250, 240, 0.72);
  font-weight: 850;
}

.reveal-message.is-visible {
  display: block;
  animation: reveal 420ms ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--green-dark);
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 850;
}

@media (max-width: 900px) {
  .two-column,
  .stage-grid,
  .photo-grid,
  .photo-stack-pin {
    grid-template-columns: 1fr;
  }

  .stage-card {
    min-height: 0;
  }

  .route-section {
    min-height: 300vh;
  }

  .route-pin {
    width: min(100% - 28px, 760px);
    gap: 18px;
  }

  .route-board {
    aspect-ratio: 4 / 3;
    max-height: 58vh;
  }

  .route-stat {
    min-width: 140px;
    padding: 10px;
  }

  .return-stat {
    left: auto;
    right: 4%;
    bottom: 6%;
  }

  .lake-stat {
    left: 39%;
    top: 21%;
  }

  .photo-stack-section {
    min-height: 1900vh;
  }

  .photo-stack-pin {
    align-content: start;
    gap: 22px;
    padding-top: 46px;
  }

  .photo-stack-copy p:not(.eyebrow) {
    max-width: none;
  }

  .photo-stack-stage {
    min-height: 62vh;
  }

  .photo-stack {
    width: min(440px, 86vw);
  }
}

@media (max-width: 650px) {
  .hero {
    min-height: 94vh;
  }

  .hero::before {
    background:
      radial-gradient(circle at 50% 34%, rgba(255, 250, 240, 0.92), rgba(255, 250, 240, 0.5) 18rem, transparent 30rem),
      linear-gradient(180deg, rgba(255, 250, 240, 0.42), rgba(255, 250, 240, 0.16) 52%, rgba(19, 45, 35, 0.08));
  }

  .topbar {
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 8px;
    text-align: right;
  }

  .hero-content {
    padding-top: 5vh;
  }

  h1 {
    font-size: clamp(4.1rem, 24vw, 7rem);
  }

  .hero-bike {
    right: -520px;
    bottom: 15%;
    min-width: 620px;
    opacity: 0.92;
  }

  .hero-hill {
    min-width: 360px;
    height: 34vh;
  }

  .hill-c {
    left: -7%;
  }

  .hill-d {
    right: -33%;
  }

  .route-pin {
    padding-top: 40px;
  }

  .route-board {
    min-height: 400px;
    max-height: 52vh;
  }

  .route-stat {
    font-size: 0.82rem;
  }

  .start-stat {
    left: 3%;
    bottom: 10%;
  }

  .goal-stat {
    top: 8%;
    right: 3%;
  }

  .lake-stat {
    left: 4%;
    top: 8%;
  }

  .map-label {
    display: none;
  }

  .photo-stack-section {
    min-height: 2000vh;
  }

  .photo-stack-pin {
    width: min(100% - 28px, 460px);
    padding-top: 38px;
  }

  .photo-stack-copy h2 {
    font-size: clamp(2.2rem, 13vw, 3.8rem);
  }

  .photo-stack-stage {
    min-height: 58vh;
  }

  .photo-stack {
    width: min(330px, 84vw);
  }

  .photo-stack-counter {
    right: 0;
    bottom: 0;
  }

  .footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
