/* ==========================================================
   About · "The long way here" — a story told as a map
   ========================================================== */
.st { --st-road: var(--accent, #2B36F0); --st-orange: #C23D0C; --st-green: #1E7A44; position: relative; overflow: clip; }
.st *, .st *::before, .st *::after { box-sizing: border-box; }
.st em { font-family: var(--serif, "Instrument Serif", Georgia, serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.01em; }
.st .eyebrow { margin: 0 0 1rem; font: 600 .72rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.st .eyebrow b { color: var(--accent); font-weight: 700; }

/* ---------- hero: text + the folded overview map ---------- */
.st-hero { position: relative; padding: clamp(7.5rem, 14vh, 10rem) 0 clamp(3rem, 8vh, 5rem); }
.st-hero::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 78% 46%, transparent 0 34px, color-mix(in srgb, var(--ink) 5%, transparent) 34px 35px); -webkit-mask-image: radial-gradient(60% 70% at 78% 46%, #000 20%, transparent 75%); mask-image: radial-gradient(60% 70% at 78% 46%, #000 20%, transparent 75%); pointer-events: none; }
.st-hero-grid { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .st-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.st-hero h1 { margin: 0; font: 500 clamp(2.6rem, 5vw, 4.6rem)/.98 var(--display); letter-spacing: -.045em; }
.st-hero h1 em { display: block; font-size: 1.06em; }
.st-hero .lede { max-width: 30rem; margin: 1.4rem 0 2rem; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; color: var(--muted); }
.st-go { display: inline-flex; align-items: center; gap: .7rem; padding: .95rem 1.4rem; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 .95rem/1 var(--body); text-decoration: none; transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.st-go:hover { transform: translateY(-2px); }
.st-go svg { width: 1rem; height: 1rem; animation: stBob 1.6s ease-in-out infinite; }
@keyframes stBob { 50% { transform: translateY(3px); } }

/* folded paper map with the whole route */
.st-map { position: relative; aspect-ratio: 1.32; border-radius: 1.4rem; background: var(--surface, #FAFAFA); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(0,0,0,.45); overflow: hidden; transform: rotate(-1.2deg); }
.st-map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 32.9%, rgba(0,0,0,.05) 33.3%, transparent 33.8%, transparent 66.2%, rgba(0,0,0,.05) 66.6%, transparent 67.1%), radial-gradient(circle, color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 1.2px) 0 0 / 22px 22px; pointer-events: none; }
.st-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.st-map .mr { fill: none; stroke: var(--st-road); stroke-width: 2.2; stroke-dasharray: 2 7; stroke-linecap: round; }
.st-map .mr-draw { fill: none; stroke: var(--st-road); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); animation: stDraw 2.4s .4s cubic-bezier(.6,0,.2,1) forwards; opacity: .35; }
@keyframes stDraw { to { stroke-dashoffset: 0; } }
.st-map .rg { cursor: pointer; }
.st-map .rg circle.dot { fill: var(--paper); stroke: var(--ink); stroke-width: 2; transition: r .25s, fill .25s; }
.st-map .rg circle.halo { fill: var(--accent); opacity: 0; transition: opacity .25s; }
.st-map .rg text { font: 600 11px var(--body); letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); }
.st-map .rg text.nm { font: italic 400 17px var(--serif); letter-spacing: 0; text-transform: none; fill: var(--ink); }
.st-map .rg:hover circle.dot, .st-map .rg:focus-visible circle.dot { fill: var(--accent); stroke: var(--accent); }
.st-map .rg:hover circle.halo, .st-map .rg:focus-visible circle.halo { opacity: .14; }
.st-map .rg:focus { outline: none; }
.st-map .rg.end circle.dot { fill: var(--st-orange); stroke: var(--st-orange); }
.st-map .cmp { position: absolute; right: 1.1rem; top: 1rem; width: 3.2rem; height: 3.2rem; color: var(--muted); }
.st-map .mtag { position: absolute; left: 1.1rem; bottom: .9rem; font: 600 .66rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- the road ---------- */
.st-road { position: relative; padding: 2rem 0 4rem; }
.st-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.st-svg .base { fill: none; stroke: color-mix(in srgb, var(--ink) 16%, transparent); stroke-width: 3; stroke-dasharray: 1 11; stroke-linecap: round; }
.st-svg .edge { fill: none; stroke: color-mix(in srgb, var(--accent) 16%, transparent); stroke-width: 14; stroke-linecap: round; }
.st-svg .prog { fill: none; stroke: var(--st-road); stroke-width: 3.5; stroke-linecap: round; }

/* the traveller */
.st-car { position: absolute; left: 0; top: 0; z-index: 4; width: 0; height: 0; pointer-events: none; will-change: transform; }
.st-car .av { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--accent); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--st-road), 0 14px 28px -10px rgba(0,0,0,.45); animation: stFloat 2.2s ease-in-out infinite; }
.st-car .av img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.18) translateY(6%); }
@keyframes stFloat { 50% { transform: translateY(-4px); } }
.st-car .chip { position: absolute; left: 38px; top: -.95rem; display: inline-flex; align-items: center; height: 1.9rem; padding: 0 .8rem; line-height: 1 !important; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 .72rem/1 var(--body); letter-spacing: .02em; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); transition: opacity .2s; }
.st-car.flip .chip { left: auto; right: 38px; }

