/* ===== Tour de France 2026 — huisstijl ===== */
:root {
  --tdf-yellow: #ffe200;
  --tdf-yellow-deep: #f5c400;
  --tdf-green: #0aa84f;
  --tdf-red: #e2231a;
  --tdf-blue: #003a70;
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --paper: #ffffff;
  --paper-soft: #f6f4ee;
  --line: #e7e3d8;
  --radius: 16px;
  --maxw: 1180px;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, .brand__text {
  font-family: "Archivo", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn--yellow {
  background: var(--tdf-yellow);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(245, 196, 0, .45);
}
.btn--yellow:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(245, 196, 0, .55); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(17, 17, 17, .25);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .9rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--tdf-yellow) 0 46%, transparent 47%),
    conic-gradient(var(--ink) 0 25%, var(--tdf-yellow) 0 50%, var(--ink) 0 75%, var(--tdf-yellow) 0);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.brand__text { font-size: 1rem; letter-spacing: .06em; line-height: 1; }
.brand__text strong { font-weight: 900; }
.brand__text em {
  font-style: normal;
  font-weight: 900;
  color: var(--tdf-yellow-deep);
  margin-left: .25em;
  -webkit-text-stroke: .6px var(--ink);
}
.nav__links {
  margin-left: auto;
  display: flex;
  gap: 1.6rem;
}
.nav__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  position: relative;
  padding: .3rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: var(--tdf-yellow);
  transition: width .2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: .6rem 1.2rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0b0b0b 0%, #1c1c1c 60%, #0b0b0b 100%);
  color: #fff;
}
.hero__stripes {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 80px, rgba(255, 226, 0, .04) 80px 82px);
  pointer-events: none;
}
.hero__stripes::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 226, 0, .22) 0%, transparent 65%);
  filter: blur(10px);
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6rem 1.4rem 5rem;
}
.hero__kicker {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--tdf-yellow);
  border: 1px solid rgba(255, 226, 0, .4);
  border-radius: 999px;
  padding: .45rem 1rem;
  margin: 0 0 1.6rem;
}
.hero__title {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  font-weight: 900;
  line-height: .92;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}
.hero__title--accent {
  color: var(--tdf-yellow);
  -webkit-text-stroke: 1.5px var(--tdf-yellow);
}
.hero__sub {
  max-width: 620px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, .8);
  margin: 0 0 2.2rem;
}

/* Countdown */
.countdown {
  display: inline-flex;
  gap: .6rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}
.countdown__cell {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  min-width: 86px;
  text-align: center;
}
.countdown__cell span {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--tdf-yellow);
}
.countdown__cell small {
  display: block;
  margin-top: .4rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  color: rgba(255, 255, 255, .65);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ===== Facts ===== */
.facts {
  background: var(--tdf-yellow);
  color: var(--ink);
}
.facts__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.fact strong {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  display: block;
  line-height: 1;
}
.fact span {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
  opacity: .75;
}

/* ===== Sections ===== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5.5rem 1.4rem;
}
.section--dark {
  max-width: none;
  background: #111;
  color: #fff;
}
.section--dark .section__head,
.section--dark .jerseys { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section--soft { max-width: none; background: var(--paper-soft); }
.section--soft .section__head,
.section--soft .contenders { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section__head { max-width: 720px; margin-bottom: 3rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 800;
  font-size: .78rem;
  color: var(--tdf-yellow-deep);
  margin: 0 0 .8rem;
}
.eyebrow--light { color: var(--tdf-yellow); }
.section__title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.section__lead { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }
.section__lead--light { color: rgba(255, 255, 255, .75); }

/* ===== Route ===== */
.route__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.route-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.8rem;
  color: #fff;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.route-card:hover { transform: translateY(-6px); }
.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
}
.route-card--flat { background: linear-gradient(135deg, #2aa9e0, #0c6fb0); }
.route-card--hill { background: linear-gradient(135deg, #18a85a, #0b6b39); }
.route-card--mountain { background: linear-gradient(135deg, #6d4bd1, #2c1d6b); }
.route-card--finish { background: linear-gradient(135deg, #f5c400, #d68800); color: var(--ink); }
.route-card--finish::before { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,.15) 100%); }
.route-card > * { position: relative; }
.route-card__tag {
  align-self: flex-start;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: auto;
}
.route-card--finish .route-card__tag { background: rgba(0,0,0,.12); border-color: rgba(0,0,0,.25); }
.route-card h3 { font-size: 1.35rem; margin: 1rem 0 .5rem; }
.route-card p { font-size: .92rem; margin: 0; opacity: .92; }

/* ===== Jerseys ===== */
.jerseys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: 0 1.4rem;
}
.jersey {
  background: #181818;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform .2s ease, border-color .2s ease;
}
.jersey:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.25); }
.jersey__icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  margin-bottom: 1.2rem;
  position: relative;
}
.jersey--yellow .jersey__icon { background: var(--tdf-yellow); }
.jersey--green .jersey__icon { background: var(--tdf-green); }
.jersey--white .jersey__icon { background: #fff; }
.jersey--polka .jersey__icon {
  background: #fff;
  background-image: radial-gradient(var(--tdf-red) 28%, transparent 30%);
  background-size: 16px 16px;
}
.jersey h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.jersey p { font-size: .92rem; color: rgba(255,255,255,.7); margin: 0; }

/* ===== Prompts ===== */
.prompts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.prompt {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(17,17,17,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.prompt::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--tdf-yellow), var(--tdf-yellow-deep));
}
.prompt:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--tdf-yellow-deep);
}
.prompt__img {
  width: calc(100% + 3rem);
  margin: -1.6rem -1.5rem 1.3rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--paper-soft);
}
.prompt.is-copied { border-color: var(--tdf-green); }
.prompt__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
}
.prompt__no {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  background: var(--ink);
  border-radius: 12px;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  flex: none;
}
.prompt__title { font-size: 1.18rem; margin: 0; line-height: 1.2; }
.prompt__text {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  margin: 0 0 1.2rem;
  flex: 1;
}
.prompt__copy {
  align-self: flex-start;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .6rem 1.3rem;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.prompt__copy:hover { background: var(--tdf-yellow-deep); color: var(--ink); transform: translateY(-1px); }
.prompt.is-copied .prompt__copy { background: var(--tdf-green); color: #fff; }
.prompts__hint {
  text-align: center;
  margin-top: 2rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ===== Contenders ===== */
.contenders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.contender {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  border-top: 6px solid var(--tdf-yellow);
  transition: transform .2s ease;
}
.contender:hover { transform: translateY(-6px); }
.contender__rank {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 800;
  color: var(--tdf-yellow-deep);
}
.contender h3 { font-size: 1.3rem; margin: .5rem 0 .6rem; }
.contender p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ===== Favorietenlijst ===== */
.fav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.fav {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  border-left: 6px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fav:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-left-color: var(--tdf-yellow); }
.fav--top {
  border-left-color: var(--tdf-yellow-deep);
  background: linear-gradient(120deg, #fffdf2, #fff);
}
.fav__rank {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--ink);
  background: var(--paper-soft);
  border-radius: 12px;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  flex: none;
}
.fav--top .fav__rank { background: var(--tdf-yellow); }
.fav__body { flex: 1; min-width: 0; }
.fav__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.fav__name {
  font-size: 1.22rem;
  margin: 0;
  line-height: 1.25;
}
.fav__team {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--ink-soft);
  margin-top: .15rem;
}
.fav__odds {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--tdf-yellow-deep);
  flex: none;
}
.fav__bar {
  height: 8px;
  background: var(--paper-soft);
  border-radius: 999px;
  overflow: hidden;
  margin: .7rem 0 .8rem;
}
.fav__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--tdf-yellow), var(--tdf-yellow-deep));
  border-radius: 999px;
}
.fav__desc { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.fav-note {
  margin: 1.6rem 0 0;
  font-size: .88rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Voorbeschouwing ===== */
.intro {
  background:
    linear-gradient(180deg, rgba(255,226,0,.12), rgba(255,226,0,0)) ,
    var(--paper-soft);
  border-top: 4px solid var(--tdf-yellow);
}
.intro__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 4.5rem 1.4rem;
  text-align: center;
}
.intro__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  margin: .4rem 0 1.6rem;
}
.intro__quote {
  margin: 0 0 2rem;
  padding: 0;
  position: relative;
}
.intro__quote p {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}
.intro__quote strong { color: var(--ink); }
.intro__quote::before {
  content: "“";
  display: block;
  font-family: "Archivo", serif;
  font-size: 4rem;
  line-height: .6;
  color: var(--tdf-yellow-deep);
  margin-bottom: .4rem;
}

