:root {
  --header-height: clamp(92px, 16vh, 152px);
  --accent: #ef252b;
  --page-bg: #080808;
  --panel-bg: #f5f5f5;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--page-bg);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

.site-shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,.12), transparent 36%),
    linear-gradient(180deg, #242424 0%, #111 42%, #050505 100%);
}

.site-shell::after {
  content: "";
  position: fixed;
  inset: calc(var(--header-height) + var(--safe-top)) 0 auto;
  height: 2px;
  background: rgba(255,255,255,.08);
  pointer-events: none;
  z-index: 4;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: calc(var(--header-height) + var(--safe-top));
  padding: calc(10px + var(--safe-top)) 24px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.group-logo {
  display: block;
  width: min(72vw, 430px);
  max-height: calc(var(--header-height) - 20px);
  object-fit: contain;
}

.concept-slider {
  position: fixed;
  inset: calc(var(--header-height) + var(--safe-top)) 0 0;
  overflow: hidden;
  touch-action: pan-y;
}

.slider-viewport,
.slider-track {
  width: 100%;
  height: 100%;
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  display: flex;
  will-change: transform;
  transition: transform .46s cubic-bezier(.22,.8,.2,1);
}

.slider-track.is-dragging {
  transition: none;
}

.concept-slide {
  --slide-accent: #ef252b;
  flex: 0 0 100%;
  height: 100%;
  padding: clamp(30px, 4.6vh, 58px) clamp(54px, 14vw, 150px) calc(62px + var(--safe-bottom));
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.concept-slide[data-accent="#f47a12"] { --slide-accent: #f47a12; }
.concept-slide[data-accent="#623092"] { --slide-accent: #623092; }

.slide-content {
  width: min(100%, 580px);
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(14px, 2.1vh, 24px);
}

.concept-card {
  position: relative;
  min-height: 0;
  overflow: visible;
  border-radius: clamp(20px, 4vw, 34px);
  background: #222;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}

.concept-cover,
.cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.concept-cover {
  object-fit: cover;
}

.cover-shade {
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.58) 100%);
}

.park-count {
  position: absolute;
  z-index: 2;
  top: clamp(-28px, -3vh, -18px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(132px, 37vw, 220px);
  aspect-ratio: 1 / 1.05;
  border-radius: clamp(20px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--slide-accent);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  line-height: .82;
}

.park-count strong {
  font-size: clamp(78px, 22vw, 132px);
  font-weight: 700;
  letter-spacing: -0.07em;
  margin-left: -.07em;
}

.park-count span {
  margin-top: .16em;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(34px, 9vw, 58px);
  font-weight: 300;
  line-height: .8;
}

.concept-copy {
  position: absolute;
  z-index: 2;
  left: 5%;
  right: 5%;
  bottom: clamp(24px, 4vh, 45px);
  text-align: center;
}

.concept-logo {
  display: block;
  margin: 0 auto clamp(18px, 2.3vh, 28px);
  width: min(94%, 480px);
  max-height: clamp(100px, 17vh, 180px);
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(0,0,0,.35));
}

.concept-logo--urban { width: min(98%, 510px); }
.concept-logo--planet { width: min(96%, 500px); }

.concept-copy p {
  margin: 0;
  color: #fff;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(19px, 4.8vw, 31px);
  font-weight: 800;
  line-height: 1.04;
  text-shadow: 0 2px 7px rgba(0,0,0,.55);
}

.action-list {
  display: grid;
  gap: clamp(12px, 1.8vh, 20px);
}

.action-button {
  position: relative;
  width: 100%;
  min-height: clamp(60px, 8.2vh, 82px);
  padding: 10px clamp(50px, 12vw, 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: clamp(17px, 3vw, 24px);
  color: var(--slide-accent);
  background: var(--panel-bg);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

.action-button:active {
  transform: scale(.985);
}

.action-label {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(17px, 4.2vw, 27px);
  font-weight: 400;
  line-height: 1.06;
  text-align: center;
}

.action-label strong {
  font-weight: 800;
}

.action-icon,
.pdf-icon,
.download-icon {
  position: absolute;
  color: var(--slide-accent);
}

.action-icon,
.pdf-icon {
  left: clamp(18px, 5vw, 30px);
}

.action-icon--play {
  width: clamp(30px, 7vw, 43px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--slide-accent);
}

.action-icon--play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
}

.pdf-icon {
  width: clamp(31px, 7vw, 44px);
  height: clamp(37px, 8vw, 50px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  font-size: clamp(8px, 2vw, 12px);
  font-weight: 900;
  color: #fff;
  background: var(--slide-accent);
  clip-path: polygon(0 0, 68% 0, 100% 28%, 100% 100%, 0 100%);
  border-radius: 4px;
}

.download-icon {
  right: clamp(18px, 5vw, 30px);
  width: clamp(30px, 7vw, 43px);
  height: clamp(32px, 7vw, 45px);
}

.download-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 5px;
  background: currentColor;
}

.download-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 24px;
  height: 15px;
  transform: translateX(-50%);
  border: 6px solid currentColor;
  border-top: 0;
  border-radius: 0 0 7px 7px;
  box-sizing: border-box;
}

.download-icon {
  background:
    linear-gradient(45deg, transparent 47%, currentColor 48% 58%, transparent 59%) 8px 17px / 12px 12px no-repeat,
    linear-gradient(-45deg, transparent 47%, currentColor 48% 58%, transparent 59%) 19px 17px / 12px 12px no-repeat;
}

.slider-arrow {
  position: fixed;
  z-index: 8;
  top: calc(var(--header-height) + var(--safe-top) + (100dvh - var(--header-height) - var(--safe-top)) * .42);
  width: clamp(35px, 9vw, 58px);
  height: clamp(66px, 15vw, 104px);
  transform: translateY(-50%);
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.22));
}

.slider-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 9px;
}

