/* Tiny Cities: the drawn miniature is the light; the globe with one door open is the demo. */
.p-tinycities{--glow:#ffab78}
.hero{align-content:space-between;justify-items:center;text-align:center;padding-top:clamp(92px,12svh,120px)}
.hero-light{background:linear-gradient(180deg,#100f2c 0,#3c2560 34%,#b24f6e 68%,#ffab78 100%)}
.hero-light::after{background:linear-gradient(180deg,rgba(5,7,11,.84) 0,rgba(5,7,11,.42) 24%,rgba(5,7,11,0) 46%),linear-gradient(0deg,var(--night) 0,rgba(5,7,11,.88) 18%,rgba(5,7,11,0) 48%)}
.hero-top,.hero-copy{display:grid;gap:clamp(12px,1.5vw,20px);justify-items:center}
.hero-copy{max-width:44rem}
.hero h1{font-size:clamp(2.15rem,4vw,3.4rem);line-height:1.08}
.hero-lede{max-width:40rem}
.credit{font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(238,242,247,.74)}
.hero .ch-kicker{justify-content:center}

.globe-panel .panel-body{grid-column:1/6;grid-row:1}
.globe-panel .panel-head{grid-column:7/13}
.globe{position:relative;aspect-ratio:1;max-width:440px;margin:0 auto;cursor:grab;touch-action:pan-y;border-radius:50%}
.globe:active{cursor:grabbing}
.globe canvas{width:100%;height:100%}
.globe-hint{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);white-space:nowrap;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
.globe-panel .btn{margin-top:18px}
.marks{margin-top:22px;border-top:1px solid var(--line)}
.marks div{display:grid;grid-template-columns:minmax(0,11rem) 1fr;gap:4px 20px;padding:10px 0;border-bottom:1px solid var(--line);transition:color .4s}
.marks dt{font:600 1rem/1.3 var(--sans);letter-spacing:-.01em}
.marks dd{font-size:.9rem;color:var(--dim)}
.marks .is-on dt{color:var(--glow);font-style:normal}
/* without script the globe has nothing to show: step it aside rather than leave a hole */
html:not(.js) .globe-panel .panel-body,html:not(.js) #tc-fly{display:none}
html:not(.js) .globe-panel .panel-head{grid-column:1/-1}
@media (max-width:1100px){
  .globe-panel .panel-body,.globe-panel .panel-head{grid-column:1/-1;grid-row:auto}
}
@media (max-width:860px){
  .hero{display:grid;min-height:max(560px,min(92svh,760px));padding:84px var(--pad) 22px}
  .hero-stage{position:absolute;inset:0;z-index:-1;height:auto;margin:0}
  .hero-light::after{background:linear-gradient(180deg,rgba(5,7,11,.86) 0,rgba(5,7,11,.46) 30%,rgba(5,7,11,0) 48%),linear-gradient(0deg,var(--night) 0,rgba(5,7,11,.92) 34%,rgba(5,7,11,0) 60%)}
  .hero-copy{margin-top:0}
  .hero h1{font-size:clamp(1.85rem,7.8vw,2.5rem)}
  .globe{max-width:300px}
  .marks div{grid-template-columns:1fr}
}
