:root {
  --yellow: #f7bd00;
  --ink: #111111;
  --road: #242628;
  --paper: #f7f6f1;
  --line: #d8d5cf;
}

* {
  box-sizing: border-box;
}

html,
body,
.city-app {
  width: 100%;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 48% 40%, rgba(247, 189, 0, 0.09), transparent 28%),
    #f7f6f1;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  animation: pageFadeIn 420ms ease-out both;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

a,
button {
  color: inherit;
  font: inherit;
}

.top-nav {
  position: fixed;
  top: 26px;
  left: 48px;
  right: 48px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  pointer-events: none;
}

.top-nav a,
.top-nav button {
  pointer-events: auto;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  width: 270px;
  height: 70px;
  overflow: hidden;
  text-decoration: none;
}

.site-logo .logo-image {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("assets/logo_nike_city.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.site-logo span {
  font-size: clamp(30px, 3vw, 47px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.top-nav .swoosh,
.hero .swoosh {
  display: block;
  width: 78px;
  height: 30px;
  background: var(--yellow);
  clip-path: polygon(0 57%, 100% 9%, 24% 77%, 2% 95%);
  transform: rotate(-8deg);
}

.top-nav nav {
  display: flex;
  gap: clamp(34px, 5vw, 76px);
  text-transform: uppercase;
}

.top-nav nav a,
.sound-toggle {
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.sound-toggle span,
.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
}

.menu-toggle {
  gap: 4px;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: #111;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 4vw, 72px);
  min-height: 100vh;
  padding: 118px clamp(40px, 12vw, 230px) 128px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 26%, rgba(247, 189, 0, 0.1), transparent 16%),
    radial-gradient(circle at 36% 62%, rgba(0, 0, 0, 0.045), transparent 24%),
    #f7f6f1;
}

.how-page {
  position: relative;
  overflow: hidden;
  padding-bottom: 150px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 2px solid #111;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.how-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 120px);
  min-height: 100vh;
  padding: 128px clamp(38px, 8vw, 148px) 116px;
  background:
    linear-gradient(30deg, rgba(247, 189, 0, 0.11) 1px, transparent 1px),
    linear-gradient(150deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 74% 28%, rgba(247, 189, 0, 0.19), transparent 18%),
    #f7f6f1;
  background-size: 52px 30px, 52px 30px, auto, auto;
}

.how-hero-copy {
  position: relative;
  z-index: 2;
}

.how-hero h1,
.how-statement p,
.section-heading h2,
.how-final h2 {
  margin: 0;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.how-hero h1 {
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(68px, 9vw, 156px);
}

.how-hero h1 span {
  color: var(--yellow);
  text-shadow: -2px 2px 0 #111;
}

.how-hero-copy p {
  max-width: 440px;
  margin: 26px 0 30px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.how-hero-visual {
  position: relative;
  min-height: 620px;
  transform-style: preserve-3d;
  perspective: 1200px;
  will-change: transform;
}

.how-orbit {
  position: absolute;
  inset: 9% 2% 8% 4%;
  border: 2px solid rgba(17, 17, 17, 0.14);
  border-radius: 50%;
  transform: rotateX(58deg) rotateZ(-38deg);
  will-change: transform;
}

.how-device {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(620px, 46vw);
  aspect-ratio: 1.38;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-45deg);
  transform-style: preserve-3d;
  border: 3px solid #c9c5bd;
  border-radius: 40px;
  background: #f8f7f2;
  box-shadow: 18px 26px 0 rgba(17, 17, 17, 0.12);
  will-change: transform;
}

.device-road {
  position: absolute;
  inset: 28% 12%;
  border-radius: 28px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255,255,255,0.7) 48% 52%, transparent 53%),
    linear-gradient(#242628, #242628);
  box-shadow: inset 0 0 0 8px var(--yellow);
}

.device-card {
  position: absolute;
  right: 9%;
  top: 8%;
  display: grid;
  gap: 6px;
  width: 210px;
  padding: 18px;
  border: 2px solid #111;
  border-radius: 12px;
  background: #111;
  color: #f7f6f1;
  transform: translateZ(80px) rotateZ(45deg) rotateX(-58deg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.how-device:hover .device-card {
  transform: translateZ(100px) rotateZ(45deg) rotateX(-58deg) translateY(-8px);
  box-shadow: 0 20px 36px rgba(17, 17, 17, 0.18);
}

.device-card i {
  color: var(--yellow);
  font-style: normal;
  font-weight: 900;
}

.device-card strong {
  font-size: 20px;
  line-height: 0.95;
  text-transform: uppercase;
}

.device-card small {
  font-weight: 800;
  line-height: 1.25;
}

.device-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 5px solid #111;
  border-radius: 50% 50% 50% 0;
  background: var(--yellow);
  transform: translateZ(58px) rotate(-45deg);
  z-index: 2;
}

.device-pin::after {
  content: "";
  position: absolute;
  inset: -13px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  opacity: 0.55;
  transform: rotate(45deg) scale(0.7);
  animation: pinPulse 1.8s ease-out infinite;
}

@keyframes pinPulse {
  0% { opacity: 0.58; transform: rotate(45deg) scale(0.55); }
  100% { opacity: 0; transform: rotate(45deg) scale(1.45); }
}

.pin-one { left: 17%; top: 20%; }
.pin-two { right: 22%; bottom: 18%; }
.pin-three { left: 30%; bottom: 19%; }

.device-route {
  position: absolute;
  inset: 17% 11% 18%;
  z-index: 1;
  overflow: visible;
  transform: translateZ(72px);
  pointer-events: none;
}

.device-route path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 14 10;
  filter: drop-shadow(0 4px 0 rgba(17, 17, 17, 0.28));
}

.floating-badge {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 112px;
  height: 48px;
  padding: 0 18px;
  border: 2px solid #111;
  border-radius: 999px;
  background: #111;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.16);
  cursor: default;
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
  will-change: transform;
}

.floating-badge:hover {
  transform: translateY(-8px) scale(1.06);
  background: var(--yellow);
  color: #111;
  box-shadow: 0 24px 44px rgba(17, 17, 17, 0.22);
}

.badge-a { top: 17%; left: 6%; }
.badge-b { top: 23%; right: 6%; background: var(--yellow); color: #111; }
.badge-c { left: 12%; bottom: 16%; }

.how-statement {
  padding: 130px clamp(36px, 10vw, 180px);
}

.how-statement p {
  max-width: 1260px;
  font-size: clamp(48px, 7vw, 120px);
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-size: clamp(44px, 5vw, 92px);
}

.how-journey,
.how-capabilities,
.how-parallax,
.how-final {
  padding: 118px clamp(36px, 8vw, 148px);
}

.journey-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journey-card,
.capability-card,
.parallax-panel {
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 8px;
  background: rgba(247, 246, 241, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.08);
}

.journey-card {
  min-height: 310px;
  padding: 28px;
}

.journey-card span {
  color: var(--yellow);
  font-size: 36px;
  font-weight: 900;
}

.journey-card h3,
.capability-card h3,
.parallax-panel h2 {
  margin: 20px 0 14px;
  font-size: 31px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.journey-card p,
.capability-card p,
.parallax-panel p,
.how-final p {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.38;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.capability-card {
  overflow: hidden;
  padding: 16px 16px 28px;
}

.capability-card h3,
.capability-card p {
  margin-left: 10px;
  margin-right: 10px;
}

.placeholder-media {
  position: relative;
  min-height: 270px;
  border-radius: 6px;
  background:
    linear-gradient(30deg, rgba(247, 189, 0, 0.18) 1px, transparent 1px),
    #f0eee6;
  background-size: 28px 18px;
  overflow: hidden;
}

.placeholder-media::before,
.placeholder-media::after {
  content: "";
  position: absolute;
  transform: rotateX(58deg) rotateZ(-45deg);
  transform-style: preserve-3d;
}

.media-map::before {
  left: 18%;
  top: 30%;
  width: 56%;
  aspect-ratio: 1.45;
  border: 3px solid #bbb7ad;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 12px 18px 0 rgba(17,17,17,0.12);
}

.media-map::after {
  left: 32%;
  top: 43%;
  width: 35%;
  aspect-ratio: 1;
  border-radius: 20px;
  background: #242628;
  box-shadow: inset 0 0 0 8px var(--yellow);
}

.media-product::before {
  left: 23%;
  top: 38%;
  width: 50%;
  height: 90px;
  border: 3px solid #111;
  border-radius: 8px;
  background: linear-gradient(90deg, #111 0 40%, var(--yellow) 41% 55%, #f7f6f1 56% 66%, #111 67%);
  box-shadow: 12px 18px 0 rgba(17,17,17,0.12);
}

.media-product::after {
  left: 34%;
  top: 12%;
  width: 34%;
  height: 80px;
  border: 3px solid #111;
  border-radius: 50%;
  background: #fff;
}

.media-challenge::before {
  left: 17%;
  top: 32%;
  width: 62%;
  aspect-ratio: 1.45;
  border: 3px solid #bbb7ad;
  border-radius: 26px;
  background:
    radial-gradient(circle at 22% 32%, var(--yellow) 0 9%, transparent 10%),
    radial-gradient(circle at 70% 62%, var(--yellow) 0 9%, transparent 10%),
    linear-gradient(115deg, transparent 42%, #242628 43% 58%, transparent 59%),
    #fffdf8;
  box-shadow: 12px 18px 0 rgba(17,17,17,0.12);
}

.how-parallax {
  min-height: 850px;
}

.parallax-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
}

.parallax-map {
  position: absolute;
  width: min(900px, 72vw);
  aspect-ratio: 1.65;
  transform: rotateX(58deg) rotateZ(-45deg);
  border: 3px solid #c8c5be;
  border-radius: 44px;
  background: #f8f7f2;
  box-shadow: 24px 34px 0 rgba(17, 17, 17, 0.1);
}

.parallax-map span {
  position: absolute;
  width: 24%;
  aspect-ratio: 1.3;
  border: 3px solid #111;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 -18px 0 var(--yellow);
}

.parallax-map span:nth-child(1) { left: 12%; top: 18%; }
.parallax-map span:nth-child(2) { right: 14%; top: 18%; }
.parallax-map span:nth-child(3) { left: 18%; bottom: 14%; }
.parallax-map span:nth-child(4) { right: 20%; bottom: 13%; }

.parallax-panel {
  position: relative;
  z-index: 2;
  width: min(520px, 90vw);
  margin-left: auto;
  padding: 34px;
}

.parallax-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.parallax-panel li {
  padding: 12px;
  border: 2px solid #111;
  border-radius: 6px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.how-final {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.how-final h2 {
  max-width: 900px;
  font-size: clamp(60px, 8vw, 132px);
}

.how-final p {
  max-width: 560px;
}

@media (max-width: 1120px) {
  .how-hero {
    grid-template-columns: 1fr;
    padding-top: 126px;
  }

  .how-hero-visual {
    min-height: 520px;
  }

  .how-device {
    width: min(620px, 82vw);
  }

  .journey-rail,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .how-hero,
  .how-journey,
  .how-capabilities,
  .how-parallax,
  .how-final,
  .how-statement {
    padding-left: 24px;
    padding-right: 24px;
  }

  .how-hero h1 {
    font-size: clamp(56px, 17vw, 88px);
  }

  .how-statement p {
    font-size: clamp(38px, 12vw, 64px);
  }

  .journey-rail,
  .capability-grid,
  .parallax-panel ul {
    grid-template-columns: 1fr;
  }

  .how-hero-visual {
    min-height: 420px;
  }

  .how-device {
    width: 96vw;
  }

  .floating-badge {
    min-width: 90px;
    height: 40px;
    font-size: 11px;
  }

  .parallax-map {
    width: 108vw;
  }

  .parallax-panel {
    margin: 0;
  }
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 540px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(68px, 7vw, 126px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span:first-child::after {
  content: "";
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  margin-left: 0.06em;
  background: var(--yellow);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.hero-dots {
  display: flex;
  gap: 12px;
  margin: 24px 0 16px;
}

.hero-dots span {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #111;
}

.hero-dots span:first-child {
  width: 44px;
  background: var(--yellow);
}

.hero-copy p {
  max-width: 330px;
  margin: 0 0 28px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-ctas {
  display: flex;
  gap: 18px;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 205px;
  min-height: 52px;
  padding: 0 14px 0 24px;
  border: 2px solid #111;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta.primary {
  background: #111;
  color: var(--yellow);
}

.cta.secondary {
  background: rgba(247, 246, 241, 0.72);
}

.cta b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
}

.cta.secondary b {
  border: 2px solid #111;
  background: transparent;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 620px;
}

.hero-island {
  position: absolute;
  left: 50%;
  top: 53%;
  width: min(720px, 48vw);
  aspect-ratio: 1.45;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-45deg);
  transform-style: preserve-3d;
  border: 3px solid #c8c5be;
  border-radius: 42px;
  background: #f6f4ee;
  box-shadow: 18px 26px 0 rgba(17, 17, 17, 0.11);
}

.shoe-box {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 250px;
  height: 170px;
  transform: translate(-50%, -50%) translateZ(86px);
  transform-style: preserve-3d;
  background: #111;
  border: 2px solid #2e2e2e;
  box-shadow: 24px 28px 0 rgba(0, 0, 0, 0.18);
}

.shoe-box::before,
.shoe-box::after {
  content: "";
  position: absolute;
  background: #1b1b1b;
}

.shoe-box::before {
  inset: -72px 0 auto;
  height: 72px;
  transform-origin: bottom;
  transform: rotateX(72deg);
}

.shoe-box::after {
  right: -58px;
  top: 0;
  width: 58px;
  height: 100%;
  transform-origin: left;
  transform: rotateY(70deg);
}

.box-band {
  position: absolute;
  top: -68px;
  left: 104px;
  z-index: 2;
  width: 42px;
  height: 232px;
  background: linear-gradient(90deg, #fff 0 38%, var(--yellow) 39% 67%, #fff 68%);
  transform: rotateX(72deg);
}

.box-logo {
  position: absolute;
  right: 24px;
  bottom: 26px;
  color: var(--yellow);
  font-size: 34px;
  font-weight: 900;
  transform: rotate(10deg);
}

.floating-shoe {
  position: absolute;
  left: 50%;
  top: 23%;
  z-index: 5;
  width: 330px;
  height: 150px;
  transform: translate(-50%, -50%) rotate(-18deg);
  filter: drop-shadow(0 24px 20px rgba(17, 17, 17, 0.2));
}

.shoe-body,
.shoe-sole,
.shoe-swoosh,
.shoe-laces {
  position: absolute;
  display: block;
}

.shoe-body {
  left: 22px;
  top: 36px;
  width: 270px;
  height: 76px;
  border: 5px solid #111;
  border-radius: 78% 34% 42% 40%;
  background:
    radial-gradient(circle at 58% 38%, #fff 0 15px, transparent 16px),
    linear-gradient(115deg, #fff 0 42%, var(--yellow) 43% 58%, #111 59% 100%);
}

.shoe-sole {
  left: 22px;
  top: 104px;
  width: 282px;
  height: 24px;
  border: 4px solid #111;
  border-radius: 0 0 44px 90px;
  background: #fff;
  box-shadow: inset 48px 0 0 var(--yellow);
}

.shoe-swoosh {
  left: 140px;
  top: 63px;
  width: 100px;
  height: 35px;
  background: #111;
  clip-path: polygon(0 57%, 100% 9%, 24% 77%, 2% 95%);
}

.shoe-laces {
  left: 84px;
  top: 42px;
  width: 96px;
  height: 58px;
  background: repeating-linear-gradient(24deg, transparent 0 12px, #111 13px 18px);
  transform: rotate(-6deg);
}

.cloud,
.spark,
.plane {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.cloud {
  width: 96px;
  height: 44px;
  border: 3px solid #111;
  border-radius: 40px;
  background: #f7f6f1;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 18px;
  border: 3px solid #111;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: #f7f6f1;
}

.cloud::before {
  left: 16px;
  width: 36px;
  height: 36px;
}

.cloud::after {
  left: 42px;
  width: 42px;
  height: 42px;
}

.cloud-a { left: 13%; top: 32%; }
.cloud-b { right: 11%; top: 34%; transform: scale(0.78); }
.spark {
  color: var(--yellow);
  font-size: 28px;
  font-weight: 900;
}
.spark-a { left: 38%; top: 17%; }
.spark-b { right: 24%; top: 22%; }
.spark-c { right: 17%; top: 43%; }
.plane {
  left: -8%;
  top: 22%;
  color: var(--yellow);
  font-size: 28px;
}

.hero-tree,
.hero-lamp,
.person,
.hero-bench {
  position: absolute;
  transform-style: preserve-3d;
}

.hero-tree {
  width: 28px;
  height: 76px;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(#ffcf22 0 62%, #111 63%);
  transform: translateZ(44px) rotateZ(45deg);
}

.tree-a { left: 14%; top: 34%; }
.tree-b { right: 11%; bottom: 18%; }

.hero-lamp {
  width: 8px;
  height: 96px;
  background: #111;
  transform: translateZ(48px);
}

.hero-lamp::before {
  content: "";
  position: absolute;
  left: -11px;
  top: -12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 35%, var(--yellow) 36% 70%, #111 71%);
}

.lamp-a { left: 18%; bottom: 20%; }
.lamp-b { right: 18%; top: 23%; }

.person {
  width: 16px;
  height: 58px;
  background: linear-gradient(var(--yellow) 0 42%, #111 43%);
  border-radius: 10px 10px 4px 4px;
  transform: translateZ(52px);
}

.person::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111;
}

.person-a { left: 28%; bottom: 18%; }
.person-b { right: 27%; bottom: 10%; }
.person-c { left: 12%; top: 48%; }

.hero-bench {
  right: 13%;
  bottom: 30%;
  width: 76px;
  height: 14px;
  background: var(--yellow);
  box-shadow: 0 14px 0 #111;
  transform: translateZ(36px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 128px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
}

.city-app .brand-panel {
  display: none;
}

.scroll-cue span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid #111;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}

.scroll-cue b {
  position: relative;
  font-size: 13px;
  line-height: 1.15;
}

.scroll-cue b::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow);
}

.city-app {
  position: relative;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
}

.bottom-menu {
  position: fixed;
  left: 52px;
  bottom: 32px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, auto);
  align-items: center;
  min-width: 780px;
  min-height: 66px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 10px;
  background: rgba(247, 246, 241, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.06);
}

.bottom-menu a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  padding: 0 30px;
  border-right: 1px solid rgba(17, 17, 17, 0.2);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.bottom-menu a:last-child {
  border-right: 0;
}

.bottom-menu i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  color: #111;
  font-style: normal;
  font-size: 22px;
}

.bottom-menu .active i {
  background: var(--yellow);
}

.movement-card {
  position: fixed;
  right: 52px;
  bottom: 32px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  width: 250px;
  min-height: 90px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 10px;
  background: rgba(247, 246, 241, 0.82);
  backdrop-filter: blur(18px);
}

.movement-card .globe {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid #111;
  border-radius: 50%;
  background: conic-gradient(#111 0 18%, #fff 19% 34%, var(--yellow) 35% 46%, #111 47% 68%, #fff 69% 82%, var(--yellow) 83%);
  color: transparent;
}

.movement-card strong {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.16;
  text-transform: uppercase;
}

.movement-card i {
  grid-column: 2;
  width: 112px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow) 0 36%, #111 37% 57%, rgba(17, 17, 17, 0.16) 58%);
}

.cards-locked {
  overflow: hidden;
}

.cards-gate {
  position: fixed;
  inset: 0;
  z-index: 84;
  display: grid;
  place-items: center;
  padding: 92px 24px 70px;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
}

.cards-gate.is-visible {
  pointer-events: auto;
}

.intro-card-stack {
  position: relative;
  width: min(525px, calc(100vw - 48px));
  height: min(610px, calc(100vh - 185px));
  min-height: 500px;
  perspective: 1100px;
}

.intro-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 4vw, 54px);
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 72% 24%, rgba(247, 189, 0, 0.12), transparent 26%),
    #f8f7f2;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  transform-origin: center;
  will-change: transform, opacity;
}

.intro-card.is-front {
  z-index: 4;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.intro-card.is-middle {
  z-index: 3;
  opacity: 0.96;
  transform: translate3d(0, -24px, -48px) rotate(0.5deg) scale(0.965);
}

.intro-card.is-back {
  z-index: 2;
  opacity: 0.86;
  transform: translate3d(0, -46px, -88px) rotate(-0.7deg) scale(0.93);
}

.intro-number {
  color: var(--yellow);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.intro-card h2 {
  max-width: 360px;
  margin: 16px 0 0;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.intro-card > i {
  display: block;
  width: 44px;
  height: 5px;
  margin: 22px 0;
  border-radius: 999px;
  background: var(--yellow);
}

.intro-card p {
  max-width: 410px;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.mini-districts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 18px;
  margin-top: auto;
  padding-top: 34px;
}

.mini-districts span,
.mini-route span,
.mini-city span {
  display: grid;
  place-items: end center;
  min-height: 74px;
  border-radius: 18px;
  border: 2px solid rgba(17, 17, 17, 0.18);
  background:
    linear-gradient(135deg, transparent 0 28%, rgba(247, 189, 0, 0.86) 29% 45%, transparent 46%),
    radial-gradient(circle at 50% 38%, #111 0 13px, transparent 14px),
    #fffdf7;
  color: #111;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.mini-route,
.mini-city {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: auto;
  padding-top: 42px;
}

.mini-route span {
  min-height: 116px;
  background:
    linear-gradient(90deg, transparent 45%, #111 46% 54%, transparent 55%),
    radial-gradient(circle at 50% 20%, var(--yellow) 0 18px, transparent 19px),
    #fffdf7;
}

.mini-city span {
  min-height: 112px;
  background:
    linear-gradient(#111 0 42%, var(--yellow) 43% 56%, #fff 57%),
    #fffdf7;
}

.intro-next {
  position: absolute;
  left: calc(50% + min(232px, 42vw));
  top: calc(50% + min(248px, 32vh));
  z-index: 6;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid #111;
  border-radius: 50%;
  background: #f8f7f2;
  color: #111;
  font-size: 30px;
  font-weight: 900;
  cursor: pointer;
}

.skip-cards {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 6;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 3px solid var(--yellow);
  background: transparent;
  color: #f8f7f2;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateX(-50%);
}

.transition-wipe {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  background: transparent;
}

.wipe-panel {
  position: absolute;
  top: 47%;
  left: 50%;
  display: block;
  width: max(188vw, 188vh);
  height: max(172vw, 172vh);
  border-radius: 48% 42% 54% 45% / 42% 58% 38% 56%;
  transform: translate(-190%, -50%) scale(1) rotate(0deg);
  will-change: transform;
}

.wipe-white {
  z-index: 1;
  background: #f7f6f1;
  border-radius: 54% 40% 48% 56% / 42% 62% 36% 58%;
}

.wipe-yellow {
  z-index: 2;
  background: var(--yellow);
  border-radius: 42% 56% 45% 58% / 48% 38% 62% 44%;
}

.wipe-black {
  z-index: 3;
  background: #111;
  border-radius: 58% 40% 55% 44% / 46% 58% 40% 54%;
}

.wipe-final {
  z-index: 4;
  background: #f7f6f1;
  width: max(260vw, 260vh);
  height: max(250vw, 250vh);
  border-radius: 54% 40% 47% 58% / 40% 60% 42% 58%;
  transform: translate(-215%, -50%) scale(1.04) rotate(0deg);
}

.wipe-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  background: #f7f6f1;
  opacity: 0;
  will-change: opacity;
}

.morph-transition {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
}

.morph-transition svg {
  display: block;
  width: 100%;
  height: 100%;
}

.morph-layer {
  will-change: d;
}

.morph-black {
  fill: #111;
}

.morph-yellow {
  fill: var(--yellow);
}

.morph-paper {
  fill: #f7f6f1;
}

.morph-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(440px, 48vw);
  aspect-ratio: 4 / 1;
  background: url("assets/logo_nike_city.png") center / contain no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.12));
  will-change: opacity, transform;
}

#city {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.brand-panel {
  position: absolute;
  top: 26px;
  left: 28px;
  z-index: 10;
  pointer-events: none;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-panel h1 {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.brand-panel p {
  margin: 8px 0 18px;
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 800;
  line-height: 1.35;
}

.swoosh {
  width: 70px;
  height: 28px;
  background: var(--yellow);
  clip-path: polygon(0 57%, 100% 9%, 24% 77%, 2% 95%);
  transform: translateY(3px) rotate(-8deg);
}

.quick-icons {
  display: flex;
  gap: 10px;
}

.quick-icons span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: #080808;
  font-size: 16px;
  font-weight: 900;
}

.labels {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.zone-label {
  position: absolute;
  display: flex;
  align-items: center;
  min-width: 176px;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: #fff;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.12));
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-28px, -88px);
  transition: transform 0.18s ease;
}

.zone-label::before {
  content: "";
  width: 46px;
  height: 46px;
  border: 5px solid #111;
  border-radius: 50% 50% 50% 0;
  background: var(--yellow);
  transform: rotate(-45deg);
}

.zone-label::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 43px;
  width: 1px;
  height: var(--stem, 82px);
  background: rgba(17, 17, 17, 0.48);
}

.zone-label .icon {
  position: absolute;
  left: 14px;
  top: 10px;
  z-index: 2;
  width: 20px;
  height: 20px;
  color: #111;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.zone-label .copy {
  display: grid;
  align-content: center;
  min-width: 142px;
  height: 39px;
  margin-left: -8px;
  padding: 5px 18px 5px 19px;
  border: 4px solid #111;
  border-left: 0;
  border-radius: 0 22px 22px 0;
  background: #111;
}

.zone-label strong,
.zone-label span {
  display: block;
  white-space: nowrap;
}

.zone-label strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.zone-label span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.zone-label.is-active {
  transform: translate(-28px, -98px) scale(1.05);
}

.bottom-panels {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 24px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(390px, 1.18fr) minmax(360px, 1.1fr) 210px;
  gap: 12px;
  pointer-events: none;
}

.panel {
  min-height: 118px;
  padding: 15px 16px;
  border: 1px solid #c9c7c2;
  border-radius: 8px;
  background: rgba(247, 246, 241, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px 22px;
}

.legend-grid span,
.coords span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #242424;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.legend-grid i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.coords div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 46px;
}

.coords span {
  justify-content: space-between;
}

.coords b {
  min-width: 64px;
}

.guide .axis {
  position: relative;
  height: 78px;
  padding: 16px 0 0 34px;
}

.guide span,
.guide b {
  position: absolute;
  color: #444;
  font-size: 10px;
  font-weight: 800;
}

.guide span {
  left: 36px;
  top: 6px;
}

.guide b {
  left: 38px;
  bottom: -1px;
}

.guide em {
  position: absolute;
  left: 36px;
  top: 24px;
  width: 130px;
  height: 48px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 12px 12px;
}

.guide em::before,
.guide em::after {
  content: "";
  position: absolute;
  border: 5px solid transparent;
}

.guide em::before {
  left: -6px;
  top: -10px;
  border-bottom-color: #111;
}

.guide em::after {
  right: -10px;
  bottom: -6px;
  border-left-color: #111;
}

@media (max-width: 1050px) {
  body {
    overflow: auto;
  }

  .city-app {
    min-width: 980px;
  }
}
