/* Brand-sheet map sections on book pages: WEB HERO 4 (.mh), PIN MAP (.pm), ROUTE MAP 2 (.rt), INFO MAP (.im).
   Colours from the brand sheet: Abyss #03101c, Trench #071c2e, Ink #0d1b26, Red rule #c0392b,
   Light grey #d0d6db, Mist #b4bbc1, Grey text #59656f, Tint panel #eef0f2, Foam #f4f7f9. */
.mh, .pm, .rt, .im { --abyss: #03101c; --trench: #071c2e; --ink: #0d1b26; --lgrey: #d0d6db; --mistc: #b4bbc1; --gtext: #59656f; --tint: #eef0f2; --foam: #f4f7f9; }
.mh svg text, .pm svg text, .rt svg text, .im svg text { font-family: var(--sans); }

/* ---------- WEB HERO 4 ---------- */
.mh { position: relative; isolation: isolate; overflow: clip; min-height: min(92svh, 900px); display: flex; align-items: center; }
.mh-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2; transform: scale(1.04); animation: mhdrift 36s ease-in-out infinite alternate; }
@keyframes mhdrift { to { transform: scale(1.1) translate3d(-1%, -1%, 0); } }
.mh::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, var(--night) 0%, rgba(3,16,28,.35) 16%, rgba(3,16,28,.3) 70%, var(--night) 100%),
  linear-gradient(90deg, rgba(3,16,28,.55) 0%, rgba(3,16,28,.25) 50%, rgba(3,16,28,.6) 100%); }
