@charset "UTF-8";
/* ============================================================
   PYRÉNÉES 2027 — retro cycling poster theme · VÉLO EDITION (v2)
   Same selectors & structure as v1. Changes marked "v2:".
   Palette: cream paper / ink navy / poster red / mustard
   New: maillot-jaune yellow, KOM polka dots, light animation.
   ============================================================ */

:root {
  --paper: #f4ecd8;
  --paper-dark: #ece1c6;
  --ink: #1f2a44;
  --ink-soft: #45507a;
  --red: #c73e2e;
  --red-dark: #a53225;
  --mustard: #d9a441;
  --green: #4a7c59;
  --cream-card: #faf5e8;
  --rule: rgba(31, 42, 68, 0.25);
  /* v2: two new tokens */
  --jaune: #f0c135;   /* maillot jaune */
  --bleu: #3b5384;    /* tricolore blue, from the ink family */

  /* gradient profile colours (climbfinder-ish) */
  --g0: #8fbf7f;
  --g4: #d9a441;
  --g7: #d97c2b;
  --g10: #c73e2e;
  --g13: #7c2230;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* keep anchor targets clear of the sticky nav (~54px tall) */
section[id], .climb[id] { scroll-margin-top: 70px; }

::selection { background: var(--jaune); color: var(--ink); } /* v2 */

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  background-image:
    radial-gradient(rgba(31,42,68,0.035) 1px, transparent 1px),
    radial-gradient(rgba(199,62,46,0.02) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 5px;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }

img, svg { max-width: 100%; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 1.1rem; }

section { padding: 3.2rem 0 2.4rem; }

/* ---------- ornamental section header ---------- */
.sec-head { text-align: center; margin-bottom: 2rem; }
.sec-head .kicker {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.72rem;
  color: var(--red);
  display: block;
  margin-bottom: 0.4rem;
}
/* v2: section titles get the poster face */
.sec-head h2 {
  font-family: "Passion One", "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 6.5vw, 3.2rem);
  letter-spacing: 0.03em;
}
.sec-head .flourish {
  display: flex; align-items: center; justify-content: center;
  gap: 0.7rem; margin-top: 0.6rem; color: var(--red);
}
.sec-head .flourish::before,
.sec-head .flourish::after {
  content: ""; height: 1px; width: 70px; background: var(--rule);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden; /* v2 */
  padding: 0;
  background: linear-gradient(180deg, #e9dcbc 0%, var(--paper) 100%);
  border-bottom: 4px double var(--ink);
}
/* v2: KOM polka-dot halftone arc raining over the départ */
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0; right: 0; top: 0;
  height: 400px;
  background: radial-gradient(rgba(199,62,46,0.17) 1.7px, transparent 1.7px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(ellipse 85% 78% at 50% -22%, #000 32%, transparent 71%);
  mask-image: radial-gradient(ellipse 85% 78% at 50% -22%, #000 32%, transparent 71%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2; /* v2 */
  text-align: center;
  padding: 2.8rem 1.1rem 0;
  max-width: 880px;
  margin: 0 auto;
}
/* club crest — sits above the masthead like a jersey badge */
.club-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.68rem, 2.3vw, 0.85rem);
  font-weight: 600;
  color: var(--ink);
  background: var(--jaune);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  margin-bottom: 1rem;
  transform: rotate(-2deg);
  box-shadow: 2px 3px 0 rgba(31,42,68,0.22);
  animation: rise 0.65s cubic-bezier(0.2,0.7,0.2,1) both 0s;
}
.hero .overline {
  display: block; /* keep clear of the club badge above */
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: clamp(0.7rem, 2.4vw, 0.95rem);
  color: var(--ink-soft);
}
/* v2: the entente cordiale */
.hero .overline::before { content: "\01F1EC\01F1E7\0000A0"; letter-spacing: 0; }
.hero .overline::after  { content: "\0000A0\01F1EB\01F1F7"; letter-spacing: 0; }
/* v2: proper poster type */
.hero h1 {
  font-family: "Passion One", "Oswald", sans-serif;
  font-weight: 900;
  font-size: clamp(3.4rem, 15vw, 8.6rem);
  color: var(--red);
  letter-spacing: 0.015em;
  line-height: 0.92;
  margin: 0.4rem 0 0.35rem;
  text-shadow: 0.045em 0.05em 0 var(--ink);
}
.hero .subline {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: clamp(0.8rem, 3vw, 1.15rem);
  color: var(--ink);
}
.hero .dates {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.35rem 1.4rem;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.85rem, 3vw, 1.05rem);
}
.hero-stats {
  display: flex; justify-content: center; gap: clamp(1.2rem, 6vw, 3.4rem);
  margin-top: 1.4rem;
  font-family: "Oswald", sans-serif;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat b {
  display: block; font-size: clamp(1.3rem, 5vw, 2rem); font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums; /* v2: steady during count-up */
}
.hero-stats .stat span {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-soft);
}
.hero-mountains { display: block; width: 100%; margin-top: 1.2rem; position: relative; z-index: 1; }

/* v2: entrance cascade (pure CSS, runs once) */
.hero .overline          { animation: rise 0.65s cubic-bezier(0.2,0.7,0.2,1) both 0.05s; }
.hero h1                 { animation: rise 0.65s cubic-bezier(0.2,0.7,0.2,1) both 0.14s; }
.hero .subline           { animation: rise 0.65s cubic-bezier(0.2,0.7,0.2,1) both 0.24s; }
.hero .dates             { animation: rise 0.65s cubic-bezier(0.2,0.7,0.2,1) both 0.32s; }
.hero .hero-stats        { animation: rise 0.65s cubic-bezier(0.2,0.7,0.2,1) both 0.42s; }
.hero .countdown         { animation: rise 0.65s cubic-bezier(0.2,0.7,0.2,1) both 0.52s; }
.hero .countdown-caption { animation: rise 0.65s cubic-bezier(0.2,0.7,0.2,1) both 0.62s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* countdown */
.countdown {
  display: flex; justify-content: center; gap: 0.55rem;
  margin: 1.6rem 0 0.4rem;
}
.countdown .unit {
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  min-width: 68px;
  padding: 0.55rem 0.45rem 0.5rem;
  font-family: "Oswald", sans-serif;
  box-shadow: 3px 4px 0 rgba(31,42,68,0.25);
}
/* v2: the days unit wears the maillot jaune */
.countdown .unit:first-child { background: var(--jaune); color: var(--ink); }
.countdown .unit b { display: block; font-size: 1.7rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown .unit span {
  font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.2em; opacity: 0.75;
}
/* v2: tick pop (class toggled by app.js) */
.countdown .unit.tick b { animation: cdpop 0.45s cubic-bezier(0.2,0.8,0.3,1); }
@keyframes cdpop { 35% { transform: translateY(-3px) scale(1.12); } }
.countdown-caption {
  text-align: center; font-style: italic; color: var(--ink-soft); font-size: 0.9rem;
  margin: 0.4rem 0 0;
}

/* ============================================================
   STICKY NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  box-shadow: 0 2px 8px rgba(31,42,68,0.35);
}
/* v2: tricolore ribbon along the top */
.nav::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--bleu) 0 33.4%, var(--paper) 33.4% 66.7%, var(--red) 66.7% 100%);
}
.nav-inner {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 880px; margin: 0 auto;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav a {
  flex: 0 0 auto;
  color: var(--paper);
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  padding: 0.85rem 0.95rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease; /* v2 */
}
.nav a:hover { color: var(--mustard); }
.nav a.active { color: var(--mustard); border-bottom-color: var(--red); }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.badge {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
  padding: 0.18rem 0.6rem 0.14rem;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  vertical-align: middle;
  margin-left: 0.45rem;
  white-space: nowrap;
  transform: rotate(-1.5deg);           /* v2: rubber-stamped */
  transition: transform 0.2s ease;      /* v2 */
}
.badge:hover { transform: rotate(0deg); } /* v2 */
.badge.confirmed { color: var(--green); background: rgba(74,124,89,0.1); }
.badge.tbc { color: #a06a00; background: rgba(217,164,65,0.14); }
.badge.votes { color: var(--red); background: rgba(199,62,46,0.08); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--cream-card);
  border: 2px solid var(--ink);                 /* v2: was 1.5px */
  border-radius: 10px;
  box-shadow: 6px 6px 0 rgba(31,42,68,0.16);    /* v2: harder offset */
  padding: 1.4rem 1.4rem 1.2rem;
  margin-bottom: 1.4rem;
  transition: transform 0.25s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.25s ease; /* v2 */
}
.card:hover { transform: translate(-2px, -3px); box-shadow: 9px 10px 0 rgba(31,42,68,0.13); } /* v2 */
.card h3 { font-size: 1.25rem; font-weight: 600; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.card ul { padding-left: 1.2rem; margin: 0.6rem 0; }
.card li { margin-bottom: 0.35rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

.note {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.callout {
  border-left: 5px solid var(--red);
  background: rgba(199,62,46,0.06);
  padding: 0.7rem 1rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
}
.callout p { margin: 0; }

/* ============================================================
   STARTLIST
   ============================================================ */
.startlist {
  list-style: none;
  margin: 0; padding: 0;
  columns: 2; column-gap: 2rem;
}
@media (max-width: 620px) { .startlist { columns: 1; } }
.startlist li {
  break-inside: avoid;
  display: flex; align-items: baseline; gap: 0.7rem;
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--rule);
  font-family: "Oswald", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}
/* v3: numbers retired — everyone gets a jersey */
.startlist .dossard {
  flex: 0 0 auto;
  width: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  align-self: center;
}
.startlist .dossard svg {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(1.5px 2px 0 rgba(31,42,68,0.22));
}
.startlist li:hover .dossard { animation: wiggle 0.4s ease; } /* v2 */
@keyframes wiggle { 25% { transform: rotate(-8deg); } 65% { transform: rotate(5deg); } }
.startlist .flag { margin-left: 0.4em; font-size: 0.92em; }
.startlist li.unconfirmed { opacity: 0.75; }
.startlist .rider-note {
  display: block;
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0;
}

/* ============================================================
   STAGE CARDS (roadbook)
   ============================================================ */
.stage {
  background: var(--cream-card);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 6px 7px 0 rgba(31,42,68,0.18);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.25s ease; /* v2 */
}
.stage:hover { transform: translate(-2px, -3px); box-shadow: 9px 11px 0 rgba(31,42,68,0.14); } /* v2 */
.stage-band {
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: baseline; gap: 0.9rem;
  padding: 0.7rem 1.3rem;
  flex-wrap: wrap;
}
.stage-band .stage-no {
  font-family: "Oswald", sans-serif;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--jaune); /* v2: was mustard */
}
.stage-band h3 { color: var(--paper); margin: 0; font-size: clamp(1.05rem, 4vw, 1.45rem); }
.stage-body {
  padding: 1.3rem 1.3rem 1.1rem;
  border-top: 7px dotted var(--red); /* v2: KOM polka strip */
}

.routeline {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.routeline .sep { color: var(--red); padding: 0 0.25rem; }

.stage-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 0.9rem 0; }
@media (max-width: 620px) { .stage-opts { grid-template-columns: 1fr; } }
.opt {
  border: 1.5px dashed var(--rule);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  background: rgba(244,236,216,0.6);
}
.opt .opt-label {
  font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 0.62rem; color: var(--red);
  display: block;
}
.opt:last-child .opt-label { color: var(--green); } /* v2: the sensible option */
.opt .opt-stats {
  font-family: "Oswald", sans-serif; font-size: 1.25rem; font-weight: 600;
}
.opt .opt-desc { font-size: 0.86rem; color: var(--ink-soft); font-style: italic; }

.stage-links { margin-top: 0.8rem; font-size: 0.92rem; }

/* ============================================================
   CLIMB CARDS
   ============================================================ */
.climb {
  background: var(--cream-card);
  border: 2px solid var(--ink);                 /* v2: was 1.5px */
  border-radius: 10px;
  box-shadow: 6px 6px 0 rgba(31,42,68,0.16);
  margin-bottom: 1.7rem;
  padding: 1.2rem 1.3rem 1.1rem;
  transition: transform 0.25s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.25s ease; /* v2 */
}
.climb:hover { transform: translate(-2px, -3px); box-shadow: 9px 10px 0 rgba(31,42,68,0.13); } /* v2 */
.climb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.climb-head h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0; }
/* v2: altitude styled as a French roadside borne (white stone, red cap) */
.climb-head .alt {
  font-family: "Oswald", sans-serif;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-top: 9px solid var(--red);
  border-radius: 10px 10px 4px 4px;
  padding: 0.12rem 0.55rem 0.08rem;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 2px 2px 0 rgba(31,42,68,0.18);
  white-space: nowrap;
}
.climb-sub {
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.68rem; color: var(--ink-soft); margin-bottom: 0.7rem;
}
.climb-stats {
  display: flex; gap: 1.6rem; flex-wrap: wrap;
  font-family: "Oswald", sans-serif;
  margin: 0.7rem 0 0.4rem;
}
.climb-stats .cs b { display: block; font-size: 1.15rem; font-weight: 600; }
.climb-stats .cs span {
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-soft);
}
.profile { margin: 0.6rem 0 0.2rem; }
.profile svg { display: block; width: 100%; height: auto; }
.tdf-line {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
}
.tdf-line .tdf-count {
  font-family: "Oswald", sans-serif;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin-right: 0.4rem;
}
.climb .quip { font-style: italic; color: var(--ink-soft); font-size: 0.92rem; margin: 0.55rem 0 0; }
.climb .cf-link { font-size: 0.85rem; }

