/* =====================================================================
   site.css — how the Global Spokes website LOOKS.
   Want to change a colour everywhere? Change it once in the list just
   below (the lines that start with --). Everything else uses those.
   ===================================================================== */

:root {
  /* Colours */
  --brown: #3b2314;        /* deep brown: main text */
  --leather: #6e4f3a;      /* softer brown: small text, borders */
  --green: #2edb63;        /* bright green: buttons, stripes */
  --green-deep: #0e7a36;   /* dark green: links (easy to read on white) */
  --mint: #e9fbef;         /* very light green: some backgrounds */
  --line: #e7ddd4;         /* light line colour */
  --white: #ffffff;

  /* Letters */
  --script: sans-serif;    /* extra alphabet font, set per language below */
  --font-body: "Atkinson Hyperlegible", var(--script), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Bricolage Grotesque", var(--script), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --leading: 1.65;

  /* Sizes */
  --wrap: 72rem;
  --radius: 1.25rem;
  --gap: clamp(1rem, 3vw, 2rem);
}

/* ---- Languages with their own alphabets ---- */
:lang(ar), :lang(fa), :lang(prs), :lang(ps) { --script: "Noto Sans Arabic"; --leading: 1.85; }
:lang(ne) { --script: "Noto Sans Devanagari"; --leading: 1.8; }
:lang(my) { --script: "Noto Sans Myanmar"; --leading: 2.1; }
:lang(am), :lang(ti) { --script: "Noto Sans Ethiopic"; --leading: 1.9; }
:lang(ko) { --script: "Noto Sans KR"; }
:lang(zh) { --script: "Noto Sans SC"; }
:lang(ja) { --script: "Noto Sans JP"; }
/* For these alphabets, use the alphabet's own font first, for all text. */
:lang(ar), :lang(fa), :lang(ps), :lang(am), :lang(ti), :lang(ne), :lang(my), :lang(ko), :lang(zh), :lang(ja) {
  --font-body: var(--script), "Atkinson Hyperlegible", system-ui, sans-serif;
  --font-head: var(--script), "Bricolage Grotesque", system-ui, sans-serif;
}
/* Arabic letters join together, so never space them out or capitalise. */
:lang(ar) *, :lang(fa) *, :lang(ps) *, :lang(ne) *, :lang(my) *, :lang(am) *, :lang(ti) * { letter-spacing: 0 !important; text-transform: none !important; }
/* Burmese has no spaces between words: allow long lines to wrap safely. */
:lang(my) { overflow-wrap: anywhere; }
/* Korean: break lines between words, not in the middle of them. */
:lang(ko) { word-break: keep-all; }
:lang(zh), :lang(ja) { line-break: strict; }

/* ---- The basics ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 8rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: var(--leading);
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 800;
  text-wrap: balance;
}
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green-deep); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--brown); }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 46rem); }

.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 50;
  background: var(--brown); color: var(--white); padding: .6rem 1rem; border-radius: .5rem;
}
.skip:focus { top: 1rem; }

/* ---- Buttons: chunky, like a bike pedal you press ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 3rem; padding: .7em 1.4em;
  border: 2px solid var(--brown); border-radius: 999px;
  box-shadow: 0 4px 0 var(--brown);
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, background-color .15s;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--brown); }
.btn--green { background: var(--green); color: var(--brown); }
.btn--green:hover { background: #5ce886; color: var(--brown); }
.btn--light { background: var(--white); color: var(--brown); }
.btn--light:hover { background: var(--mint); color: var(--brown); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.btn-row--center { justify-content: center; }

.kicker {
  display: inline-flex; align-items: center; gap: .45em;
  margin: 0 0 .6rem; font-family: var(--font-head); font-weight: 800;
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep);
}
.kicker--pill {
  background: var(--mint); color: var(--brown); padding: .35em .9em;
  border: 2px solid var(--brown); border-radius: 999px; letter-spacing: .06em;
}
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 60ch; }
.small { font-size: .92rem; color: var(--leather); }

/* ---- Bike-lane stripes (the dashed green lines) ---- */
.lane {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--green) 0 48px, transparent 48px 76px);
  border-block: 3px solid var(--brown);
  background-color: var(--brown);
}
.lane--thin { height: 6px; border: 0; background-color: transparent; width: min(100% - 2.5rem, var(--wrap)); margin: 0 auto; border-radius: 3px; }
.lane--footer { border-top: 0; }