.slider-arrow--prev { left: clamp(9px, 3.5vw, 30px); }
.slider-arrow--next { right: clamp(9px, 3.5vw, 30px); }
.slider-arrow--prev::before { clip-path: polygon(100% 0, 100% 100%, 0 50%); }
.slider-arrow--next::before { clip-path: polygon(0 0, 100% 50%, 0 100%); }
.slider-arrow:disabled { opacity: .16; cursor: default; }

.slider-pagination {
  position: fixed;
  z-index: 8;
  left: 50%;
  bottom: calc(15px + var(--safe-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 11px;
}

.pagination-dot {
  width: clamp(21px, 5vw, 31px);
  aspect-ratio: 1;
  padding: 0;
  border: 5px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.pagination-dot.is-active {
  background: #fff;
}

.video-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  padding: calc(18px + var(--safe-top)) 18px calc(18px + var(--safe-bottom));
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(0,0,0,.88);
  transition: opacity .22s ease, visibility .22s ease;
}

.video-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.video-modal__panel {
  width: min(100%, 860px);
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  box-shadow: 0 20px 80px rgba(0,0,0,.55);
}

.video-modal__header {
  min-height: 58px;
  padding: 10px 10px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #111;
  background: #fff;
}

.video-modal__header h2 {
  margin: 0;
  font-size: clamp(16px, 4vw, 22px);
}

.video-modal__close {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: #111;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.video-modal video {
  display: block;
  width: 100%;
  max-height: 76dvh;
  background: #000;
}

@media (max-height: 760px) {
  :root { --header-height: 84px; }
  .concept-slide {
    padding-top: 23px;
    padding-bottom: calc(51px + var(--safe-bottom));
  }
  .park-count {
    width: clamp(112px, 31vw, 150px);
  }
  .park-count strong { font-size: clamp(63px, 18vw, 90px); }
  .park-count span { font-size: clamp(27px, 7vw, 40px); }
  .concept-copy { bottom: 18px; }
  .concept-logo {
    max-height: 112px;
    margin-bottom: 12px;
  }
  .concept-copy p { font-size: clamp(16px, 4vw, 23px); }
  .action-button { min-height: 54px; }
  .action-label { font-size: clamp(15px, 3.8vw, 22px); }
}

@media (min-width: 768px) {
  .concept-slide {
    padding-left: 150px;
    padding-right: 150px;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  html,
  body {
    overflow: auto;
  }

  .site-shell {
    min-height: 760px;
    height: auto;
  }

  .concept-slider {
    position: relative;
    inset: auto;
    margin-top: calc(var(--header-height) + var(--safe-top));
    height: 670px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slider-track,
  .video-modal {
    transition: none;
  }
}