/* gradient legend */
.grad-legend {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  font-family: "Oswald", sans-serif; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin: -0.6rem 0 1.6rem;
}
.grad-legend .key { display: inline-flex; align-items: center; gap: 0.35rem; }
.grad-legend .swatch { width: 14px; height: 10px; border-radius: 2px; display: inline-block; }

/* ============================================================
   WEATHER
   ============================================================ */
.wx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 700px) { .wx-grid { grid-template-columns: 1fr; } }
.wx-big {
  font-family: "Oswald", sans-serif;
  font-size: 2.4rem; font-weight: 600; line-height: 1;
}
.wx-big small { font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.wx-years { margin-top: 1rem; }
.wx-year { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.3rem; font-family: "Oswald", sans-serif; font-size: 0.8rem; }
.wx-year .yr { width: 3em; color: var(--ink-soft); }
.wx-year .bar-track { flex: 1; background: rgba(31,42,68,0.08); border-radius: 4px; height: 14px; position: relative; }
.wx-year .bar { display: block; height: 100%; border-radius: 4px; }
.wx-year .val { width: 3.4em; text-align: right; }

/* ============================================================
   TABLES
   ============================================================ */
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.45rem 0.7rem; border-bottom: 1px solid var(--rule); }
th {
  font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.68rem; color: var(--ink-soft);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 2.6rem 1.1rem 2.2rem;
  margin-top: 2rem;
  border-top: 8px dotted var(--red); /* v2: KOM tape at the finish */
}
.footer .thumb { font-size: 2.4rem; display: block; margin-bottom: 0.5rem; animation: bob 4s ease-in-out infinite; } /* v2 */
@keyframes bob { 50% { transform: translateY(-6px); } }
.footer h2 { color: var(--paper); font-family: "Passion One", "Oswald", sans-serif; font-weight: 700; font-size: 2rem; letter-spacing: 0.03em; } /* v2 */
.footer p { color: rgba(244,236,216,0.75); max-width: 34rem; margin: 0.6rem auto; }
.footer a { color: var(--mustard); }
.footer .fineprint { font-size: 0.78rem; margin-top: 1.6rem; color: rgba(244,236,216,0.45); }

