.trip-story{--gutter:clamp(20px, 4vw, 40px);--margin:max(0px, (100vw - 1200px) / 2);--inset:calc(var(--margin) + var(--gutter));--bleed:calc(-1 * var(--inset));--nav:72px}.trip-story .scrolly{grid-template-rows:auto auto;grid-template-columns:1.1fr .9fr;align-items:start;column-gap:48px;display:grid}.trip-story .hero-copy{min-height:calc(100vh - var(--nav));flex-direction:column;grid-area:1/2;justify-content:center;padding-bottom:48px;display:flex}.trip-story h1{margin:18px 0 22px;font-size:clamp(44px,5.2vw,84px)}.trip-story .hero-copy .lede{max-width:42ch}.trip-story .badges{flex-wrap:wrap;gap:12px;display:flex}.trip-story .hero-copy .badges{margin-top:30px}.trip-story .note{color:var(--color-fog-dim);margin-top:14px;font-size:13.5px;font-weight:600}.trip-story .cue{letter-spacing:.16em;text-transform:uppercase;color:var(--color-fog-dim);align-items:center;gap:12px;margin-top:54px;font-size:12px;font-weight:800;display:inline-flex}.trip-story .cue i{border:1.5px solid var(--color-fog-dim);border-radius:50%;place-items:center;width:22px;height:22px;display:grid;position:relative;overflow:hidden}.trip-story .cue i:after{content:"";border-right:1.5px solid var(--color-lagoon);border-bottom:1.5px solid var(--color-lagoon);width:6px;height:6px;animation:1.6s ease-in-out infinite story-cue;transform:rotate(45deg)}@keyframes story-cue{0%{opacity:0;transform:translateY(-10px)rotate(45deg)}40%{opacity:1}to{opacity:0;transform:translateY(8px)rotate(45deg)}}.trip-story .stage-sticky{top:var(--nav);height:calc(100vh - var(--nav));min-height:560px;margin-left:var(--bleed);grid-area:1/1/3;align-self:start;position:sticky}.trip-story .story-map{height:100%;position:relative;overflow:hidden}.trip-story .story-map:before{content:"";pointer-events:none;background:radial-gradient(60% 50% at 42% 42%,#2fe3c217,#0000 70%);position:absolute;inset:0}.trip-story .story-layers{position:absolute;inset:0}.trip-story .fade-edges{-webkit-mask-composite:source-in;-webkit-mask-image:linear-gradient(90deg,#000 84%,#0000),linear-gradient(#000 86%,#0000);mask-image:linear-gradient(90deg,#000 84%,#0000),linear-gradient(#000 86%,#0000);mask-composite:intersect}.trip-story .story-svg{width:100%;height:100%;transition:opacity .9s;position:absolute;inset:0}.trip-story .land path{fill:var(--color-land);stroke:var(--color-night);stroke-width:.8px;vector-effect:non-scaling-stroke;stroke-linejoin:round;transition:fill .5s}.trip-story .land path.visited{fill:var(--color-visited-soft)}.trip-story .story-map.recap .land path.visited:not(.in-recap){fill:var(--color-land)}.trip-story .hero-country{fill:var(--color-lagoon)}.trip-story .scratch-stroke{stroke-dasharray:1;stroke-dashoffset:1px}.trip-story .route{fill:none;stroke:var(--color-ember);stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1px;stroke-width:2.4px}.trip-story .pin-bg{fill:var(--color-snow);filter:drop-shadow(0 2px 3px #00000080)}.trip-story .dot{fill:var(--color-ember);stroke:var(--color-snow);stroke-width:1.2px}.trip-story .story-svg text{font-family:var(--font-display);fill:#fff;paint-order:stroke;stroke:#07161ad9;stroke-width:2.6px;stroke-linejoin:round;letter-spacing:.02em;font-size:8px;font-weight:800}.trip-story .pulse .core{fill:var(--color-ember);stroke:var(--color-snow);stroke-width:1.2px}.trip-story .pulse .ring{fill:none;stroke:var(--color-ember);stroke-width:1px;transform-box:fill-box;transform-origin:50%;animation:2.2s ease-out infinite story-ring}@keyframes story-ring{0%{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(5)}}.trip-story .backdrop{object-fit:cover;opacity:0;width:100%;height:100%;transition:opacity .9s;position:absolute;inset:0}.trip-story .story-map.photo .backdrop--douro{opacity:.42}.trip-story .story-map.photo .story-svg{opacity:.7}.trip-story .story-map.photo-strong .backdrop--lisbon{opacity:.78}.trip-story .story-map.photo-strong .story-svg{opacity:.28}.trip-story .stage-tag{left:var(--inset);z-index:2;color:var(--color-fog);pointer-events:none;position:absolute;top:26px}.trip-story .stage-tag:before{background:var(--color-lagoon)}.trip-story .ov{padding:120px var(--gutter) 44px var(--inset);opacity:0;pointer-events:none;background:linear-gradient(#07161a00,#07161abf 45%,#07161afa 72%);transition:opacity .55s,transform .55s cubic-bezier(.2,.8,.2,1);position:absolute;bottom:0;left:0;right:0;transform:translateY(16px);-webkit-mask-image:linear-gradient(#0000,#000 30%);mask-image:linear-gradient(#0000,#000 30%)}.trip-story .ov.show{opacity:1;transform:none}.trip-story .ov .eyebrow{margin-bottom:14px}.trip-story .ov .line{font-family:var(--font-num);color:var(--color-snow);letter-spacing:-.02em;max-width:24ch;font-size:clamp(22px,2.3vw,32px);font-style:italic;font-weight:600;line-height:1.2}.trip-story .ov .type:after{content:"";background:var(--color-lagoon);vertical-align:-3px;width:2px;height:1em;margin-left:3px;animation:1s steps(2,end) infinite story-blink;display:inline-block}@keyframes story-blink{50%{opacity:0}}.trip-story .ov .sub{color:var(--color-fog);margin-top:12px;font-size:14px;font-weight:600;display:block}.trip-story .numbers{flex-wrap:wrap;gap:clamp(22px,3.4vw,48px);display:flex}.trip-story .numbers b{font-family:var(--font-num);letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:clamp(44px,4.4vw,62px);font-weight:900;line-height:1;display:block}.trip-story .numbers--big b{font-size:clamp(56px,5.8vw,82px)}.trip-story .numbers div:nth-child(2) b{color:var(--color-ember)}.trip-story .numbers small{letter-spacing:.14em;text-transform:uppercase;color:var(--color-fog);margin-top:8px;font-size:10.5px;font-weight:800;display:block}.trip-story .ov--recap .line{color:var(--color-fog);margin-top:18px;font-size:clamp(18px,1.9vw,25px)}.trip-story .chapters{grid-area:2/2;padding-bottom:10vh}.trip-story .chapter{opacity:.28;flex-direction:column;justify-content:center;min-height:88vh;transition:opacity .45s;display:flex}.trip-story .chapter.active{opacity:1}.trip-story .day{letter-spacing:.16em;text-transform:uppercase;color:var(--color-lagoon);align-items:center;gap:12px;margin-bottom:14px;font-size:12px;font-weight:800;display:flex}.trip-story .day:before{content:"";background:currentColor;flex-shrink:0;width:20px;height:2px}.trip-story .chapter h2{margin-bottom:16px;font-size:clamp(34px,3.8vw,54px);line-height:1.02}.trip-story .chapter p{color:var(--color-fog);max-width:38ch;font-size:17px;font-weight:500;line-height:1.65}.trip-story .chapter .badges{margin-top:28px}@media (width<=900px){.trip-story{--nav:0px}.trip-story .scrolly{grid-template-rows:auto 50vh auto;grid-template-columns:1fr;column-gap:0}.trip-story .hero-copy{grid-area:1/1;min-height:0;padding:12px 0 34px}.trip-story h1{margin:14px 0 16px;font-size:clamp(40px,11vw,52px)}.trip-story .hero-copy .lede{font-size:15.5px}.trip-story .hero-copy .badges{gap:8px;margin-top:22px}.trip-story .cue{display:none}.trip-story .stage-sticky{height:50vh;min-height:340px;margin-left:var(--bleed);margin-right:var(--bleed);z-index:3;grid-area:2/1/4;top:0}.trip-story .story-map{background:var(--color-night)}.trip-story .fade-edges{-webkit-mask-composite:source-over;-webkit-mask-image:linear-gradient(#000 86%,#0000);mask-image:linear-gradient(#000 86%,#0000);mask-composite:add}.trip-story .stage-tag{top:16px}.trip-story .ov{padding:90px var(--gutter) 22px}.trip-story .ov .eyebrow{margin-bottom:8px}.trip-story .ov .line{max-width:26ch;font-size:19px}.trip-story .numbers{gap:18px}.trip-story .numbers b{font-size:34px}.trip-story .numbers--big b{font-size:42px}.trip-story .numbers small{margin-top:5px;font-size:9.5px}.trip-story .ov--recap .line{margin-top:10px;font-size:16px}.trip-story .ov .sub{margin-top:8px;font-size:13px}.trip-story .chapters{grid-area:3/1;padding-top:4vh;padding-bottom:4vh}.trip-story .chapter{min-height:70vh}.trip-story .chapter h2{font-size:clamp(30px,8.6vw,40px)}.trip-story .chapter p{font-size:15.5px}}@media (prefers-reduced-motion:reduce){.trip-story .cue i:after,.trip-story .pulse .ring,.trip-story .ov .type:after{animation:none}.trip-story .chapter,.trip-story .ov,.trip-story .land path,.trip-story .backdrop,.trip-story .story-svg{transition:none}}
