:root {
  --blue: #0070d1;
  --blue-dark: #004d8d;
  --ink: #050505;
  --body: rgba(0, 0, 0, 0.64);
  --white: #ffffff;
  --soft: #f5f7fa;
  --line: #e6e8ef;
  --dark: #000000;
  --dark-panel: #121417;
  --dark-card: #181a1f;
  --dark-line: rgba(255, 255, 255, 0.16);
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.72);
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 48px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.86);
  border-bottom: 1px solid rgba(229, 229, 229, 0.18);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img,
.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 72px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--white);
  border-bottom-color: var(--blue);
}

.hero {
  position: relative;
  height: clamp(680px, calc(100svh - 126px), 820px);
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 48px 0;
  color: var(--white);
  background: var(--dark);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 72px 0 0;
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  opacity: 0.54;
  filter: blur(14px) saturate(1.12);
  transform: scale(1.04);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.58) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.82) 30%, rgba(0, 0, 0, 0.38) 56%, rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.04) 48%, rgba(0, 0, 0, 0.36) 100%);
}

.hero-art {
  position: absolute;
  z-index: 1;
  top: 72px;
  left: 50%;
  width: auto;
  max-width: none;
  height: calc(100% - 72px);
  transform: translateX(-50%);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 91%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(560px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
  transform: translateY(24px);
}

.eyebrow {
  margin: 0 0 16px;
  color: #7cc0ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 4vw, 64px);
  line-height: 1.08;
  font-weight: 760;
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 750;
}

h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}

.hero-lede {
  width: min(520px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

.button-light {
  color: var(--blue);
  background: var(--white);
}

.download-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.5fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 126px;
  padding: 32px max(48px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--blue);
}

.band-kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.download-band h2 {
  font-size: 30px;
}

.download-meta {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.5;
  word-break: break-all;
}

.download-meta span:first-child {
  color: var(--white);
  font-weight: 800;
}

.chapter {
  padding: 96px 48px;
}

.chapter-light {
  background: var(--white);
}

.chapter-dark {
  color: var(--white);
  background: var(--dark);
}

.chapter-blue {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: var(--blue);
}

.gallery-section {
  background: var(--soft);
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 40px;
}

.section-head p:not(.eyebrow),
.preview-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--body);
  font-size: 18px;
  line-height: 1.65;
}

.section-head.on-dark p:not(.eyebrow),
.preview-copy p:not(.eyebrow) {
  color: var(--on-dark-soft);
}

.section-head.on-blue p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

.feature-shot,
.shot-card,
.gallery-main {
  width: min(var(--max), 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

.feature-shot {
  background: var(--dark-panel);
  border: 1px solid var(--line);
}

.feature-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pet-chapter {
  padding-top: 40px;
}

.pet-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.pet-card {
  min-height: 274px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
  text-align: center;
}

.pet-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.pet-card p {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.route-grid,
.preview-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.shot-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-line);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shot-card figcaption {
  padding: 18px 20px 20px;
  color: var(--on-dark-soft);
  font-size: 16px;
}

.creature-preview {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.45fr);
  gap: 40px;
  align-items: center;
}

.preview-copy {
  max-width: 440px;
  justify-self: end;
}

.gallery {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: start;
}

.gallery-main {
  background: var(--white);
  border: 1px solid var(--line);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-main figcaption {
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 800;
}

.gallery-tabs {
  display: grid;
  gap: 10px;
}

.gallery-tabs button {
  width: 100%;
  min-height: 48px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
}

.gallery-tabs button.active,
.gallery-tabs button:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--body);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 48px;
  color: var(--white);
  background: #003b77;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1120px) {
  .pet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-band,
  .gallery,
  .creature-preview,
  .chapter-blue {
    grid-template-columns: 1fr;
  }

  .chapter-blue {
    display: grid;
  }

  .preview-copy {
    max-width: none;
    justify-self: start;
  }

  .hero-content {
    width: min(500px, 100%);
  }
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 64px;
    padding: 12px 18px;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .site-nav a {
    min-height: 40px;
  }

  .hero {
    height: auto;
    min-height: 84svh;
    align-items: center;
    padding: 112px 22px 64px;
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.76) 34%, rgba(0, 0, 0, 0.24) 68%, rgba(0, 0, 0, 0.18) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.44) 100%),
      var(--hero-image);
    background-size: cover;
    background-position: 62% center;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-art {
    display: none;
  }

  .hero-content {
    transform: none;
    margin-left: 0;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-lede,
  .section-head p:not(.eyebrow),
  .preview-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .chapter {
    padding: 72px 22px;
  }

  .download-band {
    padding: 34px 22px;
  }

  .download-band h2 {
    font-size: 27px;
  }

  .route-grid,
  .preview-grid,
  .pet-grid {
    grid-template-columns: 1fr;
  }

  .pet-card {
    min-height: 220px;
  }

  .pet-card img {
    height: 136px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 22px;
  }
}