/* ---- Header ---- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--line);
}
.header__bar { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--brown); }
.brand:hover { color: var(--brown); }
.brand__logo { height: 4.4rem; width: auto; display: block; }
@media (max-width: 40rem) { .brand__logo { height: 3.4rem; } }
.brand__mark .wheel { width: 2.6rem; height: 2.6rem; }
.brand__name { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; white-space: nowrap; }

.lang { display: flex; align-items: center; gap: .4rem; min-width: 0; flex: 0 1 auto; }
.brand { flex: none; }
.lang__label { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .95rem; }
.lang__label .icon { width: 1.4rem; height: 1.4rem; color: var(--green-deep); }
.lang__select {
  font: inherit; font-weight: 700; color: var(--brown);
  background: var(--white); border: 2px solid var(--brown); border-radius: 999px;
  padding: .45rem 2.2rem .45rem .95rem; padding-inline: .95rem 2.2rem;
  min-height: 2.75rem; max-width: 12rem; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--brown) 50%), linear-gradient(135deg, var(--brown) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - .8rem) 55%;
  background-size: .38rem .38rem; background-repeat: no-repeat;
}
[dir="rtl"] .lang__select { background-position: 1.15rem 55%, .8rem 55%; }
.lang__select:hover { background-color: var(--mint); }

.nav { border-top: 1px solid var(--line); }
.nav__list {
  display: flex; gap: .25rem; list-style: none; padding: 0; margin-block: 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.nav__list::-webkit-scrollbar { display: none; }
.nav__list a {
  display: inline-flex; align-items: center; gap: .35em; white-space: nowrap;
  padding: .7rem .8rem; text-decoration: none; color: var(--brown);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .03em;
  border-bottom: 4px solid transparent;
}
.nav__list a:hover, .nav__list a[aria-current] { border-bottom-color: var(--green); }
.nav__hl { color: var(--green-deep) !important; }
.nav__hl .icon { width: 1.05em; height: 1.05em; }

/* ---- Hero (the big top part) ---- */
.hero { background: var(--white); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--gap);
  padding-block: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
}
.hero__title {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.02em; margin: 0;
}
:lang(ar) .hero__title, :lang(fa) .hero__title, :lang(ps) .hero__title, :lang(am) .hero__title, :lang(ti) .hero__title, :lang(ne) .hero__title { line-height: 1.35; }
:lang(my) .hero__title, :lang(my) h1, :lang(my) h2, :lang(my) h3 { line-height: 1.6; }
:lang(ko) .hero__title, :lang(zh) .hero__title, :lang(ja) .hero__title { line-height: 1.25; }
.hero__title--vol { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 1rem; }
.hero__art { position: relative; }
.hero__art::before { /* the green sun behind the bike */
  content: ""; position: absolute; inset: 8% 10% 12% 14%;
  background: var(--mint); border-radius: 50%; z-index: 0;
}
.bike-art { position: relative; z-index: 1; width: 100%; height: auto; overflow: visible; }
[dir="rtl"] .bike-art { transform: scaleX(-1); }