/* regions (chapters) */
.st-region { position: relative; padding: 3rem 0 1rem; }
.st-region::before { content: ""; position: absolute; inset: 0 -10vw; background: repeating-radial-gradient(circle at var(--cx, 85%) var(--cy, 30%), transparent 0 30px, color-mix(in srgb, var(--ink) 4.5%, transparent) 30px 31px); -webkit-mask-image: radial-gradient(40% 50% at var(--cx, 85%) var(--cy, 30%), #000 10%, transparent 70%); mask-image: radial-gradient(40% 50% at var(--cx, 85%) var(--cy, 30%), #000 10%, transparent 70%); pointer-events: none; z-index: 0; }
.st-region .ghost { position: absolute; top: 9rem; z-index: 0; writing-mode: vertical-rl; font: italic 400 clamp(3rem, 6vw, 5.5rem)/1 var(--serif); letter-spacing: -.02em; color: color-mix(in srgb, var(--ink) 6%, transparent); pointer-events: none; white-space: nowrap; }
.st-region:nth-child(odd) .ghost { right: -1rem; } .st-region:nth-child(even) .ghost { left: -1rem; transform: rotate(180deg); }

.st-sign { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto 3rem; padding: 1.1rem 1.6rem 1.2rem; width: max-content; max-width: 100%; border-radius: 1.2rem; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 36px -26px rgba(0,0,0,.4); }
.st-sign small { font: 700 .66rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.st-sign b { margin: .45rem 0 .3rem; font: italic 400 clamp(1.7rem, 3vw, 2.4rem)/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.st-sign span { font-size: .85rem; color: var(--muted); }
.st-sign .ic { width: 1.7rem; height: 1.7rem; margin-bottom: .55rem; color: var(--accent); }

/* stops */
.st-stops { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.st-stop { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.st-stop .st-card { grid-column: 1; }
.st-stop[data-side="r"] .st-card { grid-column: 2; }
.st-pin { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; z-index: 3; border-radius: 50%; background: var(--paper); border: 3px solid color-mix(in srgb, var(--ink) 30%, transparent); transition: border-color .3s, background-color .3s, transform .35s cubic-bezier(.3,1.7,.5,1); }
.st-stop[data-side="l"] .st-pin { left: 57%; } .st-stop[data-side="r"] .st-pin { left: 43%; }
.st-stop.on .st-pin { border-color: var(--st-road); background: var(--st-road); transform: scale(1.15); }
.st-stop.on .st-pin::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--st-road); opacity: 0; animation: stPing 1.4s ease-out 1; }
@keyframes stPing { from { opacity: .7; transform: scale(.5); } to { opacity: 0; transform: scale(1.6); } }

.st-card { position: relative; padding: clamp(1.2rem, 2.4vw, 1.7rem); border-radius: 1.4rem; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(0,0,0,.4); opacity: 0; transform: translateY(26px) rotate(var(--tilt, 0deg)); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.st-stop[data-side="l"] .st-card { --tilt: -.6deg; margin-right: clamp(1.5rem, 6vw, 5rem); }
.st-stop[data-side="r"] .st-card { --tilt: .6deg; margin-left: clamp(1.5rem, 6vw, 5rem); }
.st-stop.seen .st-card { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
.st-card .top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.st-when { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--accent); font: 700 .72rem/1 var(--body); letter-spacing: .04em; text-transform: uppercase; }
.st-no { font: 600 .72rem/1 var(--body); letter-spacing: .1em; color: var(--muted); }
.st-card h3 { margin: 0 0 .55rem; font: 600 clamp(1.25rem, 2vw, 1.6rem)/1.15 var(--display); letter-spacing: -.03em; }
.st-card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.st-media { margin-top: 1.2rem; }

/* photos with a drawn stand-in underneath */
.st-photo { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: 1rem; overflow: hidden; background: color-mix(in srgb, var(--ink) 4%, var(--paper)); border: 1px solid var(--line); }
.st-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.st-photo .ill { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); }
.st-photo .ill svg { width: 78%; height: 78%; }
.st-photo figcaption { position: absolute; left: .7rem; bottom: .7rem; z-index: 2; padding: .35rem .6rem; border-radius: .5rem; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 600 .7rem/1.2 var(--body); color: var(--ink); }

/* "That's me" marker on group photos */
.st-me { position: absolute; z-index: 2; width: var(--s, 6%); aspect-ratio: 1; transform: translate(-50%, -50%) scale(.4); border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--accent), 0 6px 16px -4px rgba(0,0,0,.5); opacity: 0; transition: opacity .4s .5s, transform .6s .5s cubic-bezier(.3,1.6,.5,1); pointer-events: none; }
.st-me::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.st-me b { position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%); padding: .32rem .6rem; border-radius: 999px; background: var(--accent); color: #fff; font: 700 .66rem/1 var(--body); letter-spacing: .02em; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.st-me b::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 7px; margin-left: -1px; background: var(--accent); }
.st-stop.seen .st-me { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.st-stop.seen .st-me::after { animation: stMe 1.8s 1.2s ease-out infinite; }
@keyframes stMe { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
.st-duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }

/* artifact: the age-10 "file explorer" website */
.st-retro { border-radius: .9rem; overflow: hidden; border: 1px solid var(--line); background: #c0c0c0; box-shadow: inset 0 0 0 1px #fff; font-family: "Times New Roman", Times, serif; color: #000; }
.st-retro .bar { display: flex; align-items: center; gap: .5rem; padding: .35rem .55rem; background: linear-gradient(90deg, #0a246a, #3a6ea5); color: #fff; font: 700 .72rem/1 Tahoma, Verdana, sans-serif; }
.st-retro .bar i { display: inline-block; width: .7rem; height: .7rem; background: #c0c0c0; border: 1px solid #fff; margin-left: auto; }
.st-retro .bar i + i { margin-left: .2rem; }
.st-retro .url { margin: .35rem .45rem; padding: .25rem .4rem; background: #fff; border: 2px inset #ddd; font: .7rem/1 "Courier New", monospace; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-retro .pg { margin: 0 .45rem .45rem; padding: .9rem 1rem 1rem; background: #fffbe6; border: 2px inset #ddd; text-align: center; }
.st-retro .pg h4 { margin: 0 0 .2rem; font: 700 1.25rem/1.1 "Comic Sans MS", "Comic Neue", cursive; color: #c00; }
.st-retro .pg small { display: block; margin-bottom: .8rem; font-size: .78rem; color: #555; }
.st-retro .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem .4rem; }
.st-retro .f { display: grid; justify-items: center; gap: .3rem; font-size: .8rem; color: #00e; text-decoration: underline; }
.st-retro .f::before { content: ""; width: 2.3rem; height: 1.7rem; border-radius: 2px 3px 3px 3px; background: linear-gradient(#ffd75e, #f2b632); box-shadow: inset 0 3px 0 rgba(255,255,255,.5), 0 2px 0 #c58f12; clip-path: polygon(0 0, 40% 0, 48% 16%, 100% 16%, 100% 100%, 0 100%); }
.st-retro .hit { margin-top: .8rem; font: .7rem/1 "Courier New", monospace; color: #333; }
.st-retro .hit b { padding: 0 .3rem; background: #000; color: #0f0; letter-spacing: .1em; }

/* artifact: anonymous message link */
.st-anon { display: grid; gap: .55rem; padding: 1rem; border-radius: 1rem; background: linear-gradient(160deg, #1d1530, #2a1b4a); color: #fff; }
.st-anon .h { display: flex; align-items: center; gap: .55rem; font: 600 .9rem/1.2 var(--body); }
.st-anon .h i { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-style: normal; }
.st-anon .box { padding: .7rem .8rem; border-radius: .8rem; background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); font-size: .85rem; }
.st-anon .m { justify-self: start; max-width: 85%; padding: .55rem .8rem; border-radius: .9rem .9rem .9rem .25rem; background: rgba(255,255,255,.14); font-size: .85rem; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: .5s cubic-bezier(.2,.7,.2,1); }
.st-anon .m small { display: block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .15rem; }
.st-stop.seen .st-anon .m { opacity: 1; transform: none; }
.st-stop.seen .st-anon .m:nth-of-type(2) { transition-delay: .5s; } .st-stop.seen .st-anon .m:nth-of-type(3) { transition-delay: 1s; }
.st-anon .lnk { font: .72rem/1 ui-monospace, Menlo, monospace; color: #b9a8ff; }

/* artifact: 30+ clients in 9 months */
.st-count { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; padding: 1.1rem 1.2rem; border-radius: 1rem; background: color-mix(in srgb, var(--ink) 4%, var(--paper)); border: 1px solid var(--line); }
.st-count b { font: 600 clamp(2.6rem, 5vw, 3.6rem)/.9 var(--display); letter-spacing: -.05em; color: var(--ink); }
.st-count .dots { display: grid; grid-template-columns: repeat(10, .75rem); gap: .35rem; }
.st-count .dots i { width: .75rem; height: .75rem; border-radius: 50%; background: color-mix(in srgb, var(--ink) 12%, transparent); transition: background-color .2s; }
.st-count .dots i.on { background: var(--accent); }
.st-count small { flex-basis: 100%; color: var(--muted); font-size: .82rem; }

/* artifact: role badge */
.st-role { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: 1rem; border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.st-role b { display: grid; place-items: center; min-width: 4.2rem; height: 4.2rem; padding: 0 .6rem; border-radius: 1rem; background: var(--accent); color: #fff; font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; }
.st-role span { font-size: .88rem; line-height: 1.45; color: var(--muted); }
.st-role span strong { display: block; color: var(--ink); font-size: 1rem; }

/* destination */
.st-stop.dest .st-card { border: 2px solid var(--st-orange); }
.st-stop.dest .st-pin { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-color: var(--st-orange); }
.st-stop.dest.on .st-pin { background: var(--st-orange); border-color: var(--st-orange); }
.st-here { position: absolute; z-index: 5; top: 50%; transform: translate(-50%, -100%); margin-top: -18px; display: grid; justify-items: center; gap: .2rem; pointer-events: none; opacity: 0; }
.st-stop[data-side="l"] .st-here { left: 57%; } .st-stop[data-side="r"] .st-here { left: 43%; }
.st-here span { padding: .45rem .8rem; border-radius: 999px; background: var(--st-orange); color: #fff; font: 700 .74rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(194, 61, 12, .7); }
.st-here svg { width: 26px; height: 34px; color: var(--st-orange); }
.st-stop.dest.on .st-here { animation: stDrop .7s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes stDrop { from { opacity: 0; transform: translate(-50%, -160%); } to { opacity: 1; transform: translate(-50%, -100%); } }

/* ---------- souvenirs: passport stamps + luggage tags ---------- */
.st-souv { position: relative; padding: clamp(4rem, 10vw, 7rem) 0; }
.st-souv-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.st-souv-head h2 { margin: 0; font: 500 clamp(2.2rem, 5vw, 3.8rem)/1 var(--display); letter-spacing: -.045em; }
.st-souv-head p { margin: 1rem 0 0; color: var(--muted); line-height: 1.6; }
.st-pass { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); padding: clamp(1.4rem, 4vw, 3rem); border-radius: 1.6rem; background: linear-gradient(90deg, transparent calc(50% - 1px), color-mix(in srgb, var(--ink) 10%, transparent) 50%, transparent calc(50% + 1px)), repeating-linear-gradient(0deg, transparent 0 27px, color-mix(in srgb, var(--accent) 6%, transparent) 27px 28px), color-mix(in srgb, var(--accent) 3%, var(--paper)); border: 1px solid var(--line); box-shadow: 0 40px 80px -60px rgba(0,0,0,.5); }
@media (min-width: 900px) { .st-pass { grid-template-columns: repeat(4, minmax(0, 1fr)); background: repeating-linear-gradient(0deg, transparent 0 27px, color-mix(in srgb, var(--accent) 6%, transparent) 27px 28px), color-mix(in srgb, var(--accent) 3%, var(--paper)); } }
.st-pass .lbl { position: absolute; left: clamp(1.4rem, 4vw, 3rem); top: -.7rem; padding: .3rem .7rem; border-radius: .4rem; background: var(--ink); color: var(--paper); font: 700 .66rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.stamp { --c: var(--accent); position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; color: var(--c); border: 3px solid currentColor; text-align: center; opacity: 0; transform: scale(1.5) rotate(calc(var(--r, -8deg) - 20deg)); filter: blur(3px); }
.stamp::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed currentColor; opacity: .7; }
.stamp > div { position: relative; display: grid; gap: .25rem; padding: 0 12%; }
.stamp b { font: 700 clamp(1.9rem, 3.4vw, 2.8rem)/.9 var(--display); letter-spacing: -.04em; }
.stamp span { font: 700 clamp(.58rem, .9vw, .68rem)/1.25 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.stamp small { font: italic 400 .9rem/1 var(--serif); opacity: .85; }
.stamp.in { animation: stStamp .5s cubic-bezier(.2,.9,.3,1.3) forwards; animation-delay: var(--dl, 0s); }
@keyframes stStamp { 60% { opacity: 1; filter: none; transform: scale(.94) rotate(var(--r, -8deg)); } to { opacity: .92; filter: none; transform: scale(1) rotate(var(--r, -8deg)); } }
.stamp.o { --c: var(--st-orange); } .stamp.g { --c: var(--st-green); } .stamp.k { --c: var(--ink); }

.st-tags { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.tag { position: relative; display: flex; align-items: center; gap: .9rem; padding: .9rem 1.2rem .9rem 2.4rem; border-radius: .5rem 1rem 1rem .5rem; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 16px 30px -24px rgba(0,0,0,.5); transform-origin: 0 50%; transform: rotate(var(--r, 0deg)); transition: transform .4s cubic-bezier(.3,1.6,.5,1); clip-path: polygon(1.2rem 0, 100% 0, 100% 100%, 1.2rem 100%, 0 50%); }
.tag:hover { transform: rotate(0deg) translateX(3px); }
.tag::before { content: ""; position: absolute; left: 1.05rem; top: 50%; width: .55rem; height: .55rem; margin-top: -.275rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 30%, transparent); }
.tag .ic { flex: none; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: .7rem; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); font: 700 .9rem/1 var(--display); }
.tag .ic img { width: 1.7rem; height: 1.7rem; object-fit: contain; }
.tag b { display: block; font: 600 .95rem/1.25 var(--body); letter-spacing: -.01em; }
.tag small { display: block; margin-top: .15rem; font-size: .78rem; color: var(--muted); }

/* end */
.st-end { padding: clamp(3rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 8rem); text-align: center; }
.st-end h2 { margin: 0 0 1.6rem; font: 500 clamp(2.2rem, 5.5vw, 4.2rem)/1 var(--display); letter-spacing: -.045em; }
.st-end .row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

/* route rail (desktop) */
.st-rail { position: fixed; right: 1.1rem; top: 50%; z-index: 30; display: none; transform: translateY(-50%); flex-direction: column; gap: .55rem; padding: .7rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--paper) 85%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
.st-rail.show { opacity: 1; }
.st-rail a { position: relative; display: block; width: .7rem; height: .7rem; border-radius: 50%; background: color-mix(in srgb, var(--ink) 18%, transparent); transition: background-color .25s, transform .25s; }
.st-rail a.done { background: color-mix(in srgb, var(--accent) 50%, transparent); }
.st-rail a.cur { background: var(--accent); transform: scale(1.35); }
.st-rail a span { position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); padding: .35rem .6rem; border-radius: .5rem; background: var(--ink); color: var(--paper); font: 600 .72rem/1 var(--body); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.st-rail a:hover span, .st-rail a.cur span { opacity: 1; }
.st-rail a.cur span { opacity: 0; } .st-rail a.cur:hover span { opacity: 1; }
@media (min-width: 1100px) { .st-rail { display: flex; } }

/* ---------- mobile: road down the left edge ---------- */
@media (max-width: 859.98px) {
  .st-stop { grid-template-columns: 1fr; padding-left: 3.1rem; }
  .st-stop .st-card, .st-stop[data-side="r"] .st-card { grid-column: 1; margin: 0; --tilt: 0deg; }
  .st-stop[data-side] .st-pin, .st-stop[data-side] .st-here { left: 1.25rem; }
  .st-stop[data-side] .st-pin { top: 2.2rem; margin-top: 0; }
  .st-stop.dest .st-pin { top: 2rem; }
  .st-stop[data-side] .st-here { top: 2rem; left: calc(1.25rem - 13px); margin-top: 0; justify-items: start; transform: translateY(-100%); }
  @keyframes stDrop { from { opacity: 0; transform: translateY(-160%); } to { opacity: 1; transform: translateY(-100%); } }
  .st-sign { margin-left: 3.1rem; align-items: flex-start; text-align: left; }
  .st-region .ghost { display: none; }
  .st-car .av { left: -19px; top: -19px; width: 38px; height: 38px; border-width: 2px; }
  .st-car .chip { display: none; }
  .st-map { transform: none; }
  .st-map .rg text { font-size: 10px; } .st-map .rg text.nm { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-card, .stamp { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .st-anon .m { opacity: 1; transform: none; }
  .st-here { opacity: 1; }
}

.st-duo.st-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Bangalore: a live map at the end of the road; the traveller parks here */
.st-blr { position: relative; isolation: isolate; aspect-ratio: 1708 / 1274; border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); background: #f2efe9; }
.st-blr .tiles { position: absolute; inset: 0; transform-origin: var(--x) var(--y); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.st-blr .tiles img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.st-blr.arrived .tiles { transform: scale(1.12); }
[data-theme="dark"] .st-blr { background: #1d1f24; }
[data-theme="dark"] .st-blr .tiles { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88); }
.st-blr .tag { position: absolute; left: .7rem; top: .7rem; z-index: 3; display: inline-flex; align-items: center; gap: .35rem; height: 2rem; padding: 0 .75rem 0 .55rem; border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 .78rem/1 var(--body); box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); }
.st-blr .tag svg { width: 16px; height: 16px; color: #EA4335; }
.st-blr .open { position: absolute; left: .7rem; bottom: .7rem; z-index: 3; display: inline-flex; align-items: center; height: 1.9rem; padding: 0 .75rem; border-radius: 999px; background: var(--paper); color: var(--accent); font: 600 .72rem/1 var(--body); text-decoration: none; box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); }
.st-blr .open:hover { background: var(--accent); color: #fff; }
.st-blr .attr { position: absolute; right: 0; bottom: 0; z-index: 3; padding: .15rem .4rem; border-top-left-radius: .4rem; background: color-mix(in srgb, var(--paper) 80%, transparent); color: var(--muted); font: 400 .58rem/1.3 var(--body); }
.st-blr .me { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 0; height: 0; }
.st-blr .me .av { position: absolute; left: -31px; top: -76px; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: var(--accent); border: 3px solid #fff; box-shadow: 0 14px 26px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(-140px) scale(.6); }
.st-blr .me .av img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.18) translateY(6%); }
.st-blr .me::after { content: ""; position: absolute; left: -8px; top: -20px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg) scale(0); border-radius: 0 0 3px 0; box-shadow: 3px 3px 6px -3px rgba(0,0,0,.35); z-index: -1; }
.st-blr .me .pulse { position: absolute; left: -22px; top: -8px; width: 44px; height: 16px; border-radius: 50%; background: rgba(43, 54, 240, .35); opacity: 0; }
.st-blr.arrived .me .av { animation: blrDrop .9s cubic-bezier(.3,1.5,.5,1) .25s forwards; }
.st-blr.arrived .me::after { animation: blrTail .3s ease-out .75s forwards; }
.st-blr.arrived .me .pulse { animation: blrPulse 1.8s ease-out 1s infinite; }
@keyframes blrDrop { to { opacity: 1; transform: none; } }
@keyframes blrTail { to { transform: rotate(45deg) scale(1); } }
@keyframes blrPulse { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.2); } }
.st-car .av, .st-car .chip { transition: opacity .35s, scale .45s cubic-bezier(.5,0,.75,0); }
.st-road.parked .st-car .av, .st-road.parked .st-car .chip { opacity: 0; scale: .2; }
@media (prefers-reduced-motion: reduce) { .st-blr .me .av, .st-blr .me::after { opacity: 1; transform: none; animation: none; } .st-blr .me::after { transform: rotate(45deg); } .st-blr .tiles { transition: none; } }

/* Beyond screens: two quiet photo marquees drifting in opposite directions */
.st-life { padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.st-mq { --h: clamp(190px, 22vw, 290px); position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.st-mq + .st-mq { margin-top: clamp(1rem, 2.4vw, 1.6rem); }
.st-mq-track { display: flex; width: max-content; gap: clamp(.8rem, 1.8vw, 1.25rem); margin: 0; padding: 0 0 0 clamp(.8rem, 1.8vw, 1.25rem); list-style: none; animation: stMq 70s linear infinite; }
.st-mq.r .st-mq-track { animation-duration: 80s; animation-direction: reverse; }
.st-mq:hover .st-mq-track, .st-mq:focus-within .st-mq-track { animation-play-state: paused; }
@keyframes stMq { to { transform: translateX(-50%); } }
.st-mq figure { position: relative; margin: 0; height: var(--h); border-radius: 1rem; overflow: hidden; background: color-mix(in srgb, var(--ink) 5%, var(--paper)); }
.st-mq img { display: block; height: 100%; width: auto; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .7s cubic-bezier(.2,.7,.2,1); }
.st-mq figcaption { position: absolute; left: .6rem; right: .6rem; bottom: .6rem; width: fit-content; max-width: calc(100% - 1.2rem); padding: .35rem .65rem; border-radius: 999px; background: var(--paper); color: var(--ink); font: italic 400 1rem/1.15 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.st-mq figure:hover img { filter: none; transform: scale(1.04); }
.st-mq figure:hover figcaption { opacity: 1; transform: none; }
.st-mq figure:active img { filter: none; transform: scale(1.04); }
.st-mq:active .st-mq-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .st-mq { overflow-x: auto; } .st-mq-track { animation: none; } .st-mq-track li[aria-hidden] { display: none; } }
.st-mq.s .st-mq-track { animation-duration: 95s; }
.st-life .st-mq { --h: clamp(170px, 18vw, 250px); }

/* Two hats, one head: one card, flip the hat (same eclipse as the theme switch) */
.st-hats { padding: clamp(2rem, 6vw, 4rem) 0; }
.st-hat { --d: 1; position: relative; isolation: isolate; overflow: hidden; min-height: 26rem; display: flex; flex-direction: column; padding: clamp(1.5rem, 3.4vw, 2.8rem); border-radius: 1.6rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: color .5s .15s, border-color .5s; }
.st-hat .ink { position: absolute; z-index: -1; inset: 0; background: #111; clip-path: circle(0 at var(--cx, 90%) var(--cy, 12%)); transition: clip-path .9s cubic-bezier(.65,0,.35,1); }
.st-hat[data-mode="b"] { color: #f4f1ea; border-color: #111; }
.st-hat[data-mode="b"] .ink { clip-path: circle(150% at var(--cx, 90%) var(--cy, 12%)); }
.st-hat .top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.st-hat .n { position: relative; display: inline-grid; overflow: hidden; height: 1em; font: 500 .8rem/1 var(--body); letter-spacing: .08em; opacity: .55; }
.st-hat .n b { grid-area: 1 / 1; font-weight: 500; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.st-hat .n b + b { transform: translateY(110%); }
.st-hat[data-mode="b"] .n b:first-child { transform: translateY(-110%); }
.st-hat[data-mode="b"] .n b + b { transform: none; }
.st-hat .hsw { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: color-mix(in srgb, currentColor 8%, transparent); }
.st-hat .hsw button { position: relative; z-index: 1; height: 2.1rem; padding: 0 1rem; border: 0; border-radius: 999px; background: none; color: inherit; font: 600 .8rem/1 var(--body); cursor: pointer; opacity: .6; transition: opacity .3s, color .3s; }
.st-hat .hsw button[aria-selected="true"] { opacity: 1; color: #fff; }
.st-hat .hsw i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: var(--tw, 50%); border-radius: 999px; background: var(--accent); transform: translateX(var(--tx, 0)); transition: transform .55s cubic-bezier(.65,0,.35,1), width .55s cubic-bezier(.65,0,.35,1); }
.st-hat .panes { display: grid; margin-top: auto; padding-top: 3rem; }
.st-hat .pane { grid-area: 1 / 1; align-self: end; transition: opacity .45s, transform .6s cubic-bezier(.2,.7,.2,1), filter .45s; }
.st-hat[data-mode="d"] .pane.b, .st-hat[data-mode="b"] .pane.d { opacity: 0; transform: translateY(18px); filter: blur(6px); pointer-events: none; }
.st-hat[data-mode="b"] .pane.b { transition-delay: .3s; }
.st-hat[data-mode="d"] .pane.d { transition-delay: .3s; }
.st-hat h3 { margin: 0 0 .9rem; font: 500 clamp(2.6rem, 7vw, 5.6rem)/1 var(--display); letter-spacing: -.055em; }
.st-hat h3 em { font: italic 400 1.08em/1 var(--serif); letter-spacing: -.02em; color: var(--accent); }
.st-hat .pane.b h3 em { color: #8b91ff !important; }
.st-hat p { margin: 0; max-width: 34rem; font-size: 1rem; line-height: 1.6; opacity: .7; }
.st-hat ul { display: flex; flex-wrap: wrap; gap: .35rem 0; margin: 1.5rem 0 0; padding: 0; list-style: none; font: 500 .84rem/1.3 var(--body); }
.st-hat li { white-space: nowrap; }
.st-hat li:not(:last-child)::after { content: "/"; margin: 0 .55rem; color: var(--accent); opacity: .65; }
.st-hat .pane.b li:not(:last-child)::after { color: #8b91ff; }
@media (prefers-reduced-motion: reduce) { .st-hat .ink, .st-hat .pane, .st-hat .hsw i, .st-hat .n b { transition: none !important; } }

/* Two hats (version B): two big editorial rows; the open one fills with its colour */
.st-rows { border-top: 1px solid var(--line); }
.st-rows .hr { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); color: var(--ink); transition: color .45s; }
.st-rows .hr::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 1.4rem; background: color-mix(in srgb, var(--accent) 7%, var(--paper)); transform: scaleY(.2); opacity: 0; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.st-rows .hr.b::before { background: #111; }
.st-rows .hr.open::before { transform: none; opacity: 1; }
.st-rows .hr.b.open { color: #f4f1ea; }
.st-rows .hd { display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: 1rem; width: 100%; padding: clamp(1.2rem, 2.6vw, 1.8rem) clamp(1rem, 2.6vw, 2rem); border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.st-rows .n { align-self: start; padding-top: .9em; font: 500 .8rem/1 var(--body); letter-spacing: .08em; opacity: .5; }
.st-rows h3 { margin: 0; font: 500 clamp(2.6rem, 8vw, 6.4rem)/1 var(--display); letter-spacing: -.055em; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.st-rows .hr:not(.open) .hd:hover h3 { transform: translateX(.6rem); }
.st-rows h3 em { color: var(--accent) !important; }
.st-rows .hr.b h3 em { color: var(--accent) !important; }
.st-rows .hr.b.open h3 em { color: #8b91ff !important; }
.st-rows .pl { position: relative; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid currentColor; opacity: .5; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.st-rows .pl::before, .st-rows .pl::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.st-rows .pl::after { transform: rotate(90deg); }
.st-rows .hr.open .pl { transform: rotate(45deg); opacity: .9; }
.st-rows .bd { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2,.7,.2,1); }
.st-rows .hr.open .bd { grid-template-rows: 1fr; }
.st-rows .bd > div { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.2rem 3rem; padding: 0 clamp(1rem, 2.6vw, 2rem) 0 calc(clamp(1rem, 2.6vw, 2rem) + 4.2rem); opacity: 0; transition: opacity .35s, padding .6s cubic-bezier(.2,.7,.2,1); }
.st-rows .hr.open .bd > div { opacity: 1; padding-bottom: clamp(1.4rem, 3vw, 2.2rem); transition-delay: .15s; }
.st-rows p { margin: 0; max-width: 32rem; font-size: 1.02rem; line-height: 1.6; opacity: .72; }
.st-rows ul { columns: 2; column-gap: 2rem; margin: 0; padding: 0; list-style: none; font: 500 .9rem/1.3 var(--body); }
.st-rows li { break-inside: avoid; padding: .45rem 0; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
@media (max-width: 860px) { .st-rows h3 { font-size: 2.15rem; } .st-rows .hd { grid-template-columns: 2rem 1fr auto; } .st-rows .bd > div { grid-template-columns: 1fr; padding-left: clamp(1rem, 2.6vw, 2rem); } .st-rows .pl { width: 2.2rem; height: 2.2rem; } }

/* The short version: plain facts for people (and search), kept quiet */
.st-seo { padding: clamp(3rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }
.st-seo .sx-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.st-seo h2 { margin: 0 0 1.2rem; font: 500 clamp(2.2rem, 5vw, 3.8rem)/1 var(--display); letter-spacing: -.045em; }
.st-seo .sx-intro p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.st-seo .sx-intro strong { color: var(--ink); font-weight: 600; }
.st-seo .sx-facts { margin: 0; border-top: 1px solid var(--line); }
.st-seo .sx-facts > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.st-seo dt { color: var(--muted); font: 500 .74rem/1.6 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.st-seo dd { margin: 0; color: var(--ink); font: 500 .98rem/1.5 var(--body); }
.st-seo .sx-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(3rem, 7vw, 5rem); }
.st-seo h3 { margin: 0 0 .6rem; font: 600 1.05rem/1.3 var(--body); letter-spacing: -.01em; color: var(--ink); }
.st-seo .sx-topics p, .st-seo details p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.st-seo .sx-faq { margin-top: clamp(3rem, 7vw, 5rem); max-width: 52rem; }
.st-seo .sx-faq h3 { margin-bottom: 1rem; }
.st-seo details { border-top: 1px solid var(--line); }
.st-seo details:last-child { border-bottom: 1px solid var(--line); }
.st-seo summary { position: relative; display: block; padding: 1rem 2.5rem 1rem 0; cursor: pointer; list-style: none; font: 500 .98rem/1.45 var(--body); color: var(--ink); }
.st-seo summary::-webkit-details-marker { display: none; }
.st-seo summary::after { content: "+"; position: absolute; right: .2rem; top: .85rem; font: 300 1.4rem/1 var(--body); color: var(--accent); transition: transform .3s; }
.st-seo details[open] summary::after { transform: rotate(45deg); }
.st-seo details p { padding: 0 2.5rem 1.1rem 0; }
.st-seo .sx-foot { margin: 2rem 0 0; color: var(--muted); font-size: .82rem; }
.st-seo .sx-foot a { color: var(--accent); }
@media (max-width: 860px) { .st-seo .sx-top, .st-seo .sx-topics { grid-template-columns: 1fr; } .st-seo .sx-facts > div { grid-template-columns: 7rem minmax(0, 1fr); } }

/* TUNED: about (2026-10-16) */
@media (min-width: 700px) {
html:root:not(#unc-a):not(#unc-b) .wrap p.lede { font-size: 15px !important; }
html:root:not(#unc-a):not(#unc-b) .st-card p { font-size: 14px !important; letter-spacing: -0.021em !important; }
html:root:not(#unc-a):not(#unc-b) .top span.st-when { font-size: 9px !important; }
html:root:not(#unc-a):not(#unc-b) .st-card h3 { font-size: 25px !important; }
html:root:not(#unc-a):not(#unc-b) .st-sign small { font-size: 9px !important; }
html:root:not(#unc-a):not(#unc-b) .st-sign span { font-size: 13px !important; }
html:root:not(#unc-a):not(#unc-b) .hd h3 { font-size: 90px !important; letter-spacing: -0.019em !important; }
html:root:not(#unc-a):not(#unc-b) .bd p { font-size: 15px !important; }
html:root:not(#unc-a):not(#unc-b) .bd li { font-size: 13.5px !important; }
html:root:not(#unc-a):not(#unc-b) .wrap div.row { font-size: 14px !important; }
}
@media (max-width: 699.98px) {
html:root:not(#unc-a):not(#unc-b) .wrap p.lede { font-size: 13.5px !important; }
html:root:not(#unc-a):not(#unc-b) .st-card p { font-size: 13px !important; }
html:root:not(#unc-a):not(#unc-b) .top span.st-when { font-size: 9px !important; }
html:root:not(#unc-a):not(#unc-b) .st-sign small { font-size: 9.5px !important; }
html:root:not(#unc-a):not(#unc-b) .st-sign span { font-size: 12px !important; }
html:root:not(#unc-a):not(#unc-b) .bd p { font-size: 13px !important; }
html:root:not(#unc-a):not(#unc-b) .bd li { font-size: 12px !important; }
html:root:not(#unc-a):not(#unc-b) .top span.st-no { font-size: 10px !important; }
html:root:not(#unc-a):not(#unc-b) .st-sign b { font-size: 26.5px !important; }
html:root:not(#unc-a):not(#unc-b) .st-souv-head p { font-size: 13.5px !important; }
html:root:not(#unc-a):not(#unc-b) .tag b { font-size: 14px !important; }
html:root:not(#unc-a):not(#unc-b) .tag small { font-size: 11.5px !important; }
html:root:not(#unc-a):not(#unc-b) .row a.btn { font-size: 13px !important; }
}
