/* Extend the existing navy / rose / lilac world with a voyage and a plot twist. */
/* The chart now floats on open water: islands, a galleon and a sea king fill the frame around the
   parchment so no flank is empty sea-coloured nothing. Chapter ink goes white for the water, and
   every card re-states its own navy ink — the tags stay cream, so white would vanish on them. */
.experience[data-chapter="roadmap"] { background:linear-gradient(180deg,#1b5f8c,#0f3f6b 44%,#0a2647); --scene-ink:#fff; }
.experience[data-chapter="villains"] { background:#151c43; --scene-ink:#fff; }
.experience:is([data-chapter="roadmap"],[data-chapter="villains"]) #ribbon-canvas { opacity:.18; }
.experience:is([data-chapter="roadmap"],[data-chapter="villains"]) .celebration-marks { display:none; }

/* Slide 3 — the year as a Grand Line treasure map; each milestone is a parchment tag on the chart. */
/* The implicit column is `auto`, so the aspect-ratio chart's max-width resolved against a track the
   chart itself had grown: at 768x1024 the chart measured 42..1157 in a 768px scene and the December
   card sat off-screen behind `#experience`'s `overflow:hidden`. `minmax(0,1fr)` caps the track. */
.roadmap-scene { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr) auto; gap:8px 26px; }
/* Two decorative layers bleed past the scene gutter: `.journey-seas` carries the archipelago, the
   galleon and the sea king (`slice`, so the objects survive any scene aspect), `.journey-waves`
   is pinned to the bottom edge and stretched, so the crests always close the frame. */
.roadmap-scene > svg { position:absolute; inset:0 calc(-1*var(--gutter)); width:calc(100% + 2*var(--gutter)); display:block; pointer-events:none; z-index:0; }
.roadmap-scene > .journey-seas { height:100%; }
.roadmap-scene > svg.journey-waves { inset:auto calc(-1*var(--gutter)) 0; height:clamp(64px,22%,130px); }
.roadmap-scene > :not(svg) { position:relative; z-index:1; }
/* The seal is written first in the DOM, ahead of the h2, so the intro copy stays the h2's next
   sibling: the deck's own `.scene h2+p` scale (readability/spotlights/styles) sizes it, at 0,1,2
   specificity, and a copy that lived behind the seal would fall back to our much smaller rule.
   Flex order puts the seal back between title and copy; the heading goes block below 900px, where
   the seal is hidden anyway. */
.roadmap-heading { grid-column:1/-1; display:flex; justify-content:space-between; align-items:center; gap:24px; }
/* Sized to the heading's own line box: any taller and it would push the chart's row shorter, and
   the chart is the one thing on this slide that must not lose height. */
.journey-seal { order:2; flex-shrink:0; display:grid; place-content:center; gap:2px; width:clamp(52px,6dvh,88px); aspect-ratio:1; border-radius:50%; background:#ffdc90; color:#202758; text-align:center; transform:rotate(-9deg); box-shadow:0 10px 18px #04162b52,0 0 0 4px #ffdc9024; }
.journey-seal strong { font-family:'Bricolage Grotesque',sans-serif; font-size:clamp(20px,2.4dvh,30px); font-weight:800; line-height:1; letter-spacing:-.03em; }
.journey-seal span { display:block; font-size:8.5px; font-weight:750; line-height:1.1; letter-spacing:.06em; text-transform:uppercase; }
.roadmap-heading h2 { order:1; font-size:clamp(30px,3.5vw,54px); }
.roadmap-heading h2 br { display:none; }
.roadmap-heading em { font-style:normal; color:#ff9fc8; }
.roadmap-heading>p { order:3; margin:0!important; flex-shrink:0; color:#cfe2f2; }
.journey-chart { position:relative; container-type:inline-size; align-self:center; justify-self:center; height:100%; max-width:100%; aspect-ratio:3/2; }
/* A navy mat and a gold hairline make the parchment read as a chart pinned on the water. */
.journey-chart-map { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; border-radius:14px; box-shadow:0 24px 40px #04121f6b,0 0 0 1px #cbb37f,0 0 0 13px #0d3860,0 0 0 14px #cbb37f5c; }
.journey-decor { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.journey-route { position:absolute; inset:0; width:100%; height:100%; }
.journey-route-halo { fill:none; stroke:#fdfaf3; stroke-width:12; stroke-linecap:round; stroke-linejoin:round; opacity:.7; }
/* The wake crawls towards December: one dash cycle (17+13) per second so the loop is seamless. */
.journey-route-line { fill:none; stroke:#a91d54; stroke-width:5; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:17 13; }
.journey-stops { position:absolute; inset:0; }
/* White chapter ink stops here: the tags name their own navy so copy stays readable on cream. */
/* Each tag is a small island: an organic sand-shaded plaque over two beach shelves, ringed by the
   shallows it sits in. The copy stays on the near-white top of the gradient so it stays readable. */
.journey-stop { position:absolute; left:var(--x); top:var(--y); width:20%; min-width:0; transform:translate(-50%,-50%); padding:8px 11px 9px 24px; border:1px solid #d3b478; border-radius:22px 27px 19px 28px / 25px 20px 29px 22px; background:linear-gradient(170deg,#fffdf8f7 58%,#f8ecd2f7); color:#202758; box-shadow:0 11px 0 2px #e7d0a4,0 20px 0 0 #c9a978,0 0 0 13px #6cc7ea4a,0 0 0 27px #9adaf021,0 26px 30px -14px #04162b7a,0 1px 0 #fff9ec inset; }
.journey-stop::before { content:''; position:absolute; left:10px; top:13px; width:6px; height:6px; border:2px solid #a91d54; border-radius:50%; background:#fffdf8; }
.journey-month { display:block; font-weight:800; font-size:12px; line-height:1.1; letter-spacing:.09em; color:#a91d54; }
.journey-copy h3 { margin:6px 0 4px; font-size:clamp(14px,1.08vw,17px); line-height:1.24; letter-spacing:-.015em; }
.journey-copy p { margin:0; font-size:clamp(11px,.82vw,13px); line-height:1.45; }
.journey-stop.is-empty { border-style:dashed; border-color:#9b83a5; background:#fffdf8bf; }
.journey-stop.is-empty::before { border-color:#927998; }
/* December is the port where the route ends: the chest sits at the end of the line. */
.journey-chest { width:27%; padding:9px 11px 10px; text-align:left; background:#fffdf8fb; }
.journey-chest::before { display:none; }
.journey-chest-body { display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; align-items:center; }
/* The illustrated chest closes the line: it arrives with a soft scale, then breathes under the
   warm gold glow, so the December port reads as the treasure the route was sailing to. */
.journey-chest img { display:block; width:68px; height:auto; filter:drop-shadow(0 8px 9px #42304c2e); animation:chest-arrive 1.1s cubic-bezier(.2,.8,.25,1) both,chest-breathe 6.4s ease-in-out 1.1s infinite alternate; }
@keyframes chest-arrive { from { opacity:0; transform:scale(.74) translateY(7px); } to { opacity:1; transform:scale(1) translateY(0); } }
@keyframes chest-breathe { from { transform:scale(1) translateY(0); } to { transform:scale(1.035) translateY(-2px); } }
/* The galleon and the sea king live in their own view-box, so they bob about their own centres. */
.js-ship,.js-king,.js-cloud { transform-box:fill-box; transform-origin:center; }
.js-ship { animation:bob 6.5s ease-in-out infinite alternate; }
.js-king { animation:bob 8.5s ease-in-out infinite alternate-reverse; }
.js-cloud { animation:drift 26s ease-in-out infinite alternate; }
@keyframes bob { from { transform:translateY(0) rotate(-1.4deg); } to { transform:translateY(-9px) rotate(1.5deg); } }
@keyframes drift { from { transform:translateX(0); } to { transform:translateX(42px); } }
.journey-chest h3 { margin:0 0 1px; font-size:clamp(12px,1vw,15px); line-height:1.2; letter-spacing:-.015em; }
.journey-chest strong { display:block; font-family:'Bricolage Grotesque',sans-serif; font-size:clamp(22px,1.9vw,30px); line-height:1.05; letter-spacing:-.04em; }
.journey-haul { display:block; font-size:10px; font-weight:700; margin-top:1px; color:#5c4a2e; }
/* Narrow charts (short laptop windows): the chest keeps its image but sheds the milestone title
   so the December card never outgrows the row gap and collides with November. The card keeps the
   width the `.journey-stop` rules below give every tag — a wider override here would need a
   selector strong enough to also beat the stacked mobile layouts, which reset the tags. */
@container (max-width:720px) {
  .journey-chest { left:80%; }
  .journey-chest h3 { display:none; }
  .journey-chest img { width:48px; }
  .journey-chest strong { font-size:22px; }
  .journey-haul { font-size:9px; }
}
/* The footnote wears the deck's notched ribbon, so the last row reads as a label and not as a
   stray line of text floating on the water. */
.journey-note { grid-column:1/-1; font-size:12px; line-height:1.4; color:#5c4a2e; background:#fdfaf3ea; padding:6px 26px; clip-path:polygon(0 14%,100% 0,98.6% 50%,100% 100%,0 86%,1.4% 50%); }

/* Slide 14 — one ship and one villain per poster, each drawn as its own 2:3 portrait. */
.villains-scene { display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:22px; }
.villains-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; }
.villains-heading h2 { font-size:clamp(36px,4.8vw,72px); }
.villains-heading h2 br { display:none; }
.villains-heading em { color:#efaccb; font-style:normal; }
.villains-heading p { font-size:15px; margin:0!important; }
.villain-lineup { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; min-height:0; padding:10px 6px; }
.villain-poster { position:relative; min-width:0; min-height:0; justify-self:center; width:auto; max-width:100%; aspect-ratio:2/3; overflow:hidden; border-radius:14px; background:#202758; box-shadow:0 16px 24px #080d292b; transform:rotate(-2deg); }
.villain-poster:nth-child(2) { transform:translateY(-8px) rotate(1deg); }
.villain-poster:nth-child(3) { transform:rotate(3deg); }
.villain-portrait { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:50% 38%; }
.villain-identity { position:absolute; inset:auto 0 0; padding:45px 24px 22px; background:linear-gradient(transparent,#101632 45%); }
.villain-identity>span { display:inline-block; padding:6px 12px; background:#efaccb; color:#202758; font-size:15px; font-weight:750; border-radius:5px; }
.villain-identity h3 { font-family:'Bricolage Grotesque',sans-serif; font-size:clamp(20px,2.4vw,44px); line-height:1; margin-top:12px; }
.villains-outro { display:flex; align-items:center; justify-content:space-between; gap:20px; font-size:13px; color:#eadff3; }
.villains-outro>span:last-child { display:flex; align-items:center; gap:10px; }

/* Slide 7 — DTPM stays the hub the five streams feed into; only Done volume is ranked. */
.lineup-scene .lineup .stream-value::before { content:none; }

/* `min-height:561px` keeps this block disjoint from the <=560px grid layouts below: without it the
   (0,3,0) `width:19%` here resolved against a 4-column grid area and shrank those tags to ~47px. */
@media(min-width:681px) and (max-height:750px) and (min-height:561px) {
  .roadmap-scene { gap:8px 20px; }
  /* Height is the scarce axis here: the seal would eat the chart's row, so it steps aside. */
  .journey-seal { display:none; }
  /* The chart's rows sit 30% of its height apart, and at these heights that is ~117px while the
     full-size tag lays out ~160px — so adjacent tags in one column overlapped. These selectors keep
     the taller `.roadmap-scene .journey-stop` block further down from winning on specificity. */
  .roadmap-scene .journey-chart .journey-stop { width:19%; min-height:0; padding:5px 8px 6px 19px; }
  .roadmap-scene .journey-chart .journey-stop::before { left:7px; top:9px; width:5px; height:5px; }
  .roadmap-scene .journey-chart .journey-month { font-size:11px; }
  .roadmap-scene .journey-chart .journey-copy h3 { margin:3px 0 2px; font-size:13px; line-height:1.2; }
  .roadmap-scene .journey-chart .journey-copy p { font-size:10.5px; line-height:1.3; }
}
@media(max-width:900px) {
  .roadmap-scene { gap:8px 16px; }
  .roadmap-heading { display:block; }
  .journey-seal { display:none; }
  .roadmap-heading>p { margin-top:8px!important; }
  .roadmap-heading>p br { display:none; }
  .journey-stop { width:19%; padding:6px 9px 7px 20px; }
  .journey-stop::before { left:8px; top:10px; width:5px; height:5px; }
  .journey-month { font-size:11px; }
  .journey-copy h3 { font-size:13px; }
  .journey-copy p { font-size:10.5px; }
  .villains-heading { display:block; }
  .villains-heading p { margin-top:10px!important; font-size:13px; }
  .villain-lineup { gap:12px; }
  .villain-identity { padding:40px 14px 18px; }
  .villain-identity>span { font-size:12px; }
}
@media(max-width:680px) {
  .roadmap-scene { grid-template-rows:auto minmax(0,1fr) auto; gap:8px; padding-top:8px; }
  .roadmap-heading h2 { font-size:29px; }
  .roadmap-heading h2 br { display:block; }
  .journey-chart { display:block; width:100%; height:auto; max-width:none; aspect-ratio:auto; min-height:160px; }
  .journey-chart-map { position:absolute; inset:0; width:100%; height:100%; border-radius:12px; }
  .journey-decor,.journey-route { display:none; }
  .journey-stops { position:relative; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; padding:10px 2px 2px; }
  .journey-stop { position:relative; left:auto; top:auto; width:auto; transform:none; padding:6px 8px 7px 19px; border-radius:14px 17px 13px 18px / 16px 13px 18px 14px; box-shadow:0 5px 0 0 #e0c79b,0 8px 12px -7px #04162b6b; }
  .journey-stop::before { left:7px; top:9px; width:5px; height:5px; }
  .journey-month { font-size:10px; letter-spacing:.06em; }
  .journey-copy h3 { margin:3px 0 2px; font-size:12px; }
  .journey-copy p { font-size:9.5px; line-height:1.35; }
  .journey-chest { grid-column:1/-1; width:auto; }
  .journey-chest h3 { display:block; font-size:13px; }
  .journey-chest img { width:60px; }
  .journey-chest strong { font-size:28px; }
  .journey-haul { display:none; }
  /* 9px here was the only size that fell below the readable floor the note is meant to hold. */
  .journey-note { padding:6px 18px; }
  .villains-scene { gap:14px; }
  .villains-heading h2 { font-size:36px; }
  .villains-heading h2 br { display:block; }
  .villain-lineup { grid-template-columns:1fr; grid-template-rows:repeat(3,minmax(0,1fr)); gap:12px; padding:2px; }
  .villain-poster,.villain-poster:nth-child(2),.villain-poster:nth-child(3) { justify-self:stretch; width:100%; aspect-ratio:auto; transform:none; border-radius:10px; }
  .villain-portrait { object-position:50% 24%; }
  .villain-poster.big-mom .villain-portrait { object-position:50% 15%; }
  .villain-identity { inset:0 0 0 40%; display:flex; flex-direction:column; align-items:start; justify-content:center; padding:10px 12px 10px 25px; background:linear-gradient(90deg,transparent,#101632 24%); }
  .villain-identity h3 { font-size:27px; margin-top:9px; }
  .villain-identity>span { font-size:11px; padding:4px 8px; }
  .villains-outro { font-size:10px; }
  .villains-outro>span:last-child { display:none; }
}
@media(max-height:700px) and (max-width:680px) {
  .roadmap-heading h2 { font-size:23px; }
  .roadmap-heading>p { display:none; }
  .roadmap-scene { gap:6px; }
  .journey-stops { gap:4px; padding:8px 2px 2px; }
  .journey-stop { padding:5px 7px 6px 17px; }
  .journey-copy h3 { font-size:11px; }
  .journey-copy p { font-size:9px; }
  .journey-chest img { width:55px; }
  .journey-chest strong { font-size:24px; }
}
/* Short viewports — landscape phones and squat desktop windows alike: a 3:2 chart cannot stay
   legible in ~300px of height, so the map becomes a full-width paper backdrop and the twelve stops
   keep the whole column to themselves. The footnote row is dropped: it costs the chart ~40px of the
   height it needs and would otherwise paint over the December tag (measured at 740x360). */
@media(max-height:560px) {
  .roadmap-scene { gap:6px 14px; padding-top:6px; }
  .roadmap-heading h2 { font-size:22px; }
  .roadmap-heading>p { display:none; }
  .journey-chart { display:block; width:100%; height:auto; aspect-ratio:auto; }
  .journey-chart-map { position:absolute; inset:0; width:100%; height:100%; border-radius:10px; }
  .journey-decor,.journey-route { display:none; }
  .journey-seal { display:none; }
  .journey-stops { position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; padding:6px 2px 2px; }
  .journey-stop { position:relative; left:auto; top:auto; width:auto; transform:none; padding:4px 6px 5px 16px; border-radius:9px; box-shadow:0 3px 0 0 #e0c79b,0 6px 9px -6px #04162b5c; }
  .journey-stop::before { left:6px; top:8px; width:5px; height:5px; border-width:1.5px; }
  .journey-month { font-size:9px; }
  .journey-copy h3 { margin:2px 0; font-size:11.5px; line-height:1.18; }
  .journey-copy p { display:none; }
  .journey-note { display:none; }
  .journey-chest { grid-column:1/-1; width:auto; padding:4px 8px; }
  .journey-chest-body { display:flex; align-items:center; justify-content:center; gap:6px; }
  .journey-chest h3,.journey-haul { display:none; }
  .journey-chest img { width:32px; }
  .journey-chest strong { font-size:20px; }
}
/* Same squat heights, but desktop widths only: at 667x375 and below the deck is on the portrait
   layout, which keeps the villains intro and the hub copy on screen. */
@media(max-height:560px) and (min-width:681px) {
  .villains-scene { gap:8px; }
  .villains-heading h2 { font-size:26px; }
  .villains-heading p { display:none; }
  .villain-lineup { gap:10px; padding:2px; }
  .villain-poster { justify-self:stretch; width:100%; aspect-ratio:auto; }
  .villain-portrait { object-position:50% 26%; }
  .villain-identity { padding:22px 12px 10px; }
  .villain-identity h3 { font-size:20px; margin-top:6px; }
  .villain-identity>span { font-size:10px; padding:3px 7px; }
  .villains-outro { font-size:9px; }
  .dtpm-hub>p,.dtpm-hub>small,.dtpm-hub-count>span { display:none; }
}
/* Short *and* narrow (a small phone on its side): four columns leave ~110px per tag, so the tags keep
   three columns instead and the December card still has room for art and number on one row. */
@media(max-height:560px) and (max-width:520px) {
  .journey-stops { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
/* The narrowest portrait phones give the chart less height than its tags need (320x568: ~490px of
   chart against the ~430px its scene row leaves), so the footnote row would paint over the December
   tag. It is the first thing to go, as on the short-viewport layouts above. */
@media(max-width:340px) {
  .journey-note { display:none; }
}

/* Generated Grand Line environment replaces the procedural sea and floating chart. */
.experience[data-chapter="roadmap"] {
  /* The ocean plate is bright along its horizon, so the top band stays deep enough for the
     white and gold heading to clear AA wherever the water glows. */
  background:linear-gradient(180deg,rgba(4,17,46,.9),rgba(4,17,46,.78) 16%,rgba(4,17,46,.42) 30%,transparent 48%,transparent 74%,rgba(4,17,46,.72)),url("../assets/images/grand-line-ocean.webp") center/cover no-repeat;
}
.experience[data-chapter="roadmap"] #ribbon-canvas { display:none; }
.roadmap-scene > svg.journey-seas,
.roadmap-scene > svg.journey-waves,
.roadmap-scene .journey-decor,
.roadmap-scene .journey-chart-map { display:none; }
.roadmap-scene .journey-seal { display:none; }
.roadmap-scene .journey-chart { transform:none; }
.roadmap-scene .journey-route-line { stroke:#ffd77b; animation:none; }
.roadmap-scene .journey-route-halo { stroke:#533b21; opacity:.38; }
.roadmap-heading h2 { text-shadow:0 3px 12px #051839; }
.roadmap-heading em { color:#ffe1a0; }
.roadmap-heading>p { color:white; text-shadow:0 2px 8px #051839; }
/* Keep the desktop title's two phrases apart when its line break is hidden. */
@media(min-width:681px) { .roadmap-heading em { margin-left:.22em; } }

/* Landfalls replace UI cards. Text stays anchored on the island's pale sand. */
.roadmap-scene .journey-chart { aspect-ratio:2.1; }
.roadmap-scene .journey-stop { border:0; border-radius:0; background:none; box-shadow:none; padding:24px 22px 26px; min-height:125px; isolation:isolate; opacity:0; scale:.86; transition:opacity .65s ease,scale .85s cubic-bezier(.16,1,.3,1); }
.roadmap-scene .journey-stop::before { content:''; position:absolute; inset:-10% -13% -15%; width:auto; height:auto; border:0; border-radius:0; background:url('../assets/images/voyage-island.webp') center/100% 100% no-repeat; z-index:-1; }
.roadmap-scene .journey-stop.port-arrived { opacity:1; scale:1; }
/* The island art carries thin dark coastline strokes that crossed the copy; a soft sand wash over
   its pale interior keeps every landfall run on the sand the design intends. */
.roadmap-scene .journey-stop::after { content:''; position:absolute; z-index:-1; inset:1px 3px 3px; border-radius:18px; background:radial-gradient(112% 108% at 50% 42%,rgba(253,247,235,.94) 0%,rgba(253,247,235,.84) 58%,rgba(253,247,235,.36) 86%,rgba(253,247,235,0) 100%); }
/* The month and the haul stamp carry their own cream chip rather than bare ink, so both clear AA on
   whatever island or treasure pixel ends up beneath them. */
.roadmap-scene .journey-month,
.roadmap-scene .journey-haul { width:fit-content; align-self:flex-start; padding:1px 6px 2px; border-radius:5px; background:rgba(253,250,243,.94); box-shadow:0 1px 0 rgba(4,23,56,.18); }
.roadmap-scene .journey-month { font-size:12px; letter-spacing:.06em; }
.roadmap-scene .journey-copy h3 { font-size:15px; line-height:1.25; margin:5px 0; }
.roadmap-scene .journey-copy p { font-size:11px; line-height:1.4; }
/* The December chest carries the tallest copy and sits over the island's darkest strokes, where the
   wash alone fades out; a cream base under its gradient keeps the number and the stamp off the art. */
.roadmap-scene .journey-stop.journey-chest::after { background-color:rgba(253,247,235,.8); }
.roadmap-scene .journey-stop.is-empty { min-height:100px; }
.roadmap-scene .journey-chest { width:23%; padding:22px 24px; }
.roadmap-scene .journey-chest::before { display:block; }
.roadmap-scene .journey-chest-body { display:flex; align-items:center; gap:8px; }
.roadmap-scene .journey-chest img { width:75px; animation:none; transform-origin:50% 85%; }
.roadmap-scene.treasure-arrived .journey-chest img { animation:treasure-landfall 1.6s cubic-bezier(.16,1,.3,1) both,treasure-breathe 4s ease-in-out 1.6s infinite; }
/* The chest card *is* the December grid cell — measured, its box equals the tag's — so a hull parked
   on the marker lies across the December copy and its art. Docked, it berths in the chart's right
   margin instead: 15% of the chart's width from the marker, which is clear of the card at every width
   probed (1535x695 `[919..1075]` card vs `[1081..1163]` hull; 1280x720 `[..974]` vs `[980..1065]`).
   A % margin on an absolutely positioned box resolves against the chart, so the berth scales with the
   chart while the fixed 85px hull keeps `translate(-50%,-50%)`; a ship-relative offset (the old
   `-250%`) does not, which is why it drifted onto the card at 1440x900 and 1920x1080.
   On the docked state only: a transition on the base rule would fight `paint()`'s per-frame
   left/top. Without it the hull jumps sideways on the voyage's final frame.
   Below that gate the card runs to the chart's right edge, so a berth right of it cannot fit inside
   the chart (15% at 390x844 puts the hull over the copy: `strong` minRatio 1.9, 3.5% of its pixels
   under 4.5). There the hull keeps the old ship-relative offset, left of the card, over open water —
   which is what the pre-existing compact layout measured clean. */
.roadmap-scene .journey-traveler.is-docked { transform:translate(-250%,-50%) scaleX(var(--ship-facing,1)); transition:transform .45s ease; }
@media(min-width:681px) and (min-height:561px) {
  .roadmap-scene .journey-traveler.is-docked { transform:translate(-50%,-50%) scaleX(var(--ship-facing,1)); margin-left:15%; transition:transform .45s ease,margin-left .45s ease; }
}
.journey-traveler { position:absolute; width:85px; height:auto; z-index:5; pointer-events:none; transform:translate(-50%,20%) scaleX(var(--ship-facing,1)); filter:drop-shadow(0 8px 8px #05284180); }
@keyframes treasure-landfall { from { transform:translateY(12px) scale(.65); filter:brightness(.75); } to { transform:none; filter:brightness(1.1); } }
@keyframes treasure-breathe { 0%,100% { transform:translateY(0); filter:drop-shadow(0 4px 8px #ffca6470); } 50% { transform:translateY(-3px); filter:drop-shadow(0 6px 13px #ffd77b); } }
#experience:is(.motion-paused,.reduced-motion) .journey-stop { opacity:1; scale:1; transition:none; }
#experience:is(.motion-paused,.reduced-motion) .journey-chest img { animation:none; }

/* Slide 2 is a layered cinematic cover, not a stretched poster. The copy is white and gold over a
   photograph, so the plate is darkened in one seamless left-to-right ramp. A scrim drawn *behind the
   words* read as a blue panel floating on the photo, and one drawn on `.volume-scene` stopped at the
   scene's own box, stepping hard against the full-bleed plate behind the top and player bands. */
.experience[data-chapter="volume"] {
  background-color:#071849;
  background-image:linear-gradient(92deg,rgba(3,10,28,0) 26%,rgba(3,10,28,.5) 38%,rgba(3,10,28,.72) 46%,rgba(3,10,28,.8) 100%),url('../assets/images/captain-deck.webp');
  background-position:center; background-size:cover; background-repeat:no-repeat;
}
.experience[data-chapter="volume"] :is(#ribbon-canvas,.celebration-marks) { display:none; }
.volume-scene { display:block; padding:0; overflow:hidden; }
/* The captain art is 1193x1319 with alpha from row 11 to row 1318 — essentially its full box — so any
   part of the stage that hangs outside the scene is a visible amputation. `object-fit:contain` already
   fits the art inside the stage, so the stage must *be* the scene box: at `bottom:-21%; height:120.5%`
   the hull of the boots fell 41px below the scene's bottom edge (measured 1535x695: stage bottom 652
   against a scene ending at 611) and the character read as floating. Aligned to the scene, the art is
   drawn by the scene's height (~541px) and nothing is clipped top or bottom. */
.captain-stage { position:absolute; left:0; bottom:0; height:100%; width:65%; }
.captain-character,.captain-canvas { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:left bottom; }
.captain-copy { position:absolute; z-index:1; top:5%; right:5%; width:53%; text-align:center; color:#ffe7b4; }
.volume-scene .captain-copy h2 { font-family:Georgia,'Times New Roman',serif; font-style:italic; font-size:clamp(40px,6.4vw,100px); line-height:1.05; letter-spacing:-.035em; text-shadow:0 2px 0 #5a2c0b,0 0 2px #04102bf5,0 5px 16px #04102be0; }
.captain-copy h2 span { display:block; font-family:Inter,sans-serif; font-size:clamp(17px,2vw,30px); color:#fff; font-weight:800; text-transform:uppercase; letter-spacing:.025em; margin-bottom:20px; text-shadow:0 0 2px #04102bf5,0 3px 12px #04102bcc; }
.captain-copy h2 em { display:block; font-style:italic; }
.captain-copy h2 strong { display:block; font-size:clamp(85px,13vw,205px); line-height:1.05; font-weight:700; -webkit-text-stroke:1.5px #6b3410; }
.volume-scene .captain-copy>p { color:#202758; background:#ffe5ac; font-size:clamp(13px,1.4vw,21px); font-weight:750; padding:13px 18px; margin-top:18px; border-radius:6px; transform:rotate(-2deg); }
@media(max-width:900px) {
 .roadmap-scene .journey-chart { aspect-ratio:1.7; }
 .roadmap-scene .journey-stop { padding:20px 14px; min-height:115px; }
 .roadmap-scene .journey-copy h3 { font-size:13px; }
 .roadmap-scene .journey-copy p { font-size:10px; }
 .roadmap-scene .journey-chest-body { gap:3px; }
 .roadmap-scene .journey-chest img { width:48px; }
 .journey-traveler { width:65px; }
}
@media(max-width:680px) {
 .roadmap-scene .journey-chart { aspect-ratio:auto; }
 .roadmap-scene .journey-stops { gap:8px 12px; }
 .roadmap-scene .journey-stop { padding:13px 17px; min-height:65px; }
 .roadmap-scene .journey-stop.is-empty { min-height:65px; }
 .roadmap-scene .journey-copy p { display:none; }
 .roadmap-scene .journey-copy h3 { font-size:12px; }
 .roadmap-scene .journey-chest { width:auto; }
 .roadmap-scene .journey-chest-body { justify-content:center; }
 .roadmap-scene .journey-route { display:block; }
 .journey-traveler { width:45px; }
 .captain-copy { width:88%; right:6%; top:0; }
 /* Portrait: the copy sits on the captain himself, and no ramp can be shaped around that. */
 .volume-scene .captain-copy::before { content:''; position:absolute; z-index:-1; inset:-6% -8% -10%; background:radial-gradient(114% 98% at 50% 46%,#061131d9 0%,#061131b3 48%,#0611315c 74%,#06113100 100%); }
 .volume-scene .captain-copy h2 { font-size:43px; }
 .captain-copy h2 span { font-size:17px; margin-bottom:8px; }
 .captain-copy h2 strong { font-size:95px; }
 .volume-scene .captain-copy>p { font-size:12px; padding:8px; margin-top:6px; }
 .captain-stage { width:105%; height:100%; bottom:0; left:-8%; }
}
@media(max-height:560px) and (min-width:681px) {
 .roadmap-scene .journey-chart { aspect-ratio:auto; }
 .roadmap-scene .journey-stop { padding:7px 14px; min-height:35px; }
 .roadmap-scene .journey-stop.is-empty { min-height:35px; }
 .roadmap-scene .journey-chest { width:auto; }
 .roadmap-scene .journey-chest img { width:30px; }
 .roadmap-scene .journey-route { display:block; }
 .volume-scene .captain-copy h2 { font-size:38px; }
 .captain-copy h2 span { font-size:14px; margin-bottom:5px; }
 .captain-copy h2 strong { font-size:85px; }
 .volume-scene .captain-copy>p { font-size:11px; margin-top:8px; padding:8px; }
}
/* Leave water visible between islands and keep the last landfall inside the grid. */
.roadmap-scene .journey-stop::before { inset:-5% -4% -12%; }
.roadmap-scene .journey-chest img { position:relative; z-index:1; flex-shrink:0; }
.roadmap-scene .journey-chest-copy { position:relative; z-index:1; min-width:0; }
@media(max-width:680px) {
 .roadmap-scene .journey-stop { padding:12px 14px; min-height:55px; }
 .roadmap-scene .journey-stop.is-empty { min-height:55px; }
 .roadmap-scene .journey-chest { grid-column:auto; padding:12px 10px; }
 .roadmap-scene .journey-chest h3,.roadmap-scene .journey-haul { display:none; }
 .roadmap-scene .journey-chest strong { font-size:22px; }
 .roadmap-scene .journey-chest img { width:40px; }
 .roadmap-scene .journey-chart { margin-block:12px; }
}
@media(max-width:680px) { .captain-stage { width:135%; height:100%; bottom:0; left:-18%; } }
/* The chart's rows sit ~30% of its height apart, so under ~430px of chart no tag of readable size
   fits between them: at 1100x600 the compacted tags measured 121px tall in a ~91px pitch and four
   pairs overlapped. The copy line goes, as it already does on every <=560px layout. */
@media(min-width:681px) and (max-height:660px) and (min-height:561px) {
  .roadmap-scene .journey-chart .journey-copy p { display:none; }
}

/* Full month names and readable copy stay within each landfall. */
.roadmap-scene .journey-chart .journey-stop { box-sizing:border-box; }
.roadmap-scene .journey-chart .journey-month { font-size:clamp(11px,.88vw,14px); line-height:1.2; letter-spacing:.01em; white-space:nowrap; }
.roadmap-scene .journey-chart .journey-copy h3 { font-size:clamp(13px,1.05vw,16px); line-height:1.22; }
.roadmap-scene .journey-chart .journey-copy p { font-size:clamp(12px,.9vw,14px); line-height:1.34; }
.roadmap-scene .journey-chart .journey-chest { width:22%; padding:15px 17px; }
.roadmap-scene .journey-chart .journey-chest-body { gap:7px; }
.roadmap-scene .journey-chart .journey-chest img { width:clamp(45px,5vw,66px); }
.roadmap-scene .journey-chart .journey-chest h3 { font-size:clamp(12px,.9vw,15px); }
.roadmap-scene .journey-chart .journey-chest strong { font-size:clamp(23px,2vw,31px); }
.roadmap-scene .journey-note { grid-column:1/-1; justify-self:start; width:min(610px,53vw); max-width:100%; padding:10px 18px; background:#fff7e7f2; color:#24345b; font-size:14px; font-weight:650; line-height:1.35; clip-path:none; border-radius:12px; box-shadow:0 7px 18px #07193649; }
.roadmap-scene .journey-note span { display:block; font-size:13px; font-weight:500; margin-top:2px; }
/* The transparent captain illustration reaches its source image's bottom edge. Dissolve that edge
   into the photographed deck instead of exposing the rectangular cut of the source canvas. */
.volume-scene .captain-character,.volume-scene .captain-canvas { -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%); mask-image:linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%); }
@media(max-width:900px) {
  .roadmap-scene .journey-chart .journey-stop { padding:16px 12px; }
  .roadmap-scene .journey-chart .journey-chest { padding:12px 10px; }
  .roadmap-scene .journey-chart .journey-chest img { width:40px; }
  .roadmap-scene .journey-chart .journey-copy p { font-size:12px; }
  .roadmap-scene .journey-note { width:min(560px,70vw); }
}
@media(max-width:680px) {
  .roadmap-scene .journey-chart .journey-stop { padding:9px 12px; min-height:55px; }
  .roadmap-scene .journey-chart .journey-month { font-size:11px; }
  .roadmap-scene .journey-chart .journey-copy h3 { font-size:12px; margin:3px 0 0; }
  .roadmap-scene .journey-chart .journey-copy p { display:none; }
  .roadmap-scene .journey-chart .journey-chest { grid-column:auto; width:auto; padding:7px 9px; }
  .roadmap-scene .journey-chart .journey-chest img { width:34px; }
  .roadmap-scene .journey-chart .journey-chest h3,.roadmap-scene .journey-chart .journey-haul { display:none; }
  .roadmap-scene .journey-chart .journey-chest strong { font-size:22px; }
  .roadmap-scene .journey-note { width:min(310px,92%); padding:7px 10px; font-size:11px; }
  .roadmap-scene .journey-note span { font-size:10px; }
  .volume-scene .captain-character,.volume-scene .captain-canvas { -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 76%,transparent 99%); mask-image:linear-gradient(to bottom,#000 0%,#000 76%,transparent 99%); }
}
@media(max-height:560px) and (min-width:681px) {
  .roadmap-scene .journey-chart .journey-stop { padding:4px 12px; min-height:0; }
  .roadmap-scene .journey-chart .journey-month { font-size:10px; }
  .roadmap-scene .journey-chart .journey-copy h3 { font-size:11px; }
  .roadmap-scene .journey-chart .journey-copy p { display:none; }
  .roadmap-scene .journey-chart .journey-chest { grid-column:auto; width:auto; padding:3px 8px; }
  .roadmap-scene .journey-chart .journey-chest-body { justify-content:flex-end; gap:4px; }
  .roadmap-scene .journey-chart .journey-chest img { width:25px; }
  .roadmap-scene .journey-chart .journey-chest strong { font-size:19px; }
  .roadmap-scene .journey-note { display:none; }
}
@media(max-width:680px) {
  .volume-scene .captain-stage { height:72%; width:135%; left:-18%; bottom:0; }
}

/* Give the April/May landfalls a clear channel at desktop height. */
@media(min-width:901px) and (min-height:751px) {
  .roadmap-scene .journey-chart .journey-stop { padding:11px 15px; min-height:0; }
  .roadmap-scene .journey-chart .journey-copy p { font-size:12px; line-height:1.25; }
}
/* A short wide window needs rows rather than tall absolutely placed islands. */
@media(min-width:681px) and (max-height:650px) and (min-height:561px) {
  .roadmap-scene .journey-chart { width:100%; height:auto; aspect-ratio:auto; }
  .roadmap-scene .journey-stops { position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px 10px; padding:8px 4px; }
  .roadmap-scene .journey-chart .journey-stop { position:relative; left:auto; top:auto; width:auto; min-height:0; transform:none; padding:7px 11px; }
  .roadmap-scene .journey-chart .journey-copy p { display:none; }
  .roadmap-scene .journey-chart .journey-chest { width:auto; padding:5px 9px; }
  .roadmap-scene .journey-chart .journey-chest img { width:34px; }
  .roadmap-scene .journey-chart .journey-chest h3,.roadmap-scene .journey-chart .journey-haul { display:none; }
  .roadmap-scene .journey-note { display:none; }
}
@media(min-width:1500px) and (max-height:750px) and (min-height:651px) {
  .roadmap-scene .journey-chart .journey-stop { padding:5px 10px; min-height:0; }
  .roadmap-scene .journey-chart .journey-copy p { display:none; }
  .roadmap-scene .journey-chart .journey-chest { padding:5px 10px; }
  .roadmap-scene .journey-chart .journey-chest img { width:38px; }
}

/* Approved treasure-map scrolls. Text stays live; the blank PNGs can also be used in PPT. */
.roadmap-scene .journey-chart .journey-stop { padding:16px 22px; min-height:82px; background:none; border:0; box-shadow:none; }
.roadmap-scene .journey-chart .journey-stop::before { display:block; inset:0; width:auto; height:auto; border:0; border-radius:0; background:url('../assets/images/roadmap-scroll-blank.webp') center/100% 100% no-repeat; }
.roadmap-scene .journey-chart .journey-stop::after { display:none; }
.roadmap-scene .journey-chart .journey-month { background:none; box-shadow:none; border-radius:0; padding:0; color:#971749; font-size:clamp(11px,1vw,15px); }
.roadmap-scene .journey-chart .journey-copy h3 { margin:4px 0 0; font-size:clamp(12px,1.05vw,16px); }
.roadmap-scene .journey-chart .journey-copy p { display:none; }
.roadmap-scene .journey-chart .journey-chest { padding:18px 26px; }
.roadmap-scene .journey-chart .journey-haul { background:none; box-shadow:none; padding:0; }
.roadmap-scene .journey-note { justify-self:center; width:min(720px,80%); text-align:center; padding:17px 36px; background:transparent url('../assets/images/roadmap-scroll-banner-blank.webp') center/100% 245% no-repeat; border-radius:0; box-shadow:none; }
@media(max-width:900px) { .roadmap-scene .journey-chart .journey-stop { padding:14px 19px; min-height:78px; } .roadmap-scene .journey-chart .journey-chest { padding:16px 20px; } }
@media(max-width:680px) { .roadmap-scene .journey-chart .journey-stop { padding:12px 20px; min-height:62px; } .roadmap-scene .journey-chart .journey-chest { padding:10px 19px; } .roadmap-scene .journey-note { width:100%; padding:12px 22px; font-size:11px; } }
@media(min-width:681px) and (max-height:650px) { .roadmap-scene .journey-chart .journey-stop { padding:8px 18px; min-height:54px; } .roadmap-scene .journey-chart .journey-chest { padding:7px 18px; } }
@media(min-width:1500px) and (max-height:750px) and (min-height:651px) { .roadmap-scene .journey-chart .journey-stop { padding:9px 20px; min-height:62px; } .roadmap-scene .journey-chart .journey-chest { padding:10px 22px; } .roadmap-scene .journey-chart .journey-chest img { width:30px; } .roadmap-scene .journey-chart .journey-chest strong { font-size:24px; } }
