/* Montréal skyline illustration, shared by Contact and Link in bio (moved out of contact.css, 2026-11). */
/* ---------- The Montréal skyline (2026-11 gradient redesign) ----------
   One SVG from skyline_svg() (assets/inc/skyline.php): the Contact pages' banner and the Link in bio postcard. Every gradient stop and fill reads a --sk-* custom property set here:
   the day palette by default, one palette per weather (.wx-<kind>, from weather.php), and the night palette
   (.is-night, from contact.js) last so it wins; clouds, rain, snow and fog still show at night.
   Dark mode uses the night palette (moon and stars instead of the sun). Geometry is the same as before. */
.city-map { display: block; width: 100%; height: auto; --sk-sky1: #9ec3ee; --sk-sky2: #cfe1f6; --sk-sky3: #f6ece4; --sk-mid1: #a6c3e6; --sk-mid2: #6f97c6; --sk-near1: #4d6690; --sk-near2: #27365a; --sk-water1: #c3d8f2; --sk-water2: #eef1f6; --sk-cloud1: #ffffff; --sk-cloud2: #e1ebf7; --sk-far: #7ba3d0; --sk-faro1: 0.4; --sk-faro2: 0.18; --sk-hazeo: 0.5; --sk-cross: #6f97c6; --sk-crosso: 0.8; --sk-win: #ffffff; --sk-wino1: 0.45; --sk-wino2: 0.55; --sk-line: #6f97c6; --sk-cable: #4d6690; --sk-shade: #27365a; --sk-ripple: var(--sk-line); }
.city-map.wx-cloudy { --sk-sky1: #afbed2; --sk-sky2: #d3dce8; --sk-sky3: #e9edf2; --sk-mid1: #a7b8cf; --sk-mid2: #7e96b6; --sk-near1: #4a5f82; --sk-near2: #2a3856; --sk-water1: #c2cedd; --sk-water2: #e8ecf1; --sk-cloud1: #f6f8fb; --sk-cloud2: #cbd6e4; --sk-far: #8198b8; --sk-faro1: 0.38; --sk-faro2: 0.17; --sk-hazeo: 0.5; --sk-cross: #7e96b6; --sk-crosso: 0.8; --sk-win: #ffffff; --sk-wino1: 0.35; --sk-wino2: 0.45; --sk-line: #7e96b6; --sk-cable: #4a5f82; --sk-shade: #2a3856; }
.city-map.wx-fog { --sk-sky1: #c9d2de; --sk-sky2: #e0e6ee; --sk-sky3: #f1f3f6; --sk-mid1: #c2cddc; --sk-mid2: #a9b8cd; --sk-near1: #8292ad; --sk-near2: #62728f; --sk-water1: #d6dde7; --sk-water2: #eff1f5; --sk-cloud1: #ffffff; --sk-cloud2: #e6ebf2; --sk-far: #9fb0c8; --sk-faro1: 0.22; --sk-faro2: 0.09; --sk-hazeo: 0.75; --sk-cross: #a9b8cd; --sk-crosso: 0.8; --sk-win: #ffffff; --sk-wino1: 0.25; --sk-wino2: 0.35; --sk-line: #a9b8cd; --sk-cable: #8292ad; --sk-shade: #62728f; }
.city-map.wx-rain, .city-map.wx-drizzle { --sk-sky1: #7f93b2; --sk-sky2: #b0bfd3; --sk-sky3: #d4dbe6; --sk-mid1: #8fa4c2; --sk-mid2: #6b83a6; --sk-near1: #3f5275; --sk-near2: #222e4a; --sk-water1: #a4b5cb; --sk-water2: #d5dce6; --sk-cloud1: #cbd5e2; --sk-cloud2: #98a9c0; --sk-far: #6f86a8; --sk-faro1: 0.42; --sk-faro2: 0.18; --sk-hazeo: 0.5; --sk-cross: #6b83a6; --sk-crosso: 0.8; --sk-win: #ffe7a8; --sk-wino1: 0.55; --sk-wino2: 0.65; --sk-line: #6b83a6; --sk-cable: #3f5275; --sk-shade: #222e4a; }
.city-map.wx-snow { --sk-sky1: #bccbe1; --sk-sky2: #dce5f2; --sk-sky3: #f5f7fb; --sk-mid1: #b1c4de; --sk-mid2: #8aa5c9; --sk-near1: #566c93; --sk-near2: #33436a; --sk-water1: #d3deec; --sk-water2: #f3f6fa; --sk-cloud1: #ffffff; --sk-cloud2: #dae4f0; --sk-far: #8fa8cb; --sk-faro1: 0.34; --sk-faro2: 0.15; --sk-hazeo: 0.5; --sk-cross: #8aa5c9; --sk-crosso: 0.8; --sk-win: #ffffff; --sk-wino1: 0.4; --sk-wino2: 0.5; --sk-line: #8aa5c9; --sk-cable: #566c93; --sk-shade: #33436a; }
.city-map.wx-storm { --sk-sky1: #414d73; --sk-sky2: #74749f; --sk-sky3: #b3b0ca; --sk-mid1: #6c7ea4; --sk-mid2: #516389; --sk-near1: #273152; --sk-near2: #121a30; --sk-water1: #75819f; --sk-water2: #b7bcd0; --sk-cloud1: #9ca7bf; --sk-cloud2: #636f8c; --sk-far: #56628a; --sk-faro1: 0.6; --sk-faro2: 0.27; --sk-hazeo: 0.5; --sk-cross: #516389; --sk-crosso: 0.8; --sk-win: #ffdf8e; --sk-wino1: 0.8; --sk-wino2: 0.9; --sk-line: #516389; --sk-cable: #273152; --sk-shade: #121a30; }
.city-map.is-night { --sk-sky1: #0f1626; --sk-sky2: #1d2a4d; --sk-sky3: #4d468c; --sk-mid1: #3a4b78; --sk-mid2: #2b3859; --sk-near1: #1a2440; --sk-near2: #0b1120; --sk-water1: #1a2543; --sk-water2: #0f1626; --sk-cloud1: #5a6690; --sk-cloud2: #3e4a70; --sk-far: #33426e; --sk-faro1: 0.85; --sk-faro2: 0.38; --sk-hazeo: 0.12; --sk-cross: #ffd98a; --sk-crosso: 0.9; --sk-win: #ffd98a; --sk-wino1: 0.95; --sk-wino2: 1; --sk-line: #2b3859; --sk-cable: #1a2440; --sk-shade: #0b1120; --sk-ripple: #8fa6d8; }
@media (prefers-color-scheme: dark) { .city-map { --sk-sky1: #0f1626; --sk-sky2: #1d2a4d; --sk-sky3: #4d468c; --sk-mid1: #3a4b78; --sk-mid2: #2b3859; --sk-near1: #1a2440; --sk-near2: #0b1120; --sk-water1: #1a2543; --sk-water2: #0f1626; --sk-cloud1: #5a6690; --sk-cloud2: #3e4a70; --sk-far: #33426e; --sk-faro1: 0.85; --sk-faro2: 0.38; --sk-hazeo: 0.12; --sk-cross: #ffd98a; --sk-crosso: 0.9; --sk-win: #ffd98a; --sk-wino1: 0.95; --sk-wino2: 1; --sk-line: #2b3859; --sk-cable: #1a2440; --sk-shade: #0b1120; --sk-ripple: #8fa6d8; } }
/* Gradient stops */
.city-map .sk-sky1 { stop-color: var(--sk-sky1); } .city-map .sk-sky2 { stop-color: var(--sk-sky2); } .city-map .sk-sky3 { stop-color: var(--sk-sky3); }
.city-map .sk-mid1 { stop-color: var(--sk-mid1); } .city-map .sk-mid2 { stop-color: var(--sk-mid2); }
.city-map .sk-near1 { stop-color: var(--sk-near1); } .city-map .sk-near2 { stop-color: var(--sk-near2); }
.city-map .sk-water1 { stop-color: var(--sk-water1); } .city-map .sk-water2 { stop-color: var(--sk-water2); }
.city-map .sk-cloud1 { stop-color: var(--sk-cloud1); } .city-map .sk-cloud2 { stop-color: var(--sk-cloud2); }
.city-map .sk-far1 { stop-color: var(--sk-far); stop-opacity: var(--sk-faro1); } .city-map .sk-far2 { stop-color: var(--sk-far); stop-opacity: var(--sk-faro2); }
.city-map .sk-haze1 { stop-color: #fff; stop-opacity: 0; } .city-map .sk-haze2 { stop-color: #fff; stop-opacity: var(--sk-hazeo); }
.city-map .sk-halo1 { stop-color: var(--sk-glow, #ffc72c); stop-opacity: 0.6; } .city-map .sk-halo2 { stop-color: var(--sk-glow, #ffc72c); stop-opacity: 0; }
.city-map .sk-sun1 { stop-color: #ffe58a; } .city-map .sk-sun2 { stop-color: #ffbe1f; }
.city-map .sk-shade1 { stop-color: var(--sk-shade); stop-opacity: 0.35; } .city-map .sk-shade2 { stop-color: var(--sk-shade); stop-opacity: 0; }
/* Shapes */
.city-map .sky { fill: url(#sk-sky); }
.city-map .far { fill: url(#sk-far); }
.city-map .far-cross { fill: var(--sk-cross); opacity: var(--sk-crosso); }
.city-map .haze { fill: url(#sk-haze); }
.city-map .mid { fill: url(#sk-mid); }
.city-map .near { fill: url(#sk-near); }
.city-map .win { fill: var(--sk-win); }
.city-map .win-mid { opacity: var(--sk-wino1); } .city-map .win-near { opacity: var(--sk-wino2); }
.city-map .stadium-cable { fill: none; stroke: var(--sk-cable); stroke-width: 1; opacity: 0.6; }
.city-map .biosphere { fill: none; stroke: var(--sk-line); stroke-width: 1.4; stroke-linecap: round; }
.city-map .water { fill: url(#sk-water); }
.city-map .shade { fill: url(#sk-shade); }
.city-map .ripple { fill: none; stroke: var(--sk-ripple); stroke-width: 1.4; stroke-linecap: round; opacity: 0.4; }
.city-map .sun .halo, .city-map .moon .halo { fill: url(#sk-halo); }
.city-map .sun .disc { fill: url(#sk-sun); }
.city-map .moon .crescent { fill: #d9d2f5; }
.city-map .stars { fill: #fff; }
.city-map .cloud { fill: url(#sk-cloud); }
.city-map .drops { fill: none; stroke: #e6eef9; stroke-width: 1.5; stroke-linecap: round; opacity: 0.55; }
.city-map .flakes { fill: #fff; }
.city-map .fog-veil { fill: #fff; opacity: 0.28; }
.city-map .fog-bands { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; opacity: 0.75; }
.city-map .bolt-halo { fill: url(#sk-halo); }
.city-map .bolt path { fill: #ffd84d; stroke: #fff3b0; stroke-width: 1; }
/* What shows: by default (clear day) the sun; the moon and the stars at night and in dark mode */
.city-map .wx, .city-map .moon, .city-map .stars { display: none; }
.city-map.is-night { --sk-glow: #d9d2f5; }
.city-map.is-night .sun { display: none; } .city-map.is-night .moon, .city-map.is-night .stars { display: inline; }
@media (prefers-color-scheme: dark) {
  .city-map { --sk-glow: #d9d2f5; }
  .city-map .sun { display: none; } .city-map .moon, .city-map .stars { display: inline; }
}
.city-map.wx-mostly .cl-p1,
.city-map.wx-partly .cl-p1, .city-map.wx-partly .cl-p2, .city-map.wx-partly .cl-p3,
.city-map:is(.wx-cloudy, .wx-rain, .wx-snow, .wx-storm) :is(.cl-o1, .cl-o2, .cl-o3, .cl-o4, .cl-o5),
.city-map.wx-drizzle :is(.cl-o1, .cl-o2, .cl-o4),
.city-map.wx-fog .fog,
.city-map.wx-drizzle .drops-a,
.city-map:is(.wx-rain, .wx-storm) .drops,
.city-map.wx-snow .flakes,
.city-map.wx-storm .bolt { display: inline; }
/* Grey skies hide the sun, the moon and the stars; fog only dims them */
.city-map:is(.wx-cloudy, .wx-drizzle, .wx-rain, .wx-snow, .wx-storm) :is(.sun, .moon, .stars) { display: none; }
.city-map.wx-fog :is(.sun, .moon) { opacity: 0.5; }
.city-map.wx-fog .stars { display: none; }
.city-map.wx-partly .stars { opacity: 0.6; }
.city-map.wx-drizzle .drops-a { opacity: 0.4; }
@media (prefers-reduced-motion: no-preference) {
  .city-map .drops { animation: wx-fall 0.9s linear infinite; }
  .city-map .drops-b { animation-delay: -0.45s; }
  .city-map .flakes { animation: wx-drift 4s ease-in-out infinite alternate; }
  .city-map .bolt { animation: wx-flash 5s steps(1) infinite; }
  .city-map .ripple { animation: ripple 6s ease-in-out infinite alternate; }
}
@keyframes wx-fall { from { transform: translateY(-6px); opacity: 0; } 30% { opacity: 0.55; } to { transform: translateY(10px); opacity: 0; } }
@keyframes wx-drift { from { transform: translate(-3px, -2px); } to { transform: translate(3px, 4px); } }
@keyframes wx-flash { 0%, 100% { opacity: 0; } 8%, 12% { opacity: 1; } }
@keyframes ripple { from { transform: translateX(-4px); } to { transform: translateX(4px); } }