/* ===== Schema / type-badges ===== */
.tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}
.t-vlak { background: var(--tdf-green); }
.t-heuvel { background: #e08a00; }
.t-berg { background: var(--tdf-red); }
.t-tijdrit { background: var(--tdf-blue); }
.t-rust { background: #8a8a8a; }

.schema-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.4rem;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(17,17,17,.05);
}
.schema {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: #fff;
}
.schema thead th {
  background: var(--ink);
  color: #fff;
  text-align: left;
  font-family: "Archivo", sans-serif;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .9rem 1rem;
}
.schema tbody td {
  padding: .85rem 1rem;
  border-top: 1px solid var(--line);
  font-size: .94rem;
  vertical-align: middle;
}
.schema tbody tr:hover { background: #fffdf2; }
.schema__no {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  width: 64px;
}
.schema__rest td { background: #f4f4f4; color: var(--ink-soft); font-style: italic; }
.schema__rest:hover td { background: #efefef; }
.schema__hl {
  background: linear-gradient(90deg, rgba(226,35,26,.08), transparent);
  box-shadow: inset 4px 0 0 var(--tdf-red);
}
.schema__hl:hover { background: linear-gradient(90deg, rgba(226,35,26,.14), transparent); }
.schema__foot {
  margin: 1.4rem 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--tdf-yellow), var(--tdf-yellow-deep));
  color: var(--ink);
}
.cta__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4.5rem 1.4rem;
  text-align: center;
}
.cta h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 .6rem;
}
.cta p { font-size: 1.1rem; margin: 0 0 1.8rem; }
.cta .btn--yellow { background: var(--ink); color: #fff; box-shadow: none; }
.cta .btn--yellow:hover { background: #000; }

/* ===== Footer ===== */
.footer { background: #0b0b0b; color: rgba(255,255,255,.7); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.4rem;
  text-align: center;
}
.footer__brand {
  font-family: "Archivo", sans-serif;
  font-size: 1.3rem;
  letter-spacing: .08em;
  color: #fff;
  margin: 0 0 .8rem;
}
.footer__brand strong { font-weight: 900; }
.footer__brand em { font-style: normal; color: var(--tdf-yellow); }
.footer__note { max-width: 560px; margin: 0 auto 1rem; font-size: .9rem; }
.footer__copy { font-size: .82rem; opacity: .6; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .route__grid, .jerseys { grid-template-columns: repeat(2, 1fr); }
  .prompts, .contenders { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .facts__inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
}
@media (max-width: 560px) {
  .route__grid, .jerseys, .prompts, .contenders { grid-template-columns: 1fr; }
  .hero__inner { padding: 4rem 1.4rem 3.5rem; }
  .countdown__cell { min-width: 70px; padding: .8rem .9rem; }
  .countdown__cell span { font-size: 1.7rem; }
}