.b-globe * { fill: none; stroke: var(--green); stroke-width: 2.5; opacity: .55; }
.b-speed line { stroke: var(--green); stroke-width: 6; stroke-linecap: round; }
.b-tire { fill: none; stroke: var(--brown); stroke-width: 12; }
.b-rim { fill: none; stroke: var(--green); stroke-width: 4; }
.b-spokes line { stroke: var(--brown); stroke-width: 2; }
.b-hub, .b-cog { fill: var(--brown); }
.b-frame { fill: none; stroke: var(--green); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.b-thick { stroke-width: 13; }
.b-chain { fill: none; stroke: var(--brown); stroke-width: 3; stroke-dasharray: 5 4; }
.b-ring { fill: var(--white); stroke: var(--brown); stroke-width: 5; }
.b-crank, .b-post { stroke: var(--brown); stroke-width: 8; stroke-linecap: round; }
.b-pedal, .b-saddle { fill: var(--brown); }
.b-bars { fill: none; stroke: var(--brown); stroke-width: 8; stroke-linecap: round; }
.b-lamp { fill: var(--brown); }
.b-beam line { stroke: var(--green); stroke-width: 5; stroke-linecap: round; }
.b-ground { stroke: var(--brown); stroke-width: 4; stroke-dasharray: 30 16; }
.b-spin { animation: spin 1.6s cubic-bezier(.2, .7, .2, 1) 1 both; transform-box: fill-box; transform-origin: center; }
@keyframes spin { from { transform: rotate(-360deg); } to { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .b-spin { animation: none; } }

.hero--vol .hero__art--wheel { display: grid; place-items: center; }
.hero--vol .hero__art--wheel .wheel { position: relative; z-index: 1; width: min(22rem, 80%); height: auto; animation: roll 2s ease-out 1 both; }
@keyframes roll { from { transform: rotate(-200deg); } to { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .hero--vol .hero__art--wheel .wheel { animation: none; } }
.hero__tool {
  position: absolute; z-index: 2; inset-inline-end: 12%; bottom: 10%;
  display: grid; place-items: center; width: 5.5rem; height: 5.5rem;
  background: var(--green); color: var(--brown); border: 3px solid var(--brown); border-radius: 50%;
  box-shadow: 0 5px 0 var(--brown);
}
.hero__tool .icon { width: 2.8rem; height: 2.8rem; }

/* The wheel drawing (logo and empty photo spots) */
.wheel .w-tire { fill: none; stroke: var(--brown); stroke-width: 8; }
.wheel .w-rim { fill: none; stroke: var(--green); stroke-width: 3; }
.wheel .w-spokes line { stroke: var(--brown); stroke-width: 1.6; }
.wheel .w-hub { fill: var(--brown); }

/* ---- Sections ---- */
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--mint { background: var(--mint); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.section__head h2 { margin-bottom: 0; }
.prose p { max-width: 68ch; }
.prose--cols { columns: 2 22rem; column-gap: 3rem; }
.prose--cols p { break-inside: avoid; }

/* Two photos side by side ("Supporting Communities In Need" on the About page) */
.duo__title { text-align: center; margin-bottom: clamp(1rem, 3vw, 1.5rem); }
.duo__text { max-width: 44rem; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; font-size: clamp(1.08rem, 1.8vw, 1.25rem); }
.duo__text p { margin: 0 0 1em; }
.duo__text p:last-child { margin-bottom: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 2.5rem); max-width: 54rem; margin: 0 auto; }
.duo__item { margin: 0; }
.photo--duo { aspect-ratio: 3 / 4; object-fit: cover; border: 3px solid var(--brown); box-shadow: 0 8px 0 var(--green); }
.duo__item:nth-child(2) .photo--duo { box-shadow: 0 8px 0 var(--brown); }
@media (min-width: 40rem) {
  .duo__item:nth-child(1) { transform: rotate(-1.5deg); }
  .duo__item:nth-child(2) { transform: rotate(1.5deg) translateY(1.25rem); }
}
@media (prefers-reduced-motion: reduce) { .duo__item { transform: none !important; } }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }

/* Photos, and the green wheel tile shown until a photo is added */
.photo { width: 100%; border-radius: var(--radius); object-fit: cover; background: var(--mint); }
.photo--empty {
  display: grid; place-items: center; aspect-ratio: 4 / 3;
  border: 3px dashed var(--green); background: var(--mint);
}
.photo--empty .wheel { width: 38%; height: auto; opacity: .9; }
.photo--tall { aspect-ratio: 4 / 5; border: 3px solid var(--brown); box-shadow: 10px 10px 0 var(--green); }
[dir="rtl"] .photo--tall { box-shadow: -10px 10px 0 var(--green); }
.photo--round { aspect-ratio: 1; border-radius: 50%; border: 8px solid var(--brown); }
.photo--story { aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; border: 0; border-bottom: 3px solid var(--brown); }
.photo--sheet { aspect-ratio: 8.5 / 11; border: 2px solid var(--brown); box-shadow: 0 6px 0 var(--brown); background: var(--white); }
.photo--offer { aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--green); }
/* Portraits in a round "tyre" frame */
.photo--tire {
  aspect-ratio: 1; border-radius: 50%; width: min(13rem, 70%); margin: 0 auto 1.2rem;
  border: 10px solid var(--brown); outline: 3px dashed var(--green); outline-offset: 5px;
}
.photo--tire.photo--empty .wheel { width: 60%; }

/* ---- Impact band ---- */
.impact { background: var(--green); border-block: 3px solid var(--brown); }
.impact__grid { display: grid; grid-template-columns: auto 1fr 12rem; gap: var(--gap); align-items: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
.impact__num {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: .2rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 6rem); line-height: 1; letter-spacing: -.04em;
}
.impact__num .icon { width: 4rem; height: 4rem; stroke-width: 1.6; }
.impact__text { font-size: clamp(1.05rem, 1.8vw, 1.2rem); font-weight: 700; max-width: 62ch; }
.impact .btn { margin-top: .5rem; }

/* ---- About ---- */
.goals { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.goals__intro { font-weight: 700; font-size: 1.15rem; margin: 0; }
.goals__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.goals__list li {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem;
  border: 2px solid var(--brown); border-radius: var(--radius); background: var(--white);
  box-shadow: 0 5px 0 var(--green); font-weight: 700;
}
.goals__num {
  flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; background: var(--green); border: 2px solid var(--brown);
  font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800;
}
.team__title { margin-top: 3.5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: var(--gap); margin-top: 1.5rem; }
.person { border: 2px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem 1rem; background: var(--white); }
.person__name { text-align: center; font-size: 1.35rem; }
.person p { font-size: 1rem; }
.friends { margin-top: 3rem; padding: 1.8rem; border-radius: var(--radius); background: var(--mint); border: 2px dashed var(--green-deep); }
.friends__title { font-size: 1.3rem; }
.chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { background: var(--white); border: 2px solid var(--brown); border-radius: 999px; padding: .35rem 1rem; font-weight: 700; }
/* Partner logos: each sits on its own white card, the same size as the others */
.logos { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7.5rem), 1fr)); gap: .9rem; }
@media (min-width: 40rem) { .logos { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); } }
@media (max-width: 40rem) { .friends { padding: 1.2rem; } .logo-tile { height: 6.5rem; padding: .7rem; } }
.logo-tile {
  display: flex; align-items: center; justify-content: center; height: 8rem; padding: .9rem; overflow: hidden;
  background: var(--white); border: 2px solid var(--brown); border-radius: 1rem; box-shadow: 0 4px 0 var(--green);
}
.photo.logo { width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; object-fit: contain; aspect-ratio: auto; border: 0; border-radius: 0; background: none; box-shadow: none; }
.photo.logo--rounded { border-radius: .6rem; }
.friends__startup { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .25rem; }
.friends__startup p { margin: 0; font-weight: 700; }
.logo-tile--wide { width: min(100%, 22rem); height: 6.5rem; }

