/* ============================================================
   Kow Abaka Essuman — Campaign · GreenRide page
   Layered on top of styles.css. The greens and navy come from the
   GreenRide flyer; everything else uses the site's own tokens.
   ============================================================ */

:root {
  --gr-navy:  #19468D;
  --gr-deep:  #0E2A5A;
  --gr-green: #22A84A;
  --gr-lime:  #7CD957;
  --gr-line:  #d8d2c4;
}

.page-greenride { background: var(--cream); }

.eyebrow--navy  { color: var(--gr-navy); }
.eyebrow--green { color: var(--gr-green); }

/* ---------- Hero ---------- */
.grhero {
  background: linear-gradient(135deg, var(--gr-deep), var(--gr-navy));
  color: #fff;
  border-bottom: 3px solid var(--ink);
}
.grhero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 22px 56px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.grhero__kick {
  display: inline-block;
  background: var(--gr-green);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
}
.grhero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 7.5rem);
  line-height: .9;
  margin: 18px 0 4px;
  letter-spacing: .01em;
}
.grhero__green { color: var(--gr-lime); }
.grhero__sub {
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: #dfe8f7;
}
.grhero__lede {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
}
.grhero__lede strong { color: var(--gr-lime); }
.grhero__body { font-size: 1.1rem; margin: 0 0 20px; color: #e6edf8; max-width: 36rem; }
.grhero__body strong { color: #fff; }
.grhero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.grhero__facts span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: .88rem;
  font-weight: 700;
}
.grhero__art { display: flex; justify-content: center; }
/* The bike is cut from the flyer's photo band; fade its edges into the hero gradient
   the same way the flyer does, rather than showing a hard-edged photo rectangle. */
.grhero__art img {
  width: 100%; max-width: 460px; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 88%, transparent);
  mask-composite: intersect;
}

/* ---------- Green strip (the three facts on the flyer) ---------- */
.grstrip {
  background: var(--gr-green);
  color: #fff;
  border-bottom: 3px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
}
.grstrip div {
  padding: 22px 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  border-right: 2px solid rgba(255,255,255,.25);
}
.grstrip div:last-child { border-right: none; }

/* ---------- How it works ---------- */
.grinfo { padding: 64px 22px 20px; }
.grinfo__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.grinfo__box {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  box-shadow: var(--shadow);
}
.grinfo .eyebrow { margin-bottom: 10px; }
.grinfo__price { margin: 0 0 10px; line-height: 1; }
.grinfo__price strong {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  color: var(--gr-navy);
  font-weight: 400;
}
.grinfo__price span { font-size: 1.05rem; color: #55555f; font-weight: 600; margin-left: 8px; }
.grinfo__badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.grinfo__ticks, .grinfo__dots { list-style: none; padding: 0; margin: 0; }
.grinfo__ticks li, .grinfo__dots li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 11px;
  font-size: 1.05rem;
  font-weight: 600;
}
.grinfo__ticks li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gr-green);
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}
.grinfo__dots li::before {
  content: "";
  position: absolute; left: 3px; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gr-navy);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gr-navy);
}
.grinfo__who { padding-top: 6px; }
.grinfo__tag {
  margin: 26px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gr-navy);
}
.grinfo__tag strong { font-family: var(--font-body); font-style: normal; color: var(--red); }

/* ---------- Registration form ---------- */
.grform { padding: 56px 22px 72px; }
.grform__inner { max-width: 46rem; margin: 0 auto; }
.grform__head { margin-bottom: 26px; }
.grform__head .section__title .italic { color: var(--gr-green); }
.grform__head .section__sub { margin-top: 10px; }

.grnote {
  background: #fff;
  border-left: 7px solid var(--gr-navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px;
  font-size: .98rem;
  color: #55555f;
  margin-bottom: 22px;
}
.grnote strong { color: var(--ink); }

.gr__formerr {
  background: #fff5f6;
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: 9px;
  padding: 12px 14px;
  font-weight: 700;
  margin: 0 0 16px;
}

.gr__set {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 22px 8px;
  margin: 0 0 18px;
  min-width: 0;
}
.gr__set legend {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gr-navy);
  padding: 0 10px;
}

