/* The Zootopia standard: eight transit ideas from the films, and the real places already doing them. */
:root { --t-white: #ffffff; --t-shade: rgba(6, 10, 16, .92); --t-bg: #080c12; --t-depth: #12305a; --t-edge: #0b1f3d;
  --l1: #d9a43a; --l2: #d9675a; --l3: #9b3fb5; --l4: #5a5fd0; --l5: #38b8c8; --l6: #3a9e48; --l7: #2f7a5c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --t-white: #ffffff; --t-shade: rgba(6, 10, 16, .94); --t-bg: #080c12; --t-depth: #12305a; --t-edge: #0b1f3d;
  --l1: #d9a43a; --l2: #d9675a; --l3: #9b3fb5; --l4: #5a5fd0; --l5: #38b8c8; --l6: #3a9e48; --l7: #2f7a5c; } }
:root[data-theme="dark"] { --t-white: #ffffff; --t-shade: rgba(6, 10, 16, .94); --t-bg: #080c12; --t-depth: #12305a; --t-edge: #0b1f3d;
  --l1: #d9a43a; --l2: #d9675a; --l3: #9b3fb5; --l4: #5a5fd0; --l5: #38b8c8; --l6: #3a9e48; --l7: #2f7a5c; }

/* hero */
.t-hero { position: relative; overflow: hidden; background: var(--t-bg); color: var(--t-white); min-height: calc(92svh - 58px); display: grid; align-items: end; }
.t-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
@media (prefers-reduced-motion: no-preference) { .t-photo { animation: tglide 30s ease-in-out infinite alternate; } }
@keyframes tglide { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-2%, 1%); } }
.t-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 16, .85) 0%, rgba(6, 10, 16, .45) 50%, rgba(6, 10, 16, .05) 80%), linear-gradient(180deg, rgba(6, 10, 16, 0) 55%, var(--t-shade) 100%); }
.t-in { position: relative; z-index: 1; padding-top: 36px; padding-bottom: 40px; }
.t-kick { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); font: 700 14px 'Archivo Narrow', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.t-hero h1 { margin: 0; font: 400 clamp(42px, 8vw, 96px)/1.2 'Pacifico', cursive; max-width: 11em; text-shadow: 0 2px 0 var(--t-edge), 0 4px 0 var(--t-depth), 0 6px 0 var(--t-edge), 0 12px 24px rgba(0, 0, 0, .5); }
.t-hero h1 .hl { background: linear-gradient(90deg, var(--l1), var(--l2) 30%, var(--l3) 55%, var(--l5) 80%, var(--l6)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 0 var(--t-edge)) drop-shadow(0 4px 0 var(--t-depth)) drop-shadow(0 10px 16px rgba(0, 0, 0, .45)); }
.t-lines { display: flex; gap: 6px; margin: 16px 0 14px; }
.t-lines i { display: block; width: clamp(26px, 5vw, 56px); height: 8px; border-radius: 4px; }
.t-lines i:nth-child(1) { background: var(--l1); } .t-lines i:nth-child(2) { background: var(--l2); } .t-lines i:nth-child(3) { background: var(--l3); } .t-lines i:nth-child(4) { background: var(--l4); } .t-lines i:nth-child(5) { background: var(--l5); } .t-lines i:nth-child(6) { background: var(--l6); } .t-lines i:nth-child(7) { background: var(--l7); }
.t-lede { font-size: clamp(17px, 2.1vw, 21px); max-width: 34em; margin: 0 0 18px; }
.t-go { margin: 0; }
.t-hero .btn.primary { background: var(--l2); border-color: var(--l2); color: var(--t-white); }
.t-credit { position: absolute; z-index: 1; right: max(12px, env(safe-area-inset-right)); top: 10px; margin: 0; max-width: 60%; text-align: right; font: 500 12px 'Archivo Narrow', sans-serif; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
@media (max-width: 899px) {
  .t-hero { display: block; min-height: 0; }
  .t-photo { position: relative; display: block; height: 40svh; min-height: 240px; animation: none; }
  .t-hero::after { inset: 0 0 auto 0; height: max(40svh, 240px); background: linear-gradient(180deg, rgba(6, 10, 16, 0) 50%, var(--t-bg) 100%); }
  .t-in { margin-top: -60px; padding-top: 0; }
  .t-credit { font-size: 11px; top: 8px; }
}

/* map and card */
.t-sub { margin: 0 0 14px; font: italic 600 clamp(20px, 3vw, 30px) 'Archivo Narrow', sans-serif; color: var(--l5); }
.who { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.who .chip[aria-pressed="false"] { opacity: 1; background: var(--card); }
.who .chip[aria-pressed="false"] .sw { visibility: visible; }
.who .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.who .sw { border-radius: 50%; }
.t-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .t-grid { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; } .t-card { position: sticky; top: 70px; } }
.t-map { width: 100%; height: auto; display: block; border: 2px solid var(--ink); border-radius: 8px; background: var(--sea); }
@media (max-width: 759px) { .t-map { min-width: 720px; } }
.t-map .zbase { pointer-events: none; opacity: .55; transition: opacity .6s; }
.t-map .zb-stop text { display: none; }
.p-route { fill: none; stroke-width: 9; stroke-linecap: round; opacity: .25; }
.p-route.on { opacity: 1; filter: drop-shadow(0 0 4px var(--map-halo)); }
.p-home { cursor: pointer; }
.p-home:focus { outline: none; }
.p-home .halo { fill: var(--map-halo); }
.p-home .ring { stroke: var(--map-ink); stroke-width: 3; }
.p-home .lab { font: 700 17px 'Archivo Narrow', sans-serif; fill: var(--map-ink); paint-order: stroke; stroke: var(--map-halo); stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.p-home:hover .ring, .p-home:focus-visible .ring, .p-home.on .ring { stroke-width: 6; }
.p-home:focus-visible .halo { fill: var(--focus); }
.p-hub-dot { fill: var(--map-halo); stroke: var(--map-ink); stroke-width: 5; }
.p-hub-glow { fill: var(--l2); opacity: .25; }
.p-hub-lab { font: 800 20px 'Archivo', sans-serif; fill: var(--map-ink); paint-order: stroke; stroke: var(--map-halo); stroke-width: 6px; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .p-hub-glow { animation: hubglow 1.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
  .together .p-hub-glow { animation-duration: .7s; }
}
@keyframes hubglow { to { opacity: .55; transform: scale(1.3); } }
.together .p-route { opacity: 1; }

.t-card { min-height: 380px; }
.t-card h3 { font-size: 24px; margin: 4px 0 10px; }
.t-card .meta { font: 700 14px 'Archivo Narrow', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.t-card .photo { margin: 0 0 10px; }
.t-card .photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; border: 2px solid var(--ink); }
.t-card .photo figcaption { font-size: 12px; color: var(--muted); margin-top: 3px; }
.t-card .photo .credit { display: inline; font-size: 12px; }
.side { margin: 0 0 10px; }
.side b { display: block; font: 700 13px 'Archivo Narrow', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side p { margin: 2px 0 0; font-size: 16px; }
.side.shared { background: var(--ours-bg); border-left: 6px solid var(--ours); padding: 8px 12px; border-radius: 0 8px 8px 0; }
.side.shared b { color: var(--ours); }
.card-nav { display: flex; gap: 8px; margin-top: 12px; }
.card-nav .btn { flex: 1; justify-content: center; }
.together-row, .together { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 0; font: 700 16px 'Archivo Narrow', sans-serif; }
.t-quote { font: 400 clamp(28px, 4.4vw, 48px)/1.3 'Pacifico', cursive; color: var(--accent); margin: 18px 0 22px; }
.t-quote.small { font-size: 26px; margin: 8px 0 0; }

.t-end h2 { font: 400 clamp(32px, 5vw, 56px)/1.25 'Pacifico', cursive; letter-spacing: 0; }
.t-cols { display: grid; gap: 8px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .t-cols { grid-template-columns: 1fr 1fr; } }
.t-end .big { font-size: clamp(18px, 2.2vw, 22px); margin: 0 0 12px; }
.t-end .cta { display: flex; flex-wrap: wrap; gap: 10px; }
.t-duo { float: right; width: min(38%, 400px); margin: 0 0 16px 24px; padding: 10px 10px 8px; background: var(--t-white); border-radius: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transform: rotate(2.5deg); }
.t-duo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 56% 50%; border-radius: 3px; }
.t-duo figcaption { margin: 8px 2px 0; font: 400 20px/1.2 'Pacifico', cursive; color: var(--t-depth); text-align: center; }
@media (max-width: 899px) { .t-duo { float: none; width: min(88%, 380px); margin: 0 auto 18px; } }
.t-end .cta, .t-end .t-quote { clear: both; }
.t-la { margin: 28px 0 0; padding: 22px 0 6px; border-top: 2px solid var(--ink); display: flow-root; }
.t-la h3 { font: 400 clamp(26px, 3.6vw, 40px)/1.25 'Pacifico', cursive; margin: 0 0 10px; }
.t-la .t-duo { margin-top: 4px; }
.t-la .t-duo figcaption { font-size: clamp(16px, 1.6vw, 20px); }
