/* ============ Base ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #f2f1ea; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #f2f1ea;
  --ink: #14150d;
  --lime: #cbe800;
  --lime-bright: #d4f000;
  --muted: #6a6b5f;
  --body: #3a3b31;
  --faint: #c2c1b2;
  --footer-bg: #101107;
  --display: 'Bricolage Grotesque', sans-serif;
  --mono: 'Space Mono', monospace;
  --sans: 'Archivo', sans-serif;
}

@keyframes lime-marquee { to { transform: translateX(-50%); } }
@keyframes lime-in { from { transform: translateY(24px); } to { transform: translateY(0); } }

.page {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  font-family: var(--sans);
  background-image: repeating-linear-gradient(90deg, rgba(20,21,13,.04) 0 1px, transparent 1px clamp(120px,16vw,240px));
  /* clip, not hidden: hidden turns .page into a scroll container,
     which silently breaks position:sticky on the nav */
  overflow-x: hidden;
  overflow-x: clip;
}

.glow-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(640px 420px at 10% 6%, rgba(203,232,0,.34), transparent 65%),
    radial-gradient(720px 520px at 90% 28%, rgba(203,232,0,.2), transparent 65%),
    radial-gradient(860px 640px at 45% 96%, rgba(140,180,60,.16), transparent 60%);
}

.container { max-width: 1320px; margin: 0 auto; }

/* ============ Currency toggle ============ */
.currency-toggle {
  display: inline-flex;
  gap: 4px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(20,21,13,.14);
  border-radius: 999px;
  padding: 4px;
}
.currency-toggle button {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  border: none;
  background: none;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
.currency-toggle button.active {
  background: var(--ink);
  color: var(--lime);
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242,241,234,.5);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 1px 12px rgba(20,21,13,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(24px,5vw,64px);
  max-width: 1320px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
}
.nav-logo img { width: 28px; height: 28px; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px,2.4vw,34px);
  font-size: 15px;
  font-weight: 600;
  flex-wrap: wrap;
}
.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 11px 20px;
  border-radius: 999px;
  transition: all .25s;
}
.nav-cta:hover { background: var(--lime); color: var(--ink); }

/* Compact two-row nav on small screens: logo + CTA on top, links below */
@media (max-width: 680px) {
  .nav-inner { padding: 12px 20px; row-gap: 12px; position: relative; }
  .nav-logo { font-size: 20px; }
  .nav-logo img { width: 24px; height: 24px; }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
  }
  .nav-links a.nav-cta {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 9px 16px;
    font-size: 13px;
  }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: clamp(32px,5vw,56px) clamp(24px,5vw,64px) 26px;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px,8vw,104px);
  line-height: .95;
  letter-spacing: -.045em;
  position: relative;
  z-index: 2;
}
.hero-title span { display: block; }
.hero-title .line-2 { padding-left: .8em; }
.hero-title .line-3 { padding-left: .4em; }
.hero-title .highlight {
  display: inline-block;
  background: var(--ink);
  color: var(--lime-bright);
  padding: 0 .24em;
  border-radius: 18px;
}
.hero-badge {
  position: absolute;
  top: clamp(70px,9vw,120px);
  right: clamp(24px,6vw,80px);
  width: clamp(104px,11vw,140px);
  height: clamp(104px,11vw,140px);
  border-radius: 50%;
  background: rgba(212,240,0,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 14px 34px rgba(20,21,13,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
}
.hero-badge span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.hero-intro { display: flex; justify-content: flex-end; margin-top: 20px; }
.hero-intro-inner { max-width: 44ch; text-align: right; }
.hero-intro p {
  font-size: clamp(16px,1.5vw,20px);
  line-height: 1.5;
  color: var(--body);
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .25s;
  box-shadow: 0 6px 18px rgba(20,21,13,.16);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,21,13,.26); }
.btn-outline {
  border: 1px solid rgba(20,21,13,.45);
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .25s;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* ============ Marquee ============ */
.marquee {
  border-top: 1px solid rgba(20,21,13,.3);
  border-bottom: 1px solid rgba(20,21,13,.4);
  overflow: hidden;
  padding: 16px 0;
  margin-top: 12px;
}
.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: lime-marquee 24s linear infinite;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px,2.6vw,30px);
  letter-spacing: -.01em;
  align-items: center;
}
.marquee-track .dim { color: var(--faint); }
.marquee-track .diamond { color: var(--lime); }

/* ============ Sections ============ */
.section { padding: clamp(48px,6vw,76px) clamp(24px,5vw,64px); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px,5vw,52px);
  letter-spacing: -.03em;
}
.section-link {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1.5px solid var(--lime);
  padding-bottom: 2px;
}

/* ============ Services ledger ============ */
.service-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px,3vw,40px);
  border-top: 1px solid rgba(20,21,13,.3);
  padding: clamp(18px,2.4vw,28px) 0;
  flex-wrap: wrap;
  transition: padding .35s cubic-bezier(.16,1,.3,1);
}
.service-row:hover { padding-left: 18px; }
.service-row:last-child { border-bottom: 1px solid rgba(20,21,13,.4); }
.service-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px,7vw,84px);
  line-height: .9;
  color: var(--faint);
  min-width: 96px;
}
.service-body { flex: 1; min-width: 200px; }
.service-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px,3vw,34px);
}
.service-body p {
  font-size: 15px;
  color: var(--body);
  margin-top: 6px;
  max-width: 52ch;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
  max-width: 280px;
}
.tag {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(20,21,13,.14);
  border-radius: 999px;
  padding: 6px 12px;
}

