/* Visual system adapted from the supplied 0017ms-northbrook mockup. */
:root {
  --color-page: #f5f2ec;
  --color-section-alt: #eeeae3;
  --color-surface: #fffdf9;
  --color-surface-2: #eae5dc;
  --color-ink: #171716;
  --color-muted: #5b5955;
  --color-line: #d9d4ca;
  --color-brand: #cf4308;
  --color-brand-hover: #b83704;
  --color-brand-dark: #141414;
  --color-accent: #c84208;
  --color-accent-soft: #fce5d8;
  --color-blue: var(--color-accent);
  --color-blue-soft: var(--color-accent-soft);
  --color-on-brand: #fffdf9;
  --font-display: Arial, "Helvetica Neue", sans-serif;
  --radius: 22px;
  --button-radius: 999px;
  --site-width: 1280px;
  --gutter: clamp(22px, 5vw, 76px);
  --section-space: clamp(64px, 7vw, 112px);
}

body { -webkit-font-smoothing: antialiased; }
::selection { background: #cf4308; color: white; }
html { scroll-padding-top: calc(var(--header-height, 110px) + 16px); }
#site-header { position: sticky; top: 0; z-index: 50; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #e96321;
  outline-offset: 5px;
}

/* Warm, spacious navigation with the academy's original logo. */
.site-header {
  position: relative;
  background: #faf8f3;
  border-bottom: 1px solid #e6e1d8;
  padding-top: 16.5px;
  padding-bottom: 16.5px;
  box-shadow: none;
  backdrop-filter: none;
}
.nav { gap: 28px; }
.brand-logo { display: block; width: clamp(157.5px, 17.25vw, 217.5px); height: auto; }
.brand { min-width: 0; transition: opacity .2s ease; }
.brand:hover { opacity: .8; }
.nav-links { gap: 24px; }
.nav-links a, .nav-dropdown summary {
  color: #242320;
  font-size: .88rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.nav-links a:hover, .nav-dropdown summary:hover { color: var(--color-accent); }
.nav-dropdown-menu {
  top: calc(100% + 12px);
  background: #fffdf9;
  border-color: var(--color-line);
  border-radius: 16px;
  box-shadow: 0 16px 36px #201a111a;
}
.nav-dropdown-menu a { border-radius: 10px; }
.nav-dropdown-menu a:hover { background: #fce5d8; }
@media (min-width: 1001px) {
  /* Keep the menu hovered while the pointer crosses the gap below Classes. */
  .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }
}
.nav-toggle { border-color: #d8d2c7; border-radius: 10px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 17px 28px;
  border: 1px solid #ed6326;
  border-radius: 999px;
  background: var(--color-brand);
  color: white;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .08em;
  text-align: center;
  box-shadow: 0 5px 18px #00000010;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button:hover { background: var(--color-brand-hover); box-shadow: 0 10px 28px #cf43082b; }
.nav-action .button { padding: 14px 22px; font-size: .68rem; white-space: nowrap; }
.button-secondary { color: var(--color-accent); background: var(--color-surface); }
.button-secondary:hover { background: var(--color-accent-soft); }

/* Broad photographic homepage hero, with the approved page copy. */
.home-hero {
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 47vw, 720px);
  padding-top: 64px;
  padding-bottom: 80px;
  background: #141414;
  color: #fffdf9;
}
.home-hero .photo-layout { display: block; padding: 0; }
.home-hero .photo-copy { position: relative; z-index: 2; text-align: center; }
.home-hero .photo-copy h1 {
  max-width: 1180px;
  margin: 0 auto 24px;
  font-size: clamp(3rem, 6.6vw, 6.3rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.06em;
  text-shadow: 0 2px 24px #00000030;
}
.home-hero h1 span { display: block; }
.home-hero p:not(.section-eyebrow) {
  max-width: 780px;
  margin-inline: auto;
  color: #f1efeb;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.7;
}
.home-hero .hero-actions { justify-content: center; gap: 12px 28px; }
.home-hero .button { margin-top: 28px; }
.home-hero .button::after { content: "\2192"; font-size: 1.1rem; }
.home-hero .text-link {
  margin-top: 20px;
  color: #fffdf9;
  font-size: .77rem;
  letter-spacing: .04em;
  text-underline-offset: 5px;
}
.home-hero .text-link:hover { color: #ffad82; text-decoration: underline; }
.home-hero .section-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.home-hero .site-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  filter: saturate(.7);
  border-radius: 0;
  box-shadow: none;
}
.home-hero .section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #090a0aeb 0%, #090a0ac4 35%, #090a0a8c 65%, #090a0a40 100%);
}

/* The same typography and materials continue through the inner pages. */
.section { border: 0; background: var(--color-page); }
.section:nth-of-type(even) { background: var(--color-section-alt); }
.section + .section { border-top: 0; }
.section h2, .section .photo-copy h2, .faq h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.06;
  margin-bottom: 24px;
}
.section p { line-height: 1.75; }
.section p.section-eyebrow {
  margin-bottom: 15px;
  color: var(--color-accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .19em;
}
.hero:not(.home-hero) { background: #141414; color: #fffdf9; }
.hero:not(.home-hero) .photo-copy h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.05em;
  margin-bottom: 26px;
}
.hero:not(.home-hero) p { color: #d7d2ca; line-height: 1.75; }
.photo-layout { gap: clamp(36px, 5vw, 80px); }
.section .site-photo { border-radius: 28px; box-shadow: 12px 14px 0 #e4ded3; }
.hero:not(.home-hero) .site-photo { border-radius: 28px; box-shadow: 12px 14px 0 #292725; }
.photo-copy a:not(.button) { text-underline-offset: 5px; text-decoration-thickness: 1px; }
.photo-copy a:not(.button):hover { color: var(--color-accent); }
.home-intro { background: var(--color-page); }

/* Rounded, charcoal class cards with direct links to each program. */
.section.home-services { position: relative; overflow: hidden; background: #141414; color: #f9f7f2; }
.section.home-services p.section-eyebrow { color: #ff8b52; }
.home-services .service-list { gap: 24px; margin-top: 36px; }
.home-services .service-item {
  display: flex;
  flex-direction: column;
  padding: 0 0 28px;
  border: 1px solid #ffffff25;
  border-radius: 22px;
  background: linear-gradient(135deg, #262625, #1c1c1b);
  box-shadow: none;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.home-services .service-card-media { flex-shrink: 0; margin-bottom: 28px; }
.home-services .service-card-image { aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: center 53%; transition: transform .5s ease; }
.home-services .service-item h3 { margin-inline: 28px; color: #f9f7f2; font-size: 1.6rem; font-weight: 800; letter-spacing: -.035em; }
.home-services .service-item h3 a { text-decoration: none; }
.home-services .service-item h3 a:hover { color: #ffad82; }
.home-services .service-item p { margin: 0 28px 28px; color: #cbc7c0; font-size: 1rem; line-height: 1.7; }
.program-action {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  align-self: flex-end;
  width: 46px;
  height: 46px;
  margin: auto 28px 0;
  border: 1px solid #ff7738;
  border-radius: 50%;
  background: #ed510d;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.program-action:hover { background: #bf3d06; }

.section.home-bio, .section.adult-jiu-jitsu-advanced, .section.kids-jiu-jitsu-instructor, .section.about-story {
  background: #141414;
  color: #f9f7f2;
}
.home-bio p, .adult-jiu-jitsu-advanced p, .kids-jiu-jitsu-instructor p, .about-story p { color: #cfcbc4; }
.section.home-bio .section-eyebrow { color: #ff8b52; }
.home-bio .site-photo, .adult-jiu-jitsu-advanced .site-photo, .kids-jiu-jitsu-instructor .site-photo, .about-story .site-photo { box-shadow: 12px 14px 0 #292725; }
.home-bio .photo-layout { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
.home-bio .photo-copy { order: 2; }
.home-bio .section-photo { order: 1; width: min(100%, 340px); justify-self: center; transform: rotate(-2deg); }
.home-bio .photo-copy a:hover, .kids-jiu-jitsu-instructor .photo-copy a:hover { color: #ffad82; }

.section.reviews { background: var(--color-page); }
.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: #fffdf9;
  text-decoration: none;
}
.google-rating img { flex: 0 0 28px; }
.google-rating-copy { display: grid; gap: 3px; text-align: left; }
.rating-stars { color: #ffb400; font-size: 1.05rem; letter-spacing: 3px; line-height: 1.2; }
.google-rating-label { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.home-hero .google-rating { gap: 20px; margin-top: 32px; }
.home-hero .google-rating img { width: 42px; height: 42px; flex-basis: 42px; }
.home-hero .google-rating-copy { gap: 8px; }
.home-hero .google-rating .rating-stars { color: #ffad24; font-size: 1.5rem; letter-spacing: 3px; }
.home-hero .google-rating-label { color: #fff; font-size: 1rem; font-weight: 900; }
.hero .photo-copy .google-rating:hover { color: #fffdf9; opacity: .85; }
.reviews-page-link { text-align: center; margin-top: 20px; }
.reviews-hero .photo-copy { max-width: 1000px; text-align: center; }
.reviews-hero .photo-copy > p:not(.section-eyebrow) { max-width: 680px; margin-inline: auto; }
.student-reviews h2 { max-width: 820px; }
.student-review-grid { columns: 2; column-gap: 24px; margin-top: 40px; }
.student-review {
  break-inside: avoid;
  display: flow-root;
  margin: 0 0 24px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: var(--color-surface);
  box-shadow: 0 5px 18px #201a1105;
}
.student-review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.student-review-header > div { flex: 1; min-width: 0; }
.student-review-header > img { flex: 0 0 24px; }
.student-review h3 { font-size: 1rem; line-height: 1.4; margin: 0 0 3px; overflow-wrap: anywhere; }
.review-avatar { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; background: #eee5d9; color: #6a3f23; font-weight: 700; }
.review-source { color: var(--color-muted); font-size: .8rem; line-height: 1.5; }
.student-review blockquote { padding: 0; margin: 18px 0 0; border: 0; }
.student-review blockquote p { font-size: .98rem; line-height: 1.75; margin: 0 0 18px; }
.student-review blockquote p:last-child { margin-bottom: 0; }
.student-review .review-positive { font-size: .85rem; margin-top: 18px; }
.review-excerpt { display: inline-block; margin-top: 18px; text-underline-offset: 4px; }
.review-owner-response { border-left: 2px solid var(--color-line); margin-top: 24px; padding-left: 18px; }
.review-owner-response h4 { margin: 0 0 8px; font-size: .85rem; }
.review-owner-response p { font-size: .9rem; margin: 0; }
@media (max-width: 760px) {
  .student-review-grid { columns: 1; }
}
@media (max-width: 380px) {
  /* The hosted carousel has a fixed 320px minimum inside its shadow root. */
  .reviews-placeholder { overflow-x: auto; }
}
.section.schedule { background: var(--color-section-alt); }
.section.schedule .vektor-scheduler { --vektor-heading: var(--color-ink); }
.schedule h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.06;
  margin-bottom: 24px;
}
.section.faq { background: var(--color-page); }
.faq-list { gap: 12px; border: 0; border-radius: 0; overflow: visible; }
.faq-list details, .faq-list details:last-child { padding: 22px 24px; border: 1px solid #ded7cb; border-radius: 18px; background: #fffdf9; }
.faq-list details[open] { border-color: #cfc2b1; }
.faq-list summary { font-size: 1rem; line-height: 1.5; }
.faq-list summary::after { font-size: 1.3rem; }
.faq-list p { line-height: 1.7; }

.section.location-contact { background: #eae5dc; }
.contact-layout { gap: clamp(36px, 5vw, 80px); }
.contact-card {
  margin: 28px 0 0;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid #c9c1b4;
  border-bottom: 1px solid #c9c1b4;
  border-radius: 0;
  background: transparent;
}
.contact-details { gap: 10px; }
.contact-details strong { color: var(--color-ink); }
.contact-details a { text-underline-offset: 5px; }
.contact-media { gap: 24px; }
.contact-media .site-photo { box-shadow: none; }
.map-placeholder, .map-placeholder iframe { border-radius: 24px; }
.map-placeholder { border: 1px solid #d1c8b9; filter: saturate(.7); }
.section.final-cta { min-height: 420px; background: #141414; }
.final-cta::before { background: none; }
.final-cta h2 { max-width: 900px; }
.final-cta p { color: #d7d2ca; }

.site-footer { background: #141414; color: #f7f3ec; border: 0; padding-top: 64px; }
.footer-content { grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
.site-footer p, .site-footer a, .site-footer address { color: #c8c5bf; }
.site-footer h2, .footer-lockup strong { color: #fffdf7; }
.footer-lockup strong { font-size: 1.2rem; font-weight: 800; letter-spacing: .02em; }
.footer-lockup em { color: #c8c5bf; font-size: .9rem; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; line-height: 1.7; margin-top: 14px; }
.site-footer a:hover { color: #ffad82; }
.footer-bottom-wrap { border-color: #ffffff20; }
.footer-bottom { grid-template-columns: minmax(0, 1fr) auto; padding-block: 22px; }

.lead-modal-panel { border-radius: 24px; background: var(--color-page); }
#lead-modal .lead-modal-panel { width: min(1040px, 100%); padding: 52px 36px 36px; }
.lead-modal-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.lead-modal-layout > .lead-capture-placeholder { grid-column: 2; grid-row: 1; margin-top: 0; min-width: 0; }
.lead-reviews { grid-column: 1; grid-row: 1; min-width: 0; }
.lead-reviews .section-eyebrow { color: var(--color-accent); font-size: .65rem; letter-spacing: .15em; font-weight: 800; margin-bottom: 10px; }
.lead-reviews h2 { font-size: 1.55rem; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 22px; }
.lead-review { margin: 0 0 14px; padding: 18px 20px; border: 1px solid var(--color-line); border-radius: 16px; background: var(--color-surface); }
.lead-review .rating-stars { font-size: .9rem; }
.lead-review blockquote { margin: 10px 0 12px; padding: 0; border: 0; font-size: .86rem; line-height: 1.6; color: var(--color-ink); }
.lead-review figcaption { display: grid; gap: 2px; font-size: .78rem; line-height: 1.4; }
.lead-review figcaption span { font-size: .7rem; color: var(--color-muted); }
.lead-reviews-link { font-size: .8rem; text-underline-offset: 4px; }
@media (max-width: 760px) {
  #lead-modal .lead-modal-panel { padding: 56px 24px 28px; }
  .lead-modal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lead-modal-layout > .lead-capture-placeholder { grid-column: 1; grid-row: 1; }
  .lead-reviews { grid-column: 1; grid-row: 2; padding-top: 28px; border-top: 1px solid var(--color-line); }
}
.lead-modal-backdrop { background: #111111b8; }
.lead-modal-close { border-color: #d8d2c7; background: var(--color-surface); }
#lead-modal .vektor-lead__form input:not([type="radio"]):not([type="checkbox"]),
#lead-modal .vektor-lead__form textarea {
  border-color: #b9b0a2;
  background: #fffdf9;
  color: var(--color-ink);
}
#lead-modal .vektor-lead__form :is(input, textarea):focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.lead-capture-placeholder:has(.lead-capture-form) { border: 0; padding: 0; background: transparent; }
.lead-capture-form { gap: 18px; }
.form-field input, .form-field select, .form-field textarea { border-radius: 12px; }
.form-field :is(input, select, textarea):focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.lead-capture-form .button { width: 100%; }
.legal-document { background: var(--color-surface); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover { transform: translateY(-2px); }
  .home-services .service-item:hover { transform: translateY(-6px); border-color: #ed510d; box-shadow: 0 18px 44px #00000035; }
  .service-item:hover .service-card-image { transform: scale(1.035); }
  .program-action:hover { transform: rotate(12deg); }
}

@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .brand-logo { width: 157.5px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 1000px) {
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
  .nav-toggle { display: grid; grid-column: 3; grid-row: 1; }
  .nav-action { grid-column: 2; grid-row: 1; }
  .nav-links { display: none; grid-column: 1 / -1; width: 100%; padding-top: 14px; border-top: 1px solid #e1dbd0; }
  .nav.nav-open .nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .nav-dropdown { position: static; display: grid; justify-items: end; }
  .nav-dropdown-menu { position: static; min-width: 0; margin: 0; box-shadow: none; }
  .footer-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site-header { padding-block: 12px; }
  .brand-logo { width: 135px; max-width: 100%; }
  .nav { grid-template-columns: minmax(0, 1fr) auto; }
  .nav-toggle { grid-column: 2; }
  .nav-action { display: none; }
  .nav.nav-open .nav-action { display: block; grid-column: 1 / -1; grid-row: auto; justify-self: end; }
  .nav-action .button { max-width: 100%; white-space: normal; }
  .nav.nav-open .nav-links { display: grid; justify-items: end; gap: 0; }
  .nav-links a, .nav-dropdown summary { min-height: 48px; font-size: 1rem; }
  .home-hero { min-height: 620px; padding-top: 48px; padding-bottom: 64px; }
  .home-hero .photo-copy h1 { font-size: clamp(1.75rem, 8.1vw, 3.8rem); letter-spacing: -.055em; }
  .home-hero .site-photo { object-position: 52% 62%; }
  .home-hero .section-photo::after { background: linear-gradient(180deg, #101111eb, #101111cf 45%, #1011118f 80%, #10111150); }
  .home-hero .hero-actions { gap: 10px 20px; }
  .home-hero nav.hero-actions { margin-top: 18px; }
  .home-hero .text-link { margin-top: 4px; }
  .home-hero .button { padding-inline: 20px; }
  .section h2, .section .photo-copy h2, .faq h2 { font-size: clamp(2.1rem, 7vw, 3rem); }
  .hero:not(.home-hero) .photo-copy h1 { font-size: clamp(2.5rem, 7vw, 3.5rem); }
}
@media (max-width: 720px) {
  .photo-layout, .home-bio .photo-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home-bio .section-photo { order: 2; width: min(100%, 300px); }
  .home-bio .photo-copy { order: 1; }
  .section .site-photo, .hero:not(.home-hero) .site-photo { box-shadow: 8px 10px 0 #e4ded3; border-radius: 22px; }
  .home-bio .site-photo, .adult-jiu-jitsu-advanced .site-photo, .kids-jiu-jitsu-instructor .site-photo, .about-story .site-photo, .hero:not(.home-hero) .site-photo { box-shadow: 8px 10px 0 #292725; }
  .contact-media .site-photo { box-shadow: none; }
  .home-services .service-list { grid-template-columns: minmax(0, 1fr); }
  .faq-list details, .faq-list details:last-child { padding: 20px; }
  .footer-bottom { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .footer-content { grid-template-columns: minmax(0, 1fr); }
  .home-services .service-item h3 { font-size: 1.45rem; margin-inline: 22px; }
  .home-services .service-item p { margin-inline: 22px; }
  .program-action { margin-right: 22px; }
}
.mobile-trial-cta { display: none; }
body.modal-open chat-widget { display: none !important; }
@media (max-width: 760px) {
  body:has(.mobile-trial-cta:not([hidden])) chat-widget {
    --site-chat-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  }
  body.has-mobile-trial-cta { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  .mobile-trial-cta {
    display: flex;
    position: fixed;
    z-index: 60;
    inset: auto 0 0;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--color-line);
    background: var(--color-page);
    box-shadow: 0 -6px 24px #00000014;
  }
  .mobile-trial-cta .button { width: 100%; min-height: 52px; margin: 0; padding: 16px 20px; font-size: .72rem; }
  .mobile-trial-cta[hidden],
  body.modal-open .mobile-trial-cta,
  body:has(chat-widget[data-active="true"]) .mobile-trial-cta,
  body:has(.nav-open) .mobile-trial-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
