/* Round 3 (2026-11-20). Loaded last. Only what round 3 changes: the menu-card count and season line, the pocket-card
   identification, the Motosu Listen button, the line diagram photos and bracket, the plan photographs, the closing picture.
   Nothing here restructures a section. */

/* ---- Lunch box: count and the season line under the menu card ---- */
.menu-count { margin:.15rem 0 0 .5rem; font-size:.8125rem; font-weight:700; letter-spacing:.02em; color:var(--color-muted,#55615d); }
.menu-season { margin:.35rem 0 0 .5rem; font-size:.8125rem; line-height:1.45; color:var(--color-muted,#55615d); max-width:21rem; }
.stage-panel .menu-count, .stage-panel .menu-season { margin-left:.25rem; }

/* ---- "In a pocket, more or less": the plain identification comes first, then the line ---- */
.flip-id { display:block; font-family:var(--font-sans,'Manrope',sans-serif); font-size:.8125rem; font-weight:700; line-height:1.3; letter-spacing:0; color:var(--color-ink,#14201f); margin-bottom:.3rem; }
.flip.is-enhanced .flip-back { font-size:clamp(1rem,1.5vw,1.2rem); line-height:1.15; align-content:center; text-align:center; padding:.8rem 1.1rem; }
.flip.is-enhanced .flip-back .flip-id { font-size:clamp(.75rem,.95vw,.8125rem); }
@media (max-width:700px) {
  .flip.is-enhanced .flip-back { padding:.5rem .95rem; font-size:.95rem; }
  .flip.is-enhanced .flip-back .flip-id { font-size:.6875rem; margin-bottom:.2rem; }
}

/* ---- The line: photographs on three dots, the hand-drawn bracket ---- */
.line-svg .route-bracket { fill:none; stroke:var(--color-accent); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.line-svg .route-hand { fill:var(--color-accent); font-family:'Caveat Brush',var(--font-sans); font-size:30px; letter-spacing:.5px; }
.line-svg .route-stem { stroke:#9fb0ac; stroke-width:2; stroke-dasharray:3 5; fill:none; }
.line-svg .route-photo-ring { fill:none; stroke:var(--color-paper); stroke-width:3; }
.line-svg-tall { max-width:380px; }
.motion-ready [data-reveal] .route-photo, .motion-ready [data-reveal] .route-bracket, .motion-ready [data-reveal] .route-hand { opacity:0; transition:opacity var(--motion-fast,.3s) var(--ease-soft,ease); transition-delay:calc(900ms); }
.motion-ready [data-reveal].is-visible .route-photo, .motion-ready [data-reveal].is-visible .route-bracket, .motion-ready [data-reveal].is-visible .route-hand { opacity:1; }
.motion-off .route-photo, .motion-off .route-bracket, .motion-off .route-hand { opacity:1 !important; }

/* ---- Plan: a photograph beside each pair of rows ---- */
.plan-split { display:grid; gap:1.75rem; margin:2.5rem 0 1.5rem; }
.plan-pair { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:1.5rem; align-items:center; }
.plan-pair:nth-child(even) { grid-template-columns:minmax(0,6fr) minmax(0,5fr); }
.plan-pair:nth-child(even) .plan-photo { order:2; }
.plan-photo { margin:0; border-radius:var(--radius-card,18px); overflow:hidden; box-shadow:0 14px 30px rgba(22,33,31,.16); aspect-ratio:16 / 10; background:var(--color-line,#d9d2c3); }
.plan-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.plan-rows { display:grid; gap:1rem; }
@media (max-width:760px) {
  .plan-pair, .plan-pair:nth-child(even) { grid-template-columns:1fr; gap:1rem; }
  .plan-pair:nth-child(even) .plan-photo { order:0; }
}
.plan-sources { margin-top:1.5rem; }

/* ---- Closing picture, full width above the footer ---- */
.closing-picture { margin:0; line-height:0; background:var(--color-ink,#14201f); }
.closing-picture img { display:block; width:100%; height:auto; aspect-ratio:21 / 9; object-fit:cover; }
@media (max-width:760px) { .closing-picture img { aspect-ratio:4 / 3; object-position:62% 50%; } }

/* ---- Lunch box tags: on desktop a tag never blocks the rings or the Back button under it (taps go through); a tap on the picture closes it ---- */
@media (min-width:761px) { .item-tag { pointer-events:none; } }

/* ---- The herb-train line runs the whole way, Motosu to Tarumi: non-scaling-stroke made the pathLength dash stop short (at Midori) ---- */
.line-svg .line-herb { vector-effect:none; }

/* ------------------------------------------------------------------ languages (round 3, stage 2) */
.lang-switch { display:inline-flex; align-items:center; gap:.1rem; margin-inline-start:.4rem; }
.site-nav .lang-switch a, .lang-switch a { min-width:44px; min-height:44px; padding-inline:.5rem; display:inline-flex; align-items:center; justify-content:center; font-weight:600; font-size:.8125rem; letter-spacing:.04em; opacity:.8; }
.lang-switch a + a { border-inline-start:1px solid currentColor; border-image:linear-gradient(transparent 28%, rgba(255,255,255,.4) 28% 72%, transparent 72%) 1; }
.lang-switch a[aria-current] { opacity:1; text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:2px; }
.site-nav .lang-switch a:after { display:none; }
.site-footer nav .lang-switch, footer nav .lang-switch { margin-inline-start:1rem; }
@media (max-width:760px) { .site-header.menu-open .site-nav .lang-switch { padding-top:.4rem; } }
.ticket-stations .alt-name { color:var(--color-muted); font-size:.85rem; }
.ticket-stations .alt-name [lang=ja] { font-size:inherit; }

html[lang="ja"] body { line-height:1.85; line-break:strict; word-break:auto-phrase; }
html[lang="ja"] :is(.title-editorial, .title-film, .p-lead, .p-hero-sub, .step-title, .title-day h2) { letter-spacing:0; line-height:1.3; }
html[lang="ja"] .title-destination { font-family:var(--font-ja); font-weight:700; transform:none; font-size:clamp(3.6rem,10vw,9rem); letter-spacing:.08em; line-height:1.05; }
html[lang="ja"] .title-explore { letter-spacing:.12em; }
html[lang="ja"] .hand-note, html[lang="ja"] .annotation, html[lang="ja"] .ask-q { line-height:1.4; }
html[lang="ja"] .meta, html[lang="ja"] .p-label, html[lang="ja"] .chapter-bar { letter-spacing:.06em; text-transform:none; }
html[lang="ja"] .line-svg .route-label { letter-spacing:0; }
html[lang="nl"] body { hyphens:auto; -webkit-hyphens:auto; overflow-wrap:break-word; }
html[lang="nl"] :is(.title-editorial, .title-film, .step-title) { hyphens:manual; overflow-wrap:break-word; }
@media (max-width:760px) {
  html[lang="ja"] .title-destination { font-size:clamp(3rem,15vw,4.4rem); }
  html[lang="nl"] .title-editorial { font-size:clamp(1.9rem,8.4vw,2.4rem); }
}
/* Japanese names inside English or Dutch text stay in one piece. */
html:not([lang="ja"]) [lang="ja"] { white-space:nowrap; }

/* Japanese hand text on the Japanese page uses Zen Maru Gothic (no second Japanese hand font: first-view weight). */
html[lang="ja"] { --font-script:'Caveat Brush','Zen Maru Gothic',sans-serif; }
html[lang="ja"] .tag-ja, html[lang="ja"] .chip [lang=ja], html[lang="ja"] .yakusou .annotation [lang=ja], html[lang="ja"] .yakusou .find-tag[lang=ja] { font-family:var(--font-ja); font-weight:700; }
@media (max-width:760px) {
  html[lang="nl"] .p-hero .title-destination { font-size:clamp(2.8rem,14.5vw,4.2rem); }
  .album-note { max-width:calc(100% - 40px); }
  html[lang="ja"] .album-note { font-size:1.4rem; }
}

/* Opus review fixes (stage 2): the node-pulse animation of the SVG route dots was also applied to the HTML stop items in "Get off"
   (scale 1 to 1.45 once settled), so the items drifted over the timeline. HTML stop items never pulse. */
.stop-list .route-node, .motion-ready [data-reveal].is-settled .stop-list .route-node { animation:none !important; transform:none !important; }
/* Header legibility over the hero video: the language links are not dimmed (the current one is underlined) and header text gets a soft shadow. */
.lang-switch a, .site-nav .lang-switch a { opacity:1; }
.r2-header .place-name, .r2-header .site-nav a, .r2-header .lang-switch a { text-shadow:0 1px 6px rgba(0,0,0,.5); }
/* Hero ticket count: the shared red (#d2452f) measured 4.1:1 on the cream ticket (small text needs 4.5). A darker red only here: 5.4:1. */
.hero-ticket-count { color:#b23a24; }
/* Footer clears the fixed stamp tab (12 px + 56 px from the bottom): at the end of the page the tab covered the first footer link ("The line" on desktop, "EN" on the phone). */
.yakusou footer { padding-bottom:calc(env(safe-area-inset-bottom) + 84px); }