/* ============ Subscription band ============ */
.subscription { padding: 0 clamp(24px,5vw,64px) clamp(48px,6vw,72px); }
.glass-card {
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(20,21,13,.08), inset 0 1px 0 rgba(255,255,255,.8);
  border: 1px solid rgba(20,21,13,.14);
}
.subscription-card {
  border-radius: 24px;
  padding: clamp(28px,4vw,44px);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.subscription-info { flex: 1; min-width: 280px; }
.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
}
.subscription-info h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px,4vw,44px);
  letter-spacing: -.03em;
  margin: 16px 0 10px;
}
.subscription-info > p { font-size: 16px; color: var(--body); max-width: 52ch; }
.subscription-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.subscription-price { flex: none; text-align: right; min-width: 220px; }
.price-label { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.price-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px,6vw,64px);
  line-height: 1;
  letter-spacing: -.03em;
}
.price-value small { font-size: 16px; font-weight: 500; color: var(--muted); }
.subscription-price .btn-primary { display: inline-block; margin-top: 16px; padding: 15px 28px; }

/* ============ Stats ============ */
.stats {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 clamp(24px,5vw,64px);
  border-radius: 24px;
  background: rgba(20,21,13,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(20,21,13,.16);
  color: var(--bg);
  padding: clamp(40px,5vw,64px);
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('../assets/cyclist.jpg') 72% 40%/cover no-repeat;
  background: image-set(url('../assets/cyclist.webp') type('image/webp'), url('../assets/cyclist.jpg') type('image/jpeg')) 72% 40%/cover no-repeat;
  opacity: .55;
}
.stats::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(16,17,7,.94) 30%, rgba(16,17,7,.55) 62%, rgba(16,17,7,.12) 100%);
}
.stats-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 22px;
}
.stats-sentence {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px,3.4vw,40px);
  line-height: 1.26;
  letter-spacing: -.02em;
}
.stats-sentence .stat { color: var(--lime); }

/* ============ Work grid ============ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px,3vw,40px);
}
.work-card { transition: transform .4s cubic-bezier(.16,1,.3,1); display: block; }
.work-card:hover { transform: translateY(-4px); }
.work-thumb {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: 16px;
  background: linear-gradient(150deg, #edebe0 0%, #e1e0d2 48%, #e7ecd4 100%);
  border: 1px solid rgba(20,21,13,.22);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  overflow: hidden;
}
.work-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-thumb .work-stat { z-index: 1; }
/* App-icon tiles: show the whole icon on a warm ground */
.work-thumb-cream { background: #efe4cf; }
.work-thumb-contain img { object-fit: contain; padding: 8%; }
.work-stat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
}
.work-placeholder { font-family: var(--mono); font-size: 12px; color: #8a8b7d; }
.work-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 4px;
}
.work-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px,2vw,22px);
}
.work-type { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ============ Recognition ============ */
.recognition { padding: 0 clamp(24px,5vw,64px) clamp(48px,6vw,72px); }
.recognition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.recognition-card { border-radius: 16px; padding: 26px; }
.recognition-card .diamond { color: var(--lime); font-size: 20px; }
.recognition-title { font-weight: 700; font-size: 16px; margin-top: 10px; }
.recognition-source {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============ Testimonial ============ */
.testimonial { padding: 0 clamp(24px,5vw,64px) clamp(48px,6vw,72px); }
.testimonial-inner { position: relative; padding-top: 20px; }
.testimonial-mark {
  position: absolute;
  top: clamp(-30px,-3vw,-40px);
  left: -8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(70px,8vw,100px);
  line-height: 1;
  color: var(--lime);
  z-index: 0;
}
.testimonial-quote {
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px,3.2vw,36px);
  line-height: 1.18;
  letter-spacing: -.02em;
  max-width: 26ch;
  z-index: 1;
}
.testimonial-attribution {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.testimonial-who { text-align: right; }
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-role { font-size: 14px; color: var(--muted); }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ============ Footer ============ */
.footer {
  background: var(--footer-bg);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.footer-bg,
.footer-scrim,
.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.footer-bg { background: url('../assets/footer-train.jpg') center 42%/cover no-repeat; opacity: .45; }
.footer-bg { background: image-set(url('../assets/footer-train.webp') type('image/webp'), url('../assets/footer-train.jpg') type('image/jpeg')) center 42%/cover no-repeat; }
.footer-scrim {
  background:
    linear-gradient(75deg, #101107 28%, rgba(16,17,7,.7) 55%, rgba(16,17,7,.15) 100%),
    linear-gradient(180deg, rgba(16,17,7,.25) 0%, rgba(16,17,7,.72) 92%);
}
.footer-glow { background: radial-gradient(620px 400px at 88% 0%, rgba(203,232,0,.12), transparent 65%); }
.footer-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(44px,5.5vw,68px) clamp(24px,5vw,64px) clamp(24px,3vw,32px);
}
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: clamp(32px,4vw,48px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-availability {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}
.footer-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px,4vw,48px);
  letter-spacing: -.03em;
  margin-top: 12px;
}
.footer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lime {
  background: var(--lime);
  color: var(--ink);
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: all .25s;
  box-shadow: 0 6px 20px rgba(203,232,0,.22);
}
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(203,232,0,.38); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.25);
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  color: var(--bg);
  transition: all .25s;
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(28px,4vw,48px);
  padding: clamp(32px,4vw,48px) 0;
}
.footer-brand { min-width: 220px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
}
.footer-logo img { width: 24px; height: 24px; display: block; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #a9aa9c;
  margin-top: 14px;
  max-width: 30ch;
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6a6c5e;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #d7d8cb;
}
.footer-links a:hover { color: var(--lime); }
.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: #a9aa9c;
}
.footer-location .dot { width: 7px; height: 7px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--mono);
  font-size: 12px;
  color: #6a6c5e;
}