/* ---- Projects ---- */
.stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: var(--gap); }
.story { background: var(--white); border: 3px solid var(--brown); border-radius: calc(var(--radius) + 3px); box-shadow: 0 6px 0 var(--brown); overflow: hidden; }
.story .photo--empty { aspect-ratio: 16 / 10; border: 0; border-bottom: 3px solid var(--brown); border-radius: 0; }
.story__body { padding: 1.4rem 1.5rem .6rem; }
/* Two photos side by side at the top of a card */
.story__pair { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 3px solid var(--brown); }
.story__pair .photo--story { border-bottom: 0; border-radius: 0; aspect-ratio: 8 / 10; }
.story__pair .photo--story + .photo--story { border-inline-start: 3px solid var(--brown); }
/* Choose which part of a photo stays in view when it's cropped */
.photo--pos-top { object-position: 50% 15%; }
.photo--pos-bottom { object-position: 50% 80%; }
/* A drawing (like the Refuge Coffee truck) shown whole, with no frame */
.story__art { margin: .4rem 0 1rem; }
.photo.photo--art { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; background: none; box-shadow: none; }
.story__body h3 { font-size: 1.25rem; }
.story__body h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; }
.story__body p { font-size: 1rem; }

/* ---- Bike safety ---- */
.safety { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.gear { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.gear li { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--mint); border: 2px solid var(--brown); color: var(--brown); }
.gear .icon { width: 2.1rem; height: 2.1rem; }
.safety__sheets { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.safety__sheets .photo:nth-child(2) { transform: translateY(1.5rem); }

/* ---- Get involved / donate ---- */
.give {
  margin: 2.5rem 0; padding: clamp(1.4rem, 4vw, 2.5rem);
  background: var(--white); border: 3px solid var(--brown); border-radius: calc(var(--radius) + 6px);
}
.give__title { text-align: center; }
.tiers { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.tier { display: grid; align-content: start; justify-items: center; text-align: center; gap: .3rem; padding: 1.4rem 1rem 1rem; border: 2px solid var(--brown); border-radius: var(--radius); background: var(--white); }
.tier--top { background: var(--mint); box-shadow: 0 5px 0 var(--green); }
.tier__icons { display: flex; gap: .35rem; color: var(--green-deep); }
.tier__icons .icon { width: 1.9rem; height: 1.9rem; }
.tier__amt { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1.1; }
.tier p { margin: 0; font-weight: 700; }
.give__tax { text-align: center; margin: 1.2rem 0 0; }
/* Ways to give: PayPal, Stripe and one more link */
.pay__title { text-align: center; margin: 2.2rem 0 1rem; }
.pay { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.pay__card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .45rem;
  padding: 1.4rem 1.2rem 1.3rem; border: 2px solid var(--brown); border-radius: var(--radius); background: var(--white);
  border-top-width: 8px;
}
.pay__card--paypal { border-top-color: #0070e0; }
.pay__card--stripe { border-top-color: #635bff; }
.pay__card--link { border-top-color: var(--green); }
.pay__icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--mint); border: 2px solid var(--brown); }
.pay__icon .icon { width: 1.7rem; height: 1.7rem; }
.pay__brand { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; line-height: 1.2; }
.pay__card--paypal .pay__brand { color: #003087; }
.pay__card--stripe .pay__brand { color: #4b45c6; }
.pay__text { margin: 0 0 .6rem; font-size: .98rem; flex: 1; }
.pay__card .btn { width: 100%; }
.btn--soon { background: #f1ece8; color: var(--leather); border-color: #cbbdb1; box-shadow: none; cursor: default; font-weight: 700; }
.btn--soon:active { transform: none; box-shadow: none; }
.pay__secure { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 1.1rem 0 0; font-size: .95rem; color: var(--leather); text-align: center; }
.pay__secure .icon { color: var(--green-deep); flex: none; }

.offer { display: grid; grid-template-columns: 10rem 1fr; gap: 1.5rem; align-items: center; margin: 2.5rem 0; padding: 1.5rem; background: var(--white); border-radius: var(--radius); border: 2px solid var(--line); }
.offer .photo--empty { border-radius: 50%; aspect-ratio: 1; }
.offer__title { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; margin: 0; }
.offer__sub { font-weight: 700; color: var(--green-deep); font-size: 1.15rem; margin-bottom: .5rem; }
.offer__body p:last-child { margin: 0; }

.pair { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); align-items: center; margin-top: 2.5rem; }
.pair .quote { margin: 0; }
.every-bike { max-width: 70ch; }
.every-bike h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }

.quote {
  position: relative; margin: 2.5rem 0 0; padding: 2rem 2rem 1rem; padding-inline-start: 4.5rem;
  background: var(--white); border-inline-start: 8px solid var(--green); border-radius: var(--radius);
  font-size: 1.15rem; font-style: italic;
}
.quote::before {
  content: "\201C"; position: absolute; inset-inline-start: 1.2rem; top: .4rem;
  font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--green-deep); font-style: normal;
}
:lang(ar) .quote, :lang(fa) .quote, :lang(ps) .quote, :lang(ne) .quote, :lang(my) .quote, :lang(zh) .quote, :lang(ja) .quote, :lang(ko) .quote, :lang(am) .quote, :lang(ti) .quote { font-style: normal; }

/* ---- "We will pick up bikes" road ---- */
.road { background: var(--brown); color: var(--white); overflow: hidden; position: relative; }
.road::after { /* dashed centre line */
  content: ""; position: absolute; inset-inline: 0; bottom: .6rem; height: 4px;
  background: repeating-linear-gradient(90deg, var(--green) 0 40px, transparent 40px 70px);
}
.road__inner { display: flex; justify-content: center; gap: 3rem; padding: 1.4rem 1.25rem 1.9rem; flex-wrap: nowrap; }
.road__item { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; font-family: var(--font-head); font-size: clamp(1.1rem, 2.4vw, 1.5rem); }
.road__item .icon { width: 2rem; height: 2rem; color: var(--green); }
[dir="rtl"] .road__item .icon { transform: scaleX(-1); }
@media (max-width: 60rem) { .road__item[aria-hidden] { display: none; } }

/* ---- Forms ---- */
.contact__title { font-size: clamp(1.3rem, 2.8vw, 1.8rem); }
.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.form--card { background: var(--white); padding: clamp(1.2rem, 4vw, 2rem); border: 3px solid var(--brown); border-radius: calc(var(--radius) + 4px); margin-top: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__note { margin: 0; font-size: .92rem; color: var(--leather); }
.field { display: grid; gap: .35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; padding: 0; }
.field legend { margin-bottom: .5rem; }
.req { color: var(--green-deep); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; color: var(--brown);
  padding: .75rem .9rem; min-height: 3rem;
  border: 2px solid var(--leather); border-radius: .75rem; background: var(--white);
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--green); outline-offset: 1px; border-color: var(--brown); }
.field textarea { resize: vertical; }
.hint { margin: 0; font-size: .9rem; color: var(--leather); }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .6rem; }
.checks--row { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); }
.check {
  display: flex; align-items: center; gap: .6rem; padding: .65rem .85rem; min-height: 3rem;
  border: 2px solid var(--line); border-radius: .75rem; cursor: pointer; font-weight: 400 !important; background: var(--white);
}
.check:has(input:checked) { border-color: var(--brown); background: var(--mint); }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--green-deep); flex: none; margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Volunteer page ---- */
.roles { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: 1.25rem; }
.role { padding: 1.5rem; border: 2px solid var(--brown); border-radius: var(--radius); box-shadow: 0 6px 0 var(--green); background: var(--white); }
.role h3 { font-size: 1.2rem; margin: .9rem 0 .5rem; }
.role p { margin: 0; font-size: 1rem; }
.role__icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--green); border: 2px solid var(--brown); }
.role__icon .icon { width: 1.8rem; height: 1.8rem; }
.signup { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.signup__expect { margin-top: 1.5rem; font-size: 1.2rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks .icon { width: 1.6rem; height: 1.6rem; color: var(--green-deep); margin-top: .1rem; }

/* ---- "Donate A Ride" strip (every page) ---- */
.closing { padding-block: clamp(2.5rem, 6vw, 4rem); background: var(--white); border-top: 2px solid var(--line); }
.closing__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); }
.closing__card { padding: clamp(1.4rem, 4vw, 2.2rem); border-radius: calc(var(--radius) + 4px); background: var(--green); border: 3px solid var(--brown); box-shadow: 0 6px 0 var(--brown); }
.closing__card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.closing__card p { font-weight: 700; }
.closing__card .btn--green { background: var(--white); }
.closing__card--guide { background: var(--mint); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.closing__card--guide h2 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
.closing__icon { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--green); border: 2px solid var(--brown); margin-bottom: .9rem; }
.closing__icon .icon { width: 2rem; height: 2rem; }

