.back {
  display: inline-block;
  margin: 24px 0 8px;
  padding: 6px 2px;
  color: var(--muted);
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
}
.back:hover { color: var(--text); }
.back:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.gp-hero { padding-top: 8px; padding-bottom: 8px; }

.gp-hero-card {
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px var(--shadow);
}

.gp-banner { display: block; width: 100%; height: auto; aspect-ratio: 2.2 / 1; max-height: 480px; object-fit: cover; }

.gp-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
  padding: 0 32px 32px;
  margin-top: -48px;
  position: relative;
}

.gp-icon {
  width: 128px;
  height: 128px;
  border-radius: 22%;
  border: 4px solid var(--bg-2);
  background: var(--bg-2);
  box-shadow: 0 8px 24px var(--shadow);
}

.gp-head-text { padding-top: 56px; min-width: 0; }
.gp-title { margin: 0 0 8px; font-size: clamp(28px, 4.2vw, 44px); font-weight: var(--fw-head); line-height: 1.1; }
.gp-lead { margin: 0 0 16px; max-width: 56ch; color: var(--muted); font-size: 18px; line-height: 1.45; }

.gp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gp-facts li, .gp-tags li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
}

.gp-stores { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.gp-stores--center { justify-content: center; }

.gp-h2 { margin: 0 0 20px; font-size: clamp(24px, 3vw, 32px); font-weight: var(--fw-head); }
.gp-h3 { margin: 28px 0 6px; font-size: 20px; font-weight: var(--fw-head); }

.gp-shots { padding: 48px 0 8px; }
.gp-shots-head { display: flex; align-items: center; justify-content: space-between; }
.gp-shots-head .gp-h2 { margin-bottom: 16px; }

.gp-arrows { display: flex; gap: 8px; margin-bottom: 16px; }
.gp-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.gp-arrow:hover:not(:disabled) { background: var(--hover); }
.gp-arrow:disabled { opacity: 0.35; cursor: default; }
.gp-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.gp-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px max(24px, calc((100vw - 1200px) / 2)) 20px;
  scroll-padding-inline: max(24px, calc((100vw - 1200px) / 2));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gp-track::-webkit-scrollbar { display: none; }
.gp-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.gp-track img {
  flex: none;
  width: min(640px, 78vw);
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px var(--shadow);
  scroll-snap-align: start;
  background: var(--bg-2);
}

.gp-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 24px;
}

.gp-about-main p { margin: 0 0 14px; max-width: 68ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
.gp-about-main .gp-h3 + p { margin-top: 0; }
.gp-about-main .gp-motto { margin-top: 28px; color: var(--accent); font-size: 20px; font-weight: var(--fw-head); }

.gp-side {
  align-self: start;
  padding: 24px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.gp-side .gp-h2 { font-size: 22px; margin-bottom: 14px; }
.gp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.gp-cta { padding-top: 24px; padding-bottom: 64px; }
.gp-cta-card {
  padding: 40px 24px;
  text-align: center;
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.18), var(--bg-2));
  border: 1px solid var(--line);
}
.gp-cta-title { margin: 0 0 22px; font-size: clamp(26px, 3.4vw, 36px); font-weight: var(--fw-head); }

@media (max-width: 900px) {
  .gp-head { grid-template-columns: auto 1fr; align-items: start; padding: 0 20px 24px; margin-top: -40px; }
  .gp-stores:not(.gp-stores--center) { grid-column: 1 / -1; }
  .gp-icon { width: 104px; height: 104px; }
  .gp-head-text { padding-top: 48px; }
  .gp-about { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .gp-head { grid-template-columns: 1fr; gap: 14px; margin-top: -44px; }
  .gp-head-text { padding-top: 0; }
  .gp-icon { width: 88px; height: 88px; }
  .gp-lead { font-size: 16px; }
  .gp-banner { aspect-ratio: 16 / 9; }
  .gp-shots { padding-top: 36px; }
  .gp-arrows { display: none; }
  .gp-track { padding-inline: 16px; scroll-padding-inline: 16px; }
  .gp-track img { width: 84vw; }
  .gp-cta { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .gp-track { scroll-behavior: auto; }
  .gp-arrow { transition: none; }
}

.gp-track--portrait img { width: min(270px, 64vw); aspect-ratio: 9 / 16; }
