/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
  --color-bg:        #0f1117;
  --color-surface:   #191c27;
  --color-border:    #2a2e3d;
  --color-text:      #e8eaf0;
  --color-muted:     #8b90a4;
  --color-accent:    #f97316;   /* trail orange */
  --color-accent-dim:#7c3910;
  --color-highlight: #fbbf24;   /* gold for PBs */

  --color-strava:    #fc4c02;
  --color-instagram: #e1306c;
  --color-youtube:   #ff0000;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --max-w: 820px;
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 1rem;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: #ea6c10; transform: translateY(-2px); }

.section__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.section__sub {
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  padding: 5rem 1.25rem 4rem;
  background:
    radial-gradient(ellipse at 70% 0%, #7c391022 0%, transparent 60%),
    var(--color-bg);
}

.hero__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Photo */
.hero__photo-wrap {
  flex-shrink: 0;
}

.hero__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
}

.hero__photo-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px dashed var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
}

/* Text */
.hero__text { flex: 1; min-width: 240px; }

.hero__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.hero__name {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero__tagline {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
  max-width: 480px;
}
.hero__tagline strong { color: var(--color-text); }

/* ═══════════════════════════════════════════
   VIDEO SECTION
═══════════════════════════════════════════ */
.video-section {
  padding: 4rem 1.25rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.video-wrapper {
  position: relative;
  max-width: 680px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-bg);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Placeholder shown until real video is added */
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
}
.video-placeholder__text {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════
   STORY / TIMELINE
═══════════════════════════════════════════ */
.story {
  padding: 4rem 1.25rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: var(--color-border);
}

.timeline__item {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 2.5rem;
}

/* Dot on the line */
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: 2px solid var(--color-bg);
  transform: translateX(-4px);
}

.timeline__item--highlight::before {
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent-dim);
}

.timeline__year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.timeline__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.timeline__body p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.timeline__body strong { color: var(--color-highlight); }
.timeline__body em { color: var(--color-text); font-style: normal; }

/* ═══════════════════════════════════════════
   MISSION / ROADMAP
═══════════════════════════════════════════ */
.mission {
  padding: 4rem 1.25rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.roadmap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.roadmap__step {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 200px;
  text-align: center;
}

.roadmap__step--goal {
  border-color: var(--color-accent);
  background: #7c391015;
}

.roadmap__year {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.roadmap__step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.roadmap__step p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.roadmap__arrow {
  font-size: 1.5rem;
  color: var(--color-border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SOCIAL LINKS
═══════════════════════════════════════════ */
.follow {
  padding: 4rem 1.25rem;
  text-align: center;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.socials__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.socials__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.socials__link--strava:hover   { border-color: var(--color-strava);    color: var(--color-strava); }
.socials__link--instagram:hover{ border-color: var(--color-instagram); color: var(--color-instagram); }
.socials__link--youtube:hover  { border-color: var(--color-youtube);   color: var(--color-youtube); }

.socials__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero__inner { flex-direction: column; text-align: center; }
  .hero__tagline { margin-inline: auto; }

  .roadmap__arrow { transform: rotate(90deg); }

  .timeline { padding-left: 1.5rem; }
  .timeline__item { padding-left: 1rem; }
}