.mh-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 70px); align-items: center; padding-top: 90px; padding-bottom: 120px; }
.mh-map { margin: 0; }
.mh-map svg { width: 100%; height: auto; overflow: hidden; }
.mh-glow { fill: rgba(255,255,255,.55); opacity: .5; }
.mh-fill { fill: rgba(255,255,255,.1); }
.mh-line { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.mh-map.in .mh-line { animation: draw 2.6s cubic-bezier(.6,.05,.3,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mh .dot circle { fill: rgba(3,16,28,.25); stroke: #fff; stroke-width: 2.2; transition: r .2s, fill .2s; }
.mh .dot .hit { fill: transparent; stroke: none; }
.mh .dot { cursor: pointer; outline: none; }
.mh .dot .lbl { opacity: 0; transition: opacity .2s; pointer-events: none; }
.mh .dot.keep .lbl, .mh .dot:hover .lbl, .mh .dot:focus .lbl, .mh .dot.on .lbl { opacity: 1; }
.mh .dot:hover circle:not(.hit), .mh .dot:focus circle:not(.hit), .mh .dot.on circle:not(.hit) { fill: #fff; r: 7; }
.mh .reg { font-size: 12.5px; font-weight: 500; letter-spacing: .24em; fill: rgba(255,255,255,.62); pointer-events: none; paint-order: stroke; stroke: rgba(3,16,28,.25); stroke-width: 3px; }
.mh .reg { opacity: 0; transition: opacity .8s 1.6s; } .mh-map.in .reg { opacity: 1; }
.mh-legend { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; font-size: .78rem; color: var(--mistc); }
.mh-legend i { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; }
.mh .lbl { font-size: 15px; font-weight: 600; fill: #fff; paint-order: stroke; stroke: rgba(3,16,28,.45); stroke-width: 3px; }
.mh .lbl.big { font-size: 21px; font-weight: 700; }
.mh .pin circle { fill: var(--red); stroke: #fff; stroke-width: 2.5; }
.mh .pin .pin-halo { fill: rgba(192,57,43,.25); stroke: none; transform-box: fill-box; transform-origin: center; animation: halo 2.8s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.mh .dot, .mh .pin { opacity: 0; transition: opacity .5s calc(1.2s + var(--i) * .06s); }
.mh-map.in .dot, .mh-map.in .pin { opacity: 1; }
.mh-logo { margin: 0; font-size: min(clamp(3.4rem, 7.4vw, 6.6rem), calc(min(100vw, 1200px) * .36 / (var(--wl, 8) * .6))); line-height: .9; font-weight: 400; letter-spacing: -.035em; color: #fff; }
.mh-logo b { display: block; font-weight: 800; color: var(--lgrey); }
.mh-logo i { font-style: normal; color: var(--red); }
.mh-copy { margin: 28px 0 0; max-width: 36ch; font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.65; color: var(--mistc); }
.mh-lockup { position: absolute; left: 24px; bottom: 44px; margin: 0; display: flex; align-items: center; gap: 16px; font-size: 1.2rem; }
.mh-credit { position: absolute; right: 24px; bottom: 48px; margin: 0; font-size: .66rem; color: rgba(244,247,249,.55); }
.mh-islet, .rt-islet { fill: rgba(255,255,255,.35); stroke: rgba(255,255,255,.8); stroke-width: 1; }
.rt-islet { fill: #0f2a40; stroke: rgba(180,187,193,.5); }
.mh-lockup span:last-child { border-left: 1px solid var(--red); padding-left: 16px; font-weight: 300; font-size: .82rem; letter-spacing: .32em; text-transform: uppercase; color: #fff; }

/* ---------- PIN MAP (light, like the poster) ---------- */
.pm { background: var(--tint); color: var(--ink); padding: clamp(60px, 8vw, 110px) 0; }
.pm .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.pm-logo { grid-column: 1 / -1; text-align: center; margin: 0 0 6px; }
.pm-logo .logo { color: var(--ink); font-size: 1.5rem; }
.pm-map { margin: 0; }
.pm-map svg { width: 100%; height: auto; overflow: visible; }
.pm-land { fill: #6a737b; }
.pm-relief { fill: #000; mix-blend-mode: multiply; opacity: .95; }
.pm-edge { fill: none; stroke: rgba(13,27,38,.35); stroke-width: 1; }
.rp { cursor: pointer; }
.rp-sh { fill: rgba(3,16,28,.35); }
.rp-stem { stroke: #8b939a; stroke-width: 2; stroke-linecap: round; }
.rp-head { fill: var(--red); filter: drop-shadow(0 1px 1px rgba(3,16,28,.35)); }
.rp-hi { fill: rgba(255,255,255,.55); }
.rp-lbl { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); paint-order: stroke; stroke: rgba(238,240,242,.85); stroke-width: 4px; opacity: 0; transition: opacity .25s; }
.rp > :not(.rp-lbl) { transform-box: view-box; }
.rp .rp-stem, .rp .rp-head, .rp .rp-hi { transform: translateY(-40px); opacity: 0; transition: transform .55s cubic-bezier(.3,1.6,.5,1) calc(.4s + var(--i) * .08s), opacity .3s calc(.4s + var(--i) * .08s); }
.rp .rp-sh { opacity: 0; transition: opacity .4s calc(.6s + var(--i) * .08s); }
.pm-map.in .rp .rp-stem, .pm-map.in .rp .rp-head, .pm-map.in .rp .rp-hi { transform: none; opacity: 1; }
.pm-map.in .rp .rp-sh { opacity: 1; }
.pm-map .rp.on .rp-lbl { opacity: 1; }
.pm-map .rp.on .rp-head { fill: #e04a3a; }
.pm-text h2 { font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; color: var(--ink); margin: 0 0 22px; }
.pm-kick { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin: 0 0 8px; }
.pm-lead { color: var(--gtext); font-size: .95rem; max-width: 44ch; }
.pm-list { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(13,27,38,.14); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 20px; }
.pm-list li { cursor: pointer; border-radius: 2px; outline-offset: 4px; }
.pm-list b { display: block; font-weight: 500; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); transition: color .2s; }
.pm-list span { font-size: .78rem; color: var(--gtext); line-height: 1.4; display: block; margin-top: 3px; }
.pm-list li.on b { color: var(--red); }

/* ---------- ROUTE MAP 2 ---------- */
.rt { background: var(--abyss); padding: clamp(60px, 8vw, 110px) 0; }
.rt-wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .6fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.rt-map { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: radial-gradient(80% 90% at 45% 50%, #0b2236 0%, #061524 60%, #03101c 100%); box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(244,247,249,.06); }
.rt-map svg { display: block; width: 100%; height: auto; }
.rt-grid path { stroke: rgba(180,187,193,.06); stroke-width: 1; }
.rt-land { fill: #0f2a40; }
.rt-relief { fill: #000; mix-blend-mode: soft-light; opacity: .9; }
.rt-edge { fill: none; stroke: rgba(180,187,193,.38); stroke-width: 1.1; }
.rt-gl circle { fill: rgba(200,225,245,.3); }
.gl circle { fill: none; }
.gl text { font-size: 10px; font-weight: 400; letter-spacing: .32em; fill: rgba(208,214,219,.55); }
.rt-glow { display: none; }
.rt-core { fill: none; stroke: #ffd8d0; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: opacity .3s, stroke-width .3s; }
.rt-core.blur { stroke: var(--red); stroke-width: 9; }
.rt-spur { fill: none; stroke: #ffd8d0; stroke-width: 1.6; stroke-dasharray: .012 .012; opacity: 0; transition: opacity .6s 3.4s; }
.rt-spur.blur { stroke: var(--red); stroke-width: 6; }
.rt-map.in .rt-core { animation: draw .55s linear forwards; animation-delay: calc(.3s + (var(--i) - 1) * .5s); }
.rt-map.in .rt-spur { opacity: .9; }
.rt-map[data-sel] .rt-day { opacity: .22; transition: opacity .3s; }
.rt-map[data-sel="1"] .rt-day[data-d="1"], .rt-map[data-sel="2"] .rt-day[data-d="2"], .rt-map[data-sel="3"] .rt-day[data-d="3"], .rt-map[data-sel="4"] .rt-day[data-d="4"],
.rt-map[data-sel="5"] .rt-day[data-d="5"], .rt-map[data-sel="6"] .rt-day[data-d="6"], .rt-map[data-sel="7"] .rt-day[data-d="7"] { opacity: 1; }
.rt-start circle { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 1.4; }
.rt-start .c, .rt-stop circle { fill: #fff; stroke: none; }
.rt-lbl { font-size: 12px; font-weight: 400; letter-spacing: .06em; fill: rgba(244,247,249,.85); }
.rt-lbl.strong { font-size: 13px; font-weight: 600; letter-spacing: .24em; fill: #fff; }
.rt-compass circle { fill: none; stroke: rgba(244,247,249,.5); }
.rt-compass path { fill: var(--red); }
.rt-compass text, .rt-scale text { font-size: 11px; fill: rgba(244,247,249,.7); letter-spacing: .08em; }
.rt-scale path { fill: none; stroke: rgba(244,247,249,.7); stroke-width: 1.2; }
.rt-title { position: absolute; left: clamp(18px, 4%, 46px); top: clamp(18px, 6%, 52px); margin: 0; display: grid; font-weight: 300; font-size: clamp(1.25rem, 3.1vw, 2.7rem); line-height: 1.08; letter-spacing: .04em; text-transform: uppercase; color: #fff; pointer-events: none; text-shadow: 0 2px 14px rgba(3,16,28,.8); }
.rt-title span:last-child { padding-left: 1.6em; }
.rt-km { position: absolute; left: clamp(18px, 4%, 46px); bottom: clamp(14px, 5%, 44px); margin: 0; font-weight: 300; font-size: clamp(1.15rem, 2.4vw, 2rem); line-height: 1.15; color: #fff; pointer-events: none; }
.rt-km span { display: block; color: var(--mistc); font-size: .55em; letter-spacing: .02em; }
.rt-kick { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin: 0 0 8px; }
.rt-side h2 { font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.rt-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 22px; justify-content: start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.rt-facts b { display: block; font-size: .95rem; color: #fff; }
.rt-facts span { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mistc); }
.rt-days { list-style: none; margin: 18px 0 0; padding: 0; position: relative; }
.rt-days::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1px; background: rgba(192,57,43,.6); }
.rt-days button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 78px 1fr; column-gap: 8px; width: 100%; padding: 8px 8px 8px 24px; position: relative; cursor: pointer; border-radius: 4px; transition: background .2s; }
.rt-days button::before { content: ""; position: absolute; left: 1px; top: 13px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--red); background: var(--abyss); }
.rt-days li:first-child button::before, .rt-days li:last-child button::before { background: var(--red); }
.rt-days button:hover, .rt-days button:focus-visible, .rt-days button[aria-pressed="true"] { background: rgba(244,247,249,.06); }
.rt-days button[aria-pressed="true"]::before { background: var(--red); box-shadow: 0 0 0 4px rgba(192,57,43,.25); }
.rt-days i { font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); padding-top: 3px; }
.rt-days b { font-size: .9rem; color: #fff; font-weight: 600; }
.rt-days span { grid-column: 2; font-size: .78rem; color: var(--mistc); }
.rt-note { font-size: .72rem; color: var(--mistc); margin: 12px 0 0 24px; opacity: .8; }

/* ---------- INFO MAP ---------- */
.im { background: var(--trench); padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.im-logo { margin: 0 0 18px; font-size: 1.1rem; }
.im-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .62fr); align-items: stretch; }
.im-map { position: relative; margin: 0; }
.im-map svg { display: block; width: 100%; height: auto; overflow: hidden; }
.im-shade { fill: rgba(3,16,28,.28); }
.im-edge { fill: none; stroke: rgba(244,247,249,.55); stroke-width: 1.3; }
.im-cap rect { fill: #fff; }
.im-lbl { font-size: 14px; font-weight: 700; letter-spacing: .08em; fill: #fff; paint-order: stroke; stroke: rgba(3,16,28,.4); stroke-width: 3px; }
.im-call circle { fill: none; stroke: #fff; stroke-width: 1.6; }
.im-call .c { fill: #fff; stroke: none; }
.im-call path { stroke: rgba(244,247,249,.7); stroke-width: 1.2; fill: none; }
.im-center { position: absolute; left: 0; right: 4%; top: 44%; transform: translateY(-50%); display: grid; justify-items: center; text-align: center; pointer-events: none; text-shadow: 0 2px 18px rgba(3,16,28,.55); }
.im-name { font-weight: 300; font-size: clamp(1.6rem, 4.4vw, 3.4rem); letter-spacing: .14em; text-transform: uppercase; color: #fff; line-height: 1.1; }
.im-center b { font-weight: 800; font-size: clamp(1.4rem, 3.2vw, 2.5rem); color: #fff; line-height: 1.1; }
.im-note { font-size: clamp(.8rem, 1.2vw, 1rem); color: #fff; }
.im-side { border-left: 1px solid rgba(244,247,249,.7); padding: 6px 0 4px clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 26px; }
.im-k { margin: 0; font-weight: 700; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.im-n { margin: 2px 0 6px; font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: #fff; line-height: 1.1; }
.im-d { margin: 0; color: var(--mistc); font-size: .92rem; max-width: 30ch; }
.im-world { width: 100%; max-width: 300px; margin-top: auto; }
.im-world path { fill: rgba(180,187,193,.28); }
.im-world circle { fill: var(--red); }
.im-ring { display: grid; grid-template-columns: 80px 1fr; align-items: center; column-gap: 18px; position: relative; }
.im-ring svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.im-ring circle { fill: none; stroke: rgba(180,187,193,.35); stroke-width: 2.5; }
.im-ring .v { stroke: var(--red); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s cubic-bezier(.3,.6,.2,1) .3s; }
.im-side.in .im-ring .v { stroke-dashoffset: calc(100 - var(--p)); }
.im-ring b { position: absolute; left: 0; width: 80px; text-align: center; font-weight: 700; color: var(--red); font-size: 1.05rem; }
.im-ring span { color: var(--foam); font-size: .92rem; max-width: 22ch; }
.im-grid.tall { grid-template-columns: minmax(0, 1fr) minmax(250px, .9fr); }
.im-grid.tall .im-map { width: 100%; max-width: 470px; justify-self: end; }
.im-grid.tall .im-center { top: 70%; right: 0; }
.im-src { margin: 22px 0 0; font-size: .7rem; color: var(--mistc); opacity: .7; }

@media (max-width: 960px) {
  .mh-wrap { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 110px; }
  .mh-text { order: -1; }
  .pm .container { grid-template-columns: 1fr; }
  .rt-wrap { grid-template-columns: 1fr; }
  .im-grid { grid-template-columns: 1fr; }
  .im-grid.tall { grid-template-columns: 1fr; } .im-grid.tall .im-map { justify-self: center; max-width: 360px; }
  .im-call path { display: none; }
  .im-side { border-left: 0; border-top: 1px solid rgba(244,247,249,.4); padding: 24px 0 0; margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .im-callout { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .mh-logo { font-size: min(clamp(2.8rem, 15vw, 4rem), calc(86vw / (var(--wl, 8) * .6))); }
  .mh-map { padding: 0 4% 0 9%; }
  .mh .lbl { font-size: 30px; }
  .mh .reg { font-size: 19px; letter-spacing: .16em; }
  .mh .lbl.big { font-size: 32px; }
  .mh .dot circle { r: 8; stroke-width: 3.4; }
  .im-lbl { font-size: 26px; }
  .mh-lockup { bottom: 40px; font-size: 1rem; gap: 12px; }
  .mh-lockup span:last-child { letter-spacing: .16em; font-size: .7rem; padding-left: 12px; }
  .mh-credit { right: auto; left: 24px; bottom: 14px; }
  .pm-list { grid-template-columns: 1fr 1fr; }
  .rp-lbl { font-size: 22px; }
  .rt-lbl { font-size: 26px; } .rt-lbl.strong { font-size: 24px; letter-spacing: .14em; }
  .rt-stop circle { r: 7; } .rt-compass, .rt-scale { display: none; }
  .gl text { display: none; }
  .rt-title { font-size: 1.05rem; } .rt-km { font-size: 1rem; }
  .im-side { grid-template-columns: 1fr; }
  .im-world { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-bg, .mh .pin .pin-halo { animation: none; }
  .mh-line, .rt-core { stroke-dashoffset: 0; animation: none !important; }
  .mh .dot, .mh .pin, .rp *, .rt-spur { transition: none !important; }
}
.rt-warn { margin: 14px 0 0 24px; padding: 10px 12px; border-left: 2px solid var(--red); background: rgba(192,57,43,.08); font-size: .76rem; color: var(--mistc); }
.im-stat b { display: block; font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--red); line-height: 1.1; }
.im-stat span { color: var(--foam); font-size: .92rem; }
.rt-reg { font-size: 13px; font-weight: 400; letter-spacing: .32em; fill: rgba(208,214,219,.5); }

/* tall maps (a peninsula, a long island) never run taller than the screen */
.mh-map svg, .rt-map svg { max-height: 84vh; }
.mh-map svg { width: auto; max-width: 100%; margin: 0 auto; }
.rt-map svg { width: auto; max-width: 100%; margin: 0 auto; }
.rt-cross { stroke-dasharray: .045 .03; stroke-width: 2; }

/* Route title and distance sit above and below the map, never on top of it */
.rt-map { display: flex; flex-direction: column; }
.rt-map .rt-title { position: static; order: -1; padding: clamp(18px, 3.4vw, 40px) clamp(18px, 3.4vw, 40px) 0; }
.rt-map .rt-km { position: static; padding: 0 clamp(18px, 3.4vw, 40px) clamp(16px, 3vw, 34px); }
.rt-park { fill: rgba(244,247,249,.05); stroke: rgba(244,247,249,.55); stroke-width: 1.4; stroke-dasharray: 5 4; }