.gr__f { margin: 14px 0 18px; }
.gr__f > label, .gr__q { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 7px; }
.gr__req { color: var(--red); }
.gr__hint { display: block; font-weight: 400; font-size: .86rem; color: #6b6660; margin-top: 2px; }
.gr__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.gr input[type="text"],
.gr input[type="tel"],
.gr input[type="date"],
.gr select {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid var(--gr-line);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  min-height: 50px;
}
.gr select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%2319468D' stroke-width='2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.gr select:disabled { color: #9a948a; }
.gr input:focus, .gr select:focus { outline: none; border-color: var(--gr-navy); background: #fff; }

.gr__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.gr__opts label {
  display: inline-flex; align-items: center; gap: 9px;
  border: 2px solid var(--gr-line);
  border-radius: 9px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
  background: var(--cream);
  min-width: 92px;
}
.gr__opts input { accent-color: var(--gr-navy); width: 18px; height: 18px; margin: 0; }
.gr__opts label:has(input:checked) { border-color: var(--gr-navy); background: #eef3fb; }

.gr__tick { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; margin: 2px 0 16px; cursor: pointer; }
.gr__tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gr-navy); flex: none; }
.gr__tick--consent { font-size: .9rem; color: #55555f; line-height: 1.5; margin-bottom: 4px; }
.gr__tick--consent a { text-decoration: underline; font-weight: 700; color: var(--gr-navy); }

.gr__err { display: none; color: var(--red); font-size: .88rem; font-weight: 700; margin: 6px 0 0; }
.gr__f.is-bad .gr__err { display: block; }
.gr__f.is-bad input, .gr__f.is-bad select, .gr__f.is-bad .gr__opts label { border-color: var(--red); }
.gr__warn {
  background: #fff4e5;
  border: 1px solid #f5c27a;
  color: #7a4b00;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: .9rem;
  margin: 8px 0 0;
}
.gr button:disabled { opacity: .6; cursor: progress; }
.gr .btn--block { margin-top: 6px; }

/* ---------- Done ---------- */
.grdone {
  background: #fff;
  border: 3px solid var(--gr-green);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.grdone__check {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gr-green);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 14px;
}
.grdone h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.grdone__reflabel { margin: 0; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6b6660; }
.grdone__ref {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gr-navy);
  letter-spacing: .06em;
  margin: 2px 0 18px;
}
.grdone ol { padding-left: 1.3rem; }
.grdone li { margin-bottom: 8px; }
.grdone__small { color: #6b6660; font-size: .9rem; margin-bottom: 0; }

.grform__foot { margin: 28px 0 0; text-align: center; font-size: .92rem; color: #6b6660; line-height: 1.7; }
.grform__foot a { color: var(--gr-navy); font-weight: 700; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grhero__inner { grid-template-columns: 1fr; gap: 20px; padding: 48px 22px 44px; }
  .grhero__art img { max-width: 340px; }
  .grinfo__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .grhero__inner { padding: 40px 18px 36px; }
  .grhero__art { display: none; }
  .grstrip { grid-template-columns: 1fr; }
  .grstrip div { border-right: none; border-bottom: 2px solid rgba(255,255,255,.25); padding: 14px; }
  .grstrip div:last-child { border-bottom: none; }
  .grinfo { padding: 44px 18px 10px; }
  .grform { padding: 40px 18px 56px; }
  .gr__set { padding: 16px 16px 4px; }
  .gr__row2 { grid-template-columns: 1fr; gap: 0; }
  .gr__opts label { padding: 11px 14px; min-width: 0; flex: 1 1 auto; justify-content: center; }
  .grdone { padding: 24px 20px; }
}
