/* Hallmark · page refinement: Safety Promise · calm editorial utility */
body.page-jiu-jitsu-safety,
body:has(.hero-video-section) {
  background: var(--ss-bg, #fbfaf8);
}

body:has(.hero-video-section) .ss-main { overflow: clip; }
body:has(.hero-video-section) .container,
body:has(.hero-video-section) .ss-container { margin-inline: auto; }

body:has(.hero-video-section) .hero-video-section {
  position: relative;
  min-height: clamp(34rem, 72vh, 48rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem);
  background: var(--ss-ink, #362b24);
  color: #fff;
  isolation: isolate;
}

body:has(.hero-video-section) .video-wrapper,
body:has(.hero-video-section) .hero-bg-video,
body:has(.hero-video-section) .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body:has(.hero-video-section) .video-wrapper { z-index: -2; }
body:has(.hero-video-section) .hero-bg-video { display: block; object-fit: cover; object-position: center; }
body:has(.hero-video-section) .hero-overlay { background: linear-gradient(90deg, rgba(17, 52, 39, .9), rgba(17, 52, 39, .54)); z-index: 1; }

body:has(.hero-video-section) .hero-content-container {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 76rem);
  text-align: center;
}

body:has(.hero-video-section) .hero__inner { max-width: 52rem; margin-inline: auto; }
body:has(.hero-video-section) .hero__title { max-width: 16ch; margin: .75rem auto 1rem; text-wrap: balance; }
body:has(.hero-video-section) .hero__subtitle { max-width: 42rem; margin-inline: auto; color: rgba(255, 255, 255, .86); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.65; }
body:has(.hero-video-section) .hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.5rem 0; padding: 0; list-style: none; }
body:has(.hero-video-section) .hero__badges li { padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: rgba(255,255,255,.9); font-size: .8rem; }

body:has(.hero-video-section) section:not(.hero-video-section) > .container { width: min(100% - 2rem, 76rem); }
body:has(.hero-video-section) section:not(.hero-video-section) > .container > .text-center { max-width: 42rem; margin-inline: auto; }
body:has(.hero-video-section) .premium-card-outer { height: 100%; padding: .35rem; border: 1px solid var(--ss-border, rgba(54,43,36,.14)); border-radius: 1.25rem; background: var(--ss-surface2, #f4f1ed); }
body:has(.hero-video-section) .premium-card-inner { height: 100%; padding: 1.5rem; border: 1px solid rgba(54,43,36,.1); border-radius: 1rem; background: var(--ss-surface, #fff); text-align: center; }
body:has(.hero-video-section) .premium-card-inner p { max-width: 36ch; margin-inline: auto; }
body:has(.hero-video-section) .method-card-number { color: var(--ss-green, #116a42); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
body:has(.hero-video-section) figure img { display: block; max-width: 100%; height: auto; }
body:has(.hero-video-section) .hero__inner a { text-decoration: none; }

@media (max-width: 47.99rem) {
  body:has(.hero-video-section) .hero-video-section {
    min-height: auto;
    padding-block: clamp(2.5rem, 6vw, 4rem);
  }
  body:has(.hero-video-section) .hero-content-container { width: min(100% - 1.25rem, 76rem); }
  body:has(.hero-video-section) .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.35rem);
    margin: 0.5rem auto 0.75rem;
  }
  body:has(.hero-video-section) .hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  body:has(.hero-video-section) .hero__badges {
    margin: 0.85rem 0;
    gap: 0.4rem;
  }
  body:has(.hero-video-section) .hero__badges li {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    flex: 1 1 calc(50% - 0.4rem);
  }
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem 0.5rem 1.4rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  min-height: 48px;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-premium:hover {
  transform: translateY(-1px);
}
.btn-premium-primary, .btn-premium--primary {
  background-color: var(--ss-green, #116a42);
  color: var(--ss-surface);
  border-color: var(--ss-green, #116a42);
  box-shadow: 0 8px 20px -4px rgba(17, 106, 66, 0.35);
}
.btn-premium-primary:hover, .btn-premium--primary:hover {
  background-color: #0d5233;
  border-color: #0d5233;
}
.btn-premium-secondary, .btn-premium--secondary {
  background-color: var(--ss-surface, #ffffff);
  color: var(--ss-ink, #362b24);
  border-color: var(--ss-border, rgba(54, 43, 36, 0.18));
}
.btn-premium .btn-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(54, 43, 36, 0.08);
  color: currentColor;
  flex-shrink: 0;
}
.btn-premium-primary .btn-icon-circle,
.btn-premium--primary .btn-icon-circle {
  background: rgba(255, 255, 255, 0.2);
  color: var(--ss-surface);
}
.hero-video-section .btn-premium-secondary,
.hero-video-section .btn-premium--secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ss-surface);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.hero-video-section .btn-premium-secondary:hover,
.hero-video-section .btn-premium--secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}
.hero-video-section .btn-premium-secondary .btn-icon-circle,
.hero-video-section .btn-premium--secondary .btn-icon-circle {
  background: rgba(255, 255, 255, 0.2);
  color: var(--ss-surface);
}
