/* ── Hero section ───────────────────────────────────────────────────────────── */

.jp-frost-hero {
  position: relative;
  width: 100%;
  height: calc(min(82vh, 720px) - var(--jp-header-h, 0px));
  min-height: 480px;
  margin-block-start: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background-image: url('https://www.jaaportit.net/jp/wp-content/uploads/2024/04/Jaaportit-Worcester-forest-2024-by-Peter-Beste_001-1140x761.jpg');
  background-size: cover;
  background-position: center 30%;
}

/* Dark gradient so text stays readable */
.jp-frost-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 6, 24, 0.25) 0%,
    rgba(4, 6, 24, 0.55) 60%,
    rgba(4, 6, 24, 0.85) 100%
  );
  z-index: 1;
}

/* Snow canvas sits above the gradient, below the content */
.jp-frost-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.jp-frost-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

/* ── Logo ───────────────────────────────────────────────────────────────────── */

@keyframes jpLogoBreath {
  0%, 100% { filter: drop-shadow(0 2px 12px rgba(0,0,0,0.7)) drop-shadow(0 0 28px rgba(77,111,255,0.35)); }
  50%       { filter: drop-shadow(0 2px 12px rgba(0,0,0,0.7)) drop-shadow(0 0 48px rgba(77,111,255,0.65)); }
}

.jp-frost-logo {
  width: clamp(180px, 50vw, 320px);
  height: auto;
  margin-bottom: 0.75rem;
  animation: jpLogoBreath 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .jp-frost-logo { animation: none; }
}

/* ── Tagline ────────────────────────────────────────────────────────────────── */

.jp-frost-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c0cfea;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */

.jp-frost-buttons {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: center;
}

.jp-frost-btn,
.jp-frost-btn-shop {
  display: inline-block;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

/* Discover — secondary ghost */
.jp-frost-btn {
  padding: 13px 24px;
  background: rgba(0, 5, 16, 0.45);
  border: 1px solid rgba(153, 170, 255, 0.5);
  color: #c8d4ff;
  backdrop-filter: blur(4px);
}

.jp-frost-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(153, 170, 255, 0.9);
  color: #ffffff;
}

.jp-frost-btn:active {
  transform: translateY(0) scale(0.97);
}

/* Shop — primary Electric Blue CTA */
.jp-frost-btn-shop {
  padding: 14px 30px;
  background: #001FFF;
  border: 1px solid #001FFF;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 22px -5px rgba(0, 31, 255, 0.65);
}

.jp-frost-btn-shop:hover {
  transform: translateY(-2px);
  background: #4D6FFF;
  border-color: #4D6FFF;
  box-shadow: 0 8px 28px -6px rgba(77, 111, 255, 0.8);
}

.jp-frost-btn-shop:active {
  transform: translateY(0) scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .jp-frost-btn:hover, .jp-frost-btn:active,
  .jp-frost-btn-shop:hover, .jp-frost-btn-shop:active { transform: none; }
}

@media (max-width: 599px) {
  .jp-frost-btn      { padding: 11px 18px; font-size: 0.8rem; }
  .jp-frost-btn-shop { padding: 12px 22px; font-size: 0.8rem; }
  .jp-frost-buttons  { gap: 0.6rem; }
}