/* ============================================================
   DIVIDER — v2: was a double rule, now a mountain road
   ============================================================ */
.divider {
  border: none;
  max-width: 880px;
  height: 20px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 99px;
  position: relative;
  overflow: visible; /* UA stylesheet sets hr{overflow:hidden}, which clipped the rider */
}
.divider::before {
  content: "";
  position: absolute;
  left: 16px; right: 16px; top: 50%;
  height: 3px; margin-top: -1.5px;
  background: repeating-linear-gradient(90deg, rgba(244,236,216,0.85) 0 16px, transparent 16px 34px);
  border-radius: 2px;
}
.divider::after {
  content: "\01F6B4";
  position: absolute;
  top: -13px;
  left: -46px;
  font-size: 19px;
  animation: ride 26s linear infinite;
}
@keyframes ride { from { left: calc(100% + 40px); } to { left: -46px; } }
/* v2: one of us always goes the wrong way */
.divider:nth-of-type(even)::after { content: "\01F6B5"; transform: scaleX(-1); animation-direction: reverse; animation-duration: 31s; }
.divider:nth-of-type(3)::after { animation-delay: -9s; }
.divider:nth-of-type(4)::after { animation-delay: -17s; }
.divider:nth-of-type(5)::after { animation-delay: -5s; }