/* ---- Footer ---- */
.footer { background: var(--brown); color: #f6efe9; font-size: .98rem; }
.footer a { color: var(--green); }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 2rem; padding-block: 2.5rem 3rem; }
.footer__logo { margin: 0 0 1rem; }
.footer__logo-card { display: inline-block; background: var(--white); border-radius: 1rem; padding: .6rem .9rem; border: 2px solid var(--green); }
.footer__logo-card:hover { border-color: var(--white); }
.footer__logo-card .brand__logo { height: 4.5rem; }
.footer__name { display: flex; align-items: center; gap: .5rem; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--white); }
.wheel-mini .wheel { width: 2.2rem; height: 2.2rem; }
.footer .wheel .w-tire, .footer .wheel .w-spokes line { stroke: #f6efe9; }
.footer .wheel .w-hub { fill: #f6efe9; }
.footer address { font-style: normal; display: flex; gap: .5rem; }
.footer .icon { color: var(--green); }
.footer__h { font-size: 1rem; font-family: var(--font-body); display: flex; align-items: center; gap: .4rem; }
.footer__langlist { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.footer__langlist a { display: inline-block; padding: .3rem .75rem; border: 1px solid rgba(46, 219, 99, .55); border-radius: 999px; text-decoration: none; }
.footer__langlist a[aria-current] { background: var(--green); color: var(--brown); }
.footer__legal { color: #d9ccc1; }
[dir="rtl"] .footer address, [dir="rtl"] .footer__brand a { justify-content: flex-end; }

/* =====================================================================
   PAGES (v2): homepage doors, page headers, booking-style forms
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--cream { background: var(--mint); }

/* Page header (top of every inner page) */
.pagehead { background: var(--white); }
.pagehead__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: var(--gap); align-items: center; padding-block: clamp(2rem, 5vw, 3.5rem); }
.pagehead__title { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .8rem; }
:lang(ar) .pagehead__title, :lang(fa) .pagehead__title, :lang(ps) .pagehead__title, :lang(am) .pagehead__title, :lang(ti) .pagehead__title, :lang(ne) .pagehead__title { line-height: 1.35; }
.pagehead .lead { margin: 0; }
.pagehead__art { position: relative; justify-self: center; width: min(15rem, 100%); }
.pagehead__art .wheel { width: 100%; height: auto; animation: roll 1.8s ease-out 1 both; }
.pagehead__badge {
  position: absolute; inset-inline-end: -.5rem; bottom: .5rem; display: grid; place-items: center;
  width: 5rem; height: 5rem; border-radius: 50%; background: var(--green); color: var(--brown);
  border: 3px solid var(--brown); box-shadow: 0 5px 0 var(--brown);
}
.pagehead__badge .icon { width: 2.5rem; height: 2.5rem; }
@media (prefers-reduced-motion: reduce) { .pagehead__art .wheel { animation: none; } }

/* Homepage: hero + three big doors */
.hero--home .hero__grid { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem); }
.hero--home .lead { margin: 1.2rem 0 0; }
.hero--home .hero__art { max-width: 26rem; justify-self: center; }
.doors { padding-bottom: 0; }
.doors__grid { list-style: none; margin: 0; padding: 0 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.door {
  position: relative; display: flex; flex-direction: column; gap: .5rem; height: 100%; min-height: 15rem;
  padding: 1.6rem 1.6rem 1.4rem; border: 3px solid var(--brown); border-radius: 1.6rem;
  box-shadow: 0 8px 0 var(--brown); color: var(--brown); text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.door:hover { transform: translateY(-4px); box-shadow: 0 12px 0 var(--brown); color: var(--brown); }
.door:active { transform: translateY(5px); box-shadow: 0 3px 0 var(--brown); }
.door:focus-visible { outline: 4px solid var(--green-deep); outline-offset: 5px; }
.door--donate { background: var(--green); }
.door--volunteer { background: var(--white); }
.door--contact { background: var(--brown); color: var(--white); }
.door--contact:hover { color: var(--white); }
.door__icon {
  display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%;
  background: var(--white); border: 3px solid var(--brown); color: var(--brown);
}
.door--volunteer .door__icon, .door--contact .door__icon { background: var(--green); }
.door--contact .door__icon { border-color: var(--green); }
.door__icon .icon { width: 2.2rem; height: 2.2rem; }
.door__label { margin-top: .6rem; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.1; letter-spacing: .01em; }
.door__desc { font-weight: 700; font-size: 1.05rem; line-height: 1.45; }
.door__go {
  margin-top: auto; align-self: flex-end; display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid currentColor;
}
.door__go .icon { width: 1.5rem; height: 1.5rem; }
[dir="rtl"] .door__go .icon, [dir="rtl"] .appt-card__go .icon { transform: scaleX(-1); }
.more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem; padding: .5rem 0 2.5rem; }
.more__title { margin: 0; font-size: 1rem; font-family: var(--font-body); font-weight: 700; color: var(--leather); }
.more__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.more__list a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--brown); background: var(--white); color: var(--brown); text-decoration: none; font-weight: 700;
}
.more__list a:hover { background: var(--mint); }
.more__list .icon { color: var(--green-deep); }

/* Booking layout: "How it works" on one side, the form card on the other */
.booking { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.booking__side { position: sticky; top: 9rem; }
.booking__title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1.4rem; }
.how { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.3rem; }
.how li { display: flex; align-items: flex-start; gap: 1.1rem; font-size: 1.18rem; }
.how li > span:last-child { padding-top: .55rem; }
.how__num {
  flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--green); border: 3px solid var(--brown); font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: 1.4rem;
}
.booking__note { display: flex; gap: .5rem; align-items: flex-start; color: var(--leather); }
.booking__note .icon { color: var(--green-deep); margin-top: .2rem; }
.details { margin-top: 1.5rem; font-size: 1.12rem; }
.details p { margin: 0 0 .5rem; display: flex; gap: .5rem; align-items: flex-start; }
.details__phone { font-weight: 700; display: inline-flex; gap: .5rem; align-items: center; }
.details .icon { color: var(--green-deep); }
[dir="rtl"] .details__addr, [dir="rtl"] .details p { justify-content: flex-start; }

