/* Kids' English: from the cover's night jungle into the book's daylight colours */
.ke-page {
  --night: #061526;
  --ink: #1b2533;
  --sun: #fade46;
  --sky: #9ddbf0;
  --leaf: #cae2a6;
  --peach: #fcd1a2;
  --blush: #fac1c1;
  --coral: #f2605f;
  --ground: #8fc96b;
  --gap: 72px;
  --inner: 36px;
  --title: 'Baloo 2', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
  background: var(--night);
  color: #fff;
  font-family: var(--body);
}

.ke-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  background: none;
}

.ke-page .brand {
  color: #fff;
}

.ke-page .pill-nav {
  color: var(--ink);
}

.ke {
  position: relative;
  overflow-x: clip;
}

.ke-wrap {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 32px;
}

.ke-narrow {
  max-width: 860px;
}

.ke h1,
.ke h2,
.ke h3 {
  margin: 0;
  font-family: var(--title);
  font-weight: 800;
  letter-spacing: 0;
}

.ke h2 {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.12;
}

.ke h3 {
  font-size: 24px;
  line-height: 1.15;
}

.ke p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

.ke-tag {
  display: inline-block;
  margin-bottom: 18px !important;
  padding: 3px 14px 2px;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-family: var(--title);
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.5 !important;
}

/* Dark sections share one sky, so each carries only its bottom gap. */
.ke-sec {
  padding: 0 0 var(--gap);
}

