/* ============================================================
   ReadyToRide — base styles (shared across all pages)
   tokens · body · layout · nav · photo carousel · strip · footer
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f4f2ec;
  --bg-2: #ece9df;
  --panel: #ffffff;
  --rule: #d9d5c7;
  --ink: #1a1a17;
  --ink-soft: #4a4842;
  --ink-mute: #8a8776;
  --red: #b6401f;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.mono   { font-family: 'JetBrains Mono', monospace; }
.narrow { font-family: 'Archivo Narrow', 'Archivo', sans-serif; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; width: 100%; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 242, 236, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px; gap: 16px;
}
.brand {
  font-family: 'Archivo', sans-serif; font-weight: 900;
  font-size: 18px; letter-spacing: -0.01em; text-transform: uppercase;
  white-space: nowrap;
}
.brand b { color: var(--red); }
.brand-mark { width: 1.65em; height: 1.65em; display: inline-block; vertical-align: -0.38em; margin-left: 0.45em; object-fit: contain; }

/* ---------- INSTAGRAM LINK ---------- */
.ig-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  font-family: 'JetBrains Mono', monospace; font-weight: 500;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .15s;
}
.ig-link:hover { color: var(--red); }
.ig-icon { width: 18px; height: 18px; flex-shrink: 0; }
.foot-inner .ig-link { margin-top: 0; }

.nav-right { display: flex; gap: 20px; align-items: center; }
.nav-link  { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.nav-link:hover { color: var(--red); }
.back { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }
.back:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink); color: #f4f2ec; padding: 9px 16px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background .15s;
}
.nav-cta:hover { background: var(--red); }

/* ---------- SHARED BUTTONS ---------- */
.btn-yel {
  background: var(--ink); color: #f4f2ec;
  padding: 14px 24px;
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--ink);
  transition: background .15s, border-color .15s;
}
.btn-yel:hover { background: var(--red); border-color: var(--red); }
.btn-yel .arw { font-weight: 900; }

.btn-ghost {
  background: transparent; color: var(--ink); padding: 14px 22px;
  border: 1px solid var(--ink);
  font-family: 'Archivo', sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.btn-ghost:hover { background: var(--ink); color: #f4f2ec; }

/* ---------- PHOTO CAROUSEL (.shots) ---------- */
.shots {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--panel);
  min-height: 336px;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; background-size: cover; background-position: center; }
.shot.active { opacity: 1; }
.shot-1 { background-image: url('../images/ride-01.jpg'); }
.shot-2 { background-image: url('../images/ride-02.jpg'); }
.shot-3 { background-image: url('../images/ride-03.jpg'); }
.shot-4 { background-image: url('../images/ride-04.jpg'); }
.shot-5 { background-image: url('../images/ride-05.jpg'); }
.shot-6 { background-image: url('../images/ride-06.jpg'); }

.shots-ui {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 0; padding: 14px;
}
.shots-dots { display: flex; gap: 8px; margin-left: auto; }
.shots-dots button {
  width: 22px; height: 3px; border: 0; padding: 0;
  background: rgba(244, 242, 236, 0.4); cursor: pointer;
  transition: background .15s;
}
.shots-dots button.active { background: #f4f2ec; }
.shots-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; color: rgba(244, 242, 236, 0.9);
  align-self: center; background: rgba(26, 26, 23, 0.55); padding: 4px 8px;
}

/* ---------- STRIP / MARQUEE (static band of tagline words) ---------- */
.strip,
.marq {
  background: var(--bg); color: var(--ink);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.strip-inner,
.marq-inner {
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: center;
  padding: 16px 20px;
  font-family: 'JetBrains Mono', monospace; font-weight: 500;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
}
.strip-inner span,
.marq-inner span { display: inline-flex; align-items: center; gap: 14px; }
.strip-inner span:not(:last-child)::after,
.marq-inner  span:not(:last-child)::after { content: "—"; color: var(--ink-mute); }

/* ---------- FOOTER ---------- */
footer {
  padding: 32px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule);
}
.foot-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-inner a:hover { color: var(--red); }