.form--card {
  background: var(--white); padding: clamp(1.3rem, 4vw, 2.4rem); margin: 0;
  border: 2px solid var(--brown); border-radius: 1.6rem; box-shadow: 0 8px 0 var(--green);
}
.form--card .form { margin-top: 1rem; }
.form__title { font-size: 1.6rem; margin: 0; }
.form { gap: 1.35rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field textarea, .field select {
  width: 100%; font: inherit; color: var(--brown); padding: .8rem 1rem; min-height: 3.4rem;
  border: 2px solid #d3c5b9; border-radius: .9rem; background: var(--white);
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--leather); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--green); outline-offset: 1px; border-color: var(--brown); }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-inline-end: 2.6rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--brown) 50%), linear-gradient(135deg, var(--brown) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 55%, calc(100% - .95rem) 55%; background-size: .4rem .4rem; background-repeat: no-repeat;
}
[dir="rtl"] .field select { background-position: 1.3rem 55%, .95rem 55%; }
.field legend { font-size: 1.12rem; margin-bottom: .8rem; }
.opts { display: grid; gap: .75rem; }
.opts--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.field .opt, .opt {
  display: flex; align-items: center; gap: .9rem; min-height: 3.6rem; padding: .85rem 1.15rem;
  border: 2px solid #e2d8cf; border-radius: .95rem; background: var(--white);
  font-weight: 400; font-size: 1.08rem; line-height: 1.35; cursor: pointer;
  transition: border-color .12s, background-color .12s, box-shadow .12s;
}
.opt:hover { border-color: var(--leather); }
.opt:has(input:checked) { border-color: var(--green-deep); background: var(--mint); box-shadow: inset 0 0 0 1px var(--green-deep); }
.opt:has(input:focus-visible) { outline: 3px solid var(--brown); outline-offset: 2px; }
.opt input { width: 1.4rem; height: 1.4rem; margin: 0; flex: none; accent-color: var(--green-deep); cursor: pointer; }
.opt__icon { display: inline-grid; color: var(--green-deep); }
.opt__icon .icon { width: 1.45rem; height: 1.45rem; }
.opt--inline { border-color: transparent; background: transparent; padding-inline: .2rem; }
.opt--inline:hover { border-color: transparent; }
.form__row--bottom { align-items: end; }
.btn--wide { width: 100%; justify-self: stretch; font-size: 1.1rem; min-height: 3.6rem; }