/* ============================================================
   v2: SCROLL REVEALS & CHART BUILD-INS
   (all gated behind a .js class that app.js adds to the body
   element — the page stays fully visible without JavaScript)
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2,0.7,0.25,1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* climb profiles: gradient bars grow, summit line draws itself */
.js .profile svg path[fill^="#"] {
  transform: scaleY(0.02);
  transform-origin: 50% 100%;
  transform-box: fill-box;
  transition: transform 0.55s cubic-bezier(0.25,0.9,0.3,1);
  transition-delay: var(--d, 0ms);
}
.js .profile.in svg path[fill^="#"] { transform: scaleY(1); }
.js .profile svg path[fill="none"] {
  stroke-dasharray: var(--len, 2400);
  stroke-dashoffset: var(--len, 2400);
  transition: stroke-dashoffset 1.4s ease-out 0.3s;
}
.js .profile.in svg path[fill="none"] { stroke-dashoffset: 0; }
.js .profile svg text { opacity: 0; transition: opacity 0.5s ease 0.85s; }
.js .profile.in svg text { opacity: 1; }

/* weather bars sweep in */
.js .wx-years .bar {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.2,0.8,0.25,1);
  transition-delay: var(--d, 0ms);
}
.js .wx-years.in .bar { transform: scaleX(1); }

/* ============================================================
   ACCESSIBILITY — respect reduced-motion preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }
  .divider::after { display: none; }
}
