/* Blind Fury: black, white, and red, following the supplied style reference. */
:root {
  --color-page: #ffffff;
  --color-section-alt: #f4f4f3;
  --color-surface: #ffffff;
  --color-surface-2: #f1f1f0;
  --color-ink: #101011;
  --color-muted: #505054;
  --color-line: #dededd;
  --color-brand: #e60023;
  --color-brand-hover: #bc001c;
  --color-brand-dark: #0c0c0e;
  --color-accent: #d90021;
  --color-accent-soft: rgba(230, 0, 35, 0.08);
  --font-display: "Arial", "Helvetica Neue", sans-serif;
  --site-width: 1200px;
  --section-space: clamp(64px, 7vw, 104px);
  --header-space: 10px;
  --radius: 4px;
  --button-radius: 0;
}

::selection { background: #e60023; color: #fff; }
html { scroll-padding-top: 120px; }
body { -webkit-font-smoothing: antialiased; }
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #e60023;
  outline-offset: 5px;
}

#site-header { position: sticky; top: 0; z-index: 50; }
.site-header {
  position: relative;
  background: rgba(10, 10, 12, 0.97);
  border-color: #29292b;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.brand { color: #fff; }
.brand > span { display: none; }
.brand-logo { width: 116px; }
.nav { gap: 32px; }
.nav-links { gap: 30px; }
.nav-links a, .nav-dropdown summary {
  color: #f7f7f7;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  transition: color 180ms ease;
}
.nav-links a:hover, .nav-dropdown summary:hover, .nav-dropdown[open] summary { color: #ff3855; }
.nav-dropdown-menu { background: #151517; border-color: #343436; box-shadow: 0 16px 40px #0005; }
.nav-dropdown-menu a:hover { background: #242426; color: #fff; }
.nav-toggle { color: #fff; border-color: #55555a; border-radius: 0; }
.nav-action .button { padding: 17px 22px; font-size: 0.78rem; }

.hero h1, .hero:not(.home-hero) h1, .section h1, .section h2 {
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero h1, .hero:not(.home-hero) h1 { font-size: clamp(2.8rem, 5.1vw, 4.7rem); }
.section h2 { font-size: clamp(2.15rem, 4vw, 3.55rem); margin-bottom: 24px; }
.hero p, .section p { line-height: 1.75; }
.section p + p, .hero p + p { margin-top: 16px; }
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.section .section-eyebrow, .hero .section-eyebrow { margin: 0 0 22px; color: var(--color-muted); }
.section-eyebrow::before { content: ""; width: 38px; height: 3px; flex: 0 0 auto; background: #e60023; }
.section a:not(.button), .hero p a { text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 180ms ease; }
.section a:not(.button):hover, .hero p a:hover { color: var(--color-accent); }

.hero { background: #111113; color: #fff; }
.hero p, .hero .section-eyebrow { color: #d5d5d7; }
.hero-image-ready.hero-with-image { min-height: clamp(640px, 82vh, 820px); }
.home-hero .inner { padding-block: 12px; }
.home-hero h1 { max-width: 700px; }
.home-hero p:not(.section-eyebrow) { max-width: 560px; font-size: 1.05rem; line-height: 1.65; }
.home-hero { padding-bottom: 32px; }
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}
.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.hero-benefits li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 24px;
}
.hero-benefits svg { width: 34px; height: 34px; flex: 0 0 auto; color: #ff3855; }
.hero-benefits h2 {
  margin: 0 0 8px;
  font: 800 0.82rem/1.3 var(--font-display);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.home-hero .hero-benefits p { margin: 0; font-size: 0.8rem; line-height: 1.5; color: #d5d5d7; }
.hero-with-image .text-accent { color: #ff2445; }
.hero .text-accent { display: block; }
.hero-photo-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.hero .section-photo { box-shadow: 18px 18px 0 #e60023; margin-right: 18px; }
.about-hero { background: linear-gradient(120deg, #080809, #222225); }
.about-hero .inner { border-left: 3px solid #e60023; padding-left: clamp(20px, 4vw, 48px); }

.button {
  min-height: 48px;
  padding: 17px 25px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: none;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.button:active { transform: translateY(1px); }
.button-secondary { color: var(--color-ink); }

.section:nth-of-type(even) { background: #fff; }
.section:nth-of-type(odd) { background: #f4f4f3; }
.section + .section { border-top: 0; }
/* White sections reveal the centered, viewport-fixed watermark. */
.section:nth-of-type(even):not(.home-services):not(.reviews):not(.final-cta):not(.section-dark) {
  position: relative;
  isolation: isolate;
}
.section:nth-of-type(even):not(.home-services):not(.reviews):not(.final-cta):not(.section-dark)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("/_assets/media/images/blind-fury-jiu-jitsu-logo.avif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(85vw, 850px) auto;
  background-attachment: fixed;
  opacity: 0.0975;
}
.section.home-services, .section.reviews, .section.final-cta {
  --color-muted: #cccccf;
  --color-line: #363639;
  --color-accent: #ff3855;
  background: #111113;
  color: #fff;
}
.section.home-services { background: linear-gradient(120deg, #0c0c0e, #1c1c1f); }
.home-services h2 { max-width: 900px; }
.home-programs { gap: clamp(24px, 4vw, 48px); margin-top: 40px; }
.home-programs article { padding: 0 0 24px; background: transparent; border: 0; border-radius: 0; }
.home-programs h3 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 900; letter-spacing: -0.035em; }
.program-media { overflow: hidden; border-radius: 5px; margin-bottom: 26px; }
.program-photo { margin-bottom: 0; border-radius: 0; }
.home-programs article, .home-testimonials figure { transition: transform 240ms ease, border-color 240ms ease; }
.home-programs article:focus-within h3 { color: #ff3855; }
.section-photo { overflow: hidden; border-radius: var(--radius); }
.section-photo img, .program-photo { transition: transform 650ms cubic-bezier(0.2, 0.65, 0.3, 1); }
.section-photo img { border-radius: 0; }
.photo-layout { gap: clamp(32px, 5vw, 72px); }
.home-intro .photo-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.home-intro .section-photo { align-self: stretch; }
.home-intro .section-photo img { height: 100%; object-fit: cover; object-position: center; }
.homepage-copy, .about-copy, .service-copy { max-width: 850px; }
.about-story .community-photo { margin-top: 40px; }

.home-testimonials figure { background: #19191c; border: 1px solid #3a3a3e; border-top: 3px solid #e60023; padding: 32px; }
.home-testimonials blockquote p { font-size: clamp(1.15rem, 2vw, 1.45rem); color: #f0f0f1; }
.home-testimonials figcaption { color: #f0f0f1; }
.reviews-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 28px 0; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.reviews-summary > span:last-child { color: #cccccf; font-size: 0.875rem; }
.reviews .review-stars { color: #ffbd24; letter-spacing: 3px; }
.reviews-controls:not([hidden]) { display: flex; gap: 10px; }
.reviews-controls button { width: 48px; height: 48px; border: 1px solid #626268; border-radius: 50%; background: transparent; color: #fff; font-size: 1.5rem; cursor: pointer; }
.reviews-controls button:hover:not(:disabled) { background: #e60023; border-color: #e60023; }
.reviews-controls button:disabled { opacity: 0.35; cursor: default; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #e60023 #29292d; padding-bottom: 20px; }
.review-card { min-width: 0; margin: 0; padding: 28px; background: #19191c; border: 1px solid #3a3a3e; border-top: 3px solid #e60023; scroll-snap-align: start; }
.review-card figcaption { font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.review-card figcaption span { display: block; margin-top: 5px; color: #cccccf; font-size: 0.8rem; font-weight: 400; }
.review-card .review-stars { margin: 20px 0 12px; }
.review-card blockquote { margin: 0; padding: 0; border: 0; }
.review-card blockquote p { margin: 0; color: #f0f0f1; font-size: 1rem; line-height: 1.7; }
.reviews-track:focus-visible, .reviews-controls button:focus-visible { outline: 2px solid #ffbd24; outline-offset: 4px; }
@media (max-width: 1000px) { .reviews-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .reviews-track { grid-auto-columns: 100%; } .review-card { padding: 24px; } }
@media print { .reviews-track { display: block; overflow: visible; } .review-card { margin-bottom: 24px; } .reviews-controls { display: none !important; } }
.faq-list { border: 0; border-radius: 0; }
.faq-list details { padding: 25px 0; background: transparent; border-bottom: 1px solid #d5d5d5; transition: border-color 200ms ease; }
.faq-list details:first-child { border-top: 1px solid #d5d5d5; }
.faq-list summary { font-size: 1.03rem; gap: 24px; line-height: 1.45; transition: color 180ms ease; }
.faq-list summary::after { color: #d90021; font-size: 1.3rem; }
.faq-list details[open] { border-bottom-color: #d90021; }
.faq-list details[open] summary { color: #bc001c; }
.faq-list p { padding-right: 24px; }
.final-cta { min-height: 470px; }
.final-cta::before { background: radial-gradient(ellipse at 50% 120%, rgba(230, 0, 35, 0.17), transparent 65%); }
.final-cta h2 { max-width: 880px; }
.final-cta-content > .section-eyebrow { justify-content: center; }
.final-cta .button { margin-top: 32px; }

.site-footer {
  --color-ink: #fff;
  --color-muted: #b7b7bc;
  --color-line: #303033;
  background: #09090b;
  padding-top: 64px;
}
.footer-links a, .footer-visit a, .footer-legal-links a, .social-links a { transition: color 180ms ease; }
.footer-links a:hover, .footer-visit a:hover, .footer-legal-links a:hover, .social-links a:hover { color: #ff3855; }
.footer-lockup .brand-logo { width: 116px; }
.footer-column h2 { font-size: 0.72rem; letter-spacing: 0.18em; color: #fff; }
.footer-content { gap: 48px; }
.footer-bottom { font-size: 0.75rem; }
.lead-modal-panel, .schedule-modal-panel { border-top: 4px solid #e60023; border-radius: 0; }
.lead-capture-placeholder:has(.lead-capture-form) { border: 0; background: #f4f4f3; }
.lead-form-status[data-status="success"] { color: #246433; background: #eef8f0; border-color: #6f9d78; }

/* Content is visible by default; JS opts only offscreen blocks into reveals. */
.scroll-reveal { transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.65, 0.3, 1); transition-delay: var(--reveal-delay, 0ms); }
.scroll-reveal.reveal-pending { opacity: 0; transform: translateY(24px); }

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(230, 0, 35, 0.2); }
  .brand-logo { transition: transform 220ms ease; }
  .brand:hover .brand-logo { transform: scale(1.04); }
  .home-programs article:hover { transform: translateY(-6px); }
  .home-programs article:hover h3 { color: #ff3855; }
  .home-programs article:hover img, .section-photo:hover img { transform: scale(1.035); }
  .home-testimonials figure:hover { border-color: #e60023; }
  .faq-list summary:hover { color: #bc001c; }
}

@media (hover: hover) and (pointer: fine) and (min-width: 721px) {
  /* Bridge the visual gap so the menu stays open while the pointer enters it. */
  .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
  }
}

@media (max-width: 900px) {
  .hero-photo-layout, .home-intro .photo-layout { grid-template-columns: 1fr; }
  .hero .section-photo { width: calc(100% - 12px); margin-right: 12px; box-shadow: 12px 12px 0 #e60023; }
  .home-intro .section-photo { align-self: auto; }
  .home-intro .section-photo img { height: auto; max-height: 560px; object-fit: cover; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-bottom { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .footer-bottom p:last-child { justify-self: start; }
}

@media (max-width: 720px) {
  .hero-benefits { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; padding-top: 24px; }
  .hero-benefits li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); padding: 20px 0 0; }
  html { scroll-padding-top: 94px; }
  .brand-logo { width: 84px; }
  .nav { gap: 12px; }
  .nav-links { gap: 0; border-color: #333337; padding-top: 12px; }
  .nav-action .button { min-height: 44px; padding: 12px 14px; font-size: 0.68rem; }
  .nav-dropdown-menu { background: #17171a; }
  .hero h1, .hero:not(.home-hero) h1 { font-size: clamp(2.55rem, 8.8vw, 3.8rem); }
  .section h2 { font-size: clamp(2rem, 7.4vw, 3rem); }
  .hero-image-ready.hero-with-image { min-height: 700px; }
  .home-hero h1 { max-width: 620px; }
  .home-hero p:not(.section-eyebrow) { font-size: 1rem; }
  .home-hero::before { background: linear-gradient(90deg, rgba(8, 8, 10, 0.92), rgba(8, 8, 10, 0.62)) !important; }
  .home-programs { grid-template-columns: 1fr; }
  .final-cta { min-height: 420px; }
  .section-eyebrow { letter-spacing: 0.2em; }
}

@media (max-width: 520px) {
  :root { --gutter: 20px; }
  .site-header .brand-logo { width: 76px; }
  .nav { gap: 10px; }
  .nav-action .button { padding-inline: 8px; font-size: 0.64rem; }
  .section-photo { margin-inline: 0; }
  .home-testimonials figure { padding: 24px; }
  .footer-lockup { gap: 16px; }
  .footer-lockup .brand-logo { width: 90px; }
  .footer-lockup em { font-size: 0.62rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scroll-reveal.reveal-pending { opacity: 1; transform: none; }
  .button:hover, .brand:hover .brand-logo, .home-programs article:hover,
  .home-programs article:hover img, .section-photo:hover img { transform: none; }
}

@media print {
  .section::before { display: none; }
  #site-header { position: static; }
  .scroll-reveal.reveal-pending { opacity: 1; transform: none; }
}