.appt-card {
  display: flex; flex-direction: column; gap: .55rem; padding: 1.7rem; margin-bottom: 1rem;
  background: var(--green); color: var(--brown); text-decoration: none;
  border: 3px solid var(--brown); border-radius: 1.6rem; box-shadow: 0 8px 0 var(--brown);
  transition: transform .12s, box-shadow .12s;
}
.appt-card:hover { transform: translateY(-3px); box-shadow: 0 11px 0 var(--brown); color: var(--brown); }
.appt-card:active { transform: translateY(5px); box-shadow: 0 3px 0 var(--brown); }
.appt-card__icon { display: grid; place-items: center; width: 3.8rem; height: 3.8rem; border-radius: 50%; background: var(--white); border: 3px solid var(--brown); }
.appt-card__icon .icon { width: 2rem; height: 2rem; }
.appt-card__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.15; }
.appt-card__desc { font-weight: 700; }
.appt-card__go { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; text-decoration: underline; text-underline-offset: .2em; margin-top: .3rem; }

.road__inner--cta { flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.road__inner--cta .btn { background: var(--green); }
.safety__guide { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }

@media (max-width: 56rem) {
  .pagehead__grid { grid-template-columns: 1fr; }
  .pagehead__art { display: none; }
  .doors__grid { grid-template-columns: 1fr; }
  .door { min-height: 0; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon label go" "icon desc go"; column-gap: 1rem; row-gap: .2rem; align-items: center; }
  .door__icon { grid-area: icon; }
  .door__label { grid-area: label; margin: 0; }
  .door__desc { grid-area: desc; font-size: .98rem; }
  .door__go { grid-area: go; margin: 0; align-self: center; width: 2.6rem; height: 2.6rem; }
  .booking { grid-template-columns: 1fr; }
  .booking__side { position: static; }
  .hero--home .hero__art { max-width: 18rem; }
}
@media (max-width: 40rem) {
  .hero--home .hero__art { display: none; }
  .door__icon { width: 3.3rem; height: 3.3rem; }
  .door__icon .icon { width: 1.7rem; height: 1.7rem; }
  .form__row--bottom { gap: .6rem; }
}

/* ---- Smaller screens ---- */
@media (max-width: 56rem) {
  .hero__grid, .split, .safety, .signup, .closing__grid, .pair { grid-template-columns: 1fr; }
  .hero__art { max-width: 30rem; }
  .impact__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .impact__media { width: 11rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .split__media { max-width: 26rem; }
  .photo--tall { aspect-ratio: 4 / 3; }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .form__row { grid-template-columns: 1fr; }
  .lang__text { display: none; }
  .lang__select { width: 100%; min-width: 0; max-width: 9.5rem; padding-inline: .7rem 1.9rem; }
  .brand__mark .wheel { width: 2.1rem; height: 2.1rem; }
  .brand__name { font-size: 1.15rem; }
  .offer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .offer .photo { width: 9rem; }
  .quote { padding-inline-start: 1.5rem; padding-top: 3.5rem; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .section__head .btn { width: auto; }
}