/* ---------- the sky stays fixed behind the page and turns from night to day ---------- */
.ke-sky,
.ke-sky i {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ke-sky {
  z-index: -1;
  background: linear-gradient(180deg, #050f1e 0%, #0a2238 60%, #0d3442 100%);
}

.ke-dawn {
  opacity: 0;
  background: linear-gradient(180deg, #1c3f6e 0%, #8a5f8f 48%, #f3a06f 82%, #fcd1a2 100%);
}

.ke-day {
  opacity: 0;
  background: linear-gradient(180deg, #55bce6 0%, #9ddbf0 55%, #eaf6d8 100%);
}

.ke-stars {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 62%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, #ffeeb0, transparent),
    radial-gradient(1px 1px at 63% 12%, #fff, transparent),
    radial-gradient(2px 2px at 77% 44%, #ffeeb0, transparent),
    radial-gradient(1px 1px at 88% 72%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 8% 82%, #fff, transparent),
    radial-gradient(1px 1px at 52% 78%, #fff, transparent);
  background-size: 460px 460px;
}

.ke-sky .ke-sun {
  inset: auto;
  left: 50%;
  bottom: -130px;
  width: 460px;
  height: 460px;
  margin-left: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6c8 0%, #ffe066 42%, rgba(255, 214, 90, 0.35) 62%, rgba(255, 214, 90, 0) 72%);
  transform: translateY(70vh);
}

/* ---------- hero ---------- */
.ke-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(6, 21, 38, 0.2), rgba(6, 21, 38, 0.1) 58%, #061526 92%), url('/assets/images/kidsenglish/jungle.webp') center 60% / cover no-repeat, var(--night);
}

.ke-hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  flex: 1;
  gap: 24px;
  padding-top: 112px;
}

.ke-kick {
  margin-bottom: 26px !important;
  font-weight: 700;
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.82);
}

.ke h1 img {
  display: block;
  width: min(100%, 460px, 52svh);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.ke-lead {
  margin-top: 28px !important;
  font-family: var(--title);
  font-weight: 700;
  font-size: clamp(22px, 2.3vw, 30px) !important;
  line-height: 1.25 !important;
}

.ke-art {
  justify-self: end;
  width: min(100%, 600px, calc((100svh - 240px) / 1.32));
  -webkit-mask-image: radial-gradient(ellipse 50% 56% at 50% 56%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 56% at 50% 56%, #000 60%, transparent 100%);
}

.ke-art img {
  display: block;
  width: 100%;
  height: auto;
  animation: ke-breathe 7s ease-in-out infinite alternate;
}

@keyframes ke-breathe {
  to { transform: scale(1.03); }
}

.ke-flies {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.ke-flies i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffe98a;
  box-shadow: 0 0 12px 4px rgba(255, 228, 120, 0.55);
  opacity: 0;
  animation: ke-fly var(--t) ease-in-out var(--w) infinite alternate;
}

@keyframes ke-fly {
  0% { opacity: 0; transform: translate(0, 0); }
  35% { opacity: 1; }
  70% { opacity: 0.25; }
  100% { opacity: 0.9; transform: translate(var(--x), var(--y)); }
}

.pre-motion .ke-hero-copy > *,
.pre-motion .ke-art {
  opacity: 0;
}

.ke-facts {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
  gap: 24px 40px;
  margin: 0 auto;
  padding-top: 22px;
  padding-bottom: 30px;
}

.ke-facts dt {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
}

.ke-facts dd {
  margin: 4px 0 0;
  font-family: var(--title);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

.ke-me {
  color: var(--sun);
}

.ke-facts small {
  display: block;
  margin-top: 2px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.ke-facts > div {
  min-width: 0;
}

/* ---------- the brief ---------- */
.ke-brief {
  padding-top: var(--gap) !important;
}

.ke-brief h2 {
  margin-bottom: 22px;
}

.ke-big {
  margin-bottom: 20px !important;
  font-size: clamp(22px, 2.3vw, 28px) !important;
  font-weight: 700;
  line-height: 1.45 !important;
}

.ke-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: var(--inner) 0 0;
  padding: 0;
  list-style: none;
}

.ke-stats li {
  padding: 22px 24px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.ke-stats b {
  display: block;
  font-family: var(--title);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--sun);
}

.ke-stats span {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

/* ---------- friends ---------- */
.ke-class {
  text-align: center;
}

.ke-friends {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: var(--inner) 0 0;
  padding: 0;
  list-style: none;
}

.ke-f {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ke-f q {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  padding: 8px 18px 7px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  font-family: var(--title);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  quotes: none;
}

.ke-f q::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  background: #fff;
  border-radius: 3px;
  transform: rotate(45deg);
}

.ke-f img {
  width: 100%;
  max-width: 250px;
  height: 250px;
  object-fit: contain;
  object-position: bottom;
  animation: ke-bob 2.6s ease-in-out var(--d) infinite alternate;
  transition: scale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ke-f:hover img {
  scale: 1.08;
}

@keyframes ke-bob {
  to { transform: translateY(-10px) rotate(1.2deg); }
}

.ke-f b {
  margin-top: 14px;
  font-family: var(--title);
  font-size: 24px;
  font-weight: 800;
}

/* ---------- comic ---------- */
.ke-comic {
  padding-bottom: 0;
}

.ke-comic-in {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 56px;
}

.ke-comic h2 {
  margin-bottom: 22px;
}

.ke-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.ke-points li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 17px;
  line-height: 1.5;
}

.ke-comic-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ke-comic-pages img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  cursor: zoom-in;
}

.ke-z1 { rotate: -2deg; }
.ke-z2 { rotate: 2deg; margin-top: 44px; }

/* ---------- the road: one pinned board, Boo walks it while the page holds still ---------- */
.ke-road {
  position: relative;
  height: calc(100svh + 120vh);
  transition: color 0.5s;
}

.ke-road.is-day,
.ke-road.is-dawn .ke-now-t {
  color: var(--ink);
}

.ke-pin {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100svh;
}

.ke-road-in {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 28px 56px;
}

.ke-road-h {
  grid-column: 1;
  grid-row: 1;
}

.ke-road h2 {
  margin-bottom: 12px;
  font-size: clamp(36px, 3.6vw, 52px);
}

.ke-road-p {
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.ke-now {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 26px;
}

.ke-pile {
  position: relative;
  flex: none;
  width: 150px;
  aspect-ratio: 300 / 396;
}

.ke-pile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(26px) rotate(calc(var(--r) * 3)) scale(1.1);
  transition: opacity 0.25s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ke-pile img.is-on {
  opacity: 1;
  transform: rotate(var(--r));
}

.ke-pile img.is-top {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
}

.ke-now-t {
  transition: color 0.5s;
  font-family: var(--title);
  font-size: 26px !important;
  font-weight: 800;
  line-height: 1.15 !important;
}

.ke-now-t small {
  display: block;
  margin-bottom: 4px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 800;
  opacity: 0.75;
}

.ke-track {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 0 44px;
}

.ke-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ke-path path {
  fill: none;
  stroke-linecap: round;
}

.ke-p-base {
  stroke: currentColor;
  stroke-opacity: 0.45;
  stroke-width: 5;
  stroke-dasharray: 2 15;
}

.ke-p-done {
  stroke: var(--sun);
  stroke-width: 8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.ke-road.is-day .ke-p-done {
  stroke: var(--coral);
}

.ke-stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(150px, calc((100svh - 190px) / 3), 200px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ke-stop {
  grid-column: var(--dc);
  grid-row: var(--dr);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  text-align: center;
}

.ke-dot {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  font-family: var(--title);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ke-stop.is-on .ke-dot {
  background: var(--c);
  border-color: #fff;
  color: var(--ink);
  transform: scale(1.14);
}

.ke-stop b {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  padding: 0 4px;
  font-family: var(--title);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.78;
  transition: opacity 0.3s;
}

.ke-stop.is-on b {
  opacity: 1;
}

.ke-walker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 74px;
  margin: -106px 0 0 -37px;
  will-change: transform;
  pointer-events: none;
}

.ke-walker img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.3));
}

/* ---------- daylight: every band is a page of the book ---------- */
/* The wave above a band reads as part of it, and the next wave eats into its bottom. */
.ke-band {
  position: relative;
  padding: 36px 0 calc(var(--gap) + 28px);
  background: var(--bg);
  color: var(--ink);
}

.ke-wave {
  position: absolute;
  top: -59px;
  left: 0;
  width: 100%;
  height: 60px;
  display: block;
}

.ke-wave-b {
  position: absolute;
  bottom: -59px;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 60px;
  display: block;
}

.ke-inside {
  z-index: 3;
}

.ke-band h2 {
  margin-bottom: 14px;
}

.ke-intro {
  max-width: 720px;
}

.ke-groups {
  display: flex;
  gap: 18px;
  margin-top: var(--inner);
}

.ke-g {
  flex: var(--n) 1 0;
  min-width: 0;
}

.ke-g h3 {
  padding-top: 12px;
  border-top: 6px solid var(--ink);
}

.ke-g p {
  min-height: 48px;
  margin: 4px 0 14px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.ke-g-p {
  display: grid;
  grid-template-columns: repeat(var(--n), 1fr);
  gap: 10px;
}

.ke-g-p img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(120, 90, 0, 0.25);
}

.ke-sw {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: var(--inner) 0 0;
  padding: 0;
  list-style: none;
}

.ke-sw li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 124px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--c);
  transition: translate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ke-sw li:hover {
  translate: 0 -8px;
}

.ke-sw b {
  font-family: var(--title);
  font-size: 24px;
  line-height: 1.1;
}

.ke-sw span {
  font-size: 14px;
  font-weight: 700;
}

.ke-anat {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  align-items: center;
  gap: 56px;
  margin-top: var(--inner);
}

.ke-anat-p {
  position: relative;
  margin: 0;
}

.ke-anat-p img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(27, 37, 51, 0.14);
}

.ke-anat-p i {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--title);
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.ke-anat-l {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: a;
}

.ke-anat-l li {
  position: relative;
  padding: 18px 0 18px 54px;
  border-top: 2px solid rgba(27, 37, 51, 0.12);
  counter-increment: a;
}

.ke-anat-l li::before {
  content: counter(a);
  position: absolute;
  top: 18px;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--title);
  font-weight: 800;
}

.ke-anat-l b {
  display: block;
  font-family: var(--title);
  font-size: 22px;
  line-height: 1.2;
}

.ke-anat-l span {
  font-size: 17px;
  line-height: 1.5;
}

.ke-col {
  display: block;
  width: 100%;
  height: auto;
  margin-top: var(--inner);
  border-radius: 4px;
}

/* ---------- the end: the ribbon hangs from behind the section above ---------- */
.ke-end {
  z-index: 2;
  padding: 0;
}

.ke-end-in {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 88px;
  align-items: center;
}

.ke-medal {
  align-self: start;
  transform-origin: 50% -10%;
  animation: ke-swing 4.6s ease-in-out infinite alternate;
}

.ke-medal img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes ke-swing {
  from { transform: rotate(-2.2deg); }
  to { transform: rotate(2.2deg); }
}

.ke-end-copy {
  padding: 64px 0 32px;
}

.ke-end-copy > p:not(.ke-tag) {
  max-width: 620px;
}

.ke-end h2 {
  margin-bottom: 18px;
}

.ke-next {
  margin-top: 14px !important;
}

.ke-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ke-btn {
  display: inline-block;
  padding: 11px 24px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--title);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ke-btn:hover {
  transform: translateY(-3px);
}

.ke-btn--ghost {
  background: none;
  box-shadow: inset 0 0 0 2px var(--ink);
  color: var(--ink);
}

/* the hill runs straight into the footer: one piece of ground */
.ke-hill {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2%;
  height: 190px;
  margin-top: 16px;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 150% at 50% 170%, var(--ground) 72%, transparent 72.5%);
}

.ke-hill img {
  width: auto;
  height: 118px;
  margin-bottom: 10px;
  animation: ke-hop 1.5s ease-in-out infinite alternate;
}

.ke-hill img:nth-child(2) { animation-delay: 0.2s; }
.ke-hill img:nth-child(3) { animation-delay: 0.4s; }
.ke-hill img:nth-child(4) { animation-delay: 0.6s; }

@keyframes ke-hop {
  to { transform: translateY(-14px); }
}

.ke-page .site-footer {
  position: relative;
  margin-top: 0;
  padding-top: 8px;
  background: var(--ground);
  color: var(--ink);
}

.ke-page .footer-studio img {
  mix-blend-mode: multiply;
}

.ke-page .footer-links a {
  color: var(--ink);
}

.ke-page .site-footer .copyright {
  color: rgba(27, 37, 51, 0.72);
}

.ke-page .footer-row {
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .ke-facts {
    grid-template-columns: 1fr 1fr;
  }

  .ke-road-in {
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 20px 24px;
  }

  .ke-track {
    padding: 0 28px;
  }

  .ke-stops {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 108px;
  }

  .ke-stop {
    grid-column: var(--mc);
    grid-row: var(--mr);
    padding-top: 30px;
  }

  .ke-stop b {
    display: none;
  }

  .ke-comic-in {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ke-groups {
    flex-wrap: wrap;
  }

  .ke-g {
    flex: 1 1 100%;
  }

  .ke-g:nth-child(n+3) {
    flex: 1 1 calc(50% - 9px);
  }

  .ke-g-p {
    grid-template-columns: repeat(4, 1fr);
  }

  .ke-g:nth-child(n+3) .ke-g-p {
    grid-template-columns: repeat(2, 1fr);
  }

  .ke-g p {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .ke {
    --gap: 52px;
    --inner: 26px;
  }

  .ke-wrap {
    padding: 0 16px;
  }

  .ke p {
    font-size: 17px;
  }

  .ke h2 {
    line-height: 1.14;
  }

  .ke-hero-in {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
    padding-top: 104px;
    padding-bottom: 0;
    text-align: center;
  }

  .ke h1 img {
    width: min(72vw, 300px);
    margin: 0 auto;
  }

  .ke-kick {
    margin-bottom: 16px !important;
    font-size: 14px !important;
  }

  .ke-lead {
    margin-top: 14px !important;
  }

  .ke-art {
    justify-self: center;
    width: 76%;
    margin-top: -16px;
  }

  .ke-facts {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    padding-top: 12px;
  }

  .ke-fact-me {
    grid-column: 1 / -1;
  }

  .ke-facts > div:last-child {
    grid-column: 1 / -1;
  }

  .ke-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 36px;
  }

  .ke-stats li {
    padding: 14px 16px 14px;
  }

  .ke-stats span {
    font-size: 15px;
  }

  .ke-facts dd {
    font-size: 17px;
  }

  .ke-comic {
    padding-bottom: 12px;
  }

  .ke-friends {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 10px;
  }

  .ke-f q {
    font-size: 15px;
    padding: 7px 12px 6px;
  }

  .ke-f img {
    height: 150px;
  }

  .ke-z2 {
    margin-top: 24px;
  }

  .ke-road {
    height: calc(100svh + 100vh);
  }

  .ke-road-in {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 14px;
  }

  .ke-road-h,
  .ke-now,
  .ke-track {
    grid-column: 1;
    grid-row: auto;
  }

  .ke-road-h {
    text-align: center;
  }

  .ke-road .ke-tag {
    margin-bottom: 8px !important;
  }

  .ke-road h2 {
    margin: 0;
    font-size: clamp(26px, 7.4vw, 34px);
  }

  .ke-road-p {
    display: none;
  }

  .ke-track {
    order: 2;
    padding: 0 26px;
  }

  .ke-now {
    order: 3;
    justify-content: center;
    gap: 18px;
    min-height: 150px;
  }

  .ke-pile {
    width: 106px;
  }

  .ke-now-t {
    width: 170px;
    font-size: 22px !important;
  }

  .ke-now-t small {
    font-size: 13px;
  }

  .ke-stops {
    grid-auto-rows: 74px;
  }

  .ke-stop {
    padding-top: 22px;
  }

  .ke-dot {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .ke-p-base {
    stroke-width: 4;
    stroke-dasharray: 2 11;
  }

  .ke-p-done {
    stroke-width: 6;
  }

  .ke-walker {
    width: 50px;
    margin: -76px 0 0 -25px;
  }

  .ke-band {
    padding: 22px 0 calc(var(--gap) + 16px);
  }

  .ke-wave {
    top: -31px;
    height: 32px;
  }

  .ke-wave-b {
    bottom: -31px;
    height: 32px;
  }

  .ke-sw {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }

  .ke-sw li {
    grid-column: span 2;
    height: 96px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .ke-sw li:nth-child(n+4) {
    grid-column: span 3;
  }

  .ke-sw b {
    font-size: 20px;
  }

  .ke-sw span {
    font-size: 13px;
  }

  .ke-anat {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ke-anat-p i {
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    font-size: 14px;
  }

  .ke-band.ke-end {
    padding: 0;
  }

  .ke-end-in {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ke-medal {
    width: 250px;
    margin: 0 auto;
  }

  .ke-end-copy {
    padding: 28px 0 16px;
  }

  .ke-hill {
    height: 120px;
  }

  .ke-hill img {
    height: 76px;
    margin-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ke-art img,
  .ke-flies i,
  .ke-f img,
  .ke-medal,
  .ke-hill img {
    animation: none;
  }

  .ke-flies i {
    opacity: 0.8;
  }

  .ke-walker {
    display: none;
  }

  .ke-road {
    height: auto;
  }

  .ke-pin {
    position: static;
    height: auto;
    padding: 60px 0 120px;
  }
}
